* lisp/saveplace.el (toggle-save-place, save-place-to-alist)
[emacs.git] / lisp / ChangeLog
blob3a838762a1b3100442af4a035aa78c20d6b064cd
1 2014-01-20  Juri Linkov  <juri@jurta.org>
3         * saveplace.el (toggle-save-place, save-place-to-alist)
4         (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
5         'dired-mode) before checking for dired-directory.  (Bug#16477)
7 2014-01-20  Juri Linkov  <juri@jurta.org>
9         * indent.el (indent-line-to): Use backward-to-indentation
10         instead of back-to-indentation.  (Bug#16461)
12 2014-01-20  Paul Eggert  <eggert@cs.ucla.edu>
14         Revert some of the CANNOT_DUMP fix (Bug#16494).
15         Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
16         but fixing this can wait until after the next release.
17         * Makefile.in (emacs): Keep EMACSLOADPATH empty.
19 2014-01-19  Michael Albinus  <michael.albinus@gmx.de>
21         * eshell/esh-mode.el (eshell-password-prompt-regexp):
22         Use `password-word-equivalents'.
23         (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
24         to t.  (Bug#5664, Bug#13124)
26 2014-01-19  Alan Mackenzie  <acm@muc.de>
28         Bind open-paren-in-column-0-is-defun-start to nil at some entry
29         points.
30         * progmodes/cc-engine.el (c-invalidate-state-cache-1)
31         (c-parse-state-1, c-guess-basic-syntax):  Bind it here.
32         * progmodes/cc-mode.el (c-before-change, c-after-change)
33         (c-font-lock-fontify-region): Bind it here.
35 2014-01-19  Martin Rudalics  <rudalics@gmx.at>
37         * term.el (term-window-width): Call window-text-width instead of
38         window-width (Bug#16470).
40 2014-01-18  Paul Eggert  <eggert@cs.ucla.edu>
42         * simple.el (password-word-equivalents): Remove duplicates.
43         Sort, to make this easier next time.
44         Downcase.  Omit ": " after "jelszó".
46 2014-01-18  Jan Djärv  <jan.h.d@swipnet.se>
48         * term/common-win.el (saved-region-selection): Defvar it.
49         (x-select-text): Set saved-region-selection (Bug#16382).
51 2014-01-18  Glenn Morris  <rgm@gnu.org>
53         * emacs-lisp/authors.el (authors-aliases)
54         (authors-renamed-files-alist): Add some entries.
56 2014-01-17  Michael Albinus  <michael.albinus@gmx.de>
58         * net/tramp.el (tramp-password-prompt-regexp):
59         Use `password-word-equivalents' if available.
60         (tramp-action-password, tramp-process-one-action)
61         (tramp-read-passwd): Let-bind `case-fold-search' to t.  (Bug#13124)
63 2014-01-17  Chong Yidong  <cyd@gnu.org>
65         * simple.el (password-word-equivalents): New defcustom.
66         * comint.el (comint-password-prompt-regexp): Use it.  Bump version
67         to 24.4.
68         (comint-watch-for-password-prompt): Let-bind `case-fold-search'
69         to t.  (Bug#13124)
71 2014-01-17  Dmitry Gutov  <dgutov@yandex.ru>
73         * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
74         (ruby-align-to-stmt-keywords): Change the default value.  Use
75         `ruby-alignable-keywords' to generate the possible customization
76         choices.
77         (ruby-smie-rules): Instead of using a hardcoded list of alignable
78         keywords, check against the value of `ruby-alignable-keywords'
79         (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
81 2014-01-17  Glenn Morris  <rgm@gnu.org>
83         * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
85         Make M-x authors return zero *Authors Errors* from current logs.
86         * emacs-lisp/authors.el (authors-obsolete-files-regexps):
87         (authors-ignored-files): Add some entries, remove others.
88         (authors-ambiguous-files, authors-valid-file-names):
89         Add some entries.
90         (authors-renamed-files-alist): Add, remove, and adjust entries.
91         (authors-renamed-files-regexps): Add some entries.
92         Remove some very broad ones.  Make some entries `lax'.
93         (authors-lax-changelogs): New constant.
94         (authors-disambiguate-file-name): Treat top-level specially.
95         (authors-lax-changelog-p): New function.
96         (authors-canonical-file-name): Check file as written against
97         authors-valid-file-names.  Do not special-case etc/.
98         Handle `lax' logs and authors-renamed-files-regexps elements.
100 2014-01-16  Dmitry Gutov  <dgutov@yandex.ru>
102         * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
103         `assoc'.  Use `nth' instead of `cdr'.  Make private.  Update all
104         callers.
106 2014-01-16  Stefan Monnier  <monnier@iro.umontreal.ca>
108         * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
109         Assume we're already in the proper buffer.
110         Inspired by Anders Lindgren <andlind@gmail.com>.
111         (follow-post-command-hook): Call it from the right buffer.
112         (follow-comint-scroll-to-bottom): Adjust call.
113         (follow-all-followers): Use get-buffer-window-list.
115 2014-01-15  Daniel Colascione  <dancol@dancol.org>
117         * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
118         `buffer-file-name' in interactive-form so that we don't leave
119         pathless file names in `file-name-history'.
121 2014-01-15  Juri Linkov  <juri@jurta.org>
123         * indent.el (indent-rigidly): Set deactivate-mark to nil
124         in transient indentation mode.  (Bug#16438)
126 2014-01-15  Dmitry Gutov  <dgutov@yandex.ru>
128         * emacs-lisp/package.el (package-desc-keywords): New function
129         (Bug#16222).
130         (describe-package-1, package-all-keywords)
131         (package--has-keyword-p): Use it.
133 2014-01-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
135         * simple.el (define-alternatives): When creating the
136         COMMAND-alternatives variable, assign COMMAND as its definition
137         name so that `describe-variable' can relocate it.
139 2014-01-14  Matthew Leach  <matthew@mattleach.net>  (tiny change)
141         * font-lock.el (font-lock-keywords): Fix typo in docstring
142         (bug#16307).
144 2014-01-14  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
146         * ispell.el (ispell-region): Reset `in-comment' for new line
147         instead of wrongly reset `add-coment' (bug#13577).
149 2014-01-14  Daiki Ueno  <ueno@gnu.org>
151         * epa-file.el (epa-file-write-region): Encode the region according
152         to `buffer-file-format'.  Problem reported at:
153         <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
155 2014-01-14  Stefan Monnier  <monnier@iro.umontreal.ca>
157         * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
158         so it applies in the right buffer (bug#16410).
160 2014-01-13  Daniel Colascione  <dancol@dancol.org>
162         * textmodes/rst.el (rst-define-key): Provide deprecated
163         keybindings through named functions instead of anonymous ones so
164         that "??" doesn't appear in describe-mode output.
166 2014-01-13  Bastien Guerry  <bzg@gnu.org>
168         * simple.el (define-alternatives): Call the selected command
169         interactively.  When setting `COMMAND--implementation' for the
170         first time, tell the user how to chose another implementation.
171         Enhance the docstring.
173 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
175         * vc/log-edit.el: Fix highlighting of summary when it's the first line.
176         (log-edit--match-first-line): New function.
177         (log-edit-font-lock-keywords): Use it.
178         (log-edit-mode): Make jit-lock-defer-multiline work.
180 2014-01-13  Bastien Guerry  <bzg@gnu.org>
182         * rect.el (rectangle-mark-mode): When the region is not active,
183         display a message saying that the mark as been set and that
184         rectangle mode is in use.
185         (rectangle--highlight-for-redisplay): Only put an overlay with a
186         visible vertical bar when (display-graphic-p) is non-nil.
187         This partially fixes Bug#16403.
189 2014-01-13  Juri Linkov  <juri@jurta.org>
191         * info.el (Info-find-file): Go to DIR before displaying the error
192         about a nonexistent file if no previous Info file is visited.
193         Use `user-error' instead of `error' for "Info file %s does not exist".
194         (Info-find-node-2): In case of a nonexistent node in unwind forms
195         go to the Top node if there is no previous node to revert to.
196         (Bug#16405)
198 2014-01-13  Martin Rudalics  <rudalics@gmx.at>
200         fit-frame/window-to-buffer code fixes including one for Bug#14096.
201         * window.el (fit-frame-to-buffer): Fix doc-string.
202         Respect window-min-height/-width.  Fit pixelwise when
203         frame-resize-pixelwise is non-nil.  Adjust right/bottom edge
204         when avoiding that frame goes partially off-screen.
205         (fit-window-to-buffer): Respect window-min-height/-width
206         (Bug#14096).
208 2014-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
210         * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
211         after an empty line.
213 2014-01-12  Stefan Monnier  <monnier@iro.umontreal.ca>
215         * net/shr.el (shr-render-region): Autoload.
217 2014-01-12  Xue Fuqiao  <xfq.free@gmail.com>
219         * net/eww.el (eww-download-directory): Rename from
220         `eww-download-path' (Bug#16419).
222 2014-01-12  Leo Liu  <sdl.web@gmail.com>
224         * dired-x.el (dired-mode-map): Fix last change.
226         * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
228 2014-01-12  Paul Eggert  <eggert@cs.ucla.edu>
230         Spelling fixes.
231         * emacs-lisp/generic.el (generic--normalize-comments):
232         Rename from generic--normalise-comments.  All uses changed.
233         * play/bubbles.el (bubbles--neighborhood-score):
234         (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
235         (bubbles--neighborhood-available)
236         (bubbles--update-neighborhood-score):
237         Rename from names with 'neighbourhood'.  All uses changed.
239 2014-01-12  Leo Liu  <sdl.web@gmail.com>
241         Re-implement the feature of showing eldoc info after editing.
242         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
243         (eldoc-edit-message-commands): New function.
244         (eldoc-print-after-edit): New variable.
245         (eldoc-pre-command-refresh-echo-area): Emit message only by
246         eldoc-message-commands.
247         (eldoc-mode): Restrict eldoc-message-commands to editing commands
248         if eldoc-print-after-edit is set.  (Bug#16346)
250         * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
252 2014-01-11  Eric S. Raymond  <esr@thyrsus.com>
254         * version.el (emacs-repository-get-version): Enhance so the
255         function works correctly in either a Bazaar or Git repo.
257         * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
258         Goes with removal of the joke manpages from /etc.
260 2014-01-10  K. Handa  <handa@gnu.org>
262         * mail/rmail.el (rmail-get-coding-system):
263         Check rmail-get-coding-function before "funcall"ing it.
265 2014-01-10  Glenn Morris  <rgm@gnu.org>
267         * emacs-lisp/authors.el (authors-fixed-entries):
268         Update for files that no longer exist.
270 2014-01-10  Eric S. Raymond  <esr@thyrsus.com>
272         * version.el (emacs-bzr-get-version): Restore compatibilty with
273         24.3 (Tested).
275 2014-01-10  Bozhidar Batsov  <bozhidar@batsov.com>
277         * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
278         and Podfile.
280 2014-01-10  Eli Zaretskii  <eliz@gnu.org>
282         * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
284 2014-01-10  Chong Yidong  <cyd@gnu.org>
286         * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
288 2014-01-10  Anders Lindgren  <andlind@gmail.com>
290         * follow.el (follow-cache-command-list): Include right-char and
291         left-char.
293 2014-01-10  Paul Eggert  <eggert@cs.ucla.edu>
295         Spelling fixes.
296         * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
297         * woman.el (woman-mark-horizontal-position):
298         Rename from woman-mark-horizonal-position.  Use changed.
300 2014-01-10  Glenn Morris  <rgm@gnu.org>
302         * info.el (info-initialize): If running uninstalled, ensure our
303         own info files are always found first, even if INFOPATH is set.
305         * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
307 2014-01-09  David Engster  <deng@randomsample.de>
309         * emacs-lisp/eieio-custom.el:
310         * emacs-lisp/eieio-opt.el: Set generated autoload file to
311         'eieio.el'.  This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
312         * emacs-lisp/eieio.el: Regenerate autoloads.
314 2014-01-09  Eric S. Raymond  <esr@thyrsus.com>
316         * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
317         following renames.  (Bug#8756)
319 2014-01-09  Stefan Monnier  <monnier@iro.umontreal.ca>
321         * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
322         (bug#16382).
323         (activate-mark): Add `no-tmm' argument.
324         (set-mark, push-mark-command): Use it instead of running
325         activate-mark-hook by hand.
327 2014-01-08  Eric S. Raymond  <esr@thyrsus.com>
329         In preparation for the move to git, sanitize out some
330         Bazaar-specific names.
332         * version.el (emacs-bzr-version): Name changed to
333         emacs-repository-version.  Obsolete-variable alias made.
334         * loadup.el: Follow through on this name change.
335         * mail/emacsbug.el (report-emacs-bug): Factor out any
336         assumption about the version control system in use.
338 2014-01-08  David Engster  <deng@randomsample.de>
340         * help-fns.el (help-fns-describe-function-functions):
341         New variable to call functions for augmenting help buffers.
342         (describe-function-1): Remove explicit calls to
343         `help-fns--compiler-macro', `help-fns--parent-mode' and
344         `help-fns--obsolete'.  Put them in above new variable instead, and
345         call them through `run-hook-with-args'.
346         * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
347         `eieio-describe-class'.  Not meant for interactive use anymore,
348         but to augment existing help buffers.  Remove optional second
349         argument.  Create proper button for file location.
350         Rewrite function to use `insert' instead of `princ' and `prin1' where
351         possible.
352         (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
353         (eieio-method-def, eieio-class-def): Move further up.
354         (describe-method, describe-generic, eieio-describe-method):
355         Remove aliases.
356         (eieio-help-constructor, eieio-help-generic): Rename from
357         `eieio-describe-constructor' and `eieio-describe-generic', resp.
358         Rewrite to use `insert' in the current buffer and use proper help
359         buttons.
360         (eieio-help-find-method-definition)
361         (eieio-help-find-class-definition): Also accept symbols as
362         arguments.
363         (eieio-help-mode-augmentation-maybee): Remove.
364         (eieio-describe-class-sb): Use `describe-function'.
365         * emacs-lisp/eieio.el (help-fns-describe-function-functions):
366         Add `eieio-help-generic' and `eieio-help-constructor'.
368 2014-01-08  Paul Eggert  <eggert@cs.ucla.edu>
370         Spelling fixes.
371         * language/china-util.el (hz-ascii-designation):
372         Rename from hz-ascii-designnation.
373         (hz-ascii-designation): Rename from hz-ascii-designnation.
374         All uses changed.
376 2014-01-08  Stefan Monnier  <monnier@iro.umontreal.ca>
378         * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
379         package-alist.
381 2014-01-08  Bastien Guerry  <bzg@gnu.org>
383         * emacs-lisp/package.el (package-delete):
384         Correctly delete the package from package-alist.
386 2014-01-08  Daiki Ueno  <ueno@gnu.org>
388         * emacs-lisp/package.el (url-recreate-url): Declare.
389         (url-http-target-url): Declare.
390         (package-handle-response): Include requested URL in the error message.
391         (package--check-signature): Don't re-signal errors from
392         package--with-work-buffer.  Suggested by Stefan Monnier.
394 2014-01-07  Bastien Guerry  <bzg@gnu.org>
396         * minibuffer.el (completion--try-word-completion): When both a
397         hyphen and a space are possible candidates for the character
398         following a word, display both candidates.  (Bug#15980)
400 2014-01-07  Martin Rudalics  <rudalics@gmx.at>
402         * window.el (balance-windows-2): While rounding don't give a
403         window more than the remainder.  Bug#16351, Bug#16383.
405 2014-01-07  Glenn Morris  <rgm@gnu.org>
407         * menu-bar.el (menu-bar-help-extra-packages): Remove.
408         (menu-bar-help-menu): Use view-external-packages instead.
410 2014-01-07  Bastien Guerry  <bzg@gnu.org>
412         * emacs-lisp/package.el (package-delete): Also delete the package
413         name from `package-alist', not its description only.
415 2014-01-07  Glenn Morris  <rgm@gnu.org>
417         * help.el (view-external-packages):
418         * menu-bar.el (menu-bar-help-extra-packages):
419         Visit efaq.info rather than etc/MORE.STUFF.
421 2014-01-07  Juri Linkov  <juri@jurta.org>
423         * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
424         isearch-exit and isearch-delete-char resp.  (Bug#16342, bug#16035)
426         * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
427         that shadows RET.  (Bug#16342)
429 2014-01-07  Chong Yidong  <cyd@gnu.org>
431         * isearch.el (isearch-yank-char, isearch-yank-word)
432         (isearch-yank-line): Doc fix.
434 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
436         * abbrev.el (define-abbrev): Beware new meaning of fboundp.
437         * emacs-lisp/elint.el (elint-find-builtins):
438         * emacs-lisp/eldoc.el (eldoc-symbol-function):
439         * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
440         (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
441         * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
442         * apropos.el (apropos-safe-documentation):
443         * subr.el (symbol-file): Remove redundant fboundp.
444         * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
446 2014-01-06  Bastien Guerry  <bzg@gnu.org>
448         * hl-line.el (global-hl-line-overlay): Make a local variable.
449         (global-hl-line-overlays): New variable to store all overlays.
450         (global-hl-line-mode): Don't delete overlays from the current
451         buffer when `global-hl-line-sticky-flag' is non-nil.
452         (global-hl-line-highlight): Add new overlays to
453         `global-hl-line-overlays'.
454         (global-hl-line-unhighlight-all): New function to delete all
455         overlays when turning off `global-hl-line-mode'.
456         This fixes Bug#16183.
458 2014-01-06  Stefan Monnier  <monnier@iro.umontreal.ca>
460         * subr.el (set-transient-map): Fix nested case and docstring.
462 2014-01-06  Tassilo Horn  <tsdh@gnu.org>
464         * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
465         `Texinfo' entry.
467 2014-01-06  Daniel Colascione  <dancol@dancol.org>
469         Fix defun navigation in vc log view.
471         * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
472         like `beginning-of-defun'.
473         (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
474         log-view-end-of-defun to log-view-end-of-defun-1.  Replace
475         log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
476         (log-view-extract-comment): Call `log-view-current-entry' directly
477         instead of relying on broken `log-view-beginning-of-defun' behavior.
479 2014-01-06  Paul Eggert  <eggert@cs.ucla.edu>
481         Spelling fixes.
482         * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
483         * emacs-lisp/debug.el (cancel-debug-on-entry):
484         * epg.el (epg-error-to-string):
485         * files.el (recover-file):
486         * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
487         * mail/emacsbug.el (report-emacs-bug-hook):
488         * mail/sendmail.el (mail-recover):
489         * ses.el (ses-yank-resize):
490         * term/ns-win.el (ns-print-buffer):
491         Spelling fixes in diagnostics, mostly for "canceled" with one L.
492         * epg.el (epg-key-capability-alist): Rename from misspelled version.
493         All uses changed.
494         * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
496 2014-01-06  Leo Liu  <sdl.web@gmail.com>
498         * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
499         to avoid shadowing global key.  (Bug#16354)
501 2014-01-06  Daniel Colascione  <dancol@dancol.org>
503         * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
504         rst-mode.
506 2014-01-05  Martin Rudalics  <rudalics@gmx.at>
508         * window.el (balance-windows): Add mising t to fix Bug#16351.
510 2014-01-05  Lars Magne Ingebrigtsen  <larsi@gnus.org>
512         * net/shr.el (shr-descend): Don't bug out if the anchor is empty
513         (bug#16285).
514         (shr-insert): If we have a word that's longer than `shr-width',
515         break after it anyway.  Otherwise we'll do no breaking once we get
516         such a long word.
518 2014-01-05  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
520         * net/eww.el (eww):  Support single/double quote for search.
521         * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
522         (eww-history-quit): Delete and use quit-window.
523         (eww-history-kill): Delete, because it doesn't work well and
524         not necessary.
525         (eww-history-mode-map): Delete some keys and add easy-menu.
527 2014-01-05  Paul Eggert  <eggert@cs.ucla.edu>
529         Fix misspelling of 'chinese' in rx (Bug#16237).
530         * emacs-lisp/rx.el (rx-categories): Correct spelling of
531         chinese-two-byte.
533         Change subword regexps back to vars (Bug#16296).
534         * progmodes/subword.el (subword-forward-regexp)
535         (subword-backward-regexp): Change these back to variables.
537 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
539         * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
540         syntax-begin-function (bug#16247).
542 2014-01-03  Chong Yidong  <cyd@gnu.org>
544         * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
545         (advice--docstring): Delete variable.
546         (advice--make-1): Leave the docstring empty.
547         (advice-add): Use function-documentation for advised docstring.
549         * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
550         Ignore function-documentation property when getting documentation.
551         (ad-activate-advised-definition): Use function-documentation
552         generate the docstring.
553         (ad-make-advised-definition): Don't call
554         ad-make-advised-definition-docstring.
555         (ad-make-advised-definition-docstring, ad-advised-definition-p):
556         Delete functions.
558         * progmodes/sql.el (sql-help): Use function-documentation instead
559         of dynamic-docstring-function property.  No need to autoload now.
560         (sql--help-docstring): New variable.
561         (sql--make-help-docstring): Use it.
563 2014-01-03  Stefan Monnier  <monnier@iro.umontreal.ca>
565         * ielm.el (ielm-tab): Retarget.
566         (ielm-map): Use ielm-tab for tab.
567         (ielm-complete-filename): Use comint-filename-completion.
568         (ielm-complete-symbol): Remove.
569         (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
570         remove ielm-tab from completion-at-point-functions (bug#16224).
572         * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
573         Beware signals raised by predicates (bug#16201).
575 2014-01-02  Richard Stallman  <rms@gnu.org>
577         * dired-aux.el (dired-do-print): Handle printer-name.
579         * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
580         * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
581         (rmail-epa-decrypt): Turn off mime processing.
583         * mail/rmail.el (rmail-make-in-reply-to-field):
584         Add parens in message-id.
586         * mail/rmail.el (rmail-get-coding-function): Variable.
587         (rmail-get-coding-system): Use it.
589 2013-12-31  Eli Zaretskii  <eliz@gnu.org>
591         * international/mule-conf.el: Unify the charset indian-is13194.
592         (indian-is13194): Specify unify-map.
594 2013-12-31  Leo Liu  <sdl.web@gmail.com>
596         * subr.el (set-temporary-overlay-map): Obsolete alias.  (Bug#16305)
598 2013-12-30  Daniel Colascione  <dancol@dancol.org>
600         * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
601         of printing a useless when we resume from sleep.
603         * progmodes/sh-script.el
604         (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
605         in indentation code.  (Bug#16233)
607 2013-12-28  João Távora  <joaotavora@gmail.com>
609         * elec-pair.el (electric-pair-post-self-insert-function):
610         Don't open extra newlines at beginning of buffer.  (Bug#16272)
612 2013-12-28  Eli Zaretskii  <eliz@gnu.org>
614         * frame.el (window-system-for-display): Don't allow to create a
615         GUI frame from a -nw session on MS-Windows.  (Bug#14739)
617 2013-12-28  Glenn Morris  <rgm@gnu.org>
619         * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
620         Update callers.
622         * apropos.el (apropos-match-face):
623         * calculator.el (calculator-displayer):
624         * dabbrev.el (dabbrev-search-these-buffers-only):
625         * face-remap.el (buffer-face-mode-face):
626         * simple.el (yank-handled-properties):
627         * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
628         * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
629         * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
630         (hashcash-double-spend-database):
631         * progmodes/ruby-mode.el (ruby-deep-indent-paren)
632         (ruby-deep-indent-paren-style):
633         * textmodes/flyspell.el (flyspell-auto-correct-binding):
634         * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
635         (rst-toc-insert-number-separator, rst-toc-insert-max-level):
636         * vc/pcvs-defs.el (cvs-minor-mode-prefix):
637         Specify custom types.
639         * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
640         * bookmark.el (bookmark-bmenu-use-header-line):
641         * doc-view.el (doc-view-scale-internally):
642         * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
643         * register.el (register-preview-delay):
644         * net/shr.el (shr-bullet):
645         * progmodes/cfengine.el (cfengine-cf-promises)
646         (cfengine-parameters-indent):
647         * progmodes/octave.el (inferior-octave-error-regexp-alist):
648         * textmodes/reftex-vars.el (reftex-label-regexps):
649         * vc/log-edit.el (log-edit-setup-add-author): Add version.
651         * net/tls.el (tls-certtool-program): Fix default value.
653         * desktop.el (desktop-restore-in-current-display):
654         * newcomment.el (comment-empty-lines):
655         * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
656         (idlwave-pad-keyword):
657         * progmodes/tcl.el (tcl-tab-always-indent):
658         * textmodes/reftex-vars.el (reftex-index-default-tag):
659         * elec-pair.el (electric-pair-skip-whitespace):
660         * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
662         * emacs-lisp/authors.el (authors-ignored-files)
663         (authors-valid-file-names, authors-renamed-files-alist): Additions.
665 2013-12-27  Jarek Czekalski  <jarekczek@poczta.onet.pl>
667         * shell.el (shell-dynamic-complete-command): Doc fix.
668         (shell--command-completion-data): Shell completion now matches
669         executable filenames from the current buffer's directory, on
670         systems in which this behavior is the default (windows-nt, ms-dos).
672 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
674         * net/shr.el (shr-insert): Don't infloop if the width is zero.
676 2013-12-27  Stefan Monnier  <monnier@iro.umontreal.ca>
678         * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
679         (bug#16251).
681         * electric.el: Move all electric-pair-* to elec-pair.el.
682         * elec-pair.el: New file, split from electric.el.
684 2013-12-27  Lars Ingebrigtsen  <larsi@gnus.org>
686         * net/shr.el (shr-find-fill-point): Don't try to fill if the
687         indentation level is larger than the width, because that will
688         infloop.
689         (shr-insert): Fill repeatedly long texts, so that Japanese is
690         formatted correctly (bug#16263).
691         (shr-find-fill-point): Off by one error in comparison with the
692         indentation.
694 2013-12-26  João Távora  <joaotavora@gmail.com>
696         * electric.el (electric-pair-mode): More flexible engine for skip-
697         and inhibit predicates, new options for pairing-related functionality.
698         (electric-pair-preserve-balance): Pair/skip parentheses and quotes
699         if that keeps or improves their balance in buffers.
700         (electric-pair-delete-adjacent-pairs): Delete the pair when
701         backspacing over adjacent matched delimiters.
702         (electric-pair-open-extra-newline): Open extra newline when
703         inserting newlines between adjacent matched delimiters.
704         (electric--sort-post-self-insertion-hook):
705         Sort post-self-insert-hook according to priority values when
706         minor-modes are activated.
707         * simple.el (newline-and-indent): Call newline with interactive
708         set to t.
709         (blink-paren-post-self-insert-function): Set priority to 100.
710         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
711         Use electric-pair-text-pairs to pair backtick-and-quote in strings and
712         comments.  Locally set electric-pair-skip-whitespace to 'chomp and
713         electric-pair-open-newline-between-pairs to nil.
715 2013-12-26  Fabián Ezequiel Gallina  <fgallina@gnu.org>
717         * progmodes/python.el: Use lexical-binding.
718         (python-nav-beginning-of-defun): Stop searching ASAP.
720 2013-12-25  Xue Fuqiao  <xfq.free@gmail.com>
722         * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
723         Fix interactive spec.  Doc fix.  (Bug#15754)
725 2013-12-25  Katsumi Yamaoka  <yamaoka@jpl.org>
727         * emacs-lisp/byte-run.el (eval-when-compile):
728         * progmodes/cc-defs.el (cc-eval-when-compile):
729         Fix edebug spec (bug#16184).
731 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
733         * net/shr.el (shr-visit-file): Remove debugging function.
734         (shr-insert): Don't infloop if we can't find a good place to break
735         the line (bug#16256).
737 2013-12-25  Fabián Ezequiel Gallina  <fgallina@gnu.org>
739         * progmodes/python.el:
740         (python-nav--lisp-forward-sexp): New function.
741         (python-nav--lisp-forward-sexp-safe): Use it.  Rename from
742         python-nav-lisp-forward-sexp-safe.
743         (python-nav--forward-sexp): New argument SAFE allows switching
744         forward sexp movement behavior for parens.
745         (python-nav-forward-sexp): Throw errors on unterminated parens
746         (Bug#16191).
747         (python-nav-backward-sexp, python-nav-forward-sexp-safe)
748         (python-nav-backward-sexp-safe): New functions.
749         (python-shell-buffer-substring):
750         Use `python-nav-forward-sexp-safe'.
752 2013-12-25  Lars Ingebrigtsen  <larsi@gnus.org>
754         * net/shr.el (shr-find-fill-point): Don't break lines before a
755         quotation mark.
756         (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
757         (shr-find-fill-point): Remove the special checks for the quotation
758         mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
760 2013-12-25  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
762         * net/eww.el (eww-form-textarea): Use a different face for
763         textareas than text input since they have different keymaps
764         (bug#16142).
766 2013-12-24  Fabián Ezequiel Gallina  <fgallina@gnu.org>
768         * progmodes/python.el (python-nav-beginning-of-statement):
769         Speed up (Bug#15295).
771 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
773         * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
774         the window configuration.
776 2013-12-24  Eli Zaretskii  <eliz@gnu.org>
778         * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
779         we run on MS-Windows or MS-DOS.
781 2013-12-24  Martin Rudalics  <rudalics@gmx.at>
783         * window.el (balance-windows-area): Call window-size instead of
784         window-height and window-width.  Bug#16241.
786 2013-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
788         * net/eww.el (eww-bookmark-quit): Remove.
789         (eww-bookmark-browse): Restore the window configuration when you
790         choose a bookmark (bug#16144).
792 2013-12-24  Daniel Colascione  <dancol@dancol.org>
794         * icomplete.el: Remove redundant :group arguments to `defcustom'
795         throughout.
796         (icomplete-show-matches-on-no-input): New customizable variable.
797         (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
798         we have something to show.
799         (icomplete-exhibit): Compute completions even if we have no user input.
801 2013-12-23  Daniel Colascione  <dancol@dancol.org>
803         * icomplete.el: Move `provide' to end of file.
805 2013-12-23  Teodor Zlatanov  <tzz@lifelogs.com>
807         * net/gnutls.el (gnutls-verify-error): Add version tag.
809 2013-12-23  Chong Yidong  <cyd@gnu.org>
811         * subr.el (set-transient-map): Rename from
812         set-temporary-overlay-map.  Doc fix.
814         * face-remap.el (text-scale-adjust):
815         * indent.el (indent-rigidly):
816         * kmacro.el (kmacro-call-macro):
817         * minibuffer.el (minibuffer-force-complete):
818         * repeat.el (repeat):
819         * simple.el (universal-argument--mode):
820         * calendar/todo-mode.el (todo-insert-item--next-param):
821         * progmodes/f90.el (f90-abbrev-start): Callers changed.
823         * indent.el (indent-rigidly): Use substitute-command-keys.
825 2013-12-22  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
827         * net/eww.el (eww-tag-select): Add text-property to jump to next
828         select field.
829         (eww): Add non-supported ftp error.
831 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
833         * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
834         comments.  Handle electric indent after typing `?' and `!'.
836 2013-12-22  Chong Yidong  <cyd@gnu.org>
838         * faces.el (face-spec-recalc): If the theme specs are not
839         applicable to a frame, fall back on the defface spec.
840         This prevents themes from obliterating faces on low-color terminals.
842 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
844         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
845         after `{'.  We need it after block openers, and it doesn't seem
846         to hurt after hash openers.
848 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
850         * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
851         extracted from `ruby-smie-rules'.
852         (ruby--electric-indent-chars): New variable.
853         (ruby--electric-indent-p): New function.
854         (ruby-mode): Use `electric-indent-functions' instead of
855         `electric-indent-chars'.
857 2013-12-22  Dmitry Gutov  <dgutov@yandex.ru>
859         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
860         docstring.
861         (ruby-smie-rules): Indent plus one level after `=>'.
863 2013-12-21  Richard Stallman  <rms@gnu.org>
865         * simple.el (newline): Doc fix.
867 2013-12-21  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
869         * net/eww.el (eww-list-histories, eww-list-histories)
870         (eww-history-browse, eww-history-quit, eww-history-kill)
871         (eww-history-mode-map, eww-history-mode): New command and
872         functions to list browser histories.
873         (eww-form-text): Support text form with disabled
874         and readonly attributes.
875         (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
877 2013-12-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
879         * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
880         (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
881         (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
882         (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
883         Use `user-error'.
884         (eww-bookmark-mode-map): Add menu.
885         (eww-render, eww-mode): Use `setq-local'.
886         (eww-tool-bar-map): New variable.
887         (eww-mode): Set `tool-bar-map'.
888         (eww-view-source): Check for `html-mode' with `fboundp'.
890 2013-12-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
892         * net/shr.el (shr--extract-best-source): Don't bug out on audio
893         elements with text inside.  Also remove debugging.
895 2013-12-21  Jan Djärv  <jan.h.d@swipnet.se>
897         * cus-start.el (all): Add ns-use-srgb-colorspace.
899 2013-12-21  Chong Yidong  <cyd@gnu.org>
901         * custom.el (custom-theme-recalc-face): Do nothing if the face is
902         undefined.  Thus, theme settings for undefined faces do not take
903         effect until the faces are defined with defface, the same as with
904         theme variables.
906         * faces.el (face-spec-set): Use face-spec-recalc in all cases.
907         (face-spec-reset-face): Don't assign extra properties in temacs.
908         (face-spec-recalc): Apply X resources too.
910 2013-12-21  Chong Yidong  <cyd@gnu.org>
912         * faces.el (face-spec-set):
913         * cus-face.el (custom-theme-set-faces, custom-set-faces):
914         * custom.el (defface): Doc fixes (Bug#16203).
916         * indent.el (indent-rigidly-map): Add docstring, and move commands
917         into named functions.
918         (indent-rigidly-left, indent-rigidly-right)
919         (indent-rigidly-left-to-tab-stop)
920         (indent-rigidly-right-to-tab-stop): New functions.  Decide on
921         indentation direction based on bidi direction, and accumulate
922         sequential commands in a single undo boundary.
923         (indent-rigidly--pop-undo): New utility function.
925 2013-12-20  Juanma Barranquero  <lekktu@gmail.com>
927         * faces.el (read-face-name): Require crm.el when using crm-separator.
929 2013-12-20  Daniel Colascione  <dancol@dancol.org>
931         * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
932         so that we don't reflow comments into the shebang line.
934 2013-12-20  Juri Linkov  <juri@jurta.org>
936         * saveplace.el (save-place-to-alist): Add `dired-filename' as
937         a position when `dired-directory' is non-nil.  Check integer
938         positions with `integerp'.
939         (toggle-save-place, save-places-to-alist): Add check for
940         `dired-directory'.
941         (save-place-find-file-hook): Check integer positions with
942         `integerp'.
943         (save-place-dired-hook): Use `dired-goto-file' when
944         `dired-filename' is found in the assoc list.  Check integer
945         positions with `integerp'.
946         (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
948         * dired.el (dired-initial-position-hook): Rename back from
949         `dired-initial-point-hook'.
950         (dired-initial-position): Rename `dired-initial-point-hook' to
951         `dired-initial-position-hook'.
952         (dired-file-name-at-point): Doc fix.  (Bug#15329)
954 2013-12-20  Juri Linkov  <juri@jurta.org>
956         * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
957         (read-regexp-suggestions): New function.
958         (read-regexp): Use `read-regexp-defaults-function' to get default values.
959         Use `read-regexp-suggestions'.  Add non-empty default to history
960         for empty input.
961         (occur-read-regexp-defaults-function): Remove function.
962         (occur-read-primary-args): Use `regexp-history-last' instead of
963         `occur-read-regexp-defaults-function'.
965         * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
966         (hi-lock-line-face-buffer, hi-lock-face-buffer)
967         (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
968         `hi-lock-read-regexp-defaults-function'.  Doc fix.
969         (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
970         with `find-tag-default-as-symbol-regexp'.  Doc fix.
971         (hi-lock-read-regexp-defaults): Remove function.
972         (hi-lock-regexp-okay): Add check for null.
974         * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
975         the arg DEFAULTS.  Move formatting of the prompt to `read-regexp'.
977         * subr.el (find-tag-default-as-symbol-regexp): New function.
978         (find-tag-default-as-regexp): Move symbol regexp formatting to
979         `find-tag-default-as-symbol-regexp'.
981 2013-12-20  E Sabof  <esabof@gmail.com>  (tiny change)
983         * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
984         (Bug#14179)
986 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
988         * calendar/todo-mode.el: New implementation of item insertion
989         commands and key bindings.
990         (todo-key-prompt): New face.
991         (todo-insert-item): New command.
992         (todo-insert-item--parameters): New defconst, replacing defvar
993         todo-insertion-commands-args-genlist.
994         (todo-insert-item--param-key-alist): New defconst, replacing
995         defvar todo-insertion-commands-arg-key-list.
996         (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
997         (todo-insert-item--argsleft, todo-insert-item--apply-args)
998         (todo-insert-item--next-param): New functions.
999         (todo-insert-item--args, todo-insert-item--argleft)
1000         (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1001         New variables.
1002         (todo-key-bindings-t): Change binding of "i" from
1003         todo-insertion-map to todo-insert-item.
1004         (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1005         (todo-insertion-command-name, todo-insertion-commands-names)
1006         (todo-define-insertion-command, todo-insertion-commands)
1007         (todo-insertion-key-bindings, todo-insertion-map): Remove.
1009 2013-12-20  Stephen Berman  <stephen.berman@gmx.net>
1011         * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1012         (todo-toggle-item-highlighting): Use eval-and-compile instead of
1013         eval-when-compile.
1014         (todo-move-category): Allow choosing a non-existing todo file to
1015         move the category to, and create that file.
1016         (todo-default-priority): New user option.
1017         (todo-set-item-priority): Use it.
1018         (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1019         (desktop-restore-file-buffer): Declare.
1020         (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1021         (todo-modes-set-2): Locally set desktop-save-buffer to
1022         todo-desktop-save-buffer.
1023         (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1024         (auto-mode-alist): Add autoload cookie.
1026 2013-12-20  Bozhidar Batsov  <bozhidar@batsov.com>
1028         * emacs-lisp/subr-x.el: Renamed from helpers.el.
1029         helpers.el was a poor choice of name.
1030         (string-remove-prefix): New function.
1031         (string-remove-suffix): New function.
1033 2013-12-20  Martin Rudalics  <rudalics@gmx.at>
1035         Fix assignment for new window total sizes.
1036         * window.el (window--pixel-to-size): Remove function.
1037         (window--pixel-to-total-1, window--pixel-to-total):
1038         Fix calculation of new total sizes.
1040 2013-12-20  Vitalie Spinu  <spinuvit@gmail.com>
1042         * comint.el (comint-output-filter): Fix rear-nonsticky property
1043         placement (Bug#16010).
1045 2013-12-20  Chong Yidong  <cyd@gnu.org>
1047         * faces.el (read-color): Minor fix for completion function.
1049 2013-12-20  Dmitry Gutov  <dgutov@yandex.ru>
1051         * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1052         New option.  (Bug#16182)
1053         (ruby-smie--indent-to-stmt-p): Use it.
1054         (ruby-smie-rules): Revert the logic in the handling of `when'.
1055         Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1056         (ruby-deep-arglist, ruby-deep-indent-paren)
1057         (ruby-deep-indent-paren-style): Update docstrings to note that the
1058         vars don't have any effect with SMIE.
1060 2013-12-20  Jay Belanger  <jay.p.belanger@gmail.com>
1062         * calc/calc.el (calc-enter, calc-pop): Use the variable
1063         `calc-context-sensitive-enter'.
1065 2013-12-20  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1067         * net/shr.el (shr-insert): Protect against infloops in degenerate
1068         tables.
1070 2013-12-20  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1072         * progmodes/octave.el (octave): Add link to manual and octave
1073         homepage.
1074         (octave-mode-menu): Link to octave-mode manual.
1076 2013-12-20  Leo Liu  <sdl.web@gmail.com>
1078         * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1079         insertion using skeleton-end-newline.  (Bug#16138)
1081 2013-12-20  Juri Linkov  <juri@jurta.org>
1083         * replace.el (occur-engine): Use `add-face-text-property'
1084         to add the face property to matches and titles.  (Bug#14645)
1086         * hi-lock.el (hi-green): Use lighter color "light green" closer to
1087         the palette of other hi-lock colors.
1088         (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1090 2013-12-19  Juri Linkov  <juri@jurta.org>
1092         * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1093         Put :advertised-binding on `M-s c', `M-s r', `M-s e'.  (Bug#16035)
1094         (minibuffer-history-symbol): Move variable declaration closer to
1095         its usage.
1097         * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1098         (Bug#14785)
1100 2013-12-19  Juri Linkov  <juri@jurta.org>
1102         * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1103         New function.
1104         (log-edit-hook): Add it to :options.  (Bug#16170)
1106 2013-12-19  Juri Linkov  <juri@jurta.org>
1108         * simple.el (eval-expression-print-format): Don't check for
1109         command names and the last command.  Always display additional
1110         formats of the integer result in the echo area, and insert them
1111         to the current buffer only with a zero prefix arg.
1112         Display character when char-displayable-p is non-nil.
1113         (eval-expression): With a zero prefix arg, set `print-length' and
1114         `print-level' to nil, and insert the integer values from
1115         `eval-expression-print-format' at the end.  Doc fix.  (Bug#12985)
1117         * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1118         `eval-last-sexp-arg-internal'.  Doc fix.
1119         (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1120         `eval-last-sexp-print-value'.  Doc fix.
1121         (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1122         Set `print-length' and `print-level' to nil when arg is zero.
1123         (eval-last-sexp): Doc fix.
1124         (eval-defun-2): Print the integer values from
1125         `eval-expression-print-format' at the end.
1127         * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1128         values from `eval-expression-print-format' at the end.
1130         * ielm.el (ielm-eval-input): Print the integer
1131         values from `eval-expression-print-format' at the end.
1133 2013-12-19  Teodor Zlatanov  <tzz@lifelogs.com>
1135         * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1136         2013-12-11T19:01:44Z!tzz@lifelogs.com.
1138 2013-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1140         * hl-line.el (hl-line-make-overlay): New fun.  Set priority (bug#16192).
1141         (hl-line-highlight, global-hl-line-highlight): Use it.
1142         (hl-line-overlay): Use defvar-local.
1144 2013-12-19  Jan Djärv  <jan.h.d@swipnet.se>
1146         * term/ns-win.el: Require dnd.
1147         (global-map): Remove drag items.
1148         (ns-insert-text, ns-set-foreground-at-mouse)
1149         (ns-set-background-at-mouse):
1150         Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1151         (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1152         New functions.
1154 2013-12-19  Glenn Morris  <rgm@gnu.org>
1156         * emacs-lisp/ert.el (ert-select-tests):
1157         Fix string/symbol mixup.  (Bug#16121)
1159 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1161         * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1162         keywords to their parent.
1164 2013-12-19  Dmitry Gutov  <dgutov@yandex.ru>
1166         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1167         first arg to be a string (fixed dead code), or an operator symbol.
1168         (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1169         operator symbols.
1170         (ruby-smie-rules): Remove parent token check in the `.' clause, it
1171         did nothing.  Don't respond to `(:after ".")', it will be called
1172         with :before anyway.  Remove the ` @ ' rule, it didn't seem to
1173         change anything.  Only return indentation for binary operators
1174         when they are hanging.  De-dent opening paren when its parent is
1175         `.', otherwise it looks bad when the dot is not at bol or eol
1176         (bug#16182).
1178 2013-12-19  Juri Linkov  <juri@jurta.org>
1180         * replace.el (query-replace-read-args): Split a non-negative arg
1181         and a negative arg into separate elements.
1182         (query-replace, query-replace-regexp, replace-string)
1183         (replace-regexp): Add arg `backward'.  Doc fix.
1184         (replace-match-maybe-edit): When new arg `backward' is non-nil,
1185         move point to the beginning of the match.
1186         (replace-search, replace-highlight): Use new arg `backward'
1187         to set the value of `isearch-forward'.
1188         (perform-replace): Add arg `backward' and use it to perform
1189         replacement backward.  (Bug#14979)
1191         * isearch.el (isearch-query-replace): Use a negative prefix arg
1192         to call `perform-replace' with a non-nil arg `backward'.
1194 2013-12-18  Juri Linkov  <juri@jurta.org>
1196         * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1197         to the default list.  Move `log-edit-show-files' to the end.
1198         Add more available functions to options.
1199         (log-edit): Move default specific settings to
1200         `log-edit-insert-message-template'.  Don't move point.
1201         (log-edit-insert-message-template): New function.
1202         (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1203         (Bug#16170)
1205 2013-12-18  Juri Linkov  <juri@jurta.org>
1207         * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1208         and "r" to help-go-forward for compatibity with Info.  (Bug#16178)
1210 2013-12-18  Leo Liu  <sdl.web@gmail.com>
1212         * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1213         (Bug#16186)
1215 2013-12-18  Eli Zaretskii  <eliz@gnu.org>
1217         * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1218         formats for displaying file sizes when the -s switch is given.
1219         Instead, compute a separate format for displaying the size in
1220         blocks, which is displayed in addition to the "regular" size.
1221         When -h is given in addition to -s, produce size in blocks in
1222         human-readable form as well.  (Bug#16179)
1224 2013-12-18  Tassilo Horn  <tsdh@gnu.org>
1226         * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1227         Reference tables with ~\ref{...} instead of only \ref{...}.
1229 2013-12-18  Chong Yidong  <cyd@gnu.org>
1231         * cus-edit.el (custom-magic-alist): Fix "themed" description
1232         (Bug#14348).
1234         * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1235         is non-nil, do not create a new entry in the symbol's theme-value
1236         or theme-face property; update theme-settings only (Bug#14664).
1237         (custom-available-themes): Doc fix.
1239         * cus-theme.el (custom-new-theme-mode-map): Add bindings
1240         (Bug#15674).
1242         * replace.el (occur-engine): Avoid infloop (Bug#7593).
1244 2013-12-18  Kazuhiro Ito  <kzhr@d1.dion.ne.jp>  (tiny change)
1246         * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1247         (Bug#13914).
1249 2013-12-18  Shigeru Fukaya  <shigeru.fukaya@gmail.com>
1251         * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1253 2013-12-18  Glenn Morris  <rgm@gnu.org>
1255         * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1256         * cus-start.el (load-prefer-newer): New option.
1258 2013-12-18  Le Wang  <l26wang@gmail.com>
1260         * comint.el (comint-previous-matching-input-from-input):
1261         Retain point (Bug#13404).
1263 2013-12-18  Chong Yidong  <cyd@gnu.org>
1265         * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1267 2013-12-18  Glenn Morris  <rgm@gnu.org>
1269         * mail/emacsbug.el (report-emacs-bug):
1270         Only mention enable-multibyte-characters if non-standard.
1272 2013-12-17  Juri Linkov  <juri@jurta.org>
1274         * arc-mode.el (archive-extract-by-file): Check if directory exists
1275         before deletion to not show irrelevant errors if it doesn't exist.
1277 2013-12-17  Juri Linkov  <juri@jurta.org>
1279         * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1280         (Bug#14751)
1282         * net/eww.el (browse-web): Add alias to `eww'.
1283         (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1284         Bind "S-SPC" to `scroll-down-command'.  (Bug#16178)
1286         * net/browse-url.el (browse-url-browser-function): Move `eww'
1287         closer to similar functions.
1289         * startup.el (fancy-startup-screen, fancy-about-screen):
1290         Set browse-url-browser-function to eww-browse-url locally.
1291         (Bug#14751)
1293 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1295         * window.el (window--pixel-to-total): Remove unused `mini' var.
1296         (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1297         (split-window): Remove unused `new' var.
1298         (window--display-buffer): Remove unused `frame' and `delta' vars.
1299         (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1300         and display-width'.
1302 2013-12-17  Martin Rudalics  <rudalics@gmx.at>
1304         * dired.el (dired-mark-pop-up):
1305         * register.el (register-preview): Don't bind
1306         split-height-threshold here since it's now done in
1307         display-buffer-below-selected.
1309 2013-12-17  oblique  <psyberbits@gmail.com>  (tiny change)
1311         * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1312         xterm-rgb-convert-to-16bit.
1313         (rxvt-register-default-colors): Standardize with
1314         xterm-register-default-colors (Bug#14078).
1316 2013-12-17  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1318         * simple.el (kill-region): Pass mark first, then point, so that
1319         kill-append works right (Bug#12819).
1320         (copy-region-as-kill, kill-ring-save): Likewise.
1322 2013-12-17  Leo Liu  <sdl.web@gmail.com>
1324         * net/rcirc.el (rcirc-add-face):
1325         * eshell/em-prompt.el (eshell-emit-prompt):
1326         * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1327         (Bug#16167)
1329 2013-12-17  Chong Yidong  <cyd@gnu.org>
1331         * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1332         Suggested by Xue Fuqiao.
1334 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1336         * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1338 2013-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1340         * net/shr.el (shr-insert-document): Remove unused var
1341         `shr-preliminary-table-render'.
1342         (shr-rescale-image): Remove unused arg `force'.
1343         (shr-put-image): Update calls accordingly.
1344         (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1346 2013-12-17  Dmitry Gutov  <dgutov@yandex.ru>
1348         * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1349         (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1350         :close-all, to see which indentation method to use (Bug#16116).
1351         (smie-rules-function): Document the method :close-all.
1353 2013-12-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1355         * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1357         * net/eww.el (eww-display-html): If we can't find the anchor we're
1358         looking for, then go to point-min.
1360 2013-12-16  Paul Eggert  <eggert@cs.ucla.edu>
1362         Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1363         * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1364         * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1365         Expand dir too, in case it's relative.
1367 2013-12-16  Juri Linkov  <juri@jurta.org>
1369         * desktop.el (desktop-auto-save-timeout): Change default to
1370         `auto-save-timeout'.  Doc fix.
1371         (desktop-save): Skip the timestamp in desktop-saved-frameset
1372         when checking for auto-save changes.
1373         (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1374         `desktop-auto-save' is called repeatedly by the idle timer.
1375         (desktop-auto-save-set-timer): Replace `run-with-timer' with
1376         `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
1377         (Bug#15331)
1379 2013-12-16  Juri Linkov  <juri@jurta.org>
1381         * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1382         (Bug#16035)
1383         (isearch-pre-command-hook): Check `this-command' for symbolp.
1385 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1387         * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1389 2013-12-16  Teodor Zlatanov  <tzz@lifelogs.com>
1391         * progmodes/cfengine.el (cfengine3--current-word): Remove.
1392         (cfengine3--current-function): Bring in the current-function
1393         functionality from `cfengine3--current-word'.
1394         (cfengine3-completion-function): Bring in the
1395         bounds-of-current-word functionality from
1396         `cfengine3--current-word'.
1398 2013-12-16  Martin Rudalics  <rudalics@gmx.at>
1400         * window.el (display-buffer-below-selected):
1401         Bind split-height-threshold to 0 as suggested by Juri Linkov.
1403 2013-12-16  Leo Liu  <sdl.web@gmail.com>
1405         * progmodes/compile.el (compile-goto-error): Do not push-mark.
1406         Remove NOMSG arg and all uses changed.
1408 2013-12-16  Stefan Monnier  <monnier@iro.umontreal.ca>
1410         * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1411         (cua--deactivate-rectangle): Don't deactivate the mark.
1412         (cua-set-rectangle-mark): Don't set mark-active since
1413         cua--activate-rectangle already does it for us.
1414         (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1415         non-rectangular region.
1417         * emulation/cua-base.el (cua-repeat-replace-region):
1418         Use with-current-buffer.
1420         * net/gnutls.el: Use cl-lib.
1421         (gnutls-negotiate): `mapcan' -> cl-mapcan.
1423 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1425         * emacs-lisp/package.el (package-built-in-p): Support both
1426         built-in and the package.el converted package descriptions.
1427         (package-show-package-list): Allow keywords.
1428         (package-keyword-button-action): Use it instead of
1429         `finder-list-matches'.
1430         (package-menu-filter-interactive): Interactive filtering (by
1431         keyword) function.
1432         (package-menu--generate): Support keywords and change keymappings
1433         and headers when they are given.
1434         (package--has-keyword-p): Helper function.
1435         (package-menu--refresh): Use it.
1436         (package--mapc): Helper function.
1437         (package-all-keywords): Use it.
1438         (package-menu-mode-map): Set up menu items and keybindings to
1439         provide a filtering UI.
1441 2013-12-14  Teodor Zlatanov  <tzz@lifelogs.com>
1443         * net/gnutls.el (gnutls-verify-error): New defcustom to control
1444         the behavior when a certificate fails validation.  Defaults to
1445         old behavior: never abort, just warn.
1446         (gnutls-negotiate): Use it.
1448 2013-12-14  Martin Rudalics  <rudalics@gmx.at>
1450         * window.el (display-buffer-below-selected): Never split window
1451         horizontally.  Suggested by Juri Linkov <juri@jurta.org>.
1453 2013-12-14  Tom Willemse  <tom@ryuslash.org>  (tiny change)
1455         * emacs-lisp/package.el (package--prepare-dependencies): New function.
1456         (package-buffer-info): Use it (bug#15108).
1458 2013-12-14  Stefan Monnier  <monnier@iro.umontreal.ca>
1460         * icomplete.el (icomplete-completions): Make sure the prefix is already
1461         displayed elsewhere before hiding it (bug#16219).
1463 2013-12-14  Dmitry Gutov  <dgutov@yandex.ru>
1465         * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1466         open-paren tokens when preceded by a open-paren, too.
1467         (ruby-smie-rules): Handle virtual indentation after open-paren
1468         tokens specially.  If there is code between it and eol, return the
1469         column where is starts (Bug#16118).
1471 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1473         * progmodes/cfengine.el: Fix `add-hook' doc.
1474         (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1475         (cfengine3--current-word): Fix parameters.
1476         (cfengine3-make-syntax-cache): Simplify further.
1477         (cfengine3-completion-function, cfengine3--current-function):
1478         Use `assq' for symbols.
1479         (cfengine3--current-function): Fix `cfengine3--current-word' call.
1481 2013-12-13  Glenn Morris  <rgm@gnu.org>
1483         * loadup.el (load-path): Warn if site-load or site-init changes it.
1484         No more need to reset it when bootstrapping.
1486 2013-12-13  Teodor Zlatanov  <tzz@lifelogs.com>
1488         * progmodes/cfengine.el (cfengine-cf-promises): Add more default
1489         locations for cf-promises.
1490         (cfengine-mode-syntax-functions-regex): New caching variable.
1491         (cfengine3-fallback-syntax): Fallback syntax for cases where
1492         cf-promises doesn't run.
1493         (cfengine3--current-word): Reimplement using
1494         `cfengine-mode-syntax-functions-regex'.
1495         (cfengine3-completion-function, cfengine3--current-function):
1496         Use `cfengine3-make-syntax-cache' directly.
1497         (cfengine3-clear-syntax-cache): New function.
1498         (cfengine3-make-syntax-cache): Simplify and create
1499         `cfengine-mode-syntax-functions-regex' on demand.
1500         (cfengine3-format-function-docstring): Don't call
1501         `cfengine3-make-syntax-cache' explicitly.
1503 2013-12-13  Martin Rudalics  <rudalics@gmx.at>
1505         Fix windmove-find-other-window broken after pixelwise resizing
1506         (Bug#16017).
1507         * windmove.el (windmove-other-window-loc): Revert change from
1508         2013-12-04.
1509         (windmove-find-other-window): Call window-in-direction.
1510         * window.el (window-in-direction): New arguments SIGN, WRAP and
1511         MINI to emulate original windmove-find-other-window behavior.
1513 2013-12-13  Dmitry Gutov  <dgutov@yandex.ru>
1515         * simple.el (blink-matching--overlay): New variable.
1516         (blink-matching-open): Instead of moving point, highlight the
1517         matching paren with an overlay
1518         (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
1520         * faces.el (paren-showing-faces, show-paren-match)
1521         (show-paren-mismatch): Move from paren.el.
1523 2013-12-13  Leo Liu  <sdl.web@gmail.com>
1525         * indent.el (indent-region): Disable progress reporter in
1526         minibuffer.  (Bug#16108)
1528         * bindings.el (visual-order-cursor-movement): Fix version.
1530 2013-12-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1532         * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
1533         Also match after beginning of line.
1534         (python-pdbtrack-set-tracked-buffer): Fix logic for remote
1535         files.  Thanks to Russell Sim.  (Bug#15378)
1537 2013-12-13  Juri Linkov  <juri@jurta.org>
1539         * simple.el <Keypad support>: Remove key bindings duplicated
1540         with bindings.el.  (Bug#14397)
1542 2013-12-13  Juri Linkov  <juri@jurta.org>
1544         * comint.el (comint-mode-map): Replace `delete-char' with
1545         `delete-forward-char'.  (Bug#16109)
1547 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1549         * progmodes/python.el (python-indent-calculate-indentation):
1550         Fix de-denters cornercase.  (Bug#15731)
1552 2013-12-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1554         * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
1555         (advice--make): Pay attention to `depth'.
1556         (advice--make-1): Don't autoload commands eagerly.
1557         * emacs-lisp/elp.el (elp-instrument-function):
1558         * emacs-lisp/trace.el (trace-function-internal):
1559         * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
1561         * iswitchb.el (iswitchb-mode): Don't belittle ido.
1563 2013-12-12  Eli Zaretskii  <eliz@gnu.org>
1565         * term/w32-win.el (w32-handle-dropped-file):
1566         * startup.el (normal-top-level):
1567         * net/browse-url.el (browse-url-file-url):
1568         * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
1569         decode file names using 'utf-8' rather than
1570         file-name-coding-system.
1572 2013-12-12  Fabián Ezequiel Gallina  <fgallina@gnu.org>
1574         * progmodes/python.el (python-indent-context)
1575         (python-indent-calculate-indentation): Fix auto-identation
1576         behavior for comment blocks.  (Bug#15916)
1578 2013-12-12  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
1580         * progmodes/python.el (python-indent-calculate-indentation):
1581         When determining indentation, don't treat "return", "pass", etc., as
1582         operators when they are just string constituents.  (Bug#15812)
1584 2013-12-12  Juri Linkov  <juri@jurta.org>
1586         * uniquify.el (uniquify-buffer-name-style): Change default to
1587         `post-forward-angle-brackets'.
1589         * menu-bar.el (menu-bar-options-menu): Don't require preloaded
1590         `uniquify'.  Change default to `post-forward-angle-brackets'.
1592 2013-12-11  Glenn Morris  <rgm@gnu.org>
1594         * emacs-lisp/package.el (finder-list-matches):
1595         Autoload rather than falsely declaring.
1597 2013-12-11  Teodor Zlatanov  <tzz@lifelogs.com>
1599         * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
1600         (eww-mode-map): Use them.
1602 2013-12-11  Martin Rudalics  <rudalics@gmx.at>
1604         * window.el (display-buffer-in-side-window): Fix doc-string
1605         (Bug#16115).
1607 2013-12-11  Juanma Barranquero  <lekktu@gmail.com>
1609         * vc/vc-git.el: Silence byte-compiler warnings.
1610         (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
1611         (log-edit-set-header): Declare.
1613 2013-12-11  Eli Zaretskii  <eliz@gnu.org>
1615         * Makefile.in (custom-deps, finder-data): Run output file names
1616         through unmsys--file-name.  (Bug#16099)
1618 2013-12-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1620         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
1621         comment-start-skip, which fails when that uses submatch 1 (bug#16041).
1623         * emulation/cua-base.el (cua-paste): Add `delete-selection' property
1624         instead of deleting the selection "by hand" (bug#16098).
1625         Rely on insert-for-yank to yank rectangles.
1626         (cua-highlight-region-shift-only): Mark obsolete.
1627         (cua-mode): Don't enable/disable transient-mark-mode,
1628         shift-select-mode (cua-mode works both with and without them), and
1629         pc-selection-mode (obsolete).
1630         * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
1631         (cua--deactivate-rectangle): Deactivate it.
1633         * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
1634         (delete-selection-helper): Make sure yank starts at the top of the
1635         deleted region.
1636         (minibuffer-keyboard-quit): Use region-active-p.
1638         * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
1640         * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
1641         to `delete' (bug#16109).
1643 2013-12-11  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1645         * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
1646         info manual and show keybindings and set `:group' keyword.
1648 2013-12-11  Juri Linkov  <juri@jurta.org>
1650         * delsel.el (delete-active-region): Let-bind `this-command'
1651         to prevent `kill-region' from changing its original value.
1652         (delete-selection-helper): Handle `overwrite-mode' for the type
1653         `kill' exactly the same way as for the type `t'.
1654         (insert-char, quoted-insert, reindent-then-newline-and-indent):
1655         Support more commands.  (Bug#13312)
1657 2013-12-11  Juri Linkov  <juri@jurta.org>
1659         * bindings.el: Map kp keys to non-kp keys systematically
1660         with basic modifiers control, meta and shift.  (Bug#14397)
1662 2013-12-11  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
1664         * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
1665         "Close browser" menu items.  Fix wrong function of "List
1666         bookmarks".
1668 2013-12-11  Juri Linkov  <juri@jurta.org>
1670         * misearch.el (multi-isearch-buffers): Set the value of
1671         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1672         arg of isearch-forward to t.
1673         (multi-isearch-buffers-regexp): Set the value of
1674         `multi-isearch-buffer-list' globally.  Set NO-RECURSIVE-EDIT
1675         arg of isearch-forward-regexp to t.
1676         (multi-isearch-files): Set the value of
1677         `multi-isearch-file-list' globally.  Set NO-RECURSIVE-EDIT
1678         arg of isearch-forward to t.
1679         (multi-isearch-files-regexp): Set the value of
1680         `multi-isearch-file-list globally.  Set NO-RECURSIVE-EDIT
1681         arg of isearch-forward-regexp to t.  (Bug#16035)
1683         * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
1684         arg of isearch-forward to t.
1685         (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
1686         arg of isearch-forward-regexp to t.
1687         (dired-isearch-filter-filenames): Remove unnecessary check for
1688         `dired-isearch-filenames'.
1690         * comint.el (comint-history-isearch-backward):
1691         Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
1692         (comint-history-isearch-backward-regexp):
1693         Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
1695 2013-12-10  Eli Zaretskii  <eliz@gnu.org>
1697         * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
1698         unmsys--file-name.  (Bug#16099)
1700 2013-12-10  Teodor Zlatanov  <tzz@lifelogs.com>
1702         * emacs-lisp/package.el (package-keyword-button-action):
1703         Remove finder.el require dependency.
1705 2013-12-09  Teodor Zlatanov  <tzz@lifelogs.com>
1707         * emacs-lisp/package.el: Require finder.el.
1708         (describe-package-1): Add keyword buttons.
1709         (package-make-button): New convenience function.
1710         (package-keyword-button-action): Keyword button action using
1711         `finder-list-matches'.
1713 2013-12-09  Eli Zaretskii  <eliz@gnu.org>
1715         * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
1716         last commit.
1718 2013-12-09  Michael Albinus  <michael.albinus@gmx.de>
1720         * autorevert.el (auto-revert-notify-add-watch): Do not handle
1721         symlinked files.
1723 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1725         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1726         after the end of a percent literal.
1728 2013-12-09  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1730         * progmodes/ruby-mode.el (ruby-forward-string): Document.
1731         Handle caret-delimited strings (Bug#16079).
1733 2013-12-09  Dmitry Gutov  <dgutov@yandex.ru>
1735         * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
1736         When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
1737         `ruby-parse-partial' (Bug#16078).
1739 2013-12-09  Leo Liu  <sdl.web@gmail.com>
1741         * subr.el (read-passwd): Disable show-paren-mode.  (Bug#16091)
1743 2013-12-08  Dmitry Gutov  <dgutov@yandex.ru>
1745         * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
1746         (js-switch-indent-offset): New option.
1747         (js--proper-indentation): Use it.  And handle the case when
1748         "default" is actually a key in an object literal.
1749         (js--same-line): New function.
1750         (js--multi-line-declaration-indentation): Use it.
1751         (js--indent-in-array-comp, js--array-comp-indentation):
1752         New functions.
1753         (js--proper-indentation): Use them, to handle array comprehension
1754         continuations.
1756 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1758         * progmodes/flymake.el (flymake-highlight-line): Re-write.
1759         (flymake-make-overlay): Remove arg MOUSE-FACE.
1760         (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
1762 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1764         * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
1765         New function.
1766         (redisplay-highlight-region-function): Use it.
1768         * emulation/cua-base.el (cua--explicit-region-start)
1769         (cua--last-region-shifted): Remove.
1770         (cua--deactivate): Use deactivate-mark.
1771         (cua--pre-command-handler-1): Don't handle shift-selection.
1772         (cua--post-command-handler-1): Don't change transient-mark-mode.
1773         (cua--select-keymaps): Use region-active-p rather than
1774         cua--explicit-region-start or cua--last-region-shifted.
1775         (cua-mode): Enable shift-select-mode.
1777 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1779         * progmodes/flymake.el (flymake-popup-current-error-menu):
1780         Rename from flymake-display-err-menu-for-current-line.  Reimplement.
1781         (flymake-posn-at-point-as-event, flymake-popup-menu)
1782         (flymake-make-emacs-menu): Remove.  (Bug#16077)
1784 2013-12-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1786         * rect.el (rectangle-mark-mode): Activate mark even if
1787         transient-mark-mode is off (bug#16066).
1788         (rectangle--highlight-for-redisplay): Fix boundary condition when point
1789         is > mark and at bolp.
1791         * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
1792         (region-extract-function): Use it.
1793         (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
1794         (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
1795         Delete functions.
1796         (cua--init-rectangles): Don't re-remap copy-region-as-kill,
1797         kill-ring-save, kill-region, delete-char, delete-forward-char.
1798         Ignore self-insert-iso.
1800         * emulation/cua-gmrk.el (cua--init-global-mark):
1801         Ignore `self-insert-iso'.
1803         * emulation/cua-base.el (cua--prefix-copy-handler)
1804         (cua--prefix-cut-handler): Rely on region-extract-function rather than
1805         checking cua--rectangle.
1806         (cua-delete-region): Use region-extract-function.
1807         (cua-replace-region): Delete function.
1808         (cua-copy-region, cua-cut-region): Obey region-extract-function.
1809         (cua--pre-command-handler-1): Don't do the delete-selection thing.
1810         (cua--self-insert-char-p): Ignore `self-insert-iso'.
1811         (cua--init-keymaps): Don't remap delete-selection commands.
1812         (cua-mode): Use delete-selection-mode instead of rolling our own
1813         (bug#16085).
1815         * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
1816         Obey region-extract-function.
1818         Make registers and delete-selection-mode work on rectangles.
1819         * register.el (describe-register-1): Don't modify the register's value.
1820         (copy-to-register): Obey region-extract-function.
1821         * delsel.el (delete-active-region): Obey region-extract-function.
1823 2013-12-08  Leo Liu  <sdl.web@gmail.com>
1825         * progmodes/flymake.el (flymake, flymake-error-bitmap)
1826         (flymake-warning-bitmap, flymake-fringe-indicator-position)
1827         (flymake-compilation-prevents-syntax-check)
1828         (flymake-start-syntax-check-on-newline)
1829         (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
1830         (flymake-start-syntax-check-on-find-file, flymake-log-level)
1831         (flymake-xml-program, flymake-master-file-dirs)
1832         (flymake-master-file-count-limit)
1833         (flymake-allowed-file-name-masks): Relocate.
1834         (flymake-makehash, flymake-float-time)
1835         (flymake-replace-regexp-in-string, flymake-split-string)
1836         (flymake-get-temp-dir): Remove.
1837         (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
1838         (flymake-current-row, flymake-selected-frame)
1839         (flymake-get-point-pixel-pos): Remove xemacs compatibity and
1840         related functions.  (Bug#16077)
1842 2013-12-07  Bozhidar Batsov  <bozhidar@batsov.com>
1844         * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
1846 2013-12-07  Tassilo Horn  <tsdh@gnu.org>
1848         * help-fns.el (describe-function-1): Use new advice-* functions
1849         rather than old ad-* functions.  Fix function type description and
1850         source links for advised functions and subrs.
1852 2013-12-07  Lars Magne Ingebrigtsen  <larsi@gnus.org>
1854         * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
1856 2013-12-06  Michael Albinus  <michael.albinus@gmx.de>
1858         * progmodes/compile.el (compilation-start):
1859         * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
1861         * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1862         Handle long command lines, lasting from "sh -c ...".  (Bug#16045)
1864 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1866         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1867         Touch up the last change.
1869 2013-12-06  Leo Liu  <sdl.web@gmail.com>
1871         * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
1872         (inferior-octave-startup): Always use "octave> " for prompt.
1873         (octave-goto-function-definition)
1874         (octave-sync-function-file-names)
1875         (octave-find-definition-default-filename): Remove redundant backquotes.
1877 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1879         * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
1880         syntax for `?'.
1881         (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
1882         where appropriate already.
1883         (ruby-syntax-propertize-function): Propertize `?' and `!' at the
1884         end of method names (Bug#15874).
1886 2013-12-06  Juri Linkov  <juri@jurta.org>
1888         * isearch.el (isearch--saved-overriding-local-map):
1889         New internal variable.
1890         (isearch-mode): Set it to the initial value of
1891         `overriding-terminal-local-map'.
1892         (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
1893         with `isearch--saved-overriding-local-map'.  (Bug#16035)
1895 2013-12-06  Dmitry Gutov  <dgutov@yandex.ru>
1897         * progmodes/octave.el (inferior-octave-completion-table):
1898         Turn back into function, use `completion-table-with-cache'
1899         (Bug#11906).  Update all references.
1901         * minibuffer.el (completion-table-with-cache): New function.
1903 2013-12-05  Cameron Desautels  <camdez@gmail.com>  (tiny change)
1905         * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
1907 2013-12-05  Teodor Zlatanov  <tzz@lifelogs.com>
1909         * net/eww.el (eww-current-source): New variable to store page
1910         source.
1911         (eww-display-html, eww-mode, eww-save-history)
1912         (eww-restore-history): Use it.
1913         (eww-view-source): New command to view page source.
1914         Opportunistically uses `html-mode' to highlight the buffer.
1915         (eww-mode-map): Install it.
1917 2013-12-05  Michael Albinus  <michael.albinus@gmx.de>
1919         * net/dbus.el (dbus-unregister-service)
1920         (dbus-escape-as-identifier, dbus-unescape-from-identifier):
1921         Fix docstring.
1922         (dbus-unregister-service): Skip :serial entries in
1923         `dbus-registered-objects-table'.
1924         (dbus-byte-array-to-string): New optional arg MULTIBYTE.
1926 2013-12-04  Teodor Zlatanov  <tzz@lifelogs.com>
1928         * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
1929         around keywords with extra `split-string' argument.
1931 2013-12-04  Martin Rudalics  <rudalics@gmx.at>
1933         * windmove.el (windmove-other-window-loc): Handle navigation
1934         between windows (excluding the minibuffer window - Bug#16017).
1936 2013-12-04  Michael Albinus  <michael.albinus@gmx.de>
1938         * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
1939         in D-Bus type syntax.
1940         (dbus-unescape-from-identifier): Use `byte-to-string' in order to
1941         preserve unibyte strings.  (Bug#16048)
1943 2013-12-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1945         * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
1946         Call force-mode-line-update is the proper buffer (bug#16042).
1948 2013-12-04  Dmitry Gutov  <dgutov@yandex.ru>
1950         * vc/log-edit.el (log-edit-add-new-comment): Rename to
1951         `log-edit-remember-comment', make argument optional.  Adjust all
1952         callers.
1953         (log-edit-mode): Add `log-edit-remember-comment' to
1954         `kill-buffer-hook' locally.
1955         (log-edit-kill-buffer): Don't remember comment explicitly since
1956         the buffer is killed anyway.
1958 2013-12-04  Juri Linkov  <juri@jurta.org>
1960         * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
1961         add-hook and remove-hook for multi-buffer search.  (Bug#16035)
1963 2013-12-03  Tom Regner  <tom@goochesa.de>  (tiny change)
1965         * notifications.el (notifications-close-notification): Call the
1966         D-Bus method with ID being a `:uint32'.  (Bug#16030)
1968 2013-12-03  Katsumi Yamaoka  <yamaoka@jpl.org>
1970         * net/eww.el (eww-render): Don't pass arg to eww-display-image.
1972 2013-12-03  Juri Linkov  <juri@jurta.org>
1974         * progmodes/compile.el (compilation-start): Rename window alist
1975         entry `no-display-ok' to `allow-no-window'.
1977         * simple.el (shell-command): Add window alist entry
1978         `allow-no-window' to `display-buffer'.
1979         (async-shell-command): Doc fix.
1981         * window.el (display-buffer-no-window): New action function.
1982         (display-buffer-alist, display-buffer): Doc fix.  (Bug#13594)
1984 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
1986         * vc/log-edit.el (log-edit-set-header): Extract from
1987         `log-edit-toggle-header'.
1988         (log-edit-extract-headers): Separate the summary, when extracted
1989         from header, from the rest of the message with an empty line.
1991         * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
1992         line, if present, to the Summary header.
1994 2013-12-02  Stefan Monnier  <monnier@iro.umontreal.ca>
1996         * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
1997         in current-buffer (bug#16029).
1999 2013-12-02  Helmut Eller  <eller.helmut@gmail.com>
2001         * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2002         (debugger-mode-map): Bind it.
2003         (debugger--backtrace-base): New function.
2004         (debugger-eval-expression): Use it.
2005         (debugger-frame-number): Skip local vars when present.
2006         (debugger--locals-visible-p, debugger--insert-locals)
2007         (debugger--show-locals, debugger--hide-locals): New functions.
2009 2013-12-02  Michael Albinus  <michael.albinus@gmx.de>
2011         * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2012         "LC_ALL".
2013         (tramp-get-remote-locale): New defun.
2014         (tramp-open-connection-setup-interactive-shell): Use it.
2016 2013-12-02  Leo Liu  <sdl.web@gmail.com>
2018         * subr.el (process-live-p): Return nil for non-process.  (Bug#16023)
2020         * progmodes/sh-script.el (sh-shell-process):
2021         * progmodes/octave.el (inferior-octave-process-live-p):
2022         * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2023         (gdb-inferior-io-sentinel):
2024         * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2026 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2028         * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2029         `save-selected-window' to `log-edit-hide-buf'.  This makes
2030         `log-edit-show-files' idempotent.
2031         (log-edit-show-files): Mark the new window as dedicated.
2033 2013-12-02  Dmitry Gutov  <dgutov@yandex.ru>
2035         * vc/log-edit.el (log-edit-mode-map): Add binding for
2036         `log-edit-kill-biffer'.
2037         (log-edit-hide-buf): Add a FIXME comment.
2038         (log-edit-add-new-comment): New function, extracted from
2039         `log-edit-done'.
2040         (log-edit-done, log-edit-add-to-changelog): Use it.
2041         (log-edit-kill-buffer): New command.
2043 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2045         * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2046         instead of killing the buffer.
2048 2013-12-01  Stefan Monnier  <monnier@iro.umontreal.ca>
2050         * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2052 2013-12-01  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2054         * net/eww.el (eww-form-checkbox-selected-symbol)
2055         (eww-form-checkbox-symbol): New customizable variable.
2056         (eww-form-checkbox, eww-toggle-checkbox):
2057         Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2059         * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2060         (shr--get-media-pref, shr--extract-best-source): New function.
2061         (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2062         no :src tag was specified.
2064         * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2065         (eww-render): Handle `eww-use-external-browser-for-content-type'.
2066         Use \\` to match beginning of string instead of ^.
2067         (eww-browse-with-external-browser): Provide optional URL parameter.
2068         (eww-render): Set `eww-current-title' back to "".
2070         * net/shr.el (shr-tag-video): Display content for video if no
2071         poster is available.
2072         (shr-tag-audio): Add support for <audio> tag.
2074         * net/eww.el (eww-text-input-types): New const.
2075         (eww-process-text-input): Treat input types in
2076         `eww-text-input-types' as text.
2078         * net/shr.el (shr-tag-table): Fix comment typo.
2080 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2082         * net/eww.el (eww-follow-link): New command to avoid reloading
2083         pages when we follow #target links (bug#15243).
2084         (eww-quit): Special mode buffers shouldn't query before exiting.
2086 2013-12-01  Kenjiro NAKAYAMA  <nakayamakenjiro@gmail.com>
2088         * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2089         forms.
2091 2013-12-01  Lars Magne Ingebrigtsen  <larsi@gnus.org>
2093         * net/eww.el (eww-restore-history): Update the window title after
2094         moving in the history.
2095         (eww-current-dom): New variable used to save the current DOM.
2097 2013-12-01  Dmitry Gutov  <dgutov@yandex.ru>
2099         * vc/log-edit.el (log-edit-mode-map): Add binding for
2100         `log-edit-beginning-of-line'.
2101         (log-edit-setup-add-author): New user option.
2102         (log-edit-beginning-of-line): New command.
2103         (log-edit): Move major mode call above the contents setup so that
2104         the local variable values are already applied.
2105         (log-edit): Only insert "Author: " when
2106         `log-edit-setup-add-author' is non-nil.
2107         (log-edit): When SETUP is non-nil, position point after ": "
2108         instead of point-min.
2110 2013-12-01  Glenn Morris  <rgm@gnu.org>
2112         * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2114 2013-11-30  Eli Zaretskii  <eliz@gnu.org>
2116         * startup.el (fancy-splash-frame): On MS-Windows, trigger
2117         redisplay to make sure the initial frame gets a chance to become
2118         visible.  (Bug#16014)
2120 2013-11-30  Martin Rudalics  <rudalics@gmx.at>
2122         Support resizing frames and windows pixelwise.
2123         * cus-start.el (frame-resize-pixelwise)
2124         (window-resize-pixelwise): New entries.
2125         * emacs-lisp/debug.el (debug): Use window-total-height instead
2126         of window-total-size.
2127         * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2128         * help.el (describe-bindings-internal): Call help-buffer
2129         (temp-buffer-max-width): New option.
2130         (resize-temp-buffer-window, help-window-setup)
2131         (with-help-window): Rewrite.
2132         * mouse.el (mouse-drag-line): Rewrite.  Add key bindings for
2133         dragging dividers.
2134         * window.el (frame-char-size, window-min-pixel-height)
2135         (window-safe-min-pixel-height, window-safe-min-pixel-width)
2136         (window-min-pixel-width, window-safe-min-pixel-size)
2137         (window-combination-p, window-safe-min-size)
2138         (window-resizable-p, window--size-to-pixel)
2139         (window--pixel-to-size, window--resize-apply-p): New functions.
2140         (window-safe-min-height): Fix doc-string.
2141         (window-size, window-min-size, window--min-size-1)
2142         (window-sizable, window-sizable-p, window--min-delta-1)
2143         (window-min-delta, window--max-delta-1, window-max-delta)
2144         (window--resizable, window--resizable-p, window-resizable)
2145         (window-full-height-p, window-full-width-p, window-at-side-p)
2146         (window--in-direction-2, window-in-direction)
2147         (window--resize-reset-1, window--resize-mini-window)
2148         (window-resize, window-resize-no-error)
2149         (window--resize-child-windows-normal)
2150         (window--resize-child-windows, window--resize-siblings)
2151         (window--resize-this-window, window--resize-root-window)
2152         (window--resize-root-window-vertically)
2153         (adjust-window-trailing-edge, enlarge-window, shrink-window)
2154         (maximize-window, minimize-window, delete-window)
2155         (quit-restore-window, window-split-min-size, split-window)
2156         (balance-windows-2, balance-windows)
2157         (balance-windows-area-adjust, balance-windows-area)
2158         (window--state-get-1, window-state-get, window--state-put-1)
2159         (window--state-put-2, window-state-put)
2160         (display-buffer-record-window, window--display-buffer):
2161         Make functions handle pixelwise sizing of windows.
2162         (display-buffer--action-function-custom-type)
2163         (display-buffer-fallback-action):
2164         Add display-buffer-in-previous-window.
2165         (display-buffer-use-some-window): Resize window to height it had
2166         before.
2167         (fit-window-to-buffer-horizontally): New option.
2168         (fit-frame-to-buffer): Describe new values.
2169         (fit-frame-to-buffer-bottom-margin): Replace with
2170         fit-frame-to-buffer-margins.
2171         (window--sanitize-margin): New function.
2172         (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2173         using window-text-pixel-size.
2175 2013-11-30  Glenn Morris  <rgm@gnu.org>
2177         * emacs-lisp/bytecomp.el (byte-compile-form):
2178         Make the `interactive-only' warning like the `obsolete' one.
2179         * comint.el (comint-run):
2180         * files.el (insert-file-literally, insert-file):
2181         * replace.el (replace-string, replace-regexp):
2182         * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2183         (goto-line, insert-buffer, next-line, previous-line):
2184         Tweak `interactive-only' spec.
2186         Stop keeping (most) generated cedet grammar files in the repository.
2187         * Makefile.in (semantic): New.
2188         (compile-main): Depend on semantic.
2190 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2192         * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2193         available.  Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2195         * uniquify.el (uniquify-buffer-name-style): Change default.
2197         * loadup.el: Preload "uniquify".
2199         * time.el (display-time-update): Update all mode lines (bug#15999).
2201         * electric.el (electric-indent-mode): Enable by default.
2202         * loadup.el: Preload "electric".
2204 2013-11-29  Bozhidar Batsov  <bozhidar@batsov.com>
2206         * emacs-lisp/helpers.el (string-empty-p): New function.
2207         (string-blank-p): New function.
2209 2013-11-29  Andreas Politz  <politza@hochschule-trier.de>
2211         * imenu.el (imenu--index-alist): Add missing dot to the docstring
2212         (Bug#14029).
2214 2013-11-29  Andreas Politz  <politza@fh-trier.de>
2215         * imenu.el (imenu--subalist-p): Don't error on non-conses and
2216         allow non-lambda lists as functions.
2217         (imenu--in-alist): Don't recurse into non-subalists.
2218         (imenu): Don't pass function itself as an argument (Bug#14029).
2220 2013-11-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2222         * progmodes/python.el (python-mode-map): Remove binding for ":".
2223         (python-indent-electric-colon): Remove command.
2224         (python-indent-post-self-insert-function): Integrate the previous code
2225         of python-indent-electric-colon.  Make it conditional on
2226         electric-indent-mode.
2227         (python-mode): Add ?: to electric-indent-chars.
2228         Move python-indent-post-self-insert-function to the end of
2229         post-self-insert-hook.
2231 2013-11-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2233         * doc-view.el (doc-view-goto-page): Update mode-line.
2235         * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2237 2013-11-27  Glenn Morris  <rgm@gnu.org>
2239         * international/charprop.el, international/uni-bidi.el:
2240         * international/uni-category.el, international/uni-combining.el:
2241         * international/uni-comment.el, international/uni-decimal.el:
2242         * international/uni-decomposition.el, international/uni-digit.el:
2243         * international/uni-lowercase.el, international/uni-mirrored.el:
2244         * international/uni-name.el, international/uni-numeric.el:
2245         * international/uni-old-name.el, international/uni-titlecase.el:
2246         * international/uni-uppercase.el:
2247         Remove generated files from VCS repository.
2249 2013-11-27  Eli Zaretskii  <eliz@gnu.org>
2251         * filenotify.el (file-notify-add-watch): Don't special-case
2252         w32notify when computing the directory to watch.
2254 2013-11-27  Glenn Morris  <rgm@gnu.org>
2256         Make bootstrap without generated uni-*.el files possible again.
2257         * loadup.el: Update command-line-args checking for unidata-gen.
2258         Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2259         * composite.el, international/characters.el:
2260         Handle unicode tables being undefined.
2262         Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2263         * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2264         (compile-main): Depend on leim rule.
2265         (leim): New rule.
2266         * loadup.el: Move leim-list.el to leim/ subdirectory.
2267         * startup.el (normal-top-level): No more leim directory.
2268         * international/ja-dic-cnv.el (skkdic-convert):
2269         Disable version-control and autoloads in output files.
2270         * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2271         Disable version-control and autoloads in output files.
2272         * leim/quail: Move here from ../leim.
2273         * leim/quail/hangul.el (hangul-input-method-activate):
2274         Add autoload cookie.
2275         (generated-autoload-load-name): Set file-local value.
2276         * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2277         (generated-autoload-load-name): Set file-local value.
2279 2013-11-26  Kenjiro NAKAYAMA  <knakayam@redhat.com>
2281         * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2282         (eww-add-bookmark): Ask confirmation when add to bookmarks.
2283         (eww-quit): Ask confirmation before quitting eww.
2285 2013-11-26  Eli Zaretskii  <eliz@gnu.org>
2287         * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2288         reading output from Diff on MS-Windows and MS-DOS.
2290 2013-11-26  Bozhidar Batsov  <bozhidar@batsov.com>
2292         * emacs-lisp/helpers.el (string-reverse): New function.
2294 2013-11-26  Michael Albinus  <michael.albinus@gmx.de>
2296         * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2297         names on MS Windows, like "/[::1]:".
2299         * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2300         SWITCHES.
2302 2013-11-26  Glenn Morris  <rgm@gnu.org>
2304         * progmodes/python.el (python-indent-guess-indent-offset):
2305         Avoid corner-case error.  (Bug#15975)
2307         Preload leim-list.el.  (Bug#4789)
2308         * loadup.el: Load leim-list.el when found.
2309         * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2311 2013-11-25  Bozhidar Batsov  <bozhidar@batsov.com>
2313         * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2315         * emacs-lisp/helpers.el (string-join): New function.
2317 2013-11-25  Sebastian Wiesner  <lunaryorn@gmail.com>  (tiny change)
2319         * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2320         Mark as obsolete and replace it with a symbol property.
2321         (byte-compile-form): Use new 'interactive-only property.
2322         * comint.el, files.el, replace.el, simple.el:
2323         Apply new 'interactive-only properly.
2325 2013-11-25  Martin Rudalics  <rudalics@gmx.at>
2327         * window.el (display-buffer-at-bottom): Make sure that
2328         split-window-sensibly creates the new window on bottom
2329         (Bug#15961).
2331 2013-11-23  David Kastrup  <dak@gnu.org>
2333         * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2334         on the conflict markers when available.
2335         (smerge--get-marker): New function.
2336         (smerge-end-re, smerge-base-re): Add subgroup.
2338 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2340         * frame.el (handle-focus-in, handle-focus-out): Add missing
2341         interactive spec.
2343 2013-11-25  Michael Albinus  <michael.albinus@gmx.de>
2345         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2346         `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2348 2013-11-25  Stefan Monnier  <monnier@iro.umontreal.ca>
2350         * play/gomoku.el: Don't use intangible property.  Use lexical-binding.
2351         (gomoku--last-pos): New var.
2352         (gomoku--intangible-chars): New const.
2353         (gomoku--intangible): New function.
2354         (gomoku-mode): Use it.  Derive from special-mode.
2355         (gomoku-move-up): Adjust line count.
2356         (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2357         (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2358         Simplify accordingly.
2360         * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2361         Remove blink-cursor code.
2362         (blink-cursor-timer-function, blink-cursor-suspend):
2363         Don't special-case GUIs.
2364         (blink-cursor-mode): Use focus-in/out-hook.
2366 2013-11-25  Dmitry Gutov  <dgutov@yandex.ru>
2368         * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2369         work when annotation is invisible (Bug#13886).
2371 2013-11-24  Simon Schubert  <2@0x2c.org>  (tiny change)
2373         * json.el (json-alist-p): Only return non-nil if the alist has
2374         simple keys (Bug#13518).
2376 2013-11-24  Mihir Rege  <mihirrege@gmail.com>  (tiny change)
2378         * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2379         when control-statement is the first statement in a buffer (Bug#15956).
2381 2013-11-24  Dmitry Gutov  <dgutov@yandex.ru>
2383         * imenu.el (imenu-generic-skip-comments-and-strings):
2384         New option (Bug#15560).
2385         (imenu--generic-function): Use it.
2387 2013-11-24  Jorgen Schaefer  <contact@jorgenschaefer.de>
2389         * minibuffer.el (completion--in-region-1): Scroll the correct window.
2390         (Bug#13898)
2392 2013-11-24  Bozhidar Batsov  <bozhidar@batsov.com>
2394         * emacs-lisp/helpers.el: Add some string helpers.
2395         (string-trim-left): Removes leading whitespace.
2396         (string-trim-right): Removes trailing whitespace.
2397         (string-trim): Removes leading and trailing whitespace.
2399         * subr.el (string-suffix-p): New function.
2401 2013-11-23  Glenn Morris  <rgm@gnu.org>
2403         * progmodes/python.el (python-shell-send-file):
2404         Add option to delete file when done.  (Bug#15647)
2405         (python-shell-send-string, python-shell-send-region): Use it.
2407 2013-11-23  Ivan Shmakov  <ivan@siamics.net>  (tiny change)
2409         * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2410         to set buffer-read-only to t, never to nil.  (Bug#15938)
2412         * textmodes/tex-mode.el (latex-noindent-environments):
2413         Add safe-local-variable property.  (Bug#15936)
2415 2013-11-23  Glenn Morris  <rgm@gnu.org>
2417         * textmodes/enriched.el (enriched-mode): Doc fix.
2418         * emacs-lisp/authors.el (authors-renamed-files-alist):
2419         Add enriched.doc -> enriched.txt.
2421         * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2423 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2425         * progmodes/octave.el (inferior-octave-startup): Spit out error
2426         message.
2428 2013-11-22  Bozhidar Batsov  <bozhidar@batsov.com>
2430         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2431         Improve docstring.
2432         Add :version.
2433         (ruby-encoding-magic-comment-style): Add :version.
2435 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2437         * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2438         (Bug#15076)
2439         (octave-help-mode): Adapt to change to help-mode-finish to use
2440         derived-mode-p on 2013-09-17.
2441         (inferior-octave-prompt): Also match octave-gui.
2442         (octave-kill-process): Don't ask twice.  (Bug#10564)
2444 2013-11-22  Leo Liu  <sdl.web@gmail.com>
2446         * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2447         (inferior-octave-startup, inferior-octave-check-process)
2448         (inferior-octave-track-window-width-change)
2449         (octave-completion-at-point, octave-eldoc-function): Use it.
2450         (octave-kill-process): Provide confirmation.  (Bug#10564)
2452 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2454         * progmodes/octave.el (octave-mode, inferior-octave-mode):
2455         Fix obsolete variable comment-use-global-state.
2457 2013-11-21  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
2459         * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2460         Add `octave-source-file'.
2461         (octave-source-file): New function.  (Bug#15935)
2463 2013-11-21  Kenjiro Nakayama  <nakayamakenjiro@gmail.com>
2465         * net/eww.el (eww-local-regex): New variable.
2466         (eww): Use it to detect localhost and similar.
2468 2013-11-21  Leo Liu  <sdl.web@gmail.com>
2470         Add completion for command `ag'.
2471         * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2472         (pcomplete/ag): New function.
2473         (pcmpl-x-ag-options): New function.  Handle `[no]' in long options.
2475 2013-11-21  Stefan Monnier  <monnier@iro.umontreal.ca>
2477         * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2478         (bug#14646).
2479         (make-obsolete): Remove interactive spec.
2481 2013-11-21  Glenn Morris  <rgm@gnu.org>
2483         * startup.el (command-line-1): Use path-separator with -L.
2485 2013-11-20  Teodor Zlatanov  <tzz@lifelogs.com>
2487         * emacs-lisp/package.el (describe-package-1): Add package archive
2488         to shown fields.
2490 2013-11-20  Bozhidar Batsov  <bozhidar@batsov.com>
2492         * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2493         Change default to "# encoding: %s" to differentiate it from the
2494         default Ruby encoding comment template.
2496 2013-11-20  era eriksson  <era+emacsbugs@iki.fi>
2498         * ses.el (ses-mode): Doc fix.  (Bug#14748)
2500 2013-11-20  Leo Liu  <sdl.web@gmail.com>
2502         * window.el (display-buffer-alist): Doc fix.  (Bug#13594)
2504 2013-11-19  Dan Nicolaescu  <dann@gnu.org>
2506         * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
2507         when rebase or bisect are in progress.
2509 2013-11-19  Xue Fuqiao  <xfq.free@gmail.com>
2511         * filenotify.el (file-notify-add-watch): Doc fix.
2513 2013-11-19  Leo Liu  <sdl.web@gmail.com>
2515         * obsolete/rcompile.el: Mark obsolete.
2517         * progmodes/compile.el (compilation-start)
2518         (compilation-goto-locus, compilation-find-file):
2519         Pass no-display-ok and handle nil value from display-buffer.
2520         (Bug#13594)
2522         * window.el (display-buffer-alist, display-buffer): Document the
2523         new parameter no-display-ok.  Return either a window or nil
2524         but never a non-window value.
2526 2013-11-18  Stefan Monnier  <monnier@iro.umontreal.ca>
2528         * electric.el (electric-indent-mode-map): Remove.
2529         (electric-indent-mode): Change the global-map instead (bug#15915).
2531         * textmodes/text-mode.el (paragraph-indent-minor-mode):
2532         Use add-function.
2534 2013-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2536         * emacs-lisp/nadvice.el (remove-function): Align with
2537         add-function's behavior.
2539         * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
2540         (gdb--string-regexp): New constant.
2541         (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
2542         (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
2543         (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
2544         submatch 1.
2545         (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
2546         Adjust use accordingly.
2547         (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
2549 2013-11-17  Adam Sokolnicki  <adam.sokolnicki@gmail.com>  (tiny change)
2551         * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
2552         interpolation curlies (Bug#15914).
2554 2013-11-17  Jay Belanger  <jay.p.belanger@gmail.com>
2556         * calc/calc.el (calc-context-sensitive-enter): New variable.
2557         (calc-enter): Use `calc-context-sensitive-enter'.
2559 2013-11-16  Teodor Zlatanov  <tzz@lifelogs.com>
2561         * progmodes/cfengine.el: Version bump.
2562         (cfengine-cf-promises): New defcustom to locate cf-promises.
2563         (cfengine3-vartypes): Add new "data" type.
2564         (cfengine3--current-word): New function to get current name-like
2565         word or its bounds.
2566         (cfengine3--current-function): New function to look up a CFEngine
2567         function's definition.
2568         (cfengine3-format-function-docstring): New function.
2569         (cfengine3-make-syntax-cache): New function.
2570         (cfengine3-documentation-function): New function: ElDoc glue.
2571         (cfengine3-completion-function): New function: completion glue.
2572         (cfengine3-mode): Set `compile-command',
2573         `eldoc-documentation-function', and add to
2574         `completion-at-point-functions'.
2576 2013-11-16  Michael Albinus  <michael.albinus@gmx.de>
2578         * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2579         `tramp-current-connection'.
2581 2013-11-15  Dmitry Gutov  <dgutov@yandex.ru>
2583         * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
2584         nil/self/true/false with "end of symbol".
2586 2013-11-15  Bozhidar Batsov  <bozhidar@batsov.com>
2588         * subr.el (version-regexp-alist): Fix a typo.
2590 2013-11-15  Michael Albinus  <michael.albinus@gmx.de>
2592         * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
2593         "en_US.utf8" and "LC_CTYPE" to "".
2594         (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
2595         (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
2597 2013-11-15  Leo Liu  <sdl.web@gmail.com>
2599         * loadhist.el (read-feature): Get rid of fake feature nil.  (Bug#15889)
2601 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2603         * progmodes/gud.el (ctl-x-map):
2604         Remove C-x SPC binding.  (Bug#12342)
2605         (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
2607 2013-11-14  Bozhidar Batsov  <bozhidar@batsov.com>
2609         * subr.el (version-regexp-alist):
2610         Recognize hg, svn and darcs versions as snapshot versions.
2612         * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
2613         'always-utf8 value of `ruby-insert-encoding-magic-comment'.
2614         (ruby--encoding-comment-required-p): Extract from
2615         `ruby-mode-set-encoding'.
2616         (ruby-mode-set-encoding): Add the ability to always insert an
2617         utf-8 encoding comment.  Fix and simplify coding comment update
2618         logic.
2620 2013-11-14  Michael Albinus  <michael.albinus@gmx.de>
2622         * net/tramp-gvfs.el (top): Run init code only when
2623         `tramp-gvfs-enabled' is not nil.
2624         (tramp-gvfs-enabled): Check also :system bus.
2626 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2628         Sync with upstream verilog-mode revision 78e66ba.
2629         * progmodes/verilog-mode.el (verilog-end-of-defun)
2630         (verilog-type-completion, verilog-get-list): Remove unused funcs.
2631         (verilog-get-end-of-defun): Remove unused argument.
2632         (verilog-comment-depth): Remove unused local `e'.
2633         (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
2634         Don't pass arg to verilog-get-end-of-defun.
2636 2013-11-14  Glenn Morris  <rgm@gnu.org>
2638         * obsolete/assoc.el (aget): Prefix dynamic variable.
2640         * allout-widgets.el (allout-widgets): No need to autoload defgroup.
2642 2013-11-14  Stefan Monnier  <monnier@iro.umontreal.ca>
2644         * widget.el, hfy-cmap.el: Remove bogus package version number.
2646 2013-11-13  Glenn Morris  <rgm@gnu.org>
2648         * replace.el (replace-eval-replacement):
2649         Try to give more helpful error message.  (Bug#15836)
2651         * arc-mode.el (archive-7z-extract, archive-7z-expunge)
2652         (archive-7z-update): Avoid custom type mismatches.
2654         * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
2656 2013-11-13  Michael Albinus  <michael.albinus@gmx.de>
2658         * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
2659         address can be empty.
2661         * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
2662         Accept nil SWITCHES.
2663         (tramp-gvfs-handle-write-region): Implement APPEND.
2665 2013-11-12  Dmitry Gutov  <dgutov@yandex.ru>
2667         * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
2668         binary "|" operator and closing block args delimiter.
2669         Remove FIXME comment referring to Ruby 1.8-only syntax.
2670         (ruby-smie--implicit-semi-p): Not after "|" operator.
2671         (ruby-smie--closing-pipe-p): New function.
2672         (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
2673         (ruby-smie-rules): Indent after "|".
2675 2013-11-12  Glenn Morris  <rgm@gnu.org>
2677         * ps-print.el (ps-face-attribute-list):
2678         Handle anonymous faces.  (Bug#15827)
2680 2013-11-12  Martin Rudalics  <rudalics@gmx.at>
2682         * window.el (display-buffer-other-frame): Fix doc-string.
2683         (Bug#15868)
2685 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2687         * subr.el (force-mode-line-update): Delete, move to buffer.c.
2689 2013-11-11  Michael Albinus  <michael.albinus@gmx.de>
2691         * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
2692         (tramp-sh-handle-file-local-copy): Don't write a message when
2693         saving temporary files.
2695         * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
2696         both directories are remote.
2697         (tramp-smb-handle-directory-files): Do not return double entries.
2698         Do not expand full file names.
2699         (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
2700         (tramp-smb-handle-write-region): Implement APPEND.
2701         (tramp-smb-get-stat-capability): Fix a stupid bug.
2703 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2705         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
2707 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2709         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
2710         throwing error over malformed let/let* (bug#15814).
2712 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2714         * iswitchb.el (iswitchb-mode): Mark obsolete.
2716 2013-11-11  Glenn Morris  <rgm@gnu.org>
2718         * international/uni-bidi.el, international/uni-category.el:
2719         * international/uni-name.el, international/uni-numeric.el:
2720         Regenerate for Unicode 6.3.0.
2722 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
2724         * net/tramp.el (tramp-methods):
2725         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
2726         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
2728 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
2730         * progmodes/sh-script.el (sh-font-lock-keywords-var):
2731         Force highlighting text after Summary keyword in doc face for rpm.
2733 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
2735         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
2736         available and the word has no wildcards, append one to the grep pattern.
2737         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
2738         (ispell-complete-word): Call `ispell-lookup-words' with the value
2739         independent of `ispell-look-p'.
2741 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2743         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
2744         Not after "||".
2745         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
2746         their parent.
2748 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2750         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
2751         (ruby-font-lock-keywords): Use backquote.
2753 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2755         * progmodes/ruby-mode.el (ruby-smie--forward-token)
2756         (ruby-smie--backward-token): Only consider full-string matches.
2758 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
2760         * faces.el (describe-face): Add distant-foreground.
2762 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
2764         * progmodes/ruby-mode.el: Improve encoding comment handling.
2765         (ruby-encoding-magic-comment-style): New option.
2766         (ruby-custom-encoding-magic-comment-template): New option.
2767         (ruby--insert-coding-comment, ruby--detect-encoding):
2768         New functions extracted from `ruby-mode-set-encoding'.
2769         (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
2770         to control the style of the auto-inserted encoding comment.
2772 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2774         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
2775         Use `smie-backward-sexp' with token argument.
2777 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
2779         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2780         Remove instrumentation code.
2782 2013-11-08  Glenn Morris  <rgm@gnu.org>
2784         * progmodes/autoconf.el (autoconf-mode):
2785         Tweak comment-start-skip.  (Bug#15822)
2787 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
2789         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
2790         at bobp (bug#15826).
2791         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
2793 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
2795         * man.el (Man-start-calling): New macro, extracted from
2796         Man-getpage-in-background.
2797         (Man-getpage-in-background): Use it.
2798         (Man-update-manpage): New command.
2799         (Man-mode-map): Bind it.
2801 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
2803         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
2804         of "and", "or", "&&" and "||".
2805         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
2806         argument.  Prohibit opening curly brace because it could only be a
2807         block opener in that position.
2808         (ruby-smie--forward-token, ruby-smie--backward-token):
2809         Separate "|" from "&" or "*" going after it.  That can happen in block
2810         arguments.
2811         (ruby-smie--indent-to-stmt): New function, seeks the end of
2812         previous statement or beginning of buffer.
2813         (ruby-smie-rules): Use it.
2814         (ruby-smie-rules): Check if there's a ":" before a curly block
2815         opener candidate; if there is, it's a hash.
2817 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
2819         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
2820         (cl--block-wrapper): Fix last accidental change.
2822 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
2824         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
2825         Instrument, in order to hunt failure on hydra.
2827 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2829         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
2830         malformed bindings form (bug#15814).
2832 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
2834         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
2835         "." compared to " @ ".  This incidentally fixes some indentation
2836         examples with "do".
2837         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
2838         (ruby-smie-grammar): New tokens: "and" and "or".
2839         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
2840         Exclude "and" and "or".  Remove "do" in order to work around token
2841         priorities.
2842         (ruby-smie-rules): Add all infix tokens.  Handle the case of
2843         beginning-of-buffer.
2845 2013-11-06  Glenn Morris  <rgm@gnu.org>
2847         * Makefile.in (setwins_almost, setwins_for_subdirs):
2848         Avoid accidental matches.
2850 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2852         * menu-bar.el (popup-menu): Use key-binding.
2854 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
2856         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
2857         menus, support also the menus produced by minor modes.
2858         (Bug#15817)
2860 2013-11-06  Leo Liu  <sdl.web@gmail.com>
2862         * thingatpt.el (thing-at-point-looking-at): Add optional arg
2863         DISTANCE to bound the search.  All uses changed.  (Bug#15808)
2865 2013-11-06  Glenn Morris  <rgm@gnu.org>
2867         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
2868         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
2869         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
2871 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2873         * electric.el (electric-indent-just-newline): New command.
2874         (electric-indent-mode-map): New keymap.
2875         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
2876         Re-add :group which weren't redundant.
2878         * electric.el (electric-indent-local-mode): New minor mode.
2879         (electric-indent-functions-without-reindent): New var.
2880         (electric-indent-post-self-insert-function): Use it.
2881         * emacs-lisp/gv.el (buffer-local-value): Add setter.
2883 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
2885         * international/quail.el (quail-help): Be more explicit about the
2886         meaning of the labels shown on the keys.  (Bug#15800)
2888         * startup.el (normal-top-level): Load the subdirs.el files before
2889         setting the locale environment.  (Bug#15805)
2891 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2893         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
2894         via arguments so as to get the right ones (bug#15418).
2896         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
2898 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
2900         Fix problems found while writing a test suite.
2902         * net/tramp-compat.el (tramp-compat-load): New defun.
2903         * net/tramp.el (tramp-handle-load): Use it.
2905         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
2906         "(numberp ok-if-already-exists)" correctly.
2908 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
2910         * international/characters.el (glyphless-char-display-control):
2911         Add usage note.
2913 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
2915         * progmodes/python.el (python-mode):
2916         * progmodes/scheme.el (scheme-mode):
2917         * progmodes/prolog.el (prolog-mode):
2918         * progmodes/ruby-mode.el (ruby-mode):
2919         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
2920         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
2922 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2924         * rect.el (rectangle--highlight-for-redisplay):
2925         * emacs-lisp/smie.el (smie--next-indent-change):
2926         Use buffer-chars-modified-tick.
2928         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
2930         * electric.el (electric-indent-post-self-insert-function):
2931         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
2933 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
2935         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
2937 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
2939         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
2940         (bug#15786).
2942 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2944         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
2946         * progmodes/python.el: Fix up last change.
2947         (python-shell--save-temp-file): New function.
2948         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
2949         `string' comes from the current buffer.
2950         (python-shell-send-string-no-output): Remove `msg' arg.
2951         (python--use-fake-loc): New var.
2952         (python-shell-buffer-substring): Obey it.  Try to compensate for the
2953         extra coding line added by python-shell--save-temp-file.
2954         (python-shell-send-region): Use python-shell--save-temp-file and
2955         python-shell-send-file directly.  Add `nomain' argument.
2956         (python-shell-send-buffer): Use python-shell-send-region.
2957         (python-electric-pair-string-delimiter): New function.
2958         (python-mode): Use it.
2960 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
2962         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
2963         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
2964         environment and decoding all of the default-directory's to here
2965         from command-line.
2966         (command-line): Decode also argv[0].
2968         * loadup.el: Error out if default-directory is a multibyte string
2969         when we are dumping.
2971         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
2973 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
2975         * emacs-lisp/package.el (package-menu-mode)
2976         (package-menu--print-info, package-menu--archive-predicate):
2977         Add Archive column to package list.
2979 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
2981         Fix problems found while writing a test suite.
2983         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
2984         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
2985         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
2986         to nil when running original file name handler.  Otherwise,
2987         there are problems with constructs like "$$FOO".
2989         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
2990         for `localname'.
2992 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
2994         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
2996         * subr.el (version<, version<=, version=):
2997         Update docstrings with information for snapshot versions.
2999         * helpers.el: New library for misc helper functions.
3000         (hash-table-keys): New function returning a list of hash keys.
3001         (hash-table-values): New function returning a list of hash values.
3003 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
3005         * progmodes/ruby-mode.el (ruby-smie--forward-token)
3006         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3008 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
3010         * textmodes/fill.el (fill-single-char-nobreak-p): New function
3011         checking whether point is after a 1-letter word.
3013 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3015         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3016         Don't infloop when expanding region over `multiline' syntax-type that
3017         begins a line (bug#15778).
3019 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3021         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3022         Make it into a proper minor mode.
3023         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3024         (rectangle-mark-mode-map): New keymap.
3025         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3027 2013-11-04  Glenn Morris  <rgm@gnu.org>
3029         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3031 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3033         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3034         (ruby-smie-rules): Use smie-rule-parent instead.
3036         * emacs-lisp/smie.el (smie-rule-parent): Always call
3037         smie-indent-virtual rather than only for hanging tokens.
3038         (smie--next-indent-change): New helper command.
3040 2013-11-03  Glenn Morris  <rgm@gnu.org>
3042         * Makefile.in (abs_srcdir): Remove.
3043         (emacs): Unset EMACSLOADPATH.
3045 2013-11-02  Glenn Morris  <rgm@gnu.org>
3047         * Makefile.in (EMACS): Use a relative filename.
3048         (abs_top_builddir): Remove.
3049         (custom-deps, finder-data, autoloads): Use --chdir.
3051         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3053         Use relative filenames in TAGS files.
3054         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3055         (lisptagsfiles4, TAGS): Use relative file names.
3056         (TAGS-LISP): Remove.
3057         (maintainer-clean): No more TAGS-LISP file.
3059         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3060         (lisptagsfiles4): Use absolute filenames again.
3061         (TAGS, TAGS-LISP): Not everything needs to run in one line.
3062         Remove all *loaddefs files, not just the first.  Remove esh-groups.
3063         (maintainer-clean): Delete TAGS, TAGS-LISP.
3065 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3067         * emacs-lisp/package.el (package-version-join):
3068         Recognize snapshot versions.
3070 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3072         * subr.el (version-regexp-alist): Add support for snapshot versions.
3074 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3076         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3077         New function, replacement for `smie-rule-parent' for when we want to
3078         skip over our direct parent if it's an assignment token..
3079         (ruby-smie-rules): Use it.
3081 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
3083         * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3084         unconditionally.  Remove now unnecessary forward declarations.
3085         Remove XEmacs-specific setup.
3086         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3087         (ruby-font-lock-syntactic-keywords)
3088         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3089         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3090         (ruby-here-doc-end-syntax): Remove.
3091         (ruby-mode): Don't check whether `syntax-propertize-rules' is
3092         defined as function.
3094 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
3096         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3098 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3100         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3101         table and abbrev table, `define-derived-mode' does that for us
3102         anyway.
3104 2013-11-01  Glenn Morris  <rgm@gnu.org>
3106         * Makefile.in: Remove manual mh-e dependencies (writing .elc
3107         files is atomic for some time, so no parallel compilation issues).
3109 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
3111         * faces.el (face-x-resources): Add :distant-foreground.
3112         (region): Use :distant-foreground for gtk and ns.
3114 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
3116         Allow multiple bibliographies when BibLaTeX is used rather than
3117         BibTeX.
3118         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3119         (reftex-locate-bibliography-files): Us it.
3121 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
3123         * image.el (image-type-header-regexps): Fix the 'pbm' part to
3124         allow comments in pbm files.
3126         * term/w32-win.el (dynamic-library-alist): Support newer versions
3127         of libjpeg starting with v7: look only for the DLL from the
3128         version against which Emacs was built.
3129         Support versions of libpng beyond 1.4.x.
3130         Support libtiff v4.x.
3132 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
3134         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3135         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3136         Add property :safe.
3137         (ruby-deep-arglist): Add property :type.
3139 2013-10-31  Glenn Morris  <rgm@gnu.org>
3141         * Makefile.in (custom-deps, finder-data): No need to setq the target
3142         variables, we are in the right directory and the defaults work fine.
3144 2013-10-30  Glenn Morris  <rgm@gnu.org>
3146         * Makefile.in (autoloads): Do not use abs_lisp.
3148         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3149         `newline' does not respect `standard-output', so use `princ'.
3151 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
3153         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
3154         * buff-menu.el (Buffer-menu--unmark): New function.
3155         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3157 2013-10-30  Glenn Morris  <rgm@gnu.org>
3159         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3161         * emacs-lisp/package.el (lm-homepage): Declare.
3163         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3164         Fix doc typos.
3166         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3168         * Makefile.in (finder-data, autoloads, update-subdirs)
3169         (compile-main, compile-clean, compile-always, bootstrap-clean):
3170         Check return value of cd.
3171         (compile-calc): Remove.
3173 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
3175         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3177         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3178         (byte-compile-and-folded): New function.
3179         (=, <, >, <=, >=): Use it.
3181         * dos-w32.el (minibuffer-history-case-insensitive-variables)
3182         (path-separator, null-device, buffer-file-coding-system)
3183         (lpr-headers-switches): Check system-type before modifying them.
3184         (find-buffer-file-type-coding-system): Mark obsolete.
3185         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3186         find-file-not-found-set-buffer-file-coding-system.
3187         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3188         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3189         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3190         (w32-direct-print-region-helper, w32-direct-print-region-function)
3191         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3192         * startup.el (normal-top-level-add-subdirs-to-load-path):
3193         * ps-print.el (ps-print-region-function):
3194         * lpr.el (print-region-function): Use new name.
3196         * subr.el (custom-declare-variable-early): Remove function.
3197         (custom-declare-variable-list): Remove var.
3198         (error, user-error): Remove `while' loop.
3199         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3200         (user-emacs-directory-warning, locate-user-emacs-file):
3201         Move to files.el.
3202         * simple.el (read-quoted-char-radix, read-quoted-char):
3203         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3204         Move from subr.el.
3205         * custom.el (custom-declare-variable-list): Don't process
3206         custom-declare-variable-list.
3208         * progmodes/python.el (python-shell-get-buffer): New function.
3209         (python-shell-get-process): Use it.
3210         (python-shell-send-string): Always use utf-8 and add a cookie to tell
3211         Python which encoding was used.  Don't split-string since we only care
3212         about the first line.  Return the temp-file, if applicable.
3213         (python-shell-send-region): Tell compile.el how to turn locations in
3214         the temp-file into locations in the source buffer.
3216 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
3218         * subr.el (undefined): Add missing behavior from the C code for
3219         unbound keys.
3221         * rect.el: Use lexical-binding.  Add new rectangular region support.
3222         (rectangle-mark): New command.
3223         (rectangle--region): New var.
3224         (deactivate-mark-hook): Reset rectangle--region.
3225         (rectangle--extract-region, rectangle--insert-for-yank)
3226         (rectangle--highlight-for-redisplay)
3227         (rectangle--unhighlight-for-redisplay): New functions.
3228         (region-extract-function, redisplay-unhighlight-region-function)
3229         (redisplay-highlight-region-function): Use them to handle
3230         rectangular region.
3231         * simple.el (region-extract-function): New var.
3232         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3233         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3234         (kill-region): Replace obsolete `yank-handler' arg with `region'.
3235         (copy-region-as-kill, kill-ring-save): Add `region' argument.
3236         (redisplay-unhighlight-region-function)
3237         (redisplay-highlight-region-function): New vars.
3238         (redisplay--update-region-highlight): New function.
3239         (pre-redisplay-function): Use it.
3240         (exchange-point-and-mark): Don't deactivate the mark before
3241         reactivate-it anyway.
3242         * comint.el (comint-kill-region): Remove yank-handler argument.
3243         * delsel.el (delete-backward-char, backward-delete-char-untabify)
3244         (delete-char): Remove property, since it's now part of their
3245         default behavior.
3246         (self-insert-iso): Remove property since this command doesn't exist.
3248         * emacs-lisp/package.el (package--download-one-archive)
3249         (describe-package-1): Don't query the user about final newline.
3251 2013-10-29  Daniel Colascione  <dancol@dancol.org>
3253         * net/tramp.el (tramp-methods): Document new functionality.
3254         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3255         tramp-hostname-checker if method provides one instead of scanning
3256         argument list for "%h" to decide hostname acceptability.
3258 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
3260         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3261         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3262         Handle COPY-CONTENTS.  (Bug#15737)
3264 2013-10-28  Daiki Ueno  <ueno@gnu.org>
3266         * epa-file.el
3267         (epa-file-cache-passphrase-for-symmetric-encryption):
3268         Document that this option has no effect with GnuPG 2.0 (bug#15552).
3270 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
3272         * image.el (defimage):
3273         (image-load-path): Doc fixes.
3275 2013-10-27  Alan Mackenzie  <acm@muc.de>
3277         Indent statements in macros following "##" correctly.
3278         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3279         Modify the "#" arm of a cond form to handle "#" and "##" operators.
3281 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
3283         * linum.el (linum-update-window): Fix boundary test (bug#13446).
3285 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
3287         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3288         after `=' is probably a new expression.
3290 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3292         * man.el (man-imenu-title): New option.
3293         (Man-mode-map): Add menu.  (Bug#15722)
3294         (Man-mode): Add imenu to menu.
3296 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
3298         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3299         specific in what the first arg can be: a non-keyword word,
3300         string/regexp/percent literal opener, opening paren, or unary
3301         operator followed directly by word.
3303 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3305         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3306         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3307         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3308         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3309         Remove vars, they do not apply any more.
3310         (prolog-mode-abbrev-table): Remove redundant declaration.
3311         (prolog-upper-case-string, prolog-lower-case-string): Remove.
3312         (prolog-use-smie): Remove.
3313         (prolog-smie-rules): Add indentation rule for the if-then-else layout
3314         supported by prolog-electric-if-then-else-flag.
3315         (prolog-mode-variables, prolog-menu): Use setq-local.
3316         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3317         Remove binding to `Backspace' since this key doesn't exist anyway.
3318         Remove bindings for electric self-inserting keys.
3319         (prog-mode): Assume it's defined.
3320         (prolog-post-self-insert): New function.
3321         (prolog-mode): Use it.
3322         (prolog-indent-line, prolog-indent-level)
3323         (prolog-find-indent-of-matching-paren)
3324         (prolog-indentation-level-of-line, prolog-goto-comment-column)
3325         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3326         (prolog-goto-next-paren, prolog-in-string-or-comment)
3327         (prolog-tokenize, prolog-inside-mline-comment)
3328         (prolog-find-start-of-mline-comment): Remove functions.
3329         (prolog-find-unmatched-paren, prolog-clause-end)
3330         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3331         (prolog-electric--if-then-else): Rename from
3332         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3333         (prolog-tokenize-searchkey): Remove const.
3334         (prolog-clause-info): Use forward-sexp.
3335         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3336         (prolog-electric-if-then-else): Remove commands.
3337         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3338         for use in post-self-insert-hook.
3339         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3340         for use in post-self-insert-hook.
3341         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3342         for use in post-self-insert-hook.
3343         (prolog-electric--underscore): Rename from prolog-electric--underscore;
3344         adapt it for use in post-self-insert-hook.
3346 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
3348         * emacs-lisp/ert.el (ert-run-tests-interactively):
3349         Use `completing-read'.  (Bug#9756)
3351 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
3353         * simple.el (line-move): Call line-move-1 instead of
3354         line-move-visual when the current window hscroll is zero, but
3355         temporary-goal-column indicates we will need to hscroll as result
3356         of the movement.  (Bug#15712)
3358 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
3360         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3361         capitalization.  Use :visible instead of :active.
3362         Fix `ruby-indent-exp' reference.  Add menu items for the generic
3363         commands that are used with SMIE.
3364         (ruby-do-end-to-brace): Insert space after `{'.
3366 2013-10-25  John Anthony  <john@jo.hnanthony.com>
3368         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
3370         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
3372 2013-10-25  Glenn Morris  <rgm@gnu.org>
3374         * vc/vc.el (vc-print-log): Don't use a working revision unless
3375         one was explicitly specified.  (Bug#15322)
3377 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
3379         * subr.el (add-to-list): Preserve return value in compiler-macro
3380         (bug#15692).
3382 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3384         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3385         result.  Ask user to retry using '-all' flag.  (Bug#15701)
3387 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
3389         * emacs-lisp/smie.el: New smie-config system.
3390         (smie-config): New defcustom.
3391         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3392         (smie-config-guess, smie-config-save): New commands.
3393         (smie-config--mode-local, smie-config--buffer-local)
3394         (smie-config--trace, smie-config--modefuns): New vars.
3395         (smie-config--advice, smie-config--mode-hook)
3396         (smie-config--setter, smie-config-local, smie-config--get-trace)
3397         (smie-config--guess-value, smie-config--guess): New functions.
3398         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3399         text properties.  Treat "string fence" syntax like string syntax.
3401         * progmodes/sh-script.el (sh-use-smie): Change default.
3402         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3403         (sh-var-value): Simplify by CSE.
3404         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3405         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3406         is used.
3407         (sh-guess-basic-offset): Use cl-incf.
3408         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3410 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
3412         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3413         (bug#15699).
3415 2013-10-24  Glenn Morris  <rgm@gnu.org>
3417         * Makefile.in (abs_top_srcdir): Remove.
3418         (update-subdirs): Use relative path to update-subdirs.
3420 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
3422         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3423         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3424         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3425         Call unmsys--file-name before expand-file-name, not after it.
3427 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
3429         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3430         (ert-test-skipped): New error.
3431         (ert-skip, ert-stats-skipped): New defuns.
3432         (ert--skip-unless): New macro.
3433         (ert-test-skipped): New struct.
3434         (ert--run-test-debugger, ert-test-result-type-p)
3435         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3436         (ert--stats-set-test-and-result, ert-char-for-test-result)
3437         (ert-string-for-test-result, ert-run-tests-batch)
3438         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3439         Handle skipped tests.  (Bug#9803)
3441 2013-10-24  Glenn Morris  <rgm@gnu.org>
3443         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3445         * Makefile.in (abs_top_srcdir): New, set by configure.
3446         (update-subdirs): Correct build-aux location.
3448 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
3450         * vc/vc.el (vc-print-root-log): Always set `default-directory'
3451         value, whether we could auto-deduce `backend', or not.
3453         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3454         with parameters" example.  Simplify the "is it block or is it
3455         hash" check, but also make it more thorough.
3457 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
3459         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
3461 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
3463         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3464         { if it is hanging.
3466         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3467         :before ";".
3469 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
3471         * progmodes/compile.el (compilation-directory-matcher)
3472         (compilation-page-delimiter):
3473         Support GNU Make-4.0 directory quoting.  (Bug#15678)
3475 2013-10-23  Leo Liu  <sdl.web@gmail.com>
3477         * ido.el (ido-tidy): Handle read-only text.
3479 2013-10-23  Glenn Morris  <rgm@gnu.org>
3481         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3482         (emacs, compile, compile-always):
3483         Quote entities that might contain whitespace.
3484         (custom-deps, finder-data, autoloads): Use abs_lisp.
3485         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3486         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
3487         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
3489 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
3491         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
3492         Use `following-char'.
3494 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
3496         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
3497         * progmodes/ruby-mode.el (ruby-smie-rules):
3498         Remove corresponding workaround.  Fix indentation rule of ";" so it
3499         also applies when ";" is the parent.
3501 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
3503         * frame.el (display-screens, display-pixel-height)
3504         (display-pixel-width, display-mm-width, display-backing-store)
3505         (display-save-under, display-planes, display-color-cells)
3506         (display-visual-class, display-monitor-attributes-list):
3507         Mention the optional ‘display’ argument in doc strings.
3509 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
3511         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
3512         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
3514 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3516         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
3517         TODO.  Add "." after " @ ".
3518         (ruby-smie--at-dot-call): New function.  Checks if point at method
3519         call with explicit target.
3520         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
3521         to the method name tokens when it precedes them.
3522         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
3523         (ruby-smie-rules): Add rule for indentation before and after "."
3524         token.
3526 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3528         * textmodes/remember.el (remember-diary-extract-entries):
3529         Avoid add-to-list.
3531         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
3532         an instruction.
3534 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
3536         * progmodes/ruby-mode.el (ruby-smie-grammar):
3537         Add (almost) all infix operators.
3538         (ruby-smie--implicit-semi-p): Add new operator chars.
3540         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
3541         `smie-down-list'.
3542         (ruby-smie--args-separator-p): Check that there's no newline
3543         between method call and its arguments.
3545 2013-10-20  Alan Mackenzie  <acm@muc.de>
3547         Allow comma separated lists after Java "implements".
3549         * progmodes/cc-engine.el (c-backward-over-enum-header):
3550         Parse commas.
3551         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
3552         from a "disallowed" list in enum fontification.
3554 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
3556         * startup.el (default-frame-background-mode): Remove unused defvar.
3558         * progmodes/verilog-mode.el (verilog-mode): Don't set
3559         comment-indent-function globally.
3561 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
3563         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
3564         Move Info menu item creation to ns-win.el.
3566         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
3567         in menu bar.
3569         * menu-bar.el: Move GNUStep specific menus...
3571         * term/ns-win.el (ns-initialize-window-system): ... to here.
3573 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
3575         * simple.el (newline): Only run post-self-insert-hook when
3576         called interactively.
3578 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
3580         * icomplete.el (icomplete-with-completion-tables): Add :version.
3582 2013-10-19  Alan Mackenzie  <acm@muc.de>
3584         Fix fontification bugs with constructors and const.
3586         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
3587         CASE 2) Remove the check for the absence of a suffix construct
3588         after a function declaration with only types (no identifiers) in
3589         the parentheses.  Also, accept a function declaration with just a
3590         type inside the parentheses, if this type can be positively
3591         recognised as such, or if a prefix keyword like "explicit" nails
3592         down the construct as a declaration.
3594 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
3596         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
3597         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
3598         the problem whereby selecting a menu item that leads to a
3599         minibuffer prompt moves the cursor out of the minibuffer window,
3600         making it hard to type at the prompt.  Suggested by Stefan Monnier
3601         <monnier@iro.umontreal.ca>.
3603 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
3605         * menu-bar.el: Don't make Services menu.
3607 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3609         * ffap.el: Handle "/usr/include/c++/<version>" directories.
3610         (ffap-alist): Use ffap-c++-mode for c++-mode.
3611         (ffap-c++-path): New variable.
3612         (ffap-c++-mode): New function.
3614 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
3616         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
3618 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
3620         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
3621         introduced on 2013-09-08, which results in an infinite loop
3622         requesting a password.
3624 2013-10-18  Glenn Morris  <rgm@gnu.org>
3626         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
3628 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
3630         Sync with upstream verilog-mode revision 1a6ecec7.
3631         * progmodes/verilog-mode.el (verilog-mode-version): Update.
3632         (verilog-mode-release-date): Remove.
3633         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
3634         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
3635         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
3636         (verilog-auto-tieoff-ignore-regexp)
3637         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
3638         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
3639         (verilog-signals-with, verilog-dir-cache-preserving)
3640         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
3641         Doc fixes.
3642         (verilog-case-fold): New option, to control case folding in
3643         regexp searches, bug597.
3644         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
3645         (verilog-string-match-fold, verilog-in-paren-count)
3646         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
3647         (verilog-at-close-struct-p): New functions.
3648         (verilog-beg-block-re-ordered, verilog-extended-case-re)
3649         (verilog-forward-sexp, verilog-set-auto-endcomments):
3650         (verilog-leap-to-case-head): Handle "unique0" case.
3651         (verilog-in-constraint-re): New constant.
3652         (verilog-keywords, verilog-type-font-keywords):
3653         Add some SystemVerilog 1800-2012 keywords.
3654         (verilog-label-be): Remove unimplemented argument, bug669.
3655         (verilog-batch-execute-func): When batch expanding clear
3656         create-lockfiles to prevent spurious user locks when a file ends
3657         up not changing.
3658         (verilog-calculate-indent, verilog-calc-1)
3659         (verilog-at-close-constraint-p, verilog-at-constraint-p)
3660         (verilog-do-indent): Fix indentation of nested constraints
3661         and structures.
3662         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
3663         (verilog-auto-inst-param): Use verilog-string-match-fold.
3664         (verilog-read-inst-module-matcher):
3665         Fix AUTOINST on gate primitives with #1.
3666         (verilog-read-decls): Fix double-declaring user-defined typed signals.
3667         Reads all user-defined typed variables.
3668         (verilog-read-defines): Fix reading definitions inside comments, bug647.
3669         (verilog-signals-matching-regexp)
3670         (verilog-signals-not-matching-regexp, verilog-auto):
3671         Respect verilog-case-fold.
3672         (verilog-diff-report): Fix line count.
3673         (verilog-auto-assign-modport): Remove unused local `modi'.
3674         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
3675         better handle multidimensional arrays.
3676         Fix packed array ports misadding bit index in AUTOINST, bug637.
3677         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
3678         to not double-declare existing outputs and inputs, respectively.
3679         (verilog-template-map): Bind U to verilog-sk-uvm-component.
3680         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
3681         (verilog-sk-uvm-component): New skeleton.
3682         (verilog-submit-bug-report): Add verilog-case-fold,
3683         remove verilog-mode-release-date.
3685 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
3687         * subr.el (sit-for): Call (input-pending-p t) so as to behave
3688         as before.
3690 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
3692         * textmodes/remember.el (remember): Set buffer-offer-save in
3693         remember buffers (bug#13566).
3695 2013-10-18  Daniel Colascione  <dancol@dancol.org>
3697         When evaluating forms in ielm, direct standard output to ielm
3698         buffer.  Add new ielm-return-for-effect command.  Remove trailing
3699         whitespace throughout.
3701         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
3702         (ielm-return-for-effect): New command.
3703         (ielm-send-input): Accept optional `for-effect' parameter.
3704         (ielm-eval-input): Accept optional `for-effect' parameter.
3705         Bind `standard-output' to stream we create using
3706         `ielm-standard-output-impl'.  Suppress printing result when
3707         `for-effect'.
3708         (ielm-standard-output-impl): New function.
3709         (inferior-emacs-lisp-mode): Explain new features in documentation.
3711 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
3713         Code cleanup.
3715         * net/tramp.el (tramp-debug-message): Do not check for connection
3716         buffer.
3717         (tramp-message): Use "vector" connection property.
3719         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
3720         (tramp-equal-remote, tramp-eshell-directory-change)
3721         * net/tramp-adb.el (tramp-adb-handle-copy-file)
3722         (tramp-adb-handle-rename-file)
3723         * net/tramp-cmds.el (tramp-list-remote-buffers)
3724         (tramp-cleanup-connection, tramp-cleanup-this-connection)
3725         * net/tramp-compat.el (tramp-compat-process-running-p)
3726         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
3727         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
3728         (tramp-gvfs-handle-rename-file)
3729         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
3730         (tramp-set-file-uid-gid)
3731         * net/tramp-smb.el (tramp-smb-handle-copy-file)
3732         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
3733         of `file-remote-p'.
3735         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
3736         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3737         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
3738         (tramp-gw-open-network-stream): Suppress unrelated traces.
3740         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
3741         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3742         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3743         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
3744         connection property.
3746         * net/tramp-cache.el (top): Suppress traces when reading
3747         persistency file.
3749         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
3750         Refactor common code.  Improve debug message.
3751         (tramp-maybe-open-connection)
3752         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
3753         connection buffer too early.
3755         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
3756         from `tramp-smb-actions-with-acl'.
3757         (tramp-smb-actions-set-acl): New defconst.
3758         (tramp-smb-handle-copy-directory)
3759         (tramp-smb-action-get-acl): New defun, renamed from
3760         `tramp-smb-action-with-acl'.
3761         (tramp-smb-action-set-acl): New defun.
3762         (tramp-smb-handle-set-file-acl): Rewrite.
3764 2013-10-17  Glenn Morris  <rgm@gnu.org>
3766         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
3768 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
3770         * skeleton.el (skeleton-newline): Remove.
3771         (skeleton-internal-1): Use (insert "\n") instead.
3773         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
3774         let-bindings.
3776         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
3777         forward-sexp-function while we redo its job (bug#15613).
3779 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
3781         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
3782         represented by lists.
3784 2013-10-16  Glenn Morris  <rgm@gnu.org>
3786         * tmm.el (tmm--history): New dynamic variable.
3787         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
3789 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
3791         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
3792         (tramp-smb-errors): Add error messages.
3793         (tramp-smb-actions-with-acl): New defconst.
3794         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
3795         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
3796         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
3797         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
3798         (tramp-smb-get-stat-capability): Fix tests.
3800 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3802         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
3803         (bug#15580).
3805 2013-10-16  Glenn Morris  <rgm@gnu.org>
3807         * ansi-color.el (ansi-color-drop-regexp):
3808         Add 1J, 1K, 2K.  (Bug#15617)
3810         * files.el (hack-local-variables--warned-lexical): New.
3811         (hack-local-variables):
3812         Warn about misplaced lexical-binding.  (Bug#15616)
3814         * net/eww.el (eww-render): Always set eww-current-url,
3815         and update header line.  (Bug#15622)
3816         (eww-display-html): ... Rather than just doing it here.
3818 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
3820         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
3821         menu navigations commands.
3823 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
3825         * progmodes/subword.el (subword-capitalize): Be careful when
3826         the search for [[:alpha:]] fails (bug#15580).
3828 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
3830         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
3831         to commands that scroll the menu.
3833 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
3835         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
3836         Handle methods ending with `?' and `!'.
3838 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
3840         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
3841         `japanese-cp932' to `cp932' to fix the problem where saving a
3842         source file written in Shift_JIS twice would end up having
3843         `coding: japanese-cp932' which Ruby could not recognize.
3844         (ruby-mode-set-encoding): Add support for encodings mapped to nil
3845         in `ruby-encoding-map'.
3846         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
3847         doesn't need to be explicitly declared in magic comment.
3848         (ruby-encoding-map): Add type declaration for better customize UI.
3850 2013-10-13  Glenn Morris  <rgm@gnu.org>
3852         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
3853         Occur buffers are read-only.  http://bugs.debian.org/720775
3855         * emacs-lisp/authors.el (authors-fixed-entries):
3856         Comment out old alpha stuff.
3858 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
3860         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
3861         to `after-save-hook' instead of `before-save-hook'.
3862         (ruby-mode-set-encoding): Use the value of coding system used to
3863         write the file.  Call `basic-save-buffer-1' after modifying the
3864         buffer.
3866 2013-10-13  Alan Mackenzie  <acm@muc.de>
3868         Fix indentation/fontification of Java enum with
3869         "implements"/generic.
3871         * progmodes/cc-engine.el (c-backward-over-enum-header):
3872         Extracted from the three other places and enhanced to handle generics.
3873         (c-inside-bracelist-p): Uses new function above.
3874         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
3875         function above.
3876         (c-font-lock-enum-tail): Uses new function above.
3878 2013-10-13  Kenichi Handa  <handa@gnu.org>
3880         * international/mule-cmds.el (select-safe-coding-system): Remove a
3881         superfluous condition in chekcing whether a coding system is safe
3882         or not.
3884 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
3886         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
3888 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
3890         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
3892 2013-10-13  Glenn Morris  <rgm@gnu.org>
3894         * menu-bar.el (menu-bar-update-buffers):
3895         Unify Buffers menu prompt string.  (Bug#15576)
3897         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
3899         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
3900         Add some entries.
3901         (authors-fixed-entries): Use accented form of name.
3903 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
3905         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
3906         method calls (bug#15594).
3907         (ruby-smie--args-separator-p): New function.
3908         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
3909         recognize paren-free method calls.
3911         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
3912         internals of universal-argument.
3914 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
3916         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
3917         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
3918         dropped menu on second mouse click on the menu bar.
3920 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3922         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
3923         (explicit-shell-file-name): Declare.
3924         (sh--vars-before-point, sh--cmd-completion-table): New functions.
3925         (sh-completion-at-point-function): New function.
3926         (sh-mode): Use it.
3927         (sh-smie--keyword-p): Remove unused argument.
3928         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
3929         vars.
3930         (sh-set-shell): Always setup SMIE, even if we use the
3931         old indentation code.
3933 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
3935         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
3936         cases of ? and =.
3937         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
3938         predicate would return nil are almost non-existent.
3939         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
3941         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
3942         cache also after commands that modify the buffer but don't move
3943         point.
3945 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3947         * env.el (substitute-env-in-file-name): New function.
3948         (substitute-env-vars): Extend the meaning of the optional arg.
3950 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
3952         * term/w32-win.el (dynamic-library-alist): Define separate lists
3953         of GIF DLLs for versions before and after 5.0.0 of giflib.
3954         (Bug#15531)
3956 2013-10-10  João Távora  <joaotavora@gmail.com>
3958         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
3959         not locked, use last revision and current source as
3960         defaults.  (Bug#15569)
3962 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
3964         * menu-bar.el (menu-bar-open): Don't use popup-menu if
3965         menu-bar is hidden.
3967 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
3969         * window.el (pop-to-buffer-same-window): Fix doc-string.
3970         (Bug#15492)
3972 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
3974         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
3976 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
3978         * calendar/icalendar.el (icalendar-import-file):
3979         Fix interactive spec.  (Bug#15482)
3981 2013-10-10  Glenn Morris  <rgm@gnu.org>
3983         * desktop.el (desktop-save): Default to saving in .emacs.d,
3984         since PWD is no longer in desktop-path by default.  (Bug#15319)
3986         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
3987         now that text mode has a menu with the same entry.
3988         (menu-bar-text-mode-auto-fill): Remove now unused func.
3989         * textmodes/text-mode.el (text-mode-map):
3990         Use auto-fill help text from menu-bar.el.
3992 2013-10-10  John Anthony  <john@jo.hnanthony.com>
3994         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
3996 2013-10-09  Juri Linkov  <juri@jurta.org>
3998         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
3999         instead of this-command-keys.  Add universal-argument-more and
4000         universal-argument-minus to the list of prefix commands.  (Bug#15568)
4002 2013-10-09  Glenn Morris  <rgm@gnu.org>
4004         * vc/vc-svn.el (vc-svn-create-repo):
4005         Expand paths in file://... url.  (Bug#15446)
4007         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4008         Add some entries.
4009         (authors): Remove unused local variables.
4011 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
4013         * profiler.el: Create a more coherent calltree from partial backtraces.
4014         (profiler-format): Hide the tail with `invisible' so that C-s can still
4015         find the hidden elements.
4016         (profiler-calltree-depth): Don't recurse so enthusiastically.
4017         (profiler-function-equal): New hash-table-test.
4018         (profiler-calltree-build-unified): New function.
4019         (profiler-calltree-build): Use it.
4020         (profiler-report-make-name-part): Indent the calltree less.
4021         (profiler-report-mode): Add visibility specs for profiler-format.
4022         (profiler-report-expand-entry, profiler-report-toggle-entry):
4023         Expand the whole subtree when provided with a prefix arg.
4025 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
4027         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4028         iuwu-mod token.
4029         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4030         hanging iuwu-mod token.
4031         (ruby-smie--forward-token): Do not include a dot after a token in
4032         that token.
4033         (ruby-smie--backward-token): Likewise.
4035 2013-10-08  Juri Linkov  <juri@jurta.org>
4037         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4038         to isearch-other-control-char.
4039         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4040         and isearch-post-command-hook to post-command-hook.
4041         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4042         and isearch-post-command-hook from post-command-hook.
4043         (isearch-unread-key-sequence)
4044         (isearch-reread-key-sequence-naturally)
4045         (isearch-lookup-scroll-key, isearch-other-control-char)
4046         (isearch-other-meta-char): Remove functions.
4047         (isearch-pre-command-hook, isearch-post-command-hook):
4048         New functions based on isearch-other-meta-char rewritten
4049         relying on the new behavior of overriding-terminal-local-map
4050         that does not replace the local keymaps any more.  (Bug#15200)
4052 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
4054         Support menus on text-mode terminals.
4055         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4056         functionality.
4058         * tooltip.el (tooltip-mode): Don't error out on TTYs.
4060         * menu-bar.el (popup-menu, popup-menu-normalize-position):
4061         Move here from mouse.el.
4062         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4063         and arrow keys.
4064         (tty-menu-navigation-map): New map for TTY menu navigation.
4066         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4068         * frame.el (display-mouse-p): Report text-mode mouse as available
4069         on w32.
4070         (display-popup-menus-p): Report availability if mouse is
4071         available; don't condition on window-system.
4073         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4074         (tty-menu-selected-face): New faces.
4076 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4078         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4079         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4080         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4081         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4082         New constants.
4083         (lisp-mode-variables): New `elisp' argument.
4084         (emacs-lisp-mode): Use it.
4085         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4086         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4088         * indent.el: Use lexical-binding.
4089         (indent-region): Add progress reporter.
4090         (tab-stop-list): Make it implicitly extend to infinity by repeating the
4091         last step.
4092         (indent--next-tab-stop): New function to implement this behavior.
4093         (tab-to-tab-stop, move-to-tab-stop): Use it.
4095 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
4097         * indent.el (indent-rigidly--current-indentation): New function.
4098         (indent-rigidly-map): New var.
4099         (indent-rigidly): Use it to provide interactive mode (bug#8196).
4101 2013-10-08  Bastien Guerry  <bzg@gnu.org>
4103         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
4105 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4107         * progmodes/perl-mode.el: Use lexical-binding.
4108         Remove redundant :group args.
4109         (perl-nochange): Change default to be closer to other major modes's
4110         standard behavior.
4111         (perl-indent-line): Don't consider text on current line as a
4112         valid beginning of function from which to indent.
4114         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4115         with more than one argument (bug#15538).
4117         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4119         * vc/pcvs.el: Use lexical-binding.
4120         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4121         environment of `eval'.
4122         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4123         than a list of expressions.  Adjust callers.
4124         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4126 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
4128         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4129         case of the dot in a chained method call being on the following line.
4131 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4133         * electric.el (electric-indent-inhibit): New var.
4134         (electric-indent-post-self-insert-function): Use it.
4135         * progmodes/python.el (python-mode): Set it.
4137         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4138         open braces.
4140         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4142         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4143         (css-mode): Use electric-indent-chars.
4145         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4146         (font-lock-beg, font-lock-end): Move before first use.
4147         (nxml-mode): Use syntax-propertize-function.
4148         (nxml-after-change, nxml-after-change1): Adjust accordingly.
4149         (nxml-extend-after-change-region): Remove.
4150         * nxml/xmltok.el: Use lexical-binding.
4151         (xmltok-save): Use `declare'.
4152         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4153         * nxml/nxml-util.el: Use lexical-binding.
4154         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4155         Use `declare'.
4156         * nxml/nxml-ns.el: Use lexical-binding.
4157         (nxml-ns-save): Use `declare'.
4158         (nxml-ns-prefixes-for): Avoid add-to-list.
4159         * nxml/rng-match.el: Use lexical-binding.
4160         (rng--ipattern): Use cl-defstruct.
4161         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4162         (rng-cons-group-after, rng-subst-group-after)
4163         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4164         Use closures instead of `(lambda...).
4166 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
4168         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4169         of BEG and END.
4171         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4172         Use `tramp-handle-insert-file-contents'.
4173         (tramp-gvfs-handle-insert-file-contents): Remove function.
4175         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4176         Use `save-restriction' in order to keep markers.
4178         * net/trampver.el: Update release number.
4180 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4182         * progmodes/compile.el (compilation-parse-errors):
4183         Use compilation--put-prop.
4184         (compilation--ensure-parse): Check compilation-multiline.
4186         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4188         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4189         lexical-binding.
4191         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4193         * progmodes/ruby-mode.el: Fix recently added tests.
4194         (ruby-smie-grammar): Add - and +.
4195         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4196         (ruby-smie--backward-id): New functions.
4197         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4198         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
4199         any more.
4201 2013-10-07  Leo Liu  <sdl.web@gmail.com>
4203         * register.el (register-preview-delay)
4204         (register-preview-functions): New variables.
4205         (register-read-with-preview, register-preview)
4206         (register-describe-oneline): New functions.
4207         (point-to-register, window-configuration-to-register)
4208         (frame-configuration-to-register, jump-to-register)
4209         (number-to-register, view-register, insert-register)
4210         (copy-to-register, append-to-register, prepend-to-register)
4211         (copy-rectangle-to-register): Use register-read-with-preview to
4212         read register.  (Bug#15525)
4214 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
4216         * net/network-stream.el (network-stream-open-starttls): Don't add
4217         --insecure if it's already present, because that gnutls-cli
4218         rejects getting that parameter twice.
4220 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
4222         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4223         keyword, too.
4225 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
4227         * newcomment.el (comment-use-global-state): Change default value
4228         to t, mark obsolete (Bug#15251).
4229         (comment-beginning): In addition to `comment-to-syntax', check the
4230         value of `comment-use-global-state'.
4232 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
4234         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4235         (ruby-comment-column): Follow the global default, by default.
4236         (ruby-smie-grammar): Add assignment syntax.
4237         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4238         open-paren, a comma, or a \.
4239         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4240         and line continuations.
4241         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4242         followed by implicit semi-colons.  Add rule for string concatenation
4243         and for indentation at BOB.
4244         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4246         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4247         calling next-sexp, since next-token may have skipped chars which
4248         next-sexp doesn't know should be skipped!
4250 2013-10-05  Leo Liu  <sdl.web@gmail.com>
4252         * progmodes/octave.el (octave-send-region):
4253         Call compilation-forget-errors.
4255 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4257         * vc/vc-svn.el (vc-svn-find-admin-dir):
4258         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4259         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4260         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4261         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4263 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4265         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4267 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
4269         * subr.el (read-passwd): Hide chars even when called within a context
4270         where after-change-functions is disabled (bug#15501).
4271         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4272         until we removed ourself from overriding-terminal-local-map.
4274 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4276         * progmodes/octave.el (inferior-octave-mode):
4277         Call compilation-forget-errors.
4279 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
4281         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4283 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
4285         * net/secrets.el (secrets-create-collection): Add optional
4286         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
4287         dbus-call-method argument.  (Bug#15516)
4289 2013-10-04  Leo Liu  <sdl.web@gmail.com>
4291         * progmodes/octave.el (inferior-octave-error-regexp-alist)
4292         (inferior-octave-compilation-font-lock-keywords): New variables.
4293         (compilation-error-regexp-alist)
4294         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4295         (inferior-octave-mode): Use compilation-shell-minor-mode.
4297 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
4299         * minibuffer.el (completion--replace): Be careful that `end' might be
4300         a marker.
4302 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4304         Add support for package signature checking.
4305         * emacs-lisp/package.el (url-http-file-exists-p)
4306         (epg-make-context, epg-context-set-home-directory)
4307         (epg-verify-string, epg-context-result-for)
4308         (epg-signature-status, epg-signature-to-string)
4309         (epg-check-configuration, epg-configuration)
4310         (epg-import-keys-from-file): Declare.
4311         (package-check-signature): New user option.
4312         (package-unsigned-archives): New user option.
4313         (package-desc): Add `signed' field.
4314         (package-load-descriptor): Set `signed' field if .signed file exists.
4315         (package--archive-file-exists-p): New function.
4316         (package--check-signature): New function.
4317         (package-install-from-archive): Check package signature.
4318         (package--download-one-archive): Check archive signature.
4319         (package-delete): Remove .signed file.
4320         (package-import-keyring): New command.
4321         (package-refresh-contents): Import default keyring.
4322         (package-desc-status): Add "unsigned" status.
4323         (describe-package-1, package-menu--print-info)
4324         (package-menu-mark-delete, package-menu--find-upgrades)
4325         (package-menu--status-predicate): Support "unsigned" status.
4327 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4329         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4330         the new compilation scheme using the new byte-codes.
4332         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4333         (byte-pophandler): New byte codes.
4334         (byte-goto-ops): Adjust accordingly.
4335         (byte-compile--use-old-handlers): New var.
4336         (byte-compile-catch): Use new byte codes depending on
4337         byte-compile--use-old-handlers.
4338         (byte-compile-condition-case--old): Rename from
4339         byte-compile-condition-case.
4340         (byte-compile-condition-case--new): New function.
4341         (byte-compile-condition-case): New function that dispatches depending
4342         on byte-compile--use-old-handlers.
4343         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4344         when we can.
4346         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4347         Optimize under `condition-case' and `catch' if
4348         byte-compile--use-old-handlers is nil.
4349         (disassemble-offset): Handle new bytecodes.
4351 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
4353         * subr.el (error): Use `declare'.
4354         (decode-char, encode-char): Use advertised-calling-convention instead
4355         of the docstring to discourage use of the `restriction' arg.
4357 2013-10-03  Daiki Ueno  <ueno@gnu.org>
4359         * epg.el (epg-verify-file): Add a comment saying that it does not
4360         notify verification error as a return value nor a signal.
4361         (epg-verify-string): Ditto.
4363 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
4365         * progmodes/compile.el (compilation-start): Try globbing the arg to
4366         `cd' (bug#15417).
4368 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
4370         Sync with Tramp 2.2.8.
4372         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4373         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4374         * net/trampver.el: Update release number.
4376 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
4378         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4379         and default-process-coding-system for darwin only.
4381 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4383         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4385 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
4387         * vc/vc-git.el (vc-git-grep): Disable pager.
4389 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
4391         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4392         Use :url instead of :homepage, as per
4393         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4395         * newcomment.el (comment-beginning): When `comment-use-syntax' is
4396         non-nil, use `syntax-ppss' (Bug#15251).
4398 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4400         * progmodes/octave.el (inferior-octave-startup-file):
4401         Prefer ~/.emacs.d/init_octave.m.
4403 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
4405         * emacs-lisp/package.el (package-desc-from-define):
4406         Accept additional arguments as plist, convert them to an alist and store
4407         them in the `extras' slot.
4408         (package-generate-description-file): Convert extras alist back to
4409         plist and append to the `define-package' form arguments.
4410         (package--alist-to-plist): New function.
4411         (package--ac-desc): Add `extras' slot.
4412         (package--add-to-archive-contents): Check if the archive-contents
4413         vector is long enough, and if it is, pass its `extras' slot value
4414         to `package-desc-create'.
4415         (package-buffer-info): Call `lm-homepage', pass the returned value
4416         to `package-desc-from-define'.
4417         (describe-package-1): Render the homepage button (Bug#13291).
4419         * emacs-lisp/package-x.el (package-upload-buffer-internal):
4420         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4422 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
4424         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4425         and default-process-coding-system to utf-8-unix (Bug#15402).
4427 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
4429         * subr.el (looking-back): Do not recommend using looking-back.
4431 2013-09-28  Alan Mackenzie  <acm@muc.de>
4433         Fix indentation/fontification of Java enum with "implements".
4435         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4436         regexp which matches "implements", etc., in Java.
4437         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4438         specifier clauses coming after "enum".
4439         * progmodes/cc-fonts.el (c-font-lock-declarations)
4440         (c-font-lock-enum-tail): Check for extra specifier clauses coming
4441         after "enum".
4443 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
4445         * faces.el (region): Change ns_selection_color to
4446         ns_selection_fg_color, add ns_selection_bg_color.
4448 2013-09-28  Leo Liu  <sdl.web@gmail.com>
4450         * progmodes/octave.el (inferior-octave-completion-table)
4451         (inferior-octave-completion-at-point): Minor tweaks.
4453         * textmodes/ispell.el (ispell-lookup-words): Rename from
4454         lookup-words.  (Bug#15460)
4455         (lookup-words): Obsolete.
4456         (ispell-complete-word, ispell-command-loop): All uses changed.
4458 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4460         * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4461         (octave-mode-menu): Add octave-send-buffer.
4462         (octave-send-buffer): New function.
4464 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
4466         * progmodes/octave.el (octave-mode-map): Add key binding for
4467         octave-lookfor.
4468         (octave-mode-menu): Add octave-lookfor.
4469         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4470         octave-lookfor.
4471         (octave-lookfor): New function.
4473 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
4475         * emacs-lisp/cl-macs.el:
4476         (cl--loop-destr-temps): Remove.
4477         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4478         its convention.
4479         (cl--loop-set-iterator-function): New function.
4480         (cl-loop): Adjust accordingly, so as not to use cl-subst.
4481         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4482         Bind `it' with `let' instead of substituting it with `cl-subst'.
4483         (cl--unused-var-p): New function.
4484         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4485         Eliminate some unused variable warnings (bug#15326).
4487 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
4489         * doc-view.el (doc-view-scale-reset): Rename from
4490         `doc-view-reset-zoom-level'.
4491         (doc-view-scale-adjust): New command.
4492         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
4493         `doc-view-scale-adjust'.
4495 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
4497         * doc-view.el (doc-view-reset-zoom-level): New command.
4498         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
4499         zoom commands (bug#15466).
4501 2013-09-26  Kenichi Handa  <handa@gnu.org>
4503         * international/quail.el (quail-help): Make it not a command.
4505 2013-09-26  Leo Liu  <sdl.web@gmail.com>
4507         * minibuffer.el (completion-all-sorted-completions): Make args
4508         optional as they are.
4510 2013-09-25  Daniel Colascione  <dancol@dancol.org>
4512         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
4513         specs are and that they're not evaluated.
4515 2013-09-24  Sam Steingold  <sds@gnu.org>
4517         * midnight.el (clean-buffer-list-kill-regexps)
4518         (clean-buffer-list-kill-buffer-names): Update for the new Man
4519         buffer naming which includes the object name.
4521 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
4523         * eshell/esh-cmd.el (eshell--sep-terms): New var.
4524         (eshell-parse-command, eshell-parse-pipeline): Use it since
4525         eshell-separate-commands requires a dynamic scoped var.
4526         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
4528 2013-09-23  Leo Liu  <sdl.web@gmail.com>
4530         * autoinsert.el (auto-insert-alist): Make the value of
4531         lexical-binding match its file setting.
4533 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
4535         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
4537         * autoarg.el (autoarg-kp-digit-argument):
4538         * electric.el (Electric-command-loop):
4539         * kmacro.el (kmacro-step-edit-insert):
4540         Do not set universal-argument-num-events.
4542 2013-09-22  Leo Liu  <sdl.web@gmail.com>
4544         * files.el (interpreter-mode-alist): Add octave.
4546 2013-09-21  Alan Mackenzie  <acm@muc.de>
4548         C++: fontify identifier in declaration following "public:" correctly.
4549         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
4550         to match "public", etc.
4551         (c-decl-prefix-re): Add ":" into the C++ value.
4552         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
4553         bit.  Add a check for a ":" preceded by "public", etc.
4555 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
4557         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
4558         recognized by GDB 7.5 and later.
4560 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
4562         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
4564 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
4566         * subr.el (internal--call-interactively): New const.
4567         (called-interactively-p): Use it (bug#3984).
4569 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
4571         * vc/pcvs.el (cvs-mode-ignore):
4572         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
4573         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
4575 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
4577         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
4578         (eshell-ls-orig-insert-directory): Remove.
4579         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
4580         (eshell-ls-use-in-dired): Use advice-add/remove.
4581         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
4582         Add `orig-fun' arg for use in :around advice.
4583         Make it check (redundantly) eshell-ls-use-in-dired.
4585 2013-09-19  Glenn Morris  <rgm@gnu.org>
4587         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
4589         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
4591         * emacs-lisp/eieio.el (class-parent): Undo previous change.
4593 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
4595         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
4596         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
4597         (tramp-get-remote-python): New defuns.
4598         (tramp-get-remote-uid-with-perl)
4599         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
4600         contributed by yary <not.com@gmail.com> (tiny change).
4601         (tramp-get-remote-uid-with-python)
4602         (tramp-get-remote-gid-with-python): New defuns.  Python code
4603         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
4604         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
4606 2013-09-19  Glenn Morris  <rgm@gnu.org>
4608         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
4610         * eshell/em-unix.el (eshell-remove-entries):
4611         Rename argument to avoid name-clash with global `top-level'.
4613         * eshell/esh-proc.el (eshell-kill-process-function):
4614         Remove eshell-reset-after-proc from eshell-kill-hook if present.
4615         (eshell-reset-after-proc): Remove unused arg `proc'.
4617         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
4618         (directory-files-and-attributes): Mark unused arg.
4620         * eshell/em-unix.el (eshell-remove-entries):
4621         Remove unused arg `path'.  Update callers.
4623         * eshell/em-hist.el (eshell-hist-parse-arguments):
4624         Remove unused arg `silent'.  Update callers.
4626         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
4627         Fix (f)boundp mix-up.
4629         * eshell/em-smart.el (eshell-smart-scroll-window)
4630         (eshell-disable-after-change):
4631         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
4633 2013-09-18  Alan Mackenzie  <acm@muc.de>
4635         Fix fontification of type when followed by "const".
4636         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
4637         "known" types from fontification.
4639 2013-09-18  Glenn Morris  <rgm@gnu.org>
4641         * emacs-lisp/chart.el (x-display-color-cells): Declare.
4642         (chart-face-list): Drop Emacsen without display-color-p.
4644         * net/eww.el (libxml-parse-html-region): Declare.
4645         (eww-display-html): Explicit error if no libxml2 support.
4647         * doc-view.el (doc-view-mode): Silence --without-x compilation.
4649         * image.el (image-type-from-buffer, image-multi-frame-p):
4650         Remove --without-x warning/error.
4652         * mouse.el (mouse-yank-primary):
4653         * term.el (term-mouse-paste):
4654         Reorder to silence --without-x compilation.
4656         * mpc.el (doc-view-mode): Silence --without-x compilation.
4658         * mail/rmailmm.el (rmail-mime-set-bulk-data):
4659         Silence --without-x compilation.
4661         * progmodes/gud.el (gud-find-file, gud-mode):
4662         Silence --without-x compilation.
4663         (tooltip-mode): Declare.
4665         * wdired.el (dired-backup-overwrite): Remove declaration.
4666         (wdired-mode-map): Add doc string.
4668         * custom.el (x-get-resource): Declare.
4670         * eshell/em-glob.el (ange-cache):
4671         * eshell/em-unix.el (ange-cache): Declare.
4673         * faces.el (x-display-list, x-open-connection, x-get-resource):
4674         Declare.
4676         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
4677         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
4678         Declare.
4680         * frame.el (x-display-grayscale-p, x-display-name): Declare.
4682         * net/gnutls.el (gnutls-log-level): Declare.
4684         * net/shr.el (image-size, image-animate): Declare.
4686         * simple.el (font-info): Declare.
4688         * subr.el (x-popup-dialog): Declare.
4690         * term/common-win.el (x-select-enable-primary)
4691         (x-last-selected-text-primary, x-last-selected-text-clipboard):
4692         Declare.
4694         * term/ns-win.el (x-handle-args): Declare.
4696         * term/x-win.el (x-select-enable-clipboard): Declare.
4698         * term/w32-win.el (create-default-fontset): Declare.
4700         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
4701         Declare.
4703         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
4704         (fit-frame-to-buffer): Explicit error if --without-x.
4705         (mouse-autoselect-window-select): Silence compiler.
4707         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
4709         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
4710         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
4711         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
4712         * eshell/esh-util.el (eshell-sublist):
4713         Remove unused local variables.
4715         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
4717         * textmodes/two-column.el: Make 2C-split work for --without-x.
4718         (scroll-bar-columns): Autoload.
4719         (top-level): Require fringe when compiling.
4721 2013-09-18  Leo Liu  <sdl.web@gmail.com>
4723         * subr.el (add-hook): Robustify to handle closure as well.
4725 2013-09-17  Glenn Morris  <rgm@gnu.org>
4727         * simple.el (messages-buffer-mode-map): Unbind "g".
4729 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4731         * help-mode.el (help-mode-finish): Use derived-mode-p.
4732         Remove obsolete highlighting.
4734         * play/life.el (life-mode): Use define-derived-mode.  Derive from
4735         special-mode.
4736         (life): Let-bind inhibit-read-only.
4737         (life-setup): Avoid `setq'.  Use `life-mode'.
4739         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
4740         which should not be needed any more.
4741         (package-menu-refresh, package-menu-describe-package): Use user-error.
4743         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
4744         (eshell-post-rewrite-command-hook): Make obsolete.
4745         (eshell-parse-command): Simplify.
4746         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
4747         (eshell--cmd): Declare.
4748         (eshell-parse-pipeline): Remove unused var `final-p'.
4749         Pass a dynvar to eshell-post-rewrite-command-hook.
4750         Implement the new eshell-post-rewrite-command-function.
4751         (eshell-invoke-directly): Remove unused arg `input'.
4752         * eshell/esh-io.el (eshell-io-initialize):
4753         Use eshell-post-rewrite-command-function (bug#15399).
4754         (eshell--apply-redirections): Rename from eshell-apply-redirections;
4755         adjust to new calling convention.
4756         (eshell-create-handles): Rename args to avoid clashing with dynvar
4757         `standard-output'.
4759 2013-09-17  Glenn Morris  <rgm@gnu.org>
4761         * simple.el (messages-buffer-mode): New major mode.
4762         (messages-buffer): New function.
4763         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
4764         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
4765         (ert-run-test): Use `messages-buffer' function.
4766         (ert--force-message-log-buffer-truncation): Ignore read-only.
4767         * help.el (view-echo-area-messages): Use `messages-buffer' function.
4768         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
4770 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
4772         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
4774         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
4776 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
4778         * icomplete.el (icomplete-in-buffer): New var.
4779         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
4780         vars and replace them with functions.
4781         (icomplete-minibuffer-setup): Adjust accordingly.
4782         (icomplete--completion-table, icomplete--completion-predicate)
4783         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
4784         New functions.
4785         (icomplete-forward-completions, icomplete-backward-completions)
4786         (icomplete-simple-completing-p, icomplete-exhibit)
4787         (icomplete-completions): Use them.
4788         (icomplete--in-region-buffer): New var.
4789         (icomplete--in-region-setup): New function.
4790         (icomplete-mode): Use it.
4792         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
4793         (bug#15379).
4794         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
4795         return args and options.
4796         (eshell-eval-using-options): Use the new return value of
4797         eshell--do-opts to set the options's vars in their scope.
4798         (eshell--set-option): Rename from eshell-set-option.
4799         Add arg `opt-vals'.
4800         (eshell--process-option): Rename from eshell-process-option.
4801         Add arg `opt-vals'.
4802         (eshell--process-args): Use an `opt-vals' alist to store the options's
4803         values during their processing and return them additionally to the
4804         remaining args.
4806 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
4808         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
4809         continuation character an operator, as far as indentation is
4810         concerned (Bug#15369).
4812 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
4814         * window.el (window--state-put-2): Don't process buffer state
4815         when buffer doesn't exist any more (Bug#15382).
4817 2013-09-15  Glenn Morris  <rgm@gnu.org>
4819         * eshell/em-unix.el (eshell/rm):
4820         Make -f ignore missing files.  (Bug#15373)
4822         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
4823         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
4824         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
4826 2013-09-14  Glenn Morris  <rgm@gnu.org>
4828         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
4830 2013-09-13  Glenn Morris  <rgm@gnu.org>
4832         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
4833         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
4835 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
4837         * frame.el (x-focus-frame): Mark as declared in frame.c.
4839 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
4841         * ls-lisp.el: Use advice-add.
4842         (original-insert-directory): Remove.
4843         (ls-lisp--insert-directory): Rename from insert-directory; add
4844         `orig-fun' argument.
4845         (insert-directory): Advise.
4847 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
4849         * term.el (term-emulate-terminal): Decode the command string
4850         before passing it to term-command-hook.  (Bug#15337)
4852 2013-09-13  Glenn Morris  <rgm@gnu.org>
4854         * eshell/esh-util.el (ange-cache): Move declaration earlier.
4856         * eshell/esh-ext.el (eshell-search-path): Declare.
4858         * eshell/em-prompt.el (eshell/pwd): Autoload it.
4859         Otherwise an error occurs if eshell-dirs module not loaded.
4861         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
4863 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
4865         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
4866         `tramp-check-proper-host'.  Check for a valid method name.
4868         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
4869         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4870         * net/tramp-sh.el (tramp-maybe-open-connection):
4871         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
4873         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
4874         also for hash values.
4876 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4878         * term/ns-win.el (parameters): Don't declare as dynamic.
4879         (before-make-frame-hook): Don't add ineffective function.
4881         * eshell/*.el: Use lexical-binding (bug#15231).
4883 2013-09-12  Kenichi Handa  <handa@gnu.org>
4885         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
4887 2013-09-12  Glenn Morris  <rgm@gnu.org>
4889         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
4890         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
4892         * subr.el (do-after-load-evaluation): Also give compiler warnings
4893         when obsolete files are used (except by obsolete files).
4895         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
4896         in the status output, assume `filename' is the first.  (Bug#15322)
4898         * vc/vc.el (vc-deduce-fileset): Doc fix.
4900         * calc/calc-help.el (Info-goto-node):
4901         * progmodes/cperl-mode.el (Info-find-node):
4902         * vc/ediff.el (Info-goto-node): Update declarations.
4904         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
4906         * vc/vc-bzr.el (vc-compilation-mode): Declare.
4907         (vc-bzr-pull): Require vc-dispatcher.
4908         * vc/vc-git.el (vc-compilation-mode): Declare.
4909         (vc-git-pull): Require vc-dispatcher.
4911         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
4913         * progmodes/octave.el (help-button-action): Declare.
4915         * shell.el (shell-directory-tracker): Output error as a message
4916         rather than just returning it as a string.
4917         (shell-process-pushd): Remove useless use of message.
4919         * dframe.el (dframe-timer-fn):
4920         * files.el (dir-locals-read-from-file):
4921         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
4922         (mpc-format):
4923         * reveal.el (reveal-post-command):
4924         * saveplace.el (load-save-place-alist-from-file):
4925         * shell.el (shell-resync-dirs):
4926         * w32-common-fns.el (x-get-selection-value):
4927         * emacs-lisp/copyright.el (copyright-find-copyright):
4928         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
4929         * emulation/tpu-edt.el (tpu-copy-keyfile):
4930         * play/bubbles.el (bubbles--mark-neighbourhood):
4931         * progmodes/executable.el
4932         (executable-make-buffer-file-executable-if-script-p):
4933         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
4935 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
4937         Cleanup Eshell to rely less on dynamic scoping.
4938         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
4939         last-value, and ext-command here.  Bind `args' closer to `body'.
4940         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
4941         (eshell--args): Declare new dynamic var.
4942         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
4943         last-value, and ext-command.  Pass `args' to `body'.
4944         (eshell-process-args): Bind eshell--args.
4945         (eshell-set-option): Use eshell--args.
4946         * eshell/eshell.el (eshell): Use derived-mode-p.
4947         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
4948         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
4949         (eshell-glob-function): Declare.
4950         * eshell/esh-util.el: Require cl-lib.
4951         (eshell-read-hosts-file): Avoid add-to-list.
4952         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
4953         `err'.
4954         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
4955         Declare.
4956         (eshell/diff): Remove unused var `err'.
4957         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
4958         `killflag'.
4959         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
4960         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
4961         first use.
4962         * eshell/em-glob.el (eshell-glob-matches, message-shown):
4963         Move declaration before first use.
4964         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
4965         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
4966         rely on cl-return.
4968 2013-09-12  Glenn Morris  <rgm@gnu.org>
4970         * term/ns-win.el (global-map): Remove binding for ispell-next,
4971         deleted 1999-05-29.  (Bug#15357)
4973 2013-09-11  Glenn Morris  <rgm@gnu.org>
4975         * echistory.el (electric-command-history): Remove call to deleted func.
4977         * play/landmark.el (landmark-mode): Fix typos.
4979         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
4980         Check cvs-sort-ignore-file is bound.
4982         * savehist.el: No need for cl when compiling on Emacs.
4984 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
4986         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
4987         (bug#15338).
4988         (eshell-self-insert-command, eshell-send-invisible):
4989         Remove unused argument.
4990         (eshell-handle-control-codes): Remove unused var `orig'.
4991         Avoid delete-backward-char.
4993         * files.el (set-auto-mode): Simplify a bit further.
4995 2013-09-11  Glenn Morris  <rgm@gnu.org>
4997         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
4998         (set-auto-mode): Don't regexp-quote elements.
4999         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5000         * progmodes/cc-mode.el (interpreter-mode-alist):
5001         * progmodes/ruby-mode.el (interpreter-mode-alist):
5002         Revert previous change.
5004 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
5006         * play/snake.el (snake-mode):
5007         * play/mpuz.el (mpuz-mode):
5008         * play/landmark.el (lm-mode):
5009         * play/blackbox.el (blackbox-mode):
5010         * play/5x5.el (5x5-mode):
5011         * obsolete/options.el (Edit-options-mode):
5012         * net/quickurl.el (quickurl-list-mode):
5013         * net/newst-treeview.el (newsticker-treeview-mode):
5014         * mail/rmailsum.el (rmail-summary-mode):
5015         * mail/mspools.el (mspools-mode):
5016         * locate.el (locate-mode):
5017         * ibuffer.el (ibuffer-mode):
5018         * emulation/ws-mode.el (wordstar-mode):
5019         * emacs-lisp/debug.el (debugger-mode):
5020         * array.el (array-mode):
5021         * net/eudc.el (eudc-mode): Use define-derived-mode.
5022         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5023         Move initialization into declaration.
5024         (mairix-searches-mode): Use define-derived-mode.
5025         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5026         (eudc-edit-hotlist): Use dolist.
5027         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5028         (Man-mode): Use define-derived-mode.
5029         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5030         (Info-edit-mode): Use define-derived-mode.
5031         (Info-cease-edit): Use Info-mode.
5032         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5033         into declaration.
5034         (eshell-mode): Use define-derived-mode.
5035         * chistory.el (command-history-mode-map): Rename from
5036         command-history-map.
5037         (command-history-mode): Use define-derived-mode.
5038         (Command-history-setup): Remove function.
5039         * calc/calc.el (calc-trail-mode-map): New var.
5040         (calc-trail-mode): Use define-derived-mode.
5041         (calc-trail-buffer): Set calc-main-buffer manually.
5042         * bookmark.el (bookmark-insert-annotation): New function.
5043         (bookmark-edit-annotation): Use it.
5044         (bookmark-edit-annotation-mode): Make it a proper major mode.
5045         (bookmark-send-edited-annotation): Use derived-mode-p.
5046         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5047         closer to its ideal place.  Use \' to match EOS.
5049         * profiler.el (profiler-calltree-find): Use function-equal.
5051 2013-09-10  Glenn Morris  <rgm@gnu.org>
5053         * files.el (interpreter-mode-alist): Convert to regexps.
5054         (set-auto-mode): Adapt for this.  (Bug#15306)
5055         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5056         Comment out unused variable.
5057         * progmodes/cc-mode.el (interpreter-mode-alist):
5058         * progmodes/python.el (interpreter-mode-alist):
5059         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5060         * progmodes/sh-script.el (sh-set-shell):
5061         No longer use interpreter-mode-alist to get list of shells.
5063         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5065 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
5067         * simple.el: Use set-temporary-overlay-map for universal-argument.
5068         (universal-argument-map): Don't use default-bindings (bug#15317).
5069         Bind switch-frame explicitly.  Replace universal-argument-minus with
5070         a conditional binding.
5071         (universal-argument-num-events, saved-overriding-map): Remove.
5072         (restore-overriding-map): Remove.
5073         (universal-argument--mode): Rename from save&set-overriding-map,
5074         and rewrite.
5075         (universal-argument, universal-argument-more, negative-argument)
5076         (digit-argument): Adjust accordingly.
5077         (universal-argument-minus): Remove.
5078         (universal-argument-other-key): Remove.
5080         * subr.el (with-demoted-errors): Add `format' argument.
5082 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
5084         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
5085         `tramp-cleanup-connection'.
5087         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5088         parameters KEEP-DEBUG and KEEP-PASSWORD.
5090         * net/tramp.el (tramp-file-name-handler):
5091         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5092         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5093         (tramp-maybe-open-connection):
5094         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5095         Use `tramp-cleanup-connection'.
5097         * net/tramp-sh.el (tramp-maybe-open-connection):
5098         Catch 'uname-changed inside the progress reporter.
5100 2013-09-10  Glenn Morris  <rgm@gnu.org>
5102         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
5104         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5105         returns "alternate access method" in mode (eg "-rw-r--r--.").
5107 2013-09-08  Glenn Morris  <rgm@gnu.org>
5109         * saveplace.el (load-save-place-alist-from-file):
5110         Demote errors.  (Bug#15305)
5112 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
5114         Improve compatibility with older Emacsen, and XEmacs.
5116         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5117         only if it is bound.  It isn't for XEmacs.
5118         (with-tramp-progress-reporter): Do not let-bind `result'.
5119         This yields to scoping errors in XEmacs.
5120         (tramp-handle-make-auto-save-file-name): New function, moved from
5121         tramp-sh.el.
5123         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5124         for `make-auto-save-file-name'.
5125         (tramp-adb--gnu-switches-to-ash):
5126         Use `tramp-compat-replace-regexp-in-string'.
5128         * net/tramp-cache.el (tramp-cache-print): Call
5129         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
5131         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5132         bound.  It isn't for XEmacs.
5134         * net/tramp-compat.el (tramp-compat-copy-file):
5135         Catch `wrong-number-of-arguments' error.
5136         (tramp-compat-replace-regexp-in-string): New defun.
5138         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5139         for `make-auto-save-file-name'.
5140         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5141         `copy-file'.
5142         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5143         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5144         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5146         * net/tramp-gw.el (tramp-gw-open-network-stream):
5147         Use `tramp-compat-replace-regexp-in-string'.
5149         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5150         Call `tramp-handle-make-auto-save-file-name'.
5151         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5152         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5153         (tramp-sh-file-inotifywait-process-filter):
5154         Use `tramp-compat-replace-regexp-in-string'.
5155         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5157         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5158         for `make-auto-save-file-name'.
5159         (tramp-smb-handle-copy-directory):
5160         Call `tramp-compat-replace-regexp-in-string'.
5161         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5162         (tramp-smb-handle-copy-file): Improve error message.
5163         (tramp-smb-handle-rename-file): Rename directly only in case
5164         `newname' does not exist yet.  This is a restriction of smbclient.
5165         (tramp-smb-maybe-open-connection): Rerun the function only when
5166         `auth-sources' is non-nil.
5168 2013-09-08  Kenichi Handa  <handa@gnu.org>
5170         * international/characters.el: Set category "^" (Combining) for
5171         more characters.
5173 2013-09-07  Alan Mackenzie  <acm@muc.de>
5175         Correctly fontify Java class constructors.
5176         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5177         in Java Mode.
5178         (c-recognize-typeless-decls): Set the Java value to t.
5179         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5180         While handling a "(", add a check for, effectively, Java, and handle a
5181         "typeless" declaration there.
5183 2013-09-07  Roland Winkler  <winkler@gnu.org>
5185         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5186         field subtitle for entry type book.
5188 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5190         * minibuffer.el: Make minibuffer-complete call completion-in-region
5191         rather than other way around.
5192         (completion--some, completion-pcm--find-all-completions):
5193         Don't delay signals when debugging.
5194         (minibuffer-completion-contents): Beware fields within the
5195         minibuffer contents.
5196         (completion-all-sorted-completions): Use defvar-local.
5197         (completion--do-completion, completion--cache-all-sorted-completions)
5198         (completion-all-sorted-completions, minibuffer-force-complete):
5199         Add args `beg' and `end'.
5200         (completion--in-region-1): New fun, extracted from minibuffer-complete.
5201         (minibuffer-complete): Use completion-in-region.
5202         (completion-complete-and-exit): New fun, extracted from
5203         minibuffer-complete-and-exit.
5204         (minibuffer-complete-and-exit): Use it.
5205         (completion--complete-and-exit): Rename from
5206         minibuffer--complete-and-exit.
5207         (completion-in-region--single-word): New function, extracted from
5208         minibuffer-complete-word.
5209         (minibuffer-complete-word): Use it.
5210         (display-completion-list): Make `common-substring' argument obsolete.
5211         (completion--in-region): Call completion--in-region-1 instead of
5212         minibuffer-complete.
5213         (completion-help-at-point): Pass boundaries to
5214         minibuffer-completion-help as args rather than via an overlay.
5215         (completion-pcm--string->pattern): Use `any-delim'.
5216         (completion-pcm--optimize-pattern): New function.
5217         (completion-pcm--pattern->regex): Handle `any-delim'.
5218         * icomplete.el (icomplete-forward-completions)
5219         (icomplete-backward-completions, icomplete-completions):
5220         Adjust calls to completion-all-sorted-completions and
5221         completion--cache-all-sorted-completions.
5222         (icomplete-with-completion-tables): Default to t.
5223         * emacs-lisp/crm.el (crm--current-element): Rename from
5224         crm--select-current-element.  Don't put an overlay but return the
5225         boundaries instead.
5226         (crm--completion-command): Take two new args to bind to the boundaries.
5227         (crm-completion-help): Adjust accordingly.
5228         (crm-complete): Use completion-in-region.
5229         (crm-complete-word): Use completion-in-region--single-word.
5230         (crm-complete-and-exit): Use completion-complete-and-exit.
5232 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5234         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5235         than dynamically.
5237 2013-09-06  Juri Linkov  <juri@jurta.org>
5239         * info.el (Info-display-images-node): When image file doesn't exist
5240         display text version of the image if it's provided in the Info file.
5241         Otherwise, display the location of missing image from SRC attribute.
5242         Add help-echo text property from ALT attribute.  (Bug#15279)
5244 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
5246         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5247         (edit-abbrevs-mode): Use define-derived-mode.
5249         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5250         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5251         that it's defined.
5252         (epa-key-list-mode, epa-key-mode, epa-info-mode):
5253         Use define-derived-mode.
5255         * epg.el (epg-start-encrypt): Minor CSE simplification.
5257 2013-09-06  William Xu  <william.xwl@gmail.com>
5259         * arc-mode.el: Add support for 7za (bug#15264).
5260         (archive-7z-program): New var.
5261         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5262         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5263         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5265 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
5267         Remove URL syntax.
5269         * net/tramp.el (tramp-syntax, tramp-prefix-format)
5270         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5271         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5272         (tramp-postfix-host-format, tramp-file-name-regexp)
5273         (tramp-completion-file-name-regexp)
5274         (tramp-completion-dissect-file-name)
5275         (tramp-handle-substitute-in-file-name): Remove 'url case.
5276         (tramp-file-name-regexp-url)
5277         (tramp-completion-file-name-regexp-url): Remove constants.
5279 2013-09-06  Glenn Morris  <rgm@gnu.org>
5281         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
5283 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
5285         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5286         keywords" below "here-doc beginnings" (Bug#15270).
5288 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5290         * subr.el (pop): Use `car-safe'.
5291         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5292         to detect unused `pop' return value.
5294         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5295         var `block-regexp'.
5296         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5297         (python-fill-string): Remove unused var `marker'.
5298         (python-skeleton-add-menu-items): Remove unused var `items'.
5300         * international/mule-cmds.el: Require CL.
5301         (find-coding-systems-for-charsets): Avoid add-to-list.
5302         (sanitize-coding-system-list): New function, extracted from
5303         select-safe-coding-system-interactively.
5304         (select-safe-coding-system-interactively): Use it.
5305         (read-input-method-name): Accept symbols for `default'.
5307         * emacs-lisp/advice.el (defadvice): Add indent rule.
5309 2013-09-05  Daniel Hackney  <dan@haxney.org>
5311         * dired-x.el:
5312         * net/ange-ftp.el:
5313         * net/browse-url.el:
5314         * net/dbus.el:
5315         * net/eudc.el:
5316         * net/eudcb-ldap.el:
5317         * net/eww.el:
5318         * net/imap.el:
5319         * printing.el:
5320         * vc/ediff-diff.el:
5321         * vc/ediff-init.el:
5322         * vc/ediff-merg.el:
5323         * vc/ediff-mult.el:
5324         * vc/ediff-util.el:
5325         * vc/ediff-wind.el:
5326         * vc/ediff.el:
5327         * vc/emerge.el:
5328         * vc/pcvs.el:
5329         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5330         byte compiler.  Remove some unused let-bound variables.
5332 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
5334         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5335         a "ref-cell", since it gets better optimized (bug#14883).
5337 2013-09-05  Glenn Morris  <rgm@gnu.org>
5339         * progmodes/cc-awk.el (c-forward-sws): Declare.
5341 2013-09-04  Glenn Morris  <rgm@gnu.org>
5343         * generic-x.el [rul-generic-mode]: Require cc-mode.
5344         (c++-mode-syntax-table): Declare.
5345         (rul-generic-mode-syntax-table): Init in the defvar.
5347 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
5349         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5350         (vc-do-command, vc-set-async-update):
5351         * vc/vc-mtn.el (vc-mtn-dir-status):
5352         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5353         (vc-hg-pull, vc-hg-merge-branch):
5354         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5355         (vc-git-merge-branch):
5356         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5357         (vc-cvs-dir-status-files):
5358         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5359         (vc-bzr-dir-status-files):
5360         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5361         * vc/vc-annotate.el: Use lexical-binding.
5362         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5363         (vc-sentinel-movepoint): Declare.
5364         (vc-annotate): Don't use `goto-line'.
5365         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5366         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5367         (vc-sentinel-movepoint): Declare.
5368         * vc/vc-svn.el: Use lexical-binding.
5369         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5370         * vc/vc-sccs.el:
5371         * vc/vc-rcs.el: Use lexical-binding.
5373         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5374         `deleted'.  Don't drop errors silently.
5376         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5378 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
5380         * vc/vc.el (vc-ignore): Rewrite.
5381         (vc-default-ignore): New function.
5382         (vc-default-ignore-completion-table): Use find-ignore-file.
5384         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5385         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5386         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5387         Remove.  Most code moved to vc.el.
5389 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
5391         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5392         * net/tramp-smb.el (tramp-smb-get-file-entries):
5393         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5394         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5396         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5397         Update call to it.
5398         (eww-change-select): Remove unused var `properties'.
5399         (eww-make-unique-file-name): Remove unused var `base'.
5401         * finder.el (finder-compile-keywords): Don't mess with windows.
5403         * calculator.el (calculator-funcall): Fix typo in last change.
5405         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5407         * emacs-lisp/package.el (package-activate-1): Don't let a missing
5408         <pkg>-autoloads.el file stop us.
5410         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5411         warnings, and factor out common code.
5413 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
5415         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5416         two-character operators and whether the character preceding them
5417         changes their meaning (Bug#15208).
5419 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5421         Format code sent to Python shell for robustness.
5422         * progmodes/python.el (python-shell-buffer-substring):
5423         New function.
5424         (python-shell-send-region, python-shell-send-buffer): Use it.
5426 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
5428         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5429         * net/tramp.el (tramp-user-error): ... here.
5430         (tramp-find-method, tramp-check-proper-host)
5431         (tramp-dissect-file-name, tramp-debug-message)
5432         (tramp-handle-shell-command):
5433         * net/tramp-adb.el (tramp-adb-handle-shell-command):
5434         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5436         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5438 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
5440         * avoid.el (mouse-avoidance-point-position)
5441         (mouse-avoidance-too-close-p): Handle case where posn-at-point
5442         returns nil.
5444 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5446         * progmodes/python.el (python-shell-completion-get-completions):
5447         Drop use of deleted `comint-last-prompt-overlay'.
5448         (python-nav-if-name-main): New command.
5450 2013-09-01  Glenn Morris  <rgm@gnu.org>
5452         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5453         Avoid leading space in $wins.  Otherwise the sed command used by
5454         eg compile-main ends up containing "/*.el".  (Bug#15170)
5456         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
5458 2013-08-30  Glenn Morris  <rgm@gnu.org>
5460         * emacs-lisp/bytecomp.el (byte-recompile-directory):
5461         Fix is-this-a-directory logic.  (Bug#15220)
5463 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5465         * textmodes/css-mode.el: Use SMIE.
5466         (css-smie-grammar): New var.
5467         (css-smie--forward-token, css-smie--backward-token)
5468         (css-smie-rules): New functions.
5469         (css-mode): Use them.
5470         (css-navigation-syntax-table): Remove var.
5471         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5472         (css-indent-calculate, css-indent-line): Remove functions.
5474         Misc changes to reduce use of `(lambda...); and other cleanups.
5475         * cus-edit.el: Use lexical-binding.
5476         (customize-push-and-save, customize-apropos)
5477         (custom-buffer-create-internal): Use closures.
5478         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5479         * progmodes/ada-xref.el: Use setq.
5480         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5481         * dframe.el: Use lexical-binding.
5482         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
5483         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5484         * descr-text.el: Use lexical-binding.
5485         (describe-text-widget, describe-text-sexp, describe-property-list):
5486         Use closures.
5487         * comint.el (comint-history-isearch-push-state): Use a closure.
5488         * calculator.el: Use lexical-binding.
5489         (calculator-number-to-string): Make it work with lexical-binding.
5490         (calculator-funcall): Same and use cl-letf.
5492         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
5493         (lisp--company-doc-string, lisp--company-location): New functions.
5494         (lisp-completion-at-point): Use them to improve Company support.
5496         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
5497         params of lambda expressions.
5498         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
5499         (ruby-smie--opening-pipe-p): New function.
5500         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
5501         symbols and matched |...| for formal params.
5502         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
5503         from being treated as hanging.  Handle "rescue".
5505 2013-08-29  Glenn Morris  <rgm@gnu.org>
5507         * progmodes/cc-engine.el (c-pull-open-brace):
5508         Move definition before use.
5510 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
5512         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
5513         are immutable.  Don't use `unsafe' any more.
5514         (cl--defsubst-expand): Don't substitute at the same time as keeping
5515         a residual unused let-binding.  Don't use `unsafe' any more.
5517 2013-08-29  Glenn Morris  <rgm@gnu.org>
5519         * calendar/cal-china.el (calendar-chinese-year-cache):
5520         Recenter on 2015.
5522         * nxml/nxml-util.el (nxml-debug-clear-inside):
5523         Use cl-loop rather than loop.
5525         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
5527         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
5529 2013-08-28  Glenn Morris  <rgm@gnu.org>
5531         * progmodes/antlr-mode.el: No need to require cc-mode twice.
5533         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
5535         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
5537 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5539         * simple.el (repeat-complex-command--called-interactively-skip):
5540         New function.
5541         (repeat-complex-command): Use it (bug#14136).
5543         * progmodes/cc-mode.el: Minor cleanup of var declarations.
5544         (c-define-abbrev-table): Add `doc' argument.
5545         (c-mode-abbrev-table, c++-mode-abbrev-table)
5546         (objc-mode-abbrev-table, java-mode-abbrev-table)
5547         (idl-mode-abbrev-table, pike-mode-abbrev-table)
5548         (awk-mode-abbrev-table): Use it.
5549         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
5550         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
5551         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
5552         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
5553         Move initialization into the declaration; and remove any
5554         autoload cookie.
5556         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
5557         and dynamic let binding.
5559         * vc/smerge-mode.el: Remove redundant :group args.
5561         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
5562         to load-path.
5564 2013-08-28  Juri Linkov  <juri@jurta.org>
5566         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
5567         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
5568         (isearch-other-meta-char): Handle an undefined shifted printing
5569         character by downshifting it.  (Bug#15200)
5571 2013-08-28  Juri Linkov  <juri@jurta.org>
5573         * isearch.el (isearch-search): Change regexp error message for
5574         non-regexp searches.  (Bug#15166)
5576 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
5578         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
5579         for portability to hosts where /bin/sh has problems.
5581 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
5583         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
5585 2013-08-27  Juri Linkov  <juri@jurta.org>
5587         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
5588         in the keyboard macro.  (Bug#15126)
5590 2013-08-27  Juri Linkov  <juri@jurta.org>
5592         * isearch.el (isearch-quote-char): Comment out converting unibyte
5593         to multibyte, thus syncing with its `quoted-insert' counterpart.
5594         (Bug#15166)
5596 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
5598         * window.el (display-buffer-use-some-window): Add missing
5599         argument in call of get-largest-window (Bug#15185).
5600         Reported by Stephen Leake.
5602 2013-08-27  Glenn Morris  <rgm@gnu.org>
5604         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
5606 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
5608         * progmodes/python.el (python-font-lock-keywords): Don't return nil
5609         from a matcher-function unless there's no more matches (bug#15161).
5611 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5613         * minibuffer.el: Revert change from 2013-08-20.
5615         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
5616         with text property `tramp-default', if appropriate.
5617         (tramp-check-proper-host): New defun.
5618         (tramp-dissect-file-name): Do not check hostname.  Revert change
5619         of 2013-03-18.
5620         (tramp-backtrace): Make VEC-OR-PROC optional.
5622         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5623         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5624         * net/tramp-sh.el (tramp-maybe-open-connection):
5625         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5626         Apply `tramp-check-proper-host'.
5628 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
5630         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
5631         lambda expression in order to have `describe-variable' display it.
5633 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
5635         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
5636         BUF can be optional.  (Bug#15186)
5638 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
5640         * progmodes/flymake.el (flymake-get-real-file-name-function):
5641         Fix broken customization.  (Bug#15184)
5643 2013-08-25  Alan Mackenzie  <acm@muc.de>
5645         Improve indentation of bracelists defined by macros (without "=").
5647         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
5648         expansion begins with "{", regard it as bracelist when it doesn't
5649         contain a ";".
5651         Parse C++ inher-intro when there's a template split over 2 lines.
5653         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
5654         rigorously the search for "class" etc. followed by ":".
5656         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
5657         random languages a regexp which never matches rather than nil.
5659         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
5661         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
5662         (c-awk-regexp-one-line-possibly-open-char-list-re)
5663         (c-awk-one-line-possibly-open-regexp-re)
5664         (c-awk-one-line-non-syn-ws*-re): Remove.
5665         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
5666         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
5667         (c-awk-space*-unclosed-regexp-/-re): New constants.
5668         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
5669         aren't regexp delimiters.
5671         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
5672         handling for a rare situation in AWK Mode involving unterminated
5673         strings/regexps.
5675 2013-08-23  Glenn Morris  <rgm@gnu.org>
5677         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
5679         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
5681         * files.el (create-file-buffer): If the result would begin with
5682         spaces, prepend a "|" instead of removing them.  (Bug#15162)
5684 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
5686         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
5687         text-properties (bug#15155).
5689         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
5690         exist any more.
5691         (calc-keypad-redraw): Remove unused var `pad'.
5692         (calc-keypad-press): Remove unused var `menu'.
5694 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
5696         * window.el (display-buffer-pop-up-frame):
5697         Call pop-up-frame-function with BUFFER current so `make-frame' will
5698         use it as the new frame's buffer (Bug#15133).
5700 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5702         * calendar/timeclock.el: Minor cleanups.
5703         (timeclock-ask-before-exiting, timeclock-use-display-time):
5704         Use `symbol'.
5705         (timeclock-modeline-display): Define as alias before the
5706         actual definition.
5707         (timeclock-mode-line-display): Use define-minor-mode.
5708         (timeclock-day-list-template): Make it a function, add an argument.
5709         (timeclock-day-list-required, timeclock-day-list-length)
5710         (timeclock-day-list-debt, timeclock-day-list-span)
5711         (timeclock-day-list-break): Adjust calls accordingly.
5713 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5715         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
5716         Use read--expression so that completion works again.
5718 2013-08-21  Sam Steingold  <sds@gnu.org>
5720         Add rudimentary inferior shell interaction
5721         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
5722         (sh-set-shell): Reset it.
5723         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
5724         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
5726 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5728         * align.el: Use lexical-binding.
5729         (align-region): Simplify accordingly.
5731 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
5733         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
5735         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
5736         `non-essential' up.
5738 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
5740         * net/tramp.el:
5741         * net/tramp-adb.el:
5742         * net/tramp-cmds.el:
5743         * net/tramp-ftp.el:
5744         * net/tramp-gvfs.el:
5745         * net/tramp-gw.el:
5746         * net/tramp-sh.el: Don't wrap external variable declarations by
5747         `eval-when-compile'.
5749 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5751         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
5752         now that Emacs supports ImageMagick animations.
5754 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
5756         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
5757         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
5759 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
5761         * window.el (mouse-autoselect-window-select): Do autoselect when
5762         mouse pointer is on margin.
5764 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
5766         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
5768 2013-08-16  Glenn Morris  <rgm@gnu.org>
5770         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
5771         Handle "Remote Directory" response of some clients.  (Bug#15058)
5773         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
5774         Tweak warning.  (Bug#14926)
5776         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
5777         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
5779         * image-mode.el (image-mode-map): Add menu items to reverse,
5780         increase, decrease, reset animation speed.
5781         (image--set-speed, image-increase-speed, image-decrease-speed)
5782         (image-reverse-speed, image-reset-speed): New functions.
5783         (image-mode-map): Add bindings for speed commands.
5785         * image.el (image-animate-get-speed, image-animate-set-speed):
5786         New functions.
5787         (image-animate-timeout): Respect image :speed property.
5789 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
5791         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
5792         previous line (bug#15101).
5793         (debugger-eval-expression, debugger-record-expression):
5794         Use read--expression (bug#15102).
5796 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
5798         Remove byte compiler warnings, visible when compiling with
5799         `byte-compile-force-lexical-warnings' set to t.
5801         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
5802         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
5803         (tramp-handle-unhandled-file-name-directory)
5804         (tramp-handle-file-notify-add-watch, tramp-action-login)
5805         (tramp-action-succeed, tramp-action-permission-denied)
5806         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
5807         arguments with "_".
5809         * net/tramp-adb.el (tramp-adb-parse-device-names)
5810         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
5811         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
5812         (tramp-adb-handle-file-truename): Remove unused arguments.
5814         * net/tramp-cache.el (tramp-flush-directory-property)
5815         (tramp-flush-connection-property, tramp-list-connections)
5816         (tramp-parse-connection-properties): Prefix unused arguments with "_".
5818         * net/tramp-compat.el (tramp-compat-make-temp-file):
5819         Rename FILENAME to F.
5821         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5822         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
5823         (tramp-zeroconf-parse-workstation-device-names)
5824         (tramp-zeroconf-parse-webdav-device-names)
5825         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
5827         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5828         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
5830         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
5831         arguments.
5832         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
5833         (tramp-sh-handle-insert-file-contents-literally)
5834         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
5835         with "_".
5836         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
5837         Remove unused variables.
5839         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
5840         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
5841         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
5843         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
5844         Make them a defconst.
5845         (tramp-uuencode-region): Remove unused variable.
5847 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
5849         * frameset.el (frameset--prop-setter): New function.
5850         (frameset-prop): Add gv-setter declaration.
5851         (frameset-filter-minibuffer): Deal with the case that the minibuffer
5852         parameter was already set in FILTERED.  Doc fix.
5853         (frameset--record-minibuffer-relationships): Allow saving a
5854         minibufferless frame without its corresponding minibuffer frame.
5855         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
5856         frame, if the frame id matches.
5857         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
5858         frames before orphaned ones.
5859         (frameset-restore): Warn about orphaned windows, instead of error out.
5861 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
5863         * window.el (window-make-atom): Don't overwrite parameter
5864         already present.
5865         (display-buffer-in-atom-window): Handle special case where we
5866         split an already atomic window.
5867         (window--major-non-side-window, display-buffer-in-side-window)
5868         (window--side-check): Ignore minibuffer window when walking
5869         window tree.
5870         (window-deletable-p): Return 'frame only if no other frame uses
5871         our minibuffer window.
5872         (record-window-buffer): Run buffer-list-update-hook.
5873         (split-window): Make sure window--check-frame won't destroy an
5874         existing atomic window in case the new window gets nested
5875         inside.
5876         (display-buffer-at-bottom): Ignore minibuffer window when
5877         walking window tree.  Don't split a side window.
5878         (pop-to-buffer): Don't set-buffer here, the select-window call
5879         should do that.
5880         (mouse-autoselect-window-select): Autoselect only if we are in the
5881         text portion of the window.
5883 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5885         * net/shr.el (shr-parse-image-data): New function to grab both the
5886         data itself and the Content-Type.
5887         (shr-put-image): Use it.
5889         * net/eww.el (eww-display-image): Ditto.
5891         * image.el (image-content-type-suffixes): New variable.
5893 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
5895         * progmodes/python.el (python-imenu--build-tree)
5896         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
5898 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
5900         * simple.el (backward-word): Mention the optional argument.
5902 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5904         * frameset.el (frameset--make): Rename constructor from make-frameset.
5905         (frameset-p, frameset-valid-p): Don't autoload.
5906         (frameset-valid-p): Use normal accessors.
5908 2013-08-13  Glenn Morris  <rgm@gnu.org>
5910         * progmodes/compile.el (compile-command): Tweak example in doc.
5911         * obsolete/scribe.el (scribe-mode):
5912         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
5914         * mail/feedmail.el (feedmail-confirm-outgoing)
5915         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
5917         * cus-start.el (truncate-partial-width-windows): Fix type.
5919         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
5921         * net/shr.el (shr-table-horizontal-line): Fix custom type.
5923 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
5925         * emacs-lisp/timer.el (timer--time-setter): New function.
5926         (timer--time): Use it as gv-setter.
5928         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
5929         setter is not a symbol.
5931 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
5933         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
5934         if sending fails.  This makes debugging easier.
5936 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
5938         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
5939         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
5940         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
5942 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
5944         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
5946 2013-08-12  Glenn Morris  <rgm@gnu.org>
5948         * format.el (format-annotate-function):
5949         Handle read-only text properties in the source.  (Bug#14887)
5951 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5953         * net/eww.el (eww-display-html): Ignore coding system errors.
5954         One web site uses "utf-8lias" as the coding system.
5956 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
5958         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
5960 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
5962         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
5963         (tutorial--detailed-help): Remove unused local variables.
5964         (tutorial--save-tutorial-to): Use ignore-errors.
5965         (help-with-tutorial): Use looking-at-p.
5967         * view.el (view-buffer-other-window, view-buffer-other-frame):
5968         Mark unused arguments.
5970         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
5971         (woman-select-symbol-fonts, woman, woman-find-file)
5972         (woman-insert-file-contents, woman-non-underline-faces):
5973         Use string-match-p.
5974         (woman1-unquote): Move declaration.
5976         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
5977         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
5978         argument.  Remove unused local variable.
5979         (xml-parse-elem-type): Use string-match-p.
5980         (xml-substitute-numeric-entities): Use ignore-errors.
5982         * calculator.el (calculator): Mark unused argument.
5983         (calculator-paste, calculator-quit, calculator-integer-p):
5984         Use ignore-errors.
5985         (calculator-string-to-number, calculator-decimal, calculator-exp)
5986         (calculator-op-or-exp): Use string-match-p.
5988         * dired.el (dired-buffer-more-recently-used-p): Declare.
5989         (dired-insert-set-properties, dired-insert-old-subdirs):
5990         Use ignore-errors.
5992         * dired-aux.el (dired-compress): Use ignore-errors.
5993         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
5994         (dired-do-async-shell-command, dired-do-shell-command)
5995         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
5996         (dired-insert-subdir-validate): Use string-match-p.
5997         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
5998         (dired-add-entry): Use string-match-p, looking-at-p.
5999         (dired-insert-subdir-newpos): Remove unused local variable.
6001         * filenotify.el (file-notify-callback): Remove unused local variable.
6003         * filesets.el (filesets-error): Mark unused argument.
6004         (filesets-which-command-p, filesets-filter-dir-names)
6005         (filesets-directory-files, filesets-get-external-viewer)
6006         (filesets-ingroup-get-data): Use string-match-p.
6008         * find-file.el (ff-other-file-name, ff-other-file-name)
6009         (ff-find-the-other-file, ff-cc-hh-converter):
6010         Remove unused local variables.
6011         (ff-get-file-name): Use string-match-p.
6012         (ff-all-dirs-under): Use ignore-errors.
6014         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6015         (follow-select-if-visible): Remove unused local variable.
6017         * forms.el (read-file-filter): Move declaration.
6018         (forms--make-format, forms--make-parser, forms-insert-record):
6019         Quote function with #'.
6020         (forms--update): Use string-match-p.  Quote function with #'.
6022         * help-mode.el (help-dir-local-var-def): Mark unused argument.
6023         (help-make-xrefs): Use looking-at-p.
6024         (help-xref-on-pp): Use looking-at-p, ignore-errors.
6026         * ibuffer.el (ibuffer-ext-visible-p): Declare.
6027         (ibuffer-confirm-operation-on): Use string-match-p.
6029         * msb.el (msb-item-handler, msb-dired-item-handler):
6030         Mark unused arguments.
6032         * ses.el (ses-decode-cell-symbol)
6033         (ses-kill-override): Remove unused local variable.
6034         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6035         (ses-load): Use ignore-errors, looking-at-p.
6036         (ses-jump-safe): Use ignore-errors.
6037         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6039         * tabify.el (untabify, tabify): Mark unused arguments.
6041         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6042         Mark unused argument.
6043         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6044         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6046         * emacs-lisp/timer.el (timer--time): Define setter with
6047         gv-define-setter to avoid deprecation warning.
6049         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6050         (*record-cmpl-statistics-p*): Remove (was commented out).
6051         (cmpl-statistics-block): Remove (body was commented out).
6052         All callers changed.
6053         (add-completions-from-buffer, load-completions-from-file):
6054         Remove unused variables.
6056 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6058         * filecache.el (file-cache-delete-file-list):
6059         Print message only when told so.
6060         (file-cache-files-matching): Use #' in mapconcat argument.
6062         * ffap.el (ffap-url-at-point): Fix reference to variable
6063         thing-at-point-default-mail-uri-scheme.
6065 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
6067         * subr.el (define-error): New function.
6068         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6069         error-file-not-found and define with define-error.
6070         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6071         and define with define-error.
6072         * userlock.el (file-locked, file-supersession):
6073         * simple.el (mark-inactive):
6074         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6075         * progmodes/ada-mode.el (ada-mode-errors):
6076         * play/life.el (life-extinct):
6077         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6078         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6079         * nxml/rng-util.el (rng-error):
6080         * nxml/rng-uri.el (rng-uri-error):
6081         * nxml/rng-match.el (rng-compile-error):
6082         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6083         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6084         * nxml/nxml-rap.el (nxml-scan-error):
6085         * nxml/nxml-outln.el (nxml-outline-error):
6086         * net/soap-client.el (soap-error):
6087         * net/gnutls.el (gnutls-error):
6088         * net/ange-ftp.el (ftp-error):
6089         * mpc.el (mpc-proc-error):
6090         * json.el (json-error, json-readtable-error, json-unknown-keyword)
6091         (json-number-format, json-string-escape, json-string-format)
6092         (json-key-format, json-object-format):
6093         * jka-compr.el (compression-error):
6094         * international/quail.el (quail-error):
6095         * international/kkc.el (kkc-error):
6096         * emacs-lisp/ert.el (ert-test-failed):
6097         * calc/calc.el (calc-error, inexact-result, math-overflow)
6098         (math-underflow):
6099         * bookmark.el (bookmark-error-no-filename):
6100         * epg.el (epg-error): Define with define-error.
6102         * time.el (display-time-event-handler)
6103         (display-time-next-load-average): Don't call sit-for since it seems
6104         unnecessary (bug#15045).
6106         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6107         Use #' instead of ' to quote functions.
6108         (checkdoc-output-mode): Use setq-local.
6109         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6110         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6111         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6112         (checkdoc-ispell, checkdoc-ispell-current-buffer)
6113         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6114         (checkdoc-ispell-message-text, checkdoc-ispell-start)
6115         (checkdoc-ispell-continue, checkdoc-ispell-comments)
6116         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6118         * ido.el (ido-completion-help): Fix up compiler warning.
6120 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
6122         * frameset.el (frameset-p): Add autoload cookie.
6123         (frameset--jump-to-register): New function, based on code moved from
6124         register.el.
6125         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
6127         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6128         (frameset-restore, frameset-save, frameset-session-filter-alist):
6129         Remove declarations.
6130         (register-alist): Doc fix.
6131         (frameset-to-register): Move to frameset.el.
6132         (jump-to-register, describe-register-1): Remove frameset-specific code.
6134 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6136         * allout-widgets.el (allout-widgets-pre-command-business)
6137         (allout-widgets-post-command-business)
6138         (allout-widgets-after-change-handler)
6139         (allout-decorate-item-and-context, allout-set-boundary-marker)
6140         (allout-body-modification-handler)
6141         (allout-graphics-modification-handler): Mark ignored arguments.
6142         (allout-widgets-post-command-business)
6143         (allout-widgets-exposure-change-processor)
6144         (allout-widgets-exposure-undo-processor)
6145         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6146         (allout-parse-item-at-point, allout-decorate-item-guides)
6147         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6148         * allout.el (epa-passphrase-callback-function): Declare.
6149         (allout-overlay-insert-in-front-handler)
6150         (allout-overlay-interior-modification-handler)
6151         (allout-isearch-end-handler, allout-chart-siblings)
6152         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6153         (allout-yank-processing, allout-process-exposed)
6154         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6155         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6156         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6157         (lisp-indent-defform): Mark ignored arguments.
6158         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
6159         (calculate-lisp-indent): Remove unused variables.
6160         * international/characters.el (indian-2-column, arabic-2-column)
6161         (tibetan): Mark ignored arguments.
6162         (use-cjk-char-width-table): Mark ignored arguments.
6163         Remove unused variables.
6164         * international/fontset.el (build-default-fontset-data)
6165         (x-compose-font-name, create-fontset-from-fontset-spec):
6166         Mark ignored arguments.
6167         (fontset-plain-name): Remove unused variables.
6168         * international/mule.el (charset-id, charset-bytes, generic-char-p)
6169         (keyboard-coding-system): Mark ignored arguments.
6170         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
6171         * help.el (resize-temp-buffer-window):
6172         * window.el (display-buffer-in-major-side-window)
6173         (display-buffer-in-side-window, display-buffer-in-previous-window):
6174         Remove unused variables.
6175         * isearch.el (isearch-forward-symbol):
6176         * version.el (emacs-bzr-version-bzr):
6177         * international/mule-cmds.el (current-language-environment):
6178         * term/common-win.el (x-handle-iconic, x-handle-geometry)
6179         (x-handle-display):
6180         * term/pc-win.el (x-list-fonts, x-display-planes)
6181         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6182         (x-server-version, x-display-screens, x-display-mm-height)
6183         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6184         (x-selection-owner-p, x-own-selection-internal)
6185         (x-disown-selection-internal, x-get-selection-internal)
6186         (msdos-initialize-window-system):
6187         * term/tty-colors.el (tty-color-alist, tty-color-clear):
6188         * term/x-win.el (x-handle-no-bitmap-icon):
6189         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6190         (vc-default-find-file-hook, vc-default-extra-menu):
6191         Mark ignored arguments.
6193 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6195         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6196         break-condition in the context of the debugged code (bug#12685).
6198 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
6200         * comint.el:
6201         Do not use an overlay to highlight the last prompt.  (Bug#14744)
6202         (comint-mode): Make comint-last-prompt buffer local.
6203         (comint-last-prompt): New variable.
6204         (comint-last-prompt-overlay): Remove.  Superseded by
6205         comint-last-prompt.
6206         (comint-snapshot-last-prompt, comint-output-filter):
6207         Use comint-last-prompt.
6209 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6211         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
6212         (frameset-save): Check validity of the resulting frameset.
6214 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
6216         * ido.el (ido-record-command): Add doc string.
6218 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6220         * frameset.el (frameset): Do not disable creation of the default
6221         frameset-p predicate.  Doc fix.
6222         (frameset-valid-p): New function, copied from the old predicate-p.
6223         Add additional checks.
6224         (frameset-restore): Check with frameset-valid-p.
6225         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6226         (frameset-name, frameset-description, frameset-properties)
6227         (frameset-states): Add docstring.
6228         (frameset-session-filter-alist, frameset-persistent-filter-alist)
6229         (frameset-filter-alist): Doc fixes.
6231 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6233         * frameset.el (frameset-p, frameset-prop): Doc fixes.
6235 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
6237         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6238         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6239         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6240         (byte-compile-normal-call): Remove obsolescence check.
6242 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
6244         * frameset.el (frameset-restore): Doc fix.
6246         * register.el (frameset-frame-id, frameset-frame-with-id)
6247         (frameset-p, frameset-restore, frameset-save): Declare.
6248         (register-alist): Document framesets.
6249         (frameset-session-filter-alist): Declare.
6250         (frameset-to-register): New function.
6251         (jump-to-register): Implement jumping to framesets.  Doc fix.
6252         (describe-register-1): Describe framesets.
6254         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6256 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
6258         * desktop.el (desktop-save-frameset): Use new frameset-save args.
6259         Use lexical-binding.
6261         * frameset.el (frameset): Use type vector, not list (incompatible
6262         change).  Do not declare a new constructor, use the default one.
6263         Upgrade suggested properties `app', `name' and `desc' to slots `app',
6264         `name' and `description', respectively, and add read-only slot
6265         `timestamp'.  Doc fixes.
6266         (frameset-copy, frameset-persistent-filter-alist)
6267         (frameset-filter-alist, frameset-switch-to-gui-p)
6268         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6269         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6270         (frameset-filter-iconified, frameset-keep-original-display-p):
6271         Doc fixes.
6272         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6273         Rename from frameset-filter-(save|restore)-param.  All callers changed.
6274         Doc fix.
6275         (frameset-p): Adapt to change to vector and be more thorough.
6276         Change arg name to OBJECT.  Doc fix.
6277         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
6278         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6279         All callers changed.
6280         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6281         All callers changed.
6282         (frameset--record-minibuffer-relationships): Rename from
6283         frameset--process-minibuffer-frames.  All callers changed.
6284         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6285         Use new default constructor (again).  Doc fix.
6286         (frameset--find-frame-if): Rename from `frameset--find-frame.
6287         All callers changed.
6288         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6289         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6290         Doc fix.
6291         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6292         PARAMETERS and WINDOW-STATE, respectively.
6293         (frameset-restore): Add new keyword argument PREDICATE.
6294         Reset frameset--target-display to nil.  Doc fix.
6296 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6298         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6299         (bat-mode): Use it.
6300         (bat-mode-syntax-table): Mark \n as end-of-comment.
6301         (bat-font-lock-keywords): Remove comment rule.
6303         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
6304         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
6306         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6307         (byte-compile-callargs-warn): Use `push'.
6308         (byte-compile-arglist-warn): Ignore higher-order "calls".
6309         (byte-compile-file-form-autoload): Use `pcase'.
6310         (byte-compile-function-form): If quoting a symbol, check that it exists.
6312 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
6314         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6315         and add a few popular commands found in batch files.
6316         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6317         (dos-mode): Doc fixes.
6319 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6321         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6322         (dos-mode): Use setq-local.  Add space after "rem".
6323         (dos-mode-syntax-table): Don't use "w" for symbol chars.
6324         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6326 2013-08-07  Arni Magnusson  <arnima@hafro.is>
6328         * progmodes/dos.el: New file.
6329         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6330         dos-mode.
6332 2013-08-06  Glenn Morris  <rgm@gnu.org>
6334         * calendar/calendar.el: Add new faces, and day-header-array.
6335         (calendar-weekday-header, calendar-weekend-header)
6336         (calendar-month-header): New faces.
6337         (calendar-day-header-construct): New function.
6338         (calendar-day-header-width): Also :set calendar-day-header-array.
6339         (calendar-american-month-header, calendar-european-month-header)
6340         (calendar-iso-month-header): Use calendar- faces.
6341         (calendar-generate-month):
6342         Use calendar-day-header-array for day headers; apply faces to them.
6343         (calendar-mode): Check calendar-font-lock-keywords non-nil.
6344         (calendar-abbrev-construct): Add optional maxlen argument.
6345         (calendar-day-name-array): Doc fix.
6346         (calendar-day-name-array, calendar-abbrev-length)
6347         (calendar-day-abbrev-array):
6348         Also :set calendar-day-header-array, and maybe redraw.
6349         (calendar-day-header-array): New option.  (Bug#15007)
6350         (calendar-font-lock-keywords): Set to nil and make obsolete.
6351         (calendar-day-name): Add option to use header array.
6353 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6355         * net/shr.el (shr-render-td): Remove debugging.
6356         (shr-render-td): Make width computation consistent by defaulting
6357         all zero-width columns to 10 characters.  This may not be optimal,
6358         but it's at least consistent.
6359         (shr-make-table-1): Redo last change to fix the real problem in
6360         colspan handling.
6362 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6364         * files.el (cache-long-line-scans):
6365         Make obsolete alias to `cache-long-scans'.
6367 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6369         * frameset.el (frameset, frameset-filter-alist)
6370         (frameset-filter-params, frameset-save, frameset--reuse-frame)
6371         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6372         (frameset-compute-pos): Rename from frameset--compute-pos,
6373         and add docstring.
6374         (frameset-move-onscreen): Use frameset-compute-pos.
6375         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6377         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6378         Fix typos in docstrings.
6380 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
6382         * frame.el (get-other-frame): Tiny cleanup.
6384 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
6386         * vc/vc.el (vc-default-ignore-completion-table):
6387         Silence byte-compiler warning.
6389         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6390         slot , which can indeed be nil.
6391         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6392         Move entry for `left' from persistent to live filter alist.
6393         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6394         Doc fixes.
6395         (frameset-filter-params): When restoring a frame, copy items added to
6396         `filtered', to avoid unwittingly modifying the original parameters.
6397         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
6398         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6400         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6401         to use looking-at-p instead of looking-at.  (Bug#15028)
6403 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6405         Revert introduction of isearch-filter-predicates (bug#14714).
6406         Rely on add-function instead.
6407         * isearch.el (isearch-filter-predicates): Rename it back to
6408         isearch-filter-predicate.
6409         (isearch-message-prefix): Use advice-function-mapc and advice
6410         properties to get the isearch-message-prefix.
6411         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6412         instead of run-hook-with-args-until-failure.
6413         (isearch-filter-visible): Not obsolete any more.
6414         * loadup.el: Preload nadvice.
6415         * replace.el (perform-replace): Revert to funcall
6416         instead of run-hook-with-args-until-failure.
6417         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6418         * dired-aux.el (dired-isearch-filenames-mode): Rename from
6419         dired-isearch-filenames-toggle; make it into a proper minor mode.
6420         Use add/remove-function.
6421         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6422         Call the minor-mode rather than add/remove-hook.
6423         (dired-isearch-filter-filenames):
6424         Remove isearch-message-prefix property.
6425         * info.el (Info--search-loop): New function, extracted from Info-search.
6426         Funcall isearch-filter-predicate instead of
6427         run-hook-with-args-until-failure isearch-filter-predicates.
6428         (Info-search): Use it.
6429         (Info-mode): Use isearch-filter-predicate instead of
6430         isearch-filter-predicates.
6432 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6434         Do not call to `selected-window' where it is assumed by default.
6435         Affected functions are `window-minibuffer-p', `window-dedicated-p',
6436         `window-hscroll', `window-width', `window-height', `window-buffer',
6437         `window-frame', `window-start', `window-point', `next-window'
6438         and `window-display-table'.
6439         * abbrev.el (abbrev--default-expand):
6440         * bs.el (bs--show-with-configuration):
6441         * buff-menu.el (Buffer-menu-mouse-select):
6442         * calc/calc.el (calc):
6443         * calendar/calendar.el (calendar-generate-window):
6444         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6445         (diary-make-entry):
6446         * comint.el (send-invisible, comint-dynamic-complete-filename)
6447         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6448         * completion.el (complete):
6449         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6450         * disp-table.el (describe-current-display-table):
6451         * doc-view.el (doc-view-insert-image):
6452         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6453         * ehelp.el (with-electric-help):
6454         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6455         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6456         * emacs-lisp/helper.el (Helper-help-scroller):
6457         * emulation/cua-base.el (cua--post-command-handler-1):
6458         * eshell/esh-mode.el (eshell-output-filter):
6459         * ffap.el (ffap-gnus-wrapper):
6460         * help-macro.el (make-help-screen):
6461         * hilit-chg.el (highlight-compare-buffers):
6462         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6463         * hl-line.el (global-hl-line-highlight):
6464         * icomplete.el (icomplete-simple-completing-p):
6465         * isearch.el (isearch-done):
6466         * jit-lock.el (jit-lock-stealth-fontify):
6467         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6468         * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6469         * mpc.el (mpc-tagbrowser, mpc):
6470         * net/rcirc.el (rcirc-any-buffer):
6471         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6472         * play/landmark.el (landmark-max-width, landmark-max-height):
6473         * play/zone.el (zone):
6474         * progmodes/compile.el (compilation-goto-locus):
6475         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6476         * progmodes/etags.el (find-tag-other-window):
6477         * progmodes/fortran.el (fortran-column-ruler):
6478         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6479         * progmodes/verilog-mode.el (verilog-point-text):
6480         * reposition.el (reposition-window):
6481         * rot13.el (toggle-rot13-mode):
6482         * server.el (server-switch-buffer):
6483         * shell.el (shell-dynamic-complete-command)
6484         (shell-dynamic-complete-environment-variable):
6485         * simple.el (insert-buffer, set-selective-display)
6486         (delete-completion-window):
6487         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
6488         (speedbar-recenter):
6489         * startup.el (fancy-splash-head):
6490         * textmodes/ispell.el (ispell-command-loop):
6491         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
6492         * tutorial.el (help-with-tutorial):
6493         * vc/add-log.el (add-change-log-entry):
6494         * vc/compare-w.el (compare-windows):
6495         * vc/ediff-help.el (ediff-indent-help-message):
6496         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
6497         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
6498         (ediff-setup-control-frame):
6499         * vc/emerge.el (emerge-position-region):
6500         * vc/pcvs-util.el (cvs-bury-buffer):
6501         * window.el (walk-windows, mouse-autoselect-window-select):
6502         * winner.el (winner-set-conf, winner-undo): Related users changed.
6504 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6506         * frameset.el (frameset--set-id): Doc fix.
6507         (frameset-frame-id, frameset-frame-id-equal-p)
6508         (frameset-locate-frame-id): New functions.
6509         (frameset--process-minibuffer-frames, frameset--reuse-frame)
6510         (frameset-restore): Use them.
6512 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
6514         Do not call to `selected-frame' where it is assumed by default.
6515         Affected functions are `raise-frame', `redraw-frame',
6516         `frame-first-window', `frame-terminal' and `delete-frame'.
6517         * calendar/appt.el (appt-disp-window):
6518         * epg.el (epg-wait-for-completion):
6519         * follow.el (follow-delete-other-windows-and-split)
6520         (follow-avoid-tail-recenter):
6521         * international/mule.el (set-terminal-coding-system):
6522         * mail/rmail.el (rmail-mail-return):
6523         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
6524         * progmodes/f90.el (f90-add-imenu-menu):
6525         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
6526         * server.el (server-switch-buffer):
6527         * simple.el (delete-completion-window):
6528         * talk.el (talk):
6529         * term/xterm.el (terminal-init-xterm-modify-other-keys)
6530         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
6531         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
6532         * vc/ediff.el (ediff-documentation): Related users changed.
6533         * frame.el (selected-terminal): Remove the leftover.
6535 2013-08-05  Glenn Morris  <rgm@gnu.org>
6537         * calendar/calendar.el (calendar-generate-month):
6538         Fix for calendar-column-width != 1 + calendar-day-digit-width.
6539         (calendar-generate-month, calendar-font-lock-keywords):
6540         Fix for calendar-day-header-width > length of any day name.
6542 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
6544         * desktop.el (desktop-clear): Use new name of sort predicate.
6546         * frameset.el (frameset): Add docstring.  Move :version property to its
6547         own `version' slot.
6548         (frameset-copy): Rename from copy-frameset.
6549         (frameset-p): Check more thoroughly.
6550         (frameset-prop): Do not check for :version, which is no longer a prop.
6551         (frameset-live-filter-alist, frameset-persistent-filter-alist):
6552         Use new :never value instead of t.
6553         (frameset-filter-alist): Expand and clarify docstring.
6554         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
6555         (frameset-filter-minibuffer, frameset-filter-save-param)
6556         (frameset-filter-restore-param, frameset-filter-iconified):
6557         Add pointer to docstring of frameset-filter-alist.
6558         (frameset-filter-params): Rename filter values to be more meaningful:
6559         :never instead of t, and reverse the meanings of :save and :restore.
6560         (frameset--process-minibuffer-frames): Clarify error message.
6561         (frameset-save): Avoid unnecessary and confusing call to framep.
6562         Use new BOA constructor for framesets.
6563         (frameset--reuse-list): Doc fix.
6564         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
6565         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
6566         (frameset-minibufferless-first-p): Doc fix.
6567         Rename from frameset-sort-frames-for-deletion.
6568         (frameset-restore): Doc fixes.  Use new function names.
6569         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6571 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6573         * desktop.el (desktop-restore-forces-onscreen)
6574         (desktop-restore-reuses-frames): Document :keyword constant values.
6575         (desktop-filter-parameters-alist): Remove, now identical to
6576         frameset-filter-alist.
6577         (desktop--filter-tty*): Remove, moved to frameset.el.
6578         (desktop-save-frameset, desktop-restore-frameset):
6579         Do not pass :filters argument.
6581         * frameset.el (frameset-live-filter-alist)
6582         (frameset-persistent-filter-alist): New variables.
6583         (frameset-filter-alist): Use them.  Add autoload cookie.
6584         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
6585         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
6586         `frameset--id' (it's supposed to be internal to frameset.el).
6587         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
6588         (frameset--initial-params): New function.
6589         (frameset--get-frame): Use it.  Doc fix.
6590         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
6591         Accept :all, not 'all.
6592         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
6593         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
6594         with fbound symbols.  Fix frame id matching, and remove matching ids if
6595         the frame being restored is deleted.  Obey :delete.
6597 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6599         * subr.el (macrop): New function.
6600         (text-clone--maintaining): New var.
6601         (text-clone--maintain): Rename from text-clone-maintain.  Use it
6602         instead of inhibit-modification-hooks.
6604         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
6605         a proxy, so as handle autoloads and redefinitions of the target.
6606         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
6608         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
6609         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
6610         (pcase--mutually-exclusive-p): New function.
6611         (pcase--split-consp): Use it.
6612         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
6613         mutually exclusive with the current predicate.
6615         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
6616         (edebug-macrop): Remove.  Use `macrop' instead.
6617         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
6618         (ad-macro-p):
6619         * eshell/esh-cmd.el (eshell-macrop):
6620         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
6622 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
6624         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
6625         (advice-mapc): New function, using it.
6626         (advice-function-member-p): New function.
6627         (advice--normalize): Store the cdr in advice--saved-rewrite since
6628         that's the part that will be changed.
6629         (advice--symbol-function): New function.
6630         (advice-remove): Handle removal before the function is defined.
6631         Adjust to new advice--saved-rewrite.
6632         (advice-member-p): Use advice-function-member-p and
6633         advice--symbol-function.
6635 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
6637         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
6638         (frameset-filter-minibuffer): Doc fix.
6639         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
6640         (frameset--set-id, frameset--process-minibuffer-frames)
6641         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
6642         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
6644         * desktop.el (desktop-clear): Only delete frames when called
6645         interactively and desktop-restore-frames is non-nil.  Doc fix.
6646         (desktop-read): Set desktop-saved-frameset to nil.
6648 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
6650         * vc/vc.el (vc-ignore): Rewrite.
6651         (vc-default-ignore-completion-table):
6652         (vc--read-lines):
6653         (vc--add-line, vc--remove-regexp): New functions.
6655         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
6656         (vc-svn-ignore-completion-table): New function.
6658         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
6659         (vc-hg-ignore-completion-table):
6660         (vc-hg-find-ignore-file): New functions.
6662         * vc/vc-git.el (vc-git-ignore): Rewrite.
6663         (vc-git-ignore-completion-table):
6664         (vc-git-find-ignore-file): New functions.
6666         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
6668         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
6669         (vc-bzr-ignore-completion-table):
6670         (vc-bzr-find-ignore-file): New functions.
6672 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
6674         * frameset.el (frameset-prop): New function and setter.
6675         (frameset-save): Do not modify frame list passed by the caller.
6677 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6679         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
6681 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
6683         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
6684         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
6686         * custom.el (custom-initialize-default, custom-initialize-set)
6687         (custom-initialize-reset, custom-initialize-changed): Affect the
6688         toplevel-default-value (bug#6275, bug#14586).
6689         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
6690         for bug#6275.
6692 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6694         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
6695         Add cl-def* expressions.
6697         * frameset.el (frameset-filter-params): Fix order of arguments.
6699 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
6701         Move code related to saving frames to frameset.el.
6702         * desktop.el: Require frameset.
6703         (desktop-restore-frames): Doc fix.
6704         (desktop-restore-reuses-frames): Rename from
6705         desktop-restoring-reuses-frames.
6706         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
6707         (desktop-clear): Clear frames too.
6708         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
6709         (desktop--filter-tty*, desktop-save, desktop-read):
6710         Use frameset functions.
6711         (desktop-before-saving-frames-functions, desktop--filter-*-color)
6712         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
6713         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
6714         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
6715         (desktop--process-minibuffer-frames, desktop-save-frames)
6716         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
6717         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
6718         (desktop--sort-states, desktop-restoring-frames-p)
6719         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
6720         (desktop-restoring-frameset-p, desktop-restore-frameset)
6721         (desktop--check-dont-save, desktop-save-frameset): New functions.
6722         (desktop--app-id): New constant.
6723         (desktop-first-buffer, desktop-buffer-ok-count)
6724         (desktop-buffer-fail-count): Move before first use.
6725         * frameset.el: New file.
6727 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
6729         * files.el: Use lexical-binding.
6730         (dir-locals-read-from-file): Remove unused `err' variable.
6731         (hack-dir-local-variables--warned-coding): New var.
6732         (hack-dir-local-variables): Use it to avoid repeated warnings.
6733         (make-backup-file-name--default-function): New function.
6734         (make-backup-file-name-function): Use it as default.
6735         (buffer-stale--default-function): New function.
6736         (buffer-stale-function): Use it as default.
6737         (revert-buffer-insert-file-contents--default-function): New function.
6738         (revert-buffer-insert-file-contents-function): Use it as default.
6739         (insert-directory): Avoid add-to-list.
6741         * autorevert.el (auto-revert-handler): Simplify.
6742         Use buffer-stale--default-function.
6744 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
6746         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
6748         * whitespace.el (whitespace-ensure-local-variables): New function.
6749         (whitespace-cleanup-region): Call it.
6750         (whitespace-turn-on): Call it.
6752 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
6754         Complete file name handlers.
6756         * net/tramp.el (tramp-handle-set-visited-file-modtime)
6757         (tramp-handle-verify-visited-file-modtime)
6758         (tramp-handle-file-notify-rm-watch): New functions.
6759         (tramp-call-process): Do not bind `default-directory'.
6761         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
6762         Order alphabetically.
6763         [access-file, add-name-to-file, dired-call-process]:
6764         [dired-compress-file, file-acl, file-notify-rm-watch]:
6765         [file-ownership-preserved-p, file-selinux-context]:
6766         [make-directory-internal, make-symbolic-link, set-file-acl]:
6767         [set-file-selinux-context, set-visited-file-modtime]:
6768         [verify-visited-file-modtime]: Add handler.
6769         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
6771         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
6772         [file-notify-add-watch, file-notify-rm-watch]:
6773         [set-file-times, set-visited-file-modtime]:
6774         [verify-visited-file-modtime]: Add handler.
6775         (with-tramp-gvfs-error-message)
6776         (tramp-gvfs-handle-set-visited-file-modtime)
6777         (tramp-gvfs-fuse-file-name): Remove.
6778         (tramp-gvfs-handle-file-notify-add-watch)
6779         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
6780         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
6782         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6783         Order alphabetically.
6784         [file-notify-rm-watch ]: Use default Tramp handler.
6785         [executable-find]: Remove private handler.
6786         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
6787         `default-directory'.
6788         (tramp-sh-handle-executable-find)
6789         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
6790         (tramp-sh-file-gvfs-monitor-dir-process-filter)
6791         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
6792         Do not use `format' in `tramp-message'.
6794         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
6795         [file-notify-rm-watch, set-visited-file-modtime]:
6796         [verify-visited-file-modtime]: Add handler.
6797         (tramp-smb-call-winexe): Do not bind `default-directory'.
6799 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
6801         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
6803 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
6805         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
6806         use it.
6807         (log-view-diff-changeset): Same.
6808         (log-view-diff-common): Call backend command `previous-revision'
6809         to find out the previous revision, in both cases.  Swap the
6810         variables `to' and `fr', so that `fr' usually refers to the
6811         earlier revision (Bug#14989).
6813 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
6815         * ibuf-ext.el (ibuffer-filter-by-filename):
6816         Make it work with dired buffers too.
6818 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
6820         * emacs-lisp/re-builder.el (reb-color-display-p):
6821         * files.el (save-buffers-kill-terminal):
6822         * net/browse-url.el (browse-url):
6823         * server.el (server-save-buffers-kill-terminal):
6824         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
6825         Prefer nil to selected-frame for the first arg of frame-parameter.
6827 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
6829         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
6831 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
6833         * minibuffer.el (completion--twq-all): Try and preserve each
6834         completion's case choice (bug#14907).
6836 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6838         * net/network-stream.el (open-network-stream): Mention the new
6839         :nogreeting parameter.
6840         (network-stream-open-starttls): Use the :nogreeting parameter
6841         (bug#14938).
6843         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
6845         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
6846         more natural than popping.
6848         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
6849         (shr-urlify): Highlight under mouse.
6851 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
6853         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
6855         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
6857         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
6858         buffer for output.
6860         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
6861         point-min==1.  Fix search string.  Fix parentheses missing.
6863         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
6864         assume point-min==1.  Fix search string.  Fix parentheses missing.
6866         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
6868         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
6869         buffer for output.
6871 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
6873         * frame.el (frame-notice-user-settings): Avoid inflooping when the
6874         initial frame is minibuffer-less.  (Bug#14841)
6876 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
6878         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
6879         option.
6881         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
6882         (tramp-maybe-open-connection): Use it.
6884 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6886         * desktop.el (desktop--make-frame): Include `minibuffer' in the
6887         minimal set of parameters passed when creating a frame, because
6888         the minibuffer status of a frame cannot be changed later.
6890 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
6892         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
6893         replace-regexp-in-string and inadvertent omissions in previous change.
6894         (todo-filter-items): Ensure only file names are comma-separated in
6895         name of filtered items buffer.
6897 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
6899         * desktop.el: Optionally force offscreen frames back onscreen.
6900         (desktop-restoring-reuses-frames): New option.
6901         (desktop--compute-pos, desktop--move-onscreen): New functions.
6902         (desktop--make-frame): Use desktop--move-onscreen.
6904 2013-07-27  Alan Mackenzie  <acm@muc.de>
6906         Fontify a Java generic method as a function.
6907         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
6908         value to t.
6910 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
6912         * calendar/todo-mode.el: Add command to rename todo files.
6913         (todo-rename-file): New command.
6914         (todo-key-bindings-t): Add key binding for it.  Change the
6915         bindings of todo-filter-regexp-items(-multifile) to use `x'
6916         instead of `r', since the latter is better suited to the new
6917         renaming command.
6919 2013-07-27  Alan Mackenzie  <acm@muc.de>
6921         Make Java try-with-resources statement parse properly.
6922         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
6923         (c-block-stmt-1-2-key): New language constants/variables.
6924         * progmodes/cc-engine.el (c-beginning-of-statement-1)
6925         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
6926         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
6927         with c-block-stmt-1-2-key.
6929 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
6931         * desktop.el (desktop--make-frame): Apply most frame parameters after
6932         creating the frame to force (partially or totally) offscreen frames to
6933         be restored as such.
6935 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
6937         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
6938         (Bug#14948)
6940 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6942         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
6943         `base' arg of backtrace-frame.
6945 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
6947         * simple.el (list-processes): Doc fix.
6949 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6951         * desktop.el (desktop--select-frame):
6952         Try harder to reuse existing frames.
6954 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6956         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
6957         (edebug-eval): Use backtrace-eval.
6958         (edebug--display, edebug--recursive-edit): Don't let-bind the
6959         edebug-outer-* vars that keep track of variables we locally let-bind.
6960         (edebug-outside-excursion): Don't restore outside values of locally
6961         let-bound vars.
6962         (edebug--display): Use user-error.
6963         (cl-lexical-debug, cl-debug-env): Remove.
6965 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
6967         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
6968         are restored to be sure that they are visible before deleting any
6969         remaining ones.
6971 2013-07-26  Matthias Meulien  <orontee@gmail.com>
6973         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
6974         vc-print-root-log.  (Bug#14948)
6976 2013-07-26  Richard Stallman  <rms@gnu.org>
6978         Add aliases for encrypting mail.
6979         * epa.el (epa-mail-aliases): New option.
6980         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
6981         Bind inhibit-read-only so read-only text doesn't ruin everything.
6982         (epa-mail-default-recipients): New subroutine broken out.
6983         Handle epa-mail-aliases.
6985 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
6987         Add support for lexical variables to the debugger's `e' command.
6988         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
6989         vars, except for debugger-outer-match-data.
6990         (debugger-frame-number): Move check for "on a function call" from
6991         callers into it.  Add `skip-base' argument.
6992         (debugger-frame, debugger-frame-clear): Simplify accordingly.
6993         (debugger-env-macro): Only reset the state stored in non-variables,
6994         i.e. current-buffer and match-data.
6995         (debugger-eval-expression): Rewrite using backtrace-eval.
6996         * subr.el (internal--called-interactively-p--get-frame): Remove.
6997         (called-interactively-p):
6998         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
6999         `base' arg of backtrace-frame instead.
7001 2013-07-26  Glenn Morris  <rgm@gnu.org>
7003         * align.el (align-regexp): Doc fix.  (Bug#14857)
7004         (align-region): Explicit error if subexpression missing/does not match.
7006         * simple.el (global-visual-line-mode):
7007         Do not duplicate the mode lighter.  (Bug#14858)
7009 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
7011         * window.el (display-buffer): In display-buffer bind
7012         split-window-keep-point to t, bug#14829.
7014 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7016         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7017         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7018         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7019         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7020         Change accordingly.
7021         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7022         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7024 2013-07-25  Glenn Morris  <rgm@gnu.org>
7026         * dired-x.el (dired-mark-extension): Convert comment to doc string.
7028 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
7030         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7031         parameter to modify-frame-parameters if the value has not changed;
7032         this is a workaround for bug#14949.
7033         (desktop--make-frame): On cl-delete-if call, check parameter name,
7034         not full parameter.
7036 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
7038         * vc/vc.el (vc-ignore): New function.
7040         * vc/vc-svn.el (vc-svn-ignore): New function.
7042         * vc/vc-hg.el (vc-hg-ignore): New function.
7044         * vc/vc-git.el (vc-git-ignore): New function.
7046         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7047         (vc-dir-ignore): New function.
7049         * vc/vc-cvs.el (vc-cvs-ignore): New function.
7050         (cvs-append-to-ignore): Move here from pcvs.el.
7052         * vc/vc-bzr.el (vc-bzr-ignore): New function.
7054         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7056 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
7058         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7059         (desktop-restore-frames): Warn when deleting an existing frame failed.
7061 2013-07-24  Glenn Morris  <rgm@gnu.org>
7063         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
7065 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
7067         * filenotify.el (file-notify-supported-p):
7068         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7069         Remove functions.
7071         * autorevert.el (auto-revert-use-notify):
7072         (auto-revert-notify-add-watch):
7073         * net/tramp.el (tramp-file-name-for-operation):
7074         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7075         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7076         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7077         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7078         Remove `file-notify-supported-p' entry.
7080 2013-07-24  Glenn Morris  <rgm@gnu.org>
7082         * printing.el: Replace all uses of deleted ps-windows-system,
7083         ps-lp-system, ps-flatten-list with lpr- versions.
7085 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7087         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7088         checked with memq (bug#14935).
7090         * files.el (revert-buffer-function): Use a non-nil default.
7091         (revert-buffer-preserve-modes): Declare var to
7092         provide access to the `preserve-modes' argument.
7093         (revert-buffer): Let-bind it.
7094         (revert-buffer--default): New function, extracted from revert-buffer.
7096 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7098         * lpr.el: Signal print errors more prominently.
7099         (print-region-function): Don't default to nil.
7100         (lpr-print-region): New function, extracted from print-region-1.
7101         Check lpr's return value and signal an error in case of problem.
7102         (print-region-1): Use it.
7103         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
7104         versions instead.
7105         (ps-printer-name): Default to nil.
7106         (ps-printer-name-option): Default to lpr-printer-switch.
7107         (ps-print-region-function): Don't default to nil.
7108         (ps-postscript-code-directory): Simplify default.
7109         (ps-do-despool): Use lpr-print-region to properly check the outcome.
7110         (ps-string-list, ps-eval-switch, ps-flatten-list)
7111         (ps-flatten-list-1): Remove.
7112         (ps-multibyte-buffer): Avoid setq.
7113         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7114         (print-region-function, ps-print-region-function): Don't set them here.
7116 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
7118         * ido.el (ido-fractionp):
7119         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7120         (ido-max-file-prompt-width, ido-unc-hosts-cache)
7121         (ido-max-directory-size, ido-max-dir-file-cache)
7122         (ido-decorations): Doc fix.
7124         * ansi-color.el: Fix old URL.
7126 2013-07-23  Michael R. Mauger  <michael@mauger.com>
7128         * progmodes/sql.el: Version 3.3
7129         (sql-product-alist): Improve oracle :prompt-cont-regexp.
7130         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7131         (sql-interactive-remove-continuation-prompt): Rewrite, use
7132         functions above.  Fix continuation prompt and complete output line
7133         handling.
7134         (sql-redirect-one, sql-execute): Use `read-only-mode' on
7135         redirected output buffer.
7136         (sql-mode): Restore deleted code (Bug#13591).
7138 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7140         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7142 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
7144         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7146         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7147         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7148         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7150 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
7152         * desktop.el (desktop-clear): Simplify; remove useless checks
7153         against invalid buffer names.
7154         (desktop-list*): Use cl-list*.
7155         (desktop-buffer-info, desktop-create-buffer): Simplify.
7157 2013-07-23  Leo Liu  <sdl.web@gmail.com>
7159         * bookmark.el (bookmark-make-record): Restore NAME as a default
7160         value.  (Bug#14933)
7162 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
7164         * emacs-lisp/autoload.el (autoload--setup-output): New function,
7165         extracted from autoload--insert-text.
7166         (autoload--insert-text): Remove.
7167         (autoload--print-cookie-text): New function, extracted from
7168         autoload--insert-cookie-text.
7169         (autoload--insert-cookie-text): Remove.
7170         (autoload-generate-file-autoloads): Adjust calls accordingly.
7172         * winner.el (winner-hook-installed-p): Remove.
7173         (winner-mode): Simplify accordingly.
7175         * subr.el (add-to-list): Fix compiler-macro when `append' is
7176         not constant.  Don't use `cl-member' for the base case.
7178         * progmodes/subword.el: Fix boundary case (bug#13758).
7179         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
7180         own group.
7181         (subword-backward-regexp): Make it a constant.
7182         (subword-forward-internal): Don't treat a trailing capital as the
7183         beginning of a word.
7185 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
7187         * emacs-lisp/package.el (package-menu-mode): Don't modify the
7188         global value of tabulated-list-revert-hook (bug#14930).
7190 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
7192         * desktop.el: Require 'cl-lib.
7193         (desktop-before-saving-frames-functions): New hook.
7194         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7195         for frames being saved.  Rename from desktop--save-minibuffer-frames.
7196         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7197         Do not save frames with non-nil `desktop-dont-save' parameter.
7198         Filter out deleted frames.
7199         (desktop--find-frame): Use cl-find-if.
7200         (desktop--select-frame): Use cl-(first|second|third) to access values
7201         of desktop-mini.
7202         (desktop--make-frame): Use cl-delete-if.
7203         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7204         (desktop-restore-frames): Use cl-(first|second|third) to access values
7205         of desktop-mini.  Look for visible frame at the end, not while
7206         restoring frames.
7208         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7209         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7210         Use string-match-p, looking-at-p (bug#14927).
7212 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
7214         * desktop.el (desktop-saved-frame-states):
7215         Rename from desktop--saved-states; all users changed.
7216         (desktop-save-frames): Rename from desktop--save-frames.
7217         Do not save state to desktop file.
7218         (desktop-save): Save desktop-saved-frame-states to desktop file
7219         and reset to nil.
7220         (desktop-restoring-frames-p): New function.
7221         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
7222         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
7223         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
7225         * desktop.el: Correctly restore iconified frames.
7226         (desktop--filter-iconified-position): New function.
7227         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7229 2013-07-20  Glenn Morris  <rgm@gnu.org>
7231         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7232         Let `message' do the formatting.
7233         (def-gdb-preempt-display-buffer): Add explicit format.
7235         * image-dired.el (image-dired-track-original-file):
7236         Use with-current-buffer.
7237         (image-dired-track-thumbnail): Use with-current-buffer.
7238         Avoid changing point of wrong window.
7240         * image-dired.el (image-dired-track-original-file):
7241         Avoid changing point of wrong window.  (Bug#14909)
7243 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
7245         * progmodes/gdb-mi.el (gdb-done-or-error):
7246         Guard against "%" in gdb output.  (Bug#14127)
7248 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
7250         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7251         (Bug#14826)
7253         * international/mule.el (coding-system-iso-2022-flags): Fix last
7254         change.
7256 2013-07-20  Kenichi Handa  <handa@gnu.org>
7258         * international/mule.el (coding-system-iso-2022-flags):
7259         Add `8-bit-level-4'.  (Bug#8522)
7261 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7263         * net/shr.el (shr-mouse-browse-url): New command and keystroke
7264         (bug#14815).
7266         * net/eww.el (eww-process-text-input): Allow inputting when the
7267         point is at the start of the line, as the properties aren't
7268         front-sticky.
7270         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7271         degenerate widths.
7273 2013-07-19  Richard Stallman  <rms@gnu.org>
7275         * epa.el (epa-popup-info-window): Doc fix.
7277         * subr.el (split-string): New arg TRIM.
7279 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
7281         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7282         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7284 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
7286         * filenotify.el (file-notify--library): Rename from
7287         `file-notify-support'.  Do not autoload.  Adapt all uses.
7288         (file-notify-supported-p): New defun.
7290         * autorevert.el (auto-revert-use-notify):
7291         Use `file-notify-supported-p' instead of `file-notify-support'.
7292         Adapt docstring.
7293         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7295         * net/tramp.el (tramp-file-name-for-operation):
7296         Add `file-notify-supported-p'.
7298         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7299         New defun.
7300         (tramp-sh-file-name-handler-alist): Add it as handler for
7301         `file-notify-supported-p '.
7303         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7304         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7305         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7306         Add `ignore' as handler for `file-notify-*' functions.
7308 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
7310         * simple.el (line-move-partial, line-move): Don't start vscroll or
7311         scroll-up if the current line is not taller than the window.
7312         (Bug#14881)
7314 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
7316         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7317         highlight question marks in the method names as strings.
7318         (ruby-block-beg-keywords): Inline.
7319         (ruby-font-lock-keyword-beg-re): Extract from
7320         `ruby-font-lock-keywords'.
7322 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
7324         * frame.el (blink-cursor-blinks): New defcustom.
7325         (blink-cursor-blinks-done): New defvar.
7326         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7327         (blink-cursor-timer-function): Check if number of blinks has been
7328         done on X and NS.
7329         (blink-cursor-suspend, blink-cursor-check): New defuns.
7331 2013-07-15  Glenn Morris  <rgm@gnu.org>
7333         * edmacro.el (edmacro-format-keys): Fix previous change.
7335 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
7337         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7338         The hack didn't work outside English locales anyway.
7340 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
7342         * simple.el (define-alternatives): Rename from alternatives-define,
7343         per RMS' suggestion.
7345 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
7347         * desktop.el (desktop-restore-frames): Change default to t.
7348         (desktop-restore-in-current-display): Now offer more options.
7349         (desktop-restoring-reuses-frames): New customization option.
7350         (desktop--saved-states): Doc fix.
7351         (desktop-filter-parameters-alist): New variable, renamed and expanded
7352         from desktop--excluded-frame-parameters.
7353         (desktop--target-display): New variable.
7354         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7355         (desktop--filter-tty*, desktop--filter-*-color)
7356         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7357         (desktop--filter-save-desktop-parm)
7358         (desktop-restore-in-original-display-p): New functions.
7359         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7360         (desktop--save-minibuffer-frames): New function, inspired by a similar
7361         function from Martin Rudalics.
7362         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7363         (desktop--restore-in-this-display-p): Remove.
7364         (desktop--find-frame): Rename from desktop--find-frame-in-display
7365         and add predicate argument.
7366         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7367         (desktop--reuse-list): New variable.
7368         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7369         New functions.
7370         (desktop--restore-frames): Add support for "minibuffer-special" frames.
7372 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
7374         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7376 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
7378         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7379         Highlight conversion methods on Kernel.
7381 2013-07-13  Alan Mackenzie  <acm@muc.de>
7383         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7384         and comment it out.  This out-commenting enables certain C++
7385         declarations to be parsed correctly.
7387 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
7389         * international/mule.el (define-coding-system): Doc fix.
7391         * simple.el (default-font-height): Don't call font-info if the
7392         frame's default font didn't change since the frame was created.
7393         (Bug#14838)
7395 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7397         * ido.el (ido-read-file-name): Guard against non-symbol value.
7399 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
7401         * progmodes/python.el (python-imenu--build-tree): Fix corner case
7402         in nested defuns.
7404 2013-07-13  Leo Liu  <sdl.web@gmail.com>
7406         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7407         ido-set-matches call.  (Bug#6852)
7409 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
7411         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7412         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7413         Ruby 2.0.
7414         (ruby-font-lock-keywords): Distinguish calls to functions with
7415         module-like names from module references.  Highlight character
7416         literals.
7418 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
7420         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7421         (gdb-send): Handle continued commands.  (Bug#14847)
7423 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7425         * desktop.el (desktop--v2s): Remove unused local variable.
7426         (desktop-save-buffer): Make defvar-local; adjust docstring.
7427         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7428         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7430 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
7432         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7434 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
7436         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7437         (Bug#14842)
7439 2013-07-12  Glenn Morris  <rgm@gnu.org>
7441         * doc-view.el: Require cl-lib at runtime too.
7442         (doc-view-remove-if): Remove.
7443         (doc-view-search-next-match, doc-view-search-previous-match):
7444         Use cl-remove-if.
7446         * edmacro.el: Require cl-lib at runtime too.
7447         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7448         (edmacro-mismatch, edmacro-subseq): Remove.
7450         * shadowfile.el: Require cl-lib.
7451         (shadow-remove-if): Remove.
7452         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7453         Use cl-remove-if.
7455         * wid-edit.el: Require cl-lib.
7456         (widget-choose): Use cl-remove-if.
7457         (widget-remove-if): Remove.
7459         * progmodes/ebrowse.el: Require cl-lib at runtime too.
7460         (ebrowse-delete-if-not): Remove.
7461         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7462         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7463         Use cl-delete-if-not.
7465 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
7467         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7468         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7470 2013-07-12  Leo Liu  <sdl.web@gmail.com>
7472         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
7474 2013-07-11  Glenn Morris  <rgm@gnu.org>
7476         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7477         (edebug-gensym-index, edebug-gensym):
7478         Remove reimplementation of cl-gensym.
7479         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7481         * thumbs.el: Require cl-lib at run-time too.
7482         (thumbs-gensym-counter, thumbs-gensym):
7483         Remove reimplementation of cl-gensym.
7484         (thumbs-temp-file): Use cl-gensym.
7486         * emacs-lisp/ert.el: Require cl-lib at runtime too.
7487         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
7488         (ert--intersection, ert--set-difference, ert--set-difference-eq)
7489         (ert--union, ert--gensym-counter, ert--gensym-counter)
7490         (ert--coerce-to-vector, ert--remove*, ert--string-position)
7491         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
7492         (ert-make-test-unbound, ert--expand-should-1)
7493         (ert--expand-should, ert--should-error-handle-error)
7494         (should-error, ert--explain-equal-rec)
7495         (ert--plist-difference-explanation, ert-select-tests)
7496         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
7497         Use cl-lib functions rather than reimplementations.
7499 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
7501         * net/tramp.el (tramp-methods): Extend docstring.
7502         (tramp-connection-timeout): New defcustom.
7503         (tramp-error-with-buffer): Reset timestamp only when appropriate.
7504         (with-tramp-progress-reporter): Simplify.
7505         (tramp-process-actions): Improve messages.
7507         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7508         * net/tramp-sh.el (tramp-maybe-open-connection):
7509         Use `tramp-connection-timeout'.
7510         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
7511         (Bug#14808)
7513 2013-07-11  Leo Liu  <sdl.web@gmail.com>
7515         * ido.el (ido-read-file-name): Conform to the requirements of
7516         read-file-name.  (Bug#11861)
7517         (ido-read-directory-name): Conform to the requirements of
7518         read-directory-name.
7520 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
7522         * subr.el (delay-warning): New function.
7524 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
7526         * simple.el (default-line-height): New function.
7527         (line-move-partial, line-move): Use it instead of computing the
7528         line height inline.
7529         (line-move-partial): Always compute ROWH.  If the last line is
7530         partially-visible, but its text is completely visible, allow
7531         cursor to enter such a partially-visible line.
7533 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
7535         Improve error messages.  (Bug#14808)
7537         * net/tramp.el (tramp-current-connection): New defvar, moved from
7538         tramp-sh.el.
7539         (tramp-message-show-progress-reporter-message): Remove, not
7540         needed anymore.
7541         (tramp-error-with-buffer): Show message in minibuffer.
7542         Discard input before waiting.  Reset connection timestamp.
7543         (with-tramp-progress-reporter): Improve messages.
7544         (tramp-process-actions): Use progress reporter.  Delete process in
7545         case of error.  Improve messages.
7547         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
7548         Call `tramp-error-with-buffer' with vector and buffer.
7549         (tramp-current-connection): Remove.
7550         (tramp-maybe-open-connection): The car of
7551         `tramp-current-connection' are the first 3 slots of the vector.
7553 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
7555         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
7556         inside continued strings.
7558 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
7560         Timestamp fixes for undo (Bug#14824).
7561         * files.el (clear-visited-file-modtime): Move here from fileio.c.
7563 2013-07-10  Leo Liu  <sdl.web@gmail.com>
7565         * files.el (require-final-newline): Allow safe local value.
7566         (Bug#14834)
7568 2013-07-09  Leo Liu  <sdl.web@gmail.com>
7570         * ido.el (ido-read-directory-name): Handle fallback.
7571         (ido-read-file-name): Update DIR to ido-current-directory.
7572         (Bug#1516)
7573         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
7575 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
7577         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
7578         "autoload".  Remove "warn lower camel case" section, previously
7579         commented out.  Highlight negation char.  Do not highlight the
7580         target in singleton method definitions.
7582 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
7584         * faces.el (tty-setup-hook): Declare the hook.
7586         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
7587         and detect when a guard/pred depends on local vars (bug#14773).
7588         (pcase--u1): Adjust caller.
7590 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
7592         * simple.el (line-move-partial, line-move): Account for
7593         line-spacing.
7594         (line-move-partial): Avoid setting vscroll when the last
7595         partially-visible line in window is of default height.
7597 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7599         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
7600         been used a while.
7602 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
7604         * subr.el (read-quoted-char): Remove unused local variable `char'.
7606 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
7608         * ediff.el (ediff-version): Version update.
7609         (ediff-files-command, ediff3-files-command, ediff-merge-command)
7610         (ediff-merge-with-ancestor-command, ediff-directories-command)
7611         (ediff-directories3-command, ediff-merge-directories-command)
7612         (ediff-merge-directories-with-ancestor-command): New functions.
7613         All are command-line interfaces to ediff: to facilitate calling
7614         Emacs with the appropriate ediff functions invoked.
7616         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
7617         (viper-save-kill-buffer): Check if buffer is modified.
7619         * viper.el (viper-version): Version update.
7620         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
7622 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
7624         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
7625         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
7626         (viper-intercept-ESC-key): Simplify.
7627         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
7628         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
7629         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
7630         (viper-setup-ESC-to-escape): New functions.
7631         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
7632         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
7634 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
7636         * simple.el (default-font-height, window-screen-lines):
7637         New functions.
7638         (line-move, line-move-partial): Use them instead of
7639         frame-char-height and window-text-height.  This makes scrolling
7640         text smoother when the buffer's default face uses a font that is
7641         different from the frame's default font.
7643 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
7645         * files.el (write-file): Do not display confirm dialog for NS,
7646         it does its own dialog, which can't be canceled (Bug#14578).
7648 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
7650         * simple.el (line-move-partial): Adjust the row returned by
7651         posn-at-point for the current window-vscroll.  (Bug#14567)
7653 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
7655         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
7656         (tramp-sh-file-inotifywait-process-filter): Handle file names with
7657         spaces.
7659 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
7661         * window.el (window-state-put-stale-windows): New variable.
7662         (window--state-put-2): Save list of windows without matching buffer.
7663         (window-state-put): Remove "bufferless" windows if possible.
7665 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7667         * simple.el (alternatives-define): Remove leftover :group keyword.
7668         Tweak docstring.
7670 2013-07-06  Leo Liu  <sdl.web@gmail.com>
7672         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
7673         (ido-enable-virtual-buffers): New variable.
7674         (ido-buffer-internal, ido-toggle-virtual-buffers)
7675         (ido-make-buffer-list): Use it.
7676         (ido-exhibit): Support turning on and off virtual buffers
7677         automatically.
7679 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
7681         * simple.el (alternatives-define): New macro.
7683 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
7685         * subr.el (read-quoted-char): Use read-key.
7686         (sit-for): Let read-event decode tty input (bug#14782).
7688 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
7690         * calendar/todo-mode.el: Add handling of file deletion, both by
7691         mode command and externally.  Fix various related bugs.
7692         Clarify Commentary and improve some documentation strings and code.
7693         (todo-delete-file): New command.
7694         (todo-check-file): New function.
7695         (todo-show): Handle external deletion of the file we're trying to
7696         show (bug#14688).  Replace called-interactively-p by an optional
7697         prefix argument to avoid problematic interaction with catch form
7698         when byte compiled (bug#14702).
7699         (todo-quit): Handle external deletion of the archive's todo file.
7700         Make sure the buffer that was visiting the archive file is still
7701         live before trying to bury it.
7702         (todo-category-completions): Handle external deletion of any
7703         category completion files.
7704         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
7705         of todo files, in case of external deletion.
7706         (todo-add-file): Replace unnecessary setq by let-binding.
7707         (todo-find-archive): Check whether there are any archives.
7708         Replace unnecessary setq by let-binding.
7709         (todo-archive-done-item): Use find-file-noselect to get the
7710         archive buffer whether or not the archive already exists.
7711         Remove superfluous code.  Use file size instead of buffer-file-name to
7712         check if the archive is new; if it is, update list of archives.
7713         (todo-default-todo-file): Allow nil to be a valid value for when
7714         there are no todo files.
7715         (todo-reevaluate-default-file-defcustom): Use corrected definition
7716         of todo-default-todo-file.
7717         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
7718         (todo-delete-category, todo-show-categories-table)
7719         (todo-category-number): Clarify comment.
7720         (todo-filter-items): Clarify documentation string.
7721         (todo-show-current-file, todo-display-as-todo-file)
7722         (todo-reset-and-enable-done-separator): Tweak documentation string.
7723         (todo-done-separator): Make separator length window-width, since
7724         bug#2749 is now fixed.
7726 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
7728         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
7729         Support both "gvfs-monitor-dir" and "inotifywait".
7730         (tramp-sh-file-inotifywait-process-filter): Rename from
7731         `tramp-sh-file-notify-process-filter'.
7732         (tramp-sh-file-gvfs-monitor-dir-process-filter)
7733         (tramp-get-remote-gvfs-monitor-dir): New defuns.
7735 2013-07-05  Leo Liu  <sdl.web@gmail.com>
7737         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
7739 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
7741         * frame.el (display-pixel-height, display-pixel-width)
7742         (display-mm-height, display-mm-width): Mention behavior on
7743         multi-monitor setups in docstrings.
7744         (w32-display-monitor-attributes-list): Declare function.
7745         (display-monitor-attributes-list): Use it.
7747 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
7749         * filenotify.el: New package.
7751         * autorevert.el (top): Require filenotify.el.
7752         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
7753         instead.
7754         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
7755         (auto-revert-notify-handler): Use `file-notify-*' functions.
7757         * subr.el (file-notify-handle-event): Move function to filenotify.el.
7759         * net/tramp.el (tramp-file-name-for-operation):
7760         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
7762         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
7763         for `file-notify-add-watch' and `file-notify-rm-watch'.
7764         (tramp-process-sentinel): Improve trace.
7765         (tramp-sh-handle-file-notify-add-watch)
7766         (tramp-sh-file-notify-process-filter)
7767         (tramp-sh-handle-file-notify-rm-watch)
7768         (tramp-get-remote-inotifywait): New defuns.
7770 2013-07-03  Juri Linkov  <juri@jurta.org>
7772         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
7773         call of `occur-read-primary-args' to interactive spec.
7775         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
7776         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
7778 2013-07-03  Matthias Meulien  <orontee@gmail.com>
7780         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
7781         `Buffer-menu-multi-occur'.  Add it to the menu.
7782         (Buffer-menu-mode): Document it in docstring.
7783         (Buffer-menu-multi-occur): New command.  (Bug#14673)
7785 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7787         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
7788         keywords and built-ins.
7790 2013-07-03  Glenn Morris  <rgm@gnu.org>
7792         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
7794         Make info-xref checks case-sensitive by default
7795         * info.el (Info-find-node, Info-find-in-tag-table)
7796         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
7797         Add option for exact case matching of nodes.
7798         * info-xref.el (info-xref): New custom group.
7799         (info-xref-case-fold): New option.
7800         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
7802 2013-07-03  Leo Liu  <sdl.web@gmail.com>
7804         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
7806 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
7808         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
7809         middle of block statement initially, lower the depth.  Remove
7810         FIXME comment, not longer valid.  Remove middle of block statement
7811         detection, no need to do that anymore since we've been using
7812         `ruby-parse-region' here.
7814 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
7816         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
7818 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
7820         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
7822 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
7824         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
7825         (desktop-restore-in-current-display): New customization option.
7826         (desktop--excluded-frame-parameters): Add `font'.
7827         (desktop--save-frames): Rename from desktop--save-windows.
7828         (desktop--restore-in-this-display-p): New function.
7829         (desktop--make-full-frame): Remove unwanted width/height from
7830         full(width|height) frames.
7831         (desktop--restore-frames): Rename from desktop--restore-windows.
7832         Obey desktop-restore-current-display.  Do not delete old frames or
7833         select a new frame unless we were able to restore at least one frame.
7835 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
7837         * files.el (find-file-noselect): Simplify conditional expression.
7839         * textmodes/remember.el (remember-append-to-file):
7840         Don't mix `find-buffer-visiting' and `get-file-buffer'.
7842         Add `remember-notes' function to store random notes across Emacs
7843         restarts.
7844         * textmodes/remember.el (remember-data-file): Add :set callback to affect
7845         notes buffer (if any).
7846         (remember-notes): New command.
7847         (remember-notes-buffer-name, bury-remember-notes-on-kill):
7848         New defcustoms for the `remember-notes' function.
7849         (remember-notes-save-and-bury-buffer): New command.
7850         (remember-notes-mode-map): New variable.
7851         (remember-mode): New minor mode.
7852         (remember-notes--kill-buffer-query): New function.
7853         * startup.el (initial-buffer-choice): Add notes to custom type.
7855 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
7857         * bindings.el (right-char, left-char): Don't call sit-for, this is
7858         no longer needed.  Use arithmetic comparison only for numerical
7859         arguments.
7861         * international/mule-cmds.el (select-safe-coding-system):
7862         Handle the case of FROM being a string correctly.  (Bug#14755)
7864 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7866         * net/shr.el (shr-make-table-1): Add a sanity check that allows
7867         progression on degenerate tables.
7868         (shr-rescale-image): ImageMagick animated images currently don't work.
7870 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
7872         Some fixes and improvements for desktop frame restoration.
7873         It is still experimental and disabled by default.
7874         * desktop.el (desktop--save-windows): Put the selected frame at
7875         the head of the list.
7876         (desktop--make-full-frame): New function.
7877         (desktop--restore-windows): Try to re-select the frame that was
7878         selected upon saving.  Do not abort if some frames fail to restore,
7879         just show an error message and continue.  Set up maximized frames
7880         so they have default non-maximized dimensions.
7882 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
7884         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
7885         Don't start heredoc inside a string or comment.
7887 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
7889         * bindings.el (visual-order-cursor-movement): New defcustom.
7890         (right-char, left-char): Provide visual-order cursor motion by
7891         calling move-point-visually.  Update the doc strings.
7893 2013-06-28  Kenichi Handa  <handa@gnu.org>
7895         * international/mule.el (define-coding-system): New coding system
7896         properties :inhibit-null-byte-detection,
7897         :inhibit-iso-escape-detection, and :prefer-utf-8.
7898         (set-buffer-file-coding-system): If :charset-list property of
7899         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
7900         appropriate for setting.
7902         * international/mule-cmds.el (select-safe-coding-system):
7903         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
7904         multibyte characters, return utf-8 (or one of its siblings).
7906         * international/mule-conf.el (prefer-utf-8): New coding system.
7907         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
7908         files.
7910 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
7912         * net/shr.el (shr-render-region): New function.
7914         * net/eww.el: Autoload `eww-browse-url'.
7916 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
7918         * emacs-lisp/package-x.el (package-upload-buffer-internal):
7919         Adapt to `package-desc-version' being a list.
7920         Use `package--ac-desc-version' to retrieve version from a package
7921         archive element.
7923 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
7925         New experimental feature to save&restore window and frame setup.
7926         * desktop.el (desktop-save-windows): New defcustom.
7927         (desktop--saved-states): New var.
7928         (desktop--excluded-frame-parameters): New defconst.
7929         (desktop--filter-frame-parms, desktop--find-frame-in-display)
7930         (desktop--restore-windows, desktop--save-windows): New functions.
7931         (desktop-save): Call `desktop--save-windows'.
7932         (desktop-read): Call `desktop--restore-windows'.
7934 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7936         * net/shr.el (add-face-text-property): Remove compat definition.
7938 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7940         * info.el (Info-try-follow-nearest-node): Move search for footnote
7941         above search for node name to prevent missing a footnote (bug#14717).
7943 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
7945         * obsolete/otodo-mode.el: Add obsolescence info to file header.
7947 2013-06-27  Leo Liu  <sdl.web@gmail.com>
7949         * net/eww.el (eww-read-bookmarks): Check file size.
7951 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7953         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
7954         advice--pending if newdef is nil or an autoload (bug#13820).
7955         (advice-mapc): New function.
7957 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7959         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
7960         probably.
7961         (eww-mode-map): Add a menu bar.
7962         (eww-add-bookmark): New command.
7963         (eww-bookmark-mode): New mode and commands.
7964         (eww-add-bookmark): Remove newlines from the title.
7965         (eww-bookmark-browse): Don't bug out if it's the only window.
7967 2013-06-26  Glenn Morris  <rgm@gnu.org>
7969         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
7970         (hfy-size): Handle ttys.  (Bug#14668)
7972         * info-xref.el: Update for Texinfo 5 change in *note format.
7973         (info-xref-node-re, info-xref-note-re): New constants.
7974         (info-xref-check-buffer): Use info-xref-note-re.
7976 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
7978         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
7980         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
7981         nil terminate the loop (bug#14718).
7983 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
7985         * net/eww.el: Rework history traversal.  When going forward/back,
7986         put these actions into the history, too, so that they can be
7987         replayed.
7988         (eww-render): Move the history reset to the correct buffer.
7990 2013-06-25  Juri Linkov  <juri@jurta.org>
7992         * files-x.el (modify-dir-local-variable): Change the header comment
7993         in the file with directory local variables.  (Bug#14692)
7995         * files-x.el (read-file-local-variable-value): Add `default'.
7996         (Bug#14710)
7998 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8000         * net/eww.el (eww-make-unique-file-name): Create a unique file
8001         name before saving to entering `y' accidentally asynchronously.
8003 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
8005         * net/eww.el (eww-download): New command and keystroke.
8007 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8009         * net/eww.el (eww-copy-page-url): Change name of command.
8011         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8012         be more consistent with Info and dired.
8014         * net/eww.el (eww-mode-map): Ditto.
8016 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8018         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
8019         packages from archives.
8020         (package-archive-contents): Change format; include obsolete packages.
8021         (package-desc): Use `dir' to mark builtin packages.
8022         (package--from-builtin): Set the `dir' field to `builtin'.
8023         (generated-autoload-file, version-control): Declare.
8024         (package-compute-transaction): Change first arg and return value to be
8025         lists of package-descs.  Adjust to new package-archive-contents format.
8026         (package--add-to-archive-contents): Adjust to new
8027         package-archive-contents format.
8028         (package-download-transaction): Arg is now a list of package-descs.
8029         (package-install): If `pkg' is a package name, pass it as
8030         a requirement, so it is subject to the usual (e.g. disabled) checks.
8031         (describe-package): Accept package-desc as well.
8032         (describe-package-1): Describe a specific package-desc.  Add links to
8033         other package-descs for the same package name.
8034         (package-menu-describe-package): Pass the actual package-desc.
8035         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8036         works correctly.
8037         (package-desc-status): New function.
8038         (package-menu--refresh): New function, extracted
8039         from package-menu--generate.
8040         (package-menu--generate): Use it.
8041         (package-delete): Update package-alist.
8042         (package-menu-execute): Don't call package-initialize.
8044         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8045         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8046         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8047         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8048         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8049         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8051 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
8053         * window.el (window--state-get-1): Workaround for bug#14527.
8054         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8056 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8058         * net/eww.el (eww-back-url): Implement the history by stashing all
8059         the data into a list.
8060         (eww-forward-url): Allow going forward in the history, too.
8062 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8064         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8065         for values and use read--expression for expressions (bug#14710).
8066         (read-file-local-variable): Avoid setq.
8067         (read-file-local-variable-mode): Use minor-mode-list.
8069 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8071         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8072         for DOI URLs.
8074 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8076         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8077         Update imenu-support when dialect changes.
8079 2013-06-25  Leo Liu  <sdl.web@gmail.com>
8081         * ido.el (ido-read-internal): Allow forward slash on windows.
8083 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8085         * net/eww.el (eww): Start of strings is \\`, not ^.
8087 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8089         * net/shr.el (shr-browse-url): Fix interactive spec.
8091         * net/eww.el (eww): Add a trailing slash to domain names.
8093 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
8095         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8097 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8099         * net/shr.el (shr-browse-url): Use an external browser if given a
8100         prefix.
8102         * net/eww.el (eww-external-browser): Move to shr.
8104 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
8106         * net/eww.el (eww): Work more correctly for file: URLs.
8107         (eww-detect-charset): Allow quoted charsets.
8108         (eww-yank-page-url): New command and keystroke.
8110 2013-06-24  Daiki Ueno  <ueno@gnu.org>
8112         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8113         file name of gpg executable.
8114         (epg-context-program): New function.
8115         (epg-context-home-directory): New function.
8116         (epg-context-set-program): New function.
8117         (epg-context-set-home-directory): New function.
8118         (epg--start): Use `epg-context-program' instead of
8119         'epg-gpg-program'.
8120         (epg--list-keys-1): Likewise.
8122 2013-06-24  Leo Liu  <sdl.web@gmail.com>
8124         * ido.el (ido-read-internal): Fix bug#14620.
8126 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8128         * faces.el (face-documentation): Simplify.
8129         (read-face-attribute, tty-find-type, x-resolve-font-name):
8130         Use `string-match-p'.
8131         (list-faces-display): Use `string-match-p'.  Simplify.
8132         (face-spec-recalc): Check face to avoid face alias loops.
8133         (read-color): Use `string-match-p' and non-capturing parenthesis.
8135 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8137         * net/shr.el (shr-rescale-image): Use the new
8138         :max-width/:max-height functionality.
8140 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
8142         * net/eww.el (eww-search-prefix): New variable.
8143         (eww): Use it.
8144         (eww-external-browser): New variable.
8145         (eww-mode-map): New keystroke.
8146         (eww-browse-with-external-browser): New command.
8148         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8150 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
8152         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8153         Don't skip aligning the next header field when padding is 0;
8154         otherwise, field width is not respected unless the title is as
8155         wide as the field.
8157 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8159         * emacs-lisp/package.el (package-el-version): Remove.
8160         (package-process-define-package): Fix inf-loop.
8161         (package-install): Allow symbols as arguments again.
8163 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8165         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8166         add some more keyword-like methods.
8167         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8169 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
8171         * bs.el (bs-buffer-show-mark): Make defvar-local.
8172         (bs-mode): Use setq-local.
8174         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8175         (emacs-lock--try-unlocking): Make defvar-local.
8177 2013-06-22  Glenn Morris  <rgm@gnu.org>
8179         * play/cookie1.el (cookie-apropos): Minor simplification.
8181         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8183 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
8185         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8186         `regexp-opt', it breaks the build during dumping.
8188 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
8190         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8191         Highlight keyword-like methods on Kernel and Module with
8192         font-lock-builtin-face.
8193         (auto-mode-alist): Consolidate different entries into one regexp
8194         and add more *file-s.
8196 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
8198         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8200         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8201         (diary-entry): Use it in the action of this button type instead of
8202         diary-goto-entry.
8204         * calendar/todo-mode.el: New version.
8205         (todo-add-category): Append new category to end of file and give
8206         it the highest number, instead of putting it at the beginning and
8207         giving it 0.  Incorporate noninteractive functionality.
8208         (todo-forward-category): Adapt to 1-based category numbering.
8209         Allow skipping over archived categories.
8210         (todo-backward-category): Derive from todo-forward-category.
8211         (todo-backward-item, todo-forward-item): Make noninteractive and
8212         delegate interactive part to new commands.  Make sensitive to done items.
8213         (todo-categories): Make value an alist of category names and
8214         vectors of item counts.
8215         (todo-category-beg): Make a defconst.
8216         (todo-category-number): Use 1 instead of 0 as initial value.
8217         (todo-category-select): Make sensitive to overlays, optional item
8218         highlighting and done items.
8219         (todo-delete-item): Make sensitive to overlays and marked and done items.
8220         (todo-edit-item): Make sensitive to overlays and editing of
8221         date/time header optional.  Add format checks.
8222         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
8223         no-op if point is not on an item.  Advertise using todo-edit-quit.
8224         (todo-edit-mode): Make sensitive to new format, font-locking, and
8225         multiple todo files.
8226         (todo-insert-item, todo-insert-item-here): Derive from
8227         todo-basic-insert-item and extend functionality.
8228         (todo-item-end, todo-item-start): Make sensitive to done items.
8229         (todo-item-string): Don't return text properties.  Restore point.
8230         (todo-jump-to-category): Make sensitive to multiple todo files and
8231         todo archives.  Use extended category completion.
8232         (todo-lower-item, todo-raise-item): Rename to *-priority and
8233         derive from todo-set-item-priority.
8234         (todo-mode): Derive from special-mode.  Make sensitive to new
8235         format, font-locking and multiple todo files.  Make read-only.
8236         (todo-mode-map): Don't suppress digit keys, so they can supply
8237         prefix arguments.  Add many new key bindings.
8238         (todo-prefix): Insert as an overlay instead of file text.
8239         Change semantics from diary date expression to purely visual mark.
8240         (todo-print): Rename to todo-print-buffer.  Make buffer display
8241         features printable.  Remove option to restrict number of items
8242         printed.  Add option to print to file.
8243         (todo-print-function): Rename to todo-print-buffer-function.
8244         (todo-quit): Extend to handle exiting new todo modes.
8245         (todo-remove-item): Make sensitive to overlays.
8246         (todo-save): Extend to buffers of filtered items.
8247         (todo-show): Make sensitive to done items, multiple todo files and
8248         new todo modes.  Offer to convert legacy todo file before creating
8249         first new todo file.
8250         (todo-show-priorities): Rename to todo-top-priorities.
8251         Change semantics of value 0.
8252         (todo-top-priorities): Rename to todo-filter-top-priorities,
8253         derive from todo-filter-items and extend functionality.
8254         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8255         and extend functionality to other types of filtered items.
8256         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8257         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8258         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8259         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8260         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8261         (todo-edit-mode-hook, todo-entry-prefix-function)
8262         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8263         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8264         (todo-initials, todo-insert-threshold, todo-item-string-start)
8265         (todo-line-string, todo-menu, todo-mode-hook)
8266         (todo-more-important-p, todo-previous-answer, todo-previous-line)
8267         (todo-print-priorities, todo-remove-separator)
8268         (todo-save-top-priorities-too, todo-string-count-lines)
8269         (todo-string-multiline-p, todo-time-string-format)
8270         (todo-tmp-buffer-name): Remove.
8271         (todo-add-file, todo-archive-done-item, todo-choose-archive)
8272         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8273         (todo-edit-category-diary-inclusion)
8274         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8275         (todo-edit-file, todo-edit-item-date-day)
8276         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8277         (todo-edit-item-date-month, todo-edit-item-date-to-today)
8278         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8279         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8280         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8281         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8282         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8283         (todo-filter-top-priorities-multifile, todo-find-archive)
8284         (todo-find-filtered-items-file, todo-go-to-source-item)
8285         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8286         (todo-jump-to-archive-category, todo-lower-category)
8287         (todo-mark-category, todo-marked-item-p, todo-merge-category)
8288         (todo-move-category, todo-move-item, todo-next-button)
8289         (todo-next-item, todo-padded-string, todo-powerset)
8290         (todo-previous-button, todo-previous-item)
8291         (todo-print-buffer-to-file, todo-raise-category)
8292         (todo-rename-category, todo-repair-categories-sexp, todo-search)
8293         (todo-set-category-number, todo-set-item-priority)
8294         (todo-set-top-priorities-in-category)
8295         (todo-set-top-priorities-in-file, todo-show-categories-table)
8296         (todo-sort-categories-alphabetically-or-numerically)
8297         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8298         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8299         (todo-toggle-item-header, todo-toggle-item-highlighting)
8300         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8301         (todo-toggle-view-done-items, todo-toggle-view-done-only)
8302         (todo-unarchive-items, todo-unmark-category): New commands.
8303         (todo-absolute-file-name, todo-add-to-buffer-list)
8304         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8305         (todo-basic-insert-item, todo-category-completions)
8306         (todo-category-number, todo-category-string-matcher-1)
8307         (todo-category-string-matcher-2, todo-check-filtered-items-file)
8308         (todo-check-format, todo-clear-matches)
8309         (todo-comment-string-matcher, todo-convert-legacy-date-time)
8310         (todo-current-category, todo-date-string-matcher)
8311         (todo-define-insertion-command, todo-diary-expired-matcher)
8312         (todo-diary-goto-entry, todo-diary-item-p)
8313         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8314         (todo-display-categories, todo-display-sorted, todo-done-item-p)
8315         (todo-done-item-section-p, todo-done-separator)
8316         (todo-done-string-matcher, todo-files, todo-filter-items)
8317         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8318         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8319         (todo-insert-category-line, todo-insert-item-from-calendar)
8320         (todo-insert-sort-button, todo-insert-with-overlays)
8321         (todo-insertion-command-name, todo-insertion-key-bindings)
8322         (todo-label-to-key, todo-longest-category-name-length)
8323         (todo-make-categories-list, todo-mode-external-set)
8324         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8325         (todo-modes-set-3, todo-multiple-filter-files)
8326         (todo-nondiary-marker-matcher, todo-prefix-overlays)
8327         (todo-read-category, todo-read-date, todo-read-dayname)
8328         (todo-read-file-name, todo-read-time)
8329         (todo-reevaluate-category-completions-files-defcustom)
8330         (todo-reevaluate-default-file-defcustom)
8331         (todo-reevaluate-filelist-defcustoms)
8332         (todo-reevaluate-filter-files-defcustom)
8333         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8334         (todo-reset-done-separator, todo-reset-done-separator-string)
8335         (todo-reset-done-string, todo-reset-global-current-todo-file)
8336         (todo-reset-highlight-item, todo-reset-nondiary-marker)
8337         (todo-reset-prefix, todo-set-categories)
8338         (todo-set-date-from-calendar, todo-set-show-current-file)
8339         (todo-set-top-priorities, todo-short-file-name)
8340         (todo-show-current-file, todo-sort, todo-time-string-matcher)
8341         (todo-total-item-counts, todo-update-buffer-list)
8342         (todo-update-categories-display, todo-update-categories-sexp)
8343         (todo-update-count, todo-validate-name, todo-y-or-n-p):
8344         New functions.
8345         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8346         New major modes.
8347         (todo-categories, todo-display, todo-edit, todo-faces)
8348         (todo-filtered): New defgroups.
8349         (todo-archived-only, todo-button, todo-category-string, todo-date)
8350         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8351         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8352         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8353         (todo-add-item-if-new-category, todo-always-add-time-string)
8354         (todo-categories-align, todo-categories-archived-label)
8355         (todo-categories-category-label, todo-categories-diary-label)
8356         (todo-categories-done-label, todo-categories-number-separator)
8357         (todo-categories-todo-label, todo-categories-totals-label)
8358         (todo-category-completions-files, todo-completion-ignore-case)
8359         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8360         (todo-done-separator-string, todo-done-string)
8361         (todo-files-function, todo-filter-done-items, todo-filter-files)
8362         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8363         (todo-initial-category, todo-initial-file, todo-item-mark)
8364         (todo-legacy-date-time-regexp, todo-mode-line-function)
8365         (todo-nondiary-marker, todo-number-prefix)
8366         (todo-print-buffer-function, todo-show-current-file)
8367         (todo-show-done-only, todo-show-first, todo-show-with-done)
8368         (todo-skip-archived-categories, todo-top-priorities-overrides)
8369         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8370         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8371         New defcustoms.
8372         (todo-category-done, todo-date-pattern, todo-date-string-start)
8373         (todo-diary-items-buffer, todo-done-string-start)
8374         (todo-filtered-items-buffer, todo-item-start)
8375         (todo-month-abbrev-array, todo-month-name-array)
8376         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8377         (todo-top-priorities-buffer): New defconsts.
8378         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8379         (todo-categories-with-marks, todo-category-string-face)
8380         (todo-comment-face, todo-comment-string, todo-current-todo-file)
8381         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8382         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8383         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8384         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8385         (todo-font-lock-keywords, todo-global-current-todo-file)
8386         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8387         (todo-insertion-commands-args)
8388         (todo-insertion-commands-args-genlist)
8389         (todo-insertion-commands-names, todo-insertion-map)
8390         (todo-key-bindings-t, todo-key-bindings-t+a)
8391         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8392         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8393         (todo-nondiary-face, todo-print-buffer, todo-time-face)
8394         (todo-visited): New variables.
8396 2013-06-21  Glenn Morris  <rgm@gnu.org>
8398         * play/cookie1.el (cookie-apropos): Add optional display argument.
8399         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8400         (psychoanalyze-pinhead): Use cookie-doctor.
8402 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8404         * emacs-lisp/package.el (tar-get-file-descriptor)
8405         (tar--extract): Declare.
8407 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
8409         Extend flymake's warning predicate to be a function (bug#14217).
8410         * progmodes/flymake.el (flymake-warning-predicate): New.
8411         (flymake-parse-line): Use it.
8412         (flymake-warning-re): Make obsolete alias to
8413         `flymake-warning-predicate'.
8415 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8417         * emacs-lisp/package.el (package-alist): Include obsolete packages.
8418         (package-obsolete-list): Remove.
8419         (package-activate): Remove min-version argument.  Add `force' argument.
8420         Adjust to new package-alist format.
8421         (package-mark-obsolete): Remove.
8422         (package-unpack): Force reload of the package's autoloads.
8423         (package-installed-p): Check builtins if the installed package is not
8424         recent enough.
8425         (package-initialize): Don't reset package-obsolete-list.
8426         Don't specify which package version to activate.
8427         (package-process-define-package, describe-package-1)
8428         (package-menu--generate): Adjust to new package-alist format.
8430 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8432         * allout-widgets.el (allout-widgets-mode-off)
8433         (allout-widgets-mode-on, allout-widgets-pre-command-business)
8434         (allout-widgets-post-command-business)
8435         (allout-widgets-after-copy-or-kill-function)
8436         (allout-widgets-after-undo-function, allout-test-range-overlaps)
8437         (allout-decorate-item-and-context)
8438         (allout-graphics-modification-handler): Fix typos in docstrings.
8439         (allout-get-or-create-parent-widget): Use `looking-at-p'.
8441         * cmuscheme.el (scheme-start-file): Doc fix.
8442         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8443         (scheme-input-filter): Use `string-match-p'.
8445         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8447         * dired-x.el: Use Dired consistently in docstrings.
8449         * dired.el: Use Dired consistently in docstrings.
8450         (dired-readin, dired-mode): Use `setq-local'.
8451         (dired-switches-alist): Make defvar-local.
8452         (dired-buffers-for-dir): Use `zerop'.
8453         (dired-safe-switches-p, dired-switches-escape-p)
8454         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8455         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8456         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8457         (dired-goto-next-nontrivial-file): Use `string-match-p'.
8458         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8459         (dired-toggle-marks, dired-mark-files-containing-regexp)
8460         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8461         (dired-flag-auto-save-files, dired-flag-backup-files):
8462         Use `looking-at-p'.
8463         (dired-mark-files-regexp, dired-build-subdir-alist):
8464         Use `string-match-p', `looking-at-p'.
8466         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8467         (direct-print-region-helper): Use `string-match-p'.
8469 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8471         * comint.el (comint-redirect-results-list-from-process):
8472         Fix infinite loop.
8474 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8476         * net/eww.el (eww-update-header-line-format): Quote % characters.
8478 2013-06-21  Glenn Morris  <rgm@gnu.org>
8480         * play/cookie1.el (cookie): New custom group.
8481         (cookie-file): New option.
8482         (cookie-check-file): New function.
8483         (cookie): Make it interactive.  Make start and end messages optional.
8484         Interactively, display the result.  Default to cookie-file.
8485         (cookie-insert): Default to cookie-file.
8486         (cookie-snarf): Make start and end messages optional.
8487         Default to cookie-file.  Use with-temp-buffer.
8488         (cookie-read): Rename from read-cookie.
8489         Make start and end messages optional.  Default to cookie-file.
8490         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
8491         Do not autoload it.
8492         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
8493         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
8495 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8497         * progmodes/octave.el (octave-mode): Backward compatibility fix.
8499 2013-06-21  Glenn Morris  <rgm@gnu.org>
8501         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
8503 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
8504             Daniel Hackney  <dan@haxney.org>
8506         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
8507         Consolidate the single-file vs tarball code.
8508         (package-desc-suffix): New function.
8509         (package-desc-full-name): Don't bother inlining it.
8510         (package-load-descriptor): Return the new package-desc.
8511         (package-mark-obsolete): Remove unused arg `package'.
8512         (package-unpack): Make it work for single files as well.
8513         Make it update package-alist.
8514         (package--make-autoloads-and-stuff): Rename from
8515         package--make-autoloads-and-compile.  Don't compile any more.
8516         (package--compile): New function.
8517         (package-generate-description-file): New function, extracted from
8518         package-unpack-single.
8519         (package-unpack-single): Remove.
8520         (package--with-work-buffer): Add indentation and debugging info.
8521         (package-download-single): Remove.
8522         (package-install-from-archive): Rename from package-download-tar, make
8523         it take a pkg-desc, and make it work for single files as well.
8524         (package-download-transaction): Simplify.
8525         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
8526         external tar program.
8527         (package-install-from-buffer): Remove `pkg-desc' argument.
8528         Use package-tar-file-info for tar-mode buffers.
8529         (package-install-file): Simplify accordingly.
8530         (package-archive-base): Change to take a pkg-desc.
8531         * tar-mode.el (tar--check-descriptor): New function, extracted from
8532         tar-get-descriptor.
8533         (tar-get-descriptor): Use it.
8534         (tar-get-file-descriptor): New function.
8535         (tar--extract): New function, extracted from tar-extract.
8536         (tar--extract): Use it.
8537         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
8538         case the summary uses non-ascii.  Adjust to new calling convention of
8539         package-tar-file-info.
8541 2013-06-21  Leo Liu  <sdl.web@gmail.com>
8543         * comint.el (comint-redirect-results-list-from-process):
8544         Fix random delay.  (Bug#14681)
8546 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
8548         * profiler.el (profiler-format-number): Use log, not log10.
8550 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8552         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
8554 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8556         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
8557         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
8558         yet available.
8559         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
8560         (AUTOGENEL): ... here.
8561         * emacs-lisp/cl-macs.el (cl--sublis): New function.
8562         (cl--defsubst-expand): Use it.
8564 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
8566         * subr.el (log10): Move here from C code, and declare as obsolete.
8567         All uses of (log10 X) replaced with (log X 10).
8569 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8571         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
8572         Declare with `defvar-local'.
8573         (tabulated-list-use-header-line, tabulated-list-entries)
8574         (tabulated-list-padding, tabulated-list-printer)
8575         (tabulated-list-sort-key): Declare with `defvar-local'.
8576         (tabulated-list-init-header, tabulated-list-print-fake-header):
8577         Use `setq-local'.
8579 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
8581         * arc-mode.el (archive-mode): Add `archive-write-file' to
8582         `write-contents-functions' also for remote files.  (Bug#14652)
8584 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
8586         * cus-edit.el (custom-commands): Fix typos.
8587         (custom-display): Fix tooltip text.
8588         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
8589         Fix typos in docstrings.
8590         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
8591         (custom-unlispify-menu-entry, custom-magic-value-create)
8592         (custom-add-see-also, custom-group-value-create): Use ?\s.
8593         (custom-guess-type, customize-apropos, editable-field)
8594         (custom-face-value-create): Use `string-match-p'.
8595         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
8597         * custom.el (custom-load-symbol): Use `string-match-p'.
8599         * ansi-color.el: Convert to lexical binding.
8600         (ansi-colors): Fix URL.
8601         (ansi-color-context, ansi-color-context-region): Use defvar-local.
8602         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
8603         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
8605 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8607         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
8609         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
8611 2013-06-19  Tom Tromey  <tromey@redhat.com>
8613         * net/eww.el (eww-top-url): Remove.
8614         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
8615         (eww-render): Set new variables.  Don't set eww-top-url.
8616         (eww-handle-link): Handle "prev", "home", and "contents".
8617         Downcase the rel text.
8618         (eww-top-url): Choose best top URL.
8620 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8622         * net/eww.el: Rewrite to implement form elements "by hand" instead of
8623         relying in widget.el.  Using widget.el leads to too many
8624         user interface inconsistencies.
8625         (eww-self-insert): Implement entering commands in text fields.
8626         (eww-process-text-input): New function to make text input field editing
8627         work.
8628         (eww-submit): Rewrite to use the new-style form methods.
8629         (eww-select-display): Display the correct selected item.
8630         (eww-change-select): Implement changing the select value.
8631         (eww-toggle-checkbox): Implement radio/checkboxes.
8632         (eww-update-field): Fix compilation error.
8633         (eww-tag-textarea): Implement <textarea>.
8635         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
8636         we don't shadow mode-specific bindings.
8638         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
8639         nothing to push.
8641         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
8643 2013-06-19  Glenn Morris  <rgm@gnu.org>
8645         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
8647 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8649         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
8650         not needed.
8652         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
8654 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8656         * net/browse-url.el (browse-url-browser-function):
8657         `eww-browse-url' has the right calling signature, `eww' does not.
8659 2013-06-19  Glenn Morris  <rgm@gnu.org>
8661         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
8662         Only eval autoloaded macros.
8663         (byte-compile-autoload): Only give the macro warning for macros.
8665         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
8666         (ps-underlined-faces): Declare.
8668         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
8669         (speedbar-add-supported-extension): Declare.
8671         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
8672         Don't include a date stamp in the header of the generated file;
8673         it leads to needless differences between output files.
8675 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
8677         * net/secrets.el (secrets-struct-secret-content-type):
8678         Replace check of introspection data by a test call of "CreateItem".
8679         Some servers do not offer introspection.
8681 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8683         * electric.el (electric-pair-mode): Improve interaction with
8684         electric-layout-mode.
8685         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
8686         (electric-pair-syntax): Use text-mode-syntax-table in comments
8687         and strings.
8688         (electric-pair--insert): New function.
8689         (electric-pair-post-self-insert-function): Use it and
8690         electric--after-char-pos.
8692 2013-06-19  Leo Liu  <sdl.web@gmail.com>
8694         * progmodes/octave.el (octave-help): Fix regexp.
8696 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8698         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
8699         (shr-table-horizontal-line): Allow nil as a value, and change the
8700         default.
8701         (shr-insert-table-ruler): Respect the nil value.
8703 2013-06-18  Tom Tromey  <tromey@barimba>
8705         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8706         New defvars.
8707         (eww-open-file): New defun.
8708         (eww-render): Initialize new variables.
8709         (eww-display-html): Handle "link" and "a".
8710         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
8711         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
8712         (eww-back-url): Rename from eww-previous-url.
8713         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
8714         New defuns.
8716 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
8718         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
8719         Distinguish ternary operator tokens from slash symbol and slash
8720         char literal.
8722 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8724         Convert symbol prettification into minor mode and global minor mode.
8726         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
8727         `prog-prettify-symbols', and make a local defvar instead of defcustom.
8728         (prettify-symbols--keywords): Rename from
8729         `prog-prettify-symbols-alist' and make a local defvar.
8730         (prettify-symbols--compose-symbol): Rename from
8731         `prog--prettify-font-lock-compose-symbol'.
8732         (prettify-symbols--make-keywords): Rename from
8733         `prog-prettify-font-lock-symbols-keywords' and simplify.
8734         (prog-prettify-install): Remove.
8735         (prettify-symbols-mode): New minor mode, based on
8736         `prog-prettify-install'.
8737         (turn-on-prettify-symbols-mode): New function.
8738         (global-prettify-symbols-mode): New globalized minor mode.
8740         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
8741         * progmodes/cfengine.el (cfengine3-mode):
8742         * progmodes/perl-mode.el (perl-mode): Don't call
8743         `prog-prettify-install'; set `prettify-symbols-alist' instead.
8745 2013-06-18  Juri Linkov  <juri@jurta.org>
8747         * files-x.el (modify-file-local-variable-message): New function.
8748         (modify-file-local-variable)
8749         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
8750         and call `modify-file-local-variable-message' when it's non-nil.
8751         (add-file-local-variable, delete-file-local-variable)
8752         (add-file-local-variable-prop-line)
8753         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
8754         and use it.  (Bug#9820)
8756 2013-06-18  Juri Linkov  <juri@jurta.org>
8758         * emulation/vi.el (vi-shell-op):
8759         * emulation/vip.el (vip-execute-com, ex-command):
8760         * emulation/viper-cmd.el (viper-exec-bang):
8761         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
8762         the call of `shell-command-on-region'.  (Bug#14637)
8764         * simple.el (shell-command-on-region): Doc fix.
8766 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8768         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
8769         (bug#14633).
8771 2013-06-18  Glenn Morris  <rgm@gnu.org>
8773         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
8775         * newcomment.el (comment-search-forward, comment-search-backward):
8776         Doc fix.  (Bug#14376)
8778 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
8780         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
8781         (buffer-face-mode-invoke): Doc fix.
8783 2013-06-18  Matthias Meulien  <orontee@gmail.com>
8785         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
8786         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
8788 2013-06-18  Glenn Morris  <rgm@gnu.org>
8790         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
8791         Replace obsolete function generic-make-keywords with its expansion.
8793         * progmodes/python.el (ffap-alist): Declare.
8795         * textmodes/reftex.el (bibtex-mode-map): Declare.
8797 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8799         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
8800         (package-unpack, package-unpack-single): Return the pkg-dir.
8801         (package-download-transaction): Use it to update package-alist.
8803 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
8805         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
8806         possible choice.
8808 2013-06-17  Juri Linkov  <juri@jurta.org>
8810         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
8812 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8814         * emacs-lisp/package.el (package-load-descriptor):
8815         Remove `with-syntax-table' call, `read' doesn't need it.
8816         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
8818 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8820         * startup.el (command-line): Expand package name returned by
8821         `package--description-file' (bug#14639).
8823 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
8825         * emacs-lisp/package.el (package-load-descriptor): Do not call
8826         `emacs-lisp-mode', just use its syntax table.
8828 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
8830         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
8831         `font-lock-extra-managed-props' if any prettifying keyword is added.
8832         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
8833         (prog-mode): Use `setq-local'.
8835 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8837         * international/characters.el (standard-case-table): Set syntax of ?»
8838         and ?« to punctuation.
8840 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
8842         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
8843         Save relevant match data before calling `syntax-ppss' (bug#14595).
8845 2013-06-15  Juri Linkov  <juri@jurta.org>
8847         * files-x.el (modify-file-local-variable-prop-line): Add local
8848         variables to the end of the existing comment on the first line.
8849         Use `file-auto-mode-skip' to skip interpreter magic line,
8850         and also skip XML declaration.
8852 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
8854         * startup.el (package--builtin-versions): New var.
8855         (package-subdirectory-regexp): Remove.
8856         (package--description-file): Hard code its value instead.
8858         * emacs-lisp/package.el: Don't activate packages older than builtin.
8859         (package-obsolete-list): Rename from package-obsolete-alist, and make
8860         it into a simple list of package-desc.
8861         (package-strip-version): Remove.
8862         (package-built-in-p): Use package--builtin-versions.
8863         (package-mark-obsolete): Simplify.
8864         (package-process-define-package): Mark it obsolete if older than the
8865         builtin version.
8866         (package-handle-response): Use line-end-position.
8867         (package-read-archive-contents, package--download-one-archive):
8868         Simplify.
8869         (package--add-to-archive-contents): Skip if older than the builtin or
8870         installed version.
8871         (package-menu-describe-package): Fix last change.
8872         (package-list-unversioned): New var.
8873         (package-menu--generate): Use it.
8875         * emacs-lisp/autoload.el: Manage package--builtin-versions.
8876         (autoload--insert-text, autoload--insert-cookie-text): New functions.
8877         (autoload-builtin-package-versions): New variable.
8878         (autoload-generate-file-autoloads): Use them.
8879         Remove the list of autoloaded functions/macros from the
8880         (autoload...) comments.
8882         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
8884 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
8886         * simple.el (line-move-partial): Don't jump to the next screen
8887         line as soon as it becomes visible.  Instead, continue enlarging
8888         the vscroll until the portion of a tall screen line that's left on
8889         display is about the height of the frame's default font.
8890         (Bug#14567)
8892 2013-06-15  Glenn Morris  <rgm@gnu.org>
8894         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
8895         compilation-error-regexp-alist void, or local while let-bound.
8897         * progmodes/make-mode.el (makefile-mode-syntax-table):
8898         Treat "=" as punctuation.  (Bug#14614)
8900 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
8902         * help-fns.el (describe-variable):
8903         Add extra line for permanent-local variables.
8905 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
8907         * progmodes/scheme.el (scheme-font-lock-keywords-2):
8908         Add export, import, library.  (Bug#9164)
8909         (library): Set indent function.
8911 2013-06-14  Glenn Morris  <rgm@gnu.org>
8913         * term/xterm.el (xterm--query):
8914         Stop after first matching handler.  (Bug#14615)
8916 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
8918         Add support for dired in saveplace.
8919         * dired.el (dired-initial-position-hook): New variable.
8920         (dired-initial-position): Call hook to place cursor position.
8921         * saveplace.el (save-place-to-alist): Add dired position.
8922         (save-place-dired-hook): New function.
8924 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
8926         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
8927         through a symbol rather than letrec.
8929         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
8930         (package-desc): Add `dir' field.
8931         (package-desc-full-name): New function.
8932         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
8933         (package-maybe-load-descriptor): Remove.
8934         (package-load-all-descriptors): Just call package-load-descriptor.
8935         (package--disabled-p): New function.
8936         (package-desc-vers, package-desc-doc): Remove aliases.
8937         (package--dir): Remove function.
8938         (package-activate): Check if a package is disabled.
8939         (package-process-define-package): New function, extracted from
8940         define-package.
8941         (define-package): Turn into a place holder.
8942         (package-unpack-single, package-tar-file-info):
8943         Use package--description-file.
8944         (package-compute-transaction): Use package--disabled-p.
8945         (package-download-transaction): Don't call
8946         package-maybe-load-descriptor since they're all loaded anyway.
8947         (package-install): Change argument to be a pkg-desc.
8948         (package-delete): Use a single pkg-desc argument.
8949         (describe-package-1): Use package-desc-dir instead of package--dir.
8950         Use package-desc property instead of package-symbol.
8951         (package-install-button-action): Adjust accordingly.
8952         (package--push): Rewrite.
8953         (package-menu--print-info): Adjust accordingly.  Change the ID format
8954         to be a pkg-desc.
8955         (package-menu-describe-package, package-menu-get-status)
8956         (package-menu--find-upgrades, package-menu-mark-upgrades)
8957         (package-menu-execute, package-menu--name-predicate):
8958         Adjust accordingly.
8959         * startup.el (package--description-file): New function.
8960         (command-line): Use it.
8961         * emacs-lisp/package-x.el (package-upload-buffer-internal):
8962         Use package-desc-version.
8964         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
8965         (byte-compile-preprocess): Use it.
8966         (byte-compile-file-form-defalias): Try a bit harder to use macros we
8967         can't quite recognize.
8968         (byte-compile-add-to-list): Remove.
8969         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
8970         (cconv-closure-convert): Add assertion.
8972         * emacs-lisp/map-ynp.el: Use lexical-binding.
8973         (map-y-or-n-p): Remove unused vars `tail' and `object'.
8974         Factor out some repeated code.
8976 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
8978         * subr.el (with-eval-after-load): New macro.
8979         (eval-after-load): Allow form to be a function.
8980         take advantage of lexical-binding.
8981         (do-after-load-evaluation): Use dolist and adjust to new format.
8982         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
8984 2013-06-13  Juri Linkov  <juri@jurta.org>
8986         * replace.el (perform-replace): Display "symbol " and other search
8987         modes from `isearch-message-prefix' in the *Help* buffer.
8989         * isearch.el (isearch-query-replace): Add " symbol" and other
8990         possible search modes from `isearch-message-prefix' to the prompt.
8991         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
8992         when reading a regexp to collect.
8994 2013-06-13  Juri Linkov  <juri@jurta.org>
8996         * isearch.el (word-search-regexp): Match whitespace if the search
8997         string begins or ends in whitespace.  The LAX arg is applied to
8998         both ends of the search string.  Use `regexp-quote' and explicit
8999         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
9000         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9001         boundaries are replaced with symbol boundaries, and characters
9002         between symbols match non-word non-symbol syntax.  (Bug#14602)
9004 2013-06-13  Juri Linkov  <juri@jurta.org>
9006         * isearch.el (isearch-del-char): Don't exceed the length of
9007         `isearch-string' by the prefix arg.  (Bug#14563)
9009 2013-06-13  Juri Linkov  <juri@jurta.org>
9011         * isearch.el (isearch-yank-word, isearch-yank-line)
9012         (isearch-char-by-name, isearch-quote-char)
9013         (isearch-printing-char, isearch-process-search-char):
9014         Add optional count prefix arg.  (Bug#14563)
9016         * international/isearch-x.el
9017         (isearch-process-search-multibyte-characters):
9018         Add optional count prefix arg.
9020 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9022         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9023         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9024         lexical-binding.
9026 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
9028         * subr.el (set-temporary-overlay-map): Add on-exit argument.
9030 2013-06-13  Glenn Morris  <rgm@gnu.org>
9032         * startup.el (tty-handle-args):
9033         Don't just discard "--" and anything after.  (Bug#14608)
9035         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9037 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
9039         Implement changes in Secret Service API.  Make it backward compatible.
9040         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9041         (secrets-create-item): Use it.  Prefix properties with interface.
9043 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
9045         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
9046         (term-emulate-terminal): Respect term-suppress-hard-newline.
9048 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
9050         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9051         Only remove a `thumb-file' overlay.  (Bug#14548)
9053 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
9055         * mail/reporter.el (reporter-submit-bug-report):
9056         Handle missing package-name.  (Bug#14600)
9058 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
9060         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9061         (reftex-citation-prompt, reftex-default-bibliography)
9062         (reftex-bib-or-thebib, reftex-get-bibfile-list)
9063         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9064         (reftex-bib-sort-author, reftex-bib-sort-year)
9065         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9066         (reftex-extract-bib-entries-from-thebibliography)
9067         (reftex-get-bibkey-default, reftex-get-bib-names)
9068         (reftex-parse-bibtex-entry, reftex-get-bib-field)
9069         (reftex-format-bib-entry, reftex-parse-bibitem)
9070         (reftex-format-bibitem, reftex-do-citation)
9071         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9072         (reftex-restrict-bib-matches, reftex-extract-bib-file)
9073         (reftex-insert-bib-matches, reftex-format-citation)
9074         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9075         (reftex-create-bibtex-file): Add docstrings, mostly by converting
9076         existing comments into docstrings.
9078 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9080         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9082 2013-06-12  Andreas Schwab  <schwab@suse.de>
9084         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9085         for auto-save files.
9087 2013-06-12  Glenn Morris  <rgm@gnu.org>
9089         * ido.el (ido-delete-ignored-files): Remove.
9090         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9091         Go back to calling ido-ignore-item-p directly.
9093 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
9095         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9097         * ido.el (ido-delete-ignored-files): New function,
9098         split from ido-make-file-list-1.
9099         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
9100         (ido-make-file-list-1): Use ido-delete-ignored-files.
9102 2013-06-12  Leo Liu  <sdl.web@gmail.com>
9104         * progmodes/octave.el (inferior-octave-startup)
9105         (inferior-octave-completion-table)
9106         (inferior-octave-track-window-width-change)
9107         (octave-eldoc-function-signatures, octave-help)
9108         (octave-find-definition): Use single quoted strings.
9109         (inferior-octave-startup-args): Change default value.
9110         (inferior-octave-startup): Do not hard code "-i" and
9111         "--no-line-editing".
9112         (inferior-octave-resync-dirs): Add optional arg NOERROR.
9113         (inferior-octave-directory-tracker): Use it.
9114         (octave-goto-function-definition): Robustify.
9115         (octave-help): Support highlighting operators in 'See also'.
9116         (octave-find-definition): Find subfunctions only in Octave mode.
9118 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9120         * help-fns.el (help-fns--compiler-macro): If the handler function is
9121         named, then put a link to it.
9122         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9123         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9124         (cl-typep): Use it.
9125         (cl-eval-when): Simplify debug spec.
9126         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
9127         compiler-macro function instead of setting `compiler-macro-file'.
9129 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
9131         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9132         * vc/vc-hooks.el (vc-stay-local): Doc fix.
9134 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9135             Daniel Hackney  <dan@haxney.org>
9137         First part of Daniel Hackney's patch to package.el.
9138         * emacs-lisp/package.el: Use defstruct.
9139         (package-desc): New, main struct.
9140         (package--bi-desc, package--ac-desc): New structs, used to describe the
9141         format in external files.
9142         (package-desc-vers): Replace with package-desc-version accessor.
9143         (package-desc-doc): Replace with package-desc-summary accessor.
9144         (package-activate-1): Remove `package' arg since the pkg-vec now
9145         includes the name.
9146         (define-package): Use package-desc-from-define.
9147         (package-unpack-single): Change file-name arg to be a symbol.
9148         (package--add-to-archive-contents): Use package-desc-create and new
9149         accessor functions to package--ac-desc.
9150         (package-buffer-info, package-tar-file-info): Return a package-desc.
9151         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
9152         arg to be a package-desc.
9153         (package-install-file): Adjust accordingly.  Use \' to match EOS.
9154         (package--from-builtin): New function.
9155         (describe-package-1, package-menu--generate): Use it.
9156         (package--make-autoloads-and-compile): Change name arg to be a symbol.
9157         (package-generate-autoloads): Idem and return the name of the file.
9158         * emacs-lisp/package-x.el (package-upload-buffer-internal):
9159         Change pkg-info arg to be a package-desc.
9160         Use package-make-ac-desc.
9161         (package-upload-file): Use \' to match EOS.
9162         * finder.el (finder-compile-keywords): Use package-make-builtin.
9164 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9166         * vc/vc.el (vc-deduce-fileset): Change error message.
9167         (vc-read-backend): New function.
9168         (vc-next-action): Use it.
9170         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9172         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9173         (prolog-font-lock-keywords): Use regexp-opt instead.
9174         Don't manually highlight strings.
9175         (prolog-mode-variables): Simplify comment-start-skip.
9176         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
9178         * emacs-lisp/generic.el (generic--normalise-comments)
9179         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9180         (generic-mode-set-comments): Use them.
9181         (generic-bracket-support): Use setq-local.
9182         (generic-make-keywords-list): Declare obsolete.
9184 2013-06-11  Glenn Morris  <rgm@gnu.org>
9186         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9187         Prettify after setting font-lock-defaults.  (Bug#14574)
9189 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
9191         * replace.el (query-replace, occur-read-regexp-defaults-function)
9192         (replace-search):
9193         * subr.el (declare-function, number-sequence, local-set-key)
9194         (substitute-key-definition, locate-user-emacs-file)
9195         (with-silent-modifications, split-string, eval-after-load):
9196         Fix typos, remove unneeded backslashes and reflow some docstrings.
9198 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
9200         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9201         default for Elisp files.
9203 2013-06-11  Glenn Morris  <rgm@gnu.org>
9205         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9206         although define-derived-mode was doing this anyway.  (Bug#14583)
9208 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
9210         * allout.el (allout-encryption-plaintext-sanitization-regexps):
9211         Fix make-variable-buffer-local call to refer to the correct variable.
9213 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
9215         * eshell/em-term.el (eshell-visual-commands)
9216         (eshell-visual-subcommands, eshell-visual-options):
9217         Add summary line to docstrings.  Add cross-references.
9219 2013-06-10  Glenn Morris  <rgm@gnu.org>
9221         * epa.el (epa-read-file-name): New function.  (Bug#14510)
9222         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
9224 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9226         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9227         output redirection to be ignored with visual commands.
9229 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
9231         * eshell/em-term.el (eshell-visual-command-p): New function.
9232         (eshell-term-initialize): Move long lambda to separate function
9233         eshell-visual-command-p.
9234         * eshell/em-dirs.el (eshell-dirs-initialise):
9235         * eshell/em-script.el (eshell-script-initialize):
9236         Add missing #' to lambda.
9238 2013-06-08  Leo Liu  <sdl.web@gmail.com>
9240         * progmodes/octave.el (octave-add-log-current-defun): New function.
9241         (octave-mode): Set add-log-current-defun-function.
9242         (octave-goto-function-definition): Do not move point if not found.
9243         (octave-find-definition): Enhance to try subfunctions first.
9245 2013-06-08  Glenn Morris  <rgm@gnu.org>
9247         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9248         (byte-compile-backward-char, byte-compile-backward-word):
9249         Improve previous change, to handle non-explicit nil.
9251 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
9253         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9254         (smie--opener/closer-at-point): New function.
9255         (smie--matching-block-data): Use it.  Don't match from right after an
9256         opener or right before a closer.  Obey smie-blink-matching-inners.
9257         Don't signal a mismatch for repeated inners like "switch..case..case".
9259 2013-06-07  Leo Liu  <sdl.web@gmail.com>
9261         * progmodes/octave.el (octave-mode): Set comment-use-global-state
9262         to t.  (Bug#14303)
9263         (octave-function-header-regexp): Fix.  (Bug#14570)
9264         (octave-help-mode-finish-hook, octave-help-mode-finish):
9265         Remove.  Just use temp-buffer-show-hook.
9267         * newcomment.el (comment-search-backward): Revert last change.
9268         (Bug#14434)
9270         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9272 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
9274         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9275         through xargs, to avoid failure due to MS-Windows limitations on
9276         command-line length.
9278 2013-06-06  Glenn Morris  <rgm@gnu.org>
9280         * font-lock.el (lisp-font-lock-keywords-2):
9281         Treat user-error like error.
9283         * emacs-lisp/bytecomp.el (byte-compile-char-before)
9284         (byte-compile-backward-char, byte-compile-backward-word):
9285         Handle explicit nil arguments.  (Bug#14565)
9287 2013-06-05  Alan Mackenzie  <acm@muc.de>
9289         * isearch.el (isearch-allow-prefix): New user option.
9290         (isearch-other-meta-char): Don't exit isearch when a prefix
9291         argument is typed whilst `isearch-allow-prefix' is non-nil.
9292         (Bug#9706)
9294 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9296         * autorevert.el (auto-revert-notify-handler): Use memq.
9297         Hide assertion failure.
9299         * skeleton.el: Use cl-lib.
9300         (skeleton-further-elements): Use defvar-local.
9301         (skeleton-insert): Use cl-progv.
9303 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9305         * progmodes/prog-mode.el (prog-prettify-symbols)
9306         (prog-prettify-install): Update docstrings.
9308 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9310         * simple.el: Move all the prog-mode code to prog-mode.el.
9311         * progmodes/prog-mode.el: New file.
9312         * loadup.el: Add prog-mode.el.
9314 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9316         * simple.el (prog-prettify-symbols): Add version.
9317         (prog-prettify-install): Add convenience function to prettify symbols.
9319         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9320         (perl--augmented-font-lock-keywords-1)
9321         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9322         variables and use it.
9324         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9325         (cfengine3-mode): Remove unneeded variable and use it.
9327         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9328         (lisp--augmented-font-lock-keywords-1)
9329         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9330         Remove unneeded variables and use it.
9332 2013-06-05  João Távora  <joaotavora@gmail.com>
9334         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9335         to point when opening the connection.  (Bug#14380)
9337 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9339         * subr.el (load-history-regexp, load-history-filename-element)
9340         (eval-after-load, after-load-functions, do-after-load-evaluation)
9341         (eval-next-after-load, display-delayed-warnings)
9342         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9343         definition of save-match-data.
9344         (overriding-local-map): Remove accidental obsolescence declaration.
9346         * emacs-lisp/edebug.el (edebug-result): Move before first use.
9348 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
9350         Generalize symbol prettify support to prog-mode and implement it
9351         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9352         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9353         (prog--prettify-font-lock-compose-symbol)
9354         (prog-prettify-font-lock-symbols-keywords): New variables and
9355         functions to support symbol prettification.
9356         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9357         (lisp--augmented-font-lock-keywords-1)
9358         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9359         (lisp--prettify-symbols-alist): Implement prettify of lambda.
9360         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9361         (cfengine3--prettify-symbols-alist, cfengine3-mode):
9362         Implement prettify of -> => :: strings.
9363         * progmodes/perl-mode.el (perl-prettify-symbols)
9364         (perl--font-lock-compose-symbol)
9365         (perl--font-lock-symbols-keywords): Move to prog-mode.
9366         (perl--prettify-symbols-alist): Prettify -> => :: strings.
9367         (perl-font-lock-keywords-1)
9368         (perl-font-lock-keywords-2): Remove explicit prettify support.
9369         (perl--augmented-font-lock-keywords)
9370         (perl--augmented-font-lock-keywords-1)
9371         (perl--augmented-font-lock-keywords-2, perl-mode):
9372         Implement prettify support.
9374 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9376         Re-implement smie matching block highlight using
9377         show-paren-data-function.  (Bug#14395)
9378         * emacs-lisp/smie.el (smie-matching-block-highlight)
9379         (smie--highlight-matching-block-overlay)
9380         (smie--highlight-matching-block-lastpos)
9381         (smie-highlight-matching-block)
9382         (smie-highlight-matching-block-mode): Remove.
9383         (smie--matching-block-data-cache): New variable.
9384         (smie--matching-block-data): New function.
9385         (smie-setup): Use smie--matching-block-data for
9386         show-paren-data-function.
9388         * progmodes/octave.el (octave-mode-menu): Fix.
9389         (octave-find-definition): Skip garbage lines.
9391 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9393         Fix compilation error with simultaneous dynamic+lexical scoping.
9394         Add warning when a defvar appears after the first let-binding.
9395         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9396         (byte-compile-close-variables): Initialize it.
9397         (byte-compile--declare-var): New function.
9398         (byte-compile-file-form-defvar)
9399         (byte-compile-file-form-define-abbrev-table)
9400         (byte-compile-file-form-custom-declare-variable): Use it.
9401         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
9402         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9403         (byte-compile-bind): Handle dynamic bindings that shadow
9404         lexical bindings.
9405         (byte-compile-unbind): Make arg non-optional.
9406         (byte-compile-let): Simplify.
9407         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9408         (cconv--analyse-function, cconv-analyse-form): Populate it.
9409         Protect byte-compile-bound-variables to limit the scope of defvars.
9410         (cconv-analyse-form): Add missing rule for (defvar <foo>).
9411         Remove unneeded rule for `declare'.
9413         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9414         so as to avoid depending on cl-adjoin at run-time.
9415         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9417         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9418         (macroexp--warn-and-return): Use it.
9420 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9422         * subr.el: Convert to lexical binding.
9423         (overriding-local-map): Make obsolete.
9424         (add-to-list): Doc fix.  Add compiler macro.
9425         (read-key): Swap values of local maps.
9427 2013-06-05  Leo Liu  <sdl.web@gmail.com>
9429         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9431 2013-06-04  Leo Liu  <sdl.web@gmail.com>
9433         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9434         (compilation-auto-jump): Suppress the "Mark set" message to give
9435         way to exit message.
9437 2013-06-04  Alan Mackenzie  <acm@muc.de>
9439         Remove faulty optimisation from indentation calculation.
9440         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9441         search limit based on 2000 characters back from indent-point.
9443 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9445         * eshell/em-term.el (cl-lib): Require `cl-lib'.
9447 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
9449         * emacs-lisp/lisp.el: Use lexical-binding.
9450         (lisp--local-variables-1, lisp--local-variables): New functions.
9451         (lisp--local-variables-completion-table): New var.
9452         (lisp-completion-at-point): Use it complete let-bound vars.
9454         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9455         eagerly (bug#14422).
9457 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
9459         * autorevert.el (auto-revert-notify-enabled)
9460         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9461         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9462         (auto-revert-notify-handler): Handle also gfilenotify.
9464         * subr.el (file-notify-handle-event): New defun.  Replacing ...
9465         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9466         Remove.
9468 2013-06-03  Juri Linkov  <juri@jurta.org>
9470         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9471         `M-s h .'.  (Bug#14427)
9473         * hi-lock.el (highlight-symbol-at-point): New alias for the new
9474         command `hi-lock-face-symbol-at-point'.
9475         (hi-lock-face-symbol-at-point): New command.
9476         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9477         (hi-lock-menu): Add `highlight-symbol-at-point'.
9478         (hi-lock-mode): Doc fix.
9480         * isearch.el (isearch-forward-symbol-at-point): New command.
9481         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9482         (isearch-highlight-regexp): Add a regexp which matches
9483         words/symbols for word/symbol mode.
9485         * subr.el (find-tag-default-bounds): New function with the body
9486         mostly moved from `find-tag-default'.
9487         (find-tag-default): Move most code to `find-tag-default-bounds',
9488         call it and apply `buffer-substring-no-properties' afterwards.
9490 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
9492         * eshell/em-term.el (eshell-term-initialize):
9493         Use `cl-intersection' rather than `intersection'.
9495 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
9497         * vc/log-view.el: Doc fix.
9498         (log-view-mode-map): Copy keymap from `special-mode-map'.
9500 2013-06-02  Eric Ludlam  <zappo@gnu.org>
9502         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
9503         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
9504         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
9505         (eieio-unbound, eieio-default-superclass)
9506         (eieio--define-field-accessors, method-static, method-before)
9507         (method-primary, method-after, method-num-lists)
9508         (method-generic-before, method-generic-primary)
9509         (method-generic-after, method-num-slots)
9510         (eieio-specialized-key-to-generic-key)
9511         (eieio--check-type, class-v, class-p)
9512         (eieio-class-name, define-obsolete-function-alias)
9513         (eieio-class-parents-fast, eieio-class-children-fast)
9514         (same-class-fast-p, class-constructor, generic-p)
9515         (generic-primary-only-p, generic-primary-only-one-p)
9516         (class-option-assoc, class-option, eieio-object-p)
9517         (class-abstract-p, class-method-invocation-order)
9518         (eieio-defclass-autoload-map, eieio-defclass-autoload)
9519         (eieio-class-un-autoload, eieio-defclass)
9520         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
9521         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
9522         (eieio--defgeneric-init-form, eieio-defgeneric-form)
9523         (eieio-defgeneric-reset-generic-form)
9524         (eieio-defgeneric-form-primary-only)
9525         (eieio-defgeneric-reset-generic-form-primary-only)
9526         (eieio-defgeneric-form-primary-only-one)
9527         (eieio-defgeneric-reset-generic-form-primary-only-one)
9528         (eieio-unbind-method-implementations)
9529         (eieio--defmethod, eieio--typep)
9530         (eieio-perform-slot-validation, eieio-validate-slot-value)
9531         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
9532         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
9533         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
9534         (eieio-slot-name-index, eieio-class-slot-name-index)
9535         (eieio-set-defaults, eieio-initarg-to-attribute)
9536         (eieio-attribute-to-initarg, eieio-c3-candidate)
9537         (eieio-c3-merge-lists, eieio-class-precedence-c3)
9538         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
9539         (eieio-class-precedence-list, eieio-generic-call-methodname)
9540         (eieio-generic-call-arglst, eieio-generic-call-key)
9541         (eieio-generic-call-next-method-list)
9542         (eieio-pre-method-execution-functions, eieio-generic-call)
9543         (eieio-generic-call-primary-only, eieiomt-method-list)
9544         (eieiomt-optimizing-obarray, eieiomt-install)
9545         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
9546         (eieio-generic-form, eieio-defmethod, make-obsolete)
9547         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
9548         (defclass): Remove `eval-and-compile' from macro.
9549         (call-next-method, shared-initialize): Instead of using
9550         `scoped-class' variable, use new eieio--scoped-class, and
9551         eieio--with-scoped-class.
9552         (initialize-instance): Rename local variable 'scoped-class' to
9553         'this-class' to remove ambiguitity from old global.
9555         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
9556         eieio.el.
9557         (eieio--scoped-class-stack): New variable.
9558         (eieio--scoped-class): New fcn.
9559         (eieio--with-scoped-class): New scoping macro.
9560         (eieio-defclass): Use pushnew instead of add-to-list.
9561         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
9562         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
9563         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
9564         `scoped-class' variable, use new eieio--scoped-class, and
9565         eieio--with-scoped-class.
9567         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
9569 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
9571         * eshell/esh-ext.el (eshell-external-command): Pass args to
9572         `eshell-find-interpreter'.
9573         (eshell-find-interpreter): Add new second parameter ARGS.
9575         * eshell/em-script.el (eshell-script-initialize): Add second arg
9576         to the function added as MATCH to `eshell-interpreter-alist'.
9578         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
9579         the function added as MATCH to `eshell-interpreter-alist'.
9581         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
9582         (eshell-visual-options): New defcustom.
9583         (eshell-escape-control-x): Adapt docstring.
9584         (eshell-term-initialize): Test `eshell-visual-subcommands' and
9585         `eshell-visual-options' in addition to `eshell-visual-commands'.
9586         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
9588 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
9590         * progmodes/python.el (python-indent-block-enders): Add break,
9591         continue and raise keywords.
9593 2013-06-01  Glenn Morris  <rgm@gnu.org>
9595         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
9597         Plain (f)boundp silences compilation warnings since Emacs 22.1.
9598         * progmodes/cc-cmds.el (delete-forward-p):
9599         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
9600         * progmodes/cc-engine.el (buffer-syntactic-context):
9601         * progmodes/cc-fonts.el (face-property-instance):
9602         * progmodes/cc-mode.el (set-keymap-parents):
9603         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
9604         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
9605         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
9606         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
9607         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
9609         * progmodes/cc-vars.el (other): Emacs has this widget since
9610         at least 21.1, so don't (re)define it.
9612         * eshell/em-cmpl.el (eshell-cmpl-initialize):
9613         Replace the obsolete alias pcomplete-arg-quote-list.
9615 2013-06-01  Leo Liu  <sdl.web@gmail.com>
9617         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
9618         punctuation syntax.
9619         (inferior-octave-minimal-columns)
9620         (inferior-octave-last-column-width): New variables.
9621         (inferior-octave-track-window-width-change): New function.
9622         (inferior-octave-mode): Adjust column width so that Octave output,
9623         for example from 'ls', can fit into the window nicely.
9625 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9627         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9628         Highlight expansions inside regexp literals.
9630 2013-05-31  Glenn Morris  <rgm@gnu.org>
9632         * obsolete/sym-comp.el (symbol-complete):
9633         Replace obsolete completion-annotate-function.
9635         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
9637 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
9639         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
9640         New function, checks if point is inside a literal that allows
9641         expression expansion.
9642         (ruby-syntax-propertize-expansion): Use it.
9643         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
9644         around the body.
9646 2013-05-30  Juri Linkov  <juri@jurta.org>
9648         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
9649         to "\M-si".
9650         (isearch-invisible): New variable.
9651         (isearch-forward): Doc fix.
9652         (isearch-mode): Set `isearch-invisible'
9653         to the value of `search-invisible'.
9654         (isearch-toggle-case-fold): Doc fix.
9655         (isearch-toggle-invisible): New command.
9656         (isearch-query-replace): Let-bind `search-invisible'
9657         to the value of `isearch-invisible'.
9658         (isearch-search): Use `isearch-invisible' instead of
9659         `search-invisible'.  Let-bind `search-invisible'
9660         to the value of `isearch-invisible'.  (Bug#11378)
9662 2013-05-30  Juri Linkov  <juri@jurta.org>
9664         * replace.el (perform-replace): Avoid `isearch-range-invisible'
9665         call when `query-flag' is nil and `search-invisible' is non-nil.
9666         (Bug#11746)
9668 2013-05-30  Glenn Morris  <rgm@gnu.org>
9670         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
9672         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
9673         (cc-require): Suppress spurious "noruntime" warnings.
9674         (cc-require-when-compile): Use fboundp, for sake of compiler.
9676         * progmodes/cc-mode.el: Move load of cc-vars before that of
9677         cc-langs (which in turn loads cc-vars), to quieten compiler.
9679 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9681         * paren.el: Simplify the code.
9682         (show-paren-mode): Always start the timer.
9683         (show-paren--idle-timer): Rename from show-paren-idle-timer.
9684         (show-paren--overlay, show-paren--overlay-1): Rename from
9685         show-paren-overlay and show-paren-overlay-1, and initialize to an
9686         overlay rather than to nil.
9687         (show-paren-function): Misc cleanup and simplifications.
9689 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
9691         * paren.el (show-paren-data-function): New hook.
9692         (show-paren--default): New function, extracted from show-paren-function.
9693         (show-paren-function): Use show-paren-data-function.
9695 2013-05-30  Glenn Morris  <rgm@gnu.org>
9697         * ielm.el (ielm-map, ielm-complete-symbol):
9698         Use completion-at-point rather than obsolete functions.
9699         (inferior-emacs-lisp-mode): Doc fix.
9700         Set completion-at-point-functions, rather than
9701         comint-dynamic-complete-functions.
9703         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
9704         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
9705         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
9707         * image.el (image-animated-p): Tweak definition.
9709         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
9710         (rlogin-process-connection-type): Tweak default.  Add set-after.
9711         (rlogin-host): Doc fix.
9712         (rlogin): Tweak prompt.
9713         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
9715         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
9716         * progmodes/tcl.el (inferior-tcl-mode-map):
9717         Use completion-at-point rather than obsolete alias.
9719         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
9721         * minibuffer.el (read-file-name-completion-ignore-case):
9722         Move before completion--in-region, for eager macro expansion.
9724 2013-05-29  Juri Linkov  <juri@jurta.org>
9726         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
9727         for total count of matching lines.  Add `global-matches' for total
9728         count of matches.  Rename `matches' to `lines' for count of
9729         matching lines.  Add `matches' for count of matches.
9730         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
9731         to `prev-line' for line number of prev match endpt.
9732         Increment `matches' for every match.  Print the number of
9733         matching lines in the header.
9734         (occur-context-lines): Rename `lines' to `curr-line'.
9735         Rename `prev-lines' to `prev-line'.  (Bug#14017)
9737 2013-05-29  Juri Linkov  <juri@jurta.org>
9739         * replace.el (perform-replace): Add `skip-read-only-count',
9740         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
9741         Increment them for corresponding conditions and report the number
9742         of skipped occurrences in the final message.  (Bug#11746)
9743         (query-replace, query-replace-regexp, query-replace-regexp-eval)
9744         (replace-string, replace-regexp): Doc fix.
9746 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9748         * emacs-lisp/trace.el (trace--read-args): Provide a default.
9750         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
9751         prog-mode-map (bug#14504).
9753 2013-05-29  Leo Liu  <sdl.web@gmail.com>
9755         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
9756         (octave-help): Small simplification.
9758         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
9759         off the highlight first.
9761 2013-05-29  Glenn Morris  <rgm@gnu.org>
9763         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
9764         Handle idlwave-last-system-routine-info-cons-cell being nil.
9766         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
9767         (idlwave-write-paths): Simplify via with-temp-buffer.
9769         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
9770         * emulation/cua-rect.el: Also load cua-base at run time.
9772         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
9773         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
9774         (cperl-imenu-on-info): Require imenu.
9776 2013-05-28  Alan Mackenzie  <acm@muc.de>
9778         Handle "capitalised keywords" correctly.
9779         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
9781 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
9783         * eshell/em-unix.el: Add -r option to cp.
9785 2013-05-28  Glenn Morris  <rgm@gnu.org>
9787         * vc/vc-arch.el (vc-exec-after): Declare.
9788         (vc-switches): Autoload.
9789         * vc/vc-bzr.el: No need to require vc when compiling.
9790         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
9791         (vc-resynch-buffer, vc-dir-refresh): Declare.
9792         (vc-setup-buffer, vc-switches): Autoload.
9793         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
9794         (vc-resynch-buffer): Declare.
9795         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
9796         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
9797         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
9798         (grep-read-regexp, grep-read-files, grep-expand-template)
9799         (vc-dir-refresh): Declare.
9800         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
9801         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
9802         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
9803         * vc/vc-mtn.el (vc-exec-after): Declare.
9804         (vc-switches): Autoload.
9805         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
9806         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
9807         (vc-file-tree-walk): Declare.
9808         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
9809         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
9810         (vc-tag-precondition, vc-rename-master): Autoload.
9811         * vc/vc-svn.el (vc-exec-after): Declare.
9812         (vc-switches, vc-setup-buffer): Autoload.
9813         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
9814         Autoload.
9815         (vc-resynch-buffer): Declare.
9817         * obsolete/fast-lock.el (byte-compile-warnings):
9818         Don't warn about obsolete features in this obsolete file.
9820         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
9821         Move definition before use.
9823         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
9824         (dun-unix-verbs): Remove dun-zippy.
9825         (dun-zippy): Remove function.
9827         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
9829 2013-05-27  Juri Linkov  <juri@jurta.org>
9831         * replace.el (replace-search): New function with code moved out
9832         from `perform-replace'.
9833         (replace-highlight, replace-dehighlight): Move function definitions
9834         up closer to `replace-search'.  (Bug#11746)
9836 2013-05-27  Juri Linkov  <juri@jurta.org>
9838         * replace.el (perform-replace): Ignore invisible matches.
9839         In addition to checking `query-replace-skip-read-only', also
9840         filter out matches by calling `run-hook-with-args-until-failure'
9841         on `isearch-filter-predicates', and also check `search-invisible'
9842         for t or call `isearch-range-invisible'.
9843         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
9845 2013-05-27  Juri Linkov  <juri@jurta.org>
9847         * isearch.el (isearch-filter-predicates): Rename from
9848         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
9849         (isearch-message-prefix): Display text from the property
9850         `isearch-message-prefix' of the currently active filters.
9851         (isearch-search): Don't compare `isearch-filter-predicate' with
9852         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
9853         on `isearch-filter-predicates'.  Also check `search-invisible' for t
9854         or call `isearch-range-invisible'.
9855         (isearch-filter-visible): Make obsolete.
9856         (isearch-lazy-highlight-search):
9857         Call `run-hook-with-args-until-failure' on
9858         `isearch-filter-predicates' and use `isearch-range-invisible'.
9860         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
9861         `isearch-filter-predicates' instead of `funcall'ing
9862         `isearch-filter-predicate'.
9863         (Info-mode): Set `Info-isearch-filter' to
9864         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
9866         * dired-aux.el (dired-isearch-filter-predicate-orig):
9867         Remove variable.
9868         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
9869         (dired-isearch-filenames-end): Add and remove
9870         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
9871         instead of changing the value of `isearch-filter-predicate'.
9872         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
9873         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
9874         Put property `isearch-message-prefix' to "filename " on
9875         `dired-isearch-filter-filenames'.
9877         * wdired.el (wdired-change-to-wdired-mode):
9878         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
9879         locally instead of changing `isearch-filter-predicate'.
9880         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
9882 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
9884         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
9885         return the commit hash (Bug#14459).  Also set the
9886         `vc-git-detached' property.
9887         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
9888         (vc-git-mode-line-string): Use the same help-echo format whether
9889         in detached mode or not, because we know the actual revision now.
9890         When in detached mode, shorten the revision to 7 chars.
9892 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9894         * emacs-lisp/easy-mmode.el (define-minor-mode):
9895         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
9896         mode hook and provide a docstring.
9898 2013-05-27  Alan Mackenzie  <acm@muc.de>
9900         Remove spurious syntax-table text properties inserted by C-y.
9901         * progmodes/cc-mode.el (c-after-change): Also clear hard
9902         syntax-table property with value nil.
9904 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
9906         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
9907         when reading the events; the buffer layout shall not be changed.
9909 2013-05-27  Leo Liu  <sdl.web@gmail.com>
9911         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
9912         New variable.
9913         (inferior-octave-directory-tracker): Automatically re-sync
9914         default-directory.
9915         (octave-help): Improve handling of 'See also'.
9917 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9919         * doc-view.el: Minor naming convention tweaks.
9920         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
9922         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
9923         even if there's no `display' property yet (bug#14435).
9925 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
9927         * subr.el (unmsys--file-name): Rename from reveal-filename.
9929         * Makefile.in (custom-deps, finder-data, autoloads)
9930         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
9931         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
9932         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
9934 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9936         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
9937         error-completion on the first 2 args of condition-case (bug#14446).
9938         Don't burp at EOB.
9940 2013-05-25  Leo Liu  <sdl.web@gmail.com>
9942         * comint.el (comint-previous-matching-input): Do not flood the
9943         *Messages* buffer with trivial messages.
9945 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9947         * progmodes/flymake.el (flymake-nop): Don't return a string.
9948         (flymake-set-at): Fix typo.
9950         * simple.el (read--expression): New function, extracted from
9951         eval-expression.  Set completion-at-point-functions (bug#14465).
9952         (eval-expression, eval-minibuffer): Use it.
9954 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
9956         * progmodes/flymake.el (flymake-save-buffer-in-file)
9957         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
9958         (flymake-selected-frame, flymake-log, flymake-ins-after)
9959         (flymake-set-at, flymake-get-buildfile-from-cache)
9960         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
9961         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
9962         Refine the doc string.
9963         (flymake-get-file-name-mode-and-masks): Reformat.
9964         (flymake-get-real-file-name-function): Fix a minor bug.
9966 2013-05-24  Juri Linkov  <juri@jurta.org>
9968         * progmodes/grep.el (grep-mode-font-lock-keywords):
9969         Support =linenumber= format used by git-grep for lines with
9970         function names.  (Bug#13549)
9972 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9974         * progmodes/octave.el (octave-smie-rules): Return nil rather than
9975         0 after a semi-colon; it works better for smie-auto-fill.
9976         (octave--indent-new-comment-line): New function.
9977         (octave-indent-new-comment-line): Use it (indirectly).
9978         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
9979         modify comment-line-break-function.
9981         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
9982         (smie-setup): Use add-function to set it.
9984 2013-05-24  Sam Steingold  <sds@gnu.org>
9986         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
9987         argument (before the `interactive' argument).
9989 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
9991         * image-mode.el (image-mode-winprops): Add winprops to
9992         image-mode-winprops-alist before running
9993         image-mode-new-window-functions.
9994         * doc-view.el (doc-view-new-window-function): Don't delay
9995         doc-view-goto-page via timers (bug#14435).
9997 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
9999         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
10000         (doc-view-desktop-save-buffer): New function.
10001         (doc-view-restore-desktop-buffer): New function.
10002         (desktop-buffer-mode-handlers):
10003         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10004         handler.
10005         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10006         `desktop-save-buffer' function.
10008 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
10010         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10011         (tramp-gvfs-file-name-handler): Raise a user error when
10012         `tramp-gvfs-enabled' is nil.
10013         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10014         Do not raise a user error when loading package.  (Bug#14447)
10016         * net/xesam.el: Move to obsolete/.
10018 2013-05-24  Glenn Morris  <rgm@gnu.org>
10020         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10022         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10024         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10025         (Info-find-node, Man-getpage-in-background): Declare.
10027         * mail/unrmail.el (unrmail):
10028         Replace obsolete detect-coding-with-priority.
10030         * net/socks.el (socks-split-string): Use this rather than split-string.
10031         (socks-nslookup-host): Update for above change.
10032         (dynamic-choice, s5-dynamic-choice-match)
10033         (s5-dynamic-choice-match-inline, s5-widget-value-create):
10034         Comment out unused code.
10036         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10037         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10038         (gud-tooltip-echo-area): Make obsolete.
10039         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10041         * progmodes/js.el (js--optimize-arglist): Declare.
10043         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10045         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10046         (ediff-window-C): Declare.
10048         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10049         Tweak requires to silence compiler.
10051         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10052         (he-search-string, he-tried-table, he-expand-list)
10053         (he-init-string, he-string-member, he-substitute-string)
10054         (he-reset-string): Declare.
10056         * obsolete/options.el (list-options): Use custom-variable-p,
10057         rather than obsolete alias.
10059 2013-05-23  Sam Steingold  <sds@gnu.org>
10061         * simple.el (shell-command-on-region): Pass the `replace' argument
10062         down to `call-process-region' to comply with the doc as reported on
10063         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10065 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
10067         * emacs-lisp/smie.el (smie-indent-forward-token)
10068         (smie-indent-backward-token): Handle string tokens (bug#14381).
10070 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10072         * ielm.el (ielm-menu): New menu.
10073         (inferior-emacs-lisp-mode): Set comment-start.
10075 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
10077         * textmodes/reftex.el (reftex-ref-style-toggle):
10078         Fix deactivate action.
10080         * textmodes/reftex-vars.el (reftex-ref-style-alist):
10081         Add cleveref macros.
10083         * textmodes/reftex-parse.el
10084         (reftex-locate-bibliography-files): Accept options for
10085         bibliography commands.
10086         * textmodes/reftex-vars.el (reftex-bibliography-commands):
10087         Add addbibresource.  Basic Biblatex support.
10089 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
10091         * net/tramp-gvfs.el (top):
10092         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10093         when loading package.  (Bug#14447)
10095 2013-05-23  Glenn Morris  <rgm@gnu.org>
10097         * progmodes/js.el: No need to load comint when compiling.
10098         (ring-insert, comint-send-string, comint-send-input)
10099         (comint-last-input-end, ido-chop): Declare.
10101         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10102         * vc/ediff-mult.el: Adjust requires.
10103         (ediff-directories-internal, ediff-directory-revisions-internal)
10104         (ediff-patch-file-internal): Declare.
10105         * vc/ediff-ptch.el: Adjust requires.
10106         (ediff-use-last-dir, ediff-buffers-internal): Declare.
10107         (ediff-find-file): Autoload.
10108         * vc/ediff-util.el: No need to load ediff when compiling.
10109         (ediff-regions-internal): Declare.
10110         * vc/ediff-wind.el: Adjust requires.
10111         (ediff-compute-toolbar-width): Define when compiling.
10112         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10113         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10114         (dired-get-filename, dired-get-marked-files)
10115         (ediff-last-dir-patch, ediff-patch-default-directory)
10116         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10117         (ediff-patch-buffer-internal): Declare.
10119         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10120         (ispell-process, ispell-buffer-local-words, lm-summary)
10121         (lm-section-start, lm-section-end): Declare.
10122         (checkdoc-ispell-init): Simplify.
10124         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10125         (he-string-member, he-reset-string, he-substitute-string): Declare.
10127         * eshell/em-ls.el: Adjust requires.
10128         (eshell-glob-regexp): Declare.
10129         * eshell/em-tramp.el: Adjust requires.
10130         (eshell-parse-command): Autoload.
10131         * eshell/em-xtra.el: Adjust requires.
10132         (eshell-parse-command): Autoload.
10133         * eshell/esh-ext.el: Adjust requires.
10134         (eshell-parse-command, eshell-close-handles): Autoload.
10135         * eshell/esh-io.el: Adjust requires.
10136         (eshell-output-filter): Autoload.
10137         * eshell/esh-util.el: No need to load tramp when compiling.
10138         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10139         Declare.
10140         (eshell-parse-ange-ls): Require ange-ftp and tramp.
10141         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10142         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10143         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10144         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10145         * eshell/esh-opt.el, eshell/esh-proc.el:
10146         * eshell/esh-var.el: Adjust requires.
10147         * eshell/eshell.el: Do not require esh-util twice.
10148         (eshell-add-input-to-history): Declare.
10149         (eshell-command): Check history module is active before using it.
10151         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10153 2013-05-22  Leo Liu  <sdl.web@gmail.com>
10155         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10157 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
10159         * autorevert.el (auto-revert-notify-add-watch)
10160         (auto-revert-notify-handler): Add `attrib' for the inotify case,
10161         it indicates changes in file modification time.
10163 2013-05-22  Glenn Morris  <rgm@gnu.org>
10165         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10166         Always delete the autoloaded function from the noruntime and
10167         unresolved functions lists.
10169         * allout.el: No need to load epa, epg, overlay when compiling.
10170         (epg-context-set-passphrase-callback, epg-list-keys)
10171         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10172         (epg-key-user-id-list): Declare.
10174         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10175         (viper-set-parsing-style-toggling-macro)
10176         (viper-set-emacs-state-searchstyle-macros):
10177         Use called-interactively-p on Emacs.
10178         (viper-looking-back): Make it an obsolete alias.  Update callers.
10179         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10180         Use looking-back rather than viper-looking-back.
10181         (viper-tmp-insert-at-eob, viper-enlarge-region)
10182         (viper-read-string-with-history, viper-register-to-point)
10183         (viper-append-to-register, viper-change-state-to-vi)
10184         (viper-backward-char-carefully, viper-forward-char-carefully)
10185         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10186         (viper-change-state-to-emacs): Declare.
10187         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10188         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10189         * emulation/viper-mous.el: Do not load viper-cmd.
10190         (viper-backward-char-carefully, viper-forward-char-carefully)
10191         (viper-forward-word, viper-adjust-window): Declare.
10193         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10195         * progmodes/idlw-help.el (idlwave-help-fontify):
10196         Use called-interactively-p.
10198         * term/w32console.el (w32-get-console-codepage)
10199         (w32-get-console-output-codepage): Declare.
10201         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10202         Remove unnecessary declarations.
10203         (dframe-message): Doc fix.
10205         * info.el (dframe-select-attached-frame, dframe-current-frame):
10206         Declare.
10208         * speedbar.el (speedbar-message): Make it an obsolete alias.
10209         Update all callers.
10210         (speedbar-with-attached-buffer)
10211         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10212         (speedbar-with-writable): Use backquote.
10213         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10214         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10215         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10216         rather than speedbar- aliases.
10217         * mail/rmail.el: Load dframe rather than speedbar when compiling.
10218         (speedbar-make-specialized-keymap, speedbar-insert-button)
10219         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10220         (speedbar-do-function-pointer): Declare.
10221         (rmail-speedbar-button, rmail-speedbar-find-file)
10222         (rmail-speedbar-move-message):
10223         Use dframe-with-attached-buffer rather than speedbar- alias.
10224         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10225         (dframe-message, speedbar-make-specialized-keymap)
10226         (speedbar-add-expansion-list, speedbar-mode-functions-list)
10227         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10228         (speedbar-insert-button, dframe-select-attached-frame)
10229         (dframe-maybee-jump-to-attached-frame)
10230         (speedbar-change-initial-expansion-list)
10231         (speedbar-previously-used-expansion-list-name): Declare.
10232         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10233         Use dframe-message, dframe-with-attached-buffer rather than
10234         speedbar- aliases.
10235         (gud-sentinel): Silence compiler.
10236         * progmodes/vhdl-mode.el (speedbar-refresh)
10237         (speedbar-do-function-pointer, speedbar-add-supported-extension)
10238         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10239         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10240         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10241         (speedbar-file-lists, speedbar-make-tag-line)
10242         (speedbar-line-directory, speedbar-goto-this-file)
10243         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10244         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10245         (speedbar-make-button, speedbar-reset-scanners)
10246         (speedbar-files-item-info, speedbar-line-text)
10247         (speedbar-find-file-in-frame, speedbar-set-timer)
10248         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10249         (speedbar-with-writable): Do not (re)define it.
10250         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10251         rather than speedbar- alias.
10253 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10255         * progmodes/octave.el (octave-mode-menu): Update and re-organize
10256         menu items.
10257         (octave-mode): Tweak fill-nobreak-predicate.
10258         (inferior-octave-startup): Check process to avoid infinite loop.
10259         (inferior-octave): Pop to buffer first to show abornmal process
10260         exit information.
10262 2013-05-21  Glenn Morris  <rgm@gnu.org>
10264         * printing.el (pr-menu-bar): Define when compiling.
10266 2013-05-21  Leo Liu  <sdl.web@gmail.com>
10268         * progmodes/octave.el (octave-auto-fill): Remove.
10269         (octave-indent-new-comment-line): Improve.
10270         (octave-mode): Use auto fill mode through
10271         comment-line-break-function and fill-nobreak-predicate.
10272         (octave-goto-function-definition): Support DEFUN_DLD.
10273         (octave-beginning-of-defun): Small tweak.
10274         (octave-help): Show parent directory.
10276 2013-05-21  Glenn Morris  <rgm@gnu.org>
10278         * files.el (dired-unmark):
10279         * progmodes/gud.el (gdb-input): Update declarations.
10281         * calculator.el (electric, ehelp): No need to load when compiling.
10282         (Electric-command-loop, electric-describe-mode): Declare.
10284         * doc-view.el (doc-view-current-converter-processes): Move before use.
10286         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10287         Move MODE-set-explicitly definition before use.
10289         * international/mule-diag.el (mule-diag):
10290         Don't use obsolete window-system-version.
10292         * mail/feedmail.el (smtpmail): No need to load when compiling.
10293         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10295         * mail/mail-utils.el (rfc822): No need to load when compiling.
10296         (rfc822-addresses): Autoload it.
10297         (mail-strip-quoted-names): Trivial simplification.
10299         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10300         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10302         * net/snmp-mode.el (tempo): Don't duplicate requires.
10304         * progmodes/prolog.el (info): No need to load when compiling.
10305         (comint): Require before shell requires it.
10306         (Info-goto-node): Autoload it.
10307         (Info-follow-nearest-node): Declare.
10308         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10310         * textmodes/artist.el (picture-mode-exit): Declare.
10312         * textmodes/reftex-parse.el (reftex-parse-from-file):
10313         Trivial rewrite so the compiler can parse it better.
10315 2013-05-20  Leo Liu  <sdl.web@gmail.com>
10317         * progmodes/octave.el (octave-help-mode-map)
10318         (octave-help-mode-finish-hook): New variables.
10319         (octave-help-mode, octave-help-mode-finish): New functions.
10320         (octave-help): Use octave-help-mode.
10322 2013-05-20  Glenn Morris  <rgm@gnu.org>
10324         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
10326 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
10328         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10329         start at point, so that expansion starting right after opening
10330         slash in a regexp is recognized.
10331         (ruby-syntax-before-regexp-re): New defvar, extracted from
10332         ruby-syntax-propertize-function.  Since the value of this regexp
10333         is looked up at runtime now, we should be able to turn
10334         `ruby-syntax-methods-before-regexp' into a defcustom later.
10335         (ruby-syntax-propertize-function): Split regexp matching into two
10336         parts, for opening and closing slashes.  That allows us to skip
10337         over string interpolations and support multiline regexps.
10338         Don't call `ruby-syntax-propertize-expansions', instead use another rule
10339         for them, which calls `ruby-syntax-propertize-expansion'.
10340         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10341         call to `ruby-syntax-propertize-function'.
10342         (ruby-syntax-propertize-expansion): Extracted from
10343         `ruby-syntax-propertize-expansions'.  Handles one expansion.
10344         (ruby-syntax-propertize-percent-literal): Leave point right after
10345         the percent symbol, so that the expression expansion rule can
10346         propertize the contents.
10347         (ruby-syntax-propertize-heredoc): Leave point at bol following the
10348         heredoc openers.
10349         (ruby-syntax-propertize-expansions): Remove.
10351 2013-05-18  Juri Linkov  <juri@jurta.org>
10353         * man.el (Man-default-man-entry): Remove `-' from the end
10354         of the default value.  (Bug#14400)
10356 2013-05-18  Glenn Morris  <rgm@gnu.org>
10358         * comint.el (comint-password-prompt-regexp):
10359         Allow "password for XXX" where XXX contains colons (eg https://...).
10361 2013-05-18  Leo Liu  <sdl.web@gmail.com>
10363         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10364         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
10365         (octave-source-directories): Don't check process.
10366         (octave-source-directories, octave-find-definition): Doc fix.
10368 2013-05-18  Glenn Morris  <rgm@gnu.org>
10370         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10371         Remove backspace/delete bindings.  (Bug#14392)
10373         * cus-dep.el (custom-make-dependencies): Sort the output.
10374         (custom-versions-load-alist): Convert comment to doc.
10376 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10378         * newcomment.el (comment-search-backward): Stricter in finding
10379         comment start.  (Bug#14303)
10381         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10382         (octave-comment-start-skip): Properly anchored.
10384 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10386         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10387         Clean up when turned off.  (Bug#14395)
10388         (smie--highlight-matching-block-overlay): No longer buffer-local.
10389         (smie-highlight-matching-block): Adjust.
10391 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
10393         Doc string fix for "nanoseconds" (Bug#14406).
10394         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10395         Fix doc string typo that had "nanoseconds" instead of "microseconds".
10397 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
10399         * calc/calc-units.el (math-extract-units): Preserve powers
10400         of units.
10402 2013-05-17  Leo Liu  <sdl.web@gmail.com>
10404         * subr.el (delete-consecutive-dups): New function.
10405         * ido.el (ido-set-matches-1): Use it.
10406         * progmodes/octave.el (inferior-octave-completion-table): Use it.
10407         * ido.el (ido-remove-consecutive-dups): Remove.
10409 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
10411         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10412         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10413         regexp-opt's `words'.
10415 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10417         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10418         (smie--highlight-matching-block-overlay)
10419         (smie--highlight-matching-block-lastpos)
10420         (smie--highlight-matching-block-timer): New variables.
10421         (smie-highlight-matching-block): New function.
10422         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
10423         (smie-setup): Conditionally enable smie-blink-matching-open.
10425 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
10427         Sync with upstream verilog-mode r840.
10428         * progmodes/verilog-mode.el (verilog-mode-version)
10429         (verilog-mode-release-date): Update.
10430         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10431         (verilog-sig-tieoff): Fix string error on
10432         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
10433         (verilog-read-decls): Fix parameters confusing
10434         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
10436 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
10438         * subr.el (reveal-filename): New function.
10440         * loadup.el: Compute Emacs executable versions on MS-Windows,
10441         where executables have the .exe extension.  Add a hard link
10442         emacs-XX.YY.ZZ.exe on MS-Windows.
10444         * Makefile.in (XARGS_LIMIT): New variable.
10445         (custom-deps, finder-data, autoloads)
10446         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10447         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10448         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10449         (compile-main): Limit xargs according to $(XARGS_LIMIT).
10451 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10453         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10454         (octave-mode-menu, octave-mode-map): Remove its uses.
10456 2013-05-16  Reto Zimmermann  <reto@gnu.org>
10458         Sync with upstream vhdl mode v3.34.2.
10459         * progmodes/vhdl-mode.el: Use `push' throughout.
10460         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10461         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10462         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
10463         (vhdl-actual-generic-name): New option to derive actual generic name.
10464         (vhdl-port-paste-signals): Replace formal by actual generics.
10465         (vhdl-beautify): New name for old group vhdl-align.  Update users.
10466         (vhdl-beautify-options): New option.
10467         (vhdl-last-input-event): New compat alias.  Use throughout.
10468         (vhdl-goto-line): Replace user level function `goto-line'.
10469         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10470         vhdl-fix-statement-buffer.
10471         (vhdl-create-mode-menu): Add some entries.
10472         (vhdl-align-region-groups): Respect vhdl-beautify-options.
10473         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10474         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10475         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10476         to force statements on one line.
10477         (vhdl-remove-trailing-spaces-region):
10478         New, split from vhdl-remove-trailing-spaces.
10479         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10480         Respect vhdl-beautify-options.
10481         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10482         (vhdl-update-sensitivity-list): Not add with index if exists without.
10483         Not include array index with signal.  Ignore keywords in comments.
10484         (vhdl-get-visible-signals): Regexp tweaks.
10485         (vhdl-template-component-inst): Handle empty library.
10486         (vhdl-template-type): Add template for 'enum' type.
10487         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
10488         Use vhdl-replace-string.
10489         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
10490         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
10491         (vhdl-speedbar-initialize): Update for above name change.
10492         (vhdl-compose-wire-components): Fix in handling of constants.
10493         (vhdl-error-regexp-emacs-alist): New variable.
10494         (vhdl-error-regexp-add-emacs): New function;
10495         adds support for new compile.el (Emacs 22+)
10496         (vhdl-generate-makefile-1): Change target order for single lib. units.
10497         Allow use of absolute file names.
10499 2013-05-16  Leo Liu  <sdl.web@gmail.com>
10501         * simple.el (prog-indent-sexp): Indent enclosing defun.
10503 2013-05-15  Glenn Morris  <rgm@gnu.org>
10505         * cus-start.el (show-trailing-whitespace): Move to editing basics.
10506         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
10507         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
10508         (whitespace-highlight): Move to whitespace group.
10510         * comint.el (comint-source):
10511         * pcmpl-linux.el (pcmpl-linux):
10512         * shell.el (shell-faces):
10513         * eshell/esh-opt.el (eshell-opt):
10514         * international/ccl.el (ccl): Remove empty custom groups.
10516         * completion.el (dynamic-completion-mode):
10517         * jit-lock.el (jit-lock-debug-mode):
10518         * minibuffer.el (completion-in-region-mode):
10519         * type-break.el (type-break-mode-line-message-mode)
10520         (type-break-query-mode):
10521         * emulation/tpu-edt.el (tpu-edt-mode):
10522         * progmodes/subword.el (global-subword-mode, global-superword-mode):
10523         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
10524         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
10526         * term/xterm.el (xterm): Change parent group to terminals.
10528         * master.el (master): Remove empty custom group.
10529         (master-mode): Remove unused :group argument.
10530         * textmodes/refill.el (refill): Remove empty custom group.
10531         (refill-mode): Remove unused :group argument.
10533         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
10535         * cus-dep.el: Provide a feature.
10536         (custom-make-dependencies): Ignore dotfiles (dir-locals).
10537         Don't mistakenly ignore files whose basenames match a basename
10538         from preloaded-file-list (eg cedet/ede/simple.el).
10539         Add a fallback method for getting :group.
10541 2013-05-15  Juri Linkov  <juri@jurta.org>
10543         * isearch.el (isearch-char-by-name): Rename from
10544         `isearch-insert-char-by-name'.  Doc fix.
10545         (isearch-forward): Mention `isearch-char-by-name' in
10546         the docstring.  (Bug#13348)
10548         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
10549         `exit-minibuffer' instead of
10550         `isearch-nonincremental-exit-minibuffer'.
10551         (isearch-edit-string): Remove mention of
10552         `isearch-nonincremental-exit-minibuffer' from docstring.
10553         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
10554         (isearch-forward-exit-minibuffer)
10555         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
10557 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10559         * loadup.el: Just use unversioned DOC.
10561         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
10562         literals as extending to EOB.
10563         (nxml-last-fontify-end): Remove unused variable.
10564         (nxml-after-change1): Use with-silent-modifications.
10565         (nxml-extend-after-change-region): Simplify.
10566         (nxml-extend-after-change-region1): Remove function.
10567         (nxml-after-change1): Don't adjust for dependent regions.
10568         (nxml-fontify-matcher): Simplify.
10569         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
10570         (xmltok-add-dependent): Remove function.
10571         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
10572         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
10573         (xmltok-scan-prolog-after-processing-instruction-open): Treat
10574         unclosed <[[, <?, comment, and other literals as extending to EOB.
10575         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
10576         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
10577         Remove functions.
10578         (rng-do-some-validation-1): Don't mark dependent regions.
10579         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
10580         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
10581         (nxml-clear-dependent-regions): Remove functions.
10582         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
10583         (nxml-ensure-scan-up-to-date):
10584         Don't clear&mark dependent regions.
10586 2013-05-15  Leo Liu  <sdl.web@gmail.com>
10588         * progmodes/octave.el (octave-goto-function-definition):
10589         Improve and fix callers.
10591 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
10593         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
10594         the setter (bug#14387).
10596         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
10597         surrounding group (bug#14402).
10599 2013-05-14  Juri Linkov  <juri@jurta.org>
10601         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
10602         (Bug#14390)
10604 2013-05-14  Glenn Morris  <rgm@gnu.org>
10606         * progmodes/f90.el (f90-imenu-generic-expression):
10607         Fix typo in 2013-05-08 change.  (Bug#14402)
10609 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10611         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
10612         Remove signals for which replies are never received.
10614 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10616         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
10617         (gdb-handler-alist, gdb-handler-number): Remove variables.
10618         (gdb-handler-list): New variable.
10619         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
10620         (gdb-pending-handler-p, gdb-handle-reply)
10621         (gdb-remove-all-pending-triggers): New functions.
10622         (gdb-discard-unordered-replies): New defcustom.
10623         (gdb-handler): New defstruct.
10624         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
10625         instead of gdb-pending-triggers.  Update docstring.
10626         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
10627         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
10628         (gdb-var-update-handler, def-gdb-auto-update-trigger)
10629         (def-gdb-auto-update-handler, gdb-get-changed-registers)
10630         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
10631         (gdb-frame-handler): Pending triggers are now automatically managed.
10632         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
10633         Remove argument.
10634         (gdb-input): Automatically handles pending triggers.  Update docstring.
10635         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
10636         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
10637         Update comments.
10638         (gdb-done-or-error): Now use gdb-handle-reply.
10640 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
10642         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
10643         gdb-debug-log.
10645 2013-05-14  Glenn Morris  <rgm@gnu.org>
10647         * subr.el (user-emacs-directory-warning): New option.
10648         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
10650 2013-05-14  Leo Liu  <sdl.web@gmail.com>
10652         * progmodes/octave.el (octave-font-lock-keywords): Fix error
10653         during redisplay.
10654         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
10655         (octave-font-lock-texinfo-comment): Fix invalid search bound
10656         error: wrong side of point.
10658 2013-05-14  Glenn Morris  <rgm@gnu.org>
10660         * progmodes/flymake.el (flymake-xml-program): New option.
10661         (flymake-xml-init): Use it.
10663         * term/xterm.el: Provide a feature.
10665         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
10667 2013-05-13  Glenn Morris  <rgm@gnu.org>
10669         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
10670         Add compat aliases as a hack workaround.  (Bug#14384)
10672 2013-05-13  Leo Liu  <sdl.web@gmail.com>
10674         * progmodes/octave.el (octave-indent-comment): Fix indentation for
10675         ###, and %!.
10676         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
10677         C-M-q.
10678         (octave-comment-start-skip): Include %!.
10679         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
10681 2013-05-12  Leo Liu  <sdl.web@gmail.com>
10683         * progmodes/octave.el (inferior-octave-startup): Store the value
10684         of __octave_srcdir__ for octave-source-directories.
10685         (inferior-octave-check-process): New function refactored out of
10686         inferior-octave-send-list-and-digest.
10687         (octave-source-directories)
10688         (octave-find-definition-filename-function): New variables.
10689         (octave-source-directories)
10690         (octave-find-definition-default-filename): New functions.
10691         (octave-find-definition): Improve to find functions implemented in C++.
10693 2013-05-12  Glenn Morris  <rgm@gnu.org>
10695         * calendar/diary-lib.el (diary-outlook-format-1):
10696         Don't include dayname in the output.  (Bug#14349)
10698 2013-05-11  Glenn Morris  <rgm@gnu.org>
10700         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
10702         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
10703         Treat cc-provide like provide.
10705 2013-05-11  Kevin Ryde  <user42@zip.com.au>
10707         * cus-dep.el (custom-make-dependencies):
10708         Use generated-autoload-load-name for the sake of files such
10709         such cedet/semantic/bovine/c.el, where the base file name
10710         is not in load-path.  (Bug#5277)
10712 2013-05-11  Glenn Morris  <rgm@gnu.org>
10714         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
10715         Provide features.
10717 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10719         * progmodes/octave.el (octave-indent-comment): Improve.
10720         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
10721         (octave-eldoc-function-signatures, octave-eldoc-function):
10722         New functions.
10723         (octave-mode, inferior-octave-mode): Add eldoc support.
10725 2013-05-11  Richard Stallman  <rms@gnu.org>
10727         * epa.el (epa-decrypt-file): Take output file name as argument
10728         and read it using `interactive'.
10730 2013-05-11  Leo Liu  <sdl.web@gmail.com>
10732         * progmodes/octave.el (octave-beginning-of-line)
10733         (octave-end-of-line): Check before using up-list because it jumps
10734         out of more syntactic contructs since moving to smie.
10735         (octave-indent-comment): New function.
10736         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
10737         (octave-begin-keywords, octave-end-keywords)
10738         (octave-reserved-words, octave-smie-bnf-table)
10739         (octave-smie-rules): Add new keywords from Octave 3.6.4.
10741 2013-05-11  Glenn Morris  <rgm@gnu.org>
10743         * faces.el (internal-face-x-get-resource):
10744         * frame.el (ns-display-monitor-attributes-list):
10745         * calc/calc-aent.el (math-to-radians-2):
10746         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
10747         Fix declarations.
10749         * calc/calc-menu.el: Make it loadable in isolation.
10751         * net/eudcb-bbdb.el: Make it loadable without bbdb.
10752         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
10753         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
10754         (eudc-bbdb-query-internal): Require 'bbdb.
10756         * lpr.el (lpr-headers-switches):
10757         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
10759         * progmodes/sql.el (sql-login-params): Fix and improve :type.
10761         * emulation/edt-mapper.el: In batch mode, error rather than hang.
10763         * term.el (term-set-escape-char): Make it idempotent.
10765 2013-05-10  Leo Liu  <sdl.web@gmail.com>
10767         * progmodes/octave.el (inferior-octave-completion-table):
10768         No longer a function and all uses changed.  Use cache to speed up
10769         completion due to bug#11906.
10770         (octave-beginning-of-defun): Re-write to be more general.
10772 2013-05-10  Glenn Morris  <rgm@gnu.org>
10774         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
10776 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
10778         * comint.el (comint-redirect-send-command-to-process): Use :around
10779         rather than :override for comint-redirect-filter.
10780         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
10781         Call it instead of comint-redirect-original-filter-function (which
10782         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
10784 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
10786         * frame.el (display-monitor-attributes-list): Add NS case.
10787         (ns-display-monitor-attributes-list): Declare.
10789 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
10791         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
10793 2013-05-09  Glenn Morris  <rgm@gnu.org>
10795         * international/fontset.el (vertical-centering-font-regexp):
10796         Set standard-value.
10798         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
10800         * bookmark.el (bookmark-search-delay):
10801         * cus-start.el (vertical-centering-font-regexp):
10802         * ps-mule.el (ps-mule-font-info-database-default):
10803         * ps-print.el (ps-default-fg, ps-default-bg):
10804         * type-break.el (type-break-good-break-interval):
10805         * whitespace.el (whitespace-indentation-regexp)
10806         (whitespace-space-after-tab-regexp):
10807         * emacs-lisp/testcover.el (testcover-1value-functions)
10808         (testcover-noreturn-functions, testcover-progn-functions)
10809         (testcover-prog1-functions):
10810         * emulation/viper-init.el (viper-emacs-state-cursor-color):
10811         * eshell/em-glob.el (eshell-glob-translate-alist):
10812         * play/tetris.el (tetris-tty-colors):
10813         * progmodes/cpp.el (cpp-face-default-list):
10814         * progmodes/flymake.el (flymake-allowed-file-name-masks):
10815         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
10816         (idlwave-help-browser-generic-args):
10817         * progmodes/make-mode.el (makefile-special-targets-list):
10818         * progmodes/python.el (python-shell-virtualenv-path):
10819         * progmodes/verilog-mode.el (verilog-active-low-regexp)
10820         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
10821         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
10822         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
10823         * textmodes/reftex-vars.el (reftex-format-label-function):
10824         * textmodes/remember.el (remember-diary-file): Fix custom types.
10826         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
10827         Add :version.
10829 2013-05-09  Leo Liu  <sdl.web@gmail.com>
10831         * progmodes/octave.el (inferior-octave-completion-at-point):
10832         Restore file completion.  (Bug#14300)
10833         (inferior-octave-startup): Fix incorrect highlighting for the
10834         first prompt.
10836 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10838         * progmodes/ruby-mode.el: First cut at SMIE support.
10839         (ruby-use-smie): New var.
10840         (ruby-smie-grammar): New constant.
10841         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
10842         (ruby-smie--forward-token, ruby-smie--backward-token)
10843         (ruby-smie-rules): New functions.
10844         (ruby-mode-variables): Setup SMIE if applicable.
10846 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
10848         * simple.el (line-move-visual): Signal beginning/end of buffer
10849         only if vertical-motion moved less than it was requested.  Avoids
10850         silly incorrect error messages when there are display strings with
10851         multiple newlines at EOL.
10853 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
10855         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
10856         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
10857         (prolog-char-quote-workaround):
10858         * progmodes/cperl-mode.el (cperl-under-as-char):
10859         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
10860         Mark as obsolete.
10861         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
10862         their declaration.
10863         (vhdl-mode-syntax-table-init): Remove.
10865         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
10866         last change.
10868         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
10869         syntax for "_".
10870         (ld-script-font-lock-keywords):
10871         Change regexps to use things like \_< and \_>.
10873         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
10874         Change all regexps to use things like \_< and \_>.
10876         * progmodes/autoconf.el (autoconf-definition-regexp)
10877         (autoconf-font-lock-keywords, autoconf-current-defun-function):
10878         Handle a _ with symbol syntax.
10879         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
10881         * progmodes/ada-mode.el (ada-mode-abbrev-table):
10882         Consolidate declaration.
10883         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
10884         the declaration.
10885         (ada-create-syntax-table): Remove.
10886         (ada-capitalize-word): Don't mess with the syntax of "_" since it
10887         already has the right syntax nowadays.
10888         (ada-goto-next-word): Don't change the syntax of "_".
10890         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
10891         with-wrapper-hook.
10893 2013-05-08  Sam Steingold  <sds@gnu.org>
10895         * thingatpt.el (thing-at-point): Accept optional second argument
10896         NO-PROPERTIES to strip the text properties from the return value.
10897         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
10898         to `thing-at-point' instead of stripping the properties ourselves.
10899         Also, when `thing-at-point' fails to find a url, prepend "http://"
10900         to the filename at point on the assumption that the user is
10901         pointing at something like gnu.org/gnu.
10903 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
10905         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
10906         * faces.el (crm-separator):
10907         Silence byte-compiler.
10909         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
10910         (tool-bar-map): Remove unneeded defvars.
10912 2013-05-08  Leo Liu  <sdl.web@gmail.com>
10914         Re-work a fix for bug#10994 based on Le Wang's patch.
10915         * ido.el (ido-remove-consecutive-dups): New helper.
10916         (ido-completing-read): Use it.
10917         (ido-chop): Revert fix for bug#10994.
10919 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
10921         * cus-edit.el (custom-save-variables):
10922         Pretty-print long values.  (Bug#14187)
10924 2013-05-08  Glenn Morris  <rgm@gnu.org>
10926         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
10927         (m4-mode-syntax-table): Init in the defvar.
10928         (m4-mode-abbrev-table): Let define-derived-mode define it.
10930 2013-05-08  Tom Tromey  <tromey@redhat.com>
10932         * progmodes/m4-mode.el (m4-mode-syntax-table):
10933         Do not treat "_" as word constituent.  (Bug#14167)
10935 2013-05-07  Glenn Morris  <rgm@gnu.org>
10937         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
10938         Remove explicit eshell-isearch-cancel-map.
10940         * progmodes/f90.el (f90-smart-end-names): New option.
10941         (f90-smart-end): Doc fix.
10942         (f90-end-block-optional-name): New constant.
10943         (f90-block-match): Respect f90-smart-end-names.
10945 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
10947         * progmodes/octave.el (octave-smie-forward-token): Be more careful
10948         about implicit semi-colons (bug#14218).
10950 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
10952         * frame.el (display-monitor-attributes-list)
10953         (frame-monitor-attributes): New functions.
10955 2013-05-06  Leo Liu  <sdl.web@gmail.com>
10957         * progmodes/octave.el (octave-syntax-propertize-function): Change
10958         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
10959         (octave-font-lock-keywords): Use octave-operator-regexp.
10960         (octave-completion-at-point): Rename from
10961         octave-completion-at-point-function.
10962         (inferior-octave-directory-tracker): Robustify.
10963         (octave-text-functions): Remove and fix its uses.  No such things
10964         any more.
10966 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10968         * emacs-lisp/trace.el (trace--display-buffer): New function.
10969         (trace-make-advice): Use it.
10971 2013-05-06  Juri Linkov  <juri@jurta.org>
10973         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
10974         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
10975         Doc fix.
10976         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
10977         in the help string.  (Bug#12985)
10979 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
10981         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
10983 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
10985         * progmodes/perl-mode.el: Add support for here documents.
10986         (perl-syntax-propertize-function): Match here-doc markers.
10987         (perl-syntax-propertize-special-constructs): Find their end.
10988         (perl-imenu-generic-expression): Use [:alnum:].
10990         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
10991         (advice--add-function): Refresh the advice if already present
10992         (bug#14317).
10994 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
10996         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
10998 2013-05-06  Glenn Morris  <rgm@gnu.org>
11000         * w32-fns.el (w32-charset-info-alist): Declare.
11002         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11003         of its defcustom properties.
11004         (eshell-cmpl-initialize): No need to load pcomplete.
11006         * generic-x.el: No need to require comint when compiling.
11008         * net/eudc-export.el: Make it loadable without bbdb.
11009         (top-level): Use require rather than load-library.
11010         (eudc-create-bbdb-record, eudc-bbdbify-phone)
11011         (eudc-batch-export-records-to-bbdb)
11012         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11013         Require bbdb.
11015 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
11017         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11018         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11019         some tweaks, instead.
11021 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11023         * progmodes/octave.el (octave-font-lock-keywords)
11024         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11025         (inferior-octave-send-list-and-digest): Improve error message.
11026         (octave-mode, inferior-octave-mode): Use setq-local.
11027         (octave-help): Set info-lookup-mode.
11029 2013-05-05  Richard Stallman  <rms@gnu.org>
11031         * vc/compare-w.el (compare-windows-whitespace):
11032         Treat no-break space as whitespace.
11034         * mail/rmailsum.el (rmail-summary-rmail-update):
11035         Detect empty summary and don't change selected message.
11036         (rmail-summary-goto-msg): Likewise.
11038         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11039         Doc fixes, rename args.
11041 2013-05-05  Alan Mackenzie  <acm@muc.de>
11043         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11045 2013-05-05  Juri Linkov  <juri@jurta.org>
11047         * info.el (Info-read-subfile): Use (point-min) instead of (point)
11048         to not add the length of the summary segment to the return value.
11049         (Bug#14125)
11051 2013-05-05  Leo Liu  <sdl.web@gmail.com>
11053         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11054         (inferior-octave-output-filter): Remove.
11055         (octave-send-region, inferior-octave-startup): Fix callers.
11056         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11057         (octave-binary-file-extensions): New user variable.
11058         (octave-find-definition): Confirm if opening binary files.
11059         (octave-help-file): Use octave-find-definition to get the binary
11060         confirmation.
11061         (octave-help): Adjust for octave-help-file change.
11063 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11065         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11066         Merge the two entries that handle function definitions.
11067         (pascal--syntax-propertize): New const.
11068         (pascal-mode): Use it.  Use setq-local.
11070 2013-05-04  Glenn Morris  <rgm@gnu.org>
11072         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11073         (diary-from-outlook): Respect diary-from-outlook-function.
11075 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11077         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11078         Move the declaration from C.
11079         (read-minibuffer, eval-minibuffer): Move from C.
11080         (completion-setup-function): Avoid minibuffer-completion-contents.
11082 2013-05-03  Leo Liu  <sdl.web@gmail.com>
11084         * progmodes/octave.el (octave-font-lock-keywords): Do not
11085         dehighlight 'end' in comments or strings.
11086         (octave-completing-read, octave-goto-function-definition):
11087         New helpers.
11088         (octave-help-buffer): New user variable.
11089         (octave-help-file, octave-help-function): New button types.
11090         (octave-help): New command and bind it to C-h ;.
11091         (octave-find-definition): New command and bind it to M-.
11092         (user-error): Alias to error if not defined.
11094 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11096         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11097         for \.  (bug#14332)
11098         (octave-font-lock-keywords): Include [ and {.
11100 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11102         * progmodes/octave.el (inferior-octave-startup-file): Change default.
11103         (inferior-octave): Remove calling comint-mode and return the buffer.
11104         (inferior-octave-startup): Cosmetic changes.
11106 2013-05-02  Leo Liu  <sdl.web@gmail.com>
11108         * progmodes/octave.el (octave-syntax-propertize-function):
11109         Include the case when ' is at line beginning.  (Bug#14336)
11111 2013-05-02  Glenn Morris  <rgm@gnu.org>
11113         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11114         * desktop.el (vc-dir-mode): Just autoload it here.
11116 2013-05-02  Alan Mackenzie  <acm@muc.de>
11118         Eliminate variable c-standard-font-lock-fontify-region-function.
11119         * progmodes/cc-mode.el
11120         (c-standard-font-lock-fontify-region-function): Remove.
11121         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11123 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11125         * progmodes/octave.el: Compatible with older emacs-24 releases.
11126         (inferior-octave-has-built-in-variables): Remove.  Built-in
11127         variables were removed from Octave in 2007.
11128         (inferior-octave-startup): Fix uses.
11129         (comint-line-beginning-position): Remove compatibility code for
11130         emacs 21.
11132 2013-05-01  Juri Linkov  <juri@jurta.org>
11134         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
11136 2013-05-01  Juri Linkov  <juri@jurta.org>
11138         * comint.el (comint-previous-matching-input): Don't print message
11139         "History item: %d" when `isearch-mode' is active.
11140         (comint-history-isearch-message): Print message "History item: %d"
11141         when `comint-input-ring-index' is not empty and this function is
11142         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
11144 2013-05-01  Leo Liu  <sdl.web@gmail.com>
11146         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11147         definitions.  Use completion-at-point to insert keywords.
11148         (octave-abbrev-start): Remove.
11149         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11151 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11153         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11154         change.
11156 2013-04-30  Alan Mackenzie  <acm@muc.de>
11158         Handle arbitrarily long C++ member initialisation lists.
11159         * progmodes/cc-engine.el (c-back-over-member-initializers):
11160         new function.
11161         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11162         (most) member init lists.
11164 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
11166         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11167         variable.
11169 2013-04-30  Leo Liu  <sdl.web@gmail.com>
11171         * progmodes/octave.el (octave-variables): Remove.  No builtin
11172         variables any more.  All converted to functions.
11173         (octave-font-lock-keywords, octave-completion-at-point-function):
11174         Fix uses.
11175         (octave-font-lock-texinfo-comment): New user variable.
11176         (octave-texinfo-font-lock-keywords): New variable for texinfo
11177         comment block.
11178         (octave-function-comment-block): New face.
11179         (octave-font-lock-texinfo-comment): New function.
11180         (octave-mode): Font lock texinfo comment block.
11182 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11184         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11185         indexing expression.
11186         (octave-continuation-string): Do not use \.
11187         (inferior-octave-complete-impossible): Remove.
11188         (inferior-octave-completion-table)
11189         (inferior-octave-completion-at-point): Remove its uses.
11190         (inferior-octave-startup): completion_matches was introduced to
11191         Octave in 1996 so safe to assume it.
11192         (octave-function-file-comment): Improve to follow how Octave does it.
11193         (octave-update-function-file-comment): Tweak.
11195 2013-04-29  Leo Liu  <sdl.web@gmail.com>
11197         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11198         (inferior-octave-startup): Remove inferior-octave-startup-hook.
11199         (octave-function-file-comment): Fix typo.
11200         (octave-sync-function-file-names): Use read-char-choice.
11202 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
11204         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11205         to t for the less important warnings.
11207 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
11209         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
11211 2013-04-27  Glenn Morris  <rgm@gnu.org>
11213         * vc/log-view.el (log-view-current-entry):
11214         Treat "---" separator lines as part of the following rev.  (Bug#14169)
11216 2013-04-27  Juri Linkov  <juri@jurta.org>
11218         * subr.el (read-number): Doc fix about using it by interactive
11219         code letter `n'.  (Bug#14254)
11221 2013-04-27  Juri Linkov  <juri@jurta.org>
11223         * desktop.el (desktop-auto-save-timeout): New option.
11224         (desktop-file-checksum): New variable.
11225         (desktop-save): Add optional arg `auto-save' and don't auto-save
11226         if nothing changed.
11227         (desktop-auto-save-timer): New variable.
11228         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11229         (after-init-hook): Call `desktop-auto-save-set-timer'.
11230         Suggested by Reuben Thomas <rrt@sc3d.org> in
11231         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11233 2013-04-27  Leo Liu  <sdl.web@gmail.com>
11235         * progmodes/octave.el (octave-function-file-p)
11236         (octave-skip-comment-forward, octave-function-file-comment)
11237         (octave-update-function-file-comment): New functions.
11238         (octave-mode-map): Bind C-c ; to
11239         octave-update-function-file-comment.
11240         (octave-mode-menu): Add octave-update-function-file-comment.
11241         (octave-mode, inferior-octave-mode): Fix doc-string.
11242         (octave-insert-defun): Conform to Octave's coding convention.
11243         (Bug#14285)
11245         * files.el (basic-save-buffer): Don't let errors in
11246         before-save-hook prevent saving buffer.
11248 2013-04-20  Roland Winkler  <winkler@gnu.org>
11250         * faces.el (read-face-name): Use completing-read if arg multiple
11251         is nil.
11253 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
11255         * ls-lisp.el (ls-lisp-insert-directory): If no files are
11256         displayed, move point to after the totals line.
11257         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11258         for the details.
11260 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
11262         * emacs-lisp/package.el (package-autoload-ensure-default-file):
11263         Add current dir to the load-path.
11264         (package-generate-autoloads): Don't rely on
11265         autoload-ensure-default-file.
11267 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
11269         * textmodes/remember.el (remember-store-in-files): Document that
11270         the file name format is passed to `format-time-string'.
11272 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11274         * progmodes/octave.el (octave-sync-function-file-names): New function.
11275         (octave-mode): Use it in before-save-hook.
11277 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
11279         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11280         (bug#14274).
11282         * progmodes/octave.el (octave-smie-forward-token): Properly skip
11283         \n and comment, even if it's not an implicit ; (bug#14218).
11285 2013-04-26  Glenn Morris  <rgm@gnu.org>
11287         * subr.el (read-number): Once more use `read' rather than
11288         `string-to-number', to trap non-numeric input.  (Bug#14254)
11290 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
11292         * emacs-lisp/syntax.el (syntax-propertize-multiline):
11293         Use `syntax-multiline' text property consistently instead of
11294         `font-lock-multiline'.  (Bug#14237)
11296 2013-04-26  Glenn Morris  <rgm@gnu.org>
11298         * emacs-lisp/shadow.el (list-load-path-shadows):
11299         No longer necessary to check for duplicate simple.el, since
11300         2012-07-07 change to init_lread to not include installation lisp
11301         directories in load-path when running uninstalled.  (Bug#14270)
11303 2013-04-26  Leo Liu  <sdl.web@gmail.com>
11305         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11306         (octave-mode, inferior-octave-mode): Use setq-local.
11307         (octave-not-in-string-or-comment-p): Rename to
11308         octave-in-string-or-comment-p.
11309         (octave-in-comment-p, octave-in-string-p)
11310         (octave-in-string-or-comment-p): Replace defsubst with defun.
11312 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
11314         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11316 2013-04-25  Bastien Guerry  <bzg@gnu.org>
11318         * textmodes/remember.el (remember-data-directory)
11319         (remember-directory-file-name-format): Fix custom types.
11321 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11323         * progmodes/octave.el (octave-completion-at-point-function):
11324         Make use of inferior octave process.
11325         (octave-initialize-completions): Remove.
11326         (inferior-octave-completion-table): New function.
11327         (inferior-octave-completion-at-point): Use it.
11328         (octave-completion-alist): Remove.
11330 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11332         * progmodes/opascal.el: Use font-lock and syntax-propertize.
11333         (opascal-mode-syntax-table): New var.
11334         (opascal-literal-kind, opascal-is-literal-end)
11335         (opascal-literal-token-at): Rewrite.
11336         (opascal--literal-start-re, opascal-font-lock-keywords)
11337         (opascal--syntax-propertize): New constants.
11338         (opascal-font-lock-defaults): Adjust.
11339         (opascal-mode): Use them.  Set comment-<foo> variables as well.
11340         (delphi-comment-face, opascal-comment-face, delphi-string-face)
11341         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11342         (delphi-other-face, opascal-other-face): Remove face variables.
11343         (opascal-save-state): Remove macro.
11344         (opascal-fontifying-progress-step): Remove constant.
11345         (opascal--ignore-changes): Remove var.
11346         (opascal-set-token-property, opascal-parse-next-literal)
11347         (opascal-is-stable-literal, opascal-complete-literal)
11348         (opascal-is-literal-start, opascal-face-of)
11349         (opascal-parse-region, opascal-parse-region-until-stable)
11350         (opascal-fontify-region, opascal-after-change)
11351         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11352         (opascal-debug-parse-region, opascal-debug-parse-window)
11353         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11354         (opascal-debug-fontify-buffer): Remove.
11355         (opascal-debug-mode-map): Adjust accordingly.
11357 2013-04-25  Leo Liu  <sdl.web@gmail.com>
11359         Merge octave-mod.el and octave-inf.el into octave.el with some
11360         cleanups.
11361         * progmodes/octave.el: New file renamed from octave-mod.el.
11362         * progmodes/octave-inf.el: Merged into octave.el.
11363         * progmodes/octave-mod.el: Renamed to octave.el.
11365 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
11367         * textmodes/reftex-vars.el
11368         (reftex-label-ignored-macros-and-environments): New defcustom.
11370         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11372 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
11374         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11375         (smie-indent-keyword): Improve the check to ensure that the next
11376         comment is really on the same line.
11377         (smie-indent-comment): Don't align with a subsequent closer (or eob).
11379         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11380         semi-colons if the line is not otherwise empty (bug#14218).
11382 2013-04-25  Glenn Morris  <rgm@gnu.org>
11384         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11386 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
11388         * progmodes/opascal.el (opascal-set-token-property): Rename from
11389         opascal-set-text-properties and only set `token' (bug#14134).
11390         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11391         (opascal-literal-text-properties): Remove.
11392         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11393         Adjust callers.
11395 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
11397         * textmodes/remember.el (remember-handler-functions): Add an
11398         option for a new handler `remember-store-in-files'.
11399         (remember-data-directory, remember-directory-file-name-format):
11400         New options.
11401         (remember-store-in-files): New function to store remember notes
11402         as separate files within a directory.
11404 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
11406         * progmodes/compile.el (compilation-next-error-function):
11407         Pass "formats" to compilation-find-file (bug#11777).
11409 2013-04-24  Glenn Morris  <rgm@gnu.org>
11411         * vc/vc-bzr.el (vc-bzr-print-log):
11412         * vc/vc-hg.el (vc-hg-print-log):
11413         * vc/vc-svn.el (vc-svn-print-log):
11414         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
11416         * vc/vc-bzr.el (vc-bzr-print-log):
11417         * vc/vc-cvs.el (vc-cvs-print-log):
11418         * vc/vc-git.el (vc-git-print-log):
11419         * vc/vc-hg.el (vc-hg-print-log):
11420         * vc/vc-mtn.el (vc-mtn-print-log):
11421         * vc/vc-rcs.el (vc-rcs-print-log):
11422         * vc/vc-sccs.el (vc-sccs-print-log):
11423         * vc/vc-svn.el (vc-svn-print-log):
11424         * vc/vc.el (vc-print-log-internal): Doc fixes.
11426 2013-04-23  Glenn Morris  <rgm@gnu.org>
11428         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11429         Remove venerable code attempting to avoid substitute-command-keys.
11431 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
11433         * textmodes/reftex-vars.el (reftex-label-regexps):
11434         Call `reftex-compile-variables' after changes to this variable.
11436 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
11438         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11439         Use lexical-binding.
11440         (jit-lock-force-redisplay): Use markers, check buffer's continued
11441         existence and beware narrowed buffers.
11442         (jit-lock-fontify-now): Adjust call accordingly.
11444 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
11446         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11447         to avoid misleading the user.
11449 2013-04-22  Leo Liu  <sdl.web@gmail.com>
11451         * info-look.el: Prefer latex2e.info.  (Bug#14240)
11453 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
11455         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
11457         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11458         * net/tramp.el (tramp-call-process): ... here.
11459         (tramp-set-completion-function, tramp-parse-putty):
11460         * net/tramp-adb.el (tramp-adb-execute-adb-command):
11461         * net/tramp-gvfs.el (tramp-gvfs-send-command):
11462         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11463         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11464         (tramp-call-local-coding-command): Use `tramp-call-process'
11465         instead of `tramp-compat-call-process'.
11467         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11468         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11469         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11470         (tramp-find-inline-compress): Improve traces.
11471         (tramp-maybe-send-script): Check for Perl binary.
11472         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11474 2013-04-22  Daiki Ueno  <ueno@gnu.org>
11476         * epg.el (epg-context-pinentry-mode): New function.
11477         (epg-context-set-pinentry-mode): New function.
11478         (epg--start): Pass --pinentry-mode option to gpg command.
11480 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
11482         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11483         `comint-dynamic-complete' is obsolete since 24.1, replaced by
11484         `completion-at-point'.  (Bug#13774)
11486         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
11487         default key binding for `describe-distribution' has been moved to
11488         `C-h C-o'.  (Bug#13970)
11490 2013-04-21  Glenn Morris  <rgm@gnu.org>
11492         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
11493         Add doc strings.
11494         (vc-print-log): Clarify interactive prompt.
11496 2013-04-20  Glenn Morris  <rgm@gnu.org>
11498         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11499         No longer include timestamp etc information.
11501 2013-04-20  Roland Winkler  <winkler@gnu.org>
11503         * faces.el (read-face-name): Bug fix, return just one face if arg
11504         multiple is nil.  (Bug#14209)
11506 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
11508         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
11509         (remove-function): Autoload.
11511         * comint.el (comint-redirect-original-filter-function): Remove.
11512         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
11513         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
11514         (vc-cvs-annotate-command):
11515         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
11516         * progmodes/prolog.el (prolog-consult-compile):
11517         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
11518         Use add/remove-function instead.
11519         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
11520         (gud-tooltip-process-output, gud-tooltip-tips):
11521         Use add/remove-function instead.
11522         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
11523         (scheme-interaction-mode, exit-scheme-interaction-mode):
11524         Use add/remove-function instead.
11526         * vc/vc-dispatcher.el: Use lexical-binding.
11527         (vc--process-sentinel): Rename from vc-process-sentinel.
11528         Change last arg to be the code to run.  Don't use vc-previous-sentinel
11529         and vc-sentinel-commands any more.
11530         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
11531         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
11533 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
11535         * progmodes/sh-script.el (sh-imenu-generic-expression):
11536         Handle function names with a single character.   (Bug#14111)
11538 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
11540         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
11541         for subroutines defined in an eval (bug#14182).
11543 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11545         * bookmark.el (bookmark-completing-read): Improve handling of empty
11546         string (bug#14176).
11548 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
11550         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
11552 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11554         New faster Imenu implementation (bug#14058).
11555         * progmodes/python.el:
11556         (python-imenu-prev-index-position):
11557         (python-imenu-format-item-label-function)
11558         (python-imenu-format-parent-item-label-function)
11559         (python-imenu-format-parent-item-jump-label-function):
11560         New vars.
11561         (python-imenu-format-item-label)
11562         (python-imenu-format-parent-item-label)
11563         (python-imenu-format-parent-item-jump-label)
11564         (python-imenu--put-parent, python-imenu--build-tree)
11565         (python-imenu-create-index, python-imenu-create-flat-index)
11566         (python-util-popn): New functions.
11567         (python-mode): Set imenu-create-index-function to
11568         python-imenu-create-index.
11570 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11572         * winner.el (winner-active-region): Use region-active-p, activate-mark
11573         and deactivate-mark (bug#14225).
11575         * simple.el (deactivate-mark): Don't inline it.
11577 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
11579         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
11581 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
11583         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
11584         file extensions from the archive-mode entry in order to prefer
11585         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
11587 2013-04-18  Leo Liu  <sdl.web@gmail.com>
11589         * bindings.el (help-event-list): Add ?\?.
11591 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
11593         * subr.el (with-wrapper-hook): Declare obsolete.
11594         * simple.el (filter-buffer-substring-function): New hook.
11595         (filter-buffer-substring): Use it.
11596         (filter-buffer-substring-functions): Mark obsolete.
11597         * minibuffer.el (completion-in-region-function): New hook.
11598         (completion-in-region): Use it.
11599         (completion-in-region-functions): Mark obsolete.
11600         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
11601         * abbrev.el (abbrev-expand-function): New hook.
11602         (expand-abbrev): Use it.
11603         (abbrev-expand-functions): Mark obsolete.
11604         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
11605         and :filter-return.
11607 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11609         * progmodes/python.el (python-nav--syntactically): Fix cornercases
11610         and do not care about match data.
11612 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11614         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
11615         completion tables when completing error conditions and
11616         `declare' arguments.
11617         (lisp-complete-symbol, field-complete): Mark as obsolete.
11618         (check-parens): Unmatched parens are user errors.
11619         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
11621 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
11623         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
11624         command changed buffer (ie. `flyspell-pre-buffer' is not current
11625         buffer), which prevents making decisions based on invalid value of
11626         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
11627         cause an error when `flyspell-pre-point' was nil after switching
11628         buffers.
11629         (flyspell-post-command-hook): No longer needs to change buffers when
11630         checking pre-word.  While at it remove unnecessary progn.
11632 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
11634         * textmodes/ispell.el (ispell-add-per-file-word-list):
11635         Fix `flyspell-correct-word-before-point' error when accepting
11636         words and `coment-padding' is an integer by using
11637         `comment-normalize-vars' (Bug #14214).
11639 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11641         New defun movement commands.
11642         * progmodes/python.el (python-nav--syntactically)
11643         (python-nav--forward-defun, python-nav-backward-defun)
11644         (python-nav-forward-defun): New functions.
11646 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
11648         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11649         (python-syntax-context): Use named compiler-macro for backwards
11650         compatibility with Emacs 24.x.
11652 2013-04-17  Leo Liu  <sdl.web@gmail.com>
11654         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
11655         octave-hide-process-buffer.
11657 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
11659         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
11660         (bug#14216).
11662 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
11664         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
11665         Fix adjustment of offset when receiving incomplete responses from GDB
11666         (bug#14129).
11668 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11670         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
11671         python-mode-abbrev-table.
11672         (python-skeleton-define): Adjust accordingly.
11673         (python-mode-abbrev-table): New table that inherits from it so that
11674         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
11676         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
11677         (abbrev-symbol): Use it.
11678         (abbrev--before-point): Use it since we already handle inheritance.
11680 2013-04-16  Leo Liu  <sdl.web@gmail.com>
11682         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
11683         binding to info-lookup-symbol.
11685 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
11687         * minibuffer.el (completion--twq-all):
11688         * term/ns-win.el (ns-initialize-window-system):
11689         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
11691 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
11693         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
11694         global bindings.
11696         * doc-view.el (doc-view-start-process): Handle url-handler directories.
11698 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
11700         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
11701         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
11702         to nil.
11703         (ruby-end-of-defun): Remove the unused arg, change the docstring
11704         to reflect that this function is only used as the value of
11705         `end-of-defun-function'.
11706         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
11707         to reflect an earlier change that beginning/end-of-defun functions
11708         jump between methods in a class definition, as well as top-level
11709         functions.
11711 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11713         * minibuffer.el (minibuffer-complete): Don't just scroll
11714         a *Completions* that's been iconified.
11715         (minibuffer-force-complete): Make sure repetitions do cycle when going
11716         through completion-in-region -> minibuffer-complete.
11718 2013-04-15  Alan Mackenzie  <acm@muc.de>
11720         Correct the placement of c-cpp-delimiters when there're #s not at
11721         col 0.
11723         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
11724         place a submatch around the #.
11725         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
11726         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
11727         on the #, not BOL.
11729 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
11731         * emacs-lisp/nadvice.el: Properly test names when adding advice.
11732         (advice--member-p): New arg `name'.
11733         (advice--add-function, advice-member-p): Use it (bug#14202).
11735 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
11737         Reformulate java imenu-generic-expression.
11738         The old expression contained ill formed regexps.
11740         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
11741         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
11742         (cc-imenu-java-method-arg-regexp): New defconsts.
11743         (cc-imenu-java-build-type-args-regex): New defun.
11744         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
11745         handling of spaces in the regexp.
11747 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
11749         * textmodes/ispell.el (ispell-command-loop): Remove
11750         flyspell highlight of a word when ispell accepts it (bug #14178).
11752 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
11754         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
11755         uses code from the previous `ange-ftp-run-real-handler'.
11756         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
11757         only in case that function exist.  This is needed for proper
11758         unloading of Tramp.
11760 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
11762         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
11764         * textmodes/reftex.el (reftex-compile-variables): Use it.
11766 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
11768         * files.el (normal-mode): Only use default major-mode if no other mode
11769         was specified.
11771         * emacs-lisp/trace.el (trace-values): New function.
11773         * files.el: Allow : in local variables (bug#14089).
11774         (hack-local-variable-regexp): New var.
11775         (hack-local-variables-prop-line, hack-local-variables): Use it.
11777 2013-04-13  Roland Winkler  <winkler@gnu.org>
11779         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
11780         data before it gets modified by bibtex-beginning-of-entry.
11782 2013-04-13  Roland Winkler  <winkler@gnu.org>
11784         * textmodes/bibtex.el (bibtex-url): Doc fix.
11786 2013-04-13  Roland Winkler  <winkler@gnu.org>
11788         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
11789         does not visit a BibTeX file, exclude it from the list of buffers
11790         returned by bibtex-initialize.
11792 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
11794         * window.el (split-window): Remove interactive form, since as a
11795         command this function is a special case of split-window-below.
11796         Correct doc string.
11798 2013-04-12  Roland Winkler  <winkler@gnu.org>
11800         * faces.el (read-face-name): Do not override value of arg default.
11801         Allow single faces and strings as default values.  Remove those
11802         elements from return value that are not faces.
11803         (describe-face): Simplify.
11804         (face-at-point): New optional args thing and multiple so that this
11805         function can provide the same functionality previously provided by
11806         read-face-name.
11807         (make-face-bold, make-face-unbold, make-face-italic)
11808         (make-face-unitalic, make-face-bold-italic, invert-face)
11809         (modify-face, read-face-and-attribute): Use face-at-point.
11811         * cus-edit.el (customize-face, customize-face-other-window)
11812         * cus-theme.el (custom-theme-add-face)
11813         * face-remap.el (buffer-face-set)
11814         * facemenu.el (facemenu-set-face): Use face-at-point.
11816 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
11818         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
11820 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
11822         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
11823         off leading { and trailing } from field values.
11825 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
11827         * emacs-lisp/timer.el (timer--check): New function.
11828         (timer--time, timer-set-function, timer-event-handler): Use it.
11829         (timer-set-idle-time): Simplify.
11830         (timer--activate): CSE.
11831         (timer-event-handler): Give more info in error message.
11832         (internal-timer-start-idle): New function, moved from C.
11834         * mpc.el (mpc-proc): Add `restart' argument.
11835         (mpc-proc-cmd): Use it.
11836         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
11837         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
11838         less often.
11840 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
11842         * progmodes/sh-script.el: Implement `sh-mode' own
11843         `add-log-current-defun-function' (bug#14112).
11844         (sh-current-defun-name): New function.
11845         (sh-mode): Use the function.
11847 2013-04-09  Bastien Guerry  <bzg@gnu.org>
11849         * simple.el (choose-completion-string): Fix docstring (bug#14163).
11851 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
11853         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
11855         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
11856         timer (bug#14156).
11858 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
11860         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
11861         declaration.
11863 2013-04-07  Leo Liu  <sdl.web@gmail.com>
11865         * pcmpl-x.el: New file.
11867 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
11869         Do not set x-display-name until X connection is established.
11870         This is needed to prevent from weird situation described at
11871         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
11872         * frame.el (make-frame): Set x-display-name after call to
11873         window system initialization function, not before.
11874         * term/x-win.el (x-initialize-window-system): Add optional
11875         display argument and use it.
11876         * term/w32-win.el (w32-initialize-window-system):
11877         * term/ns-win.el (ns-initialize-window-system):
11878         * term/pc-win.el (msdos-initialize-window-system):
11879         Add compatible optional display argument.
11881 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
11883         * files.el (normal-backup-enable-predicate): On MS-Windows and
11884         MS-DOS compare truenames of temporary-file-directory and of the
11885         file, so that 8+3 aliases (usually found in $TEMP on Windows)
11886         don't fail comparison by compare-strings.  Also, compare file
11887         names case-insensitively on MS-Windows and MS-DOS.
11889 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11891         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
11892         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
11894 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
11896         * whitespace.el (whitespace-color-on, whitespace-color-off):
11897         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
11899 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
11901         * ispell.el (ispell-set-spellchecker-params):
11902         Really set `ispell-args' for all equivs.
11904 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
11906         * ido.el (ido-completions): Use extra elements of ido-decorations
11907         (bug#14143).
11908         (ido-decorations): Update docstring.
11910 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
11912         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
11913         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
11914         nil during initialization, in order not to miss changes since the
11915         file was opened.  (Bug#14140)
11917 2013-04-05  Leo Liu  <sdl.web@gmail.com>
11919         * kmacro.el (kmacro-call-macro): Fix bug#14135.
11921 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
11923         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
11925 2013-04-04  Glenn Morris  <rgm@gnu.org>
11927         * electric.el (electric-pair-inhibit-predicate): Add :version.
11929 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
11931         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
11932         when a package is required several times (bug#14082).
11934 2013-04-04  Roland Winkler  <winkler@gnu.org>
11936         * faces.el (read-face-name): Behave as promised by the docstring.
11937         Assume that arg default is a list of faces.
11938         (describe-face): Call read-face-name with list of default faces.
11940 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
11942         * bookmark.el: Fix deletion of bookmarks (bug#13972).
11943         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
11944         (bookmark-bmenu-execute-deletions): Only skip first line if it's
11945         the header.
11946         (bookmark-exit-hook-internal): Save even if list is empty.
11948 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
11950         * emacs-lisp/package.el (package-pinned-packages): New var.
11951         (package--add-to-archive-contents): Obey it (bug#14118).
11953 2013-04-03  Alan Mackenzie  <acm@muc.de>
11955         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
11956         Also adapt to the new values of element 7 of a parse state.
11958         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
11959         parameter `not-in-delimiter'.  Handle being inside comment opener.
11960         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
11961         character in case we're typing a '*' after a '/'.
11962         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
11963         instead by passing the parameter to c-state-pp-to-literal.
11965         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
11966         for elt. 7 of a parse state.
11968 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
11970         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
11971         * international/latin1-disp.el, international/mule-util.el:
11972         * language/cyril-util.el, language/european.el, language/ind-util.el:
11973         * language/lao-util.el, language/thai.el, language/tibet-util.el:
11974         * language/tibetan.el, language/viet-util.el:
11975         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
11977 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
11979         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
11980         (electric-pair-post-self-insert-function): Use it.
11981         (electric-pair-default-inhibit): New function, extracted from
11982         electric-pair-post-self-insert-function.
11984 2013-03-31  Roland Winkler  <winkler@gnu.org>
11986         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
11988 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
11990         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
11992 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
11994         Un-indent after "pass" and "return" statements (Bug#13888)
11995         * progmodes/python.el (python-indent-block-enders): New var.
11996         (python-indent-calculate-indentation): Use it.
11998 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
12000         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12001         defun.  Defining it as defalias could introduce too eager
12002         byte-compiler optimization.  (Bug#14030)
12004 2013-03-30  Chong Yidong  <cyd@gnu.org>
12006         * iswitchb.el (iswitchb-read-buffer): Fix typo.
12008 2013-03-30  Leo Liu  <sdl.web@gmail.com>
12010         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12011         (kmacro-execute-from-register): Pass the keyboard macro to
12012         kmacro-call-macro or repeating won't work correctly.
12014 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
12016         * progmodes/subword.el: Back to using `forward-symbol'.
12018         * subr.el (forward-whitespace, forward-symbol)
12019         (forward-same-syntax): Move from thingatpt.el.
12021 2013-03-29  Leo Liu  <sdl.web@gmail.com>
12023         * kmacro.el (kmacro-to-register): New command.
12024         (kmacro-execute-from-register): New function.
12025         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
12027 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
12029         * mpc.el: Use defvar-local and setq-local.
12030         (mpc--proc-connect): Connection failures are not bugs.
12031         (mpc-mode-map): `follow-link' only applies to the buffer's content.
12032         (mpc-volume-map): Bind to the up-events.
12034 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
12036         * progmodes/subword.el (superword-mode): Use `forward-sexp'
12037         instead of `forward-symbol'.
12039 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
12041         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12042         (edebug--recursive-edit): Use it.
12043         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12044         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12046 2013-03-28  Leo Liu  <sdl.web@gmail.com>
12048         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
12050 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
12052         * facemenu.el (list-colors-callback): New defvar.
12053         (list-colors-redisplay): New function.
12054         (list-colors-display): Install list-colors-redisplay as the
12055         revert-buffer-function.  (Bug#14063)
12057 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
12059         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12060         and suffixes don't overlap (bug#14061).
12062         * case-table.el: Use lexical-binding.
12063         (case-table-get-table): New function.
12064         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
12066 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
12068         * progmodes/subword.el: Add `superword-mode' to do word motion
12069         over symbol_words (parallels and leverages `subword-mode' which
12070         does word motion inside MixedCaseWords).
12072 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
12074         * eshell/em-unix.el: Move su and sudo to...
12075         * eshell/em-tramp.el: ...Eshell tramp module.
12077 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12079         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12080         Change return value to be a sexp.  Delay `get-buffer' to after
12081         restoring the desktop (bug#13951).
12083 2013-03-26  Leo Liu  <sdl.web@gmail.com>
12085         * register.el: Move semantic tag handling back to
12086         cedet/semantic/senator.el.  (Bug#14052)
12088 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
12090         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12091         into the prompt either (bug#13963).
12093 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
12095         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12096         part of "(error-foo)".
12098 2013-03-24  Juri Linkov  <juri@jurta.org>
12100         * replace.el (list-matching-lines-prefix-face): New defcustom.
12101         (occur-1): Pass `list-matching-lines-prefix-face' to the function
12102         `occur-engine' if `face-differs-from-default-p' returns t.
12103         (occur-engine): Add `,' inside backquote construct to evaluate
12104         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
12105         Pass `prefix-face' to the functions `occur-context-lines' and
12106         `occur-engine-add-prefix'.
12107         (occur-engine-add-prefix, occur-context-lines): Add optional arg
12108         `prefix-face' and propertize the prefix with `prefix-face'.
12109         (Bug#14017)
12111 2013-03-24  Leo Liu  <sdl.web@gmail.com>
12113         * nxml/rng-valid.el (rng-validate-while-idle)
12114         (rng-validate-quick-while-idle): Guard against deleted buffer.
12115         (Bug#13999)
12117         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12118         is the last entry in kill-buffer-hook.
12120         * files.el (kill-buffer-hook): Doc fix.
12122 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
12124         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12125         Make it safe-local.
12127         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12129 2013-03-23  Leo Liu  <sdl.web@gmail.com>
12131         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12132         Remove.
12134         * nxml/rng-valid.el (rng-validate-mode)
12135         (rng-after-change-function, rng-do-some-validation):
12136         * nxml/rng-maint.el (rng-validate-buffer):
12137         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12138         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12139         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12140         (nxml-extend-after-change-region): Use with-silent-modifications.
12142         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12143         timer-idle-list.
12145         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12146         (rng-next-error-1, rng-previous-error-1): Do not let-bind
12147         timer-idle-list.  (Bug#13999)
12149 2013-03-23  Juri Linkov  <juri@jurta.org>
12151         * info.el (info-index-match): New face.
12152         (Info-index, Info-apropos-matches): Add a nested subgroup to the
12153         main pattern and add text properties with the new face to matches
12154         in index entries relative to the beginning of the index entry.
12155         (Bug#14015)
12157 2013-03-21  Eric Ludlam  <zappo@gnu.org>
12159         * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12160         Inhibit read only while inserting objects.
12162 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
12164         * progmodes/cfengine.el: Update docs to mention
12165         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
12166         symbol motion.  Remove "_" from the word syntax.
12168 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
12170         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12171         syntax for both `cfengine2-mode' and `cfengine3-mode'.
12173 2013-03-20  Juri Linkov  <juri@jurta.org>
12175         * info.el (Info-next-reference-or-link)
12176         (Info-prev-reference-or-link): New functions.
12177         (Info-next-reference, Info-prev-reference): Use them.
12178         (Info-try-follow-nearest-node): Handle footnote navigation.
12179         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
12181 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
12183         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12184         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12186 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
12188         Suppress unnecessary non-ASCII chatter during build process.
12189         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12190         (batch-skkdic-convert): Suppress most of the chatter.
12191         It's not needed so much now that machines are faster,
12192         and its non-ASCII component was confusing; see Dmitry Gutov in
12193         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12195 2013-03-20  Leo Liu  <sdl.web@gmail.com>
12197         * ido.el (ido-chop): Fix bug#10994.
12199 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12201         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12202         Remove vars.
12203         (whitespace-color-on, whitespace-color-off):
12204         Use `font-lock-fontify-buffer' (Bug#13817).
12206 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
12208         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12209         remapping in mode-line.
12210         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12212 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
12214         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12215         value for `whitespace-line' face (Bug#13875).
12216         (whitespace-font-lock-keywords): Change description.
12217         (whitespace-color-on): Don't save `font-lock-keywords' value, save
12218         the constructed keywords instead.
12219         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12221 2013-03-19  Leo Liu  <sdl.web@gmail.com>
12223         * progmodes/compile.el (compilation-display-error): New command.
12224         (compilation-mode-map, compilation-minor-mode-map): Bind it to
12225         C-o.  (Bug#13992)
12227 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12229         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12231 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
12233         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12235 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
12237         * net/tramp-compat.el (tramp-compat-user-error): New defun.
12239         * net/tramp-adb.el (tramp-adb-handle-shell-command):
12240         * net/tramp-gvfs.el (top):
12241         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12242         (tramp-handle-shell-command): Use it.
12243         (tramp-dissect-file-name): Raise an error when hostname is a
12244         method name, and neither method nor user is specified.
12246         * net/trampver.el: Update release number.
12248 2013-03-18  Leo Liu  <sdl.web@gmail.com>
12250         Make sure eldoc can be turned off properly.
12251         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12252         eldoc-mode.
12253         (eldoc-display-message-p): Revert last change.
12254         (eldoc-display-message-no-interference-p)
12255         (eldoc-print-current-symbol-info): Tweak.
12257 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
12259         * doc-view.el (doc-view-new-window-function): Check the new window
12260         overlay's display property instead the char property of the
12261         buffer's first char.  Use `with-selected-window' instead of
12262         `save-window-excursion' with `select-window'.
12263         (doc-view-document->bitmap): Check the current doc-view overlay's
12264         display property instead the char property of the buffer's first char.
12266 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
12268         Automate the build of ja-dic.el (Bug#13984).
12269         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12270         from the input, rather than assume that it's been done for us by the
12271         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
12272         the current date into a ja-dic.el comment, as that complicates
12273         regression testing.
12275 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
12277         * whitespace.el: Fix double evaluation.
12278         (whitespace-space, whitespace-hspace, whitespace-tab)
12279         (whitespace-newline, whitespace-trailing, whitespace-line)
12280         (whitespace-space-before-tab, whitespace-indentation)
12281         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12282         obsolete defvars.
12283         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12284         (whitespace-color-on): Use a single font-lock-add-keywords call.
12285         Fix double-evaluation of face variables.
12287 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
12289         * net/tramp-adb.el (tramp-adb-parse-device-names):
12290         Use `start-process' instead of `call-process'.  Otherwise, the
12291         function might be blocked under MS Windows.  (Bug#13299)
12293 2013-03-17  Leo Liu  <sdl.web@gmail.com>
12295         Extend eldoc to display info in the mode-line.  (Bug#13978)
12296         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12297         (eldoc-mode-line-string): New variable.
12298         (eldoc-minibuffer-message): New function.
12299         (eldoc-message-function): New variable.
12300         (eldoc-message): Use it.
12301         (eldoc-display-message-p)
12302         (eldoc-display-message-no-interference-p):
12303         Support eldoc-post-insert-mode.
12305         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12306         (eval-expression): Run it.
12308 2013-03-17  Roland Winkler  <winkler@gnu.org>
12310         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12311         strings in the list of return values.
12313 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
12315         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12316         radix before checking for HMS forms.
12318 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12320         * progmodes/scheme.el: Add indentation and font-locking for λ.
12321         (Bug#13975)
12323 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
12325         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12326         token before point (bug#13942).
12328 2013-03-16  Leo Liu  <sdl.web@gmail.com>
12330         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
12332 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
12334         * startup.el (command-line-normalize-file-name): Fix handling of
12335         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
12336         <xfq.free@gmail.com> in
12337         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12339 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
12341         Sync with Tramp 2.2.7.
12343         * net/trampver.el: Update release number.
12345 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
12347         * doc-view.el: Fix bug#13887.
12348         (doc-view-insert-image): Don't modify overlay associated to
12349         non-live windows, and implement horizontal centering of image in
12350         case it's smaller than the window.
12351         (doc-view-new-window-function): Force redisplay of new windows on
12352         doc-view buffers.
12354 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
12356         * saveplace.el (save-place-alist-to-file): Don't sort
12357         `save-place-alist', just pretty-print it (bug#13882).
12359 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
12361         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12362         Check whether `default-file-name-coding-system' is bound.
12363         It isn't in XEmacs.
12365 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
12367         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12368         backquotes for `obsolete' (bug#13929).
12370         * international/mule.el (find-auto-coding): Include file name in
12371         obsolescence warning (bug#13922).
12373 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
12375         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12376         for CFEngine 3-specific indentation.
12377         (cfengine3-indent-line): Use it.  Fix up category regex.
12378         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12380 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
12382         * type-break.el (type-break-file-name):
12383         * textmodes/remember.el (remember-data-file):
12384         * strokes.el (strokes-file):
12385         * shadowfile.el (shadow-initialize):
12386         * saveplace.el (save-place-file):
12387         * ps-bdf.el (bdf-cache-file):
12388         * progmodes/idlwave.el (idlwave-config-directory):
12389         * net/quickurl.el (quickurl-url-file):
12390         * international/kkc.el (kkc-init-file-name):
12391         * ido.el (ido-save-directory-list-file):
12392         * emulation/viper.el (viper-custom-file-name):
12393         * emulation/vip.el (vip-startup-file):
12394         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12395         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12397 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
12399         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12400         * language/thai-word.el: Switch to UTF-8.
12402 See ChangeLog.16 for earlier changes.
12404 ;; Local Variables:
12405 ;; coding: utf-8
12406 ;; End:
12408   Copyright (C) 2011-2014 Free Software Foundation, Inc.
12410   This file is part of GNU Emacs.
12412   GNU Emacs is free software: you can redistribute it and/or modify
12413   it under the terms of the GNU General Public License as published by
12414   the Free Software Foundation, either version 3 of the License, or
12415   (at your option) any later version.
12417   GNU Emacs is distributed in the hope that it will be useful,
12418   but WITHOUT ANY WARRANTY; without even the implied warranty of
12419   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12420   GNU General Public License for more details.
12422   You should have received a copy of the GNU General Public License
12423   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.