* lisp/bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
[emacs.git] / lisp / ChangeLog
blob1e1992fae2aad5da4ded61f20c7fd9b75ccf10e0
1 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
3         * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
5 2013-11-11  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
7         * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
8         throwing error over malformed let/let* (bug#15814).
10 2013-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>
12         * iswitchb.el (iswitchb-mode): Mark obsolete.
14 2013-11-11  Glenn Morris  <rgm@gnu.org>
16         * international/uni-bidi.el, international/uni-category.el:
17         * international/uni-name.el, international/uni-numeric.el:
18         Regenerate for Unicode 6.3.0.
20 2013-11-10  Michael Albinus  <michael.albinus@gmx.de>
22         * net/tramp.el (tramp-methods):
23         * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
24         2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
26 2013-11-09  Andreas Schwab  <schwab@linux-m68k.org>
28         * progmodes/sh-script.el (sh-font-lock-keywords-var):
29         Force highlighting text after Summary keyword in doc face for rpm.
31 2013-11-09  Dmitry Gutov  <dgutov@yandex.ru>
33         * textmodes/ispell.el (ispell-lookup-words): When `look' is not
34         available and the word has no wildcards, append one to the grep pattern.
35         http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
36         (ispell-complete-word): Call `ispell-lookup-words' with the value
37         independent of `ispell-look-p'.
39 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
41         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
42         Not after "||".
43         (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
44         their parent.
46 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
48         * progmodes/ruby-mode.el: Don't require cl any more.  Use pcase instead.
49         (ruby-font-lock-keywords): Use backquote.
51 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
53         * progmodes/ruby-mode.el (ruby-smie--forward-token)
54         (ruby-smie--backward-token): Only consider full-string matches.
56 2013-11-08  Jan Djärv  <jan.h.d@swipnet.se>
58         * faces.el (describe-face): Add distant-foreground.
60 2013-11-08  Bozhidar Batsov  <bozhidar@batsov.com>
62         * progmodes/ruby-mode.el (ruby-mode-set-encoding):
63         Use `ruby-encoding-magic-comment-style' to control the
64         style of the auto-inserted encoding comment.
66 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
68         * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
69         Use `smie-backward-sexp' with token argument.
71 2013-11-08  Michael Albinus  <michael.albinus@gmx.de>
73         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
74         Remove instrumentation code.
76 2013-11-08  Glenn Morris  <rgm@gnu.org>
78         * progmodes/autoconf.el (autoconf-mode):
79         Tweak comment-start-skip.  (Bug#15822)
81 2013-11-08  Stefan Monnier  <monnier@iro.umontreal.ca>
83         * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
84         at bobp (bug#15826).
85         (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
87 2013-11-08  Darren Hoo  <darren.hoo@gmail.com>
89         * man.el (Man-start-calling): New macro, extracted from
90         Man-getpage-in-background.
91         (Man-getpage-in-background): Use it.
92         (Man-update-manpage): New command.
93         (Man-mode-map): Bind it.
95 2013-11-08  Dmitry Gutov  <dgutov@yandex.ru>
97         * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
98         of "and", "or", "&&" and "||".
99         (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
100         argument.  Prohibit opening curly brace because it could only be a
101         block opener in that position.
102         (ruby-smie--forward-token, ruby-smie--backward-token):
103         Separate "|" from "&" or "*" going after it.  That can happen in block
104         arguments.
105         (ruby-smie--indent-to-stmt): New function, seeks the end of
106         previous statement or beginning of buffer.
107         (ruby-smie-rules): Use it.
108         (ruby-smie-rules): Check if there's a ":" before a curly block
109         opener candidate; if there is, it's a hash.
111 2013-11-07  Stefan Monnier  <monnier@iro.umontreal.ca>
113         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
114         (cl--block-wrapper): Fix last accidental change.
116 2013-11-07  Michael Albinus  <michael.albinus@gmx.de>
118         * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
119         Instrument, in order to hunt failure on hydra.
121 2013-11-05  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
123         * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
124         malformed bindings form (bug#15814).
126 2013-11-07  Dmitry Gutov  <dgutov@yandex.ru>
128         * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
129         "." compared to " @ ".  This incidentally fixes some indentation
130         examples with "do".
131         (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
132         (ruby-smie-grammar): New tokens: "and" and "or".
133         (ruby-smie--args-separator-p): Fix the check for tokens at POS.
134         Exclude "and" and "or".  Remove "do" in order to work around token
135         priorities.
136         (ruby-smie-rules): Add all infix tokens.  Handle the case of
137         beginning-of-buffer.
139 2013-11-06  Glenn Morris  <rgm@gnu.org>
141         * Makefile.in (setwins_almost, setwins_for_subdirs):
142         Avoid accidental matches.
144 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
146         * menu-bar.el (popup-menu): Use key-binding.
148 2013-11-06  Eli Zaretskii  <eliz@gnu.org>
150         * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
151         menus, support also the menus produced by minor modes.
152         (Bug#15817)
154 2013-11-06  Leo Liu  <sdl.web@gmail.com>
156         * thingatpt.el (thing-at-point-looking-at): Add optional arg
157         DISTANCE to bound the search. All uses changed.  (Bug#15808)
159 2013-11-06  Glenn Morris  <rgm@gnu.org>
161         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
162         (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
163         (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
165 2013-11-06  Stefan Monnier  <monnier@iro.umontreal.ca>
167         * electric.el (electric-indent-just-newline): New command.
168         (electric-indent-mode-map): New keymap.
169         (electric-indent-mode, electric-pair-mode, electric-layout-mode):
170         Re-add :group which weren't redundant.
172         * electric.el (electric-indent-local-mode): New minor mode.
173         (electric-indent-functions-without-reindent): New var.
174         (electric-indent-post-self-insert-function): Use it.
175         * emacs-lisp/gv.el (buffer-local-value): Add setter.
177 2013-11-05  Eli Zaretskii  <eliz@gnu.org>
179         * international/quail.el (quail-help): Be more explicit about the
180         meaning of the labels shown on the keys.  (Bug#15800)
182         * startup.el (normal-top-level): Load the subdirs.el files before
183         setting the locale environment.  (Bug#15805)
185 2013-11-05  Stefan Monnier  <monnier@iro.umontreal.ca>
187         * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
188         via arguments so as to get the right ones (bug#15418).
190         * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
192 2013-11-05  Michael Albinus  <michael.albinus@gmx.de>
194         Fix problems found while writing a test suite.
196         * net/tramp-compat.el (tramp-compat-load): New defun.
197         * net/tramp.el (tramp-handle-load): Use it.
199         * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
200         "(numberp ok-if-already-exists)" correctly.
202 2013-11-05  Xue Fuqiao  <xfq.free@gmail.com>
204         * international/characters.el (glyphless-char-display-control):
205         Add usage note.
207 2013-11-05  Bozhidar Batsov  <bozhidar@batsov.com>
209         * progmodes/python.el (python-mode):
210         * progmodes/scheme.el (scheme-mode):
211         * progmodes/prolog.el (prolog-mode):
212         * progmodes/ruby-mode.el (ruby-mode):
213         * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
214         (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
216 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
218         * rect.el (rectangle--highlight-for-redisplay):
219         * emacs-lisp/smie.el (smie--next-indent-change):
220         Use buffer-chars-modified-tick.
222         * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
224         * electric.el (electric-indent-post-self-insert-function):
225         Only delete trailing whitepsace if it is indeed trailing (bug#15767).
227 2013-11-04  Helmut Eller  <eller.helmut@gmail.com>
229         * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
231 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
233         * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
234         (bug#15786).
236 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
238         * emacs-lisp/helpers.el: Move from helpers.el.  Use lexical-binding.
240         * progmodes/python.el: Fix up last change.
241         (python-shell--save-temp-file): New function.
242         (python-shell-send-string): Use it.  Remove `msg' arg.  Don't assume
243         `string' comes from the current buffer.
244         (python-shell-send-string-no-output): Remove `msg' arg.
245         (python--use-fake-loc): New var.
246         (python-shell-buffer-substring): Obey it.  Try to compensate for the
247         extra coding line added by python-shell--save-temp-file.
248         (python-shell-send-region): Use python-shell--save-temp-file and
249         python-shell-send-file directly.  Add `nomain' argument.
250         (python-shell-send-buffer): Use python-shell-send-region.
251         (python-electric-pair-string-delimiter): New function.
252         (python-mode): Use it.
254 2013-11-04  Eli Zaretskii  <eliz@gnu.org>
256         * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
257         eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
258         environment and decoding all of the default-directory's to here
259         from command-line.
260         (command-line): Decode also argv[0].
262         * loadup.el: Error out if default-directory is a multibyte string
263         when we are dumping.
265         * Makefile.in (emacs): Don't set LC_ALL=C.  (Bug#15260)
267 2013-11-04  Teodor Zlatanov  <tzz@lifelogs.com>
269         * emacs-lisp/package.el (package-menu-mode)
270         (package-menu--print-info, package-menu--archive-predicate):
271         Add Archive column to package list.
273 2013-11-04  Michael Albinus  <michael.albinus@gmx.de>
275         Fix problems found while writing a test suite.
277         * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
278         (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
279         (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
280         to nil when running original file name handler.  Otherwise,
281         there are problems with constructs like "$$FOO".
283         * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
284         for `localname'.
286 2013-11-04  Bozhidar Batsov  <bozhidar@batsov.com>
288         * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
290         * subr.el (version<, version<=, version=):
291         Update docstrings with information for snapshot versions.
293         * helpers.el: New library for misc helper functions.
294         (hash-table-keys): New function returning a list of hash keys.
295         (hash-table-values): New function returning a list of hash values.
297 2013-11-04  Dmitry Gutov  <dgutov@yandex.ru>
299         * progmodes/ruby-mode.el (ruby-smie--forward-token)
300         (ruby-smie--backward-token): Tokenize heredocs as semicolons.
302 2013-11-04  Michal Nazarewicz  <mina86@mina86.com>
304         * textmodes/fill.el (fill-single-char-nobreak-p): New function
305         checking whether point is after a 1-letter word.
307 2013-11-04  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
309         * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
310         Don't infloop when expanding region over `multiline' syntax-type that
311         begins a line (bug#15778).
313 2013-11-04  Stefan Monnier  <monnier@iro.umontreal.ca>
315         * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
316         Make it into a proper minor mode.
317         (rectangle--region): (implicitly) rename to rectangle-mark-mode.
318         (rectangle-mark-mode-map): New keymap.
319         (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
321 2013-11-04  Glenn Morris  <rgm@gnu.org>
323         * startup.el (command-line-1): Allow `-L :...' to append to load-path.
325 2013-11-03  Stefan Monnier  <monnier@iro.umontreal.ca>
327         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
328         (ruby-smie-rules): Use smie-rule-parent instead.
330         * emacs-lisp/smie.el (smie-rule-parent): Always call
331         smie-indent-virtual rather than only for hanging tokens.
332         (smie--next-indent-change): New helper command.
334 2013-11-03  Glenn Morris  <rgm@gnu.org>
336         * Makefile.in (abs_srcdir): Remove.
337         (emacs): Unset EMACSLOADPATH.
339 2013-11-02  Glenn Morris  <rgm@gnu.org>
341         * Makefile.in (EMACS): Use a relative filename.
342         (abs_top_builddir): Remove.
343         (custom-deps, finder-data, autoloads): Use --chdir.
345         * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
347         Use relative filenames in TAGS files.
348         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
349         (lisptagsfiles4, TAGS): Use relative file names.
350         (TAGS-LISP): Remove.
351         (maintainer-clean): No more TAGS-LISP file.
353         * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
354         (lisptagsfiles4): Use absolute filenames again.
355         (TAGS, TAGS-LISP): Not everything needs to run in one line.
356         Remove all *loaddefs files, not just the first.  Remove esh-groups.
357         (maintainer-clean): Delete TAGS, TAGS-LISP.
359 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
361         * emacs-lisp/package.el (package-version-join):
362         Recognize snapshot versions.
364 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
366         * subr.el (version-regexp-alist): Add support for snapshot versions.
368 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
370         * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
371         New function, replacement for `smie-rule-parent' for when we want to
372         skip over our direct parent if it's an assignment token..
373         (ruby-smie-rules): Use it.
375 2013-11-02  Dmitry Gutov  <dgutov@yandex.ru>
377         * progmodes/ruby-mode.el Use `syntax-propertize-function'
378         unconditionally.  Remove now unnecessary forward declarations.
379         Remove XEmacs-specific setup.
380         (ruby-here-doc-end-re, ruby-here-doc-beg-match)
381         (ruby-font-lock-syntactic-keywords)
382         (ruby-comment-beg-syntax, ruby-in-here-doc-p)
383         (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
384         (ruby-here-doc-end-syntax): Remove.
385         (ruby-mode): Don't check whether `syntax-propertize-rules' is
386         defined as function.
388 2013-11-02  Bozhidar Batsov  <bozhidar@batsov.com>
390         * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
392 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
394         * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
395         table and abbrev table, `define-derived-mode' does that for us
396         anyway.
398 2013-11-01  Glenn Morris  <rgm@gnu.org>
400         * Makefile.in: Remove manual mh-e dependencies (writing .elc
401         files is atomic for some time, so no parallel compilation issues).
403 2013-11-01  Jan Djärv  <jan.h.d@swipnet.se>
405         * faces.el (face-x-resources): Add :distant-foreground.
406         (region): Use :distant-foreground for gtk and ns.
408 2013-11-01  Tassilo Horn  <tsdh@gnu.org>
410         Allow multiple bibliographies when BibLaTeX is used rather than
411         BibTeX.
412         * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
413         (reftex-locate-bibliography-files): Us it.
415 2013-11-01  Claudio Bley  <claudio.bley@googlemail.com>
417         * image.el (image-type-header-regexps): Fix the 'pbm' part to
418         allow comments in pbm files.
420         * term/w32-win.el (dynamic-library-alist): Support newer versions
421         of libjpeg starting with v7: look only for the DLL from the
422         version against which Emacs was built.
423         Support versions of libpng beyond 1.4.x.
424         Support libtiff v4.x.
426 2013-11-01  Bozhidar Batsov  <bozhidar@batsov.com>
428         * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
429         (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
430         Add property :safe.
431         (ruby-deep-arglist): Add property :type.
433 2013-10-31  Glenn Morris  <rgm@gnu.org>
435         * Makefile.in (custom-deps, finder-data): No need to setq the target
436         variables, we are in the right directory and the defaults work fine.
438 2013-10-30  Glenn Morris  <rgm@gnu.org>
440         * Makefile.in (autoloads): Do not use abs_lisp.
442         * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
443         `newline' does not respect `standard-output', so use `princ'.
445 2013-10-30  Alp Aker  <alp.tekin.aker@gmail.com>
447         Ensure unmarking in buffer menu clears 'S' marks.  (Bug#15761)
448         * buff-menu.el (Buffer-menu--unmark): New function.
449         (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
451 2013-10-30  Glenn Morris  <rgm@gnu.org>
453         * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
455         * emacs-lisp/package.el (lm-homepage): Declare.
457         * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
458         Fix doc typos.
460         * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
462         * Makefile.in (finder-data, autoloads, update-subdirs)
463         (compile-main, compile-clean, compile-always, bootstrap-clean):
464         Check return value of cd.
465         (compile-calc): Remove.
467 2013-10-30  Stefan Monnier  <monnier@iro.umontreal.ca>
469         * simple.el (copy-region-as-kill): Fix call to region-extract-function.
471         * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
472         (byte-compile-and-folded): New function.
473         (=, <, >, <=, >=): Use it.
475         * dos-w32.el (minibuffer-history-case-insensitive-variables)
476         (path-separator, null-device, buffer-file-coding-system)
477         (lpr-headers-switches): Check system-type before modifying them.
478         (find-buffer-file-type-coding-system): Mark obsolete.
479         (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
480         find-file-not-found-set-buffer-file-coding-system.
481         (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
482         (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
483         (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
484         (w32-direct-print-region-helper, w32-direct-print-region-function)
485         (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
486         * startup.el (normal-top-level-add-subdirs-to-load-path):
487         * ps-print.el (ps-print-region-function):
488         * lpr.el (print-region-function): Use new name.
490         * subr.el (custom-declare-variable-early): Remove function.
491         (custom-declare-variable-list): Remove var.
492         (error, user-error): Remove `while' loop.
493         (read-quoted-char-radix, read-quoted-char): Move to simple.el.
494         (user-emacs-directory-warning, locate-user-emacs-file):
495         Move to files.el.
496         * simple.el (read-quoted-char-radix, read-quoted-char):
497         * files.el (user-emacs-directory-warning, locate-user-emacs-file):
498         Move from subr.el.
499         * custom.el (custom-declare-variable-list): Don't process
500         custom-declare-variable-list.
502         * progmodes/python.el (python-shell-get-buffer): New function.
503         (python-shell-get-process): Use it.
504         (python-shell-send-string): Always use utf-8 and add a cookie to tell
505         Python which encoding was used.  Don't split-string since we only care
506         about the first line.  Return the temp-file, if applicable.
507         (python-shell-send-region): Tell compile.el how to turn locations in
508         the temp-file into locations in the source buffer.
510 2013-10-29  Stefan Monnier  <monnier@iro.umontreal.ca>
512         * subr.el (undefined): Add missing behavior from the C code for
513         unbound keys.
515         * rect.el: Use lexical-binding.  Add new rectangular region support.
516         (rectangle-mark): New command.
517         (rectangle--region): New var.
518         (deactivate-mark-hook): Reset rectangle--region.
519         (rectangle--extract-region, rectangle--insert-for-yank)
520         (rectangle--highlight-for-redisplay)
521         (rectangle--unhighlight-for-redisplay): New functions.
522         (region-extract-function, redisplay-unhighlight-region-function)
523         (redisplay-highlight-region-function): Use them to handle
524         rectangular region.
525         * simple.el (region-extract-function): New var.
526         (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
527         (kill-new, kill-append): Remove obsolete `yank-handler' argument.
528         (kill-region): Replace obsolete `yank-handler' arg with `region'.
529         (copy-region-as-kill, kill-ring-save): Add `region' argument.
530         (redisplay-unhighlight-region-function)
531         (redisplay-highlight-region-function): New vars.
532         (redisplay--update-region-highlight): New function.
533         (pre-redisplay-function): Use it.
534         (exchange-point-and-mark): Don't deactivate the mark before
535         reactivate-it anyway.
536         * comint.el (comint-kill-region): Remove yank-handler argument.
537         * delsel.el (delete-backward-char, backward-delete-char-untabify)
538         (delete-char): Remove property, since it's now part of their
539         default behavior.
540         (self-insert-iso): Remove property since this command doesn't exist.
542         * emacs-lisp/package.el (package--download-one-archive)
543         (describe-package-1): Don't query the user about final newline.
545 2013-10-29  Daniel Colascione  <dancol@dancol.org>
547         * net/tramp.el (tramp-methods): Document new functionality.
548         * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
549         tramp-hostname-checker if method provides one instead of scanning
550         argument list for "%h" to decide hostname acceptability.
552 2013-10-28  Michael Albinus  <michael.albinus@gmx.de>
554         * net/tramp-sh.el (tramp-sh-handle-copy-directory):
555         * net/tramp-smb.el (tramp-smb-handle-copy-directory):
556         Handle COPY-CONTENTS.  (Bug#15737)
558 2013-10-28  Daiki Ueno  <ueno@gnu.org>
560         * epa-file.el
561         (epa-file-cache-passphrase-for-symmetric-encryption):
562         Document that this option has no effect with GnuPG 2.0 (bug#15552).
564 2013-10-27  Xue Fuqiao  <xfq.free@gmail.com>
566         * image.el (defimage):
567         (image-load-path): Doc fixes.
569 2013-10-27  Alan Mackenzie  <acm@muc.de>
571         Indent statements in macros following "##" correctly.
572         * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
573         Modify the "#" arm of a cond form to handle "#" and "##" operators.
575 2013-10-27  Nathan Trapuzzano  <nbtrap@nbtrap.com>  (tiny change)
577         * linum.el (linum-update-window): Fix boundary test (bug#13446).
579 2013-10-27  Dmitry Gutov  <dgutov@yandex.ru>
581         * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
582         after `=' is probably a new expression.
584 2013-10-27  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
586         * man.el (man-imenu-title): New option.
587         (Man-mode-map): Add menu.  (Bug#15722)
588         (Man-mode): Add imenu to menu.
590 2013-10-26  Dmitry Gutov  <dgutov@yandex.ru>
592         * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
593         specific in what the first arg can be: a non-keyword word,
594         string/regexp/percent literal opener, opening paren, or unary
595         operator followed directly by word.
597 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
599         * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
600         (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
601         (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
602         (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
603         Remove vars, they do not apply any more.
604         (prolog-mode-abbrev-table): Remove redundant declaration.
605         (prolog-upper-case-string, prolog-lower-case-string): Remove.
606         (prolog-use-smie): Remove.
607         (prolog-smie-rules): Add indentation rule for the if-then-else layout
608         supported by prolog-electric-if-then-else-flag.
609         (prolog-mode-variables, prolog-menu): Use setq-local.
610         (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
611         Remove binding to `Backspace' since this key doesn't exist anyway.
612         Remove bindings for electric self-inserting keys.
613         (prog-mode): Assume it's defined.
614         (prolog-post-self-insert): New function.
615         (prolog-mode): Use it.
616         (prolog-indent-line, prolog-indent-level)
617         (prolog-find-indent-of-matching-paren)
618         (prolog-indentation-level-of-line, prolog-goto-comment-column)
619         (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
620         (prolog-goto-next-paren, prolog-in-string-or-comment)
621         (prolog-tokenize, prolog-inside-mline-comment)
622         (prolog-find-start-of-mline-comment): Remove functions.
623         (prolog-find-unmatched-paren, prolog-clause-end)
624         (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
625         (prolog-electric--if-then-else): Rename from
626         prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
627         (prolog-tokenize-searchkey): Remove const.
628         (prolog-clause-info): Use forward-sexp.
629         (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
630         (prolog-electric-if-then-else): Remove commands.
631         (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
632         for use in post-self-insert-hook.
633         (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
634         for use in post-self-insert-hook.
635         (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
636         for use in post-self-insert-hook.
637         (prolog-electric--underscore): Rename from prolog-electric--underscore;
638         adapt it for use in post-self-insert-hook.
640 2013-10-25  Michael Albinus  <michael.albinus@gmx.de>
642         * emacs-lisp/ert.el (ert-run-tests-interactively):
643         Use `completing-read'.  (Bug#9756)
645 2013-10-25  Eli Zaretskii  <eliz@gnu.org>
647         * simple.el (line-move): Call line-move-1 instead of
648         line-move-visual when the current window hscroll is zero, but
649         temporary-goal-column indicates we will need to hscroll as result
650         of the movement.  (Bug#15712)
652 2013-10-25  Dmitry Gutov  <dgutov@yandex.ru>
654         * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
655         capitalization.  Use :visible instead of :active.
656         Fix `ruby-indent-exp' reference.  Add menu items for the generic
657         commands that are used with SMIE.
658         (ruby-do-end-to-brace): Insert space after `{'.
660 2013-10-25  John Anthony  <john@jo.hnanthony.com>
662         * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu.  (Bug#15600)
664         * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu.  (Bug#15599)
666 2013-10-25  Glenn Morris  <rgm@gnu.org>
668         * vc/vc.el (vc-print-log): Don't use a working revision unless
669         one was explicitly specified.  (Bug#15322)
671 2013-10-25  Stefan Monnier  <monnier@iro.umontreal.ca>
673         * subr.el (add-to-list): Preserve return value in compiler-macro
674         (bug#15692).
676 2013-10-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
678         * progmodes/octave.el (octave-lookfor): Handle empty lookfor
679         result.  Ask user to retry using '-all' flag.  (Bug#15701)
681 2013-10-24  Stefan Monnier  <monnier@iro.umontreal.ca>
683         * emacs-lisp/smie.el: New smie-config system.
684         (smie-config): New defcustom.
685         (smie-edebug, smie-config-show-indent, smie-config-set-indent)
686         (smie-config-guess, smie-config-save): New commands.
687         (smie-config--mode-local, smie-config--buffer-local)
688         (smie-config--trace, smie-config--modefuns): New vars.
689         (smie-config--advice, smie-config--mode-hook)
690         (smie-config--setter, smie-config-local, smie-config--get-trace)
691         (smie-config--guess-value, smie-config--guess): New functions.
692         (smie-indent-forward-token, smie-indent-backward-token): Don't copy
693         text properties.  Treat "string fence" syntax like string syntax.
695         * progmodes/sh-script.el (sh-use-smie): Change default.
696         (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
697         (sh-var-value): Simplify by CSE.
698         (sh-show-indent, sh-set-indent, sh-learn-line-indent)
699         (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
700         is used.
701         (sh-guess-basic-offset): Use cl-incf.
702         (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
704 2013-10-24  Helmut Eller  <eller.helmut@gmail.com>
706         * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
707         (bug#15699).
709 2013-10-24  Glenn Morris  <rgm@gnu.org>
711         * Makefile.in (abs_top_srcdir): Remove.
712         (update-subdirs): Use relative path to update-subdirs.
714 2013-10-24  Eli Zaretskii  <eliz@gnu.org>
716         * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
717         ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
718         ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
719         Call unmsys--file-name before expand-file-name, not after it.
721 2013-10-24  Michael Albinus  <michael.albinus@gmx.de>
723         * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
724         (ert-test-skipped): New error.
725         (ert-skip, ert-stats-skipped): New defuns.
726         (ert--skip-unless): New macro.
727         (ert-test-skipped): New struct.
728         (ert--run-test-debugger, ert-test-result-type-p)
729         (ert-test-result-expected-p, ert--stats, ert-stats-completed)
730         (ert--stats-set-test-and-result, ert-char-for-test-result)
731         (ert-string-for-test-result, ert-run-tests-batch)
732         (ert--results-update-ewoc-hf, ert-run-tests-interactively):
733         Handle skipped tests.  (Bug#9803)
735 2013-10-24  Glenn Morris  <rgm@gnu.org>
737         * Makefile.in (check-declare): Remove unnecessary path in -l argument.
739         * Makefile.in (abs_top_srcdir): New, set by configure.
740         (update-subdirs): Correct build-aux location.
742 2013-10-24  Dmitry Gutov  <dgutov@yandex.ru>
744         * vc/vc.el (vc-print-root-log): Always set `default-directory'
745         value, whether we could auto-deduce `backend', or not.
747         * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
748         with parameters" example.  Simplify the "is it block or is it
749         hash" check, but also make it more thorough.
751 2013-10-23  Masashi Fujimoto  <masfj.dev@gmail.com>  (tiny change)
753         * battery.el (battery-pmset): Handle OS X Mavericks.  (Bug#15694)
755 2013-10-23  Stefan Monnier  <monnier@iro.umontreal.ca>
757         * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
758         { if it is hanging.
760         * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
761         :before ";".
763 2013-10-23  Jed Brown  <jed@59A2.org>  (tiny change)
765         * progmodes/compile.el (compilation-directory-matcher)
766         (compilation-page-delimiter):
767         Support GNU Make-4.0 directory quoting.  (Bug#15678)
769 2013-10-23  Leo Liu  <sdl.web@gmail.com>
771         * ido.el (ido-tidy): Handle read-only text.
773 2013-10-23  Glenn Morris  <rgm@gnu.org>
775         * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
776         (emacs, compile, compile-always):
777         Quote entities that might contain whitespace.
778         (custom-deps, finder-data, autoloads): Use abs_lisp.
779         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
780         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
781         ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
783 2013-10-23  Dmitry Gutov  <dgutov@yandex.ru>
785         * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
786         Use `following-char'.
788 2013-10-22  Stefan Monnier  <monnier@iro.umontreal.ca>
790         * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
791         * progmodes/ruby-mode.el (ruby-smie-rules):
792         Remove corresponding workaround.  Fix indentation rule of ";" so it
793         also applies when ";" is the parent.
795 2013-10-22  Xue Fuqiao  <xfq.free@gmail.com>
797         * frame.el (display-screens, display-pixel-height)
798         (display-pixel-width, display-mm-width, display-backing-store)
799         (display-save-under, display-planes, display-color-cells)
800         (display-visual-class, display-monitor-attributes-list):
801         Mention the optional ‘display’ argument in doc strings.
803 2013-10-22  Michael Gauland  <mikelygee@amuri.net>
805         * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
806         viewers such as evince when ebnf-production-name-p is nil.  (Bug#15625)
808 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
810         * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
811         TODO.  Add "." after " @ ".
812         (ruby-smie--at-dot-call): New function.  Checks if point at method
813         call with explicit target.
814         (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
815         to the method name tokens when it precedes them.
816         (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
817         (ruby-smie-rules): Add rule for indentation before and after "."
818         token.
820 2013-10-21  Stefan Monnier  <monnier@iro.umontreal.ca>
822         * textmodes/remember.el (remember-diary-extract-entries):
823         Avoid add-to-list.
825         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
826         an instruction.
828 2013-10-21  Dmitry Gutov  <dgutov@yandex.ru>
830         * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
831         (ruby-smie--implicit-semi-p): Add new operator chars.
833         * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
834         `smie-down-list'.
835         (ruby-smie--args-separator-p): Check that there's no newline
836         between method call and its arguments.
838 2013-10-20  Alan Mackenzie  <acm@muc.de>
840         Allow comma separated lists after Java "implements".
842         * progmodes/cc-engine.el (c-backward-over-enum-header):
843         Parse commas.
844         * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
845         from a "disallowed" list in enum fontification.
847 2013-10-20  Johan Bockgård  <bojohan@gnu.org>
849         * startup.el (default-frame-background-mode): Remove unused defvar.
851         * progmodes/verilog-mode.el (verilog-mode): Don't set
852         comment-indent-function globally.
854 2013-10-20  Jan Djärv  <jan.h.d@swipnet.se>
856         * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
857         Move Info menu item creation to ns-win.el.
859         * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
860         in menu bar.
862         * menu-bar.el: Move GNUStep specific menus...
864         * term/ns-win.el (ns-initialize-window-system): ... to here.
866 2013-10-19  Stefan Monnier  <monnier@iro.umontreal.ca>
868         * simple.el (newline): Only run post-self-insert-hook when
869         called interactively.
871 2013-10-19  Johan Bockgård  <bojohan@gnu.org>
873         * icomplete.el (icomplete-with-completion-tables): Add :version.
875 2013-10-19  Alan Mackenzie  <acm@muc.de>
877         Fix fontification bugs with constructors and const.
879         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
880         CASE 2) Remove the check for the absence of a suffix construct
881         after a function declaration with only types (no identifiers) in
882         the parentheses.  Also, accept a function declaration with just a
883         type inside the parentheses, if this type can be positively
884         recognised as such, or if a prefix keyword like "explicit" nails
885         down the construct as a declaration.
887 2013-10-19  Eli Zaretskii  <eliz@gnu.org>
889         * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
890         TTY menu actions and down-mouse-N to tty-menu-ignore.  This solves
891         the problem whereby selecting a menu item that leads to a
892         minibuffer prompt moves the cursor out of the minibuffer window,
893         making it hard to type at the prompt.  Suggested by Stefan Monnier
894         <monnier@iro.umontreal.ca>.
896 2013-10-19  Jan Djärv  <jan.h.d@swipnet.se>
898         * menu-bar.el: Don't make Services menu.
900 2013-10-19  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
902         * ffap.el: Handle "/usr/include/c++/<version>" directories.
903         (ffap-alist): Use ffap-c++-mode for c++-mode.
904         (ffap-c++-path): New variable.
905         (ffap-c++-mode): New function.
907 2013-10-19  Joe Vornehm Jr.  <joe.vornehm@gmail.com>  (tiny change)
909         * ido.el (dired-other-frame): Only list directories.  (Bug#15638)
911 2013-10-18  Michael Albinus  <michael.albinus@gmx.de>
913         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
914         introduced on 2013-09-08, which results in an infinite loop
915         requesting a password.
917 2013-10-18  Glenn Morris  <rgm@gnu.org>
919         * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
921 2013-10-18  Wilson Snyder  <wsnyder@wsnyder.org>
923         Sync with upstream verilog-mode revision 1a6ecec7.
924         * progmodes/verilog-mode.el (verilog-mode-version): Update.
925         (verilog-mode-release-date): Remove.
926         (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
927         (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
928         (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
929         (verilog-auto-tieoff-ignore-regexp)
930         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
931         (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
932         (verilog-signals-with, verilog-dir-cache-preserving)
933         (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
934         Doc fixes.
935         (verilog-case-fold): New option, to control case folding in
936         regexp searches, bug597.
937         (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
938         (verilog-string-match-fold, verilog-in-paren-count)
939         (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
940         (verilog-at-close-struct-p): New functions.
941         (verilog-beg-block-re-ordered, verilog-extended-case-re)
942         (verilog-forward-sexp, verilog-set-auto-endcomments):
943         (verilog-leap-to-case-head): Handle "unique0" case.
944         (verilog-in-constraint-re): New constant.
945         (verilog-keywords, verilog-type-font-keywords):
946         Add some SystemVerilog 1800-2012 keywords.
947         (verilog-label-be): Remove unimplemented argument, bug669.
948         (verilog-batch-execute-func): When batch expanding clear
949         create-lockfiles to prevent spurious user locks when a file ends
950         up not changing.
951         (verilog-calculate-indent, verilog-calc-1)
952         (verilog-at-close-constraint-p, verilog-at-constraint-p)
953         (verilog-do-indent): Fix indentation of nested constraints
954         and structures.
955         (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
956         (verilog-auto-inst-param): Use verilog-string-match-fold.
957         (verilog-read-inst-module-matcher):
958         Fix AUTOINST on gate primitives with #1.
959         (verilog-read-decls): Fix double-declaring user-defined typed signals.
960         Reads all user-defined typed variables.
961         (verilog-read-defines): Fix reading definitions inside comments, bug647.
962         (verilog-signals-matching-regexp)
963         (verilog-signals-not-matching-regexp, verilog-auto):
964         Respect verilog-case-fold.
965         (verilog-diff-report): Fix line count.
966         (verilog-auto-assign-modport): Remove unused local `modi'.
967         (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
968         better handle multidimensional arrays.
969         Fix packed array ports misadding bit index in AUTOINST, bug637.
970         (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
971         to not double-declare existing outputs and inputs, respectively.
972         (verilog-template-map): Bind U to verilog-sk-uvm-component.
973         (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
974         (verilog-sk-uvm-component): New skeleton.
975         (verilog-submit-bug-report): Add verilog-case-fold,
976         remove verilog-mode-release-date.
978 2013-10-17  Barry O'Reilly  <gundaetiapo@gmail.com>
980         * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
981         as before.
983 2013-10-18  Reuben Thomas  <rrt@sc3d.org>
985         * textmodes/remember.el (remember): set buffer-offer-save in
986         remember buffers (bug#13566).
988 2013-10-18  Daniel Colascione  <dancol@dancol.org>
990         When evaluating forms in ielm, direct standard output to ielm
991         buffer.  Add new ielm-return-for-effect command.  Remove trailing
992         whitespace throughout.
994         * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
995         (ielm-return-for-effect): New command.
996         (ielm-send-input): Accept optional `for-effect' parameter.
997         (ielm-eval-input): Accept optional `for-effect' parameter.
998         Bind `standard-output' to stream we create using
999         `ielm-standard-output-impl'.  Suppress printing result when
1000         `for-effect'.
1001         (ielm-standard-output-impl): New function.
1002         (inferior-emacs-lisp-mode): Explain new features in documentation.
1004 2013-10-17  Michael Albinus  <michael.albinus@gmx.de>
1006         Code cleanup.
1008         * net/tramp.el (tramp-debug-message): Do not check for connection
1009         buffer.
1010         (tramp-message): Use "vector" connection property.
1012         * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1013         (tramp-equal-remote, tramp-eshell-directory-change)
1014         * net/tramp-adb.el (tramp-adb-handle-copy-file)
1015         (tramp-adb-handle-rename-file)
1016         * net/tramp-cmds.el (tramp-list-remote-buffers)
1017         (tramp-cleanup-connection, tramp-cleanup-this-connection)
1018         * net/tramp-compat.el (tramp-compat-process-running-p)
1019         * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1020         * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1021         (tramp-gvfs-handle-rename-file)
1022         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1023         (tramp-set-file-uid-gid)
1024         * net/tramp-smb.el (tramp-smb-handle-copy-file)
1025         (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1026         of `file-remote-p'.
1028         * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1029         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1030         (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1031         (tramp-gw-open-network-stream): Suppress unrelated traces.
1033         * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1034         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1035         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1036         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1037         connection property.
1039         * net/tramp-cache.el (top): Suppress traces when reading
1040         persistency file.
1042         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1043         Refactor common code.  Improve debug message.
1044         (tramp-maybe-open-connection)
1045         * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1046         connection buffer too early.
1048         * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1049         from `tramp-smb-actions-with-acl'.
1050         (tramp-smb-actions-set-acl): New defconst.
1051         (tramp-smb-handle-copy-directory)
1052         (tramp-smb-action-get-acl): New defun, renamed from
1053         `tramp-smb-action-with-acl'.
1054         (tramp-smb-action-set-acl): New defun.
1055         (tramp-smb-handle-set-file-acl): Rewrite.
1057 2013-10-17  Glenn Morris  <rgm@gnu.org>
1059         * indent.el (indent-rigidly): Fix 2013-10-08 change.  (Bug#15635)
1061 2013-10-17  Stefan Monnier  <monnier@iro.umontreal.ca>
1063         * skeleton.el (skeleton-newline): Remove.
1064         (skeleton-internal-1): Use (insert "\n") instead.
1066         * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1067         let-bindings.
1069         * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1070         forward-sexp-function while we redo its job (bug#15613).
1072 2013-10-17  Jay Belanger  <jay.p.belanger@gmail.com>
1074         * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1075         represented by lists.
1077 2013-10-16  Glenn Morris  <rgm@gnu.org>
1079         * tmm.el (tmm--history): New dynamic variable.
1080         (tmm-prompt): Use tmm--history in place of `history'.  (Bug#15623)
1082 2013-10-16  Michael Albinus  <michael.albinus@gmx.de>
1084         * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1085         (tramp-smb-errors): Add error messages.
1086         (tramp-smb-actions-with-acl): New defconst.
1087         (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1088         (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1089         (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1090         (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1091         (tramp-smb-get-stat-capability): Fix tests.
1093 2013-10-16  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1095         * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1096         (bug#15580).
1098 2013-10-16  Glenn Morris  <rgm@gnu.org>
1100         * ansi-color.el (ansi-color-drop-regexp):
1101         Add 1J, 1K, 2K.  (Bug#15617)
1103         * files.el (hack-local-variables--warned-lexical): New.
1104         (hack-local-variables):
1105         Warn about misplaced lexical-binding.  (Bug#15616)
1107         * net/eww.el (eww-render): Always set eww-current-url,
1108         and update header line.  (Bug#15622)
1109         (eww-display-html): ... Rather than just doing it here.
1111 2013-10-15  Eli Zaretskii  <eliz@gnu.org>
1113         * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1114         menu navigations commands.
1116 2013-10-14  Dima Kogan  <dima@secretsauce.net>  (tiny change)
1118         * progmodes/subword.el (subword-capitalize): Be careful when
1119         the search for [[:alpha:]] fails (bug#15580).
1121 2013-10-14  Eli Zaretskii  <eliz@gnu.org>
1123         * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1124         to commands that scroll the menu.
1126 2013-10-14  Dmitry Gutov  <dgutov@yandex.ru>
1128         * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1129         Handle methods ending with `?' and `!'.
1131 2013-10-14  Akinori MUSHA  <knu@iDaemons.org>
1133         * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1134         `japanese-cp932' to `cp932' to fix the problem where saving a
1135         source file written in Shift_JIS twice would end up having
1136         `coding: japanese-cp932' which Ruby could not recognize.
1137         (ruby-mode-set-encoding): Add support for encodings mapped to nil
1138         in `ruby-encoding-map'.
1139         (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1140         doesn't need to be explicitly declared in magic comment.
1141         (ruby-encoding-map): Add type declaration for better customize UI.
1143 2013-10-13  Glenn Morris  <rgm@gnu.org>
1145         * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1146         Occur buffers are read-only.  http://bugs.debian.org/720775
1148         * emacs-lisp/authors.el (authors-fixed-entries):
1149         Comment out old alpha stuff.
1151 2013-10-13  Dmitry Gutov  <dgutov@yandex.ru>
1153         * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1154         to `after-save-hook' instead of `before-save-hook'.
1155         (ruby-mode-set-encoding): Use the value of coding system used to
1156         write the file.  Call `basic-save-buffer-1' after modifying the
1157         buffer.
1159 2013-10-13  Alan Mackenzie  <acm@muc.de>
1161         Fix indentation/fontification of Java enum with
1162         "implements"/generic.
1164         * progmodes/cc-engine.el (c-backward-over-enum-header):
1165         Extracted from the three other places and enhanced to handle generics.
1166         (c-inside-bracelist-p): Uses new function above.
1167         * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1168         function above.
1169         (c-font-lock-enum-tail): Uses new function above.
1171 2013-10-13  Kenichi Handa  <handa@gnu.org>
1173         * international/mule-cmds.el (select-safe-coding-system): Remove a
1174         superfluous condition in chekcing whether a coding system is safe
1175         or not.
1177 2013-10-13  Oleh Krehel  <ohwoeowho@gmail.com>
1179         * replace.el (how-many): Fix rstart and !rend case.  (Bug#15589)
1181 2013-10-13  Andreas Politz  <politza@hochschule-trier.de>
1183         * progmodes/sql.el (sql-add-product): Fix paren typo.  (Bug#15435)
1185 2013-10-13  Glenn Morris  <rgm@gnu.org>
1187         * menu-bar.el (menu-bar-update-buffers):
1188         Unify Buffers menu prompt string.  (Bug#15576)
1190         * face-remap.el (text-scale-adjust): Doc fix.  (Bug#15434)
1192         * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1193         Add some entries.
1194         (authors-fixed-entries): Use accented form of name.
1196 2013-10-12  Stefan Monnier  <monnier@iro.umontreal.ca>
1198         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1199         method calls (bug#15594).
1200         (ruby-smie--args-separator-p): New function.
1201         (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1202         recognize paren-free method calls.
1204         * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1205         internals of universal-argument.
1207 2013-10-11  Eli Zaretskii  <eliz@gnu.org>
1209         * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1210         Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1211         dropped menu on second mouse click on the menu bar.
1213 2013-10-11  Stefan Monnier  <monnier@iro.umontreal.ca>
1215         * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1216         (explicit-shell-file-name): Declare.
1217         (sh--vars-before-point, sh--cmd-completion-table): New functions.
1218         (sh-completion-at-point-function): New function.
1219         (sh-mode): Use it.
1220         (sh-smie--keyword-p): Remove unused argument.
1221         (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1222         vars.
1223         (sh-set-shell): Always setup SMIE, even if we use the
1224         old indentation code.
1226 2013-10-11  Dmitry Gutov  <dgutov@yandex.ru>
1228         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1229         cases of ? and =.
1230         (ruby-smie-rules): Simplify the "do" rule.  The cases when the
1231         predicate would return nil are almost non-existent.
1232         (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1234         * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1235         cache also after commands that modify the buffer but don't move
1236         point.
1238 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1240         * env.el (substitute-env-in-file-name): New function.
1241         (substitute-env-vars): Extend the meaning of the optional arg.
1243 2013-10-10  Eli Zaretskii  <eliz@gnu.org>
1245         * term/w32-win.el (dynamic-library-alist): Define separate lists
1246         of GIF DLLs for versions before and after 5.0.0 of giflib.
1247         (Bug#15531)
1249 2013-10-10  João Távora <joaotavora@gmail.com>
1251         * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1252         not locked, use last revision and current source as
1253         defaults.  (Bug#15569)
1255 2013-10-10  Masatake YAMATO  <yamato@redhat.com>
1257         * menu-bar.el (menu-bar-open): Don't use popup-menu if
1258         menu-bar is hidden.
1260 2013-10-10  Martin Rudalics  <rudalics@gmx.at>
1262         * window.el (pop-to-buffer-same-window): Fix doc-string.
1263         (Bug#15492)
1265 2013-10-10  Stefan Monnier  <monnier@iro.umontreal.ca>
1267         * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1269 2013-10-10  Andrei Chițu  <andrei.chitu1@gmail.com>  (tiny change)
1271         * calendar/icalendar.el (icalendar-import-file):
1272         Fix interactive spec.  (Bug#15482)
1274 2013-10-10  Glenn Morris  <rgm@gnu.org>
1276         * desktop.el (desktop-save): Default to saving in .emacs.d,
1277         since PWD is no longer in desktop-path by default.  (Bug#15319)
1279         * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1280         now that text mode has a menu with the same entry.
1281         (menu-bar-text-mode-auto-fill): Remove now unused func.
1282         * textmodes/text-mode.el (text-mode-map):
1283         Use auto-fill help text from menu-bar.el.
1285 2013-10-10  John Anthony  <john@jo.hnanthony.com>
1287         * textmodes/text-mode.el (text-mode-map): Add a menu.  (Bug#15562)
1289 2013-10-09  Juri Linkov  <juri@jurta.org>
1291         * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1292         instead of this-command-keys.  Add universal-argument-more and
1293         universal-argument-minus to the list of prefix commands.  (Bug#15568)
1295 2013-10-09  Glenn Morris  <rgm@gnu.org>
1297         * vc/vc-svn.el (vc-svn-create-repo):
1298         Expand paths in file://... url.  (Bug#15446)
1300         * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1301         Add some entries.
1302         (authors): Remove unused local variables.
1304 2013-10-09  Stefan Monnier  <monnier@iro.umontreal.ca>
1306         * profiler.el: Create a more coherent calltree from partial backtraces.
1307         (profiler-format): Hide the tail with `invisible' so that C-s can still
1308         find the hidden elements.
1309         (profiler-calltree-depth): Don't recurse so enthusiastically.
1310         (profiler-function-equal): New hash-table-test.
1311         (profiler-calltree-build-unified): New function.
1312         (profiler-calltree-build): Use it.
1313         (profiler-report-make-name-part): Indent the calltree less.
1314         (profiler-report-mode): Add visibility specs for profiler-format.
1315         (profiler-report-expand-entry, profiler-report-toggle-entry):
1316         Expand the whole subtree when provided with a prefix arg.
1318 2013-10-09  Dmitry Gutov  <dgutov@yandex.ru>
1320         * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1321         iuwu-mod token.
1322         (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1323         hanging iuwu-mod token.
1324         (ruby-smie--forward-token): Do not include a dot after a token in
1325         that token.
1326         (ruby-smie--backward-token): Likewise.
1328 2013-10-08  Juri Linkov  <juri@jurta.org>
1330         * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1331         to isearch-other-control-char.
1332         (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1333         and isearch-post-command-hook to post-command-hook.
1334         (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1335         and isearch-post-command-hook from post-command-hook.
1336         (isearch-unread-key-sequence)
1337         (isearch-reread-key-sequence-naturally)
1338         (isearch-lookup-scroll-key, isearch-other-control-char)
1339         (isearch-other-meta-char): Remove functions.
1340         (isearch-pre-command-hook, isearch-post-command-hook):
1341         New functions based on isearch-other-meta-char rewritten
1342         relying on the new behavior of overriding-terminal-local-map
1343         that does not replace the local keymaps any more.  (Bug#15200)
1345 2013-10-08  Eli Zaretskii  <eliz@gnu.org>
1347         Support menus on text-mode terminals.
1348         * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1349         functionality.
1351         * tooltip.el (tooltip-mode): Don't error out on TTYs.
1353         * menu-bar.el (popup-menu, popup-menu-normalize-position):
1354         Move here from mouse.el.
1355         (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1356         and arrow keys.
1357         (tty-menu-navigation-map): New map for TTY menu navigation.
1359         * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1361         * frame.el (display-mouse-p): Report text-mode mouse as available
1362         on w32.
1363         (display-popup-menus-p): Report availability if mouse is
1364         available; don't condition on window-system.
1366         * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1367         (tty-menu-selected-face): New faces.
1369 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1371         * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1372         (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1373         (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1374         (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1375         New constants.
1376         (lisp-mode-variables): New `elisp' argument.
1377         (emacs-lisp-mode): Use it.
1378         * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1379         (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1381         * indent.el: Use lexical-binding.
1382         (indent-region): Add progress reporter.
1383         (tab-stop-list): Make it implicitly extend to infinity by repeating the
1384         last step.
1385         (indent--next-tab-stop): New function to implement this behavior.
1386         (tab-to-tab-stop, move-to-tab-stop): Use it.
1388 2013-10-08  Teemu Likonen  <tlikonen@iki.fi>
1390         * indent.el (indent-rigidly--current-indentation): New function.
1391         (indent-rigidly-map): New var.
1392         (indent-rigidly): Use it to provide interactive mode (bug#8196).
1394 2013-10-08  Bastien Guerry  <bzg@gnu.org>
1396         * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1398 2013-10-08  Stefan Monnier  <monnier@iro.umontreal.ca>
1400         * progmodes/perl-mode.el: Use lexical-binding.
1401         Remove redundant :group args.
1402         (perl-nochange): Change default to be closer to other major modes's
1403         standard behavior.
1404         (perl-indent-line): Don't consider text on current line as a
1405         valid beginning of function from which to indent.
1407         * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1408         with more than one argument (bug#15538).
1410         * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1412         * vc/pcvs.el: Use lexical-binding.
1413         (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1414         environment of `eval'.
1415         (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1416         than a list of expressions.  Adjust callers.
1417         * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1419 2013-10-07  Dmitry Gutov  <dgutov@yandex.ru>
1421         * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1422         case of the dot in a chained method call being on the following line.
1424 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1426         * electric.el (electric-indent-inhibit): New var.
1427         (electric-indent-post-self-insert-function): Use it.
1428         * progmodes/python.el (python-mode): Set it.
1430         * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1431         open braces.
1433         * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1435         * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1436         (css-mode): Use electric-indent-chars.
1438         * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1439         (font-lock-beg, font-lock-end): Move before first use.
1440         (nxml-mode): Use syntax-propertize-function.
1441         (nxml-after-change, nxml-after-change1): Adjust accordingly.
1442         (nxml-extend-after-change-region): Remove.
1443         * nxml/xmltok.el: Use lexical-binding.
1444         (xmltok-save): Use `declare'.
1445         (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1446         * nxml/nxml-util.el: Use lexical-binding.
1447         (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1448         Use `declare'.
1449         * nxml/nxml-ns.el: Use lexical-binding.
1450         (nxml-ns-save): Use `declare'.
1451         (nxml-ns-prefixes-for): Avoid add-to-list.
1452         * nxml/rng-match.el: Use lexical-binding.
1453         (rng--ipattern): Use cl-defstruct.
1454         (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1455         (rng-cons-group-after, rng-subst-group-after)
1456         (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1457         Use closures instead of `(lambda...).
1459 2013-10-07  Michael Albinus  <michael.albinus@gmx.de>
1461         * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1462         of BEG and END.
1464         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1465         Use `tramp-handle-insert-file-contents'.
1466         (tramp-gvfs-handle-insert-file-contents): Remove function.
1468         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1469         Use `save-restriction' in order to keep markers.
1471         * net/trampver.el: Update release number.
1473 2013-10-07  Stefan Monnier  <monnier@iro.umontreal.ca>
1475         * progmodes/compile.el (compilation-parse-errors):
1476         Use compilation--put-prop.
1477         (compilation--ensure-parse): Check compilation-multiline.
1479         * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1481         * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1482         lexical-binding.
1484         * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1486         * progmodes/ruby-mode.el: Fix recently added tests.
1487         (ruby-smie-grammar): Add - and +.
1488         (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1489         (ruby-smie--backward-id): New functions.
1490         (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1491         (ruby-smie-rules): Handle hanging do.  Get rid of hack, not needed
1492         any more.
1494 2013-10-07  Leo Liu  <sdl.web@gmail.com>
1496         * register.el (register-preview-delay)
1497         (register-preview-functions): New variables.
1498         (register-read-with-preview, register-preview)
1499         (register-describe-oneline): New functions.
1500         (point-to-register, window-configuration-to-register)
1501         (frame-configuration-to-register, jump-to-register)
1502         (number-to-register, view-register, insert-register)
1503         (copy-to-register, append-to-register, prepend-to-register)
1504         (copy-rectangle-to-register): Use register-read-with-preview to
1505         read register.  (Bug#15525)
1507 2013-10-06  Dato Simó  <dato@net.com.org.es>  (tiny change)
1509         * net/network-stream.el (network-stream-open-starttls): Don't add
1510         --insecure if it's already present, because that gnutls-cli
1511         rejects getting that parameter twice.
1513 2013-10-06  Dmitry Gutov  <dgutov@yandex.ru>
1515         * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1516         keyword, too.
1518 2013-10-05  Dmitry Gutov  <dgutov@yandex.ru>
1520         * newcomment.el (comment-use-global-state): Change default value
1521         to t, mark obsolete (Bug#15251).
1522         (comment-beginning): In addition to `comment-to-syntax', check the
1523         value of `comment-use-global-state'.
1525 2013-10-05  Stefan Monnier  <monnier@iro.umontreal.ca>
1527         * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1528         (ruby-comment-column): Follow the global default, by default.
1529         (ruby-smie-grammar): Add assignment syntax.
1530         (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1531         open-paren, a comma, or a \.
1532         (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1533         and line continuations.
1534         (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1535         followed by implicit semi-colons.  Add rule for string concatenation
1536         and for indentation at BOB.
1537         (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1539         * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1540         calling next-sexp, since next-token may have skipped chars which
1541         next-sexp doesn't know should be skipped!
1543 2013-10-05  Leo Liu  <sdl.web@gmail.com>
1545         * progmodes/octave.el (octave-send-region):
1546         Call compilation-forget-errors.
1548 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
1550         * vc/vc-svn.el (vc-svn-find-admin-dir):
1551         * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1552         * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1553         * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1554         * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1556 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1558         * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1560 2013-10-04  Stefan Monnier  <monnier@iro.umontreal.ca>
1562         * subr.el (read-passwd): Hide chars even when called within a context
1563         where after-change-functions is disabled (bug#15501).
1564         (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1565         until we removed ourself from overriding-terminal-local-map.
1567 2013-10-04  Leo Liu  <sdl.web@gmail.com>
1569         * progmodes/octave.el (inferior-octave-mode):
1570         Call compilation-forget-errors.
1572 2013-10-04  Xue Fuqiao  <xfq.free@gmail.com>
1574         * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1576 2013-10-04  Michael Albinus  <michael.albinus@gmx.de>
1578         * net/secrets.el (secrets-create-collection): Add optional
1579         argument ALIAS.  Use proper Label keyword.  Append ALIAS as
1580         dbus-call-method argument.  (Bug#15516)
1582 2013-10-04  Leo Liu  <sdl.web@gmail.com>
1584         * progmodes/octave.el (inferior-octave-error-regexp-alist)
1585         (inferior-octave-compilation-font-lock-keywords): New variables.
1586         (compilation-error-regexp-alist)
1587         (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1588         (inferior-octave-mode): Use compilation-shell-minor-mode.
1590 2013-10-04  Jorgen Schaefer  <forcer@forcix.cx>
1592         * minibuffer.el (completion--replace): Be careful that `end' might be
1593         a marker.
1595 2013-10-03  Daiki Ueno  <ueno@gnu.org>
1597         Add support for package signature checking.
1598         * emacs-lisp/package.el (url-http-file-exists-p)
1599         (epg-make-context, epg-context-set-home-directory)
1600         (epg-verify-string, epg-context-result-for)
1601         (epg-signature-status, epg-signature-to-string)
1602         (epg-check-configuration, epg-configuration)
1603         (epg-import-keys-from-file): Declare.
1604         (package-check-signature): New user option.
1605         (package-unsigned-archives): New user option.
1606         (package-desc): Add `signed' field.
1607         (package-load-descriptor): Set `signed' field if .signed file exists.
1608         (package--archive-file-exists-p): New function.
1609         (package--check-signature): New function.
1610         (package-install-from-archive): Check package signature.
1611         (package--download-one-archive): Check archive signature.
1612         (package-delete): Remove .signed file.
1613         (package-import-keyring): New command.
1614         (package-refresh-contents): Import default keyring.
1615         (package-desc-status): Add "unsigned" status.
1616         (describe-package-1, package-menu--print-info)
1617         (package-menu-mark-delete, package-menu--find-upgrades)
1618         (package-menu--status-predicate): Support "unsigned" status.
1620 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1622         * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1623         the new compilation scheme using the new byte-codes.
1625         * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1626         (byte-pophandler): New byte codes.
1627         (byte-goto-ops): Adjust accordingly.
1628         (byte-compile--use-old-handlers): New var.
1629         (byte-compile-catch): Use new byte codes depending on
1630         byte-compile--use-old-handlers.
1631         (byte-compile-condition-case--old): Rename from
1632         byte-compile-condition-case.
1633         (byte-compile-condition-case--new): New function.
1634         (byte-compile-condition-case): New function that dispatches depending
1635         on byte-compile--use-old-handlers.
1636         (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1637         when we can.
1639         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1640         Optimize under `condition-case' and `catch' if
1641         byte-compile--use-old-handlers is nil.
1642         (disassemble-offset): Handle new bytecodes.
1644 2013-10-03  Stefan Monnier  <monnier@iro.umontreal.ca>
1646         * subr.el (error): Use `declare'.
1647         (decode-char, encode-char): Use advertised-calling-convention instead
1648         of the docstring to discourage use of the `restriction' arg.
1650 2013-10-03  Daiki Ueno  <ueno@gnu.org>
1652         * epg.el (epg-verify-file): Add a comment saying that it does not
1653         notify verification error as a return value nor a signal.
1654         (epg-verify-string): Ditto.
1656 2013-10-02  Kevin Rodgers  <kevin.d.rodgers@gmail.com>
1658         * progmodes/compile.el (compilation-start): Try globbing the arg to
1659         `cd' (bug#15417).
1661 2013-10-02  Michael Albinus  <michael.albinus@gmx.de>
1663         Sync with Tramp 2.2.8.
1665         * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1666         * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1667         * net/trampver.el: Update release number.
1669 2013-10-01  Jan Djärv  <jan.h.d@swipnet.se>
1671         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1672         and default-process-coding-system for darwin only.
1674 2013-10-01  Stefan Monnier  <monnier@iro.umontreal.ca>
1676         * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1678 2013-10-01  Mitchel Humpherys  <mitch.special@gmail.com>  (tiny change)
1680         * vc/vc-git.el (vc-git-grep): Disable pager.
1682 2013-10-01  Dmitry Gutov  <dgutov@yandex.ru>
1684         * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1685         Use :url instead of :homepage, as per
1686         http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1688         * newcomment.el (comment-beginning): When `comment-use-syntax' is
1689         non-nil, use `syntax-ppss' (Bug#15251).
1691 2013-09-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1693         * progmodes/octave.el (inferior-octave-startup-file):
1694         Prefer ~/.emacs.d/init_octave.m.
1696 2013-09-29  Dmitry Gutov  <dgutov@yandex.ru>
1698         * emacs-lisp/package.el (package-desc-from-define):
1699         Accept additional arguments as plist, convert them to an alist and store
1700         them in the `extras' slot.
1701         (package-generate-description-file): Convert extras alist back to
1702         plist and append to the `define-package' form arguments.
1703         (package--alist-to-plist): New function.
1704         (package--ac-desc): Add `extras' slot.
1705         (package--add-to-archive-contents): Check if the archive-contents
1706         vector is long enough, and if it is, pass its `extras' slot value
1707         to `package-desc-create'.
1708         (package-buffer-info): Call `lm-homepage', pass the returned value
1709         to `package-desc-from-define'.
1710         (describe-package-1): Render the homepage button (Bug#13291).
1712         * emacs-lisp/package-x.el (package-upload-buffer-internal):
1713         Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1715 2013-09-29  Jan Djärv  <jan.h.d@swipnet.se>
1717         * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1718         and default-process-coding-system to utf-8-unix (Bug#15402).
1720 2013-09-29  Xue Fuqiao  <xfq.free@gmail.com>
1722         * subr.el (looking-back): Do not recommend using looking-back.
1724 2013-09-28  Alan Mackenzie  <acm@muc.de>
1726         Fix indentation/fontification of Java enum with "implements".
1728         * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1729         regexp which matches "implements", etc., in Java.
1730         * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1731         specifier clauses coming after "enum".
1732         * progmodes/cc-fonts.el (c-font-lock-declarations)
1733         (c-font-lock-enum-tail): Check for extra specifier clauses coming
1734         after "enum".
1736 2013-09-28  Jan Djärv  <jan.h.d@swipnet.se>
1738         * faces.el (region): Change ns_selection_color to
1739         ns_selection_fg_color, add ns_selection_bg_color.
1741 2013-09-28  Leo Liu  <sdl.web@gmail.com>
1743         * progmodes/octave.el (inferior-octave-completion-table)
1744         (inferior-octave-completion-at-point): Minor tweaks.
1746         * textmodes/ispell.el (ispell-lookup-words): Rename from
1747         lookup-words.  (Bug#15460)
1748         (lookup-words): Obsolete.
1749         (ispell-complete-word, ispell-command-loop): All uses changed.
1751 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1753         * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1754         (octave-mode-menu): Add octave-send-buffer.
1755         (octave-send-buffer): New function.
1757 2013-09-28  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1759         * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1760         octave-lookfor.
1761         (octave-mode-menu): Add octave-lookfor.
1762         (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1763         octave-lookfor.
1764         (octave-lookfor): New function.
1766 2013-09-28  Stefan Monnier  <monnier@iro.umontreal.ca>
1768         * emacs-lisp/cl-macs.el:
1769         (cl--loop-destr-temps): Remove.
1770         (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1771         its convention.
1772         (cl--loop-set-iterator-function): New function.
1773         (cl-loop): Adjust accordingly, so as not to use cl-subst.
1774         (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1775         Bind `it' with `let' instead of substituting it with `cl-subst'.
1776         (cl--unused-var-p): New function.
1777         (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1778         Eliminate some unused variable warnings (bug#15326).
1780 2013-09-27  Tassilo Horn  <tsdh@gnu.org>
1782         * doc-view.el (doc-view-scale-reset): Rename from
1783         `doc-view-reset-zoom-level'.
1784         (doc-view-scale-adjust): New command.
1785         (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1786         `doc-view-scale-adjust'.
1788 2013-09-26  Tassilo Horn  <tsdh@gnu.org>
1790         * doc-view.el (doc-view-reset-zoom-level): New command.
1791         (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1792         zoom commands (bug#15466).
1794 2013-09-26  Kenichi Handa  <handa@gnu.org>
1796         * international/quail.el (quail-help): Make it not a command.
1798 2013-09-26  Leo Liu  <sdl.web@gmail.com>
1800         * minibuffer.el (completion-all-sorted-completions): Make args
1801         optional as they are.
1803 2013-09-25  Daniel Colascione  <dancol@dancol.org>
1805         * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1806         specs are and that they're not evaluated.
1808 2013-09-24  Sam Steingold  <sds@gnu.org>
1810         * midnight.el (clean-buffer-list-kill-regexps)
1811         (clean-buffer-list-kill-buffer-names): Update for the new Man
1812         buffer naming which includes the object name.
1814 2013-09-23  Stefan Monnier  <monnier@iro.umontreal.ca>
1816         * eshell/esh-cmd.el (eshell--sep-terms): New var.
1817         (eshell-parse-command, eshell-parse-pipeline): Use it since
1818         eshell-separate-commands requires a dynamic scoped var.
1819         Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1821 2013-09-23  Leo Liu  <sdl.web@gmail.com>
1823         * autoinsert.el (auto-insert-alist): Make the value of
1824         lexical-binding match its file setting.
1826 2013-09-23  Juanma Barranquero  <lekktu@gmail.com>
1828         * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1830         * autoarg.el (autoarg-kp-digit-argument):
1831         * electric.el (Electric-command-loop):
1832         * kmacro.el (kmacro-step-edit-insert):
1833         Do not set universal-argument-num-events.
1835 2013-09-22  Leo Liu  <sdl.web@gmail.com>
1837         * files.el (interpreter-mode-alist): Add octave.
1839 2013-09-21  Alan Mackenzie  <acm@muc.de>
1841         C++: fontify identifier in declaration following "public:" correctly.
1842         * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1843         to match "public", etc.
1844         (c-decl-prefix-re): Add ":" into the C++ value.
1845         * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1846         bit.  Add a check for a ":" preceded by "public", etc.
1848 2013-09-21  Eli Zaretskii  <eliz@gnu.org>
1850         * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1851         recognized by GDB 7.5 and later.
1853 2013-09-21  Xue Fuqiao  <xfq.free@gmail.com>
1855         * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1857 2013-09-20  Stefan Monnier  <monnier@iro.umontreal.ca>
1859         * subr.el (internal--call-interactively): New const.
1860         (called-interactively-p): Use it (bug#3984).
1862 2013-09-20  Xue Fuqiao  <xfq.free@gmail.com>
1864         * vc/pcvs.el (cvs-mode-ignore):
1865         * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1866         Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1868 2013-09-19  Stefan Monnier  <monnier@iro.umontreal.ca>
1870         * eshell/em-ls.el: Use advice.  Remove redundant :group keywords.
1871         (eshell-ls-orig-insert-directory): Remove.
1872         (eshell-ls-unload-hook): Not a defcustom any more.  Use advice-remove.
1873         (eshell-ls-use-in-dired): Use advice-add/remove.
1874         (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1875         Add `orig-fun' arg for use in :around advice.
1876         Make it check (redundantly) eshell-ls-use-in-dired.
1878 2013-09-19  Glenn Morris  <rgm@gnu.org>
1880         * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1882         * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1884         * emacs-lisp/eieio.el (class-parent): Undo previous change.
1886 2013-09-19  Michael Albinus  <michael.albinus@gmx.de>
1888         * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1889         (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1890         (tramp-get-remote-python): New defuns.
1891         (tramp-get-remote-uid-with-perl)
1892         (tramp-get-remote-gid-with-perl): New defuns.  Perl code
1893         contributed by yary <not.com@gmail.com> (tiny change).
1894         (tramp-get-remote-uid-with-python)
1895         (tramp-get-remote-gid-with-python): New defuns.  Python code
1896         contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1897         (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1899 2013-09-19  Glenn Morris  <rgm@gnu.org>
1901         * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1903         * eshell/em-unix.el (eshell-remove-entries):
1904         Rename argument to avoid name-clash with global `top-level'.
1906         * eshell/esh-proc.el (eshell-kill-process-function):
1907         Remove eshell-reset-after-proc from eshell-kill-hook if present.
1908         (eshell-reset-after-proc): Remove unused arg `proc'.
1910         * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1911         (directory-files-and-attributes): Mark unused arg.
1913         * eshell/em-unix.el (eshell-remove-entries):
1914         Remove unused arg `path'.  Update callers.
1916         * eshell/em-hist.el (eshell-hist-parse-arguments):
1917         Remove unused arg `silent'.  Update callers.
1919         * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1920         Fix (f)boundp mix-up.
1922         * eshell/em-smart.el (eshell-smart-scroll-window)
1923         (eshell-disable-after-change):
1924         * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1926 2013-09-18  Alan Mackenzie  <acm@muc.de>
1928         Fix fontification of type when followed by "const".
1929         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1930         "known" types from fontification.
1932 2013-09-18  Glenn Morris  <rgm@gnu.org>
1934         * emacs-lisp/chart.el (x-display-color-cells): Declare.
1935         (chart-face-list): Drop Emacsen without display-color-p.
1937         * net/eww.el (libxml-parse-html-region): Declare.
1938         (eww-display-html): Explicit error if no libxml2 support.
1940         * doc-view.el (doc-view-mode): Silence --without-x compilation.
1942         * image.el (image-type-from-buffer, image-multi-frame-p):
1943         Remove --without-x warning/error.
1945         * mouse.el (mouse-yank-primary):
1946         * term.el (term-mouse-paste):
1947         Reorder to silence --without-x compilation.
1949         * mpc.el (doc-view-mode): Silence --without-x compilation.
1951         * mail/rmailmm.el (rmail-mime-set-bulk-data):
1952         Silence --without-x compilation.
1954         * progmodes/gud.el (gud-find-file, gud-mode):
1955         Silence --without-x compilation.
1956         (tooltip-mode): Declare.
1958         * wdired.el (dired-backup-overwrite): Remove declaration.
1959         (wdired-mode-map): Add doc string.
1961         * custom.el (x-get-resource): Declare.
1963         * eshell/em-glob.el (ange-cache):
1964         * eshell/em-unix.el (ange-cache): Declare.
1966         * faces.el (x-display-list, x-open-connection, x-get-resource):
1967         Declare.
1969         * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1970         (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1971         Declare.
1973         * frame.el (x-display-grayscale-p, x-display-name): Declare.
1975         * net/gnutls.el (gnutls-log-level): Declare.
1977         * net/shr.el (image-size, image-animate): Declare.
1979         * simple.el (font-info): Declare.
1981         * subr.el (x-popup-dialog): Declare.
1983         * term/common-win.el (x-select-enable-primary)
1984         (x-last-selected-text-primary, x-last-selected-text-clipboard):
1985         Declare.
1987         * term/ns-win.el (x-handle-args): Declare.
1989         * term/x-win.el (x-select-enable-clipboard): Declare.
1991         * term/w32-win.el (create-default-fontset): Declare.
1993         * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1994         Declare.
1996         * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1997         (fit-frame-to-buffer): Explicit error if --without-x.
1998         (mouse-autoselect-window-select): Silence compiler.
2000         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2002         * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2003         * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2004         * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2005         * eshell/esh-util.el (eshell-sublist):
2006         Remove unused local variables.
2008         * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2010         * textmodes/two-column.el: Make 2C-split work for --without-x.
2011         (scroll-bar-columns): Autoload.
2012         (top-level): Require fringe when compiling.
2014 2013-09-18  Leo Liu  <sdl.web@gmail.com>
2016         * subr.el (add-hook): Robustify to handle closure as well.
2018 2013-09-17  Glenn Morris  <rgm@gnu.org>
2020         * simple.el (messages-buffer-mode-map): Unbind "g".
2022 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2024         * help-mode.el (help-mode-finish): Use derived-mode-p.
2025         Remove obsolete highlighting.
2027         * play/life.el (life-mode): Use define-derived-mode.  Derive from
2028         special-mode.
2029         (life): Let-bind inhibit-read-only.
2030         (life-setup): Avoid `setq'.  Use `life-mode'.
2032         * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2033         which should not be needed any more.
2034         (package-menu-refresh, package-menu-describe-package): Use user-error.
2036         * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2037         (eshell-post-rewrite-command-hook): Make obsolete.
2038         (eshell-parse-command): Simplify.
2039         (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2040         (eshell--cmd): Declare.
2041         (eshell-parse-pipeline): Remove unused var `final-p'.
2042         Pass a dynvar to eshell-post-rewrite-command-hook.
2043         Implement the new eshell-post-rewrite-command-function.
2044         (eshell-invoke-directly): Remove unused arg `input'.
2045         * eshell/esh-io.el (eshell-io-initialize):
2046         Use eshell-post-rewrite-command-function (bug#15399).
2047         (eshell--apply-redirections): Rename from eshell-apply-redirections;
2048         adjust to new calling convention.
2049         (eshell-create-handles): Rename args to avoid clashing with dynvar
2050         `standard-output'.
2052 2013-09-17  Glenn Morris  <rgm@gnu.org>
2054         * simple.el (messages-buffer-mode): New major mode.
2055         (messages-buffer): New function.
2056         * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2057         * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2058         (ert-run-test): Use `messages-buffer' function.
2059         (ert--force-message-log-buffer-truncation): Ignore read-only.
2060         * help.el (view-echo-area-messages): Use `messages-buffer' function.
2061         * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2063 2013-09-17  Stefan Monnier  <monnier@iro.umontreal.ca>
2065         * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2067         * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2069 2013-09-16  Stefan Monnier  <monnier@iro.umontreal.ca>
2071         * icomplete.el (icomplete-in-buffer): New var.
2072         (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2073         vars and replace them with functions.
2074         (icomplete-minibuffer-setup): Adjust accordingly.
2075         (icomplete--completion-table, icomplete--completion-predicate)
2076         (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2077         New functions.
2078         (icomplete-forward-completions, icomplete-backward-completions)
2079         (icomplete-simple-completing-p, icomplete-exhibit)
2080         (icomplete-completions): Use them.
2081         (icomplete--in-region-buffer): New var.
2082         (icomplete--in-region-setup): New function.
2083         (icomplete-mode): Use it.
2085         * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2086         (bug#15379).
2087         (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2088         return args and options.
2089         (eshell-eval-using-options): Use the new return value of
2090         eshell--do-opts to set the options's vars in their scope.
2091         (eshell--set-option): Rename from eshell-set-option.
2092         Add arg `opt-vals'.
2093         (eshell--process-option): Rename from eshell-process-option.
2094         Add arg `opt-vals'.
2095         (eshell--process-args): Use an `opt-vals' alist to store the options's
2096         values during their processing and return them additionally to the
2097         remaining args.
2099 2013-09-15  Dmitry Gutov  <dgutov@yandex.ru>
2101         * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2102         continuation character an operator, as far as indentation is
2103         concerned (Bug#15369).
2105 2013-09-15  Martin Rudalics  <rudalics@gmx.at>
2107         * window.el (window--state-put-2): Don't process buffer state
2108         when buffer doesn't exist any more (Bug#15382).
2110 2013-09-15  Glenn Morris  <rgm@gnu.org>
2112         * eshell/em-unix.el (eshell/rm):
2113         Make -f ignore missing files.  (Bug#15373)
2115         * eshell/esh-cmd.el (eshell--local-vars): New variable.  (Bug#15372)
2116         (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2117         * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2119 2013-09-14  Glenn Morris  <rgm@gnu.org>
2121         * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2123 2013-09-13  Glenn Morris  <rgm@gnu.org>
2125         * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2126         (dired-guess-default): Make `file' available in the env.  (Bug#15363)
2128 2013-09-13  Dmitry Antipov  <dmantipov@yandex.ru>
2130         * frame.el (x-focus-frame): Mark as declared in frame.c.
2132 2013-09-13  Stefan Monnier  <monnier@iro.umontreal.ca>
2134         * ls-lisp.el: Use advice-add.
2135         (original-insert-directory): Remove.
2136         (ls-lisp--insert-directory): Rename from insert-directory; add
2137         `orig-fun' argument.
2138         (insert-directory): Advise.
2140 2013-09-13  Eli Zaretskii  <eliz@gnu.org>
2142         * term.el (term-emulate-terminal): Decode the command string
2143         before passing it to term-command-hook.  (Bug#15337)
2145 2013-09-13  Glenn Morris  <rgm@gnu.org>
2147         * eshell/esh-util.el (ange-cache): Move declaration earlier.
2149         * eshell/esh-ext.el (eshell-search-path): Declare.
2151         * eshell/em-prompt.el (eshell/pwd): Autoload it.
2152         Otherwise an error occurs if eshell-dirs module not loaded.
2154         * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2156 2013-09-13  Michael Albinus  <michael.albinus@gmx.de>
2158         * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2159         `tramp-check-proper-host'.  Check for a valid method name.
2161         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2162         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2163         * net/tramp-sh.el (tramp-maybe-open-connection):
2164         * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2166         * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2167         also for hash values.
2169 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2171         * term/ns-win.el (parameters): Don't declare as dynamic.
2172         (before-make-frame-hook): Don't add ineffective function.
2174         * eshell/*.el: Use lexical-binding (bug#15231).
2176 2013-09-12  Kenichi Handa  <handa@gnu.org>
2178         * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2180 2013-09-12  Glenn Morris  <rgm@gnu.org>
2182         * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2183         (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2185         * subr.el (do-after-load-evaluation): Also give compiler warnings
2186         when obsolete files are used (except by obsolete files).
2188         * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2189         in the status output, assume `filename' is the first.  (Bug#15322)
2191         * vc/vc.el (vc-deduce-fileset): Doc fix.
2193         * calc/calc-help.el (Info-goto-node):
2194         * progmodes/cperl-mode.el (Info-find-node):
2195         * vc/ediff.el (Info-goto-node): Update declarations.
2197         * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2199         * vc/vc-bzr.el (vc-compilation-mode): Declare.
2200         (vc-bzr-pull): Require vc-dispatcher.
2201         * vc/vc-git.el (vc-compilation-mode): Declare.
2202         (vc-git-pull): Require vc-dispatcher.
2204         * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2206         * progmodes/octave.el (help-button-action): Declare.
2208         * shell.el (shell-directory-tracker): Output error as a message
2209         rather than just returning it as a string.
2210         (shell-process-pushd): Remove useless use of message.
2212         * dframe.el (dframe-timer-fn):
2213         * files.el (dir-locals-read-from-file):
2214         * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2215         (mpc-format):
2216         * reveal.el (reveal-post-command):
2217         * saveplace.el (load-save-place-alist-from-file):
2218         * shell.el (shell-resync-dirs):
2219         * w32-common-fns.el (x-get-selection-value):
2220         * emacs-lisp/copyright.el (copyright-find-copyright):
2221         * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2222         * emulation/tpu-edt.el (tpu-copy-keyfile):
2223         * play/bubbles.el (bubbles--mark-neighbourhood):
2224         * progmodes/executable.el
2225         (executable-make-buffer-file-executable-if-script-p):
2226         * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2228 2013-09-12  Stefan Monnier  <monnier@iro.umontreal.ca>
2230         Cleanup Eshell to rely less on dynamic scoping.
2231         * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2232         last-value, and ext-command here.  Bind `args' closer to `body'.
2233         (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2234         (eshell--args): Declare new dynamic var.
2235         (eshell-do-opt): Add argument `args'.  Bind our own usage-msg,
2236         last-value, and ext-command.  Pass `args' to `body'.
2237         (eshell-process-args): Bind eshell--args.
2238         (eshell-set-option): Use eshell--args.
2239         * eshell/eshell.el (eshell): Use derived-mode-p.
2240         * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2241         (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2242         (eshell-glob-function): Declare.
2243         * eshell/esh-util.el: Require cl-lib.
2244         (eshell-read-hosts-file): Avoid add-to-list.
2245         * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2246         `err'.
2247         * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2248         Declare.
2249         (eshell/diff): Remove unused var `err'.
2250         * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2251         `killflag'.
2252         * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2253         * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2254         first use.
2255         * eshell/em-glob.el (eshell-glob-matches, message-shown):
2256         Move declaration before first use.
2257         * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2258         * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2259         rely on cl-return.
2261 2013-09-12  Glenn Morris  <rgm@gnu.org>
2263         * term/ns-win.el (global-map): Remove binding for ispell-next,
2264         deleted 1999-05-29.  (Bug#15357)
2266 2013-09-11  Glenn Morris  <rgm@gnu.org>
2268         * echistory.el (electric-command-history): Remove call to deleted func.
2270         * play/landmark.el (landmark-mode): Fix typos.
2272         * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2273         Check cvs-sort-ignore-file is bound.
2275         * savehist.el: No need for cl when compiling on Emacs.
2277 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2279         * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2280         (bug#15338).
2281         (eshell-self-insert-command, eshell-send-invisible):
2282         Remove unused argument.
2283         (eshell-handle-control-codes): Remove unused var `orig'.
2284         Avoid delete-backward-char.
2286         * files.el (set-auto-mode): Simplify a bit further.
2288 2013-09-11  Glenn Morris  <rgm@gnu.org>
2290         * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2291         (set-auto-mode): Don't regexp-quote elements.
2292         * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2293         * progmodes/cc-mode.el (interpreter-mode-alist):
2294         * progmodes/ruby-mode.el (interpreter-mode-alist):
2295         Revert previous change.
2297 2013-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
2299         * play/snake.el (snake-mode):
2300         * play/mpuz.el (mpuz-mode):
2301         * play/landmark.el (lm-mode):
2302         * play/blackbox.el (blackbox-mode):
2303         * play/5x5.el (5x5-mode):
2304         * obsolete/options.el (Edit-options-mode):
2305         * net/quickurl.el (quickurl-list-mode):
2306         * net/newst-treeview.el (newsticker-treeview-mode):
2307         * mail/rmailsum.el (rmail-summary-mode):
2308         * mail/mspools.el (mspools-mode):
2309         * locate.el (locate-mode):
2310         * ibuffer.el (ibuffer-mode):
2311         * emulation/ws-mode.el (wordstar-mode):
2312         * emacs-lisp/debug.el (debugger-mode):
2313         * array.el (array-mode):
2314         * net/eudc.el (eudc-mode): Use define-derived-mode.
2315         * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2316         Move initialization into declaration.
2317         (mairix-searches-mode): Use define-derived-mode.
2318         * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2319         (eudc-edit-hotlist): Use dolist.
2320         * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2321         (Man-mode): Use define-derived-mode.
2322         * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2323         (Info-edit-mode): Use define-derived-mode.
2324         (Info-cease-edit): Use Info-mode.
2325         * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2326         into declaration.
2327         (eshell-mode): Use define-derived-mode.
2328         * chistory.el (command-history-mode-map): Rename from
2329         command-history-map.
2330         (command-history-mode): Use define-derived-mode.
2331         (Command-history-setup): Remove function.
2332         * calc/calc.el (calc-trail-mode-map): New var.
2333         (calc-trail-mode): Use define-derived-mode.
2334         (calc-trail-buffer): Set calc-main-buffer manually.
2335         * bookmark.el (bookmark-insert-annotation): New function.
2336         (bookmark-edit-annotation): Use it.
2337         (bookmark-edit-annotation-mode): Make it a proper major mode.
2338         (bookmark-send-edited-annotation): Use derived-mode-p.
2339         * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2340         closer to its ideal place.  Use \' to match EOS.
2342         * profiler.el (profiler-calltree-find): Use function-equal.
2344 2013-09-10  Glenn Morris  <rgm@gnu.org>
2346         * files.el (interpreter-mode-alist): Convert to regexps.
2347         (set-auto-mode): Adapt for this.  (Bug#15306)
2348         * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2349         Comment out unused variable.
2350         * progmodes/cc-mode.el (interpreter-mode-alist):
2351         * progmodes/python.el (interpreter-mode-alist):
2352         * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2353         * progmodes/sh-script.el (sh-set-shell):
2354         No longer use interpreter-mode-alist to get list of shells.
2356         * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2358 2013-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
2360         * simple.el: Use set-temporary-overlay-map for universal-argument.
2361         (universal-argument-map): Don't use default-bindings (bug#15317).
2362         Bind switch-frame explicitly.  Replace universal-argument-minus with
2363         a conditional binding.
2364         (universal-argument-num-events, saved-overriding-map): Remove.
2365         (restore-overriding-map): Remove.
2366         (universal-argument--mode): Rename from save&set-overriding-map,
2367         and rewrite.
2368         (universal-argument, universal-argument-more, negative-argument)
2369         (digit-argument): Adjust accordingly.
2370         (universal-argument-minus): Remove.
2371         (universal-argument-other-key): Remove.
2373         * subr.el (with-demoted-errors): Add `format' argument.
2375 2013-09-10  Michael Albinus  <michael.albinus@gmx.de>
2377         * net/tramp.el (tramp-cleanup): Remove.  Functionality added to
2378         `tramp-cleanup-connection'.
2380         * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2381         parameters KEEP-DEBUG and KEEP-PASSWORD.
2383         * net/tramp.el (tramp-file-name-handler):
2384         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2385         * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2386         (tramp-maybe-open-connection):
2387         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2388         Use `tramp-cleanup-connection'.
2390         * net/tramp-sh.el (tramp-maybe-open-connection):
2391         Catch 'uname-changed inside the progress reporter.
2393 2013-09-10  Glenn Morris  <rgm@gnu.org>
2395         * simple.el (read-minibuffer): Unbreak it.  (Bug#15318)
2397         * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2398         returns "alternate access method" in mode (eg "-rw-r--r--.").
2400 2013-09-08  Glenn Morris  <rgm@gnu.org>
2402         * saveplace.el (load-save-place-alist-from-file):
2403         Demote errors.  (Bug#15305)
2405 2013-09-08  Michael Albinus  <michael.albinus@gmx.de>
2407         Improve compatibility with older Emacsen, and XEmacs.
2409         * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2410         only if it is bound.  It isn't for XEmacs.
2411         (with-tramp-progress-reporter): Do not let-bind `result'.
2412         This yields to scoping errors in XEmacs.
2413         (tramp-handle-make-auto-save-file-name): New function, moved from
2414         tramp-sh.el.
2416         * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2417         for `make-auto-save-file-name'.
2418         (tramp-adb--gnu-switches-to-ash):
2419         Use `tramp-compat-replace-regexp-in-string'.
2421         * net/tramp-cache.el (tramp-cache-print): Call
2422         `substring-no-properties' only if it is bound.  It isn't for XEmacs.
2424         * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2425         bound.  It isn't for XEmacs.
2427         * net/tramp-compat.el (tramp-compat-copy-file):
2428         Catch `wrong-number-of-arguments' error.
2429         (tramp-compat-replace-regexp-in-string): New defun.
2431         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2432         for `make-auto-save-file-name'.
2433         (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2434         `copy-file'.
2435         (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2436         (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2437         (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2439         * net/tramp-gw.el (tramp-gw-open-network-stream):
2440         Use `tramp-compat-replace-regexp-in-string'.
2442         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2443         Call `tramp-handle-make-auto-save-file-name'.
2444         (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2445         (tramp-sh-file-gvfs-monitor-dir-process-filter)
2446         (tramp-sh-file-inotifywait-process-filter):
2447         Use `tramp-compat-replace-regexp-in-string'.
2448         (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2450         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2451         for `make-auto-save-file-name'.
2452         (tramp-smb-handle-copy-directory):
2453         Call `tramp-compat-replace-regexp-in-string'.
2454         (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2455         (tramp-smb-handle-copy-file): Improve error message.
2456         (tramp-smb-handle-rename-file): Rename directly only in case
2457         `newname' does not exist yet.  This is a restriction of smbclient.
2458         (tramp-smb-maybe-open-connection): Rerun the function only when
2459         `auth-sources' is non-nil.
2461 2013-09-08  Kenichi Handa  <handa@gnu.org>
2463         * international/characters.el: Set category "^" (Combining) for
2464         more characters.
2466 2013-09-07  Alan Mackenzie  <acm@muc.de>
2468         Correctly fontify Java class constructors.
2469         * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2470         in Java Mode.
2471         (c-recognize-typeless-decls): Set the Java value to t.
2472         * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2473         While handling a "(", add a check for, effectively, Java, and handle a
2474         "typeless" declaration there.
2476 2013-09-07  Roland Winkler  <winkler@gnu.org>
2478         * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2479         field subtitle for entry type book.
2481 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2483         * minibuffer.el: Make minibuffer-complete call completion-in-region
2484         rather than other way around.
2485         (completion--some, completion-pcm--find-all-completions):
2486         Don't delay signals when debugging.
2487         (minibuffer-completion-contents): Beware fields within the
2488         minibuffer contents.
2489         (completion-all-sorted-completions): Use defvar-local.
2490         (completion--do-completion, completion--cache-all-sorted-completions)
2491         (completion-all-sorted-completions, minibuffer-force-complete):
2492         Add args `beg' and `end'.
2493         (completion--in-region-1): New fun, extracted from minibuffer-complete.
2494         (minibuffer-complete): Use completion-in-region.
2495         (completion-complete-and-exit): New fun, extracted from
2496         minibuffer-complete-and-exit.
2497         (minibuffer-complete-and-exit): Use it.
2498         (completion--complete-and-exit): Rename from
2499         minibuffer--complete-and-exit.
2500         (completion-in-region--single-word): New function, extracted from
2501         minibuffer-complete-word.
2502         (minibuffer-complete-word): Use it.
2503         (display-completion-list): Make `common-substring' argument obsolete.
2504         (completion--in-region): Call completion--in-region-1 instead of
2505         minibuffer-complete.
2506         (completion-help-at-point): Pass boundaries to
2507         minibuffer-completion-help as args rather than via an overlay.
2508         (completion-pcm--string->pattern): Use `any-delim'.
2509         (completion-pcm--optimize-pattern): New function.
2510         (completion-pcm--pattern->regex): Handle `any-delim'.
2511         * icomplete.el (icomplete-forward-completions)
2512         (icomplete-backward-completions, icomplete-completions):
2513         Adjust calls to completion-all-sorted-completions and
2514         completion--cache-all-sorted-completions.
2515         (icomplete-with-completion-tables): Default to t.
2516         * emacs-lisp/crm.el (crm--current-element): Rename from
2517         crm--select-current-element.  Don't put an overlay but return the
2518         boundaries instead.
2519         (crm--completion-command): Take two new args to bind to the boundaries.
2520         (crm-completion-help): Adjust accordingly.
2521         (crm-complete): Use completion-in-region.
2522         (crm-complete-word): Use completion-in-region--single-word.
2523         (crm-complete-and-exit): Use completion-complete-and-exit.
2525 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2527         * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2528         than dynamically.
2530 2013-09-06  Juri Linkov  <juri@jurta.org>
2532         * info.el (Info-display-images-node): When image file doesn't exist
2533         display text version of the image if it's provided in the Info file.
2534         Otherwise, display the location of missing image from SRC attribute.
2535         Add help-echo text property from ALT attribute.  (Bug#15279)
2537 2013-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
2539         * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2540         (edit-abbrevs-mode): Use define-derived-mode.
2542         * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2543         (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2544         that it's defined.
2545         (epa-key-list-mode, epa-key-mode, epa-info-mode):
2546         Use define-derived-mode.
2548         * epg.el (epg-start-encrypt): Minor CSE simplification.
2550 2013-09-06  William Xu  <william.xwl@gmail.com>
2552         * arc-mode.el: Add support for 7za (bug#15264).
2553         (archive-7z-program): New var.
2554         (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2555         (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2556         (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2558 2013-09-06  Michael Albinus  <michael.albinus@gmx.de>
2560         Remove URL syntax.
2562         * net/tramp.el (tramp-syntax, tramp-prefix-format)
2563         (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2564         (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2565         (tramp-postfix-host-format, tramp-file-name-regexp)
2566         (tramp-completion-file-name-regexp)
2567         (tramp-completion-dissect-file-name)
2568         (tramp-handle-substitute-in-file-name): Remove 'url case.
2569         (tramp-file-name-regexp-url)
2570         (tramp-completion-file-name-regexp-url): Remove constants.
2572 2013-09-06  Glenn Morris  <rgm@gnu.org>
2574         * replace.el (replace-string): Doc fix re start/end.  (Bug#15275)
2576 2013-09-05  Dmitry Gutov  <dgutov@yandex.ru>
2578         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2579         keywords" below "here-doc beginnings" (Bug#15270).
2581 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2583         * subr.el (pop): Use `car-safe'.
2584         * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2585         to detect unused `pop' return value.
2587         * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2588         var `block-regexp'.
2589         (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2590         (python-fill-string): Remove unused var `marker'.
2591         (python-skeleton-add-menu-items): Remove unused var `items'.
2593         * international/mule-cmds.el: Require CL.
2594         (find-coding-systems-for-charsets): Avoid add-to-list.
2595         (sanitize-coding-system-list): New function, extracted from
2596         select-safe-coding-system-interactively.
2597         (select-safe-coding-system-interactively): Use it.
2598         (read-input-method-name): Accept symbols for `default'.
2600         * emacs-lisp/advice.el (defadvice): Add indent rule.
2602 2013-09-05  Daniel Hackney  <dan@haxney.org>
2604         * dired-x.el:
2605         * net/ange-ftp.el:
2606         * net/browse-url.el:
2607         * net/dbus.el:
2608         * net/eudc.el:
2609         * net/eudcb-ldap.el:
2610         * net/eww.el:
2611         * net/imap.el:
2612         * printing.el:
2613         * vc/ediff-diff.el:
2614         * vc/ediff-init.el:
2615         * vc/ediff-merg.el:
2616         * vc/ediff-mult.el:
2617         * vc/ediff-util.el:
2618         * vc/ediff-wind.el:
2619         * vc/ediff.el:
2620         * vc/emerge.el:
2621         * vc/pcvs.el:
2622         * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2623         byte compiler.  Remove some unused let-bound variables.
2625 2013-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
2627         * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2628         a "ref-cell", since it gets better optimized (bug#14883).
2630 2013-09-05  Glenn Morris  <rgm@gnu.org>
2632         * progmodes/cc-awk.el (c-forward-sws): Declare.
2634 2013-09-04  Glenn Morris  <rgm@gnu.org>
2636         * generic-x.el [rul-generic-mode]: Require cc-mode.
2637         (c++-mode-syntax-table): Declare.
2638         (rul-generic-mode-syntax-table): Init in the defvar.
2640 2013-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
2642         * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2643         (vc-do-command, vc-set-async-update):
2644         * vc/vc-mtn.el (vc-mtn-dir-status):
2645         * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2646         (vc-hg-pull, vc-hg-merge-branch):
2647         * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2648         (vc-git-merge-branch):
2649         * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2650         (vc-cvs-dir-status-files):
2651         * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2652         (vc-bzr-dir-status-files):
2653         * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2654         * vc/vc-annotate.el: Use lexical-binding.
2655         (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2656         (vc-sentinel-movepoint): Declare.
2657         (vc-annotate): Don't use `goto-line'.
2658         * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2659         (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2660         (vc-sentinel-movepoint): Declare.
2661         * vc/vc-svn.el: Use lexical-binding.
2662         (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2663         * vc/vc-sccs.el:
2664         * vc/vc-rcs.el: Use lexical-binding.
2666         * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2667         `deleted'.  Don't drop errors silently.
2669         * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2671 2013-09-04  Xue Fuqiao  <xfq.free@gmail.com>
2673         * vc/vc.el (vc-ignore): Rewrite.
2674         (vc-default-ignore): New function.
2675         (vc-default-ignore-completion-table): Use find-ignore-file.
2677         * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2678         * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2679         * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2680         Remove.  Most code moved to vc.el.
2682 2013-09-03  Stefan Monnier  <monnier@iro.umontreal.ca>
2684         * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2685         * net/tramp-smb.el (tramp-smb-get-file-entries):
2686         * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2687         (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2689         * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2690         Update call to it.
2691         (eww-change-select): Remove unused var `properties'.
2692         (eww-make-unique-file-name): Remove unused var `base'.
2694         * finder.el (finder-compile-keywords): Don't mess with windows.
2696         * calculator.el (calculator-funcall): Fix typo in last change.
2698         * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2700         * emacs-lisp/package.el (package-activate-1): Don't let a missing
2701         <pkg>-autoloads.el file stop us.
2703         * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2704         warnings, and factor out common code.
2706 2013-09-03  Dmitry Gutov  <dgutov@yandex.ru>
2708         * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2709         two-character operators and whether the character preceding them
2710         changes their meaning (Bug#15208).
2712 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2714         Format code sent to Python shell for robustness.
2715         * progmodes/python.el (python-shell-buffer-substring):
2716         New function.
2717         (python-shell-send-region, python-shell-send-buffer): Use it.
2719 2013-09-02  Michael Albinus  <michael.albinus@gmx.de>
2721         * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2722         * net/tramp.el (tramp-user-error): ... here.
2723         (tramp-find-method, tramp-check-proper-host)
2724         (tramp-dissect-file-name, tramp-debug-message)
2725         (tramp-handle-shell-command):
2726         * net/tramp-adb.el (tramp-adb-handle-shell-command):
2727         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2729         * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2731 2013-09-02  Martin Rudalics  <rudalics@gmx.at>
2733         * avoid.el (mouse-avoidance-point-position)
2734         (mouse-avoidance-too-close-p): Handle case where posn-at-point
2735         returns nil.
2737 2013-09-02  Fabián Ezequiel Gallina  <fgallina@gnu.org>
2739         * progmodes/python.el (python-shell-completion-get-completions):
2740         Drop use of deleted `comint-last-prompt-overlay'.
2741         (python-nav-if-name-main): New command.
2743 2013-09-01  Glenn Morris  <rgm@gnu.org>
2745         * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2746         Avoid leading space in $wins.  Otherwise the sed command used by
2747         eg compile-main ends up containing "/*.el".  (Bug#15170)
2749         * frame.el (frame-background-mode): Doc fix.  (Bug#15226)
2751 2013-08-30  Glenn Morris  <rgm@gnu.org>
2753         * emacs-lisp/bytecomp.el (byte-recompile-directory):
2754         Fix is-this-a-directory logic.  (Bug#15220)
2756 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2758         * textmodes/css-mode.el: Use SMIE.
2759         (css-smie-grammar): New var.
2760         (css-smie--forward-token, css-smie--backward-token)
2761         (css-smie-rules): New functions.
2762         (css-mode): Use them.
2763         (css-navigation-syntax-table): Remove var.
2764         (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2765         (css-indent-calculate, css-indent-line): Remove functions.
2767         Misc changes to reduce use of `(lambda...); and other cleanups.
2768         * cus-edit.el: Use lexical-binding.
2769         (customize-push-and-save, customize-apropos)
2770         (custom-buffer-create-internal): Use closures.
2771         * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2772         * progmodes/ada-xref.el: Use setq.
2773         * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2774         * dframe.el: Use lexical-binding.
2775         (dframe-frame-mode): Fix calling convention for hooks.  Use a closure.
2776         * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2777         * descr-text.el: Use lexical-binding.
2778         (describe-text-widget, describe-text-sexp, describe-property-list):
2779         Use closures.
2780         * comint.el (comint-history-isearch-push-state): Use a closure.
2781         * calculator.el: Use lexical-binding.
2782         (calculator-number-to-string): Make it work with lexical-binding.
2783         (calculator-funcall): Same and use cl-letf.
2785         * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2786         (lisp--company-doc-string, lisp--company-location): New functions.
2787         (lisp-completion-at-point): Use them to improve Company support.
2789         * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2790         params of lambda expressions.
2791         (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2792         (ruby-smie--opening-pipe-p): New function.
2793         (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2794         symbols and matched |...| for formal params.
2795         (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2796         from being treated as hanging.  Handle "rescue".
2798 2013-08-29  Glenn Morris  <rgm@gnu.org>
2800         * progmodes/cc-engine.el (c-pull-open-brace):
2801         Move definition before use.
2803 2013-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
2805         * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2806         are immutable.  Don't use `unsafe' any more.
2807         (cl--defsubst-expand): Don't substitute at the same time as keeping
2808         a residual unused let-binding.  Don't use `unsafe' any more.
2810 2013-08-29  Glenn Morris  <rgm@gnu.org>
2812         * calendar/cal-china.el (calendar-chinese-year-cache):
2813         Recenter on 2015.
2815         * nxml/nxml-util.el (nxml-debug-clear-inside):
2816         Use cl-loop rather than loop.
2818         * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2820         * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2822 2013-08-28  Glenn Morris  <rgm@gnu.org>
2824         * progmodes/antlr-mode.el: No need to require cc-mode twice.
2826         * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2828         * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2830 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2832         * simple.el (repeat-complex-command--called-interactively-skip):
2833         New function.
2834         (repeat-complex-command): Use it (bug#14136).
2836         * progmodes/cc-mode.el: Minor cleanup of var declarations.
2837         (c-define-abbrev-table): Add `doc' argument.
2838         (c-mode-abbrev-table, c++-mode-abbrev-table)
2839         (objc-mode-abbrev-table, java-mode-abbrev-table)
2840         (idl-mode-abbrev-table, pike-mode-abbrev-table)
2841         (awk-mode-abbrev-table): Use it.
2842         (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2843         (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2844         (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2845         (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2846         Move initialization into the declaration; and remove any
2847         autoload cookie.
2849         * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2850         and dynamic let binding.
2852         * vc/smerge-mode.el: Remove redundant :group args.
2854         * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2855         to load-path.
2857 2013-08-28  Juri Linkov  <juri@jurta.org>
2859         * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2860         arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2861         (isearch-other-meta-char): Handle an undefined shifted printing
2862         character by downshifting it.  (Bug#15200)
2864 2013-08-28  Juri Linkov  <juri@jurta.org>
2866         * isearch.el (isearch-search): Change regexp error message for
2867         non-regexp searches.  (Bug#15166)
2869 2013-08-28  Paul Eggert  <eggert@cs.ucla.edu>
2871         * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2872         for portability to hosts where /bin/sh has problems.
2874 2013-08-28  Stefan Monnier  <monnier@iro.umontreal.ca>
2876         * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2878 2013-08-27  Juri Linkov  <juri@jurta.org>
2880         * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2881         in the keyboard macro.  (Bug#15126)
2883 2013-08-27  Juri Linkov  <juri@jurta.org>
2885         * isearch.el (isearch-quote-char): Comment out converting unibyte
2886         to multibyte, thus syncing with its `quoted-insert' counterpart.
2887         (Bug#15166)
2889 2013-08-27  Martin Rudalics  <rudalics@gmx.at>
2891         * window.el (display-buffer-use-some-window): Add missing
2892         argument in call of get-largest-window (Bug#15185).
2893         Reported by Stephen Leake.
2895 2013-08-27  Glenn Morris  <rgm@gnu.org>
2897         * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2899 2013-08-27  Stefan Monnier  <monnier@iro.umontreal.ca>
2901         * progmodes/python.el (python-font-lock-keywords): Don't return nil
2902         from a matcher-function unless there's no more matches (bug#15161).
2904 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
2906         * minibuffer.el: Revert change from 2013-08-20.
2908         * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2909         with text property `tramp-default', if appropriate.
2910         (tramp-check-proper-host): New defun.
2911         (tramp-dissect-file-name): Do not check hostname.  Revert change
2912         of 2013-03-18.
2913         (tramp-backtrace): Make VEC-OR-PROC optional.
2915         * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2916         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2917         * net/tramp-sh.el (tramp-maybe-open-connection):
2918         * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2919         Apply `tramp-check-proper-host'.
2921 2013-08-26  Tassilo Horn  <tsdh@gnu.org>
2923         * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2924         lambda expression in order to have `describe-variable' display it.
2926 2013-08-26  Michael Albinus  <michael.albinus@gmx.de>
2928         * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2929         BUF can be optional.  (Bug#15186)
2931 2013-08-25  Xue Fuqiao  <xfq.free@gmail.com>
2933         * progmodes/flymake.el (flymake-get-real-file-name-function):
2934         Fix broken customization.  (Bug#15184)
2936 2013-08-25  Alan Mackenzie  <acm@muc.de>
2938         Improve indentation of bracelists defined by macros (without "=").
2940         * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2941         expansion begins with "{", regard it as bracelist when it doesn't
2942         contain a ";".
2944         Parse C++ inher-intro when there's a template split over 2 lines.
2946         * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2947         rigorously the search for "class" etc. followed by ":".
2949         * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2950         random languages a regexp which never matches rather than nil.
2952         Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2954         * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2955         (c-awk-regexp-one-line-possibly-open-char-list-re)
2956         (c-awk-one-line-possibly-open-regexp-re)
2957         (c-awk-one-line-non-syn-ws*-re): Remove.
2958         (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2959         (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2960         (c-awk-space*-unclosed-regexp-/-re): New constants.
2961         (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2962         aren't regexp delimiters.
2964         * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2965         handling for a rare situation in AWK Mode involving unterminated
2966         strings/regexps.
2968 2013-08-23  Glenn Morris  <rgm@gnu.org>
2970         * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2972         * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2974         * files.el (create-file-buffer): If the result would begin with
2975         spaces, prepend a "|" instead of removing them.  (Bug#15162)
2977 2013-08-23  Stefan Monnier  <monnier@iro.umontreal.ca>
2979         * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2980         text-properties (bug#15155).
2982         * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2983         exist any more.
2984         (calc-keypad-redraw): Remove unused var `pad'.
2985         (calc-keypad-press): Remove unused var `menu'.
2987 2013-08-23  Martin Rudalics  <rudalics@gmx.at>
2989         * window.el (display-buffer-pop-up-frame):
2990         Call pop-up-frame-function with BUFFER current so `make-frame' will
2991         use it as the new frame's buffer (Bug#15133).
2993 2013-08-22  Stefan Monnier  <monnier@iro.umontreal.ca>
2995         * calendar/timeclock.el: Minor cleanups.
2996         (timeclock-ask-before-exiting, timeclock-use-display-time):
2997         Use `symbol'.
2998         (timeclock-modeline-display): Define as alias before the
2999         actual definition.
3000         (timeclock-mode-line-display): Use define-minor-mode.
3001         (timeclock-day-list-template): Make it a function, add an argument.
3002         (timeclock-day-list-required, timeclock-day-list-length)
3003         (timeclock-day-list-debt, timeclock-day-list-span)
3004         (timeclock-day-list-break): Adjust calls accordingly.
3006 2013-08-21  Stefan Monnier  <monnier@iro.umontreal.ca>
3008         * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3009         Use read--expression so that completion works again.
3011 2013-08-21  Sam Steingold  <sds@gnu.org>
3013         Add rudimentary inferior shell interaction
3014         * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3015         (sh-set-shell): Reset it.
3016         (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3017         New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3019 2013-08-20  Stefan Monnier  <monnier@iro.umontreal.ca>
3021         * align.el: Use lexical-binding.
3022         (align-region): Simplify accordingly.
3024 2013-08-20  Michael Albinus  <michael.albinus@gmx.de>
3026         * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3028         * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3029         `non-essential' up.
3031 2013-08-17  Michael Albinus  <michael.albinus@gmx.de>
3033         * net/tramp.el:
3034         * net/tramp-adb.el:
3035         * net/tramp-cmds.el:
3036         * net/tramp-ftp.el:
3037         * net/tramp-gvfs.el:
3038         * net/tramp-gw.el:
3039         * net/tramp-sh.el: Don't wrap external variable declarations by
3040         `eval-when-compile'.
3042 2013-08-16  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3044         * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3045         now that Emacs supports ImageMagick animations.
3047 2013-08-16  Michael Albinus  <michael.albinus@gmx.de>
3049         * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3050         (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3052 2013-08-16  Martin Rudalics  <rudalics@gmx.at>
3054         * window.el (mouse-autoselect-window-select): Do autoselect when
3055         mouse pointer is on margin.
3057 2013-08-16  William Parsons  <wbparsons@alum.mit.edu>  (tiny change)
3059         * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV.  (Bug#1972)
3061 2013-08-16  Glenn Morris  <rgm@gnu.org>
3063         * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3064         Handle "Remote Directory" response of some clients.  (Bug#15058)
3066         * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3067         Tweak warning.  (Bug#14926)
3069         * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3070         (menu-bar-tools-menu): Simplify news and mail items.  (Bug#15095)
3072         * image-mode.el (image-mode-map): Add menu items to reverse,
3073         increase, decrease, reset animation speed.
3074         (image--set-speed, image-increase-speed, image-decrease-speed)
3075         (image-reverse-speed, image-reset-speed): New functions.
3076         (image-mode-map): Add bindings for speed commands.
3078         * image.el (image-animate-get-speed, image-animate-set-speed):
3079         New functions.
3080         (image-animate-timeout): Respect image :speed property.
3082 2013-08-15  Stefan Monnier  <monnier@iro.umontreal.ca>
3084         * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3085         previous line (bug#15101).
3086         (debugger-eval-expression, debugger-record-expression):
3087         Use read--expression (bug#15102).
3089 2013-08-15  Michael Albinus  <michael.albinus@gmx.de>
3091         Remove byte compiler warnings, visible when compiling with
3092         `byte-compile-force-lexical-warnings' set to t.
3094         * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3095         (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3096         (tramp-handle-unhandled-file-name-directory)
3097         (tramp-handle-file-notify-add-watch, tramp-action-login)
3098         (tramp-action-succeed, tramp-action-permission-denied)
3099         (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3100         arguments with "_".
3102         * net/tramp-adb.el (tramp-adb-parse-device-names)
3103         (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3104         (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3105         (tramp-adb-handle-file-truename): Remove unused arguments.
3107         * net/tramp-cache.el (tramp-flush-directory-property)
3108         (tramp-flush-connection-property, tramp-list-connections)
3109         (tramp-parse-connection-properties): Prefix unused arguments with "_".
3111         * net/tramp-compat.el (tramp-compat-make-temp-file):
3112         Rename FILENAME to F.
3114         * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3115         (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3116         (tramp-zeroconf-parse-workstation-device-names)
3117         (tramp-zeroconf-parse-webdav-device-names)
3118         (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3120         * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3121         (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3123         * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3124         arguments.
3125         (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3126         (tramp-sh-handle-insert-file-contents-literally)
3127         (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3128         with "_".
3129         (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3130         Remove unused variables.
3132         * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3133         (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3134         (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3136         * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3137         Make them a defconst.
3138         (tramp-uuencode-region): Remove unused variable.
3140 2013-08-14  Juanma Barranquero  <lekktu@gmail.com>
3142         * frameset.el (frameset--prop-setter): New function.
3143         (frameset-prop): Add gv-setter declaration.
3144         (frameset-filter-minibuffer): Deal with the case that the minibuffer
3145         parameter was already set in FILTERED.  Doc fix.
3146         (frameset--record-minibuffer-relationships): Allow saving a
3147         minibufferless frame without its corresponding minibuffer frame.
3148         (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3149         frame, if the frame id matches.
3150         (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3151         frames before orphaned ones.
3152         (frameset-restore): Warn about orphaned windows, instead of error out.
3154 2013-08-14  Martin Rudalics  <rudalics@gmx.at>
3156         * window.el (window-make-atom): Don't overwrite parameter
3157         already present.
3158         (display-buffer-in-atom-window): Handle special case where we
3159         split an already atomic window.
3160         (window--major-non-side-window, display-buffer-in-side-window)
3161         (window--side-check): Ignore minibuffer window when walking
3162         window tree.
3163         (window-deletable-p): Return 'frame only if no other frame uses
3164         our minibuffer window.
3165         (record-window-buffer): Run buffer-list-update-hook.
3166         (split-window): Make sure window--check-frame won't destroy an
3167         existing atomic window in case the new window gets nested
3168         inside.
3169         (display-buffer-at-bottom): Ignore minibuffer window when
3170         walking window tree.  Don't split a side window.
3171         (pop-to-buffer): Don't set-buffer here, the select-window call
3172         should do that.
3173         (mouse-autoselect-window-select): Autoselect only if we are in the
3174         text portion of the window.
3176 2013-08-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3178         * net/shr.el (shr-parse-image-data): New function to grab both the
3179         data itself and the Content-Type.
3180         (shr-put-image): Use it.
3182         * net/eww.el (eww-display-image): Ditto.
3184         * image.el (image-content-type-suffixes): New variable.
3186 2013-08-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
3188         * progmodes/python.el (python-imenu--build-tree)
3189         (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3191 2013-08-13  Xue Fuqiao  <xfq.free@gmail.com>
3193         * simple.el (backward-word): Mention the optional argument.
3195 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3197         * frameset.el (frameset--make): Rename constructor from make-frameset.
3198         (frameset-p, frameset-valid-p): Don't autoload.
3199         (frameset-valid-p): Use normal accessors.
3201 2013-08-13  Glenn Morris  <rgm@gnu.org>
3203         * progmodes/compile.el (compile-command): Tweak example in doc.
3204         * obsolete/scribe.el (scribe-mode):
3205         * progmodes/mixal-mode.el (mixal-mode): Quote buffer name.  (Bug#15053)
3207         * mail/feedmail.el (feedmail-confirm-outgoing)
3208         (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3210         * cus-start.el (truncate-partial-width-windows): Fix type.
3212         * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3214         * net/shr.el (shr-table-horizontal-line): Fix custom type.
3216 2013-08-13  Stefan Monnier  <monnier@iro.umontreal.ca>
3218         * emacs-lisp/timer.el (timer--time-setter): New function.
3219         (timer--time): Use it as gv-setter.
3221         * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3222         setter is not a symbol.
3224 2013-08-12  Grégoire Jadi  <daimrod@gmail.com>
3226         * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3227         if sending fails.  This makes debugging easier.
3229 2013-08-12  Juanma Barranquero  <lekktu@gmail.com>
3231         * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3232         2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3233         https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3235 2013-08-12  Eli Zaretskii  <eliz@gnu.org>
3237         * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3239 2013-08-12  Glenn Morris  <rgm@gnu.org>
3241         * format.el (format-annotate-function):
3242         Handle read-only text properties in the source.  (Bug#14887)
3244 2013-08-11  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3246         * net/eww.el (eww-display-html): Ignore coding system errors.
3247         One web site uses "utf-8lias" as the coding system.
3249 2013-08-11  Juanma Barranquero  <lekktu@gmail.com>
3251         * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3253 2013-08-10  Juanma Barranquero  <lekktu@gmail.com>
3255         * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3256         (tutorial--detailed-help): Remove unused local variables.
3257         (tutorial--save-tutorial-to): Use ignore-errors.
3258         (help-with-tutorial): Use looking-at-p.
3260         * view.el (view-buffer-other-window, view-buffer-other-frame):
3261         Mark unused arguments.
3263         * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3264         (woman-select-symbol-fonts, woman, woman-find-file)
3265         (woman-insert-file-contents, woman-non-underline-faces):
3266         Use string-match-p.
3267         (woman1-unquote): Move declaration.
3269         * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3270         (xml-parse-dtd): Use looking-at-p, string-match-p.  Mark unused
3271         argument.  Remove unused local variable.
3272         (xml-parse-elem-type): Use string-match-p.
3273         (xml-substitute-numeric-entities): Use ignore-errors.
3275         * calculator.el (calculator): Mark unused argument.
3276         (calculator-paste, calculator-quit, calculator-integer-p):
3277         Use ignore-errors.
3278         (calculator-string-to-number, calculator-decimal, calculator-exp)
3279         (calculator-op-or-exp): Use string-match-p.
3281         * dired.el (dired-buffer-more-recently-used-p): Declare.
3282         (dired-insert-set-properties, dired-insert-old-subdirs):
3283         Use ignore-errors.
3285         * dired-aux.el (dired-compress): Use ignore-errors.
3286         (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3287         (dired-do-async-shell-command, dired-do-shell-command)
3288         (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3289         (dired-insert-subdir-validate): Use string-match-p.
3290         (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3291         (dired-add-entry): Use string-match-p, looking-at-p.
3292         (dired-insert-subdir-newpos): Remove unused local variable.
3294         * filenotify.el (file-notify-callback): Remove unused local variable.
3296         * filesets.el (filesets-error): Mark unused argument.
3297         (filesets-which-command-p, filesets-filter-dir-names)
3298         (filesets-directory-files, filesets-get-external-viewer)
3299         (filesets-ingroup-get-data): Use string-match-p.
3301         * find-file.el (ff-other-file-name, ff-other-file-name)
3302         (ff-find-the-other-file, ff-cc-hh-converter):
3303         Remove unused local variables.
3304         (ff-get-file-name): Use string-match-p.
3305         (ff-all-dirs-under): Use ignore-errors.
3307         * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3308         (follow-select-if-visible): Remove unused local variable.
3310         * forms.el (read-file-filter): Move declaration.
3311         (forms--make-format, forms--make-parser, forms-insert-record):
3312         Quote function with #'.
3313         (forms--update): Use string-match-p.  Quote function with #'.
3315         * help-mode.el (help-dir-local-var-def): Mark unused argument.
3316         (help-make-xrefs): Use looking-at-p.
3317         (help-xref-on-pp): Use looking-at-p, ignore-errors.
3319         * ibuffer.el (ibuffer-ext-visible-p): Declare.
3320         (ibuffer-confirm-operation-on): Use string-match-p.
3322         * msb.el (msb-item-handler, msb-dired-item-handler):
3323         Mark unused arguments.
3325         * ses.el (ses-decode-cell-symbol)
3326         (ses-kill-override): Remove unused local variable.
3327         (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3328         (ses-load): Use ignore-errors, looking-at-p.
3329         (ses-jump-safe): Use ignore-errors.
3330         (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3332         * tabify.el (untabify, tabify): Mark unused arguments.
3334         * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3335         Mark unused argument.
3336         (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3337         (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3339         * emacs-lisp/timer.el (timer--time): Define setter with
3340         gv-define-setter to avoid deprecation warning.
3342         * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3343         (*record-cmpl-statistics-p*): Remove (was commented out).
3344         (cmpl-statistics-block): Remove (body was commented out).
3345         All callers changed.
3346         (add-completions-from-buffer, load-completions-from-file):
3347         Remove unused variables.
3349 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
3351         * filecache.el (file-cache-delete-file-list):
3352         Print message only when told so.
3353         (file-cache-files-matching): Use #' in mapconcat argument.
3355         * ffap.el (ffap-url-at-point): Fix reference to variable
3356         thing-at-point-default-mail-uri-scheme.
3358 2013-08-09  Stefan Monnier  <monnier@iro.umontreal.ca>
3360         * subr.el (define-error): New function.
3361         * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3362         error-file-not-found and define with define-error.
3363         * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3364         and define with define-error.
3365         * userlock.el (file-locked, file-supersession):
3366         * simple.el (mark-inactive):
3367         * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3368         * progmodes/ada-mode.el (ada-mode-errors):
3369         * play/life.el (life-extinct):
3370         * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3371         * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3372         * nxml/rng-util.el (rng-error):
3373         * nxml/rng-uri.el (rng-uri-error):
3374         * nxml/rng-match.el (rng-compile-error):
3375         * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3376         * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3377         * nxml/nxml-rap.el (nxml-scan-error):
3378         * nxml/nxml-outln.el (nxml-outline-error):
3379         * net/soap-client.el (soap-error):
3380         * net/gnutls.el (gnutls-error):
3381         * net/ange-ftp.el (ftp-error):
3382         * mpc.el (mpc-proc-error):
3383         * json.el (json-error, json-readtable-error, json-unknown-keyword)
3384         (json-number-format, json-string-escape, json-string-format)
3385         (json-key-format, json-object-format):
3386         * jka-compr.el (compression-error):
3387         * international/quail.el (quail-error):
3388         * international/kkc.el (kkc-error):
3389         * emacs-lisp/ert.el (ert-test-failed):
3390         * calc/calc.el (calc-error, inexact-result, math-overflow)
3391         (math-underflow):
3392         * bookmark.el (bookmark-error-no-filename):
3393         * epg.el (epg-error): Define with define-error.
3395         * time.el (display-time-event-handler)
3396         (display-time-next-load-average): Don't call sit-for since it seems
3397         unnecessary (bug#15045).
3399         * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3400         Use #' instead of ' to quote functions.
3401         (checkdoc-output-mode): Use setq-local.
3402         (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3403         (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3404         (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3405         (checkdoc-ispell, checkdoc-ispell-current-buffer)
3406         (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3407         (checkdoc-ispell-message-text, checkdoc-ispell-start)
3408         (checkdoc-ispell-continue, checkdoc-ispell-comments)
3409         (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3411         * ido.el (ido-completion-help): Fix up compiler warning.
3413 2013-08-09  Juanma Barranquero  <lekktu@gmail.com>
3415         * frameset.el (frameset-p): Add autoload cookie.
3416         (frameset--jump-to-register): New function, based on code moved from
3417         register.el.
3418         (frameset-to-register): Move from register.el.  Adapt to `registerv'.
3420         * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3421         (frameset-restore, frameset-save, frameset-session-filter-alist):
3422         Remove declarations.
3423         (register-alist): Doc fix.
3424         (frameset-to-register): Move to frameset.el.
3425         (jump-to-register, describe-register-1): Remove frameset-specific code.
3427 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3429         * allout-widgets.el (allout-widgets-pre-command-business)
3430         (allout-widgets-post-command-business)
3431         (allout-widgets-after-change-handler)
3432         (allout-decorate-item-and-context, allout-set-boundary-marker)
3433         (allout-body-modification-handler)
3434         (allout-graphics-modification-handler): Mark ignored arguments.
3435         (allout-widgets-post-command-business)
3436         (allout-widgets-exposure-change-processor)
3437         (allout-widgets-exposure-undo-processor)
3438         (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3439         (allout-parse-item-at-point, allout-decorate-item-guides)
3440         (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3441         * allout.el (epa-passphrase-callback-function): Declare.
3442         (allout-overlay-insert-in-front-handler)
3443         (allout-overlay-interior-modification-handler)
3444         (allout-isearch-end-handler, allout-chart-siblings)
3445         (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3446         (allout-yank-processing, allout-process-exposed)
3447         (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3448         (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3449         * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3450         (lisp-indent-defform): Mark ignored arguments.
3451         (lisp-indent-line): Mark ignored arguments.  Remove unused variables.
3452         (calculate-lisp-indent): Remove unused variables.
3453         * international/characters.el (indian-2-column, arabic-2-column)
3454         (tibetan): Mark ignored arguments.
3455         (use-cjk-char-width-table): Mark ignored arguments.
3456         Remove unused variables.
3457         * international/fontset.el (build-default-fontset-data)
3458         (x-compose-font-name, create-fontset-from-fontset-spec):
3459         Mark ignored arguments.
3460         (fontset-plain-name): Remove unused variables.
3461         * international/mule.el (charset-id, charset-bytes, generic-char-p)
3462         (keyboard-coding-system): Mark ignored arguments.
3463         (find-auto-coding): Remove unused variables.  Use `ignore-errors'.
3464         * help.el (resize-temp-buffer-window):
3465         * window.el (display-buffer-in-major-side-window)
3466         (display-buffer-in-side-window, display-buffer-in-previous-window):
3467         Remove unused variables.
3468         * isearch.el (isearch-forward-symbol):
3469         * version.el (emacs-bzr-version-bzr):
3470         * international/mule-cmds.el (current-language-environment):
3471         * term/common-win.el (x-handle-iconic, x-handle-geometry)
3472         (x-handle-display):
3473         * term/pc-win.el (x-list-fonts, x-display-planes)
3474         (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3475         (x-server-version, x-display-screens, x-display-mm-height)
3476         (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3477         (x-selection-owner-p, x-own-selection-internal)
3478         (x-disown-selection-internal, x-get-selection-internal)
3479         (msdos-initialize-window-system):
3480         * term/tty-colors.el (tty-color-alist, tty-color-clear):
3481         * term/x-win.el (x-handle-no-bitmap-icon):
3482         * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3483         (vc-default-find-file-hook, vc-default-extra-menu):
3484         Mark ignored arguments.
3486 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3488         * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3489         break-condition in the context of the debugged code (bug#12685).
3491 2013-08-08  Christopher Schmidt  <christopher@ch.ristopher.com>
3493         * comint.el:
3494         Do not use an overlay to highlight the last prompt.  (Bug#14744)
3495         (comint-mode): Make comint-last-prompt buffer local.
3496         (comint-last-prompt): New variable.
3497         (comint-last-prompt-overlay): Remove.  Superseded by
3498         comint-last-prompt.
3499         (comint-snapshot-last-prompt, comint-output-filter):
3500         Use comint-last-prompt.
3502 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3504         * frameset.el (frameset-valid-p): Check vector length.  Doc fix.
3505         (frameset-save): Check validity of the resulting frameset.
3507 2013-08-08  Xue Fuqiao  <xfq.free@gmail.com>
3509         * ido.el (ido-record-command): Add doc string.
3511 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3513         * frameset.el (frameset): Do not disable creation of the default
3514         frameset-p predicate.  Doc fix.
3515         (frameset-valid-p): New function, copied from the old predicate-p.
3516         Add additional checks.
3517         (frameset-restore): Check with frameset-valid-p.
3518         (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3519         (frameset-name, frameset-description, frameset-properties)
3520         (frameset-states): Add docstring.
3521         (frameset-session-filter-alist, frameset-persistent-filter-alist)
3522         (frameset-filter-alist): Doc fixes.
3524 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3526         * frameset.el (frameset-p, frameset-prop): Doc fixes.
3528 2013-08-08  Stefan Monnier  <monnier@iro.umontreal.ca>
3530         * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3531         extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3532         (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3533         (byte-compile-normal-call): Remove obsolescence check.
3535 2013-08-08  Juanma Barranquero  <lekktu@gmail.com>
3537         * frameset.el (frameset-restore): Doc fix.
3539         * register.el (frameset-frame-id, frameset-frame-with-id)
3540         (frameset-p, frameset-restore, frameset-save): Declare.
3541         (register-alist): Document framesets.
3542         (frameset-session-filter-alist): Declare.
3543         (frameset-to-register): New function.
3544         (jump-to-register): Implement jumping to framesets.  Doc fix.
3545         (describe-register-1): Describe framesets.
3547         * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3549 2013-08-07  Juanma Barranquero  <lekktu@gmail.com>
3551         * desktop.el (desktop-save-frameset): Use new frameset-save args.
3552         Use lexical-binding.
3554         * frameset.el (frameset): Use type vector, not list (incompatible
3555         change).  Do not declare a new constructor, use the default one.
3556         Upgrade suggested properties `app', `name' and `desc' to slots `app',
3557         `name' and `description', respectively, and add read-only slot
3558         `timestamp'.  Doc fixes.
3559         (frameset-copy, frameset-persistent-filter-alist)
3560         (frameset-filter-alist, frameset-switch-to-gui-p)
3561         (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3562         (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3563         (frameset-filter-iconified, frameset-keep-original-display-p):
3564         Doc fixes.
3565         (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3566         Rename from frameset-filter-(save|restore)-param.  All callers changed.
3567         Doc fix.
3568         (frameset-p): Adapt to change to vector and be more thorough.
3569         Change arg name to OBJECT.  Doc fix.
3570         (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
3571         (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3572         All callers changed.
3573         (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3574         All callers changed.
3575         (frameset--record-minibuffer-relationships): Rename from
3576         frameset--process-minibuffer-frames.  All callers changed.
3577         (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3578         Use new default constructor (again).  Doc fix.
3579         (frameset--find-frame-if): Rename from `frameset--find-frame.
3580         All callers changed.
3581         (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3582         (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3583         Doc fix.
3584         (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3585         PARAMETERS and WINDOW-STATE, respectively.
3586         (frameset-restore): Add new keyword argument PREDICATE.
3587         Reset frameset--target-display to nil.  Doc fix.
3589 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3591         * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3592         (bat-mode): Use it.
3593         (bat-mode-syntax-table): Mark \n as end-of-comment.
3594         (bat-font-lock-keywords): Remove comment rule.
3596         * progmodes/bat-mode.el: Rename from dos.el.  Use "bat-" prefix.
3597         (dos-mode-help): Remove.  Use describe-mode (C-h m) instead.
3599         * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3600         (byte-compile-callargs-warn): Use `push'.
3601         (byte-compile-arglist-warn): Ignore higher-order "calls".
3602         (byte-compile-file-form-autoload): Use `pcase'.
3603         (byte-compile-function-form): If quoting a symbol, check that it exists.
3605 2013-08-07  Eli Zaretskii  <eliz@gnu.org>
3607         * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3608         and add a few popular commands found in batch files.
3609         (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3610         (dos-mode): Doc fixes.
3612 2013-08-07  Stefan Monnier  <monnier@iro.umontreal.ca>
3614         * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3615         (dos-mode): Use setq-local.  Add space after "rem".
3616         (dos-mode-syntax-table): Don't use "w" for symbol chars.
3617         (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3619 2013-08-07  Arni Magnusson  <arnima@hafro.is>
3621         * progmodes/dos.el: New file.
3622         * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3623         dos-mode.
3625 2013-08-06  Glenn Morris  <rgm@gnu.org>
3627         * calendar/calendar.el: Add new faces, and day-header-array.
3628         (calendar-weekday-header, calendar-weekend-header)
3629         (calendar-month-header): New faces.
3630         (calendar-day-header-construct): New function.
3631         (calendar-day-header-width): Also :set calendar-day-header-array.
3632         (calendar-american-month-header, calendar-european-month-header)
3633         (calendar-iso-month-header): Use calendar- faces.
3634         (calendar-generate-month):
3635         Use calendar-day-header-array for day headers; apply faces to them.
3636         (calendar-mode): Check calendar-font-lock-keywords non-nil.
3637         (calendar-abbrev-construct): Add optional maxlen argument.
3638         (calendar-day-name-array): Doc fix.
3639         (calendar-day-name-array, calendar-abbrev-length)
3640         (calendar-day-abbrev-array):
3641         Also :set calendar-day-header-array, and maybe redraw.
3642         (calendar-day-header-array): New option.  (Bug#15007)
3643         (calendar-font-lock-keywords): Set to nil and make obsolete.
3644         (calendar-day-name): Add option to use header array.
3646 2013-08-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>
3648         * net/shr.el (shr-render-td): Remove debugging.
3649         (shr-render-td): Make width computation consistent by defaulting
3650         all zero-width columns to 10 characters.  This may not be optimal,
3651         but it's at least consistent.
3652         (shr-make-table-1): Redo last change to fix the real problem in
3653         colspan handling.
3655 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
3657         * files.el (cache-long-line-scans):
3658         Make obsolete alias to `cache-long-scans'.
3660 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
3662         * frameset.el (frameset, frameset-filter-alist)
3663         (frameset-filter-params, frameset-save, frameset--reuse-frame)
3664         (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3665         (frameset-compute-pos): Rename from frameset--compute-pos,
3666         and add docstring.
3667         (frameset-move-onscreen): Use frameset-compute-pos.
3668         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3670         * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3671         Fix typos in docstrings.
3673 2013-08-06  Dmitry Antipov  <dmantipov@yandex.ru>
3675         * frame.el (get-other-frame): Tiny cleanup.
3677 2013-08-06  Juanma Barranquero  <lekktu@gmail.com>
3679         * vc/vc.el (vc-default-ignore-completion-table):
3680         Silence byte-compiler warning.
3682         * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3683         slot , which can indeed be nil.
3684         (frameset-live-filter-alist, frameset-persistent-filter-alist):
3685         Move entry for `left' from persistent to live filter alist.
3686         (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3687         Doc fixes.
3688         (frameset-filter-params): When restoring a frame, copy items added to
3689         `filtered', to avoid unwittingly modifying the original parameters.
3690         (frameset-move-onscreen): Rename from frameset--move-onscreen.  Doc fix.
3691         (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3693         * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3694         to use looking-at-p instead of looking-at.  (Bug#15028)
3696 2013-08-05  Stefan Monnier  <monnier@iro.umontreal.ca>
3698         Revert introduction of isearch-filter-predicates (bug#14714).
3699         Rely on add-function instead.
3700         * isearch.el (isearch-filter-predicates): Rename it back to
3701         isearch-filter-predicate.
3702         (isearch-message-prefix): Use advice-function-mapc and advice
3703         properties to get the isearch-message-prefix.
3704         (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3705         instead of run-hook-with-args-until-failure.
3706         (isearch-filter-visible): Not obsolete any more.
3707         * loadup.el: Preload nadvice.
3708         * replace.el (perform-replace): Revert to funcall
3709         instead of run-hook-with-args-until-failure.
3710         * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3711         * dired-aux.el (dired-isearch-filenames-mode): Rename from
3712         dired-isearch-filenames-toggle; make it into a proper minor mode.
3713         Use add/remove-function.
3714         (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3715         Call the minor-mode rather than add/remove-hook.
3716         (dired-isearch-filter-filenames):
3717         Remove isearch-message-prefix property.
3718         * info.el (Info--search-loop): New function, extracted from Info-search.
3719         Funcall isearch-filter-predicate instead of
3720         run-hook-with-args-until-failure isearch-filter-predicates.
3721         (Info-search): Use it.
3722         (Info-mode): Use isearch-filter-predicate instead of
3723         isearch-filter-predicates.
3725 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
3727         Do not call to `selected-window' where it is assumed by default.
3728         Affected functions are `window-minibuffer-p', `window-dedicated-p',
3729         `window-hscroll', `window-width', `window-height', `window-buffer',
3730         `window-frame', `window-start', `window-point', `next-window'
3731         and `window-display-table'.
3732         * abbrev.el (abbrev--default-expand):
3733         * bs.el (bs--show-with-configuration):
3734         * buff-menu.el (Buffer-menu-mouse-select):
3735         * calc/calc.el (calc):
3736         * calendar/calendar.el (calendar-generate-window):
3737         * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3738         (diary-make-entry):
3739         * comint.el (send-invisible, comint-dynamic-complete-filename)
3740         (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3741         * completion.el (complete):
3742         * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3743         * disp-table.el (describe-current-display-table):
3744         * doc-view.el (doc-view-insert-image):
3745         * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3746         * ehelp.el (with-electric-help):
3747         * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3748         * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3749         * emacs-lisp/helper.el (Helper-help-scroller):
3750         * emulation/cua-base.el (cua--post-command-handler-1):
3751         * eshell/esh-mode.el (eshell-output-filter):
3752         * ffap.el (ffap-gnus-wrapper):
3753         * help-macro.el (make-help-screen):
3754         * hilit-chg.el (highlight-compare-buffers):
3755         * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3756         * hl-line.el (global-hl-line-highlight):
3757         * icomplete.el (icomplete-simple-completing-p):
3758         * isearch.el (isearch-done):
3759         * jit-lock.el (jit-lock-stealth-fontify):
3760         * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3761         * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3762         * mpc.el (mpc-tagbrowser, mpc):
3763         * net/rcirc.el (rcirc-any-buffer):
3764         * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3765         * play/landmark.el (landmark-max-width, landmark-max-height):
3766         * play/zone.el (zone):
3767         * progmodes/compile.el (compilation-goto-locus):
3768         * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3769         * progmodes/etags.el (find-tag-other-window):
3770         * progmodes/fortran.el (fortran-column-ruler):
3771         * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3772         * progmodes/verilog-mode.el (verilog-point-text):
3773         * reposition.el (reposition-window):
3774         * rot13.el (toggle-rot13-mode):
3775         * server.el (server-switch-buffer):
3776         * shell.el (shell-dynamic-complete-command)
3777         (shell-dynamic-complete-environment-variable):
3778         * simple.el (insert-buffer, set-selective-display)
3779         (delete-completion-window):
3780         * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3781         (speedbar-recenter):
3782         * startup.el (fancy-splash-head):
3783         * textmodes/ispell.el (ispell-command-loop):
3784         * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3785         * tutorial.el (help-with-tutorial):
3786         * vc/add-log.el (add-change-log-entry):
3787         * vc/compare-w.el (compare-windows):
3788         * vc/ediff-help.el (ediff-indent-help-message):
3789         * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3790         * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3791         (ediff-setup-control-frame):
3792         * vc/emerge.el (emerge-position-region):
3793         * vc/pcvs-util.el (cvs-bury-buffer):
3794         * window.el (walk-windows, mouse-autoselect-window-select):
3795         * winner.el (winner-set-conf, winner-undo): Related users changed.
3797 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
3799         * frameset.el (frameset--set-id): Doc fix.
3800         (frameset-frame-id, frameset-frame-id-equal-p)
3801         (frameset-locate-frame-id): New functions.
3802         (frameset--process-minibuffer-frames, frameset--reuse-frame)
3803         (frameset-restore): Use them.
3805 2013-08-05  Dmitry Antipov  <dmantipov@yandex.ru>
3807         Do not call to `selected-frame' where it is assumed by default.
3808         Affected functions are `raise-frame', `redraw-frame',
3809         `frame-first-window', `frame-terminal' and `delete-frame'.
3810         * calendar/appt.el (appt-disp-window):
3811         * epg.el (epg-wait-for-completion):
3812         * follow.el (follow-delete-other-windows-and-split)
3813         (follow-avoid-tail-recenter):
3814         * international/mule.el (set-terminal-coding-system):
3815         * mail/rmail.el (rmail-mail-return):
3816         * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3817         * progmodes/f90.el (f90-add-imenu-menu):
3818         * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3819         * server.el (server-switch-buffer):
3820         * simple.el (delete-completion-window):
3821         * talk.el (talk):
3822         * term/xterm.el (terminal-init-xterm-modify-other-keys)
3823         (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3824         * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3825         * vc/ediff.el (ediff-documentation): Related users changed.
3826         * frame.el (selected-terminal): Remove the leftover.
3828 2013-08-05  Glenn Morris  <rgm@gnu.org>
3830         * calendar/calendar.el (calendar-generate-month):
3831         Fix for calendar-column-width != 1 + calendar-day-digit-width.
3832         (calendar-generate-month, calendar-font-lock-keywords):
3833         Fix for calendar-day-header-width > length of any day name.
3835 2013-08-05  Juanma Barranquero  <lekktu@gmail.com>
3837         * desktop.el (desktop-clear): Use new name of sort predicate.
3839         * frameset.el (frameset): Add docstring.  Move :version property to its
3840         own `version' slot.
3841         (frameset-copy): Rename from copy-frameset.
3842         (frameset-p): Check more thoroughly.
3843         (frameset-prop): Do not check for :version, which is no longer a prop.
3844         (frameset-live-filter-alist, frameset-persistent-filter-alist):
3845         Use new :never value instead of t.
3846         (frameset-filter-alist): Expand and clarify docstring.
3847         (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3848         (frameset-filter-minibuffer, frameset-filter-save-param)
3849         (frameset-filter-restore-param, frameset-filter-iconified):
3850         Add pointer to docstring of frameset-filter-alist.
3851         (frameset-filter-params): Rename filter values to be more meaningful:
3852         :never instead of t, and reverse the meanings of :save and :restore.
3853         (frameset--process-minibuffer-frames): Clarify error message.
3854         (frameset-save): Avoid unnecessary and confusing call to framep.
3855         Use new BOA constructor for framesets.
3856         (frameset--reuse-list): Doc fix.
3857         (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
3858         (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3859         (frameset-minibufferless-first-p): Doc fix.
3860         Rename from frameset-sort-frames-for-deletion.
3861         (frameset-restore): Doc fixes.  Use new function names.
3862         Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3864 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
3866         * desktop.el (desktop-restore-forces-onscreen)
3867         (desktop-restore-reuses-frames): Document :keyword constant values.
3868         (desktop-filter-parameters-alist): Remove, now identical to
3869         frameset-filter-alist.
3870         (desktop--filter-tty*): Remove, moved to frameset.el.
3871         (desktop-save-frameset, desktop-restore-frameset):
3872         Do not pass :filters argument.
3874         * frameset.el (frameset-live-filter-alist)
3875         (frameset-persistent-filter-alist): New variables.
3876         (frameset-filter-alist): Use them.  Add autoload cookie.
3877         (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3878         (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3879         `frameset--id' (it's supposed to be internal to frameset.el).
3880         (frameset--process-minibuffer-frames): Ditto.  Doc fix.
3881         (frameset--initial-params): New function.
3882         (frameset--get-frame): Use it.  Doc fix.
3883         (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3884         Accept :all, not 'all.
3885         (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3886         FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
3887         with fbound symbols.  Fix frame id matching, and remove matching ids if
3888         the frame being restored is deleted.  Obey :delete.
3890 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3892         * subr.el (macrop): New function.
3893         (text-clone--maintaining): New var.
3894         (text-clone--maintain): Rename from text-clone-maintain.  Use it
3895         instead of inhibit-modification-hooks.
3897         * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3898         a proxy, so as handle autoloads and redefinitions of the target.
3899         (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3901         * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3902         Remove bogus (arrayp . stringp) pair.  Add entries for `vectorp'.
3903         (pcase--mutually-exclusive-p): New function.
3904         (pcase--split-consp): Use it.
3905         (pcase--split-pred): Use it.  Optimize the case where `pat' is a qpat
3906         mutually exclusive with the current predicate.
3908         * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3909         (edebug-macrop): Remove.  Use `macrop' instead.
3910         * emacs-lisp/advice.el (ad-subr-p): Remove.  Use `subrp' instead.
3911         (ad-macro-p):
3912         * eshell/esh-cmd.el (eshell-macrop):
3913         * apropos.el (apropos-macrop): Remove.  Use `macrop' instead.
3915 2013-08-04  Stefan Monnier  <monnier@iro.umontreal.ca>
3917         * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3918         (advice-mapc): New function, using it.
3919         (advice-function-member-p): New function.
3920         (advice--normalize): Store the cdr in advice--saved-rewrite since
3921         that's the part that will be changed.
3922         (advice--symbol-function): New function.
3923         (advice-remove): Handle removal before the function is defined.
3924         Adjust to new advice--saved-rewrite.
3925         (advice-member-p): Use advice-function-member-p and
3926         advice--symbol-function.
3928 2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
3930         * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3931         (frameset-filter-minibuffer): Doc fix.
3932         (frameset-restore): Fix autoload cookie.  Fix typo in docstring.
3933         (frameset--set-id, frameset--process-minibuffer-frames)
3934         (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3935         (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3937         * desktop.el (desktop-clear): Only delete frames when called
3938         interactively and desktop-restore-frames is non-nil.  Doc fix.
3939         (desktop-read): Set desktop-saved-frameset to nil.
3941 2013-08-04  Xue Fuqiao  <xfq.free@gmail.com>
3943         * vc/vc.el (vc-ignore): Rewrite.
3944         (vc-default-ignore-completion-table):
3945         (vc--read-lines):
3946         (vc--add-line, vc--remove-regexp): New functions.
3948         * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3949         (vc-svn-ignore-completion-table): New function.
3951         * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3952         (vc-hg-ignore-completion-table):
3953         (vc-hg-find-ignore-file): New functions.
3955         * vc/vc-git.el (vc-git-ignore): Rewrite.
3956         (vc-git-ignore-completion-table):
3957         (vc-git-find-ignore-file): New functions.
3959         * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3961         * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3962         (vc-bzr-ignore-completion-table):
3963         (vc-bzr-find-ignore-file): New functions.
3965 2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
3967         * frameset.el (frameset-prop): New function and setter.
3968         (frameset-save): Do not modify frame list passed by the caller.
3970 2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
3972         * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3974 2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
3976         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3977         (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3979         * custom.el (custom-initialize-default, custom-initialize-set)
3980         (custom-initialize-reset, custom-initialize-changed): Affect the
3981         toplevel-default-value (bug#6275, bug#14586).
3982         * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3983         for bug#6275.
3985 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
3987         * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3988         Add cl-def* expressions.
3990         * frameset.el (frameset-filter-params): Fix order of arguments.
3992 2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
3994         Move code related to saving frames to frameset.el.
3995         * desktop.el: Require frameset.
3996         (desktop-restore-frames): Doc fix.
3997         (desktop-restore-reuses-frames): Rename from
3998         desktop-restoring-reuses-frames.
3999         (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4000         (desktop-clear): Clear frames too.
4001         (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4002         (desktop--filter-tty*, desktop-save, desktop-read):
4003         Use frameset functions.
4004         (desktop-before-saving-frames-functions, desktop--filter-*-color)
4005         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4006         (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4007         (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4008         (desktop--process-minibuffer-frames, desktop-save-frames)
4009         (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4010         (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4011         (desktop--sort-states, desktop-restoring-frames-p)
4012         (desktop-restore-frames): Remove.  Most code moved to frameset.el.
4013         (desktop-restoring-frameset-p, desktop-restore-frameset)
4014         (desktop--check-dont-save, desktop-save-frameset): New functions.
4015         (desktop--app-id): New constant.
4016         (desktop-first-buffer, desktop-buffer-ok-count)
4017         (desktop-buffer-fail-count): Move before first use.
4018         * frameset.el: New file.
4020 2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
4022         * files.el: Use lexical-binding.
4023         (dir-locals-read-from-file): Remove unused `err' variable.
4024         (hack-dir-local-variables--warned-coding): New var.
4025         (hack-dir-local-variables): Use it to avoid repeated warnings.
4026         (make-backup-file-name--default-function): New function.
4027         (make-backup-file-name-function): Use it as default.
4028         (buffer-stale--default-function): New function.
4029         (buffer-stale-function): Use it as default.
4030         (revert-buffer-insert-file-contents--default-function): New function.
4031         (revert-buffer-insert-file-contents-function): Use it as default.
4032         (insert-directory): Avoid add-to-list.
4034         * autorevert.el (auto-revert-handler): Simplify.
4035         Use buffer-stale--default-function.
4037 2013-08-01  Tassilo Horn  <tsdh@gnu.org>
4039         * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4041         * whitespace.el (whitespace-ensure-local-variables): New function.
4042         (whitespace-cleanup-region): Call it.
4043         (whitespace-turn-on): Call it.
4045 2013-08-01  Michael Albinus  <michael.albinus@gmx.de>
4047         Complete file name handlers.
4049         * net/tramp.el (tramp-handle-set-visited-file-modtime)
4050         (tramp-handle-verify-visited-file-modtime)
4051         (tramp-handle-file-notify-rm-watch): New functions.
4052         (tramp-call-process): Do not bind `default-directory'.
4054         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4055         Order alphabetically.
4056         [access-file, add-name-to-file, dired-call-process]:
4057         [dired-compress-file, file-acl, file-notify-rm-watch]:
4058         [file-ownership-preserved-p, file-selinux-context]:
4059         [make-directory-internal, make-symbolic-link, set-file-acl]:
4060         [set-file-selinux-context, set-visited-file-modtime]:
4061         [verify-visited-file-modtime]: Add handler.
4062         (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4064         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4065         [file-notify-add-watch, file-notify-rm-watch]:
4066         [set-file-times, set-visited-file-modtime]:
4067         [verify-visited-file-modtime]: Add handler.
4068         (with-tramp-gvfs-error-message)
4069         (tramp-gvfs-handle-set-visited-file-modtime)
4070         (tramp-gvfs-fuse-file-name): Remove.
4071         (tramp-gvfs-handle-file-notify-add-watch)
4072         (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4073         (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4075         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4076         Order alphabetically.
4077         [file-notify-rm-watch ]: Use default Tramp handler.
4078         [executable-find]: Remove private handler.
4079         (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4080         `default-directory'.
4081         (tramp-sh-handle-executable-find)
4082         (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4083         (tramp-sh-file-gvfs-monitor-dir-process-filter)
4084         (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4085         Do not use `format' in `tramp-message'.
4087         * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4088         [file-notify-rm-watch, set-visited-file-modtime]:
4089         [verify-visited-file-modtime]: Add handler.
4090         (tramp-smb-call-winexe): Do not bind `default-directory'.
4092 2013-08-01  Xue Fuqiao  <xfq.free@gmail.com>
4094         * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4096 2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
4098         * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4099         use it.
4100         (log-view-diff-changeset): Same.
4101         (log-view-diff-common): Call backend command `previous-revision'
4102         to find out the previous revision, in both cases.  Swap the
4103         variables `to' and `fr', so that `fr' usually refers to the
4104         earlier revision (Bug#14989).
4106 2013-07-31  Kan-Ru Chen  <kanru@kanru.info>
4108         * ibuf-ext.el (ibuffer-filter-by-filename):
4109         Make it work with dired buffers too.
4111 2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
4113         * emacs-lisp/re-builder.el (reb-color-display-p):
4114         * files.el (save-buffers-kill-terminal):
4115         * net/browse-url.el (browse-url):
4116         * server.el (server-save-buffers-kill-terminal):
4117         * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4118         Prefer nil to selected-frame for the first arg of frame-parameter.
4120 2013-07-31  Xue Fuqiao  <xfq.free@gmail.com>
4122         * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4124 2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
4126         * minibuffer.el (completion--twq-all): Try and preserve each
4127         completion's case choice (bug#14907).
4129 2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4131         * net/network-stream.el (open-network-stream): Mention the new
4132         :nogreeting parameter.
4133         (network-stream-open-starttls): Use the :nogreeting parameter
4134         (bug#14938).
4136         * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4138         * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4139         more natural than popping.
4141         * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4142         (shr-urlify): Highlight under mouse.
4144 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
4146         * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4148         * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4150         * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'.  Use `*vc*'
4151         buffer for output.
4153         * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'.  Do not assume
4154         point-min==1.  Fix search string.  Fix parentheses missing.
4156         * vc/vc-git.el (vc-git-ignore): Remove `interactive'.  Do not
4157         assume point-min==1.  Fix search string.  Fix parentheses missing.
4159         * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4161         * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'.  Use `*vc*'
4162         buffer for output.
4164 2013-07-29  Eli Zaretskii  <eliz@gnu.org>
4166         * frame.el (frame-notice-user-settings): Avoid inflooping when the
4167         initial frame is minibuffer-less.  (Bug#14841)
4169 2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
4171         * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4172         option.
4174         * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4175         (tramp-maybe-open-connection): Use it.
4177 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
4179         * desktop.el (desktop--make-frame): Include `minibuffer' in the
4180         minimal set of parameters passed when creating a frame, because
4181         the minibuffer status of a frame cannot be changed later.
4183 2013-07-28  Stephen Berman  <stephen.berman@gmx.net>
4185         * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4186         replace-regexp-in-string and inadvertent omissions in previous change.
4187         (todo-filter-items): Ensure only file names are comma-separated in
4188         name of filtered items buffer.
4190 2013-07-28  Juanma Barranquero  <lekktu@gmail.com>
4192         * desktop.el: Optionally force offscreen frames back onscreen.
4193         (desktop-restoring-reuses-frames): New option.
4194         (desktop--compute-pos, desktop--move-onscreen): New functions.
4195         (desktop--make-frame): Use desktop--move-onscreen.
4197 2013-07-27  Alan Mackenzie  <acm@muc.de>
4199         Fontify a Java generic method as a function.
4200         * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4201         value to t.
4203 2013-07-27  Stephen Berman  <stephen.berman@gmx.net>
4205         * calendar/todo-mode.el: Add command to rename todo files.
4206         (todo-rename-file): New command.
4207         (todo-key-bindings-t): Add key binding for it.  Change the
4208         bindings of todo-filter-regexp-items(-multifile) to use `x'
4209         instead of `r', since the latter is better suited to the new
4210         renaming command.
4212 2013-07-27  Alan Mackenzie  <acm@muc.de>
4214         Make Java try-with-resources statement parse properly.
4215         * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4216         (c-block-stmt-1-2-key): New language constants/variables.
4217         * progmodes/cc-engine.el (c-beginning-of-statement-1)
4218         (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4219         * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4220         with c-block-stmt-1-2-key.
4222 2013-07-27  Juanma Barranquero  <lekktu@gmail.com>
4224         * desktop.el (desktop--make-frame): Apply most frame parameters after
4225         creating the frame to force (partially or totally) offscreen frames to
4226         be restored as such.
4228 2013-07-26  Xue Fuqiao  <xfq.free@gmail.com>
4230         * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4231         (Bug#14948)
4233 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4235         * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4236         `base' arg of backtrace-frame.
4238 2013-07-26  Eli Zaretskii  <eliz@gnu.org>
4240         * simple.el (list-processes): Doc fix.
4242 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
4244         * desktop.el (desktop--select-frame):
4245         Try harder to reuse existing frames.
4247 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4249         * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4250         (edebug-eval): Use backtrace-eval.
4251         (edebug--display, edebug--recursive-edit): Don't let-bind the
4252         edebug-outer-* vars that keep track of variables we locally let-bind.
4253         (edebug-outside-excursion): Don't restore outside values of locally
4254         let-bound vars.
4255         (edebug--display): Use user-error.
4256         (cl-lexical-debug, cl-debug-env): Remove.
4258 2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
4260         * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4261         are restored to be sure that they are visible before deleting any
4262         remaining ones.
4264 2013-07-26  Matthias Meulien  <orontee@gmail.com>
4266         * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4267         vc-print-root-log.  (Bug#14948)
4269 2013-07-26  Richard Stallman  <rms@gnu.org>
4271         Add aliases for encrypting mail.
4272         * epa.el (epa-mail-aliases): New option.
4273         * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4274         Bind inhibit-read-only so read-only text doesn't ruin everything.
4275         (epa-mail-default-recipients): New subroutine broken out.
4276         Handle epa-mail-aliases.
4278 2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
4280         Add support for lexical variables to the debugger's `e' command.
4281         * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4282         vars, except for debugger-outer-match-data.
4283         (debugger-frame-number): Move check for "on a function call" from
4284         callers into it.  Add `skip-base' argument.
4285         (debugger-frame, debugger-frame-clear): Simplify accordingly.
4286         (debugger-env-macro): Only reset the state stored in non-variables,
4287         i.e. current-buffer and match-data.
4288         (debugger-eval-expression): Rewrite using backtrace-eval.
4289         * subr.el (internal--called-interactively-p--get-frame): Remove.
4290         (called-interactively-p):
4291         * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4292         `base' arg of backtrace-frame instead.
4294 2013-07-26  Glenn Morris  <rgm@gnu.org>
4296         * align.el (align-regexp): Doc fix.  (Bug#14857)
4297         (align-region): Explicit error if subexpression missing/does not match.
4299         * simple.el (global-visual-line-mode):
4300         Do not duplicate the mode lighter.  (Bug#14858)
4302 2013-07-25  Martin Rudalics  <rudalics@gmx.at>
4304         * window.el (display-buffer): In display-buffer bind
4305         split-window-keep-point to t, bug#14829.
4307 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
4309         * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4310         (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4311         (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4312         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4313         Change accordingly.
4314         (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4315         Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4317 2013-07-25  Glenn Morris  <rgm@gnu.org>
4319         * dired-x.el (dired-mark-extension): Convert comment to doc string.
4321 2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
4323         * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4324         parameter to modify-frame-parameters if the value has not changed;
4325         this is a workaround for bug#14949.
4326         (desktop--make-frame): On cl-delete-if call, check parameter name,
4327         not full parameter.
4329 2013-07-30  Xue Fuqiao  <xfq.free@gmail.com>
4331         * vc/vc.el (vc-ignore): New function.
4333         * vc/vc-svn.el (vc-svn-ignore): New function.
4335         * vc/vc-hg.el (vc-hg-ignore): New function.
4337         * vc/vc-git.el (vc-git-ignore): New function.
4339         * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4340         (vc-dir-ignore): New function.
4342         * vc/vc-cvs.el (vc-cvs-ignore): New function.
4343         (cvs-append-to-ignore): Move here from pcvs.el.
4345         * vc/vc-bzr.el (vc-bzr-ignore): New function.
4347         * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4349 2013-07-24  Juanma Barranquero  <lekktu@gmail.com>
4351         * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4352         (desktop-restore-frames): Warn when deleting an existing frame failed.
4354 2013-07-24  Glenn Morris  <rgm@gnu.org>
4356         * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
4358 2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
4360         * filenotify.el (file-notify-supported-p):
4361         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4362         Remove functions.
4364         * autorevert.el (auto-revert-use-notify):
4365         (auto-revert-notify-add-watch):
4366         * net/tramp.el (tramp-file-name-for-operation):
4367         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4368         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4369         * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4370         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4371         Remove `file-notify-supported-p' entry.
4373 2013-07-24  Glenn Morris  <rgm@gnu.org>
4375         * printing.el: Replace all uses of deleted ps-windows-system,
4376         ps-lp-system, ps-flatten-list with lpr- versions.
4378 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4380         * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4381         checked with memq (bug#14935).
4383         * files.el (revert-buffer-function): Use a non-nil default.
4384         (revert-buffer-preserve-modes): Declare var to
4385         provide access to the `preserve-modes' argument.
4386         (revert-buffer): Let-bind it.
4387         (revert-buffer--default): New function, extracted from revert-buffer.
4389 2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
4391         * lpr.el: Signal print errors more prominently.
4392         (print-region-function): Don't default to nil.
4393         (lpr-print-region): New function, extracted from print-region-1.
4394         Check lpr's return value and signal an error in case of problem.
4395         (print-region-1): Use it.
4396         * ps-print.el (ps-windows-system, ps-lp-system): Remove.  Use the lpr-*
4397         versions instead.
4398         (ps-printer-name): Default to nil.
4399         (ps-printer-name-option): Default to lpr-printer-switch.
4400         (ps-print-region-function): Don't default to nil.
4401         (ps-postscript-code-directory): Simplify default.
4402         (ps-do-despool): Use lpr-print-region to properly check the outcome.
4403         (ps-string-list, ps-eval-switch, ps-flatten-list)
4404         (ps-flatten-list-1): Remove.
4405         (ps-multibyte-buffer): Avoid setq.
4406         * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4407         (print-region-function, ps-print-region-function): Don't set them here.
4409 2013-07-24  Xue Fuqiao  <xfq.free@gmail.com>
4411         * ido.el (ido-fractionp):
4412         (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4413         (ido-max-file-prompt-width, ido-unc-hosts-cache)
4414         (ido-max-directory-size, ido-max-dir-file-cache)
4415         (ido-decorations): Doc fix.
4417         * ansi-color.el: Fix old URL.
4419 2013-07-23  Michael R. Mauger  <michael@mauger.com>
4421         * progmodes/sql.el: Version 3.3
4422         (sql-product-alist): Improve oracle :prompt-cont-regexp.
4423         (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4424         (sql-interactive-remove-continuation-prompt): Rewrite, use
4425         functions above.  Fix continuation prompt and complete output line
4426         handling.
4427         (sql-redirect-one, sql-execute): Use `read-only-mode' on
4428         redirected output buffer.
4429         (sql-mode): Restore deleted code (Bug#13591).
4431 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
4433         * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4435 2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
4437         * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4439         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4440         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4441         * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4443 2013-07-23  Juanma Barranquero  <lekktu@gmail.com>
4445         * desktop.el (desktop-clear): Simplify; remove useless checks
4446         against invalid buffer names.
4447         (desktop-list*): Use cl-list*.
4448         (desktop-buffer-info, desktop-create-buffer): Simplify.
4450 2013-07-23  Leo Liu  <sdl.web@gmail.com>
4452         * bookmark.el (bookmark-make-record): Restore NAME as a default
4453         value.  (Bug#14933)
4455 2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
4457         * emacs-lisp/autoload.el (autoload--setup-output): New function,
4458         extracted from autoload--insert-text.
4459         (autoload--insert-text): Remove.
4460         (autoload--print-cookie-text): New function, extracted from
4461         autoload--insert-cookie-text.
4462         (autoload--insert-cookie-text): Remove.
4463         (autoload-generate-file-autoloads): Adjust calls accordingly.
4465         * winner.el (winner-hook-installed-p): Remove.
4466         (winner-mode): Simplify accordingly.
4468         * subr.el (add-to-list): Fix compiler-macro when `append' is
4469         not constant.  Don't use `cl-member' for the base case.
4471         * progmodes/subword.el: Fix boundary case (bug#13758).
4472         (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
4473         own group.
4474         (subword-backward-regexp): Make it a constant.
4475         (subword-forward-internal): Don't treat a trailing capital as the
4476         beginning of a word.
4478 2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
4480         * emacs-lisp/package.el (package-menu-mode): Don't modify the
4481         global value of tabulated-list-revert-hook (bug#14930).
4483 2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
4485         * desktop.el: Require 'cl-lib.
4486         (desktop-before-saving-frames-functions): New hook.
4487         (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4488         for frames being saved.  Rename from desktop--save-minibuffer-frames.
4489         (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4490         Do not save frames with non-nil `desktop-dont-save' parameter.
4491         Filter out deleted frames.
4492         (desktop--find-frame): Use cl-find-if.
4493         (desktop--select-frame): Use cl-(first|second|third) to access values
4494         of desktop-mini.
4495         (desktop--make-frame): Use cl-delete-if.
4496         (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4497         (desktop-restore-frames): Use cl-(first|second|third) to access values
4498         of desktop-mini.  Look for visible frame at the end, not while
4499         restoring frames.
4501         * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4502         (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4503         Use string-match-p, looking-at-p (bug#14927).
4505 2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
4507         * desktop.el (desktop-saved-frame-states):
4508         Rename from desktop--saved-states; all users changed.
4509         (desktop-save-frames): Rename from desktop--save-frames.
4510         Do not save state to desktop file.
4511         (desktop-save): Save desktop-saved-frame-states to desktop file
4512         and reset to nil.
4513         (desktop-restoring-frames-p): New function.
4514         (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
4515         (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
4516         buffer-lists when restoring frames.  Suggested by Martin Rudalics.
4518         * desktop.el: Correctly restore iconified frames.
4519         (desktop--filter-iconified-position): New function.
4520         (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4522 2013-07-20  Glenn Morris  <rgm@gnu.org>
4524         * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4525         Let `message' do the formatting.
4526         (def-gdb-preempt-display-buffer): Add explicit format.
4528         * image-dired.el (image-dired-track-original-file):
4529         Use with-current-buffer.
4530         (image-dired-track-thumbnail): Use with-current-buffer.
4531         Avoid changing point of wrong window.
4533         * image-dired.el (image-dired-track-original-file):
4534         Avoid changing point of wrong window.  (Bug#14909)
4536 2013-07-20  Richard Copley  <rcopley@gmail.com>  (tiny change)
4538         * progmodes/gdb-mi.el (gdb-done-or-error):
4539         Guard against "%" in gdb output.  (Bug#14127)
4541 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
4543         * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4544         (Bug#14826)
4546         * international/mule.el (coding-system-iso-2022-flags): Fix last
4547         change.
4549 2013-07-20  Kenichi Handa  <handa@gnu.org>
4551         * international/mule.el (coding-system-iso-2022-flags):
4552         Add `8-bit-level-4'.  (Bug#8522)
4554 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4556         * net/shr.el (shr-mouse-browse-url): New command and keystroke
4557         (bug#14815).
4559         * net/eww.el (eww-process-text-input): Allow inputting when the
4560         point is at the start of the line, as the properties aren't
4561         front-sticky.
4563         * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4564         degenerate widths.
4566 2013-07-19  Richard Stallman  <rms@gnu.org>
4568         * epa.el (epa-popup-info-window): Doc fix.
4570         * subr.el (split-string): New arg TRIM.
4572 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
4574         * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4575         Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4577 2013-07-18  Michael Albinus  <michael.albinus@gmx.de>
4579         * filenotify.el (file-notify--library): Rename from
4580         `file-notify-support'.  Do not autoload.  Adapt all uses.
4581         (file-notify-supported-p): New defun.
4583         * autorevert.el (auto-revert-use-notify):
4584         Use `file-notify-supported-p' instead of `file-notify-support'.
4585         Adapt docstring.
4586         (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4588         * net/tramp.el (tramp-file-name-for-operation):
4589         Add `file-notify-supported-p'.
4591         * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4592         New defun.
4593         (tramp-sh-file-name-handler-alist): Add it as handler for
4594         `file-notify-supported-p '.
4596         * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4597         * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4598         * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4599         Add `ignore' as handler for `file-notify-*' functions.
4601 2013-07-17  Eli Zaretskii  <eliz@gnu.org>
4603         * simple.el (line-move-partial, line-move): Don't start vscroll or
4604         scroll-up if the current line is not taller than the window.
4605         (Bug#14881)
4607 2013-07-16  Dmitry Gutov  <dgutov@yandex.ru>
4609         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4610         highlight question marks in the method names as strings.
4611         (ruby-block-beg-keywords): Inline.
4612         (ruby-font-lock-keyword-beg-re): Extract from
4613         `ruby-font-lock-keywords'.
4615 2013-07-16  Jan Djärv  <jan.h.d@swipnet.se>
4617         * frame.el (blink-cursor-blinks): New defcustom.
4618         (blink-cursor-blinks-done): New defvar.
4619         (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4620         (blink-cursor-timer-function): Check if number of blinks has been
4621         done on X and NS.
4622         (blink-cursor-suspend, blink-cursor-check): New defuns.
4624 2013-07-15  Glenn Morris  <rgm@gnu.org>
4626         * edmacro.el (edmacro-format-keys): Fix previous change.
4628 2013-07-15  Paul Eggert  <eggert@cs.ucla.edu>
4630         * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4631         The hack didn't work outside English locales anyway.
4633 2013-07-15  Juanma Barranquero  <lekktu@gmail.com>
4635         * simple.el (define-alternatives): Rename from alternatives-define,
4636         per RMS' suggestion.
4638 2013-07-14  Juanma Barranquero  <lekktu@gmail.com>
4640         * desktop.el (desktop-restore-frames): Change default to t.
4641         (desktop-restore-in-current-display): Now offer more options.
4642         (desktop-restoring-reuses-frames): New customization option.
4643         (desktop--saved-states): Doc fix.
4644         (desktop-filter-parameters-alist): New variable, renamed and expanded
4645         from desktop--excluded-frame-parameters.
4646         (desktop--target-display): New variable.
4647         (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4648         (desktop--filter-tty*, desktop--filter-*-color)
4649         (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4650         (desktop--filter-save-desktop-parm)
4651         (desktop-restore-in-original-display-p): New functions.
4652         (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4653         (desktop--save-minibuffer-frames): New function, inspired by a similar
4654         function from Martin Rudalics.
4655         (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4656         (desktop--restore-in-this-display-p): Remove.
4657         (desktop--find-frame): Rename from desktop--find-frame-in-display
4658         and add predicate argument.
4659         (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4660         (desktop--reuse-list): New variable.
4661         (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4662         New functions.
4663         (desktop--restore-frames): Add support for "minibuffer-special" frames.
4665 2013-07-14  Michael Albinus  <michael.albinus@gmx.de>
4667         * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4669 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
4671         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4672         Highlight conversion methods on Kernel.
4674 2013-07-13  Alan Mackenzie  <acm@muc.de>
4676         * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4677         and comment it out.  This out-commenting enables certain C++
4678         declarations to be parsed correctly.
4680 2013-07-13  Eli Zaretskii  <eliz@gnu.org>
4682         * international/mule.el (define-coding-system): Doc fix.
4684         * simple.el (default-font-height): Don't call font-info if the
4685         frame's default font didn't change since the frame was created.
4686         (Bug#14838)
4688 2013-07-13  Leo Liu  <sdl.web@gmail.com>
4690         * ido.el (ido-read-file-name): Guard against non-symbol value.
4692 2013-07-13  Fabián Ezequiel Gallina  <fgallina@gnu.org>
4694         * progmodes/python.el (python-imenu--build-tree): Fix corner case
4695         in nested defuns.
4697 2013-07-13  Leo Liu  <sdl.web@gmail.com>
4699         * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4700         ido-set-matches call.  (Bug#6852)
4702 2013-07-12  Dmitry Gutov  <dgutov@yandex.ru>
4704         * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4705         (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4706         Ruby 2.0.
4707         (ruby-font-lock-keywords): Distinguish calls to functions with
4708         module-like names from module references.  Highlight character
4709         literals.
4711 2013-07-12  Sergio Durigan Junior  <sergiodj@riseup.net>  (tiny change)
4713         * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4714         (gdb-send): Handle continued commands.  (Bug#14847)
4716 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
4718         * desktop.el (desktop--v2s): Remove unused local variable.
4719         (desktop-save-buffer): Make defvar-local; adjust docstring.
4720         (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4721         (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4723 2013-07-12  Andreas Schwab  <schwab@linux-m68k.org>
4725         * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4727 2013-07-12  Eli Zaretskii  <eliz@gnu.org>
4729         * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4730         (Bug#14842)
4732 2013-07-12  Glenn Morris  <rgm@gnu.org>
4734         * doc-view.el: Require cl-lib at runtime too.
4735         (doc-view-remove-if): Remove.
4736         (doc-view-search-next-match, doc-view-search-previous-match):
4737         Use cl-remove-if.
4739         * edmacro.el: Require cl-lib at runtime too.
4740         (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4741         (edmacro-mismatch, edmacro-subseq): Remove.
4743         * shadowfile.el: Require cl-lib.
4744         (shadow-remove-if): Remove.
4745         (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4746         Use cl-remove-if.
4748         * wid-edit.el: Require cl-lib.
4749         (widget-choose): Use cl-remove-if.
4750         (widget-remove-if): Remove.
4752         * progmodes/ebrowse.el: Require cl-lib at runtime too.
4753         (ebrowse-delete-if-not): Remove.
4754         (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4755         (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4756         Use cl-delete-if-not.
4758 2013-07-12  Juanma Barranquero  <lekktu@gmail.com>
4760         * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4761         (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4763 2013-07-12  Leo Liu  <sdl.web@gmail.com>
4765         * ido.el (dired-do-copy, dired): Set 'ido property.  (Bug#11954)
4767 2013-07-11  Glenn Morris  <rgm@gnu.org>
4769         * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4770         (edebug-gensym-index, edebug-gensym):
4771         Remove reimplementation of cl-gensym.
4772         (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4774         * thumbs.el: Require cl-lib at run-time too.
4775         (thumbs-gensym-counter, thumbs-gensym):
4776         Remove reimplementation of cl-gensym.
4777         (thumbs-temp-file): Use cl-gensym.
4779         * emacs-lisp/ert.el: Require cl-lib at runtime too.
4780         (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4781         (ert--intersection, ert--set-difference, ert--set-difference-eq)
4782         (ert--union, ert--gensym-counter, ert--gensym-counter)
4783         (ert--coerce-to-vector, ert--remove*, ert--string-position)
4784         (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4785         (ert-make-test-unbound, ert--expand-should-1)
4786         (ert--expand-should, ert--should-error-handle-error)
4787         (should-error, ert--explain-equal-rec)
4788         (ert--plist-difference-explanation, ert-select-tests)
4789         (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4790         Use cl-lib functions rather than reimplementations.
4792 2013-07-11  Michael Albinus  <michael.albinus@gmx.de>
4794         * net/tramp.el (tramp-methods): Extend docstring.
4795         (tramp-connection-timeout): New defcustom.
4796         (tramp-error-with-buffer): Reset timestamp only when appropriate.
4797         (with-tramp-progress-reporter): Simplify.
4798         (tramp-process-actions): Improve messages.
4800         * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4801         * net/tramp-sh.el (tramp-maybe-open-connection):
4802         Use `tramp-connection-timeout'.
4803         (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4804         (Bug#14808)
4806 2013-07-11  Leo Liu  <sdl.web@gmail.com>
4808         * ido.el (ido-read-file-name): Conform to the requirements of
4809         read-file-name.  (Bug#11861)
4810         (ido-read-directory-name): Conform to the requirements of
4811         read-directory-name.
4813 2013-07-11  Juanma Barranquero  <lekktu@gmail.com>
4815         * subr.el (delay-warning): New function.
4817 2013-07-10  Eli Zaretskii  <eliz@gnu.org>
4819         * simple.el (default-line-height): New function.
4820         (line-move-partial, line-move): Use it instead of computing the
4821         line height inline.
4822         (line-move-partial): Always compute ROWH.  If the last line is
4823         partially-visible, but its text is completely visible, allow
4824         cursor to enter such a partially-visible line.
4826 2013-07-10  Michael Albinus  <michael.albinus@gmx.de>
4828         Improve error messages.  (Bug#14808)
4830         * net/tramp.el (tramp-current-connection): New defvar, moved from
4831         tramp-sh.el.
4832         (tramp-message-show-progress-reporter-message): Remove, not
4833         needed anymore.
4834         (tramp-error-with-buffer): Show message in minibuffer.
4835         Discard input before waiting.  Reset connection timestamp.
4836         (with-tramp-progress-reporter): Improve messages.
4837         (tramp-process-actions): Use progress reporter.  Delete process in
4838         case of error.  Improve messages.
4840         * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4841         Call `tramp-error-with-buffer' with vector and buffer.
4842         (tramp-current-connection): Remove.
4843         (tramp-maybe-open-connection): The car of
4844         `tramp-current-connection' are the first 3 slots of the vector.
4846 2013-07-10  Teodor Zlatanov  <tzz@lifelogs.com>
4848         * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4849         inside continued strings.
4851 2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
4853         Timestamp fixes for undo (Bug#14824).
4854         * files.el (clear-visited-file-modtime): Move here from fileio.c.
4856 2013-07-10  Leo Liu  <sdl.web@gmail.com>
4858         * files.el (require-final-newline): Allow safe local value.
4859         (Bug#14834)
4861 2013-07-09  Leo Liu  <sdl.web@gmail.com>
4863         * ido.el (ido-read-directory-name): Handle fallback.
4864         (ido-read-file-name): Update DIR to ido-current-directory.
4865         (Bug#1516)
4866         (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
4868 2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
4870         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4871         "autoload".  Remove "warn lower camel case" section, previously
4872         commented out.  Highlight negation char.  Do not highlight the
4873         target in singleton method definitions.
4875 2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
4877         * faces.el (tty-setup-hook): Declare the hook.
4879         * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4880         and detect when a guard/pred depends on local vars (bug#14773).
4881         (pcase--u1): Adjust caller.
4883 2013-07-08  Eli Zaretskii  <eliz@gnu.org>
4885         * simple.el (line-move-partial, line-move): Account for
4886         line-spacing.
4887         (line-move-partial): Avoid setting vscroll when the last
4888         partially-visible line in window is of default height.
4890 2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
4892         * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4893         been used a while.
4895 2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
4897         * subr.el (read-quoted-char): Remove unused local variable `char'.
4899 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
4901         * ediff.el (ediff-version): Version update.
4902         (ediff-files-command, ediff3-files-command, ediff-merge-command)
4903         (ediff-merge-with-ancestor-command, ediff-directories-command)
4904         (ediff-directories3-command, ediff-merge-directories-command)
4905         (ediff-merge-directories-with-ancestor-command): New functions.
4906         All are command-line interfaces to ediff: to facilitate calling
4907         Emacs with the appropriate ediff functions invoked.
4909         * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4910         (viper-save-kill-buffer): Check if buffer is modified.
4912         * viper.el (viper-version): Version update.
4913         (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4915 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
4917         * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4918         * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4919         (viper-intercept-ESC-key): Simplify.
4920         * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4921         * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4922         (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4923         (viper-setup-ESC-to-escape): New functions.
4924         (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4925         (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
4927 2013-07-07  Eli Zaretskii  <eliz@gnu.org>
4929         * simple.el (default-font-height, window-screen-lines):
4930         New functions.
4931         (line-move, line-move-partial): Use them instead of
4932         frame-char-height and window-text-height.  This makes scrolling
4933         text smoother when the buffer's default face uses a font that is
4934         different from the frame's default font.
4936 2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
4938         * files.el (write-file): Do not display confirm dialog for NS,
4939         it does its own dialog, which can't be cancelled (Bug#14578).
4941 2013-07-06  Eli Zaretskii  <eliz@gnu.org>
4943         * simple.el (line-move-partial): Adjust the row returned by
4944         posn-at-point for the current window-vscroll.  (Bug#14567)
4946 2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
4948         * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4949         (tramp-sh-file-inotifywait-process-filter): Handle file names with
4950         spaces.
4952 2013-07-06  Martin Rudalics  <rudalics@gmx.at>
4954         * window.el (window-state-put-stale-windows): New variable.
4955         (window--state-put-2): Save list of windows without matching buffer.
4956         (window-state-put): Remove "bufferless" windows if possible.
4958 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
4960         * simple.el (alternatives-define): Remove leftover :group keyword.
4961         Tweak docstring.
4963 2013-07-06  Leo Liu  <sdl.web@gmail.com>
4965         * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4966         (ido-enable-virtual-buffers): New variable.
4967         (ido-buffer-internal, ido-toggle-virtual-buffers)
4968         (ido-make-buffer-list): Use it.
4969         (ido-exhibit): Support turning on and off virtual buffers
4970         automatically.
4972 2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
4974         * simple.el (alternatives-define): New macro.
4976 2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
4978         * subr.el (read-quoted-char): Use read-key.
4979         (sit-for): Let read-event decode tty input (bug#14782).
4981 2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
4983         * calendar/todo-mode.el: Add handling of file deletion, both by
4984         mode command and externally.  Fix various related bugs.
4985         Clarify Commentary and improve some documentation strings and code.
4986         (todo-delete-file): New command.
4987         (todo-check-file): New function.
4988         (todo-show): Handle external deletion of the file we're trying to
4989         show (bug#14688).  Replace called-interactively-p by an optional
4990         prefix argument to avoid problematic interaction with catch form
4991         when byte compiled (bug#14702).
4992         (todo-quit): Handle external deletion of the archive's todo file.
4993         Make sure the buffer that was visiting the archive file is still
4994         live before trying to bury it.
4995         (todo-category-completions): Handle external deletion of any
4996         category completion files.
4997         (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4998         of todo files, in case of external deletion.
4999         (todo-add-file): Replace unnecessary setq by let-binding.
5000         (todo-find-archive): Check whether there are any archives.
5001         Replace unnecessary setq by let-binding.
5002         (todo-archive-done-item): Use find-file-noselect to get the
5003         archive buffer whether or not the archive already exists.
5004         Remove superfluous code.  Use file size instead of buffer-file-name to
5005         check if the archive is new; if it is, update list of archives.
5006         (todo-default-todo-file): Allow nil to be a valid value for when
5007         there are no todo files.
5008         (todo-reevaluate-default-file-defcustom): Use corrected definition
5009         of todo-default-todo-file.
5010         (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5011         (todo-delete-category, todo-show-categories-table)
5012         (todo-category-number): Clarify comment.
5013         (todo-filter-items): Clarify documentation string.
5014         (todo-show-current-file, todo-display-as-todo-file)
5015         (todo-reset-and-enable-done-separator): Tweak documentation string.
5016         (todo-done-separator): Make separator length window-width, since
5017         bug#2749 is now fixed.
5019 2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
5021         * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5022         Support both "gvfs-monitor-dir" and "inotifywait".
5023         (tramp-sh-file-inotifywait-process-filter): Rename from
5024         `tramp-sh-file-notify-process-filter'.
5025         (tramp-sh-file-gvfs-monitor-dir-process-filter)
5026         (tramp-get-remote-gvfs-monitor-dir): New defuns.
5028 2013-07-05  Leo Liu  <sdl.web@gmail.com>
5030         * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5032 2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
5034         * frame.el (display-pixel-height, display-pixel-width)
5035         (display-mm-height, display-mm-width): Mention behavior on
5036         multi-monitor setups in docstrings.
5037         (w32-display-monitor-attributes-list): Declare function.
5038         (display-monitor-attributes-list): Use it.
5040 2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
5042         * filenotify.el: New package.
5044         * autorevert.el (top): Require filenotify.el.
5045         (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
5046         instead.
5047         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5048         (auto-revert-notify-handler): Use `file-notify-*' functions.
5050         * subr.el (file-notify-handle-event): Move function to filenotify.el.
5052         * net/tramp.el (tramp-file-name-for-operation):
5053         Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5055         * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5056         for `file-notify-add-watch' and `file-notify-rm-watch'.
5057         (tramp-process-sentinel): Improve trace.
5058         (tramp-sh-handle-file-notify-add-watch)
5059         (tramp-sh-file-notify-process-filter)
5060         (tramp-sh-handle-file-notify-rm-watch)
5061         (tramp-get-remote-inotifywait): New defuns.
5063 2013-07-03  Juri Linkov  <juri@jurta.org>
5065         * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5066         call of `occur-read-primary-args' to interactive spec.
5068         * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5069         `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
5071 2013-07-03  Matthias Meulien  <orontee@gmail.com>
5073         * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5074         `Buffer-menu-multi-occur'.  Add it to the menu.
5075         (Buffer-menu-mode): Document it in docstring.
5076         (Buffer-menu-multi-occur): New command.  (Bug#14673)
5078 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
5080         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5081         keywords and built-ins.
5083 2013-07-03  Glenn Morris  <rgm@gnu.org>
5085         * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
5087         Make info-xref checks case-sensitive by default
5088         * info.el (Info-find-node, Info-find-in-tag-table)
5089         (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5090         Add option for exact case matching of nodes.
5091         * info-xref.el (info-xref): New custom group.
5092         (info-xref-case-fold): New option.
5093         (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5095 2013-07-03  Leo Liu  <sdl.web@gmail.com>
5097         * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5099 2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
5101         * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5102         middle of block statement initially, lower the depth.  Remove
5103         FIXME comment, not longer valid.  Remove middle of block statement
5104         detection, no need to do that anymore since we've been using
5105         `ruby-parse-region' here.
5107 2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
5109         * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5111 2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
5113         * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5115 2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
5117         * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5118         (desktop-restore-in-current-display): New customization option.
5119         (desktop--excluded-frame-parameters): Add `font'.
5120         (desktop--save-frames): Rename from desktop--save-windows.
5121         (desktop--restore-in-this-display-p): New function.
5122         (desktop--make-full-frame): Remove unwanted width/height from
5123         full(width|height) frames.
5124         (desktop--restore-frames): Rename from desktop--restore-windows.
5125         Obey desktop-restore-current-display.  Do not delete old frames or
5126         select a new frame unless we were able to restore at least one frame.
5128 2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
5130         * files.el (find-file-noselect): Simplify conditional expression.
5132         * remember.el (remember-append-to-file):
5133         Don't mix `find-buffer-visiting' and `get-file-buffer'.
5135         Add `remember-notes' function to store random notes across Emacs
5136         restarts.
5137         * remember.el (remember-data-file): Add :set callback to affect
5138         notes buffer (if any).
5139         (remember-notes): New command.
5140         (remember-notes-buffer-name, bury-remember-notes-on-kill):
5141         New defcustoms for the `remember-notes' function.
5142         (remember-notes-save-and-bury-buffer): New command.
5143         (remember-notes-mode-map): New variable.
5144         (remember-mode): New minor mode.
5145         (remember-notes--kill-buffer-query): New function.
5146         * startup.el (initial-buffer-choice): Add notes to custom type.
5148 2013-06-30  Eli Zaretskii  <eliz@gnu.org>
5150         * bindings.el (right-char, left-char): Don't call sit-for, this is
5151         no longer needed.  Use arithmetic comparison only for numerical
5152         arguments.
5154         * international/mule-cmds.el (select-safe-coding-system):
5155         Handle the case of FROM being a string correctly.  (Bug#14755)
5157 2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5159         * net/shr.el (shr-make-table-1): Add a sanity check that allows
5160         progression on degenerate tables.
5161         (shr-rescale-image): ImageMagick animated images currently don't work.
5163 2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
5165         Some fixes and improvements for desktop frame restoration.
5166         It is still experimental and disabled by default.
5167         * desktop.el (desktop--save-windows): Put the selected frame at
5168         the head of the list.
5169         (desktop--make-full-frame): New function.
5170         (desktop--restore-windows): Try to re-select the frame that was
5171         selected upon saving.  Do not abort if some frames fail to restore,
5172         just show an error message and continue.  Set up maximized frames
5173         so they have default non-maximized dimensions.
5175 2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
5177         * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5178         Don't start heredoc inside a string or comment.
5180 2013-06-29  Eli Zaretskii  <eliz@gnu.org>
5182         * bindings.el (visual-order-cursor-movement): New defcustom.
5183         (right-char, left-char): Provide visual-order cursor motion by
5184         calling move-point-visually.  Update the doc strings.
5186 2013-06-28  Kenichi Handa  <handa@gnu.org>
5188         * international/mule.el (define-coding-system): New coding system
5189         properties :inhibit-null-byte-detection,
5190         :inhibit-iso-escape-detection, and :prefer-utf-8.
5191         (set-buffer-file-coding-system): If :charset-list property of
5192         CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5193         appropriate for setting.
5195         * international/mule-cmds.el (select-safe-coding-system):
5196         If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5197         multibyte characters, return utf-8 (or one of its siblings).
5199         * international/mule-conf.el (prefer-utf-8): New coding system.
5200         (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5201         files.
5203 2013-06-28  Ivan Kanis  <ivan@kanis.fr>
5205         * net/shr.el (shr-render-region): New function.
5207         * net/eww.el: Autoload `eww-browse-url'.
5209 2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
5211         * emacs-lisp/package-x.el (package-upload-buffer-internal):
5212         Adapt to `package-desc-version' being a list.
5213         Use `package--ac-desc-version' to retrieve version from a package
5214         archive element.
5216 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
5218         New experimental feature to save&restore window and frame setup.
5219         * desktop.el (desktop-save-windows): New defcustom.
5220         (desktop--saved-states): New var.
5221         (desktop--excluded-frame-parameters): New defconst.
5222         (desktop--filter-frame-parms, desktop--find-frame-in-display)
5223         (desktop--restore-windows, desktop--save-windows): New functions.
5224         (desktop-save): Call `desktop--save-windows'.
5225         (desktop-read): Call `desktop--restore-windows'.
5227 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5229         * net/shr.el (add-face-text-property): Remove compat definition.
5231 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
5233         * info.el (Info-try-follow-nearest-node): Move search for footnote
5234         above search for node name to prevent missing a footnote (bug#14717).
5236 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
5238         * obsolete/otodo-mode.el: Add obsolescence info to file header.
5240 2013-06-27  Leo Liu  <sdl.web@gmail.com>
5242         * net/eww.el (eww-read-bookmarks): Check file size.
5244 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5246         * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5247         advice--pending if newdef is nil or an autoload (bug#13820).
5248         (advice-mapc): New function.
5250 2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5252         * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5253         probably.
5254         (eww-mode-map): Add a menu bar.
5255         (eww-add-bookmark): New command.
5256         (eww-bookmark-mode): New mode and commands.
5257         (eww-add-bookmark): Remove newlines from the title.
5258         (eww-bookmark-browse): Don't bug out if it's the only window.
5260 2013-06-26  Glenn Morris  <rgm@gnu.org>
5262         * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5263         (hfy-size): Handle ttys.  (Bug#14668)
5265         * info-xref.el: Update for Texinfo 5 change in *note format.
5266         (info-xref-node-re, info-xref-note-re): New constants.
5267         (info-xref-check-buffer): Use info-xref-note-re.
5269 2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
5271         * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5273         * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5274         nil terminate the loop (bug#14718).
5276 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5278         * net/eww.el: Rework history traversal.  When going forward/back,
5279         put these actions into the history, too, so that they can be
5280         replayed.
5281         (eww-render): Move the history reset to the correct buffer.
5283 2013-06-25  Juri Linkov  <juri@jurta.org>
5285         * files-x.el (modify-dir-local-variable): Change the header comment
5286         in the file with directory local variables.  (Bug#14692)
5288         * files-x.el (read-file-local-variable-value): Add `default'.
5289         (Bug#14710)
5291 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5293         * net/eww.el (eww-make-unique-file-name): Create a unique file
5294         name before saving to entering `y' accidentally asynchronously.
5296 2013-06-25  Ivan Kanis  <ivan@kanis.fr>
5298         * net/eww.el (eww-download): New command and keystroke.
5300 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5302         * net/eww.el (eww-copy-page-url): Change name of command.
5304         * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5305         be more consistent with Info and dired.
5307         * net/eww.el (eww-mode-map): Ditto.
5309 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5311         * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
5312         packages from archives.
5313         (package-archive-contents): Change format; include obsolete packages.
5314         (package-desc): Use `dir' to mark builtin packages.
5315         (package--from-builtin): Set the `dir' field to `builtin'.
5316         (generated-autoload-file, version-control): Declare.
5317         (package-compute-transaction): Change first arg and return value to be
5318         lists of package-descs.  Adjust to new package-archive-contents format.
5319         (package--add-to-archive-contents): Adjust to new
5320         package-archive-contents format.
5321         (package-download-transaction): Arg is now a list of package-descs.
5322         (package-install): If `pkg' is a package name, pass it as
5323         a requirement, so it is subject to the usual (e.g. disabled) checks.
5324         (describe-package): Accept package-desc as well.
5325         (describe-package-1): Describe a specific package-desc.  Add links to
5326         other package-descs for the same package name.
5327         (package-menu-describe-package): Pass the actual package-desc.
5328         (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5329         works correctly.
5330         (package-desc-status): New function.
5331         (package-menu--refresh): New function, extracted
5332         from package-menu--generate.
5333         (package-menu--generate): Use it.
5334         (package-delete): Update package-alist.
5335         (package-menu-execute): Don't call package-initialize.
5337         * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5338         progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5339         progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5340         progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5341         progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5342         emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5344 2013-06-25  Martin Rudalics  <rudalics@gmx.at>
5346         * window.el (window--state-get-1): Workaround for bug#14527.
5347         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5349 2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5351         * net/eww.el (eww-back-url): Implement the history by stashing all
5352         the data into a list.
5353         (eww-forward-url): Allow going forward in the history, too.
5355 2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
5357         * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5358         for values and use read--expression for expressions (bug#14710).
5359         (read-file-local-variable): Avoid setq.
5360         (read-file-local-variable-mode): Use minor-mode-list.
5362 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5364         * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5365         for DOI URLs.
5367 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
5369         * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5370         Update imenu-support when dialect changes.
5372 2013-06-25  Leo Liu  <sdl.web@gmail.com>
5374         * ido.el (ido-read-internal): Allow forward slash on windows.
5376 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5378         * net/eww.el (eww): Start of strings is \\`, not ^.
5380 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
5382         * net/shr.el (shr-browse-url): Fix interactive spec.
5384         * net/eww.el (eww): Add a trailing slash to domain names.
5386 2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
5388         * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5390 2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5392         * net/shr.el (shr-browse-url): Use an external browser if given a
5393         prefix.
5395         * net/eww.el (eww-external-browser): Move to shr.
5397 2013-06-24  Ivan Kanis  <ivan@kanis.fr>
5399         * net/eww.el (eww): Work more correctly for file: URLs.
5400         (eww-detect-charset): Allow quoted charsets.
5401         (eww-yank-page-url): New command and keystroke.
5403 2013-06-24  Daiki Ueno  <ueno@gnu.org>
5405         * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5406         file name of gpg executable.
5407         (epg-context-program): New function.
5408         (epg-context-home-directory): New function.
5409         (epg-context-set-program): New function.
5410         (epg-context-set-home-directory): New function.
5411         (epg--start): Use `epg-context-program' instead of
5412         'epg-gpg-program'.
5413         (epg--list-keys-1): Likewise.
5415 2013-06-24  Leo Liu  <sdl.web@gmail.com>
5417         * ido.el (ido-read-internal): Fix bug#14620.
5419 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
5421         * faces.el (face-documentation): Simplify.
5422         (read-face-attribute, tty-find-type, x-resolve-font-name):
5423         Use `string-match-p'.
5424         (list-faces-display): Use `string-match-p'.  Simplify.
5425         (face-spec-recalc): Check face to avoid face alias loops.
5426         (read-color): Use `string-match-p' and non-capturing parenthesis.
5428 2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5430         * net/shr.el (shr-rescale-image): Use the new
5431         :max-width/:max-height functionality.
5433 2013-06-23  Ivan Kanis  <ivan@kanis.fr>
5435         * net/eww.el (eww-search-prefix): New variable.
5436         (eww): Use it.
5437         (eww-external-browser): New variable.
5438         (eww-mode-map): New keystroke.
5439         (eww-browse-with-external-browser): New command.
5441         * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5443 2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
5445         * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5446         Don't skip aligning the next header field when padding is 0;
5447         otherwise, field width is not respected unless the title is as
5448         wide as the field.
5450 2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
5452         * emacs-lisp/package.el (package-el-version): Remove.
5453         (package-process-define-package): Fix inf-loop.
5454         (package-install): Allow symbols as arguments again.
5456 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
5458         * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5459         add some more keyword-like methods.
5460         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5462 2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
5464         * bs.el (bs-buffer-show-mark): Make defvar-local.
5465         (bs-mode): Use setq-local.
5467         * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5468         (emacs-lock--try-unlocking): Make defvar-local.
5470 2013-06-22  Glenn Morris  <rgm@gnu.org>
5472         * play/cookie1.el (cookie-apropos): Minor simplification.
5474         * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5476 2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
5478         * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5479         `regexp-opt', it breaks the build during dumping.
5481 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
5483         * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5484         Highlight keyword-like methods on Kernel and Module with
5485         font-lock-builtin-face.
5486         (auto-mode-alist): Consolidate different entries into one regexp
5487         and add more *file-s.
5489 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
5491         * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5493         * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5494         (diary-entry): Use it in the action of this button type instead of
5495         diary-goto-entry.
5497         * calendar/todo-mode.el: New version.
5498         (todo-add-category): Append new category to end of file and give
5499         it the highest number, instead of putting it at the beginning and
5500         giving it 0.  Incorporate noninteractive functionality.
5501         (todo-forward-category): Adapt to 1-based category numbering.
5502         Allow skipping over archived categories.
5503         (todo-backward-category): Derive from todo-forward-category.
5504         (todo-backward-item, todo-forward-item): Make noninteractive and
5505         delegate interactive part to new commands.  Make sensitive to done items.
5506         (todo-categories): Make value an alist of category names and
5507         vectors of item counts.
5508         (todo-category-beg): Make a defconst.
5509         (todo-category-number): Use 1 instead of 0 as initial value.
5510         (todo-category-select): Make sensitive to overlays, optional item
5511         highlighting and done items.
5512         (todo-delete-item): Make sensitive to overlays and marked and done items.
5513         (todo-edit-item): Make sensitive to overlays and editing of
5514         date/time header optional.  Add format checks.
5515         (todo-edit-multiline): Rename to todo-edit-multiline-item.  Make a
5516         no-op if point is not on an item.  Advertise using todo-edit-quit.
5517         (todo-edit-mode): Make sensitive to new format, font-locking, and
5518         multiple todo files.
5519         (todo-insert-item, todo-insert-item-here): Derive from
5520         todo-basic-insert-item and extend functionality.
5521         (todo-item-end, todo-item-start): Make sensitive to done items.
5522         (todo-item-string): Don't return text properties.  Restore point.
5523         (todo-jump-to-category): Make sensitive to multiple todo files and
5524         todo archives.  Use extended category completion.
5525         (todo-lower-item, todo-raise-item): Rename to *-priority and
5526         derive from todo-set-item-priority.
5527         (todo-mode): Derive from special-mode.  Make sensitive to new
5528         format, font-locking and multiple todo files.  Make read-only.
5529         (todo-mode-map): Don't suppress digit keys, so they can supply
5530         prefix arguments.  Add many new key bindings.
5531         (todo-prefix): Insert as an overlay instead of file text.
5532         Change semantics from diary date expression to purely visual mark.
5533         (todo-print): Rename to todo-print-buffer.  Make buffer display
5534         features printable.  Remove option to restrict number of items
5535         printed.  Add option to print to file.
5536         (todo-print-function): Rename to todo-print-buffer-function.
5537         (todo-quit): Extend to handle exiting new todo modes.
5538         (todo-remove-item): Make sensitive to overlays.
5539         (todo-save): Extend to buffers of filtered items.
5540         (todo-show): Make sensitive to done items, multiple todo files and
5541         new todo modes.  Offer to convert legacy todo file before creating
5542         first new todo file.
5543         (todo-show-priorities): Rename to todo-top-priorities.
5544         Change semantics of value 0.
5545         (todo-top-priorities): Rename to todo-filter-top-priorities,
5546         derive from todo-filter-items and extend functionality.
5547         (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5548         and extend functionality to other types of filtered items.
5549         (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5550         (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5551         (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5552         (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5553         (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5554         (todo-edit-mode-hook, todo-entry-prefix-function)
5555         (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5556         (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5557         (todo-initials, todo-insert-threshold, todo-item-string-start)
5558         (todo-line-string, todo-menu, todo-mode-hook)
5559         (todo-more-important-p, todo-previous-answer, todo-previous-line)
5560         (todo-print-priorities, todo-remove-separator)
5561         (todo-save-top-priorities-too, todo-string-count-lines)
5562         (todo-string-multiline-p, todo-time-string-format)
5563         (todo-tmp-buffer-name): Remove.
5564         (todo-add-file, todo-archive-done-item, todo-choose-archive)
5565         (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5566         (todo-edit-category-diary-inclusion)
5567         (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5568         (todo-edit-file, todo-edit-item-date-day)
5569         (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5570         (todo-edit-item-date-month, todo-edit-item-date-to-today)
5571         (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5572         (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5573         (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5574         (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5575         (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5576         (todo-filter-top-priorities-multifile, todo-find-archive)
5577         (todo-find-filtered-items-file, todo-go-to-source-item)
5578         (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5579         (todo-jump-to-archive-category, todo-lower-category)
5580         (todo-mark-category, todo-marked-item-p, todo-merge-category)
5581         (todo-move-category, todo-move-item, todo-next-button)
5582         (todo-next-item, todo-padded-string, todo-powerset)
5583         (todo-previous-button, todo-previous-item)
5584         (todo-print-buffer-to-file, todo-raise-category)
5585         (todo-rename-category, todo-repair-categories-sexp, todo-search)
5586         (todo-set-category-number, todo-set-item-priority)
5587         (todo-set-top-priorities-in-category)
5588         (todo-set-top-priorities-in-file, todo-show-categories-table)
5589         (todo-sort-categories-alphabetically-or-numerically)
5590         (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5591         (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5592         (todo-toggle-item-header, todo-toggle-item-highlighting)
5593         (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5594         (todo-toggle-view-done-items, todo-toggle-view-done-only)
5595         (todo-unarchive-items, todo-unmark-category): New commands.
5596         (todo-absolute-file-name, todo-add-to-buffer-list)
5597         (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5598         (todo-basic-insert-item, todo-category-completions)
5599         (todo-category-number, todo-category-string-matcher-1)
5600         (todo-category-string-matcher-2, todo-check-filtered-items-file)
5601         (todo-check-format, todo-clear-matches)
5602         (todo-comment-string-matcher, todo-convert-legacy-date-time)
5603         (todo-current-category, todo-date-string-matcher)
5604         (todo-define-insertion-command, todo-diary-expired-matcher)
5605         (todo-diary-goto-entry, todo-diary-item-p)
5606         (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5607         (todo-display-categories, todo-display-sorted, todo-done-item-p)
5608         (todo-done-item-section-p, todo-done-separator)
5609         (todo-done-string-matcher, todo-files, todo-filter-items)
5610         (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5611         (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5612         (todo-insert-category-line, todo-insert-item-from-calendar)
5613         (todo-insert-sort-button, todo-insert-with-overlays)
5614         (todo-insertion-command-name, todo-insertion-key-bindings)
5615         (todo-label-to-key, todo-longest-category-name-length)
5616         (todo-make-categories-list, todo-mode-external-set)
5617         (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5618         (todo-modes-set-3, todo-multiple-filter-files)
5619         (todo-nondiary-marker-matcher, todo-prefix-overlays)
5620         (todo-read-category, todo-read-date, todo-read-dayname)
5621         (todo-read-file-name, todo-read-time)
5622         (todo-reevaluate-category-completions-files-defcustom)
5623         (todo-reevaluate-default-file-defcustom)
5624         (todo-reevaluate-filelist-defcustoms)
5625         (todo-reevaluate-filter-files-defcustom)
5626         (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5627         (todo-reset-done-separator, todo-reset-done-separator-string)
5628         (todo-reset-done-string, todo-reset-global-current-todo-file)
5629         (todo-reset-highlight-item, todo-reset-nondiary-marker)
5630         (todo-reset-prefix, todo-set-categories)
5631         (todo-set-date-from-calendar, todo-set-show-current-file)
5632         (todo-set-top-priorities, todo-short-file-name)
5633         (todo-show-current-file, todo-sort, todo-time-string-matcher)
5634         (todo-total-item-counts, todo-update-buffer-list)
5635         (todo-update-categories-display, todo-update-categories-sexp)
5636         (todo-update-count, todo-validate-name, todo-y-or-n-p):
5637         New functions.
5638         (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5639         New major modes.
5640         (todo-categories, todo-display, todo-edit, todo-faces)
5641         (todo-filtered): New defgroups.
5642         (todo-archived-only, todo-button, todo-category-string, todo-date)
5643         (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5644         (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5645         (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5646         (todo-add-item-if-new-category, todo-always-add-time-string)
5647         (todo-categories-align, todo-categories-archived-label)
5648         (todo-categories-category-label, todo-categories-diary-label)
5649         (todo-categories-done-label, todo-categories-number-separator)
5650         (todo-categories-todo-label, todo-categories-totals-label)
5651         (todo-category-completions-files, todo-completion-ignore-case)
5652         (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5653         (todo-done-separator-string, todo-done-string)
5654         (todo-files-function, todo-filter-done-items, todo-filter-files)
5655         (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5656         (todo-initial-category, todo-initial-file, todo-item-mark)
5657         (todo-legacy-date-time-regexp, todo-mode-line-function)
5658         (todo-nondiary-marker, todo-number-prefix)
5659         (todo-print-buffer-function, todo-show-current-file)
5660         (todo-show-done-only, todo-show-first, todo-show-with-done)
5661         (todo-skip-archived-categories, todo-top-priorities-overrides)
5662         (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5663         (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5664         New defcustoms.
5665         (todo-category-done, todo-date-pattern, todo-date-string-start)
5666         (todo-diary-items-buffer, todo-done-string-start)
5667         (todo-filtered-items-buffer, todo-item-start)
5668         (todo-month-abbrev-array, todo-month-name-array)
5669         (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5670         (todo-top-priorities-buffer): New defconsts.
5671         (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5672         (todo-categories-with-marks, todo-category-string-face)
5673         (todo-comment-face, todo-comment-string, todo-current-todo-file)
5674         (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5675         (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5676         (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5677         (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5678         (todo-font-lock-keywords, todo-global-current-todo-file)
5679         (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5680         (todo-insertion-commands-args)
5681         (todo-insertion-commands-args-genlist)
5682         (todo-insertion-commands-names, todo-insertion-map)
5683         (todo-key-bindings-t, todo-key-bindings-t+a)
5684         (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5685         (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5686         (todo-nondiary-face, todo-print-buffer, todo-time-face)
5687         (todo-visited): New variables.
5689 2013-06-21  Glenn Morris  <rgm@gnu.org>
5691         * play/cookie1.el (cookie-apropos): Add optional display argument.
5692         * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5693         (psychoanalyze-pinhead): Use cookie-doctor.
5695 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
5697         * emacs-lisp/package.el (tar-get-file-descriptor)
5698         (tar--extract): Declare.
5700 2013-06-21  Eduard Wiebe  <usenet@pusto.de>
5702         Extend flymake's warning predicate to be a function (bug#14217).
5703         * progmodes/flymake.el (flymake-warning-predicate): New.
5704         (flymake-parse-line): Use it.
5705         (flymake-warning-re): Make obsolete alias to
5706         `flymake-warning-predicate'.
5708 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5710         * emacs-lisp/package.el (package-alist): Include obsolete packages.
5711         (package-obsolete-list): Remove.
5712         (package-activate): Remove min-version argument.  Add `force' argument.
5713         Adjust to new package-alist format.
5714         (package-mark-obsolete): Remove.
5715         (package-unpack): Force reload of the package's autoloads.
5716         (package-installed-p): Check builtins if the installed package is not
5717         recent enough.
5718         (package-initialize): Don't reset package-obsolete-list.
5719         Don't specify which package version to activate.
5720         (package-process-define-package, describe-package-1)
5721         (package-menu--generate): Adjust to new package-alist format.
5723 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
5725         * allout-widgets.el (allout-widgets-mode-off)
5726         (allout-widgets-mode-on, allout-widgets-pre-command-business)
5727         (allout-widgets-post-command-business)
5728         (allout-widgets-after-copy-or-kill-function)
5729         (allout-widgets-after-undo-function, allout-test-range-overlaps)
5730         (allout-decorate-item-and-context)
5731         (allout-graphics-modification-handler): Fix typos in docstrings.
5732         (allout-get-or-create-parent-widget): Use `looking-at-p'.
5734         * cmuscheme.el (scheme-start-file): Doc fix.
5735         (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5736         (scheme-input-filter): Use `string-match-p'.
5738         * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5740         * dired-x.el: Use Dired consistently in docstrings.
5742         * dired.el: Use Dired consistently in docstrings.
5743         (dired-readin, dired-mode): Use `setq-local'.
5744         (dired-switches-alist): Make defvar-local.
5745         (dired-buffers-for-dir): Use `zerop'.
5746         (dired-safe-switches-p, dired-switches-escape-p)
5747         (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5748         (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5749         (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5750         (dired-goto-next-nontrivial-file): Use `string-match-p'.
5751         (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5752         (dired-toggle-marks, dired-mark-files-containing-regexp)
5753         (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5754         (dired-flag-auto-save-files, dired-flag-backup-files):
5755         Use `looking-at-p'.
5756         (dired-mark-files-regexp, dired-build-subdir-alist):
5757         Use `string-match-p', `looking-at-p'.
5759         * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5760         (direct-print-region-helper): Use `string-match-p'.
5762 2013-06-21  Leo Liu  <sdl.web@gmail.com>
5764         * comint.el (comint-redirect-results-list-from-process):
5765         Fix infinite loop.
5767 2013-06-21  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5769         * net/eww.el (eww-update-header-line-format): Quote % characters.
5771 2013-06-21  Glenn Morris  <rgm@gnu.org>
5773         * play/cookie1.el (cookie): New custom group.
5774         (cookie-file): New option.
5775         (cookie-check-file): New function.
5776         (cookie): Make it interactive.  Make start and end messages optional.
5777         Interactively, display the result.  Default to cookie-file.
5778         (cookie-insert): Default to cookie-file.
5779         (cookie-snarf): Make start and end messages optional.
5780         Default to cookie-file.  Use with-temp-buffer.
5781         (cookie-read): Rename from read-cookie.
5782         Make start and end messages optional.  Default to cookie-file.
5783         (cookie-shuffle-vector): Rename from shuffle-vector.  Use dotimes.
5784         Do not autoload it.
5785         (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5786         * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5788 2013-06-21  Leo Liu  <sdl.web@gmail.com>
5790         * progmodes/octave.el (octave-mode): Backward compatibility fix.
5792 2013-06-21  Glenn Morris  <rgm@gnu.org>
5794         * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5796 2013-06-21  Stefan Monnier  <monnier@iro.umontreal.ca>
5797             Daniel Hackney  <dan@haxney.org>
5799         * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5800         Consolidate the single-file vs tarball code.
5801         (package-desc-suffix): New function.
5802         (package-desc-full-name): Don't bother inlining it.
5803         (package-load-descriptor): Return the new package-desc.
5804         (package-mark-obsolete): Remove unused arg `package'.
5805         (package-unpack): Make it work for single files as well.
5806         Make it update package-alist.
5807         (package--make-autoloads-and-stuff): Rename from
5808         package--make-autoloads-and-compile.  Don't compile any more.
5809         (package--compile): New function.
5810         (package-generate-description-file): New function, extracted from
5811         package-unpack-single.
5812         (package-unpack-single): Remove.
5813         (package--with-work-buffer): Add indentation and debugging info.
5814         (package-download-single): Remove.
5815         (package-install-from-archive): Rename from package-download-tar, make
5816         it take a pkg-desc, and make it work for single files as well.
5817         (package-download-transaction): Simplify.
5818         (package-tar-file-info): Remove `file' arg.  Rewrite not to use an
5819         external tar program.
5820         (package-install-from-buffer): Remove `pkg-desc' argument.
5821         Use package-tar-file-info for tar-mode buffers.
5822         (package-install-file): Simplify accordingly.
5823         (package-archive-base): Change to take a pkg-desc.
5824         * tar-mode.el (tar--check-descriptor): New function, extracted from
5825         tar-get-descriptor.
5826         (tar-get-descriptor): Use it.
5827         (tar-get-file-descriptor): New function.
5828         (tar--extract): New function, extracted from tar-extract.
5829         (tar--extract): Use it.
5830         * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5831         case the summary uses non-ascii.  Adjust to new calling convention of
5832         package-tar-file-info.
5834 2013-06-21  Leo Liu  <sdl.web@gmail.com>
5836         * comint.el (comint-redirect-results-list-from-process):
5837         Fix random delay.  (Bug#14681)
5839 2013-06-21  Juanma Barranquero  <lekktu@gmail.com>
5841         * profiler.el (profiler-format-number): Use log, not log10.
5843 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5845         * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5847 2013-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
5849         * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5850         * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5851         yet available.
5852         * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5853         (AUTOGENEL): ... here.
5854         * emacs-lisp/cl-macs.el (cl--sublis): New function.
5855         (cl--defsubst-expand): Use it.
5857 2013-06-20  Paul Eggert  <eggert@cs.ucla.edu>
5859         * subr.el (log10): Move here from C code, and declare as obsolete.
5860         All uses of (log10 X) replaced with (log X 10).
5862 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5864         * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5865         Declare with `defvar-local'.
5866         (tabulated-list-use-header-line, tabulated-list-entries)
5867         (tabulated-list-padding, tabulated-list-printer)
5868         (tabulated-list-sort-key): Declare with `defvar-local'.
5869         (tabulated-list-init-header, tabulated-list-print-fake-header):
5870         Use `setq-local'.
5872 2013-06-20  Michael Albinus  <michael.albinus@gmx.de>
5874         * arc-mode.el (archive-mode): Add `archive-write-file' to
5875         `write-contents-functions' also for remote files.  (Bug#14652)
5877 2013-06-20  Juanma Barranquero  <lekktu@gmail.com>
5879         * cus-edit.el (custom-commands): Fix typos.
5880         (custom-display): Fix tooltip text.
5881         (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5882         Fix typos in docstrings.
5883         (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5884         (custom-unlispify-menu-entry, custom-magic-value-create)
5885         (custom-add-see-also, custom-group-value-create): Use ?\s.
5886         (custom-guess-type, customize-apropos, editable-field)
5887         (custom-face-value-create): Use `string-match-p'.
5888         (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5890         * custom.el (custom-load-symbol): Use `string-match-p'.
5892         * ansi-color.el: Convert to lexical binding.
5893         (ansi-colors): Fix URL.
5894         (ansi-color-context, ansi-color-context-region): Use defvar-local.
5895         (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5896         (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5898 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5900         * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5902         * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5904 2013-06-19  Tom Tromey  <tromey@redhat.com>
5906         * net/eww.el (eww-top-url): Remove.
5907         (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5908         (eww-render): Set new variables.  Don't set eww-top-url.
5909         (eww-handle-link): Handle "prev", "home", and "contents".
5910         Downcase the rel text.
5911         (eww-top-url): Choose best top URL.
5913 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5915         * net/eww.el: Rewrite to implement form elements "by hand" instead of
5916         relying in widget.el.  Using widget.el leads to too many
5917         user interface inconsistencies.
5918         (eww-self-insert): Implement entering commands in text fields.
5919         (eww-process-text-input): New function to make text input field editing
5920         work.
5921         (eww-submit): Rewrite to use the new-style form methods.
5922         (eww-select-display): Display the correct selected item.
5923         (eww-change-select): Implement changing the select value.
5924         (eww-toggle-checkbox): Implement radio/checkboxes.
5925         (eww-update-field): Fix compilation error.
5926         (eww-tag-textarea): Implement <textarea>.
5928         * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5929         we don't shadow mode-specific bindings.
5931         * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5932         nothing to push.
5934         * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5936 2013-06-19  Glenn Morris  <rgm@gnu.org>
5938         * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5940 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
5942         * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5943         not needed.
5945         * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5947 2013-06-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5949         * net/browse-url.el (browse-url-browser-function):
5950         `eww-browse-url' has the right calling signature, `eww' does not.
5952 2013-06-19  Glenn Morris  <rgm@gnu.org>
5954         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5955         Only eval autoloaded macros.
5956         (byte-compile-autoload): Only give the macro warning for macros.
5958         * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5959         (ps-underlined-faces): Declare.
5961         * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5962         (speedbar-add-supported-extension): Declare.
5964         * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5965         Don't include a date stamp in the header of the generated file;
5966         it leads to needless differences between output files.
5968 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
5970         * net/secrets.el (secrets-struct-secret-content-type):
5971         Replace check of introspection data by a test call of "CreateItem".
5972         Some servers do not offer introspection.
5974 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
5976         * electric.el (electric-pair-mode): Improve interaction with
5977         electric-layout-mode.
5978         (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5979         (electric-pair-syntax): Use text-mode-syntax-table in comments
5980         and strings.
5981         (electric-pair--insert): New function.
5982         (electric-pair-post-self-insert-function): Use it and
5983         electric--after-char-pos.
5985 2013-06-19  Leo Liu  <sdl.web@gmail.com>
5987         * progmodes/octave.el (octave-help): Fix regexp.
5989 2013-06-18  Lars Magne Ingebrigtsen  <larsi@gnus.org>
5991         * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5992         (shr-table-horizontal-line): Allow nil as a value, and change the
5993         default.
5994         (shr-insert-table-ruler): Respect the nil value.
5996 2013-06-18  Tom Tromey  <tromey@barimba>
5998         * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5999         New defvars.
6000         (eww-open-file): New defun.
6001         (eww-render): Initialize new variables.
6002         (eww-display-html): Handle "link" and "a".
6003         (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6004         (eww-mode-map): Move "p" to "l".  Bind "p", "n", "t", and "u".
6005         (eww-back-url): Rename from eww-previous-url.
6006         (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6007         New defuns.
6009 2013-06-18  Dmitry Gutov  <dgutov@yandex.ru>
6011         * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6012         Distinguish ternary operator tokens from slash symbol and slash
6013         char literal.
6015 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
6017         Convert symbol prettification into minor mode and global minor mode.
6019         * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6020         `prog-prettify-symbols', and make a local defvar instead of defcustom.
6021         (prettify-symbols--keywords): Rename from
6022         `prog-prettify-symbols-alist' and make a local defvar.
6023         (prettify-symbols--compose-symbol): Rename from
6024         `prog--prettify-font-lock-compose-symbol'.
6025         (prettify-symbols--make-keywords): Rename from
6026         `prog-prettify-font-lock-symbols-keywords' and simplify.
6027         (prog-prettify-install): Remove.
6028         (prettify-symbols-mode): New minor mode, based on
6029         `prog-prettify-install'.
6030         (turn-on-prettify-symbols-mode): New function.
6031         (global-prettify-symbols-mode): New globalized minor mode.
6033         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6034         * progmodes/cfengine.el (cfengine3-mode):
6035         * progmodes/perl-mode.el (perl-mode): Don't call
6036         `prog-prettify-install'; set `prettify-symbols-alist' instead.
6038 2013-06-18  Juri Linkov  <juri@jurta.org>
6040         * files-x.el (modify-file-local-variable-message): New function.
6041         (modify-file-local-variable)
6042         (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6043         and call `modify-file-local-variable-message' when it's non-nil.
6044         (add-file-local-variable, delete-file-local-variable)
6045         (add-file-local-variable-prop-line)
6046         (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6047         and use it.  (Bug#9820)
6049 2013-06-18  Juri Linkov  <juri@jurta.org>
6051         * emulation/vi.el (vi-shell-op):
6052         * emulation/vip.el (vip-execute-com, ex-command):
6053         * emulation/viper-cmd.el (viper-exec-bang):
6054         * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6055         the call of `shell-command-on-region'.  (Bug#14637)
6057         * simple.el (shell-command-on-region): Doc fix.
6059 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6061         * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6062         (bug#14633).
6064 2013-06-18  Glenn Morris  <rgm@gnu.org>
6066         * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6068         * newcomment.el (comment-search-forward, comment-search-backward):
6069         Doc fix.  (Bug#14376)
6071 2013-06-18  Juanma Barranquero  <lekktu@gmail.com>
6073         * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6074         (buffer-face-mode-invoke): Doc fix.
6076 2013-06-18  Matthias Meulien  <orontee@gmail.com>
6078         * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6079         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6081 2013-06-18  Glenn Morris  <rgm@gnu.org>
6083         * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6084         Replace obsolete function generic-make-keywords with its expansion.
6086         * progmodes/python.el (ffap-alist): Declare.
6088         * textmodes/reftex.el (bibtex-mode-map): Declare.
6090 2013-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
6092         * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6093         (package-unpack, package-unpack-single): Return the pkg-dir.
6094         (package-download-transaction): Use it to update package-alist.
6096 2013-06-17  Lars Magne Ingebrigtsen  <larsi@gnus.org>
6098         * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6099         possible choice.
6101 2013-06-17  Juri Linkov  <juri@jurta.org>
6103         * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6105 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
6107         * emacs-lisp/package.el (package-load-descriptor):
6108         Remove `with-syntax-table' call, `read' doesn't need it.
6109         http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6111 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
6113         * startup.el (command-line): Expand package name returned by
6114         `package--description-file' (bug#14639).
6116 2013-06-17  Dmitry Gutov  <dgutov@yandex.ru>
6118         * emacs-lisp/package.el (package-load-descriptor): Do not call
6119         `emacs-lisp-mode', just use its syntax table.
6121 2013-06-17  Juanma Barranquero  <lekktu@gmail.com>
6123         * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6124         `font-lock-extra-managed-props' if any prettifying keyword is added.
6125         (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6126         (prog-mode): Use `setq-local'.
6128 2013-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
6130         * international/characters.el (standard-case-table): Set syntax of ?»
6131         and ?« to punctuation.
6133 2013-06-16  Juanma Barranquero  <lekktu@gmail.com>
6135         * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6136         Save relevant match data before calling `syntax-ppss' (bug#14595).
6138 2013-06-15  Juri Linkov  <juri@jurta.org>
6140         * files-x.el (modify-file-local-variable-prop-line): Add local
6141         variables to the end of the existing comment on the first line.
6142         Use `file-auto-mode-skip' to skip interpreter magic line,
6143         and also skip XML declaration.
6145 2013-06-15  Stefan Monnier  <monnier@iro.umontreal.ca>
6147         * startup.el (package--builtin-versions): New var.
6148         (package-subdirectory-regexp): Remove.
6149         (package--description-file): Hard code its value instead.
6151         * emacs-lisp/package.el: Don't activate packages older than builtin.
6152         (package-obsolete-list): Rename from package-obsolete-alist, and make
6153         it into a simple list of package-desc.
6154         (package-strip-version): Remove.
6155         (package-built-in-p): Use package--builtin-versions.
6156         (package-mark-obsolete): Simplify.
6157         (package-process-define-package): Mark it obsolete if older than the
6158         builtin version.
6159         (package-handle-response): Use line-end-position.
6160         (package-read-archive-contents, package--download-one-archive):
6161         Simplify.
6162         (package--add-to-archive-contents): Skip if older than the builtin or
6163         installed version.
6164         (package-menu-describe-package): Fix last change.
6165         (package-list-unversioned): New var.
6166         (package-menu--generate): Use it.
6168         * emacs-lisp/autoload.el: Manage package--builtin-versions.
6169         (autoload--insert-text, autoload--insert-cookie-text): New functions.
6170         (autoload-builtin-package-versions): New variable.
6171         (autoload-generate-file-autoloads): Use them.
6172         Remove the list of autoloaded functions/macros from the
6173         (autoload...) comments.
6175         * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6177 2013-06-15  Eli Zaretskii  <eliz@gnu.org>
6179         * simple.el (line-move-partial): Don't jump to the next screen
6180         line as soon as it becomes visible.  Instead, continue enlarging
6181         the vscroll until the portion of a tall screen line that's left on
6182         display is about the height of the frame's default font.
6183         (Bug#14567)
6185 2013-06-15  Glenn Morris  <rgm@gnu.org>
6187         * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6188         compilation-error-regexp-alist void, or local while let-bound.
6190         * progmodes/make-mode.el (makefile-mode-syntax-table):
6191         Treat "=" as punctuation.  (Bug#14614)
6193 2013-06-15  Juanma Barranquero  <lekktu@gmail.com>
6195         * help-fns.el (describe-variable):
6196         Add extra line for permanent-local variables.
6198 2013-06-15  Simen Heggestøyl  <simenheg@ifi.uio.no>  (tiny change)
6200         * progmodes/scheme.el (scheme-font-lock-keywords-2):
6201         Add export, import, library.  (Bug#9164)
6202         (library): Set indent function.
6204 2013-06-14  Glenn Morris  <rgm@gnu.org>
6206         * term/xterm.el (xterm--query):
6207         Stop after first matching handler.  (Bug#14615)
6209 2013-06-14  Ivan Kanis  <ivan@kanis.fr>
6211         Add support for dired in saveplace.
6212         * dired.el (dired-initial-position-hook): New variable.
6213         (dired-initial-position): Call hook to place cursor position.
6214         * saveplace.el (save-place-to-alist): Add dired position.
6215         (save-place-dired-hook): New function.
6217 2013-06-14  Stefan Monnier  <monnier@iro.umontreal.ca>
6219         * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6220         through a symbol rather than letrec.
6222         * emacs-lisp/package.el: Don't recompute dir.  Use pkg-descs more.
6223         (package-desc): Add `dir' field.
6224         (package-desc-full-name): New function.
6225         (package-load-descriptor): Combine the two arguments.  Don't use `load'.
6226         (package-maybe-load-descriptor): Remove.
6227         (package-load-all-descriptors): Just call package-load-descriptor.
6228         (package--disabled-p): New function.
6229         (package-desc-vers, package-desc-doc): Remove aliases.
6230         (package--dir): Remove function.
6231         (package-activate): Check if a package is disabled.
6232         (package-process-define-package): New function, extracted from
6233         define-package.
6234         (define-package): Turn into a place holder.
6235         (package-unpack-single, package-tar-file-info):
6236         Use package--description-file.
6237         (package-compute-transaction): Use package--disabled-p.
6238         (package-download-transaction): Don't call
6239         package-maybe-load-descriptor since they're all loaded anyway.
6240         (package-install): Change argument to be a pkg-desc.
6241         (package-delete): Use a single pkg-desc argument.
6242         (describe-package-1): Use package-desc-dir instead of package--dir.
6243         Use package-desc property instead of package-symbol.
6244         (package-install-button-action): Adjust accordingly.
6245         (package--push): Rewrite.
6246         (package-menu--print-info): Adjust accordingly.  Change the ID format
6247         to be a pkg-desc.
6248         (package-menu-describe-package, package-menu-get-status)
6249         (package-menu--find-upgrades, package-menu-mark-upgrades)
6250         (package-menu-execute, package-menu--name-predicate):
6251         Adjust accordingly.
6252         * startup.el (package--description-file): New function.
6253         (command-line): Use it.
6254         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6255         Use package-desc-version.
6257         * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6258         (byte-compile-preprocess): Use it.
6259         (byte-compile-file-form-defalias): Try a bit harder to use macros we
6260         can't quite recognize.
6261         (byte-compile-add-to-list): Remove.
6262         * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6263         (cconv-closure-convert): Add assertion.
6265         * emacs-lisp/map-ynp.el: Use lexical-binding.
6266         (map-y-or-n-p): Remove unused vars `tail' and `object'.
6267         Factor out some repeated code.
6269 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6271         * subr.el (with-eval-after-load): New macro.
6272         (eval-after-load): Allow form to be a function.
6273         take advantage of lexical-binding.
6274         (do-after-load-evaluation): Use dolist and adjust to new format.
6275         * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6277 2013-06-13  Juri Linkov  <juri@jurta.org>
6279         * replace.el (perform-replace): Display "symbol " and other search
6280         modes from `isearch-message-prefix' in the *Help* buffer.
6282         * isearch.el (isearch-query-replace): Add " symbol" and other
6283         possible search modes from `isearch-message-prefix' to the prompt.
6284         (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6285         when reading a regexp to collect.
6287 2013-06-13  Juri Linkov  <juri@jurta.org>
6289         * isearch.el (word-search-regexp): Match whitespace if the search
6290         string begins or ends in whitespace.  The LAX arg is applied to
6291         both ends of the search string.  Use `regexp-quote' and explicit
6292         \< and \> instead of \b.  Use \` and \' instead of ^ and $.
6293         (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6294         boundaries are replaced with symbol boundaries, and characters
6295         between symbols match non-word non-symbol syntax.  (Bug#14602)
6297 2013-06-13  Juri Linkov  <juri@jurta.org>
6299         * isearch.el (isearch-del-char): Don't exceed the length of
6300         `isearch-string' by the prefix arg.  (Bug#14563)
6302 2013-06-13  Juri Linkov  <juri@jurta.org>
6304         * isearch.el (isearch-yank-word, isearch-yank-line)
6305         (isearch-char-by-name, isearch-quote-char)
6306         (isearch-printing-char, isearch-process-search-char):
6307         Add optional count prefix arg.  (Bug#14563)
6309         * international/isearch-x.el
6310         (isearch-process-search-multibyte-characters):
6311         Add optional count prefix arg.
6313 2013-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
6315         * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6316         (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6317         lexical-binding.
6319 2013-06-13  Vitalie Spinu  <spinuvit@gmail.com>
6321         * subr.el (set-temporary-overlay-map): Add on-exit argument.
6323 2013-06-13  Glenn Morris  <rgm@gnu.org>
6325         * startup.el (tty-handle-args):
6326         Don't just discard "--" and anything after.  (Bug#14608)
6328         * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6330 2013-06-13  Michael Albinus  <michael.albinus@gmx.de>
6332         Implement changes in Secret Service API.  Make it backward compatible.
6333         * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6334         (secrets-create-item): Use it.  Prefix properties with interface.
6336 2013-06-13  Michael Hoffman  <9qobl2n02@sneakemail.com>  (tiny change)
6338         * term.el (term-suppress-hard-newline): New option.  (Bug#12017)
6339         (term-emulate-terminal): Respect term-suppress-hard-newline.
6341 2013-06-13  E Sabof  <esabof@gmail.com>  (tiny change)
6343         * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6344         Only remove a `thumb-file' overlay.  (Bug#14548)
6346 2013-06-12  Grégoire Jadi  <daimrod@gmail.com>
6348         * mail/reporter.el (reporter-submit-bug-report):
6349         Handle missing package-name.  (Bug#14600)
6351 2013-06-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
6353         * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6354         (reftex-citation-prompt, reftex-default-bibliography)
6355         (reftex-bib-or-thebib, reftex-get-bibfile-list)
6356         (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6357         (reftex-bib-sort-author, reftex-bib-sort-year)
6358         (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6359         (reftex-extract-bib-entries-from-thebibliography)
6360         (reftex-get-bibkey-default, reftex-get-bib-names)
6361         (reftex-parse-bibtex-entry, reftex-get-bib-field)
6362         (reftex-format-bib-entry, reftex-parse-bibitem)
6363         (reftex-format-bibitem, reftex-do-citation)
6364         (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6365         (reftex-restrict-bib-matches, reftex-extract-bib-file)
6366         (reftex-insert-bib-matches, reftex-format-citation)
6367         (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6368         (reftex-create-bibtex-file): Add docstrings, mostly by converting
6369         existing comments into docstrings.
6371 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
6373         * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6375 2013-06-12  Andreas Schwab  <schwab@suse.de>
6377         * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6378         for auto-save files.
6380 2013-06-12  Glenn Morris  <rgm@gnu.org>
6382         * ido.el (ido-delete-ignored-files): Remove.
6383         (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6384         Go back to calling ido-ignore-item-p directly.
6386 2013-06-12  Eyal Lotem  <eyal.lotem@gmail.com>  (tiny change)
6388         * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6390         * ido.el (ido-delete-ignored-files): New function,
6391         split from ido-make-file-list-1.
6392         (ido-wide-find-dirs-or-files): Maybe ignore files.  (Bug#13003)
6393         (ido-make-file-list-1): Use ido-delete-ignored-files.
6395 2013-06-12  Leo Liu  <sdl.web@gmail.com>
6397         * progmodes/octave.el (inferior-octave-startup)
6398         (inferior-octave-completion-table)
6399         (inferior-octave-track-window-width-change)
6400         (octave-eldoc-function-signatures, octave-help)
6401         (octave-find-definition): Use single quoted strings.
6402         (inferior-octave-startup-args): Change default value.
6403         (inferior-octave-startup): Do not hard code "-i" and
6404         "--no-line-editing".
6405         (inferior-octave-resync-dirs): Add optional arg NOERROR.
6406         (inferior-octave-directory-tracker): Use it.
6407         (octave-goto-function-definition): Robustify.
6408         (octave-help): Support highlighting operators in 'See also'.
6409         (octave-find-definition): Find subfunctions only in Octave mode.
6411 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6413         * help-fns.el (help-fns--compiler-macro): If the handler function is
6414         named, then put a link to it.
6415         * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6416         * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6417         (cl-typep): Use it.
6418         (cl-eval-when): Simplify debug spec.
6419         (cl-define-compiler-macro): Use eval-and-compile.  Give a name to the
6420         compiler-macro function instead of setting `compiler-macro-file'.
6422 2013-06-12  Xue Fuqiao  <xfq.free@gmail.com>
6424         * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6425         * vc/vc-hooks.el (vc-stay-local): Doc fix.
6427 2013-06-12  Stefan Monnier  <monnier@iro.umontreal.ca>
6428             Daniel Hackney  <dan@haxney.org>
6430         First part of Daniel Hackney's patch to package.el.
6431         * emacs-lisp/package.el: Use defstruct.
6432         (package-desc): New, main struct.
6433         (package--bi-desc, package--ac-desc): New structs, used to describe the
6434         format in external files.
6435         (package-desc-vers): Replace with package-desc-version accessor.
6436         (package-desc-doc): Replace with package-desc-summary accessor.
6437         (package-activate-1): Remove `package' arg since the pkg-vec now
6438         includes the name.
6439         (define-package): Use package-desc-from-define.
6440         (package-unpack-single): Change file-name arg to be a symbol.
6441         (package--add-to-archive-contents): Use package-desc-create and new
6442         accessor functions to package--ac-desc.
6443         (package-buffer-info, package-tar-file-info): Return a package-desc.
6444         (package-install-from-buffer): Remove `type' argument.  Change pkg-info
6445         arg to be a package-desc.
6446         (package-install-file): Adjust accordingly.  Use \' to match EOS.
6447         (package--from-builtin): New function.
6448         (describe-package-1, package-menu--generate): Use it.
6449         (package--make-autoloads-and-compile): Change name arg to be a symbol.
6450         (package-generate-autoloads): Idem and return the name of the file.
6451         * emacs-lisp/package-x.el (package-upload-buffer-internal):
6452         Change pkg-info arg to be a package-desc.
6453         Use package-make-ac-desc.
6454         (package-upload-file): Use \' to match EOS.
6455         * finder.el (finder-compile-keywords): Use package-make-builtin.
6457 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6459         * vc/vc.el (vc-deduce-fileset): Change error message.
6460         (vc-read-backend): New function.
6461         (vc-next-action): Use it.
6463         * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6465         * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6466         (prolog-font-lock-keywords): Use regexp-opt instead.
6467         Don't manually highlight strings.
6468         (prolog-mode-variables): Simplify comment-start-skip.
6469         (prolog-consult-compile): Use display-buffer.  Remove unused old-filter.
6471         * emacs-lisp/generic.el (generic--normalise-comments)
6472         (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6473         (generic-mode-set-comments): Use them.
6474         (generic-bracket-support): Use setq-local.
6475         (generic-make-keywords-list): Declare obsolete.
6477 2013-06-11  Glenn Morris  <rgm@gnu.org>
6479         * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6480         Prettify after setting font-lock-defaults.  (Bug#14574)
6482 2013-06-11  Juanma Barranquero  <lekktu@gmail.com>
6484         * replace.el (query-replace, occur-read-regexp-defaults-function)
6485         (replace-search):
6486         * subr.el (declare-function, number-sequence, local-set-key)
6487         (substitute-key-definition, locate-user-emacs-file)
6488         (with-silent-modifications, split-string, eval-after-load):
6489         Fix typos, remove unneeded backslashes and reflow some docstrings.
6491 2013-06-11  Stefan Monnier  <monnier@iro.umontreal.ca>
6493         * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6494         default for Elisp files.
6496 2013-06-11  Glenn Morris  <rgm@gnu.org>
6498         * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6499         although define-derived-mode was doing this anyway.  (Bug#14583)
6501 2013-06-10  Juanma Barranquero  <lekktu@gmail.com>
6503         * allout.el (allout-encryption-plaintext-sanitization-regexps):
6504         Fix make-variable-buffer-local call to refer to the correct variable.
6506 2013-06-10  Aidan Gauland  <aidalgol@amuri.net>
6508         * eshell/em-term.el (eshell-visual-commands)
6509         (eshell-visual-subcommands, eshell-visual-options):
6510         Add summary line to docstrings.  Add cross-references.
6512 2013-06-10  Glenn Morris  <rgm@gnu.org>
6514         * epa.el (epa-read-file-name): New function.  (Bug#14510)
6515         (epa-decrypt-file): Make plain-file optional.  Use epa-read-file-name.
6517 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
6519         * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6520         output redirection to be ignored with visual commands.
6522 2013-06-09  Aidan Gauland  <aidalgol@amuri.net>
6524         * eshell/em-term.el (eshell-visual-command-p): New function.
6525         (eshell-term-initialize): Move long lambda to separate function
6526         eshell-visual-command-p.
6527         * eshell/em-dirs.el (eshell-dirs-initialise):
6528         * eshell/em-script.el (eshell-script-initialize):
6529         Add missing #' to lambda.
6531 2013-06-08  Leo Liu  <sdl.web@gmail.com>
6533         * progmodes/octave.el (octave-add-log-current-defun): New function.
6534         (octave-mode): Set add-log-current-defun-function.
6535         (octave-goto-function-definition): Do not move point if not found.
6536         (octave-find-definition): Enhance to try subfunctions first.
6538 2013-06-08  Glenn Morris  <rgm@gnu.org>
6540         * emacs-lisp/bytecomp.el (byte-compile-char-before)
6541         (byte-compile-backward-char, byte-compile-backward-word):
6542         Improve previous change, to handle non-explicit nil.
6544 2013-06-07  Stefan Monnier  <monnier@iro.umontreal.ca>
6546         * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6547         (smie--opener/closer-at-point): New function.
6548         (smie--matching-block-data): Use it.  Don't match from right after an
6549         opener or right before a closer.  Obey smie-blink-matching-inners.
6550         Don't signal a mismatch for repeated inners like "switch..case..case".
6552 2013-06-07  Leo Liu  <sdl.web@gmail.com>
6554         * progmodes/octave.el (octave-mode): Set comment-use-global-state
6555         to t.  (Bug#14303)
6556         (octave-function-header-regexp): Fix.  (Bug#14570)
6557         (octave-help-mode-finish-hook, octave-help-mode-finish):
6558         Remove.  Just use temp-buffer-show-hook.
6560         * newcomment.el (comment-search-backward): Revert last change.
6561         (Bug#14434)
6563         * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6565 2013-06-07  Eli Zaretskii  <eliz@gnu.org>
6567         * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6568         through xargs, to avoid failure due to MS-Windows limitations on
6569         command-line length.
6571 2013-06-06  Glenn Morris  <rgm@gnu.org>
6573         * font-lock.el (lisp-font-lock-keywords-2):
6574         Treat user-error like error.
6576         * emacs-lisp/bytecomp.el (byte-compile-char-before)
6577         (byte-compile-backward-char, byte-compile-backward-word):
6578         Handle explicit nil arguments.  (Bug#14565)
6580 2013-06-05  Alan Mackenzie  <acm@muc.de>
6582         * isearch.el (isearch-allow-prefix): New user option.
6583         (isearch-other-meta-char): Don't exit isearch when a prefix
6584         argument is typed whilst `isearch-allow-prefix' is non-nil.
6585         (Bug#9706)
6587 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6589         * autorevert.el (auto-revert-notify-handler): Use memq.
6590         Hide assertion failure.
6592         * skeleton.el: Use cl-lib.
6593         (skeleton-further-elements): Use defvar-local.
6594         (skeleton-insert): Use cl-progv.
6596 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
6598         * progmodes/prog-mode.el (prog-prettify-symbols)
6599         (prog-prettify-install): Update docstrings.
6601 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6603         * simple.el: Move all the prog-mode code to prog-mode.el.
6604         * progmodes/prog-mode.el: New file.
6605         * loadup.el: Add prog-mode.el.
6607 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
6609         * simple.el (prog-prettify-symbols): Add version.
6610         (prog-prettify-install): Add convenience function to prettify symbols.
6612         * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6613         (perl--augmented-font-lock-keywords-1)
6614         (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6615         variables and use it.
6617         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6618         (cfengine3-mode): Remove unneeded variable and use it.
6620         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6621         (lisp--augmented-font-lock-keywords-1)
6622         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6623         Remove unneeded variables and use it.
6625 2013-06-05  João Távora  <joaotavora@gmail.com>
6627         * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6628         to point when opening the connection.  (Bug#14380)
6630 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6632         * subr.el (load-history-regexp, load-history-filename-element)
6633         (eval-after-load, after-load-functions, do-after-load-evaluation)
6634         (eval-next-after-load, display-delayed-warnings)
6635         (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6636         definition of save-match-data.
6637         (overriding-local-map): Remove accidental obsolescence declaration.
6639         * emacs-lisp/edebug.el (edebug-result): Move before first use.
6641 2013-06-05  Teodor Zlatanov  <tzz@lifelogs.com>
6643         Generalize symbol prettify support to prog-mode and implement it
6644         for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6645         * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6646         (prog--prettify-font-lock-compose-symbol)
6647         (prog-prettify-font-lock-symbols-keywords): New variables and
6648         functions to support symbol prettification.
6649         * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6650         (lisp--augmented-font-lock-keywords-1)
6651         (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6652         (lisp--prettify-symbols-alist): Implement prettify of lambda.
6653         * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6654         (cfengine3--prettify-symbols-alist, cfengine3-mode):
6655         Implement prettify of -> => :: strings.
6656         * progmodes/perl-mode.el (perl-prettify-symbols)
6657         (perl--font-lock-compose-symbol)
6658         (perl--font-lock-symbols-keywords): Move to prog-mode.
6659         (perl--prettify-symbols-alist): Prettify -> => :: strings.
6660         (perl-font-lock-keywords-1)
6661         (perl-font-lock-keywords-2): Remove explicit prettify support.
6662         (perl--augmented-font-lock-keywords)
6663         (perl--augmented-font-lock-keywords-1)
6664         (perl--augmented-font-lock-keywords-2, perl-mode):
6665         Implement prettify support.
6667 2013-06-05  Leo Liu  <sdl.web@gmail.com>
6669         Re-implement smie matching block highlight using
6670         show-paren-data-function.  (Bug#14395)
6671         * emacs-lisp/smie.el (smie-matching-block-highlight)
6672         (smie--highlight-matching-block-overlay)
6673         (smie--highlight-matching-block-lastpos)
6674         (smie-highlight-matching-block)
6675         (smie-highlight-matching-block-mode): Remove.
6676         (smie--matching-block-data-cache): New variable.
6677         (smie--matching-block-data): New function.
6678         (smie-setup): Use smie--matching-block-data for
6679         show-paren-data-function.
6681         * progmodes/octave.el (octave-mode-menu): Fix.
6682         (octave-find-definition): Skip garbage lines.
6684 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6686         Fix compilation error with simultaneous dynamic+lexical scoping.
6687         Add warning when a defvar appears after the first let-binding.
6688         * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6689         (byte-compile-close-variables): Initialize it.
6690         (byte-compile--declare-var): New function.
6691         (byte-compile-file-form-defvar)
6692         (byte-compile-file-form-define-abbrev-table)
6693         (byte-compile-file-form-custom-declare-variable): Use it.
6694         (byte-compile-make-lambda-lexenv): Change the argument.  Simplify.
6695         (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6696         (byte-compile-bind): Handle dynamic bindings that shadow
6697         lexical bindings.
6698         (byte-compile-unbind): Make arg non-optional.
6699         (byte-compile-let): Simplify.
6700         * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6701         (cconv--analyse-function, cconv-analyse-form): Populate it.
6702         Protect byte-compile-bound-variables to limit the scope of defvars.
6703         (cconv-analyse-form): Add missing rule for (defvar <foo>).
6704         Remove unneeded rule for `declare'.
6706         * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6707         so as to avoid depending on cl-adjoin at run-time.
6708         * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6710         * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6711         (macroexp--warn-and-return): Use it.
6713 2013-06-05  Stefan Monnier  <monnier@iro.umontreal.ca>
6715         * lisp/subr.el: Convert to lexical binding.
6716         (overriding-local-map): Make obsolete.
6717         (add-to-list): Doc fix.  Add compiler macro.
6718         (read-key): Swap values of local maps.
6720 2013-06-05  Leo Liu  <sdl.web@gmail.com>
6722         * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6724 2013-06-04  Leo Liu  <sdl.web@gmail.com>
6726         * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6727         (compilation-auto-jump): Suppress the "Mark set" message to give
6728         way to exit message.
6730 2013-06-04  Alan Mackenzie  <acm@muc.de>
6732         Remove faulty optimisation from indentation calculation.
6733         * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6734         search limit based on 2000 characters back from indent-point.
6736 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
6738         * eshell/em-term.el (cl-lib): Require `cl-lib'.
6740 2013-06-03  Stefan Monnier  <monnier@iro.umontreal.ca>
6742         * emacs-lisp/lisp.el: Use lexical-binding.
6743         (lisp--local-variables-1, lisp--local-variables): New functions.
6744         (lisp--local-variables-completion-table): New var.
6745         (lisp-completion-at-point): Use it complete let-bound vars.
6747         * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6748         eagerly (bug#14422).
6750 2013-06-03  Michael Albinus  <michael.albinus@gmx.de>
6752         * autorevert.el (auto-revert-notify-enabled)
6753         (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6754         (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6755         (auto-revert-notify-handler): Handle also gfilenotify.
6757         * subr.el (file-notify-handle-event): New defun.  Replacing ...
6758         (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6759         Remove.
6761 2013-06-03  Juri Linkov  <juri@jurta.org>
6763         * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6764         `M-s h .'.  (Bug#14427)
6766         * hi-lock.el (highlight-symbol-at-point): New alias for the new
6767         command `hi-lock-face-symbol-at-point'.
6768         (hi-lock-face-symbol-at-point): New command.
6769         (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6770         (hi-lock-menu): Add `highlight-symbol-at-point'.
6771         (hi-lock-mode): Doc fix.
6773         * isearch.el (isearch-forward-symbol-at-point): New command.
6774         (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6775         (isearch-highlight-regexp): Add a regexp which matches
6776         words/symbols for word/symbol mode.
6778         * subr.el (find-tag-default-bounds): New function with the body
6779         mostly moved from `find-tag-default'.
6780         (find-tag-default): Move most code to `find-tag-default-bounds',
6781         call it and apply `buffer-substring-no-properties' afterwards.
6783 2013-06-03  Tassilo Horn  <tsdh@gnu.org>
6785         * eshell/em-term.el (eshell-term-initialize):
6786         Use `cl-intersection' rather than `intersection'.
6788 2013-06-02  Xue Fuqiao  <xfq.free@gmail.com>
6790         * vc/log-view.el: Doc fix.
6791         (log-view-mode-map): Copy keymap from `special-mode-map'.
6793 2013-06-02  Eric Ludlam  <zappo@gnu.org>
6795         * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6796         (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6797         (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6798         (eieio-unbound, eieio-default-superclass)
6799         (eieio--define-field-accessors, method-static, method-before)
6800         (method-primary, method-after, method-num-lists)
6801         (method-generic-before, method-generic-primary)
6802         (method-generic-after, method-num-slots)
6803         (eieio-specialized-key-to-generic-key)
6804         (eieio--check-type, class-v, class-p)
6805         (eieio-class-name, define-obsolete-function-alias)
6806         (eieio-class-parents-fast, eieio-class-children-fast)
6807         (same-class-fast-p, class-constructor, generic-p)
6808         (generic-primary-only-p, generic-primary-only-one-p)
6809         (class-option-assoc, class-option, eieio-object-p)
6810         (class-abstract-p, class-method-invocation-order)
6811         (eieio-defclass-autoload-map, eieio-defclass-autoload)
6812         (eieio-class-un-autoload, eieio-defclass)
6813         (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6814         (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6815         (eieio--defgeneric-init-form, eieio-defgeneric-form)
6816         (eieio-defgeneric-reset-generic-form)
6817         (eieio-defgeneric-form-primary-only)
6818         (eieio-defgeneric-reset-generic-form-primary-only)
6819         (eieio-defgeneric-form-primary-only-one)
6820         (eieio-defgeneric-reset-generic-form-primary-only-one)
6821         (eieio-unbind-method-implementations)
6822         (eieio--defmethod, eieio--typep)
6823         (eieio-perform-slot-validation, eieio-validate-slot-value)
6824         (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6825         (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6826         (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6827         (eieio-slot-name-index, eieio-class-slot-name-index)
6828         (eieio-set-defaults, eieio-initarg-to-attribute)
6829         (eieio-attribute-to-initarg, eieio-c3-candidate)
6830         (eieio-c3-merge-lists, eieio-class-precedence-c3)
6831         (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6832         (eieio-class-precedence-list, eieio-generic-call-methodname)
6833         (eieio-generic-call-arglst, eieio-generic-call-key)
6834         (eieio-generic-call-next-method-list)
6835         (eieio-pre-method-execution-functions, eieio-generic-call)
6836         (eieio-generic-call-primary-only, eieiomt-method-list)
6837         (eieiomt-optimizing-obarray, eieiomt-install)
6838         (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6839         (eieio-generic-form, eieio-defmethod, make-obsolete)
6840         (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6841         (defclass): Remove `eval-and-compile' from macro.
6842         (call-next-method, shared-initialize): Instead of using
6843         `scoped-class' variable, use new eieio--scoped-class, and
6844         eieio--with-scoped-class.
6845         (initialize-instance): Rename local variable 'scoped-class' to
6846         'this-class' to remove ambiguitity from old global.
6848         * emacs-lisp/eieio-core.el: New file.  Derived from key parts of
6849         eieio.el.
6850         (eieio--scoped-class-stack): New variable.
6851         (eieio--scoped-class): New fcn.
6852         (eieio--with-scoped-class): New scoping macro.
6853         (eieio-defclass): Use pushnew instead of add-to-list.
6854         (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6855         (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6856         (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6857         `scoped-class' variable, use new eieio--scoped-class, and
6858         eieio--with-scoped-class.
6860         * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6862 2013-06-02  Tassilo Horn  <tsdh@gnu.org>
6864         * eshell/esh-ext.el (eshell-external-command): Pass args to
6865         `eshell-find-interpreter'.
6866         (eshell-find-interpreter): Add new second parameter ARGS.
6868         * eshell/em-script.el (eshell-script-initialize): Add second arg
6869         to the function added as MATCH to `eshell-interpreter-alist'.
6871         * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6872         the function added as MATCH to `eshell-interpreter-alist'.
6874         * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6875         (eshell-visual-options): New defcustom.
6876         (eshell-escape-control-x): Adapt docstring.
6877         (eshell-term-initialize): Test `eshell-visual-subcommands' and
6878         `eshell-visual-options' in addition to `eshell-visual-commands'.
6879         (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6881 2013-06-01  Fabián Ezequiel Gallina  <fgallina@gnu.org>
6883         * progmodes/python.el (python-indent-block-enders): Add break,
6884         continue and raise keywords.
6886 2013-06-01  Glenn Morris  <rgm@gnu.org>
6888         * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6890         Plain (f)boundp silences compilation warnings since Emacs 22.1.
6891         * progmodes/cc-cmds.el (delete-forward-p):
6892         * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6893         * progmodes/cc-engine.el (buffer-syntactic-context):
6894         * progmodes/cc-fonts.el (face-property-instance):
6895         * progmodes/cc-mode.el (set-keymap-parents):
6896         * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6897         * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6898         * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6899         * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6900         (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6902         * progmodes/cc-vars.el (other): Emacs has this widget since
6903         at least 21.1, so don't (re)define it.
6905         * eshell/em-cmpl.el (eshell-cmpl-initialize):
6906         Replace the obsolete alias pcomplete-arg-quote-list.
6908 2013-06-01  Leo Liu  <sdl.web@gmail.com>
6910         * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6911         punctuation syntax.
6912         (inferior-octave-minimal-columns)
6913         (inferior-octave-last-column-width): New variables.
6914         (inferior-octave-track-window-width-change): New function.
6915         (inferior-octave-mode): Adjust column width so that Octave output,
6916         for example from 'ls', can fit into the window nicely.
6918 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
6920         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6921         Highlight expansions inside regexp literals.
6923 2013-05-31  Glenn Morris  <rgm@gnu.org>
6925         * obsolete/sym-comp.el (symbol-complete):
6926         Replace obsolete completion-annotate-function.
6928         * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6930 2013-05-31  Dmitry Gutov  <dgutov@yandex.ru>
6932         * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6933         New function, checks if point is inside a literal that allows
6934         expression expansion.
6935         (ruby-syntax-propertize-expansion): Use it.
6936         (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6937         around the body.
6939 2013-05-30  Juri Linkov  <juri@jurta.org>
6941         * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6942         to "\M-si".
6943         (isearch-invisible): New variable.
6944         (isearch-forward): Doc fix.
6945         (isearch-mode): Set `isearch-invisible'
6946         to the value of `search-invisible'.
6947         (isearch-toggle-case-fold): Doc fix.
6948         (isearch-toggle-invisible): New command.
6949         (isearch-query-replace): Let-bind `search-invisible'
6950         to the value of `isearch-invisible'.
6951         (isearch-search): Use `isearch-invisible' instead of
6952         `search-invisible'.  Let-bind `search-invisible'
6953         to the value of `isearch-invisible'.  (Bug#11378)
6955 2013-05-30  Juri Linkov  <juri@jurta.org>
6957         * replace.el (perform-replace): Avoid `isearch-range-invisible'
6958         call when `query-flag' is nil and `search-invisible' is non-nil.
6959         (Bug#11746)
6961 2013-05-30  Glenn Morris  <rgm@gnu.org>
6963         * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6965         * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6966         (cc-require): Suppress spurious "noruntime" warnings.
6967         (cc-require-when-compile): Use fboundp, for sake of compiler.
6969         * progmodes/cc-mode.el: Move load of cc-vars before that of
6970         cc-langs (which in turn loads cc-vars), to quieten compiler.
6972 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6974         * paren.el: Simplify the code.
6975         (show-paren-mode): Always start the timer.
6976         (show-paren--idle-timer): Rename from show-paren-idle-timer.
6977         (show-paren--overlay, show-paren--overlay-1): Rename from
6978         show-paren-overlay and show-paren-overlay-1, and initialize to an
6979         overlay rather than to nil.
6980         (show-paren-function): Misc cleanup and simplifications.
6982 2013-05-30  Stefan Monnier  <monnier@iro.umontreal.ca>
6984         * paren.el (show-paren-data-function): New hook.
6985         (show-paren--default): New function, extracted from show-paren-function.
6986         (show-paren-function): Use show-paren-data-function.
6988 2013-05-30  Glenn Morris  <rgm@gnu.org>
6990         * ielm.el (ielm-map, ielm-complete-symbol):
6991         Use completion-at-point rather than obsolete functions.
6992         (inferior-emacs-lisp-mode): Doc fix.
6993         Set completion-at-point-functions, rather than
6994         comint-dynamic-complete-functions.
6996         * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6997         (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6998         Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7000         * image.el (image-animated-p): Tweak definition.
7002         * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7003         (rlogin-process-connection-type): Tweak default.  Add set-after.
7004         (rlogin-host): Doc fix.
7005         (rlogin): Tweak prompt.
7006         (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7008         * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7009         * progmodes/tcl.el (inferior-tcl-mode-map):
7010         Use completion-at-point rather than obsolete alias.
7012         * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7014         * minibuffer.el (read-file-name-completion-ignore-case):
7015         Move before completion--in-region, for eager macro expansion.
7017 2013-05-29  Juri Linkov  <juri@jurta.org>
7019         * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7020         for total count of matching lines.  Add `global-matches' for total
7021         count of matches.  Rename `matches' to `lines' for count of
7022         matching lines.  Add `matches' for count of matches.
7023         Rename `lines' to `curr-line' for line count.  Rename `prev-lines'
7024         to `prev-line' for line number of prev match endpt.
7025         Increment `matches' for every match.  Print the number of
7026         matching lines in the header.
7027         (occur-context-lines): Rename `lines' to `curr-line'.
7028         Rename `prev-lines' to `prev-line'.  (Bug#14017)
7030 2013-05-29  Juri Linkov  <juri@jurta.org>
7032         * replace.el (perform-replace): Add `skip-read-only-count',
7033         `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7034         Increment them for corresponding conditions and report the number
7035         of skipped occurrences in the final message.  (Bug#11746)
7036         (query-replace, query-replace-regexp, query-replace-regexp-eval)
7037         (replace-string, replace-regexp): Doc fix.
7039 2013-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
7041         * emacs-lisp/trace.el (trace--read-args): Provide a default.
7043         * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7044         prog-mode-map (bug#14504).
7046 2013-05-29  Leo Liu  <sdl.web@gmail.com>
7048         * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7049         (octave-help): Small simplification.
7051         * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7052         off the highlight first.
7054 2013-05-29  Glenn Morris  <rgm@gnu.org>
7056         * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7057         Handle idlwave-last-system-routine-info-cons-cell being nil.
7059         * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7060         (idlwave-write-paths): Simplify via with-temp-buffer.
7062         * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7063         * emulation/cua-rect.el: Also load cua-base at run time.
7065         * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7066         (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7067         (cperl-imenu-on-info): Require imenu.
7069 2013-05-28  Alan Mackenzie  <acm@muc.de>
7071         Handle "capitalised keywords" correctly.
7072         * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7074 2013-05-28  Aidan Gauland  <aidalgol@amuri.net>
7076         * eshell/em-unix.el: Add -r option to cp.
7078 2013-05-28  Glenn Morris  <rgm@gnu.org>
7080         * vc/vc-arch.el (vc-exec-after): Declare.
7081         (vc-switches): Autoload.
7082         * vc/vc-bzr.el: No need to require vc when compiling.
7083         (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7084         (vc-resynch-buffer, vc-dir-refresh): Declare.
7085         (vc-setup-buffer, vc-switches): Autoload.
7086         * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7087         (vc-resynch-buffer): Declare.
7088         (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7089         * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7090         * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7091         (grep-read-regexp, grep-read-files, grep-expand-template)
7092         (vc-dir-refresh): Declare.
7093         (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7094         * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7095         (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7096         * vc/vc-mtn.el (vc-exec-after): Declare.
7097         (vc-switches): Autoload.
7098         * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7099         (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7100         (vc-file-tree-walk): Declare.
7101         * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7102         (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7103         (vc-tag-precondition, vc-rename-master): Autoload.
7104         * vc/vc-svn.el (vc-exec-after): Declare.
7105         (vc-switches, vc-setup-buffer): Autoload.
7106         * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7107         Autoload.
7108         (vc-resynch-buffer): Declare.
7110         * obsolete/fast-lock.el (byte-compile-warnings):
7111         Don't warn about obsolete features in this obsolete file.
7113         * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7114         Move definition before use.
7116         * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7117         (dun-unix-verbs): Remove dun-zippy.
7118         (dun-zippy): Remove function.
7120         * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7122 2013-05-27  Juri Linkov  <juri@jurta.org>
7124         * replace.el (replace-search): New function with code moved out
7125         from `perform-replace'.
7126         (replace-highlight, replace-dehighlight): Move function definitions
7127         up closer to `replace-search'.  (Bug#11746)
7129 2013-05-27  Juri Linkov  <juri@jurta.org>
7131         * replace.el (perform-replace): Ignore invisible matches.
7132         In addition to checking `query-replace-skip-read-only', also
7133         filter out matches by calling `run-hook-with-args-until-failure'
7134         on `isearch-filter-predicates', and also check `search-invisible'
7135         for t or call `isearch-range-invisible'.
7136         (replace-dehighlight): Call `isearch-clean-overlays'.  (Bug#11746)
7138 2013-05-27  Juri Linkov  <juri@jurta.org>
7140         * isearch.el (isearch-filter-predicates): Rename from
7141         `isearch-filter-predicate'.  Doc fix.  (Bug#11378)
7142         (isearch-message-prefix): Display text from the property
7143         `isearch-message-prefix' of the currently active filters.
7144         (isearch-search): Don't compare `isearch-filter-predicate' with
7145         `isearch-filter-visible'.  Call `run-hook-with-args-until-failure'
7146         on `isearch-filter-predicates'.  Also check `search-invisible' for t
7147         or call `isearch-range-invisible'.
7148         (isearch-filter-visible): Make obsolete.
7149         (isearch-lazy-highlight-search):
7150         Call `run-hook-with-args-until-failure' on
7151         `isearch-filter-predicates' and use `isearch-range-invisible'.
7153         * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7154         `isearch-filter-predicates' instead of `funcall'ing
7155         `isearch-filter-predicate'.
7156         (Info-mode): Set `Info-isearch-filter' to
7157         `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7159         * dired-aux.el (dired-isearch-filter-predicate-orig):
7160         Remove variable.
7161         (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7162         (dired-isearch-filenames-end): Add and remove
7163         `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7164         instead of changing the value of `isearch-filter-predicate'.
7165         Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7166         (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7167         Put property `isearch-message-prefix' to "filename " on
7168         `dired-isearch-filter-filenames'.
7170         * wdired.el (wdired-change-to-wdired-mode):
7171         Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7172         locally instead of changing `isearch-filter-predicate'.
7173         (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7175 2013-05-27  Dmitry Gutov  <dgutov@yandex.ru>
7177         * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7178         return the commit hash (Bug#14459).  Also set the
7179         `vc-git-detached' property.
7180         (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7181         (vc-git-mode-line-string): Use the same help-echo format whether
7182         in detached mode or not, because we know the actual revision now.
7183         When in detached mode, shorten the revision to 7 chars.
7185 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7187         * emacs-lisp/easy-mmode.el (define-minor-mode):
7188         * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7189         mode hook and provide a docstring.
7191 2013-05-27  Alan Mackenzie  <acm@muc.de>
7193         Remove spurious syntax-table text properties inserted by C-y.
7194         * progmodes/cc-mode.el (c-after-change): Also clear hard
7195         syntax-table property with value nil.
7197 2013-05-27  Michael Albinus  <michael.albinus@gmx.de>
7199         * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7200         when reading the events; the buffer layout shall not be changed.
7202 2013-05-27  Leo Liu  <sdl.web@gmail.com>
7204         * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7205         New variable.
7206         (inferior-octave-directory-tracker): Automatically re-sync
7207         default-directory.
7208         (octave-help): Improve handling of 'See also'.
7210 2013-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
7212         * doc-view.el: Minor naming convention tweaks.
7213         (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7215         * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7216         even if there's no `display' property yet (bug#14435).
7218 2013-05-25  Eli Zaretskii  <eliz@gnu.org>
7220         * subr.el (unmsys--file-name): Rename from reveal-filename.
7222         * Makefile.in (custom-deps, finder-data, autoloads)
7223         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7224         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7225         ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7227 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7229         * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7230         error-completion on the first 2 args of condition-case (bug#14446).
7231         Don't burp at EOB.
7233 2013-05-25  Leo Liu  <sdl.web@gmail.com>
7235         * comint.el (comint-previous-matching-input): Do not flood the
7236         *Messages* buffer with trivial messages.
7238 2013-05-25  Stefan Monnier  <monnier@iro.umontreal.ca>
7240         * progmodes/flymake.el (flymake-nop): Don't return a string.
7241         (flymake-set-at): Fix typo.
7243         * simple.el (read--expression): New function, extracted from
7244         eval-expression.  Set completion-at-point-functions (bug#14465).
7245         (eval-expression, eval-minibuffer): Use it.
7247 2013-05-25  Xue Fuqiao  <xfq.free@gmail.com>
7249         * progmodes/flymake.el (flymake-save-buffer-in-file)
7250         (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7251         (flymake-selected-frame, flymake-log, flymake-ins-after)
7252         (flymake-set-at, flymake-get-buildfile-from-cache)
7253         (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7254         (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7255         Refine the doc string.
7256         (flymake-get-file-name-mode-and-masks): Reformat.
7257         (flymake-get-real-file-name-function): Fix a minor bug.
7259 2013-05-24  Juri Linkov  <juri@jurta.org>
7261         * progmodes/grep.el (grep-mode-font-lock-keywords):
7262         Support =linenumber= format used by git-grep for lines with
7263         function names.  (Bug#13549)
7265 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7267         * progmodes/octave.el (octave-smie-rules): Return nil rather than
7268         0 after a semi-colon; it works better for smie-auto-fill.
7269         (octave--indent-new-comment-line): New function.
7270         (octave-indent-new-comment-line): Use it (indirectly).
7271         (octave-mode): Don't disable smie-auto-fill.  Use add-function to
7272         modify comment-line-break-function.
7274         * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7275         (smie-setup): Use add-function to set it.
7277 2013-05-24  Sam Steingold  <sds@gnu.org>
7279         * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7280         argument (before the `interactive' argument).
7282 2013-05-24  Stefan Monnier  <monnier@iro.umontreal.ca>
7284         * image-mode.el (image-mode-winprops): Add winprops to
7285         image-mode-winprops-alist before running
7286         image-mode-new-window-functions.
7287         * doc-view.el (doc-view-new-window-function): Don't delay
7288         doc-view-goto-page via timers (bug#14435).
7290 2013-05-24  Tassilo Horn  <tsdh@gnu.org>
7292         * doc-view.el: Integrate with desktop.el.  (Bug#14435)
7293         (doc-view-desktop-save-buffer): New function.
7294         (doc-view-restore-desktop-buffer): New function.
7295         (desktop-buffer-mode-handlers):
7296         Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7297         handler.
7298         (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7299         `desktop-save-buffer' function.
7301 2013-05-24  Michael Albinus  <michael.albinus@gmx.de>
7303         * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7304         (tramp-gvfs-file-name-handler): Raise a user error when
7305         `tramp-gvfs-enabled' is nil.
7306         (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7307         Do not raise a user error when loading package.  (Bug#14447)
7309         * net/xesam.el: Move to obsolete/.
7311 2013-05-24  Glenn Morris  <rgm@gnu.org>
7313         * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7315         * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7317         * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7318         (Info-find-node, Man-getpage-in-background): Declare.
7320         * mail/unrmail.el (unrmail):
7321         Replace obsolete detect-coding-with-priority.
7323         * net/socks.el (socks-split-string): Use this rather than split-string.
7324         (socks-nslookup-host): Update for above change.
7325         (dynamic-choice, s5-dynamic-choice-match)
7326         (s5-dynamic-choice-match-inline, s5-widget-value-create):
7327         Comment out unused code.
7329         * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7330         * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7331         (gud-tooltip-echo-area): Make obsolete.
7332         (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7334         * progmodes/js.el (js--optimize-arglist): Declare.
7336         * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7338         * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7339         (ediff-window-C): Declare.
7341         * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7342         Tweak requires to silence compiler.
7344         * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7345         (he-search-string, he-tried-table, he-expand-list)
7346         (he-init-string, he-string-member, he-substitute-string)
7347         (he-reset-string): Declare.
7349         * obsolete/options.el (list-options): Use custom-variable-p,
7350         rather than obsolete alias.
7352 2013-05-23  Sam Steingold  <sds@gnu.org>
7354         * simple.el (shell-command-on-region): Pass the `replace' argument
7355         down to `call-process-region' to comply with the doc as reported on
7356         <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7358 2013-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
7360         * emacs-lisp/smie.el (smie-indent-forward-token)
7361         (smie-indent-backward-token): Handle string tokens (bug#14381).
7363 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7365         * ielm.el (ielm-menu): New menu.
7366         (inferior-emacs-lisp-mode): Set comment-start.
7368 2013-05-23  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
7370         * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7371         Fix deactivate action.
7373         * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7374         Add cleveref macros.
7376         * lisp/textmodes/reftex-parse.el
7377         (reftex-locate-bibliography-files): Accept options for
7378         bibliography commands.
7379         * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7380         Add addbibresource.  Basic Biblatex support.
7382 2013-05-23  Michael Albinus  <michael.albinus@gmx.de>
7384         * net/tramp-gvfs.el (top):
7385         * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7386         when loading package.  (Bug#14447)
7388 2013-05-23  Glenn Morris  <rgm@gnu.org>
7390         * progmodes/js.el: No need to load comint when compiling.
7391         (ring-insert, comint-send-string, comint-send-input)
7392         (comint-last-input-end, ido-chop): Declare.
7394         * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7395         * vc/ediff-mult.el: Adjust requires.
7396         (ediff-directories-internal, ediff-directory-revisions-internal)
7397         (ediff-patch-file-internal): Declare.
7398         * vc/ediff-ptch.el: Adjust requires.
7399         (ediff-use-last-dir, ediff-buffers-internal): Declare.
7400         (ediff-find-file): Autoload.
7401         * vc/ediff-util.el: No need to load ediff when compiling.
7402         (ediff-regions-internal): Declare.
7403         * vc/ediff-wind.el: Adjust requires.
7404         (ediff-compute-toolbar-width): Define when compiling.
7405         (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7406         * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7407         (dired-get-filename, dired-get-marked-files)
7408         (ediff-last-dir-patch, ediff-patch-default-directory)
7409         (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7410         (ediff-patch-buffer-internal): Declare.
7412         * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7413         (ispell-process, ispell-buffer-local-words, lm-summary)
7414         (lm-section-start, lm-section-end): Declare.
7415         (checkdoc-ispell-init): Simplify.
7417         * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7418         (he-string-member, he-reset-string, he-substitute-string): Declare.
7420         * eshell/em-ls.el: Adjust requires.
7421         (eshell-glob-regexp): Declare.
7422         * eshell/em-tramp.el: Adjust requires.
7423         (eshell-parse-command): Autoload.
7424         * eshell/em-xtra.el: Adjust requires.
7425         (eshell-parse-command): Autoload.
7426         * eshell/esh-ext.el: Adjust requires.
7427         (eshell-parse-command, eshell-close-handles): Autoload.
7428         * eshell/esh-io.el: Adjust requires.
7429         (eshell-output-filter): Autoload.
7430         * eshell/esh-util.el: No need to load tramp when compiling.
7431         (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7432         Declare.
7433         (eshell-parse-ange-ls): Require ange-ftp and tramp.
7434         * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7435         * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7436         * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7437         * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7438         * eshell/esh-opt.el, eshell/esh-proc.el:
7439         * eshell/esh-var.el: Adjust requires.
7440         * eshell/eshell.el: Do not require esh-util twice.
7441         (eshell-add-input-to-history): Declare.
7442         (eshell-command): Check history module is active before using it.
7444         * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7446 2013-05-22  Leo Liu  <sdl.web@gmail.com>
7448         * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7450 2013-05-22  Michael Albinus  <michael.albinus@gmx.de>
7452         * autorevert.el (auto-revert-notify-add-watch)
7453         (auto-revert-notify-handler): Add `attrib' for the inotify case,
7454         it indicates changes in file modification time.
7456 2013-05-22  Glenn Morris  <rgm@gnu.org>
7458         * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7459         Always delete the autoloaded function from the noruntime and
7460         unresolved functions lists.
7462         * allout.el: No need to load epa, epg, overlay when compiling.
7463         (epg-context-set-passphrase-callback, epg-list-keys)
7464         (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7465         (epg-key-user-id-list): Declare.
7467         * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7468         (viper-set-parsing-style-toggling-macro)
7469         (viper-set-emacs-state-searchstyle-macros):
7470         Use called-interactively-p on Emacs.
7471         (viper-looking-back): Make it an obsolete alias.  Update callers.
7472         * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7473         Use looking-back rather than viper-looking-back.
7474         (viper-tmp-insert-at-eob, viper-enlarge-region)
7475         (viper-read-string-with-history, viper-register-to-point)
7476         (viper-append-to-register, viper-change-state-to-vi)
7477         (viper-backward-char-carefully, viper-forward-char-carefully)
7478         (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7479         (viper-change-state-to-emacs): Declare.
7480         * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7481         (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7482         * emulation/viper-mous.el: Do not load viper-cmd.
7483         (viper-backward-char-carefully, viper-forward-char-carefully)
7484         (viper-forward-word, viper-adjust-window): Declare.
7486         * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7488         * progmodes/idlw-help.el (idlwave-help-fontify):
7489         Use called-interactively-p.
7491         * term/w32console.el (w32-get-console-codepage)
7492         (w32-get-console-output-codepage): Declare.
7494         * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7495         Remove unnecessary declarations.
7496         (dframe-message): Doc fix.
7498         * info.el (dframe-select-attached-frame, dframe-current-frame):
7499         Declare.
7501         * speedbar.el (speedbar-message): Make it an obsolete alias.
7502         Update all callers.
7503         (speedbar-with-attached-buffer)
7504         (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7505         (speedbar-with-writable): Use backquote.
7506         * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7507         * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7508         Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7509         rather than speedbar- aliases.
7510         * mail/rmail.el: Load dframe rather than speedbar when compiling.
7511         (speedbar-make-specialized-keymap, speedbar-insert-button)
7512         (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7513         (speedbar-do-function-pointer): Declare.
7514         (rmail-speedbar-button, rmail-speedbar-find-file)
7515         (rmail-speedbar-move-message):
7516         Use dframe-with-attached-buffer rather than speedbar- alias.
7517         * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7518         (dframe-message, speedbar-make-specialized-keymap)
7519         (speedbar-add-expansion-list, speedbar-mode-functions-list)
7520         (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7521         (speedbar-insert-button, dframe-select-attached-frame)
7522         (dframe-maybee-jump-to-attached-frame)
7523         (speedbar-change-initial-expansion-list)
7524         (speedbar-previously-used-expansion-list-name): Declare.
7525         (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7526         Use dframe-message, dframe-with-attached-buffer rather than
7527         speedbar- aliases.
7528         (gud-sentinel): Silence compiler.
7529         * progmodes/vhdl-mode.el (speedbar-refresh)
7530         (speedbar-do-function-pointer, speedbar-add-supported-extension)
7531         (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7532         (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7533         (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7534         (speedbar-file-lists, speedbar-make-tag-line)
7535         (speedbar-line-directory, speedbar-goto-this-file)
7536         (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7537         (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7538         (speedbar-make-button, speedbar-reset-scanners)
7539         (speedbar-files-item-info, speedbar-line-text)
7540         (speedbar-find-file-in-frame, speedbar-set-timer)
7541         (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7542         (speedbar-with-writable): Do not (re)define it.
7543         (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7544         rather than speedbar- alias.
7546 2013-05-21  Leo Liu  <sdl.web@gmail.com>
7548         * progmodes/octave.el (octave-mode-menu): Update and re-organize
7549         menu items.
7550         (octave-mode): Tweak fill-nobreak-predicate.
7551         (inferior-octave-startup): Check process to avoid infinite loop.
7552         (inferior-octave): Pop to buffer first to show abornmal process
7553         exit information.
7555 2013-05-21  Glenn Morris  <rgm@gnu.org>
7557         * printing.el (pr-menu-bar): Define when compiling.
7559 2013-05-21  Leo Liu  <sdl.web@gmail.com>
7561         * progmodes/octave.el (octave-auto-fill): Remove.
7562         (octave-indent-new-comment-line): Improve.
7563         (octave-mode): Use auto fill mode through
7564         comment-line-break-function and fill-nobreak-predicate.
7565         (octave-goto-function-definition): Support DEFUN_DLD.
7566         (octave-beginning-of-defun): Small tweak.
7567         (octave-help): Show parent directory.
7569 2013-05-21  Glenn Morris  <rgm@gnu.org>
7571         * files.el (dired-unmark):
7572         * progmodes/gud.el (gdb-input): Update declarations.
7574         * calculator.el (electric, ehelp): No need to load when compiling.
7575         (Electric-command-loop, electric-describe-mode): Declare.
7577         * doc-view.el (doc-view-current-converter-processes): Move before use.
7579         * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7580         Move MODE-set-explicitly definition before use.
7582         * international/mule-diag.el (mule-diag):
7583         Don't use obsolete window-system-version.
7585         * mail/feedmail.el (smtpmail): No need to load when compiling.
7586         (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7588         * mail/mail-utils.el (rfc822): No need to load when compiling.
7589         (rfc822-addresses): Autoload it.
7590         (mail-strip-quoted-names): Trivial simplification.
7592         * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7593         (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7595         * net/snmp-mode.el (tempo): Don't duplicate requires.
7597         * progmodes/prolog.el (info): No need to load when compiling.
7598         (comint): Require before shell requires it.
7599         (Info-goto-node): Autoload it.
7600         (Info-follow-nearest-node): Declare.
7601         (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7603         * textmodes/artist.el (picture-mode-exit): Declare.
7605         * textmodes/reftex-parse.el (reftex-parse-from-file):
7606         Trivial rewrite so the compiler can parse it better.
7608 2013-05-20  Leo Liu  <sdl.web@gmail.com>
7610         * progmodes/octave.el (octave-help-mode-map)
7611         (octave-help-mode-finish-hook): New variables.
7612         (octave-help-mode, octave-help-mode-finish): New functions.
7613         (octave-help): Use octave-help-mode.
7615 2013-05-20  Glenn Morris  <rgm@gnu.org>
7617         * format-spec.el (format-spec): Allow spec chars with nil.  (Bug#14420)
7619 2013-05-19  Dmitry Gutov  <dgutov@yandex.ru>
7621         * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7622         start at point, so that expansion starting right after opening
7623         slash in a regexp is recognized.
7624         (ruby-syntax-before-regexp-re): New defvar, extracted from
7625         ruby-syntax-propertize-function.  Since the value of this regexp
7626         is looked up at runtime now, we should be able to turn
7627         `ruby-syntax-methods-before-regexp' into a defcustom later.
7628         (ruby-syntax-propertize-function): Split regexp matching into two
7629         parts, for opening and closing slashes.  That allows us to skip
7630         over string interpolations and support multiline regexps.
7631         Don't call `ruby-syntax-propertize-expansions', instead use another rule
7632         for them, which calls `ruby-syntax-propertize-expansion'.
7633         (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7634         call to `ruby-syntax-propertize-function'.
7635         (ruby-syntax-propertize-expansion): Extracted from
7636         `ruby-syntax-propertize-expansions'.  Handles one expansion.
7637         (ruby-syntax-propertize-percent-literal): Leave point right after
7638         the percent symbol, so that the expression expansion rule can
7639         propertize the contents.
7640         (ruby-syntax-propertize-heredoc): Leave point at bol following the
7641         heredoc openers.
7642         (ruby-syntax-propertize-expansions): Remove.
7644 2013-05-18  Juri Linkov  <juri@jurta.org>
7646         * man.el (Man-default-man-entry): Remove `-' from the end
7647         of the default value.  (Bug#14400)
7649 2013-05-18  Glenn Morris  <rgm@gnu.org>
7651         * comint.el (comint-password-prompt-regexp):
7652         Allow "password for XXX" where XXX contains colons (eg https://...).
7654 2013-05-18  Leo Liu  <sdl.web@gmail.com>
7656         * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7657         instead.  Include "--no-gui" to prevent hangs for Octave > 3.7.
7658         (octave-source-directories): Don't check process.
7659         (octave-source-directories, octave-find-definition): Doc fix.
7661 2013-05-18  Glenn Morris  <rgm@gnu.org>
7663         * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7664         Remove backspace/delete bindings.  (Bug#14392)
7666         * cus-dep.el (custom-make-dependencies): Sort the output.
7667         (custom-versions-load-alist): Convert comment to doc.
7669 2013-05-17  Leo Liu  <sdl.web@gmail.com>
7671         * newcomment.el (comment-search-backward): Stricter in finding
7672         comment start.  (Bug#14303)
7674         * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7675         (octave-comment-start-skip): Properly anchored.
7677 2013-05-17  Leo Liu  <sdl.web@gmail.com>
7679         * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7680         Clean up when turned off.  (Bug#14395)
7681         (smie--highlight-matching-block-overlay): No longer buffer-local.
7682         (smie-highlight-matching-block): Adjust.
7684 2013-05-17  Paul Eggert  <eggert@cs.ucla.edu>
7686         Doc string fix for "nanoseconds" (Bug#14406).
7687         * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7688         Fix doc string typo that had "nanoseconds" instead of "microseconds".
7690 2013-05-17  Jay Belanger  <jay.p.belanger@gmail.com>
7692         * calc/calc-units.el (math-extract-units): Preserve powers
7693         of units.
7695 2013-05-17  Leo Liu  <sdl.web@gmail.com>
7697         * subr.el (delete-consecutive-dups): New function.
7698         * ido.el (ido-set-matches-1): Use it.
7699         * progmodes/octave.el (inferior-octave-completion-table): Use it.
7700         * ido.el (ido-remove-consecutive-dups): Remove.
7702 2013-05-17  Stefan Monnier  <monnier@iro.umontreal.ca>
7704         * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7705         (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7706         regexp-opt's `words'.
7708 2013-05-16  Leo Liu  <sdl.web@gmail.com>
7710         * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7711         (smie--highlight-matching-block-overlay)
7712         (smie--highlight-matching-block-lastpos)
7713         (smie--highlight-matching-block-timer): New variables.
7714         (smie-highlight-matching-block): New function.
7715         (smie-highlight-matching-block-mode): New minor mode.  (Bug#14395)
7716         (smie-setup): Conditionally enable smie-blink-matching-open.
7718 2013-05-16  Wilson Snyder  <wsnyder@wsnyder.org>
7720         Sync with upstream verilog-mode r840.
7721         * progmodes/verilog-mode.el (verilog-mode-version)
7722         (verilog-mode-release-date): Update.
7723         (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7724         (verilog-sig-tieoff): Fix string error on
7725         AUTORESET with colon define, bug594.  Reported by Andrew Hou.
7726         (verilog-read-decls): Fix parameters confusing
7727         AUTOINST interfaces, bug565.  Reported by Leith Johnson.
7729 2013-05-16  Eli Zaretskii  <eliz@gnu.org>
7731         * subr.el (reveal-filename): New function.
7733         * loadup.el: Compute Emacs executable versions on MS-Windows,
7734         where executables have the .exe extension.  Add a hard link
7735         emacs-XX.YY.ZZ.exe on MS-Windows.
7737         * Makefile.in (XARGS_LIMIT): New variable.
7738         (custom-deps, finder-data, autoloads)
7739         ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7740         ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7741         ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7742         (compile-main): Limit xargs according to $(XARGS_LIMIT).
7744 2013-05-16  Leo Liu  <sdl.web@gmail.com>
7746         * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7747         (octave-mode-menu, octave-mode-map): Remove its uses.
7749 2013-05-16  Reto Zimmermann  <reto@gnu.org>
7751         Sync with upstream vhdl mode v3.34.2.
7752         * progmodes/vhdl-mode.el: Use `push' throughout.
7753         (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7754         (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7755         Add IBM & Quartus compiler.  Enhance entry for ADVance MS compiler.
7756         (vhdl-actual-generic-name): New option to derive actual generic name.
7757         (vhdl-port-paste-signals): Replace formal by actual generics.
7758         (vhdl-beautify): New name for old group vhdl-align.  Update users.
7759         (vhdl-beautify-options): New option.
7760         (vhdl-last-input-event): New compat alias.  Use throughout.
7761         (vhdl-goto-line): Replace user level function `goto-line'.
7762         (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7763         vhdl-fix-statement-buffer.
7764         (vhdl-create-mode-menu): Add some entries.
7765         (vhdl-align-region-groups): Respect vhdl-beautify-options.
7766         (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7767         (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7768         (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7769         to force statements on one line.
7770         (vhdl-remove-trailing-spaces-region):
7771         New, split from vhdl-remove-trailing-spaces.
7772         (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7773         Respect vhdl-beautify-options.
7774         (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7775         (vhdl-update-sensitivity-list): Not add with index if exists without.
7776         Not include array index with signal.  Ignore keywords in comments.
7777         (vhdl-get-visible-signals): Regexp tweaks.
7778         (vhdl-template-component-inst): Handle empty library.
7779         (vhdl-template-type): Add template for 'enum' type.
7780         (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7781         Use vhdl-replace-string.
7782         (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7783         (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7784         (vhdl-speedbar-initialize): Update for above name change.
7785         (vhdl-compose-wire-components): Fix in handling of constants.
7786         (vhdl-error-regexp-emacs-alist): New variable.
7787         (vhdl-error-regexp-add-emacs): New function;
7788         adds support for new compile.el (Emacs 22+)
7789         (vhdl-generate-makefile-1): Change target order for single lib. units.
7790         Allow use of absolute file names.
7792 2013-05-16  Leo Liu  <sdl.web@gmail.com>
7794         * simple.el (prog-indent-sexp): Indent enclosing defun.
7796 2013-05-15  Glenn Morris  <rgm@gnu.org>
7798         * cus-start.el (show-trailing-whitespace): Move to editing basics.
7799         * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7800         * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7801         (whitespace-highlight): Move to whitespace group.
7803         * comint.el (comint-source):
7804         * pcmpl-linux.el (pcmpl-linux):
7805         * shell.el (shell-faces):
7806         * eshell/esh-opt.el (eshell-opt):
7807         * international/ccl.el (ccl): Remove empty custom groups.
7809         * completion.el (dynamic-completion-mode):
7810         * jit-lock.el (jit-lock-debug-mode):
7811         * minibuffer.el (completion-in-region-mode):
7812         * type-break.el (type-break-mode-line-message-mode)
7813         (type-break-query-mode):
7814         * emulation/tpu-edt.el (tpu-edt-mode):
7815         * progmodes/subword.el (global-subword-mode, global-superword-mode):
7816         * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7817         * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7819         * term/xterm.el (xterm): Change parent group to terminals.
7821         * master.el (master): Remove empty custom group.
7822         (master-mode): Remove unused :group argument.
7823         * textmodes/refill.el (refill): Remove empty custom group.
7824         (refill-mode): Remove unused :group argument.
7826         * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7828         * cus-dep.el: Provide a feature.
7829         (custom-make-dependencies): Ignore dotfiles (dir-locals).
7830         Don't mistakenly ignore files whose basenames match a basename
7831         from preloaded-file-list (eg cedet/ede/simple.el).
7832         Add a fallback method for getting :group.
7834 2013-05-15  Juri Linkov  <juri@jurta.org>
7836         * isearch.el (isearch-char-by-name): Rename from
7837         `isearch-insert-char-by-name'.  Doc fix.
7838         (isearch-forward): Mention `isearch-char-by-name' in
7839         the docstring.  (Bug#13348)
7841         * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7842         `exit-minibuffer' instead of
7843         `isearch-nonincremental-exit-minibuffer'.
7844         (isearch-edit-string): Remove mention of
7845         `isearch-nonincremental-exit-minibuffer' from docstring.
7846         (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7847         (isearch-forward-exit-minibuffer)
7848         (isearch-reverse-exit-minibuffer): Add docstring.  (Bug#13348)
7850 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7852         * loadup.el: Just use unversioned DOC.
7854         * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7855         literals as extending to EOB.
7856         (nxml-last-fontify-end): Remove unused variable.
7857         (nxml-after-change1): Use with-silent-modifications.
7858         (nxml-extend-after-change-region): Simplify.
7859         (nxml-extend-after-change-region1): Remove function.
7860         (nxml-after-change1): Don't adjust for dependent regions.
7861         (nxml-fontify-matcher): Simplify.
7862         * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7863         (xmltok-add-dependent): Remove function.
7864         (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7865         (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7866         (xmltok-scan-prolog-after-processing-instruction-open): Treat
7867         unclosed <[[, <?, comment, and other literals as extending to EOB.
7868         * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7869         (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7870         Remove functions.
7871         (rng-do-some-validation-1): Don't mark dependent regions.
7872         * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7873         (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7874         (nxml-clear-dependent-regions): Remove functions.
7875         (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7876         (nxml-ensure-scan-up-to-date):
7877         Don't clear&mark dependent regions.
7879 2013-05-15  Leo Liu  <sdl.web@gmail.com>
7881         * progmodes/octave.el (octave-goto-function-definition):
7882         Improve and fix callers.
7884 2013-05-15  Stefan Monnier  <monnier@iro.umontreal.ca>
7886         * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7887         the setter (bug#14387).
7889         * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7890         surrounding group (bug#14402).
7892 2013-05-14  Juri Linkov  <juri@jurta.org>
7894         * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7895         (Bug#14390)
7897 2013-05-14  Glenn Morris  <rgm@gnu.org>
7899         * progmodes/f90.el (f90-imenu-generic-expression):
7900         Fix typo in 2013-05-08 change.  (Bug#14402)
7902 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7904         * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7905         Remove signals for which replies are never received.
7907 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7909         * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7910         (gdb-handler-alist, gdb-handler-number): Remove variables.
7911         (gdb-handler-list): New variable.
7912         (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7913         (gdb-pending-handler-p, gdb-handle-reply)
7914         (gdb-remove-all-pending-triggers): New functions.
7915         (gdb-discard-unordered-replies): New defcustom.
7916         (gdb-handler): New defstruct.
7917         (gdb-wait-for-pending): Fix invalid backquote.  Use gdb-handler-list.
7918         instead of gdb-pending-triggers.  Update docstring.
7919         (gdb-init-1): Remove dead variables.  Initialize gdb-handler-list.
7920         (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7921         (gdb-var-update-handler, def-gdb-auto-update-trigger)
7922         (def-gdb-auto-update-handler, gdb-get-changed-registers)
7923         (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7924         (gdb-frame-handler): Pending triggers are now automatically managed.
7925         (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7926         Remove argument.
7927         (gdb-input): Automatically handles pending triggers.  Update docstring.
7928         (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7929         (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7930         Update comments.
7931         (gdb-done-or-error): Now use gdb-handle-reply.
7933 2013-05-14  Jean-Philippe Gravel  <jpgravel@gmail.com>
7935         * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7936         gdb-debug-log.
7938 2013-05-14  Glenn Morris  <rgm@gnu.org>
7940         * subr.el (user-emacs-directory-warning): New option.
7941         (locate-user-emacs-file): Handle non-accessible .emacs.d.  (Bug#13930)
7943 2013-05-14  Leo Liu  <sdl.web@gmail.com>
7945         * progmodes/octave.el (octave-font-lock-keywords): Fix error
7946         during redisplay.
7947         (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7948         (octave-font-lock-texinfo-comment): Fix invalid search bound
7949         error: wrong side of point.
7951 2013-05-14  Glenn Morris  <rgm@gnu.org>
7953         * progmodes/flymake.el (flymake-xml-program): New option.
7954         (flymake-xml-init): Use it.
7956         * term/xterm.el: Provide a feature.
7958         * term/sup-mouse.el: Move to obsolete/.  Provide a feature.
7960 2013-05-13  Glenn Morris  <rgm@gnu.org>
7962         * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7963         Add compat aliases as a hack workaround.  (Bug#14384)
7965 2013-05-13  Leo Liu  <sdl.web@gmail.com>
7967         * progmodes/octave.el (octave-indent-comment): Fix indentation for
7968         ###, and %!.
7969         (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7970         C-M-q.
7971         (octave-comment-start-skip): Include %!.
7972         (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7974 2013-05-12  Leo Liu  <sdl.web@gmail.com>
7976         * progmodes/octave.el (inferior-octave-startup): Store the value
7977         of __octave_srcdir__ for octave-source-directories.
7978         (inferior-octave-check-process): New function refactored out of
7979         inferior-octave-send-list-and-digest.
7980         (octave-source-directories)
7981         (octave-find-definition-filename-function): New variables.
7982         (octave-source-directories)
7983         (octave-find-definition-default-filename): New functions.
7984         (octave-find-definition): Improve to find functions implemented in C++.
7986 2013-05-12  Glenn Morris  <rgm@gnu.org>
7988         * calendar/diary-lib.el (diary-outlook-format-1):
7989         Don't include dayname in the output.  (Bug#14349)
7991 2013-05-11  Glenn Morris  <rgm@gnu.org>
7993         * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7995         * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7996         Treat cc-provide like provide.
7998 2013-05-11  Kevin Ryde  <user42@zip.com.au>
8000         * cus-dep.el (custom-make-dependencies):
8001         Use generated-autoload-load-name for the sake of files such
8002         such cedet/semantic/bovine/c.el, where the base file name
8003         is not in load-path.  (Bug#5277)
8005 2013-05-11  Glenn Morris  <rgm@gnu.org>
8007         * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8008         Provide features.
8010 2013-05-11  Leo Liu  <sdl.web@gmail.com>
8012         * progmodes/octave.el (octave-indent-comment): Improve.
8013         (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8014         (octave-eldoc-function-signatures, octave-eldoc-function):
8015         New functions.
8016         (octave-mode, inferior-octave-mode): Add eldoc support.
8018 2013-05-11  Richard Stallman  <rms@gnu.org>
8020         * epa.el (epa-decrypt-file): Take output file name as argument
8021         and read it using `interactive'.
8023 2013-05-11  Leo Liu  <sdl.web@gmail.com>
8025         * progmodes/octave.el (octave-beginning-of-line)
8026         (octave-end-of-line): Check before using up-list because it jumps
8027         out of more syntactic contructs since moving to smie.
8028         (octave-indent-comment): New function.
8029         (octave-mode): Use it in smie-indent-functions.  (Bug#14350)
8030         (octave-begin-keywords, octave-end-keywords)
8031         (octave-reserved-words, octave-smie-bnf-table)
8032         (octave-smie-rules): Add new keywords from Octave 3.6.4.
8034 2013-05-11  Glenn Morris  <rgm@gnu.org>
8036         * faces.el (internal-face-x-get-resource):
8037         * frame.el (ns-display-monitor-attributes-list):
8038         * calc/calc-aent.el (math-to-radians-2):
8039         * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8040         Fix declarations.
8042         * calc/calc-menu.el: Make it loadable in isolation.
8044         * net/eudcb-bbdb.el: Make it loadable without bbdb.
8045         (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8046         (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8047         (eudc-bbdb-query-internal): Require 'bbdb.
8049         * lpr.el (lpr-headers-switches):
8050         * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8052         * progmodes/sql.el (sql-login-params): Fix and improve :type.
8054         * emulation/edt-mapper.el: In batch mode, error rather than hang.
8056         * term.el (term-set-escape-char): Make it idempotent.
8058 2013-05-10  Leo Liu  <sdl.web@gmail.com>
8060         * progmodes/octave.el (inferior-octave-completion-table):
8061         No longer a function and all uses changed.  Use cache to speed up
8062         completion due to bug#11906.
8063         (octave-beginning-of-defun): Re-write to be more general.
8065 2013-05-10  Glenn Morris  <rgm@gnu.org>
8067         * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8069 2013-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
8071         * comint.el (comint-redirect-send-command-to-process): Use :around
8072         rather than :override for comint-redirect-filter.
8073         (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8074         Call it instead of comint-redirect-original-filter-function (which
8075         is gone).  Reported by Juanma Barranquero <lekktu@gmail.com>.
8077 2013-05-09  Jan Djärv  <jan.h.d@swipnet.se>
8079         * frame.el (display-monitor-attributes-list): Add NS case.
8080         (ns-display-monitor-attributes-list): Declare.
8082 2013-05-09  Ulrich Mueller  <ulm@gentoo.org>
8084         * descr-text.el (describe-char): Fix %d/%x typo.  (Bug#14360)
8086 2013-05-09  Glenn Morris  <rgm@gnu.org>
8088         * international/fontset.el (vertical-centering-font-regexp):
8089         Set standard-value.
8091         * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8093         * bookmark.el (bookmark-search-delay):
8094         * cus-start.el (vertical-centering-font-regexp):
8095         * ps-mule.el (ps-mule-font-info-database-default):
8096         * ps-print.el (ps-default-fg, ps-default-bg):
8097         * type-break.el (type-break-good-break-interval):
8098         * whitespace.el (whitespace-indentation-regexp)
8099         (whitespace-space-after-tab-regexp):
8100         * emacs-lisp/testcover.el (testcover-1value-functions)
8101         (testcover-noreturn-functions, testcover-progn-functions)
8102         (testcover-prog1-functions):
8103         * emulation/viper-init.el (viper-emacs-state-cursor-color):
8104         * eshell/em-glob.el (eshell-glob-translate-alist):
8105         * play/tetris.el (tetris-tty-colors):
8106         * progmodes/cpp.el (cpp-face-default-list):
8107         * progmodes/flymake.el (flymake-allowed-file-name-masks):
8108         * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8109         (idlwave-help-browser-generic-args):
8110         * progmodes/make-mode.el (makefile-special-targets-list):
8111         * progmodes/python.el (python-shell-virtualenv-path):
8112         * progmodes/verilog-mode.el (verilog-active-low-regexp)
8113         (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8114         (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8115         (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8116         * textmodes/reftex-vars.el (reftex-format-label-function):
8117         * textmodes/remember.el (remember-diary-file): Fix custom types.
8119         * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8120         Add :version.
8122 2013-05-09  Leo Liu  <sdl.web@gmail.com>
8124         * progmodes/octave.el (inferior-octave-completion-at-point):
8125         Restore file completion.  (Bug#14300)
8126         (inferior-octave-startup): Fix incorrect highlighting for the
8127         first prompt.
8129 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8131         * progmodes/ruby-mode.el: First cut at SMIE support.
8132         (ruby-use-smie): New var.
8133         (ruby-smie-grammar): New constant.
8134         (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8135         (ruby-smie--forward-token, ruby-smie--backward-token)
8136         (ruby-smie-rules): New functions.
8137         (ruby-mode-variables): Setup SMIE if applicable.
8139 2013-05-08  Eli Zaretskii  <eliz@gnu.org>
8141         * simple.el (line-move-visual): Signal beginning/end of buffer
8142         only if vertical-motion moved less than it was requested.  Avoids
8143         silly incorrect error messages when there are display strings with
8144         multiple newlines at EOL.
8146 2013-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
8148         * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8149         * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8150         (prolog-char-quote-workaround):
8151         * progmodes/cperl-mode.el (cperl-under-as-char):
8152         * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8153         Mark as obsolete.
8154         (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8155         their declaration.
8156         (vhdl-mode-syntax-table-init): Remove.
8158         * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8159         last change.
8161         * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8162         syntax for "_".
8163         (ld-script-font-lock-keywords):
8164         Change regexps to use things like \_< and \_>.
8166         * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8167         Change all regexps to use things like \_< and \_>.
8169         * progmodes/autoconf.el (autoconf-definition-regexp)
8170         (autoconf-font-lock-keywords, autoconf-current-defun-function):
8171         Handle a _ with symbol syntax.
8172         (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8174         * progmodes/ada-mode.el (ada-mode-abbrev-table):
8175         Consolidate declaration.
8176         (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8177         the declaration.
8178         (ada-create-syntax-table): Remove.
8179         (ada-capitalize-word): Don't mess with the syntax of "_" since it
8180         already has the right syntax nowadays.
8181         (ada-goto-next-word): Don't change the syntax of "_".
8183         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8184         with-wrapper-hook.
8186 2013-05-08  Sam Steingold  <sds@gnu.org>
8188         * thingatpt.el (thing-at-point): Accept optional second argument
8189         NO-PROPERTIES to strip the text properties from the return value.
8190         * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8191         to `thing-at-point' instead of stripping the properties ourselves.
8192         Also, when `thing-at-point' fails to find a url, prepend "http://"
8193         to the filename at point on the assumption that the user is
8194         pointing at something like gnu.org/gnu.
8196 2013-05-08  Juanma Barranquero  <lekktu@gmail.com>
8198         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8199         * faces.el (crm-separator):
8200         Silence byte-compiler.
8202         * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8203         (tool-bar-map): Remove unneeded defvars.
8205 2013-05-08  Leo Liu  <sdl.web@gmail.com>
8207         Re-work a fix for bug#10994 based on Le Wang's patch.
8208         * ido.el (ido-remove-consecutive-dups): New helper.
8209         (ido-completing-read): Use it.
8210         (ido-chop): Revert fix for bug#10994.
8212 2013-05-08  Adam Spiers  <emacs@adamspiers.org>
8214         * cus-edit.el (custom-save-variables):
8215         Pretty-print long values.  (Bug#14187)
8217 2013-05-08  Glenn Morris  <rgm@gnu.org>
8219         * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8220         (m4-mode-syntax-table): Init in the defvar.
8221         (m4-mode-abbrev-table): Let define-derived-mode define it.
8223 2013-05-08  Tom Tromey  <tromey@redhat.com>
8225         * progmodes/m4-mode.el (m4-mode-syntax-table):
8226         Do not treat "_" as word constituent.  (Bug#14167)
8228 2013-05-07  Glenn Morris  <rgm@gnu.org>
8230         * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8231         Remove explicit eshell-isearch-cancel-map.
8233         * progmodes/f90.el (f90-smart-end-names): New option.
8234         (f90-smart-end): Doc fix.
8235         (f90-end-block-optional-name): New constant.
8236         (f90-block-match): Respect f90-smart-end-names.
8238 2013-05-07  Stefan Monnier  <monnier@iro.umontreal.ca>
8240         * progmodes/octave.el (octave-smie-forward-token): Be more careful
8241         about implicit semi-colons (bug#14218).
8243 2013-05-07  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
8245         * frame.el (display-monitor-attributes-list)
8246         (frame-monitor-attributes): New functions.
8248 2013-05-06  Leo Liu  <sdl.web@gmail.com>
8250         * progmodes/octave.el (octave-syntax-propertize-function): Change
8251         \'s syntax to escape when inside double-quoted strings.  (Bug#14332)
8252         (octave-font-lock-keywords): Use octave-operator-regexp.
8253         (octave-completion-at-point): Rename from
8254         octave-completion-at-point-function.
8255         (inferior-octave-directory-tracker): Robustify.
8256         (octave-text-functions): Remove and fix its uses.  No such things
8257         any more.
8259 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8261         * emacs-lisp/trace.el (trace--display-buffer): New function.
8262         (trace-make-advice): Use it.
8264 2013-05-06  Juri Linkov  <juri@jurta.org>
8266         * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix.  (Bug#14344)
8267         (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8268         Doc fix.
8269         (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8270         in the help string.  (Bug#12985)
8272 2013-05-06  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
8274         * simple.el (shell-command-on-region): Doc fix.  (Bug#14279)
8276 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8278         * progmodes/perl-mode.el: Add support for here documents.
8279         (perl-syntax-propertize-function): Match here-doc markers.
8280         (perl-syntax-propertize-special-constructs): Find their end.
8281         (perl-imenu-generic-expression): Use [:alnum:].
8283         * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8284         (advice--add-function): Refresh the advice if already present
8285         (bug#14317).
8287 2013-05-06  Ivan Andrus  <darthandrus@gmail.com>
8289         * find-file.el (cc-other-file-alist): Add ".m" for ObjC.  (Bug#14339)
8291 2013-05-06  Glenn Morris  <rgm@gnu.org>
8293         * w32-fns.el (w32-charset-info-alist): Declare.
8295         * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8296         of its defcustom properties.
8297         (eshell-cmpl-initialize): No need to load pcomplete.
8299         * generic-x.el: No need to require comint when compiling.
8301         * net/eudc-export.el: Make it loadable without bbdb.
8302         (top-level): Use require rather than load-library.
8303         (eudc-create-bbdb-record, eudc-bbdbify-phone)
8304         (eudc-batch-export-records-to-bbdb)
8305         (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8306         Require bbdb.
8308 2013-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
8310         * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8311         (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8312         some tweaks, instead.
8314 2013-05-05  Leo Liu  <sdl.web@gmail.com>
8316         * progmodes/octave.el (octave-font-lock-keywords)
8317         (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8318         (inferior-octave-send-list-and-digest): Improve error message.
8319         (octave-mode, inferior-octave-mode): Use setq-local.
8320         (octave-help): Set info-lookup-mode.
8322 2013-05-05  Richard Stallman  <rms@gnu.org>
8324         * vc/compare-w.el (compare-windows-whitespace):
8325         Treat no-break space as whitespace.
8327         * mail/rmailsum.el (rmail-summary-rmail-update):
8328         Detect empty summary and don't change selected message.
8329         (rmail-summary-goto-msg): Likewise.
8331         * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8332         Doc fixes, rename args.
8334 2013-05-05  Alan Mackenzie  <acm@muc.de>
8336         * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8338 2013-05-05  Juri Linkov  <juri@jurta.org>
8340         * info.el (Info-read-subfile): Use (point-min) instead of (point)
8341         to not add the length of the summary segment to the return value.
8342         (Bug#14125)
8344 2013-05-05  Leo Liu  <sdl.web@gmail.com>
8346         * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8347         (inferior-octave-output-filter): Remove.
8348         (octave-send-region, inferior-octave-startup): Fix callers.
8349         (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8350         (octave-binary-file-extensions): New user variable.
8351         (octave-find-definition): Confirm if opening binary files.
8352         (octave-help-file): Use octave-find-definition to get the binary
8353         confirmation.
8354         (octave-help): Adjust for octave-help-file change.
8356 2013-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
8358         * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8359         Merge the two entries that handle function definitions.
8360         (pascal--syntax-propertize): New const.
8361         (pascal-mode): Use it.  Use setq-local.
8363 2013-05-04  Glenn Morris  <rgm@gnu.org>
8365         * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8366         (diary-from-outlook): Respect diary-from-outlook-function.
8368 2013-05-04  Stefan Monnier  <monnier@iro.umontreal.ca>
8370         * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8371         Move the declaration from C.
8372         (read-minibuffer, eval-minibuffer): Move from C.
8373         (completion-setup-function): Avoid minibuffer-completion-contents.
8375 2013-05-03  Leo Liu  <sdl.web@gmail.com>
8377         * progmodes/octave.el (octave-font-lock-keywords): Do not
8378         dehighlight 'end' in comments or strings.
8379         (octave-completing-read, octave-goto-function-definition):
8380         New helpers.
8381         (octave-help-buffer): New user variable.
8382         (octave-help-file, octave-help-function): New button types.
8383         (octave-help): New command and bind it to C-h ;.
8384         (octave-find-definition): New command and bind it to M-.
8385         (user-error): Alias to error if not defined.
8387 2013-05-02  Leo Liu  <sdl.web@gmail.com>
8389         * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8390         for \.  (bug#14332)
8391         (octave-font-lock-keywords): Include [ and {.
8393 2013-05-02  Leo Liu  <sdl.web@gmail.com>
8395         * progmodes/octave.el (inferior-octave-startup-file): Change default.
8396         (inferior-octave): Remove calling comint-mode and return the buffer.
8397         (inferior-octave-startup): Cosmetic changes.
8399 2013-05-02  Leo Liu  <sdl.web@gmail.com>
8401         * progmodes/octave.el (octave-syntax-propertize-function):
8402         Include the case when ' is at line beginning.  (Bug#14336)
8404 2013-05-02  Glenn Morris  <rgm@gnu.org>
8406         * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8407         * desktop.el (vc-dir-mode): Just autoload it here.
8409 2013-05-02  Alan Mackenzie  <acm@muc.de>
8411         Eliminate variable c-standard-font-lock-fontify-region-function.
8412         * progmodes/cc-mode.el
8413         (c-standard-font-lock-fontify-region-function): Remove.
8414         (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8416 2013-05-01  Leo Liu  <sdl.web@gmail.com>
8418         * progmodes/octave.el: Compatible with older emacs-24 releases.
8419         (inferior-octave-has-built-in-variables): Remove.  Built-in
8420         variables were removed from Octave in 2007.
8421         (inferior-octave-startup): Fix uses.
8422         (comint-line-beginning-position): Remove compatibility code for
8423         emacs 21.
8425 2013-05-01  Juri Linkov  <juri@jurta.org>
8427         * isearch.el (isearch-forward, isearch-mode): Doc fix.  (Bug#13923)
8429 2013-05-01  Juri Linkov  <juri@jurta.org>
8431         * comint.el (comint-previous-matching-input): Don't print message
8432         "History item: %d" when `isearch-mode' is active.
8433         (comint-history-isearch-message): Print message "History item: %d"
8434         when `comint-input-ring-index' is not empty and this function is
8435         called from `isearch-update' with a nil `ellipsis'.  (Bug#13223)
8437 2013-05-01  Leo Liu  <sdl.web@gmail.com>
8439         * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8440         definitions.  Use completion-at-point to insert keywords.
8441         (octave-abbrev-start): Remove.
8442         (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8444 2013-04-30  Leo Liu  <sdl.web@gmail.com>
8446         * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8447         change.
8449 2013-04-30  Alan Mackenzie  <acm@muc.de>
8451         Handle arbitrarily long C++ member initialisation lists.
8452         * progmodes/cc-engine.el (c-back-over-member-initializers):
8453         new function.
8454         (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8455         (most) member init lists.
8457 2013-04-30  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
8459         * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8460         variable.
8462 2013-04-30  Leo Liu  <sdl.web@gmail.com>
8464         * progmodes/octave.el (octave-variables): Remove.  No builtin
8465         variables any more.  All converted to functions.
8466         (octave-font-lock-keywords, octave-completion-at-point-function):
8467         Fix uses.
8468         (octave-font-lock-texinfo-comment): New user variable.
8469         (octave-texinfo-font-lock-keywords): New variable for texinfo
8470         comment block.
8471         (octave-function-comment-block): New face.
8472         (octave-font-lock-texinfo-comment): New function.
8473         (octave-mode): Font lock texinfo comment block.
8475 2013-04-29  Leo Liu  <sdl.web@gmail.com>
8477         * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8478         indexing expression.
8479         (octave-continuation-string): Do not use \.
8480         (inferior-octave-complete-impossible): Remove.
8481         (inferior-octave-completion-table)
8482         (inferior-octave-completion-at-point): Remove its uses.
8483         (inferior-octave-startup): completion_matches was introduced to
8484         Octave in 1996 so safe to assume it.
8485         (octave-function-file-comment): Improve to follow how Octave does it.
8486         (octave-update-function-file-comment): Tweak.
8488 2013-04-29  Leo Liu  <sdl.web@gmail.com>
8490         * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8491         (inferior-octave-startup): Remove inferior-octave-startup-hook.
8492         (octave-function-file-comment): Fix typo.
8493         (octave-sync-function-file-names): Use read-char-choice.
8495 2013-04-28  Jay Belanger  <jay.p.belanger@gmail.com>
8497         * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8498         to t for the less important warnings.
8500 2013-04-27  Darren Hoo  <darren.hoo@gmail.com>  (tiny change)
8502         * isearch.el (isearch-fail-pos): Check for empty `cmds'.  (Bug#14268)
8504 2013-04-27  Glenn Morris  <rgm@gnu.org>
8506         * vc/log-view.el (log-view-current-entry):
8507         Treat "---" separator lines as part of the following rev.  (Bug#14169)
8509 2013-04-27  Juri Linkov  <juri@jurta.org>
8511         * subr.el (read-number): Doc fix about using it by interactive
8512         code letter `n'.  (Bug#14254)
8514 2013-04-27  Juri Linkov  <juri@jurta.org>
8516         * desktop.el (desktop-auto-save-timeout): New option.
8517         (desktop-file-checksum): New variable.
8518         (desktop-save): Add optional arg `auto-save' and don't auto-save
8519         if nothing changed.
8520         (desktop-auto-save-timer): New variable.
8521         (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8522         (after-init-hook): Call `desktop-auto-save-set-timer'.
8523         Suggested by Reuben Thomas <rrt@sc3d.org> in
8524         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8526 2013-04-27  Leo Liu  <sdl.web@gmail.com>
8528         * progmodes/octave.el (octave-function-file-p)
8529         (octave-skip-comment-forward, octave-function-file-comment)
8530         (octave-update-function-file-comment): New functions.
8531         (octave-mode-map): Bind C-c ; to
8532         octave-update-function-file-comment.
8533         (octave-mode-menu): Add octave-update-function-file-comment.
8534         (octave-mode, inferior-octave-mode): Fix doc-string.
8535         (octave-insert-defun): Conform to Octave's coding convention.
8536         (Bug#14285)
8538         * files.el (basic-save-buffer): Don't let errors in
8539         before-save-hook prevent saving buffer.
8541 2013-04-20  Roland Winkler  <winkler@gnu.org>
8543         * faces.el (read-face-name): Use completing-read if arg multiple
8544         is nil.
8546 2013-04-27  Ingo Lohmar  <i.lohmar@gmail.com>  (tiny change)
8548         * ls-lisp.el (ls-lisp-insert-directory): If no files are
8549         displayed, move point to after the totals line.
8550         See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8551         for the details.
8553 2013-04-27  Stefan Monnier  <monnier@iro.umontreal.ca>
8555         * emacs-lisp/package.el (package-autoload-ensure-default-file):
8556         Add current dir to the load-path.
8557         (package-generate-autoloads): Don't rely on
8558         autoload-ensure-default-file.
8560 2013-04-26  Reuben Thomas  <rrt@sc3d.org>
8562         * textmodes/remember.el (remember-store-in-files): Document that
8563         the file name format is passed to `format-time-string'.
8565 2013-04-26  Leo Liu  <sdl.web@gmail.com>
8567         * progmodes/octave.el (octave-sync-function-file-names): New function.
8568         (octave-mode): Use it in before-save-hook.
8570 2013-04-26  Stefan Monnier  <monnier@iro.umontreal.ca>
8572         * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8573         (bug#14274).
8575         * progmodes/octave.el (octave-smie-forward-token): Properly skip
8576         \n and comment, even if it's not an implicit ; (bug#14218).
8578 2013-04-26  Glenn Morris  <rgm@gnu.org>
8580         * subr.el (read-number): Once more use `read' rather than
8581         `string-to-number', to trap non-numeric input.  (Bug#14254)
8583 2013-04-26  Erik Charlebois  <erikcharlebois@gmail.com>
8585         * emacs-lisp/syntax.el (syntax-propertize-multiline):
8586         Use `syntax-multiline' text property consistently instead of
8587         `font-lock-multiline'.  (Bug#14237)
8589 2013-04-26  Glenn Morris  <rgm@gnu.org>
8591         * emacs-lisp/shadow.el (list-load-path-shadows):
8592         No longer necessary to check for duplicate simple.el, since
8593         2012-07-07 change to init_lread to not include installation lisp
8594         directories in load-path when running uninstalled.  (Bug#14270)
8596 2013-04-26  Leo Liu  <sdl.web@gmail.com>
8598         * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8599         (octave-mode, inferior-octave-mode): Use setq-local.
8600         (octave-not-in-string-or-comment-p): Rename to
8601         octave-in-string-or-comment-p.
8602         (octave-in-comment-p, octave-in-string-p)
8603         (octave-in-string-or-comment-p): Replace defsubst with defun.
8605 2013-04-25  Paul Eggert  <eggert@cs.ucla.edu>
8607         * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8609 2013-04-25  Bastien Guerry  <bzg@gnu.org>
8611         * textmodes/remember.el (remember-data-directory)
8612         (remember-directory-file-name-format): Fix custom types.
8614 2013-04-25  Leo Liu  <sdl.web@gmail.com>
8616         * progmodes/octave.el (octave-completion-at-point-function):
8617         Make use of inferior octave process.
8618         (octave-initialize-completions): Remove.
8619         (inferior-octave-completion-table): New function.
8620         (inferior-octave-completion-at-point): Use it.
8621         (octave-completion-alist): Remove.
8623 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8625         * progmodes/opascal.el: Use font-lock and syntax-propertize.
8626         (opascal-mode-syntax-table): New var.
8627         (opascal-literal-kind, opascal-is-literal-end)
8628         (opascal-literal-token-at): Rewrite.
8629         (opascal--literal-start-re, opascal-font-lock-keywords)
8630         (opascal--syntax-propertize): New constants.
8631         (opascal-font-lock-defaults): Adjust.
8632         (opascal-mode): Use them.  Set comment-<foo> variables as well.
8633         (delphi-comment-face, opascal-comment-face, delphi-string-face)
8634         (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8635         (delphi-other-face, opascal-other-face): Remove face variables.
8636         (opascal-save-state): Remove macro.
8637         (opascal-fontifying-progress-step): Remove constant.
8638         (opascal--ignore-changes): Remove var.
8639         (opascal-set-token-property, opascal-parse-next-literal)
8640         (opascal-is-stable-literal, opascal-complete-literal)
8641         (opascal-is-literal-start, opascal-face-of)
8642         (opascal-parse-region, opascal-parse-region-until-stable)
8643         (opascal-fontify-region, opascal-after-change)
8644         (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8645         (opascal-debug-parse-region, opascal-debug-parse-window)
8646         (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8647         (opascal-debug-fontify-buffer): Remove.
8648         (opascal-debug-mode-map): Adjust accordingly.
8650 2013-04-25  Leo Liu  <sdl.web@gmail.com>
8652         Merge octave-mod.el and octave-inf.el into octave.el with some
8653         cleanups.
8654         * progmodes/octave.el: New file renamed from octave-mod.el.
8655         * progmodes/octave-inf.el: Merged into octave.el.
8656         * progmodes/octave-mod.el: Renamed to octave.el.
8658 2013-04-25  Tassilo Horn  <tsdh@gnu.org>
8660         * textmodes/reftex-vars.el
8661         (reftex-label-ignored-macros-and-environments): New defcustom.
8663         * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8665 2013-04-25  Stefan Monnier  <monnier@iro.umontreal.ca>
8667         * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8668         (smie-indent-keyword): Improve the check to ensure that the next
8669         comment is really on the same line.
8670         (smie-indent-comment): Don't align with a subsequent closer (or eob).
8672         * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8673         semi-colons if the line is not otherwise empty (bug#14218).
8675 2013-04-25  Glenn Morris  <rgm@gnu.org>
8677         * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8679 2013-04-24  Stefan Monnier  <monnier@iro.umontreal.ca>
8681         * progmodes/opascal.el (opascal-set-token-property): Rename from
8682         opascal-set-text-properties and only set `token' (bug#14134).
8683         Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8684         (opascal-literal-text-properties): Remove.
8685         (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8686         Adjust callers.
8688 2013-04-24  Reuben Thomas  <rrt@sc3d.org>
8690         * textmodes/remember.el (remember-handler-functions): Add an
8691         option for a new handler `remember-store-in-files'.
8692         (remember-data-directory, remember-directory-file-name-format):
8693         New options.
8694         (remember-store-in-files): New function to store remember notes
8695         as separate files within a directory.
8697 2013-04-24  Magnus Henoch  <magnus.henoch@gmail.com>
8699         * progmodes/compile.el (compilation-next-error-function):
8700         Pass "formats" to compilation-find-file (bug#11777).
8702 2013-04-24  Glenn Morris  <rgm@gnu.org>
8704         * vc/vc-bzr.el (vc-bzr-print-log):
8705         * vc/vc-hg.el (vc-hg-print-log):
8706         * vc/vc-svn.el (vc-svn-print-log):
8707         Fix START-REVISION with LIMIT != 1.  (Bug#14168)
8709         * vc/vc-bzr.el (vc-bzr-print-log):
8710         * vc/vc-cvs.el (vc-cvs-print-log):
8711         * vc/vc-git.el (vc-git-print-log):
8712         * vc/vc-hg.el (vc-hg-print-log):
8713         * vc/vc-mtn.el (vc-mtn-print-log):
8714         * vc/vc-rcs.el (vc-rcs-print-log):
8715         * vc/vc-sccs.el (vc-sccs-print-log):
8716         * vc/vc-svn.el (vc-svn-print-log):
8717         * vc/vc.el (vc-print-log-internal): Doc fixes.
8719 2013-04-23  Glenn Morris  <rgm@gnu.org>
8721         * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8722         Remove venerable code attempting to avoid substitute-command-keys.
8724 2013-04-23  Tassilo Horn  <tsdh@gnu.org>
8726         * textmodes/reftex-vars.el (reftex-label-regexps):
8727         Call `reftex-compile-variables' after changes to this variable.
8729 2013-04-23  Stefan Monnier  <monnier@iro.umontreal.ca>
8731         * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8732         Use lexical-binding.
8733         (jit-lock-force-redisplay): Use markers, check buffer's continued
8734         existence and beware narrowed buffers.
8735         (jit-lock-fontify-now): Adjust call accordingly.
8737 2013-04-22  Stefan Monnier  <monnier@iro.umontreal.ca>
8739         * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8740         to avoid misleading the user.
8742 2013-04-22  Leo Liu  <sdl.web@gmail.com>
8744         * info-look.el: Prefer latex2e.info.  (Bug#14240)
8746 2013-04-22  Michael Albinus  <michael.albinus@gmx.de>
8748         Fix pack/unpack coding.  Reported by David Smith <davidsmith@acm.org>.
8750         * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8751         * net/tramp.el (tramp-call-process): ... here.
8752         (tramp-set-completion-function, tramp-parse-putty):
8753         * net/tramp-adb.el (tramp-adb-execute-adb-command):
8754         * net/tramp-gvfs.el (tramp-gvfs-send-command):
8755         * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8756         (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8757         (tramp-call-local-coding-command): Use `tramp-call-process'
8758         instead of `tramp-compat-call-process'.
8760         * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8761         (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8762         (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8763         (tramp-find-inline-compress): Improve traces.
8764         (tramp-maybe-send-script): Check for Perl binary.
8765         (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8767 2013-04-22  Daiki Ueno  <ueno@gnu.org>
8769         * epg.el (epg-context-pinentry-mode): New function.
8770         (epg-context-set-pinentry-mode): New function.
8771         (epg--start): Pass --pinentry-mode option to gpg command.
8773 2013-04-21  Xue Fuqiao  <xfq.free@gmail.com>
8775         * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8776         `comint-dynamic-complete' is obsolete since 24.1, replaced by
8777         `completion-at-point'.  (Bug#13774)
8779         * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8780         default key binding for `describe-distribution' has been moved to
8781         `C-h C-o'.  (Bug#13970)
8783 2013-04-21  Glenn Morris  <rgm@gnu.org>
8785         * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8786         Add doc strings.
8787         (vc-print-log): Clarify interactive prompt.
8789 2013-04-20  Glenn Morris  <rgm@gnu.org>
8791         * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8792         No longer include timestamp etc information.
8794 2013-04-20  Roland Winkler  <winkler@gnu.org>
8796         * faces.el (read-face-name): Bug fix, return just one face if arg
8797         multiple is nil.  (Bug#14209)
8799 2013-04-20  Stefan Monnier  <monnier@iro.umontreal.ca>
8801         * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8802         (remove-function): Autoload.
8804         * comint.el (comint-redirect-original-filter-function): Remove.
8805         (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8806         * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8807         (vc-cvs-annotate-command):
8808         * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8809         * progmodes/prolog.el (prolog-consult-compile):
8810         * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8811         Use add/remove-function instead.
8812         * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8813         (gud-tooltip-process-output, gud-tooltip-tips):
8814         Use add/remove-function instead.
8815         * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8816         (scheme-interaction-mode, exit-scheme-interaction-mode):
8817         Use add/remove-function instead.
8819         * vc/vc-dispatcher.el: Use lexical-binding.
8820         (vc--process-sentinel): Rename from vc-process-sentinel.
8821         Change last arg to be the code to run.  Don't use vc-previous-sentinel
8822         and vc-sentinel-commands any more.
8823         (vc-exec-after): Allow code to be a function.  Use add/remove-function.
8824         (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8826 2013-04-19  Masatake YAMATO  <yamato@redhat.com>
8828         * progmodes/sh-script.el (sh-imenu-generic-expression):
8829         Handle function names with a single character.   (Bug#14111)
8831 2013-04-19  Dima Kogan  <dima@secretsauce.net>    (tiny change)
8833         * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8834         for subroutines defined in an eval (bug#14182).
8836 2013-04-19  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
8838         * bookmark.el (bookmark-completing-read): Improve handling of empty
8839         string (bug#14176).
8841 2013-04-19  Stefan Monnier  <monnier@iro.umontreal.ca>
8843         * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8845 2013-04-19  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8847         New faster Imenu implementation (bug#14058).
8848         * progmodes/python.el:
8849         (python-imenu-prev-index-position):
8850         (python-imenu-format-item-label-function)
8851         (python-imenu-format-parent-item-label-function)
8852         (python-imenu-format-parent-item-jump-label-function):
8853         New vars.
8854         (python-imenu-format-item-label)
8855         (python-imenu-format-parent-item-label)
8856         (python-imenu-format-parent-item-jump-label)
8857         (python-imenu--put-parent, python-imenu--build-tree)
8858         (python-imenu-create-index, python-imenu-create-flat-index)
8859         (python-util-popn): New functions.
8860         (python-mode): Set imenu-create-index-function to
8861         python-imenu-create-index.
8863 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8865         * winner.el (winner-active-region): Use region-active-p, activate-mark
8866         and deactivate-mark (bug#14225).
8868         * simple.el (deactivate-mark): Don't inline it.
8870 2013-04-18  Michael Albinus  <michael.albinus@gmx.de>
8872         * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8874 2013-04-18  Tassilo Horn  <tsdh@gnu.org>
8876         * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8877         file extensions from the archive-mode entry in order to prefer
8878         doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8880 2013-04-18  Leo Liu  <sdl.web@gmail.com>
8882         * bindings.el (help-event-list): Add ?\?.
8884 2013-04-18  Stefan Monnier  <monnier@iro.umontreal.ca>
8886         * subr.el (with-wrapper-hook): Declare obsolete.
8887         * simple.el (filter-buffer-substring-function): New hook.
8888         (filter-buffer-substring): Use it.
8889         (filter-buffer-substring-functions): Mark obsolete.
8890         * minibuffer.el (completion-in-region-function): New hook.
8891         (completion-in-region): Use it.
8892         (completion-in-region-functions): Mark obsolete.
8893         * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8894         * abbrev.el (abbrev-expand-function): New hook.
8895         (expand-abbrev): Use it.
8896         (abbrev-expand-functions): Mark obsolete.
8897         * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8898         and :filter-return.
8900 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8902         * progmodes/python.el (python-nav--syntactically): Fix cornercases
8903         and do not care about match data.
8905 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8907         * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8908         completion tables when completing error conditions and
8909         `declare' arguments.
8910         (lisp-complete-symbol, field-complete): Mark as obsolete.
8911         (check-parens): Unmatched parens are user errors.
8912         * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8914 2013-04-17  Michal Nazarewicz  <mina86@mina86.com>
8916         * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8917         command changed buffer (ie. `flyspell-pre-buffer' is not current
8918         buffer), which prevents making decisions based on invalid value of
8919         `flyspell-pre-point' in the wrong buffer.  Most notably, this used to
8920         cause an error when `flyspell-pre-point' was nil after switching
8921         buffers.
8922         (flyspell-post-command-hook): No longer needs to change buffers when
8923         checking pre-word.  While at it remove unnecessary progn.
8925 2013-04-17  Nicolas Richard  <theonewiththeevillook@yahoo.fr>  (tiny change)
8927         * textmodes/ispell.el (ispell-add-per-file-word-list):
8928         Fix `flyspell-correct-word-before-point' error when accepting
8929         words and `coment-padding' is an integer by using
8930         `comment-normalize-vars' (Bug #14214).
8932 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8934         New defun movement commands.
8935         * progmodes/python.el (python-nav--syntactically)
8936         (python-nav--forward-defun, python-nav-backward-defun)
8937         (python-nav-forward-defun): New functions.
8939 2013-04-17  Fabián Ezequiel Gallina  <fgallina@gnu.org>
8941         * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8942         (python-syntax-context): Use named compiler-macro for backwards
8943         compatibility with Emacs 24.x.
8945 2013-04-17  Leo Liu  <sdl.web@gmail.com>
8947         * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8948         octave-hide-process-buffer.
8950 2013-04-17  Stefan Monnier  <monnier@iro.umontreal.ca>
8952         * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8953         (bug#14216).
8955 2013-04-17  Jean-Philippe Gravel  <jpgravel@gmail.com>
8957         * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8958         Fix adjustment of offset when receiving incomplete responses from GDB
8959         (bug#14129).
8961 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8963         * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8964         python-mode-abbrev-table.
8965         (python-skeleton-define): Adjust accordingly.
8966         (python-mode-abbrev-table): New table that inherits from it so that
8967         python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8969         * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8970         (abbrev-symbol): Use it.
8971         (abbrev--before-point): Use it since we already handle inheritance.
8973 2013-04-16  Leo Liu  <sdl.web@gmail.com>
8975         * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8976         binding to info-lookup-symbol.
8978 2013-04-16  Juanma Barranquero  <lekktu@gmail.com>
8980         * minibuffer.el (completion--twq-all):
8981         * term/ns-win.el (ns-initialize-window-system):
8982         * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8984 2013-04-16  Stefan Monnier  <monnier@iro.umontreal.ca>
8986         * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8987         global bindings.
8989         * doc-view.el (doc-view-start-process): Handle url-handler directories.
8991 2013-04-15  Dmitry Gutov  <dgutov@yandex.ru>
8993         * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8994         (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8995         to nil.
8996         (ruby-end-of-defun): Remove the unused arg, change the docstring
8997         to reflect that this function is only used as the value of
8998         `end-of-defun-function'.
8999         (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9000         to reflect an earlier change that beginning/end-of-defun functions
9001         jump between methods in a class definition, as well as top-level
9002         functions.
9004 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9006         * minibuffer.el (minibuffer-complete): Don't just scroll
9007         a *Completions* that's been iconified.
9008         (minibuffer-force-complete): Make sure repetitions do cycle when going
9009         through completion-in-region -> minibuffer-complete.
9011 2013-04-15  Alan Mackenzie  <acm@muc.de>
9013         Correct the placement of c-cpp-delimiters when there're #s not at
9014         col 0.
9016         * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9017         place a submatch around the #.
9018         * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9019         Start a search at BOL.  Put the c-cpp-delimiter category text propertiy
9020         on the #, not BOL.
9022 2013-04-15  Stefan Monnier  <monnier@iro.umontreal.ca>
9024         * emacs-lisp/nadvice.el: Properly test names when adding advice.
9025         (advice--member-p): New arg `name'.
9026         (advice--add-function, advice-member-p): Use it (bug#14202).
9028 2013-04-15  Filipp Gunbin  <fgunbin@fastmail.fm>
9030         Reformulate java imenu-generic-expression.
9031         The old expression contained ill formed regexps.
9033         * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9034         (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9035         (cc-imenu-java-method-arg-regexp): New defconsts.
9036         (cc-imenu-java-build-type-args-regex): New defun.
9037         (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9038         handling of spaces in the regexp.
9040 2013-03-15  Agustín Martín Domingo  <agustin.martin@hispalinux.es>
9042         * textmodes/ispell.el (ispell-command-loop): Remove
9043         flyspell highlight of a word when ispell accepts it (bug #14178).
9045 2013-04-15  Michael Albinus  <michael.albinus@gmx.de>
9047         * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9048         uses code from the previous `ange-ftp-run-real-handler'.
9049         (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9050         only in case that function exist.  This is needed for proper
9051         unloading of Tramp.
9053 2013-04-15  Tassilo Horn  <tsdh@gnu.org>
9055         * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9057         * textmodes/reftex.el (reftex-compile-variables): Use it.
9059 2013-04-14  Stefan Monnier  <monnier@iro.umontreal.ca>
9061         * files.el (normal-mode): Only use default major-mode if no other mode
9062         was specified.
9064         * emacs-lisp/trace.el (trace-values): New function.
9066         * files.el: Allow : in local variables (bug#14089).
9067         (hack-local-variable-regexp): New var.
9068         (hack-local-variables-prop-line, hack-local-variables): Use it.
9070 2013-04-13  Roland Winkler  <winkler@gnu.org>
9072         * textmodes/bibtex.el (bibtex-search-entries): Bug fix.  Use match
9073         data before it gets modified by bibtex-beginning-of-entry.
9075 2013-04-13  Roland Winkler  <winkler@gnu.org>
9077         * textmodes/bibtex.el (bibtex-url): Doc fix.
9079 2013-04-13  Roland Winkler  <winkler@gnu.org>
9081         * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9082         does not visit a BibTeX file, exclude it from the list of buffers
9083         returned by bibtex-initialize.
9085 2013-04-13  Stephen Berman  <stephen.berman@gmx.net>
9087         * window.el (split-window): Remove interactive form, since as a
9088         command this function is a special case of split-window-below.
9089         Correct doc string.
9091 2013-04-12  Roland Winkler  <winkler@gnu.org>
9093         * faces.el (read-face-name): Do not override value of arg default.
9094         Allow single faces and strings as default values.  Remove those
9095         elements from return value that are not faces.
9096         (describe-face): Simplify.
9097         (face-at-point): New optional args thing and multiple so that this
9098         function can provide the same functionality previously provided by
9099         read-face-name.
9100         (make-face-bold, make-face-unbold, make-face-italic)
9101         (make-face-unitalic, make-face-bold-italic, invert-face)
9102         (modify-face, read-face-and-attribute): Use face-at-point.
9104         * cus-edit.el (customize-face, customize-face-other-window)
9105         * cus-theme.el (custom-theme-add-face)
9106         * face-remap.el (buffer-face-set)
9107         * facemenu.el (facemenu-set-face): Use face-at-point.
9109 2013-04-12  Michael Albinus  <michael.albinus@gmx.de>
9111         * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9113 2013-04-10  Tassilo Horn  <tsdh@gnu.org>
9115         * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9116         off leading { and trailing } from field values.
9118 2013-04-10  Stefan Monnier  <monnier@iro.umontreal.ca>
9120         * emacs-lisp/timer.el (timer--check): New function.
9121         (timer--time, timer-set-function, timer-event-handler): Use it.
9122         (timer-set-idle-time): Simplify.
9123         (timer--activate): CSE.
9124         (timer-event-handler): Give more info in error message.
9125         (internal-timer-start-idle): New function, moved from C.
9127         * mpc.el (mpc-proc): Add `restart' argument.
9128         (mpc-proc-cmd): Use it.
9129         (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9130         (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9131         less often.
9133 2013-04-10  Masatake YAMATO  <yamato@redhat.com>
9135         * progmodes/sh-script.el: Implement `sh-mode' own
9136         `add-log-current-defun-function' (bug#14112).
9137         (sh-current-defun-name): New function.
9138         (sh-mode): Use the function.
9140 2013-04-09  Bastien Guerry  <bzg@gnu.org>
9142         * simple.el (choose-completion-string): Fix docstring (bug#14163).
9144 2013-04-08  Stefan Monnier  <monnier@iro.umontreal.ca>
9146         * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9148         * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9149         timer (bug#14156).
9151 2013-04-07  Nic Ferrier  <nferrier@ferrier.me.uk>
9153         * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9154         declaration.
9156 2013-04-07  Leo Liu  <sdl.web@gmail.com>
9158         * pcmpl-x.el: New file.
9160 2013-04-06  Dmitry Antipov  <dmantipov@yandex.ru>
9162         Do not set x-display-name until X connection is established.
9163         This is needed to prevent from weird situation described at
9164         <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9165         * frame.el (make-frame): Set x-display-name after call to
9166         window system initialization function, not before.
9167         * term/x-win.el (x-initialize-window-system): Add optional
9168         display argument and use it.
9169         * term/w32-win.el (w32-initialize-window-system):
9170         * term/ns-win.el (ns-initialize-window-system):
9171         * term/pc-win.el (msdos-initialize-window-system):
9172         Add compatible optional display argument.
9174 2013-04-06  Eli Zaretskii  <eliz@gnu.org>
9176         * files.el (normal-backup-enable-predicate): On MS-Windows and
9177         MS-DOS compare truenames of temporary-file-directory and of the
9178         file, so that 8+3 aliases (usually found in $TEMP on Windows)
9179         don't fail comparison by compare-strings.  Also, compare file
9180         names case-insensitively on MS-Windows and MS-DOS.
9182 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9184         * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9185         Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9187 2013-04-05  Dmitry Gutov  <dgutov@yandex.ru>
9189         * whitespace.el (whitespace-color-on, whitespace-color-off):
9190         Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9192 2013-04-05  Jacek Chrząszcz  <chrzaszcz@mimuw.edu.pl>  (tiny change)
9194         * ispell.el (ispell-set-spellchecker-params):
9195         Really set `ispell-args' for all equivs.
9197 2013-04-05  Stefan Monnier  <monnier@iro.umontreal.ca>
9199         * ido.el (ido-completions): Use extra elements of ido-decorations
9200         (bug#14143).
9201         (ido-decorations): Update docstring.
9203 2013-04-05  Michael Albinus  <michael.albinus@gmx.de>
9205         * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9206         (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9207         nil during initialization, in order not to miss changes since the
9208         file was opened.  (Bug#14140)
9210 2013-04-05  Leo Liu  <sdl.web@gmail.com>
9212         * kmacro.el (kmacro-call-macro): Fix bug#14135.
9214 2013-04-05  Jay Belanger  <jay.p.belanger@gmail.com>
9216         * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9218 2013-04-04  Glenn Morris  <rgm@gnu.org>
9220         * electric.el (electric-pair-inhibit-predicate): Add :version.
9222 2013-04-04  Stefan Monnier  <monnier@iro.umontreal.ca>
9224         * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9225         when a package is required several times (bug#14082).
9227 2013-04-04  Roland Winkler  <winkler@gnu.org>
9229         * faces.el (read-face-name): Behave as promised by the docstring.
9230         Assume that arg default is a list of faces.
9231         (describe-face): Call read-face-name with list of default faces.
9233 2013-04-04  Thierry Volpiatto  <thierry.volpiatto@gmail.com>
9235         * bookmark.el: Fix deletion of bookmarks (bug#13972).
9236         (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9237         (bookmark-bmenu-execute-deletions): Only skip first line if it's
9238         the header.
9239         (bookmark-exit-hook-internal): Save even if list is empty.
9241 2013-04-04  Yann Hodique  <yann.hodique@gmail.com>  (tiny change)
9243         * emacs-lisp/package.el (package-pinned-packages): New var.
9244         (package--add-to-archive-contents): Obey it (bug#14118).
9246 2013-04-03  Alan Mackenzie  <acm@muc.de>
9248         Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9249         Also adapt to the new values of element 7 of a parse state.
9251         * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9252         parameter `not-in-delimiter'.  Handle being inside comment opener.
9253         (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9254         character in case we're typing a '*' after a '/'.
9255         (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9256         instead by passing the parameter to c-state-pp-to-literal.
9258         * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9259         for elt. 7 of a parse state.
9261 2013-04-01  Paul Eggert  <eggert@cs.ucla.edu>
9263         Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9264         * international/latin1-disp.el, international/mule-util.el:
9265         * language/cyril-util.el, language/european.el, language/ind-util.el:
9266         * language/lao-util.el, language/thai.el, language/tibet-util.el:
9267         * language/tibetan.el, language/viet-util.el:
9268         Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9270 2013-04-01  Stefan Monnier  <monnier@iro.umontreal.ca>
9272         * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9273         (electric-pair-post-self-insert-function): Use it.
9274         (electric-pair-default-inhibit): New function, extracted from
9275         electric-pair-post-self-insert-function.
9277 2013-03-31  Roland Winkler  <winkler@gnu.org>
9279         * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9281 2013-03-31  Stefan Monnier  <monnier@iro.umontreal.ca>
9283         * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9285 2013-03-30  Fabián Ezequiel Gallina  <fabian@anue.biz>
9287         Un-indent after "pass" and "return" statements (Bug#13888)
9288         * progmodes/python.el (python-indent-block-enders): New var.
9289         (python-indent-calculate-indentation): Use it.
9291 2013-03-30  Michael Albinus  <michael.albinus@gmx.de>
9293         * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9294         defun.  Defining it as defalias could introduce too eager
9295         byte-compiler optimization.  (Bug#14030)
9297 2013-03-30  Chong Yidong  <cyd@gnu.org>
9299         * iswitchb.el (iswitchb-read-buffer): Fix typo.
9301 2013-03-30  Leo Liu  <sdl.web@gmail.com>
9303         * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9304         (kmacro-execute-from-register): Pass the keyboard macro to
9305         kmacro-call-macro or repeating won't work correctly.
9307 2013-03-30  Teodor Zlatanov  <tzz@lifelogs.com>
9309         * progmodes/subword.el: Back to using `forward-symbol'.
9311         * subr.el (forward-whitespace, forward-symbol)
9312         (forward-same-syntax): Move from thingatpt.el.
9314 2013-03-29  Leo Liu  <sdl.web@gmail.com>
9316         * kmacro.el (kmacro-to-register): New command.
9317         (kmacro-execute-from-register): New function.
9318         (kmacro-keymap): Bind to 'x'.  (Bug#14071)
9320 2013-03-29  Stefan Monnier  <monnier@iro.umontreal.ca>
9322         * mpc.el: Use defvar-local and setq-local.
9323         (mpc--proc-connect): Connection failures are not bugs.
9324         (mpc-mode-map): `follow-link' only applies to the buffer's content.
9325         (mpc-volume-map): Bind to the up-events.
9327 2013-03-29  Teodor Zlatanov  <tzz@lifelogs.com>
9329         * progmodes/subword.el (superword-mode): Use `forward-sexp'
9330         instead of `forward-symbol'.
9332 2013-03-28  Stefan Monnier  <monnier@iro.umontreal.ca>
9334         * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9335         (edebug--recursive-edit): Use it.
9336         (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9337         (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9339 2013-03-28  Leo Liu  <sdl.web@gmail.com>
9341         * vc/vc-bzr.el (vc-bzr-revert): Don't backup.  (Bug#14066)
9343 2013-03-27  Eli Zaretskii  <eliz@gnu.org>
9345         * facemenu.el (list-colors-callback): New defvar.
9346         (list-colors-redisplay): New function.
9347         (list-colors-display): Install list-colors-redisplay as the
9348         revert-buffer-function.  (Bug#14063)
9350 2013-03-27  Stefan Monnier  <monnier@iro.umontreal.ca>
9352         * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9353         and suffixes don't overlap (bug#14061).
9355         * case-table.el: Use lexical-binding.
9356         (case-table-get-table): New function.
9357         (get-upcase-table): Use it.  Mark as obsolete.  Adjust callers.
9359 2013-03-27  Teodor Zlatanov  <tzz@lifelogs.com>
9361         * progmodes/subword.el: Add `superword-mode' to do word motion
9362         over symbol_words (parallels and leverages `subword-mode' which
9363         does word motion inside MixedCaseWords).
9365 2013-03-27  Aidan Gauland  <aidalgol@no8wireless.co.nz>
9367         * eshell/em-unix.el: Move su and sudo to...
9368         * eshell/em-tramp.el: ...Eshell tramp module.
9370 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9372         * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9373         Change return value to be a sexp.  Delay `get-buffer' to after
9374         restoring the desktop (bug#13951).
9376 2013-03-26  Leo Liu  <sdl.web@gmail.com>
9378         * register.el: Move semantic tag handling back to
9379         cedet/semantic/senator.el.  (Bug#14052)
9381 2013-03-26  Stefan Monnier  <monnier@iro.umontreal.ca>
9383         * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9384         into the prompt either (bug#13963).
9386 2013-03-25  Stefan Monnier  <monnier@iro.umontreal.ca>
9388         * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9389         part of "(error-foo)".
9391 2013-03-24  Juri Linkov  <juri@jurta.org>
9393         * replace.el (list-matching-lines-prefix-face): New defcustom.
9394         (occur-1): Pass `list-matching-lines-prefix-face' to the function
9395         `occur-engine' if `face-differs-from-default-p' returns t.
9396         (occur-engine): Add `,' inside backquote construct to evaluate
9397         `prefix-face'.  Propertize the prefix with the `prefix-face' face.
9398         Pass `prefix-face' to the functions `occur-context-lines' and
9399         `occur-engine-add-prefix'.
9400         (occur-engine-add-prefix, occur-context-lines): Add optional arg
9401         `prefix-face' and propertize the prefix with `prefix-face'.
9402         (Bug#14017)
9404 2013-03-24  Leo Liu  <sdl.web@gmail.com>
9406         * nxml/rng-valid.el (rng-validate-while-idle)
9407         (rng-validate-quick-while-idle): Guard against deleted buffer.
9408         (Bug#13999)
9410         * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9411         is the last entry in kill-buffer-hook.
9413         * files.el (kill-buffer-hook): Doc fix.
9415 2013-03-23  Dmitry Gutov  <dgutov@yandex.ru>
9417         * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9418         Make it safe-local.
9420         * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9422 2013-03-23  Leo Liu  <sdl.web@gmail.com>
9424         * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9425         Remove.
9427         * nxml/rng-valid.el (rng-validate-mode)
9428         (rng-after-change-function, rng-do-some-validation):
9429         * nxml/rng-maint.el (rng-validate-buffer):
9430         * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9431         * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9432         * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9433         (nxml-extend-after-change-region): Use with-silent-modifications.
9435         * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9436         timer-idle-list.
9438         * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9439         (rng-next-error-1, rng-previous-error-1): Do not let-bind
9440         timer-idle-list.  (Bug#13999)
9442 2013-03-23  Juri Linkov  <juri@jurta.org>
9444         * info.el (info-index-match): New face.
9445         (Info-index, Info-apropos-matches): Add a nested subgroup to the
9446         main pattern and add text properties with the new face to matches
9447         in index entries relative to the beginning of the index entry.
9448         (Bug#14015)
9450 2013-03-21  Eric Ludlam  <zappo@gnu.org>
9452         * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9453         Inhibit read only while inserting objects.
9455 2013-03-22  Teodor Zlatanov  <tzz@lifelogs.com>
9457         * progmodes/cfengine.el: Update docs to mention
9458         `cfengine-auto-mode'.  Use \_> and \_< instead of \> and \< for
9459         symbol motion.  Remove "_" from the word syntax.
9461 2013-03-21  Teodor Zlatanov  <tzz@lifelogs.com>
9463         * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9464         syntax for both `cfengine2-mode' and `cfengine3-mode'.
9466 2013-03-20  Juri Linkov  <juri@jurta.org>
9468         * info.el (Info-next-reference-or-link)
9469         (Info-prev-reference-or-link): New functions.
9470         (Info-next-reference, Info-prev-reference): Use them.
9471         (Info-try-follow-nearest-node): Handle footnote navigation.
9472         (Info-fontify-node): Fontify footnotes.  (Bug#13989)
9474 2013-03-20  Stefan Monnier  <monnier@iro.umontreal.ca>
9476         * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9477         * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9479 2013-03-20  Paul Eggert  <eggert@cs.ucla.edu>
9481         Suppress unnecessary non-ASCII chatter during build process.
9482         * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9483         (batch-skkdic-convert): Suppress most of the chatter.
9484         It's not needed so much now that machines are faster,
9485         and its non-ASCII component was confusing; see Dmitry Gutov in
9486         <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9488 2013-03-20  Leo Liu  <sdl.web@gmail.com>
9490         * ido.el (ido-chop): Fix bug#10994.
9492 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
9494         * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9495         Remove vars.
9496         (whitespace-color-on, whitespace-color-off):
9497         Use `font-lock-fontify-buffer' (Bug#13817).
9499 2013-03-19  Stefan Monnier  <monnier@iro.umontreal.ca>
9501         * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9502         remapping in mode-line.
9503         (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9505 2013-03-19  Dmitry Gutov  <dgutov@yandex.ru>
9507         * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9508         value for `whitespace-line' face (Bug#13875).
9509         (whitespace-font-lock-keywords): Change description.
9510         (whitespace-color-on): Don't save `font-lock-keywords' value, save
9511         the constructed keywords instead.
9512         (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9514 2013-03-19  Leo Liu  <sdl.web@gmail.com>
9516         * progmodes/compile.el (compilation-display-error): New command.
9517         (compilation-mode-map, compilation-minor-mode-map): Bind it to
9518         C-o.  (Bug#13992)
9520 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
9522         * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9524 2013-03-18  Jan Djärv  <jan.h.d@swipnet.se>
9526         * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9528 2013-03-18  Michael Albinus  <michael.albinus@gmx.de>
9530         * net/tramp-compat.el (tramp-compat-user-error): New defun.
9532         * net/tramp-adb.el (tramp-adb-handle-shell-command):
9533         * net/tramp-gvfs.el (top):
9534         * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9535         (tramp-handle-shell-command): Use it.
9536         (tramp-dissect-file-name): Raise an error when hostname is a
9537         method name, and neither method nor user is specified.
9539         * net/trampver.el: Update release number.
9541 2013-03-18  Leo Liu  <sdl.web@gmail.com>
9543         Make sure eldoc can be turned off properly.
9544         * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9545         eldoc-mode.
9546         (eldoc-display-message-p): Revert last change.
9547         (eldoc-display-message-no-interference-p)
9548         (eldoc-print-current-symbol-info): Tweak.
9550 2013-03-18  Tassilo Horn  <tsdh@gnu.org>
9552         * doc-view.el (doc-view-new-window-function): Check the new window
9553         overlay's display property instead the char property of the
9554         buffer's first char.  Use `with-selected-window' instead of
9555         `save-window-excursion' with `select-window'.
9556         (doc-view-document->bitmap): Check the current doc-view overlay's
9557         display property instead the char property of the buffer's first char.
9559 2013-03-18  Paul Eggert  <eggert@cs.ucla.edu>
9561         Automate the build of ja-dic.el (Bug#13984).
9562         * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9563         from the input, rather than assume that it's been done for us by the
9564         SKK script unannotate.awk.  Switch ja-dic.el to UTF-8.  Don't put
9565         the current date into a ja-dic.el comment, as that complicates
9566         regression testing.
9568 2013-03-18  Stefan Monnier  <monnier@iro.umontreal.ca>
9570         * whitespace.el: Fix double evaluation.
9571         (whitespace-space, whitespace-hspace, whitespace-tab)
9572         (whitespace-newline, whitespace-trailing, whitespace-line)
9573         (whitespace-space-before-tab, whitespace-indentation)
9574         (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9575         obsolete defvars.
9576         (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9577         (whitespace-color-on): Use a single font-lock-add-keywords call.
9578         Fix double-evaluation of face variables.
9580 2013-03-17  Michael Albinus  <michael.albinus@gmx.de>
9582         * net/tramp-adb.el (tramp-adb-parse-device-names):
9583         Use `start-process' instead of `call-process'.  Otherwise, the
9584         function might be blocked under MS Windows.  (Bug#13299)
9586 2013-03-17  Leo Liu  <sdl.web@gmail.com>
9588         Extend eldoc to display info in the mode-line.  (Bug#13978)
9589         * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9590         (eldoc-mode-line-string): New variable.
9591         (eldoc-minibuffer-message): New function.
9592         (eldoc-message-function): New variable.
9593         (eldoc-message): Use it.
9594         (eldoc-display-message-p)
9595         (eldoc-display-message-no-interference-p):
9596         Support eldoc-post-insert-mode.
9598         * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9599         (eval-expression): Run it.
9601 2013-03-17  Roland Winkler  <winkler@gnu.org>
9603         * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9604         strings in the list of return values.
9606 2013-03-17  Jay Belanger  <jay.p.belanger@gmail.com>
9608         * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9609         radix before checking for HMS forms.
9611 2013-03-16  Leo Liu  <sdl.web@gmail.com>
9613         * progmodes/scheme.el: Add indentation and font-locking for λ.
9614         (Bug#13975)
9616 2013-03-16  Stefan Monnier  <monnier@iro.umontreal.ca>
9618         * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9619         token before point (bug#13942).
9621 2013-03-16  Leo Liu  <sdl.web@gmail.com>
9623         * thingatpt.el (end-of-sexp): Fix bug#13952.  Use syntax-after.
9625 2013-03-16  Eli Zaretskii  <eliz@gnu.org>
9627         * startup.el (command-line-normalize-file-name): Fix handling of
9628         backslashes in DOS and Windows file names.  Reported by Xue Fuqiao
9629         <xfq.free@gmail.com> in
9630         http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9632 2013-03-15  Michael Albinus  <michael.albinus@gmx.de>
9634         Sync with Tramp 2.2.7.
9636         * net/trampver.el: Update release number.
9638 2013-03-14  Tassilo Horn  <tsdh@gnu.org>
9640         * doc-view.el: Fix bug#13887.
9641         (doc-view-insert-image): Don't modify overlay associated to
9642         non-live windows, and implement horizontal centering of image in
9643         case it's smaller than the window.
9644         (doc-view-new-window-function): Force redisplay of new windows on
9645         doc-view buffers.
9647 2013-03-13  Karl Fogel  <kfogel@red-bean.com>
9649         * saveplace.el (save-place-alist-to-file): Don't sort
9650         `save-place-alist', just pretty-print it (bug#13882).
9652 2013-03-13  Michael Albinus  <michael.albinus@gmx.de>
9654         * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9655         Check whether `default-file-name-coding-system' is bound.
9656         It isn't in XEmacs.
9658 2013-03-13  Stefan Monnier  <monnier@iro.umontreal.ca>
9660         * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9661         backquotes for `obsolete' (bug#13929).
9663         * international/mule.el (find-auto-coding): Include file name in
9664         obsolescence warning (bug#13922).
9666 2013-03-12  Teodor Zlatanov  <tzz@lifelogs.com>
9668         * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9669         for CFEngine 3-specific indentation.
9670         (cfengine3-indent-line): Use it.  Fix up category regex.
9671         (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9673 2013-03-12  Stefan Monnier  <monnier@iro.umontreal.ca>
9675         * type-break.el (type-break-file-name):
9676         * textmodes/remember.el (remember-data-file):
9677         * strokes.el (strokes-file):
9678         * shadowfile.el (shadow-initialize):
9679         * saveplace.el (save-place-file):
9680         * ps-bdf.el (bdf-cache-file):
9681         * progmodes/idlwave.el (idlwave-config-directory):
9682         * net/quickurl.el (quickurl-url-file):
9683         * international/kkc.el (kkc-init-file-name):
9684         * ido.el (ido-save-directory-list-file):
9685         * emulation/viper.el (viper-custom-file-name):
9686         * emulation/vip.el (vip-startup-file):
9687         * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9688         * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9690 2013-03-12  Paul Eggert  <eggert@cs.ucla.edu>
9692         Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9693         * language/thai-word.el: Switch to UTF-8.
9695 See ChangeLog.16 for earlier changes.
9697 ;; Local Variables:
9698 ;; coding: utf-8
9699 ;; End:
9701   Copyright (C) 2011-2013 Free Software Foundation, Inc.
9703   This file is part of GNU Emacs.
9705   GNU Emacs is free software: you can redistribute it and/or modify
9706   it under the terms of the GNU General Public License as published by
9707   the Free Software Foundation, either version 3 of the License, or
9708   (at your option) any later version.
9710   GNU Emacs is distributed in the hope that it will be useful,
9711   but WITHOUT ANY WARRANTY; without even the implied warranty of
9712   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
9713   GNU General Public License for more details.
9715   You should have received a copy of the GNU General Public License
9716   along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.