1 2013-11-20 Leo Liu <sdl.web@gmail.com>
3 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
5 2013-11-19 Dan Nicolaescu <dann@gnu.org>
7 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
8 when rebase or bisect are in progress.
10 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
12 * filenotify.el (file-notify-add-watch): Doc fix.
14 2013-11-19 Leo Liu <sdl.web@gmail.com>
16 * obsolete/rcompile.el: Mark obsolete.
18 * progmodes/compile.el (compilation-start)
19 (compilation-goto-locus, compilation-find-file): Pass
20 no-display-ok and handle nil value from display-buffer.
23 * window.el (display-buffer-alist, display-buffer): Document the
24 new parameter no-display-ok.
26 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
28 * electric.el (electric-indent-mode-map): Remove.
29 (electric-indent-mode): Change the global-map instead (bug#15915).
31 * textmodes/text-mode.el (paragraph-indent-minor-mode):
34 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
36 * emacs-lisp/nadvice.el (remove-function): Align with
37 add-function's behavior.
39 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
40 (gdb--string-regexp): New constant.
41 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
42 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
43 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
45 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
46 Adjust use accordingly.
47 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
49 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
51 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
52 interpolation curlies (Bug#15914).
54 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
56 * calc/calc.el (calc-context-sensitive-enter): New variable.
57 (calc-enter): Use `calc-context-sensitive-enter'.
59 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
61 * progmodes/cfengine.el: Version bump.
62 (cfengine-cf-promises): New defcustom to locate cf-promises.
63 (cfengine3-vartypes): Add new "data" type.
64 (cfengine3--current-word): New function to get current name-like
66 (cfengine3--current-function): New function to look up a CFEngine
67 function's definition.
68 (cfengine3-format-function-docstring): New function.
69 (cfengine3-make-syntax-cache): New function.
70 (cfengine3-documentation-function): New function: ElDoc glue.
71 (cfengine3-completion-function): New function: completion glue.
72 (cfengine3-mode): Set `compile-command',
73 `eldoc-documentation-function', and add to
74 `completion-at-point-functions'.
76 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
78 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
79 `tramp-current-connection'.
81 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
83 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
84 nil/self/true/false with "end of symbol".
86 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
88 * subr.el (version-regexp-alist): Fix a typo.
90 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
92 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
93 "en_US.utf8" and "LC_CTYPE" to "".
94 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
95 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
97 2013-11-15 Leo Liu <sdl.web@gmail.com>
99 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
101 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
103 * progmodes/gud.el (ctl-x-map):
104 Remove C-x SPC binding. (Bug#12342)
105 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
107 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
109 * subr.el (version-regexp-alist):
110 Recognize hg, svn and darcs versions as snapshot versions.
112 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
113 Add the ability to always insert an utf-8 encoding comment.
114 Fix and simplify coding comment update logic.
116 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
118 * net/tramp-gvfs.el (top): Run init code only when
119 `tramp-gvfs-enabled' is not nil.
120 (tramp-gvfs-enabled): Check also :system bus.
122 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
124 Sync with upstream verilog-mode revision 78e66ba.
125 * progmodes/verilog-mode.el (verilog-end-of-defun)
126 (verilog-type-completion, verilog-get-list): Remove unused funcs.
127 (verilog-get-end-of-defun): Remove unused argument.
128 (verilog-comment-depth): Remove unused local `e'.
129 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
130 Don't pass arg to verilog-get-end-of-defun.
132 2013-11-14 Glenn Morris <rgm@gnu.org>
134 * obsolete/assoc.el (aget): Prefix dynamic variable.
136 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
138 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
140 * widget.el, hfy-cmap.el: Remove bogus package version number.
142 2013-11-13 Glenn Morris <rgm@gnu.org>
144 * replace.el (replace-eval-replacement):
145 Try to give more helpful error message. (Bug#15836)
147 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
148 (archive-7z-update): Avoid custom type mismatches.
150 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
152 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
154 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
155 address can be empty.
157 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
159 (tramp-gvfs-handle-write-region): Implement APPEND.
161 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
163 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
164 binary "|" operator and closing block args delimiter.
165 Remove FIXME comment referring to Ruby 1.8-only syntax.
166 (ruby-smie--implicit-semi-p): Not after "|" operator.
167 (ruby-smie--closing-pipe-p): New function.
168 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
169 (ruby-smie-rules): Indent after "|".
171 2013-11-12 Glenn Morris <rgm@gnu.org>
173 * ps-print.el (ps-face-attribute-list):
174 Handle anonymous faces. (Bug#15827)
176 2013-11-12 Martin Rudalics <rudalics@gmx.at>
178 * window.el (display-buffer-other-frame): Fix doc-string.
181 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
183 * subr.el (force-mode-line-update): Delete, move to buffer.c.
185 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
187 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
188 (tramp-sh-handle-file-local-copy): Don't write a message when
189 saving temporary files.
191 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
192 both directories are remote.
193 (tramp-smb-handle-directory-files): Do not return double entries.
194 Do not expand full file names.
195 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
196 (tramp-smb-handle-write-region): Implement APPEND.
197 (tramp-smb-get-stat-capability): Fix a stupid bug.
199 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
201 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
203 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
205 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
206 throwing error over malformed let/let* (bug#15814).
208 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
210 * iswitchb.el (iswitchb-mode): Mark obsolete.
212 2013-11-11 Glenn Morris <rgm@gnu.org>
214 * international/uni-bidi.el, international/uni-category.el:
215 * international/uni-name.el, international/uni-numeric.el:
216 Regenerate for Unicode 6.3.0.
218 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
220 * net/tramp.el (tramp-methods):
221 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
222 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
224 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
226 * progmodes/sh-script.el (sh-font-lock-keywords-var):
227 Force highlighting text after Summary keyword in doc face for rpm.
229 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
231 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
232 available and the word has no wildcards, append one to the grep pattern.
233 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
234 (ispell-complete-word): Call `ispell-lookup-words' with the value
235 independent of `ispell-look-p'.
237 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
239 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
241 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
244 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
246 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
247 (ruby-font-lock-keywords): Use backquote.
249 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
251 * progmodes/ruby-mode.el (ruby-smie--forward-token)
252 (ruby-smie--backward-token): Only consider full-string matches.
254 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
256 * faces.el (describe-face): Add distant-foreground.
258 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
260 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
261 Use `ruby-encoding-magic-comment-style' to control the
262 style of the auto-inserted encoding comment.
264 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
266 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
267 Use `smie-backward-sexp' with token argument.
269 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
271 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
272 Remove instrumentation code.
274 2013-11-08 Glenn Morris <rgm@gnu.org>
276 * progmodes/autoconf.el (autoconf-mode):
277 Tweak comment-start-skip. (Bug#15822)
279 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
281 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
283 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
285 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
287 * man.el (Man-start-calling): New macro, extracted from
288 Man-getpage-in-background.
289 (Man-getpage-in-background): Use it.
290 (Man-update-manpage): New command.
291 (Man-mode-map): Bind it.
293 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
295 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
296 of "and", "or", "&&" and "||".
297 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
298 argument. Prohibit opening curly brace because it could only be a
299 block opener in that position.
300 (ruby-smie--forward-token, ruby-smie--backward-token):
301 Separate "|" from "&" or "*" going after it. That can happen in block
303 (ruby-smie--indent-to-stmt): New function, seeks the end of
304 previous statement or beginning of buffer.
305 (ruby-smie-rules): Use it.
306 (ruby-smie-rules): Check if there's a ":" before a curly block
307 opener candidate; if there is, it's a hash.
309 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
311 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
312 (cl--block-wrapper): Fix last accidental change.
314 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
316 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
317 Instrument, in order to hunt failure on hydra.
319 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
321 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
322 malformed bindings form (bug#15814).
324 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
326 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
327 "." compared to " @ ". This incidentally fixes some indentation
329 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
330 (ruby-smie-grammar): New tokens: "and" and "or".
331 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
332 Exclude "and" and "or". Remove "do" in order to work around token
334 (ruby-smie-rules): Add all infix tokens. Handle the case of
337 2013-11-06 Glenn Morris <rgm@gnu.org>
339 * Makefile.in (setwins_almost, setwins_for_subdirs):
340 Avoid accidental matches.
342 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
344 * menu-bar.el (popup-menu): Use key-binding.
346 2013-11-06 Eli Zaretskii <eliz@gnu.org>
348 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
349 menus, support also the menus produced by minor modes.
352 2013-11-06 Leo Liu <sdl.web@gmail.com>
354 * thingatpt.el (thing-at-point-looking-at): Add optional arg
355 DISTANCE to bound the search. All uses changed. (Bug#15808)
357 2013-11-06 Glenn Morris <rgm@gnu.org>
359 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
360 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
361 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
363 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
365 * electric.el (electric-indent-just-newline): New command.
366 (electric-indent-mode-map): New keymap.
367 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
368 Re-add :group which weren't redundant.
370 * electric.el (electric-indent-local-mode): New minor mode.
371 (electric-indent-functions-without-reindent): New var.
372 (electric-indent-post-self-insert-function): Use it.
373 * emacs-lisp/gv.el (buffer-local-value): Add setter.
375 2013-11-05 Eli Zaretskii <eliz@gnu.org>
377 * international/quail.el (quail-help): Be more explicit about the
378 meaning of the labels shown on the keys. (Bug#15800)
380 * startup.el (normal-top-level): Load the subdirs.el files before
381 setting the locale environment. (Bug#15805)
383 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
385 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
386 via arguments so as to get the right ones (bug#15418).
388 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
390 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
392 Fix problems found while writing a test suite.
394 * net/tramp-compat.el (tramp-compat-load): New defun.
395 * net/tramp.el (tramp-handle-load): Use it.
397 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
398 "(numberp ok-if-already-exists)" correctly.
400 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
402 * international/characters.el (glyphless-char-display-control):
405 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
407 * progmodes/python.el (python-mode):
408 * progmodes/scheme.el (scheme-mode):
409 * progmodes/prolog.el (prolog-mode):
410 * progmodes/ruby-mode.el (ruby-mode):
411 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
412 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
414 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
416 * rect.el (rectangle--highlight-for-redisplay):
417 * emacs-lisp/smie.el (smie--next-indent-change):
418 Use buffer-chars-modified-tick.
420 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
422 * electric.el (electric-indent-post-self-insert-function):
423 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
425 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
427 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
429 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
431 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
434 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
436 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
438 * progmodes/python.el: Fix up last change.
439 (python-shell--save-temp-file): New function.
440 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
441 `string' comes from the current buffer.
442 (python-shell-send-string-no-output): Remove `msg' arg.
443 (python--use-fake-loc): New var.
444 (python-shell-buffer-substring): Obey it. Try to compensate for the
445 extra coding line added by python-shell--save-temp-file.
446 (python-shell-send-region): Use python-shell--save-temp-file and
447 python-shell-send-file directly. Add `nomain' argument.
448 (python-shell-send-buffer): Use python-shell-send-region.
449 (python-electric-pair-string-delimiter): New function.
450 (python-mode): Use it.
452 2013-11-04 Eli Zaretskii <eliz@gnu.org>
454 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
455 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
456 environment and decoding all of the default-directory's to here
458 (command-line): Decode also argv[0].
460 * loadup.el: Error out if default-directory is a multibyte string
463 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
465 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
467 * emacs-lisp/package.el (package-menu-mode)
468 (package-menu--print-info, package-menu--archive-predicate):
469 Add Archive column to package list.
471 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
473 Fix problems found while writing a test suite.
475 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
476 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
477 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
478 to nil when running original file name handler. Otherwise,
479 there are problems with constructs like "$$FOO".
481 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
484 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
486 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
488 * subr.el (version<, version<=, version=):
489 Update docstrings with information for snapshot versions.
491 * helpers.el: New library for misc helper functions.
492 (hash-table-keys): New function returning a list of hash keys.
493 (hash-table-values): New function returning a list of hash values.
495 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
497 * progmodes/ruby-mode.el (ruby-smie--forward-token)
498 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
500 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
502 * textmodes/fill.el (fill-single-char-nobreak-p): New function
503 checking whether point is after a 1-letter word.
505 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
507 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
508 Don't infloop when expanding region over `multiline' syntax-type that
509 begins a line (bug#15778).
511 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
513 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
514 Make it into a proper minor mode.
515 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
516 (rectangle-mark-mode-map): New keymap.
517 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
519 2013-11-04 Glenn Morris <rgm@gnu.org>
521 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
523 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
525 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
526 (ruby-smie-rules): Use smie-rule-parent instead.
528 * emacs-lisp/smie.el (smie-rule-parent): Always call
529 smie-indent-virtual rather than only for hanging tokens.
530 (smie--next-indent-change): New helper command.
532 2013-11-03 Glenn Morris <rgm@gnu.org>
534 * Makefile.in (abs_srcdir): Remove.
535 (emacs): Unset EMACSLOADPATH.
537 2013-11-02 Glenn Morris <rgm@gnu.org>
539 * Makefile.in (EMACS): Use a relative filename.
540 (abs_top_builddir): Remove.
541 (custom-deps, finder-data, autoloads): Use --chdir.
543 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
545 Use relative filenames in TAGS files.
546 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
547 (lisptagsfiles4, TAGS): Use relative file names.
549 (maintainer-clean): No more TAGS-LISP file.
551 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
552 (lisptagsfiles4): Use absolute filenames again.
553 (TAGS, TAGS-LISP): Not everything needs to run in one line.
554 Remove all *loaddefs files, not just the first. Remove esh-groups.
555 (maintainer-clean): Delete TAGS, TAGS-LISP.
557 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
559 * emacs-lisp/package.el (package-version-join):
560 Recognize snapshot versions.
562 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
564 * subr.el (version-regexp-alist): Add support for snapshot versions.
566 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
568 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
569 New function, replacement for `smie-rule-parent' for when we want to
570 skip over our direct parent if it's an assignment token..
571 (ruby-smie-rules): Use it.
573 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
575 * progmodes/ruby-mode.el Use `syntax-propertize-function'
576 unconditionally. Remove now unnecessary forward declarations.
577 Remove XEmacs-specific setup.
578 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
579 (ruby-font-lock-syntactic-keywords)
580 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
581 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
582 (ruby-here-doc-end-syntax): Remove.
583 (ruby-mode): Don't check whether `syntax-propertize-rules' is
586 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
588 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
590 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
592 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
593 table and abbrev table, `define-derived-mode' does that for us
596 2013-11-01 Glenn Morris <rgm@gnu.org>
598 * Makefile.in: Remove manual mh-e dependencies (writing .elc
599 files is atomic for some time, so no parallel compilation issues).
601 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
603 * faces.el (face-x-resources): Add :distant-foreground.
604 (region): Use :distant-foreground for gtk and ns.
606 2013-11-01 Tassilo Horn <tsdh@gnu.org>
608 Allow multiple bibliographies when BibLaTeX is used rather than
610 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
611 (reftex-locate-bibliography-files): Us it.
613 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
615 * image.el (image-type-header-regexps): Fix the 'pbm' part to
616 allow comments in pbm files.
618 * term/w32-win.el (dynamic-library-alist): Support newer versions
619 of libjpeg starting with v7: look only for the DLL from the
620 version against which Emacs was built.
621 Support versions of libpng beyond 1.4.x.
622 Support libtiff v4.x.
624 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
626 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
627 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
629 (ruby-deep-arglist): Add property :type.
631 2013-10-31 Glenn Morris <rgm@gnu.org>
633 * Makefile.in (custom-deps, finder-data): No need to setq the target
634 variables, we are in the right directory and the defaults work fine.
636 2013-10-30 Glenn Morris <rgm@gnu.org>
638 * Makefile.in (autoloads): Do not use abs_lisp.
640 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
641 `newline' does not respect `standard-output', so use `princ'.
643 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
645 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
646 * buff-menu.el (Buffer-menu--unmark): New function.
647 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
649 2013-10-30 Glenn Morris <rgm@gnu.org>
651 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
653 * emacs-lisp/package.el (lm-homepage): Declare.
655 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
658 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
660 * Makefile.in (finder-data, autoloads, update-subdirs)
661 (compile-main, compile-clean, compile-always, bootstrap-clean):
662 Check return value of cd.
663 (compile-calc): Remove.
665 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
667 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
669 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
670 (byte-compile-and-folded): New function.
671 (=, <, >, <=, >=): Use it.
673 * dos-w32.el (minibuffer-history-case-insensitive-variables)
674 (path-separator, null-device, buffer-file-coding-system)
675 (lpr-headers-switches): Check system-type before modifying them.
676 (find-buffer-file-type-coding-system): Mark obsolete.
677 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
678 find-file-not-found-set-buffer-file-coding-system.
679 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
680 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
681 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
682 (w32-direct-print-region-helper, w32-direct-print-region-function)
683 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
684 * startup.el (normal-top-level-add-subdirs-to-load-path):
685 * ps-print.el (ps-print-region-function):
686 * lpr.el (print-region-function): Use new name.
688 * subr.el (custom-declare-variable-early): Remove function.
689 (custom-declare-variable-list): Remove var.
690 (error, user-error): Remove `while' loop.
691 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
692 (user-emacs-directory-warning, locate-user-emacs-file):
694 * simple.el (read-quoted-char-radix, read-quoted-char):
695 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
697 * custom.el (custom-declare-variable-list): Don't process
698 custom-declare-variable-list.
700 * progmodes/python.el (python-shell-get-buffer): New function.
701 (python-shell-get-process): Use it.
702 (python-shell-send-string): Always use utf-8 and add a cookie to tell
703 Python which encoding was used. Don't split-string since we only care
704 about the first line. Return the temp-file, if applicable.
705 (python-shell-send-region): Tell compile.el how to turn locations in
706 the temp-file into locations in the source buffer.
708 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
710 * subr.el (undefined): Add missing behavior from the C code for
713 * rect.el: Use lexical-binding. Add new rectangular region support.
714 (rectangle-mark): New command.
715 (rectangle--region): New var.
716 (deactivate-mark-hook): Reset rectangle--region.
717 (rectangle--extract-region, rectangle--insert-for-yank)
718 (rectangle--highlight-for-redisplay)
719 (rectangle--unhighlight-for-redisplay): New functions.
720 (region-extract-function, redisplay-unhighlight-region-function)
721 (redisplay-highlight-region-function): Use them to handle
723 * simple.el (region-extract-function): New var.
724 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
725 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
726 (kill-region): Replace obsolete `yank-handler' arg with `region'.
727 (copy-region-as-kill, kill-ring-save): Add `region' argument.
728 (redisplay-unhighlight-region-function)
729 (redisplay-highlight-region-function): New vars.
730 (redisplay--update-region-highlight): New function.
731 (pre-redisplay-function): Use it.
732 (exchange-point-and-mark): Don't deactivate the mark before
733 reactivate-it anyway.
734 * comint.el (comint-kill-region): Remove yank-handler argument.
735 * delsel.el (delete-backward-char, backward-delete-char-untabify)
736 (delete-char): Remove property, since it's now part of their
738 (self-insert-iso): Remove property since this command doesn't exist.
740 * emacs-lisp/package.el (package--download-one-archive)
741 (describe-package-1): Don't query the user about final newline.
743 2013-10-29 Daniel Colascione <dancol@dancol.org>
745 * net/tramp.el (tramp-methods): Document new functionality.
746 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
747 tramp-hostname-checker if method provides one instead of scanning
748 argument list for "%h" to decide hostname acceptability.
750 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
752 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
753 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
754 Handle COPY-CONTENTS. (Bug#15737)
756 2013-10-28 Daiki Ueno <ueno@gnu.org>
759 (epa-file-cache-passphrase-for-symmetric-encryption):
760 Document that this option has no effect with GnuPG 2.0 (bug#15552).
762 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
764 * image.el (defimage):
765 (image-load-path): Doc fixes.
767 2013-10-27 Alan Mackenzie <acm@muc.de>
769 Indent statements in macros following "##" correctly.
770 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
771 Modify the "#" arm of a cond form to handle "#" and "##" operators.
773 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
775 * linum.el (linum-update-window): Fix boundary test (bug#13446).
777 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
779 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
780 after `=' is probably a new expression.
782 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
784 * man.el (man-imenu-title): New option.
785 (Man-mode-map): Add menu. (Bug#15722)
786 (Man-mode): Add imenu to menu.
788 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
790 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
791 specific in what the first arg can be: a non-keyword word,
792 string/regexp/percent literal opener, opening paren, or unary
793 operator followed directly by word.
795 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
797 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
798 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
799 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
800 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
801 Remove vars, they do not apply any more.
802 (prolog-mode-abbrev-table): Remove redundant declaration.
803 (prolog-upper-case-string, prolog-lower-case-string): Remove.
804 (prolog-use-smie): Remove.
805 (prolog-smie-rules): Add indentation rule for the if-then-else layout
806 supported by prolog-electric-if-then-else-flag.
807 (prolog-mode-variables, prolog-menu): Use setq-local.
808 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
809 Remove binding to `Backspace' since this key doesn't exist anyway.
810 Remove bindings for electric self-inserting keys.
811 (prog-mode): Assume it's defined.
812 (prolog-post-self-insert): New function.
813 (prolog-mode): Use it.
814 (prolog-indent-line, prolog-indent-level)
815 (prolog-find-indent-of-matching-paren)
816 (prolog-indentation-level-of-line, prolog-goto-comment-column)
817 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
818 (prolog-goto-next-paren, prolog-in-string-or-comment)
819 (prolog-tokenize, prolog-inside-mline-comment)
820 (prolog-find-start-of-mline-comment): Remove functions.
821 (prolog-find-unmatched-paren, prolog-clause-end)
822 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
823 (prolog-electric--if-then-else): Rename from
824 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
825 (prolog-tokenize-searchkey): Remove const.
826 (prolog-clause-info): Use forward-sexp.
827 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
828 (prolog-electric-if-then-else): Remove commands.
829 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
830 for use in post-self-insert-hook.
831 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
832 for use in post-self-insert-hook.
833 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
834 for use in post-self-insert-hook.
835 (prolog-electric--underscore): Rename from prolog-electric--underscore;
836 adapt it for use in post-self-insert-hook.
838 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
840 * emacs-lisp/ert.el (ert-run-tests-interactively):
841 Use `completing-read'. (Bug#9756)
843 2013-10-25 Eli Zaretskii <eliz@gnu.org>
845 * simple.el (line-move): Call line-move-1 instead of
846 line-move-visual when the current window hscroll is zero, but
847 temporary-goal-column indicates we will need to hscroll as result
848 of the movement. (Bug#15712)
850 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
852 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
853 capitalization. Use :visible instead of :active.
854 Fix `ruby-indent-exp' reference. Add menu items for the generic
855 commands that are used with SMIE.
856 (ruby-do-end-to-brace): Insert space after `{'.
858 2013-10-25 John Anthony <john@jo.hnanthony.com>
860 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
862 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
864 2013-10-25 Glenn Morris <rgm@gnu.org>
866 * vc/vc.el (vc-print-log): Don't use a working revision unless
867 one was explicitly specified. (Bug#15322)
869 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
871 * subr.el (add-to-list): Preserve return value in compiler-macro
874 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
876 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
877 result. Ask user to retry using '-all' flag. (Bug#15701)
879 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
881 * emacs-lisp/smie.el: New smie-config system.
882 (smie-config): New defcustom.
883 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
884 (smie-config-guess, smie-config-save): New commands.
885 (smie-config--mode-local, smie-config--buffer-local)
886 (smie-config--trace, smie-config--modefuns): New vars.
887 (smie-config--advice, smie-config--mode-hook)
888 (smie-config--setter, smie-config-local, smie-config--get-trace)
889 (smie-config--guess-value, smie-config--guess): New functions.
890 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
891 text properties. Treat "string fence" syntax like string syntax.
893 * progmodes/sh-script.el (sh-use-smie): Change default.
894 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
895 (sh-var-value): Simplify by CSE.
896 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
897 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
899 (sh-guess-basic-offset): Use cl-incf.
900 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
902 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
904 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
907 2013-10-24 Glenn Morris <rgm@gnu.org>
909 * Makefile.in (abs_top_srcdir): Remove.
910 (update-subdirs): Use relative path to update-subdirs.
912 2013-10-24 Eli Zaretskii <eliz@gnu.org>
914 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
915 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
916 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
917 Call unmsys--file-name before expand-file-name, not after it.
919 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
921 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
922 (ert-test-skipped): New error.
923 (ert-skip, ert-stats-skipped): New defuns.
924 (ert--skip-unless): New macro.
925 (ert-test-skipped): New struct.
926 (ert--run-test-debugger, ert-test-result-type-p)
927 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
928 (ert--stats-set-test-and-result, ert-char-for-test-result)
929 (ert-string-for-test-result, ert-run-tests-batch)
930 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
931 Handle skipped tests. (Bug#9803)
933 2013-10-24 Glenn Morris <rgm@gnu.org>
935 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
937 * Makefile.in (abs_top_srcdir): New, set by configure.
938 (update-subdirs): Correct build-aux location.
940 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
942 * vc/vc.el (vc-print-root-log): Always set `default-directory'
943 value, whether we could auto-deduce `backend', or not.
945 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
946 with parameters" example. Simplify the "is it block or is it
947 hash" check, but also make it more thorough.
949 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
951 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
953 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
955 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
958 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
961 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
963 * progmodes/compile.el (compilation-directory-matcher)
964 (compilation-page-delimiter):
965 Support GNU Make-4.0 directory quoting. (Bug#15678)
967 2013-10-23 Leo Liu <sdl.web@gmail.com>
969 * ido.el (ido-tidy): Handle read-only text.
971 2013-10-23 Glenn Morris <rgm@gnu.org>
973 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
974 (emacs, compile, compile-always):
975 Quote entities that might contain whitespace.
976 (custom-deps, finder-data, autoloads): Use abs_lisp.
977 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
978 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
979 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
981 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
983 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
984 Use `following-char'.
986 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
988 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
989 * progmodes/ruby-mode.el (ruby-smie-rules):
990 Remove corresponding workaround. Fix indentation rule of ";" so it
991 also applies when ";" is the parent.
993 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
995 * frame.el (display-screens, display-pixel-height)
996 (display-pixel-width, display-mm-width, display-backing-store)
997 (display-save-under, display-planes, display-color-cells)
998 (display-visual-class, display-monitor-attributes-list):
999 Mention the optional ‘display’ argument in doc strings.
1001 2013-10-22 Michael Gauland <mikelygee@amuri.net>
1003 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
1004 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
1006 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1008 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
1009 TODO. Add "." after " @ ".
1010 (ruby-smie--at-dot-call): New function. Checks if point at method
1011 call with explicit target.
1012 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
1013 to the method name tokens when it precedes them.
1014 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
1015 (ruby-smie-rules): Add rule for indentation before and after "."
1018 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
1020 * textmodes/remember.el (remember-diary-extract-entries):
1023 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
1026 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
1028 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
1029 (ruby-smie--implicit-semi-p): Add new operator chars.
1031 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
1033 (ruby-smie--args-separator-p): Check that there's no newline
1034 between method call and its arguments.
1036 2013-10-20 Alan Mackenzie <acm@muc.de>
1038 Allow comma separated lists after Java "implements".
1040 * progmodes/cc-engine.el (c-backward-over-enum-header):
1042 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
1043 from a "disallowed" list in enum fontification.
1045 2013-10-20 Johan Bockgård <bojohan@gnu.org>
1047 * startup.el (default-frame-background-mode): Remove unused defvar.
1049 * progmodes/verilog-mode.el (verilog-mode): Don't set
1050 comment-indent-function globally.
1052 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
1054 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
1055 Move Info menu item creation to ns-win.el.
1057 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
1060 * menu-bar.el: Move GNUStep specific menus...
1062 * term/ns-win.el (ns-initialize-window-system): ... to here.
1064 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
1066 * simple.el (newline): Only run post-self-insert-hook when
1067 called interactively.
1069 2013-10-19 Johan Bockgård <bojohan@gnu.org>
1071 * icomplete.el (icomplete-with-completion-tables): Add :version.
1073 2013-10-19 Alan Mackenzie <acm@muc.de>
1075 Fix fontification bugs with constructors and const.
1077 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
1078 CASE 2) Remove the check for the absence of a suffix construct
1079 after a function declaration with only types (no identifiers) in
1080 the parentheses. Also, accept a function declaration with just a
1081 type inside the parentheses, if this type can be positively
1082 recognised as such, or if a prefix keyword like "explicit" nails
1083 down the construct as a declaration.
1085 2013-10-19 Eli Zaretskii <eliz@gnu.org>
1087 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
1088 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
1089 the problem whereby selecting a menu item that leads to a
1090 minibuffer prompt moves the cursor out of the minibuffer window,
1091 making it hard to type at the prompt. Suggested by Stefan Monnier
1092 <monnier@iro.umontreal.ca>.
1094 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
1096 * menu-bar.el: Don't make Services menu.
1098 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1100 * ffap.el: Handle "/usr/include/c++/<version>" directories.
1101 (ffap-alist): Use ffap-c++-mode for c++-mode.
1102 (ffap-c++-path): New variable.
1103 (ffap-c++-mode): New function.
1105 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
1107 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
1109 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
1111 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
1112 introduced on 2013-09-08, which results in an infinite loop
1113 requesting a password.
1115 2013-10-18 Glenn Morris <rgm@gnu.org>
1117 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
1119 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
1121 Sync with upstream verilog-mode revision 1a6ecec7.
1122 * progmodes/verilog-mode.el (verilog-mode-version): Update.
1123 (verilog-mode-release-date): Remove.
1124 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
1125 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
1126 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
1127 (verilog-auto-tieoff-ignore-regexp)
1128 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
1129 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
1130 (verilog-signals-with, verilog-dir-cache-preserving)
1131 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
1133 (verilog-case-fold): New option, to control case folding in
1134 regexp searches, bug597.
1135 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
1136 (verilog-string-match-fold, verilog-in-paren-count)
1137 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
1138 (verilog-at-close-struct-p): New functions.
1139 (verilog-beg-block-re-ordered, verilog-extended-case-re)
1140 (verilog-forward-sexp, verilog-set-auto-endcomments):
1141 (verilog-leap-to-case-head): Handle "unique0" case.
1142 (verilog-in-constraint-re): New constant.
1143 (verilog-keywords, verilog-type-font-keywords):
1144 Add some SystemVerilog 1800-2012 keywords.
1145 (verilog-label-be): Remove unimplemented argument, bug669.
1146 (verilog-batch-execute-func): When batch expanding clear
1147 create-lockfiles to prevent spurious user locks when a file ends
1149 (verilog-calculate-indent, verilog-calc-1)
1150 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1151 (verilog-do-indent): Fix indentation of nested constraints
1153 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1154 (verilog-auto-inst-param): Use verilog-string-match-fold.
1155 (verilog-read-inst-module-matcher):
1156 Fix AUTOINST on gate primitives with #1.
1157 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1158 Reads all user-defined typed variables.
1159 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1160 (verilog-signals-matching-regexp)
1161 (verilog-signals-not-matching-regexp, verilog-auto):
1162 Respect verilog-case-fold.
1163 (verilog-diff-report): Fix line count.
1164 (verilog-auto-assign-modport): Remove unused local `modi'.
1165 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1166 better handle multidimensional arrays.
1167 Fix packed array ports misadding bit index in AUTOINST, bug637.
1168 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1169 to not double-declare existing outputs and inputs, respectively.
1170 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1171 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1172 (verilog-sk-uvm-component): New skeleton.
1173 (verilog-submit-bug-report): Add verilog-case-fold,
1174 remove verilog-mode-release-date.
1176 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1178 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1181 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1183 * textmodes/remember.el (remember): set buffer-offer-save in
1184 remember buffers (bug#13566).
1186 2013-10-18 Daniel Colascione <dancol@dancol.org>
1188 When evaluating forms in ielm, direct standard output to ielm
1189 buffer. Add new ielm-return-for-effect command. Remove trailing
1190 whitespace throughout.
1192 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1193 (ielm-return-for-effect): New command.
1194 (ielm-send-input): Accept optional `for-effect' parameter.
1195 (ielm-eval-input): Accept optional `for-effect' parameter.
1196 Bind `standard-output' to stream we create using
1197 `ielm-standard-output-impl'. Suppress printing result when
1199 (ielm-standard-output-impl): New function.
1200 (inferior-emacs-lisp-mode): Explain new features in documentation.
1202 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1206 * net/tramp.el (tramp-debug-message): Do not check for connection
1208 (tramp-message): Use "vector" connection property.
1210 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1211 (tramp-equal-remote, tramp-eshell-directory-change)
1212 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1213 (tramp-adb-handle-rename-file)
1214 * net/tramp-cmds.el (tramp-list-remote-buffers)
1215 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1216 * net/tramp-compat.el (tramp-compat-process-running-p)
1217 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1218 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1219 (tramp-gvfs-handle-rename-file)
1220 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1221 (tramp-set-file-uid-gid)
1222 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1223 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1226 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1227 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1228 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1229 (tramp-gw-open-network-stream): Suppress unrelated traces.
1231 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1232 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1233 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1234 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1235 connection property.
1237 * net/tramp-cache.el (top): Suppress traces when reading
1240 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1241 Refactor common code. Improve debug message.
1242 (tramp-maybe-open-connection)
1243 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1244 connection buffer too early.
1246 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1247 from `tramp-smb-actions-with-acl'.
1248 (tramp-smb-actions-set-acl): New defconst.
1249 (tramp-smb-handle-copy-directory)
1250 (tramp-smb-action-get-acl): New defun, renamed from
1251 `tramp-smb-action-with-acl'.
1252 (tramp-smb-action-set-acl): New defun.
1253 (tramp-smb-handle-set-file-acl): Rewrite.
1255 2013-10-17 Glenn Morris <rgm@gnu.org>
1257 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1259 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1261 * skeleton.el (skeleton-newline): Remove.
1262 (skeleton-internal-1): Use (insert "\n") instead.
1264 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1267 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1268 forward-sexp-function while we redo its job (bug#15613).
1270 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1272 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1273 represented by lists.
1275 2013-10-16 Glenn Morris <rgm@gnu.org>
1277 * tmm.el (tmm--history): New dynamic variable.
1278 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1280 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1282 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1283 (tramp-smb-errors): Add error messages.
1284 (tramp-smb-actions-with-acl): New defconst.
1285 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1286 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1287 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1288 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1289 (tramp-smb-get-stat-capability): Fix tests.
1291 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1293 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1296 2013-10-16 Glenn Morris <rgm@gnu.org>
1298 * ansi-color.el (ansi-color-drop-regexp):
1299 Add 1J, 1K, 2K. (Bug#15617)
1301 * files.el (hack-local-variables--warned-lexical): New.
1302 (hack-local-variables):
1303 Warn about misplaced lexical-binding. (Bug#15616)
1305 * net/eww.el (eww-render): Always set eww-current-url,
1306 and update header line. (Bug#15622)
1307 (eww-display-html): ... Rather than just doing it here.
1309 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1311 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1312 menu navigations commands.
1314 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1316 * progmodes/subword.el (subword-capitalize): Be careful when
1317 the search for [[:alpha:]] fails (bug#15580).
1319 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1321 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1322 to commands that scroll the menu.
1324 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1326 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1327 Handle methods ending with `?' and `!'.
1329 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1331 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1332 `japanese-cp932' to `cp932' to fix the problem where saving a
1333 source file written in Shift_JIS twice would end up having
1334 `coding: japanese-cp932' which Ruby could not recognize.
1335 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1336 in `ruby-encoding-map'.
1337 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1338 doesn't need to be explicitly declared in magic comment.
1339 (ruby-encoding-map): Add type declaration for better customize UI.
1341 2013-10-13 Glenn Morris <rgm@gnu.org>
1343 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1344 Occur buffers are read-only. http://bugs.debian.org/720775
1346 * emacs-lisp/authors.el (authors-fixed-entries):
1347 Comment out old alpha stuff.
1349 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1351 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1352 to `after-save-hook' instead of `before-save-hook'.
1353 (ruby-mode-set-encoding): Use the value of coding system used to
1354 write the file. Call `basic-save-buffer-1' after modifying the
1357 2013-10-13 Alan Mackenzie <acm@muc.de>
1359 Fix indentation/fontification of Java enum with
1360 "implements"/generic.
1362 * progmodes/cc-engine.el (c-backward-over-enum-header):
1363 Extracted from the three other places and enhanced to handle generics.
1364 (c-inside-bracelist-p): Uses new function above.
1365 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1367 (c-font-lock-enum-tail): Uses new function above.
1369 2013-10-13 Kenichi Handa <handa@gnu.org>
1371 * international/mule-cmds.el (select-safe-coding-system): Remove a
1372 superfluous condition in chekcing whether a coding system is safe
1375 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1377 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1379 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1381 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1383 2013-10-13 Glenn Morris <rgm@gnu.org>
1385 * menu-bar.el (menu-bar-update-buffers):
1386 Unify Buffers menu prompt string. (Bug#15576)
1388 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1390 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1392 (authors-fixed-entries): Use accented form of name.
1394 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1396 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1397 method calls (bug#15594).
1398 (ruby-smie--args-separator-p): New function.
1399 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1400 recognize paren-free method calls.
1402 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1403 internals of universal-argument.
1405 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1407 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1408 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1409 dropped menu on second mouse click on the menu bar.
1411 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1413 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1414 (explicit-shell-file-name): Declare.
1415 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1416 (sh-completion-at-point-function): New function.
1418 (sh-smie--keyword-p): Remove unused argument.
1419 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1421 (sh-set-shell): Always setup SMIE, even if we use the
1422 old indentation code.
1424 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1426 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1428 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1429 predicate would return nil are almost non-existent.
1430 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1432 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1433 cache also after commands that modify the buffer but don't move
1436 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1438 * env.el (substitute-env-in-file-name): New function.
1439 (substitute-env-vars): Extend the meaning of the optional arg.
1441 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1443 * term/w32-win.el (dynamic-library-alist): Define separate lists
1444 of GIF DLLs for versions before and after 5.0.0 of giflib.
1447 2013-10-10 João Távora <joaotavora@gmail.com>
1449 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1450 not locked, use last revision and current source as
1451 defaults. (Bug#15569)
1453 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1455 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1458 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1460 * window.el (pop-to-buffer-same-window): Fix doc-string.
1463 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1465 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1467 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1469 * calendar/icalendar.el (icalendar-import-file):
1470 Fix interactive spec. (Bug#15482)
1472 2013-10-10 Glenn Morris <rgm@gnu.org>
1474 * desktop.el (desktop-save): Default to saving in .emacs.d,
1475 since PWD is no longer in desktop-path by default. (Bug#15319)
1477 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1478 now that text mode has a menu with the same entry.
1479 (menu-bar-text-mode-auto-fill): Remove now unused func.
1480 * textmodes/text-mode.el (text-mode-map):
1481 Use auto-fill help text from menu-bar.el.
1483 2013-10-10 John Anthony <john@jo.hnanthony.com>
1485 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1487 2013-10-09 Juri Linkov <juri@jurta.org>
1489 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1490 instead of this-command-keys. Add universal-argument-more and
1491 universal-argument-minus to the list of prefix commands. (Bug#15568)
1493 2013-10-09 Glenn Morris <rgm@gnu.org>
1495 * vc/vc-svn.el (vc-svn-create-repo):
1496 Expand paths in file://... url. (Bug#15446)
1498 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1500 (authors): Remove unused local variables.
1502 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1504 * profiler.el: Create a more coherent calltree from partial backtraces.
1505 (profiler-format): Hide the tail with `invisible' so that C-s can still
1506 find the hidden elements.
1507 (profiler-calltree-depth): Don't recurse so enthusiastically.
1508 (profiler-function-equal): New hash-table-test.
1509 (profiler-calltree-build-unified): New function.
1510 (profiler-calltree-build): Use it.
1511 (profiler-report-make-name-part): Indent the calltree less.
1512 (profiler-report-mode): Add visibility specs for profiler-format.
1513 (profiler-report-expand-entry, profiler-report-toggle-entry):
1514 Expand the whole subtree when provided with a prefix arg.
1516 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1518 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1520 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1521 hanging iuwu-mod token.
1522 (ruby-smie--forward-token): Do not include a dot after a token in
1524 (ruby-smie--backward-token): Likewise.
1526 2013-10-08 Juri Linkov <juri@jurta.org>
1528 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1529 to isearch-other-control-char.
1530 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1531 and isearch-post-command-hook to post-command-hook.
1532 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1533 and isearch-post-command-hook from post-command-hook.
1534 (isearch-unread-key-sequence)
1535 (isearch-reread-key-sequence-naturally)
1536 (isearch-lookup-scroll-key, isearch-other-control-char)
1537 (isearch-other-meta-char): Remove functions.
1538 (isearch-pre-command-hook, isearch-post-command-hook):
1539 New functions based on isearch-other-meta-char rewritten
1540 relying on the new behavior of overriding-terminal-local-map
1541 that does not replace the local keymaps any more. (Bug#15200)
1543 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1545 Support menus on text-mode terminals.
1546 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1549 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1551 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1552 Move here from mouse.el.
1553 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1555 (tty-menu-navigation-map): New map for TTY menu navigation.
1557 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1559 * frame.el (display-mouse-p): Report text-mode mouse as available
1561 (display-popup-menus-p): Report availability if mouse is
1562 available; don't condition on window-system.
1564 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1565 (tty-menu-selected-face): New faces.
1567 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1569 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1570 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1571 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1572 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1574 (lisp-mode-variables): New `elisp' argument.
1575 (emacs-lisp-mode): Use it.
1576 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1577 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1579 * indent.el: Use lexical-binding.
1580 (indent-region): Add progress reporter.
1581 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1583 (indent--next-tab-stop): New function to implement this behavior.
1584 (tab-to-tab-stop, move-to-tab-stop): Use it.
1586 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1588 * indent.el (indent-rigidly--current-indentation): New function.
1589 (indent-rigidly-map): New var.
1590 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1592 2013-10-08 Bastien Guerry <bzg@gnu.org>
1594 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1596 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * progmodes/perl-mode.el: Use lexical-binding.
1599 Remove redundant :group args.
1600 (perl-nochange): Change default to be closer to other major modes's
1602 (perl-indent-line): Don't consider text on current line as a
1603 valid beginning of function from which to indent.
1605 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1606 with more than one argument (bug#15538).
1608 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1610 * vc/pcvs.el: Use lexical-binding.
1611 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1612 environment of `eval'.
1613 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1614 than a list of expressions. Adjust callers.
1615 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1617 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1619 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1620 case of the dot in a chained method call being on the following line.
1622 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * electric.el (electric-indent-inhibit): New var.
1625 (electric-indent-post-self-insert-function): Use it.
1626 * progmodes/python.el (python-mode): Set it.
1628 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1631 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1633 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1634 (css-mode): Use electric-indent-chars.
1636 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1637 (font-lock-beg, font-lock-end): Move before first use.
1638 (nxml-mode): Use syntax-propertize-function.
1639 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1640 (nxml-extend-after-change-region): Remove.
1641 * nxml/xmltok.el: Use lexical-binding.
1642 (xmltok-save): Use `declare'.
1643 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1644 * nxml/nxml-util.el: Use lexical-binding.
1645 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1647 * nxml/nxml-ns.el: Use lexical-binding.
1648 (nxml-ns-save): Use `declare'.
1649 (nxml-ns-prefixes-for): Avoid add-to-list.
1650 * nxml/rng-match.el: Use lexical-binding.
1651 (rng--ipattern): Use cl-defstruct.
1652 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1653 (rng-cons-group-after, rng-subst-group-after)
1654 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1655 Use closures instead of `(lambda...).
1657 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1659 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1662 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1663 Use `tramp-handle-insert-file-contents'.
1664 (tramp-gvfs-handle-insert-file-contents): Remove function.
1666 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1667 Use `save-restriction' in order to keep markers.
1669 * net/trampver.el: Update release number.
1671 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1673 * progmodes/compile.el (compilation-parse-errors):
1674 Use compilation--put-prop.
1675 (compilation--ensure-parse): Check compilation-multiline.
1677 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1679 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1682 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1684 * progmodes/ruby-mode.el: Fix recently added tests.
1685 (ruby-smie-grammar): Add - and +.
1686 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1687 (ruby-smie--backward-id): New functions.
1688 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1689 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1692 2013-10-07 Leo Liu <sdl.web@gmail.com>
1694 * register.el (register-preview-delay)
1695 (register-preview-functions): New variables.
1696 (register-read-with-preview, register-preview)
1697 (register-describe-oneline): New functions.
1698 (point-to-register, window-configuration-to-register)
1699 (frame-configuration-to-register, jump-to-register)
1700 (number-to-register, view-register, insert-register)
1701 (copy-to-register, append-to-register, prepend-to-register)
1702 (copy-rectangle-to-register): Use register-read-with-preview to
1703 read register. (Bug#15525)
1705 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1707 * net/network-stream.el (network-stream-open-starttls): Don't add
1708 --insecure if it's already present, because that gnutls-cli
1709 rejects getting that parameter twice.
1711 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1713 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1716 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1718 * newcomment.el (comment-use-global-state): Change default value
1719 to t, mark obsolete (Bug#15251).
1720 (comment-beginning): In addition to `comment-to-syntax', check the
1721 value of `comment-use-global-state'.
1723 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1725 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1726 (ruby-comment-column): Follow the global default, by default.
1727 (ruby-smie-grammar): Add assignment syntax.
1728 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1729 open-paren, a comma, or a \.
1730 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1731 and line continuations.
1732 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1733 followed by implicit semi-colons. Add rule for string concatenation
1734 and for indentation at BOB.
1735 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1737 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1738 calling next-sexp, since next-token may have skipped chars which
1739 next-sexp doesn't know should be skipped!
1741 2013-10-05 Leo Liu <sdl.web@gmail.com>
1743 * progmodes/octave.el (octave-send-region):
1744 Call compilation-forget-errors.
1746 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1748 * vc/vc-svn.el (vc-svn-find-admin-dir):
1749 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1750 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1751 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1752 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1754 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1756 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1758 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1760 * subr.el (read-passwd): Hide chars even when called within a context
1761 where after-change-functions is disabled (bug#15501).
1762 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1763 until we removed ourself from overriding-terminal-local-map.
1765 2013-10-04 Leo Liu <sdl.web@gmail.com>
1767 * progmodes/octave.el (inferior-octave-mode):
1768 Call compilation-forget-errors.
1770 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1772 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1774 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1776 * net/secrets.el (secrets-create-collection): Add optional
1777 argument ALIAS. Use proper Label keyword. Append ALIAS as
1778 dbus-call-method argument. (Bug#15516)
1780 2013-10-04 Leo Liu <sdl.web@gmail.com>
1782 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1783 (inferior-octave-compilation-font-lock-keywords): New variables.
1784 (compilation-error-regexp-alist)
1785 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1786 (inferior-octave-mode): Use compilation-shell-minor-mode.
1788 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1790 * minibuffer.el (completion--replace): Be careful that `end' might be
1793 2013-10-03 Daiki Ueno <ueno@gnu.org>
1795 Add support for package signature checking.
1796 * emacs-lisp/package.el (url-http-file-exists-p)
1797 (epg-make-context, epg-context-set-home-directory)
1798 (epg-verify-string, epg-context-result-for)
1799 (epg-signature-status, epg-signature-to-string)
1800 (epg-check-configuration, epg-configuration)
1801 (epg-import-keys-from-file): Declare.
1802 (package-check-signature): New user option.
1803 (package-unsigned-archives): New user option.
1804 (package-desc): Add `signed' field.
1805 (package-load-descriptor): Set `signed' field if .signed file exists.
1806 (package--archive-file-exists-p): New function.
1807 (package--check-signature): New function.
1808 (package-install-from-archive): Check package signature.
1809 (package--download-one-archive): Check archive signature.
1810 (package-delete): Remove .signed file.
1811 (package-import-keyring): New command.
1812 (package-refresh-contents): Import default keyring.
1813 (package-desc-status): Add "unsigned" status.
1814 (describe-package-1, package-menu--print-info)
1815 (package-menu-mark-delete, package-menu--find-upgrades)
1816 (package-menu--status-predicate): Support "unsigned" status.
1818 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1820 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1821 the new compilation scheme using the new byte-codes.
1823 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1824 (byte-pophandler): New byte codes.
1825 (byte-goto-ops): Adjust accordingly.
1826 (byte-compile--use-old-handlers): New var.
1827 (byte-compile-catch): Use new byte codes depending on
1828 byte-compile--use-old-handlers.
1829 (byte-compile-condition-case--old): Rename from
1830 byte-compile-condition-case.
1831 (byte-compile-condition-case--new): New function.
1832 (byte-compile-condition-case): New function that dispatches depending
1833 on byte-compile--use-old-handlers.
1834 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1837 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1838 Optimize under `condition-case' and `catch' if
1839 byte-compile--use-old-handlers is nil.
1840 (disassemble-offset): Handle new bytecodes.
1842 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1844 * subr.el (error): Use `declare'.
1845 (decode-char, encode-char): Use advertised-calling-convention instead
1846 of the docstring to discourage use of the `restriction' arg.
1848 2013-10-03 Daiki Ueno <ueno@gnu.org>
1850 * epg.el (epg-verify-file): Add a comment saying that it does not
1851 notify verification error as a return value nor a signal.
1852 (epg-verify-string): Ditto.
1854 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1856 * progmodes/compile.el (compilation-start): Try globbing the arg to
1859 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1861 Sync with Tramp 2.2.8.
1863 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1864 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1865 * net/trampver.el: Update release number.
1867 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1869 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1870 and default-process-coding-system for darwin only.
1872 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1874 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1876 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1878 * vc/vc-git.el (vc-git-grep): Disable pager.
1880 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1882 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1883 Use :url instead of :homepage, as per
1884 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1886 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1887 non-nil, use `syntax-ppss' (Bug#15251).
1889 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1891 * progmodes/octave.el (inferior-octave-startup-file):
1892 Prefer ~/.emacs.d/init_octave.m.
1894 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1896 * emacs-lisp/package.el (package-desc-from-define):
1897 Accept additional arguments as plist, convert them to an alist and store
1898 them in the `extras' slot.
1899 (package-generate-description-file): Convert extras alist back to
1900 plist and append to the `define-package' form arguments.
1901 (package--alist-to-plist): New function.
1902 (package--ac-desc): Add `extras' slot.
1903 (package--add-to-archive-contents): Check if the archive-contents
1904 vector is long enough, and if it is, pass its `extras' slot value
1905 to `package-desc-create'.
1906 (package-buffer-info): Call `lm-homepage', pass the returned value
1907 to `package-desc-from-define'.
1908 (describe-package-1): Render the homepage button (Bug#13291).
1910 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1911 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1913 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1915 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1916 and default-process-coding-system to utf-8-unix (Bug#15402).
1918 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1920 * subr.el (looking-back): Do not recommend using looking-back.
1922 2013-09-28 Alan Mackenzie <acm@muc.de>
1924 Fix indentation/fontification of Java enum with "implements".
1926 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1927 regexp which matches "implements", etc., in Java.
1928 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1929 specifier clauses coming after "enum".
1930 * progmodes/cc-fonts.el (c-font-lock-declarations)
1931 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1934 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1936 * faces.el (region): Change ns_selection_color to
1937 ns_selection_fg_color, add ns_selection_bg_color.
1939 2013-09-28 Leo Liu <sdl.web@gmail.com>
1941 * progmodes/octave.el (inferior-octave-completion-table)
1942 (inferior-octave-completion-at-point): Minor tweaks.
1944 * textmodes/ispell.el (ispell-lookup-words): Rename from
1945 lookup-words. (Bug#15460)
1946 (lookup-words): Obsolete.
1947 (ispell-complete-word, ispell-command-loop): All uses changed.
1949 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1951 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1952 (octave-mode-menu): Add octave-send-buffer.
1953 (octave-send-buffer): New function.
1955 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1957 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1959 (octave-mode-menu): Add octave-lookfor.
1960 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1962 (octave-lookfor): New function.
1964 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1966 * emacs-lisp/cl-macs.el:
1967 (cl--loop-destr-temps): Remove.
1968 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1970 (cl--loop-set-iterator-function): New function.
1971 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1972 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1973 Bind `it' with `let' instead of substituting it with `cl-subst'.
1974 (cl--unused-var-p): New function.
1975 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1976 Eliminate some unused variable warnings (bug#15326).
1978 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1980 * doc-view.el (doc-view-scale-reset): Rename from
1981 `doc-view-reset-zoom-level'.
1982 (doc-view-scale-adjust): New command.
1983 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1984 `doc-view-scale-adjust'.
1986 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1988 * doc-view.el (doc-view-reset-zoom-level): New command.
1989 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1990 zoom commands (bug#15466).
1992 2013-09-26 Kenichi Handa <handa@gnu.org>
1994 * international/quail.el (quail-help): Make it not a command.
1996 2013-09-26 Leo Liu <sdl.web@gmail.com>
1998 * minibuffer.el (completion-all-sorted-completions): Make args
1999 optional as they are.
2001 2013-09-25 Daniel Colascione <dancol@dancol.org>
2003 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
2004 specs are and that they're not evaluated.
2006 2013-09-24 Sam Steingold <sds@gnu.org>
2008 * midnight.el (clean-buffer-list-kill-regexps)
2009 (clean-buffer-list-kill-buffer-names): Update for the new Man
2010 buffer naming which includes the object name.
2012 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * eshell/esh-cmd.el (eshell--sep-terms): New var.
2015 (eshell-parse-command, eshell-parse-pipeline): Use it since
2016 eshell-separate-commands requires a dynamic scoped var.
2017 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
2019 2013-09-23 Leo Liu <sdl.web@gmail.com>
2021 * autoinsert.el (auto-insert-alist): Make the value of
2022 lexical-binding match its file setting.
2024 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
2026 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
2028 * autoarg.el (autoarg-kp-digit-argument):
2029 * electric.el (Electric-command-loop):
2030 * kmacro.el (kmacro-step-edit-insert):
2031 Do not set universal-argument-num-events.
2033 2013-09-22 Leo Liu <sdl.web@gmail.com>
2035 * files.el (interpreter-mode-alist): Add octave.
2037 2013-09-21 Alan Mackenzie <acm@muc.de>
2039 C++: fontify identifier in declaration following "public:" correctly.
2040 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
2041 to match "public", etc.
2042 (c-decl-prefix-re): Add ":" into the C++ value.
2043 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
2044 bit. Add a check for a ":" preceded by "public", etc.
2046 2013-09-21 Eli Zaretskii <eliz@gnu.org>
2048 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
2049 recognized by GDB 7.5 and later.
2051 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
2053 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
2055 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * subr.el (internal--call-interactively): New const.
2058 (called-interactively-p): Use it (bug#3984).
2060 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
2062 * vc/pcvs.el (cvs-mode-ignore):
2063 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
2064 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
2066 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
2068 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
2069 (eshell-ls-orig-insert-directory): Remove.
2070 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
2071 (eshell-ls-use-in-dired): Use advice-add/remove.
2072 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
2073 Add `orig-fun' arg for use in :around advice.
2074 Make it check (redundantly) eshell-ls-use-in-dired.
2076 2013-09-19 Glenn Morris <rgm@gnu.org>
2078 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
2080 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
2082 * emacs-lisp/eieio.el (class-parent): Undo previous change.
2084 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
2086 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
2087 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
2088 (tramp-get-remote-python): New defuns.
2089 (tramp-get-remote-uid-with-perl)
2090 (tramp-get-remote-gid-with-perl): New defuns. Perl code
2091 contributed by yary <not.com@gmail.com> (tiny change).
2092 (tramp-get-remote-uid-with-python)
2093 (tramp-get-remote-gid-with-python): New defuns. Python code
2094 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
2095 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
2097 2013-09-19 Glenn Morris <rgm@gnu.org>
2099 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
2101 * eshell/em-unix.el (eshell-remove-entries):
2102 Rename argument to avoid name-clash with global `top-level'.
2104 * eshell/esh-proc.el (eshell-kill-process-function):
2105 Remove eshell-reset-after-proc from eshell-kill-hook if present.
2106 (eshell-reset-after-proc): Remove unused arg `proc'.
2108 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
2109 (directory-files-and-attributes): Mark unused arg.
2111 * eshell/em-unix.el (eshell-remove-entries):
2112 Remove unused arg `path'. Update callers.
2114 * eshell/em-hist.el (eshell-hist-parse-arguments):
2115 Remove unused arg `silent'. Update callers.
2117 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
2118 Fix (f)boundp mix-up.
2120 * eshell/em-smart.el (eshell-smart-scroll-window)
2121 (eshell-disable-after-change):
2122 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
2124 2013-09-18 Alan Mackenzie <acm@muc.de>
2126 Fix fontification of type when followed by "const".
2127 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
2128 "known" types from fontification.
2130 2013-09-18 Glenn Morris <rgm@gnu.org>
2132 * emacs-lisp/chart.el (x-display-color-cells): Declare.
2133 (chart-face-list): Drop Emacsen without display-color-p.
2135 * net/eww.el (libxml-parse-html-region): Declare.
2136 (eww-display-html): Explicit error if no libxml2 support.
2138 * doc-view.el (doc-view-mode): Silence --without-x compilation.
2140 * image.el (image-type-from-buffer, image-multi-frame-p):
2141 Remove --without-x warning/error.
2143 * mouse.el (mouse-yank-primary):
2144 * term.el (term-mouse-paste):
2145 Reorder to silence --without-x compilation.
2147 * mpc.el (doc-view-mode): Silence --without-x compilation.
2149 * mail/rmailmm.el (rmail-mime-set-bulk-data):
2150 Silence --without-x compilation.
2152 * progmodes/gud.el (gud-find-file, gud-mode):
2153 Silence --without-x compilation.
2154 (tooltip-mode): Declare.
2156 * wdired.el (dired-backup-overwrite): Remove declaration.
2157 (wdired-mode-map): Add doc string.
2159 * custom.el (x-get-resource): Declare.
2161 * eshell/em-glob.el (ange-cache):
2162 * eshell/em-unix.el (ange-cache): Declare.
2164 * faces.el (x-display-list, x-open-connection, x-get-resource):
2167 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2168 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2171 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2173 * net/gnutls.el (gnutls-log-level): Declare.
2175 * net/shr.el (image-size, image-animate): Declare.
2177 * simple.el (font-info): Declare.
2179 * subr.el (x-popup-dialog): Declare.
2181 * term/common-win.el (x-select-enable-primary)
2182 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2185 * term/ns-win.el (x-handle-args): Declare.
2187 * term/x-win.el (x-select-enable-clipboard): Declare.
2189 * term/w32-win.el (create-default-fontset): Declare.
2191 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2194 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2195 (fit-frame-to-buffer): Explicit error if --without-x.
2196 (mouse-autoselect-window-select): Silence compiler.
2198 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2200 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2201 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2202 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2203 * eshell/esh-util.el (eshell-sublist):
2204 Remove unused local variables.
2206 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2208 * textmodes/two-column.el: Make 2C-split work for --without-x.
2209 (scroll-bar-columns): Autoload.
2210 (top-level): Require fringe when compiling.
2212 2013-09-18 Leo Liu <sdl.web@gmail.com>
2214 * subr.el (add-hook): Robustify to handle closure as well.
2216 2013-09-17 Glenn Morris <rgm@gnu.org>
2218 * simple.el (messages-buffer-mode-map): Unbind "g".
2220 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2222 * help-mode.el (help-mode-finish): Use derived-mode-p.
2223 Remove obsolete highlighting.
2225 * play/life.el (life-mode): Use define-derived-mode. Derive from
2227 (life): Let-bind inhibit-read-only.
2228 (life-setup): Avoid `setq'. Use `life-mode'.
2230 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2231 which should not be needed any more.
2232 (package-menu-refresh, package-menu-describe-package): Use user-error.
2234 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2235 (eshell-post-rewrite-command-hook): Make obsolete.
2236 (eshell-parse-command): Simplify.
2237 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2238 (eshell--cmd): Declare.
2239 (eshell-parse-pipeline): Remove unused var `final-p'.
2240 Pass a dynvar to eshell-post-rewrite-command-hook.
2241 Implement the new eshell-post-rewrite-command-function.
2242 (eshell-invoke-directly): Remove unused arg `input'.
2243 * eshell/esh-io.el (eshell-io-initialize):
2244 Use eshell-post-rewrite-command-function (bug#15399).
2245 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2246 adjust to new calling convention.
2247 (eshell-create-handles): Rename args to avoid clashing with dynvar
2250 2013-09-17 Glenn Morris <rgm@gnu.org>
2252 * simple.el (messages-buffer-mode): New major mode.
2253 (messages-buffer): New function.
2254 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2255 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2256 (ert-run-test): Use `messages-buffer' function.
2257 (ert--force-message-log-buffer-truncation): Ignore read-only.
2258 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2259 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2261 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2263 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2265 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2267 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2269 * icomplete.el (icomplete-in-buffer): New var.
2270 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2271 vars and replace them with functions.
2272 (icomplete-minibuffer-setup): Adjust accordingly.
2273 (icomplete--completion-table, icomplete--completion-predicate)
2274 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2276 (icomplete-forward-completions, icomplete-backward-completions)
2277 (icomplete-simple-completing-p, icomplete-exhibit)
2278 (icomplete-completions): Use them.
2279 (icomplete--in-region-buffer): New var.
2280 (icomplete--in-region-setup): New function.
2281 (icomplete-mode): Use it.
2283 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2285 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2286 return args and options.
2287 (eshell-eval-using-options): Use the new return value of
2288 eshell--do-opts to set the options's vars in their scope.
2289 (eshell--set-option): Rename from eshell-set-option.
2291 (eshell--process-option): Rename from eshell-process-option.
2293 (eshell--process-args): Use an `opt-vals' alist to store the options's
2294 values during their processing and return them additionally to the
2297 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2299 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2300 continuation character an operator, as far as indentation is
2301 concerned (Bug#15369).
2303 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2305 * window.el (window--state-put-2): Don't process buffer state
2306 when buffer doesn't exist any more (Bug#15382).
2308 2013-09-15 Glenn Morris <rgm@gnu.org>
2310 * eshell/em-unix.el (eshell/rm):
2311 Make -f ignore missing files. (Bug#15373)
2313 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2314 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2315 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2317 2013-09-14 Glenn Morris <rgm@gnu.org>
2319 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2321 2013-09-13 Glenn Morris <rgm@gnu.org>
2323 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2324 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2326 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2328 * frame.el (x-focus-frame): Mark as declared in frame.c.
2330 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2332 * ls-lisp.el: Use advice-add.
2333 (original-insert-directory): Remove.
2334 (ls-lisp--insert-directory): Rename from insert-directory; add
2335 `orig-fun' argument.
2336 (insert-directory): Advise.
2338 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2340 * term.el (term-emulate-terminal): Decode the command string
2341 before passing it to term-command-hook. (Bug#15337)
2343 2013-09-13 Glenn Morris <rgm@gnu.org>
2345 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2347 * eshell/esh-ext.el (eshell-search-path): Declare.
2349 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2350 Otherwise an error occurs if eshell-dirs module not loaded.
2352 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2354 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2356 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2357 `tramp-check-proper-host'. Check for a valid method name.
2359 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2360 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2361 * net/tramp-sh.el (tramp-maybe-open-connection):
2362 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2364 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2365 also for hash values.
2367 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2369 * term/ns-win.el (parameters): Don't declare as dynamic.
2370 (before-make-frame-hook): Don't add ineffective function.
2372 * eshell/*.el: Use lexical-binding (bug#15231).
2374 2013-09-12 Kenichi Handa <handa@gnu.org>
2376 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2378 2013-09-12 Glenn Morris <rgm@gnu.org>
2380 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2381 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2383 * subr.el (do-after-load-evaluation): Also give compiler warnings
2384 when obsolete files are used (except by obsolete files).
2386 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2387 in the status output, assume `filename' is the first. (Bug#15322)
2389 * vc/vc.el (vc-deduce-fileset): Doc fix.
2391 * calc/calc-help.el (Info-goto-node):
2392 * progmodes/cperl-mode.el (Info-find-node):
2393 * vc/ediff.el (Info-goto-node): Update declarations.
2395 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2397 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2398 (vc-bzr-pull): Require vc-dispatcher.
2399 * vc/vc-git.el (vc-compilation-mode): Declare.
2400 (vc-git-pull): Require vc-dispatcher.
2402 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2404 * progmodes/octave.el (help-button-action): Declare.
2406 * shell.el (shell-directory-tracker): Output error as a message
2407 rather than just returning it as a string.
2408 (shell-process-pushd): Remove useless use of message.
2410 * dframe.el (dframe-timer-fn):
2411 * files.el (dir-locals-read-from-file):
2412 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2414 * reveal.el (reveal-post-command):
2415 * saveplace.el (load-save-place-alist-from-file):
2416 * shell.el (shell-resync-dirs):
2417 * w32-common-fns.el (x-get-selection-value):
2418 * emacs-lisp/copyright.el (copyright-find-copyright):
2419 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2420 * emulation/tpu-edt.el (tpu-copy-keyfile):
2421 * play/bubbles.el (bubbles--mark-neighbourhood):
2422 * progmodes/executable.el
2423 (executable-make-buffer-file-executable-if-script-p):
2424 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2426 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2428 Cleanup Eshell to rely less on dynamic scoping.
2429 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2430 last-value, and ext-command here. Bind `args' closer to `body'.
2431 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2432 (eshell--args): Declare new dynamic var.
2433 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2434 last-value, and ext-command. Pass `args' to `body'.
2435 (eshell-process-args): Bind eshell--args.
2436 (eshell-set-option): Use eshell--args.
2437 * eshell/eshell.el (eshell): Use derived-mode-p.
2438 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2439 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2440 (eshell-glob-function): Declare.
2441 * eshell/esh-util.el: Require cl-lib.
2442 (eshell-read-hosts-file): Avoid add-to-list.
2443 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2445 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2447 (eshell/diff): Remove unused var `err'.
2448 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2450 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2451 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2453 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2454 Move declaration before first use.
2455 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2456 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2459 2013-09-12 Glenn Morris <rgm@gnu.org>
2461 * term/ns-win.el (global-map): Remove binding for ispell-next,
2462 deleted 1999-05-29. (Bug#15357)
2464 2013-09-11 Glenn Morris <rgm@gnu.org>
2466 * echistory.el (electric-command-history): Remove call to deleted func.
2468 * play/landmark.el (landmark-mode): Fix typos.
2470 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2471 Check cvs-sort-ignore-file is bound.
2473 * savehist.el: No need for cl when compiling on Emacs.
2475 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2477 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2479 (eshell-self-insert-command, eshell-send-invisible):
2480 Remove unused argument.
2481 (eshell-handle-control-codes): Remove unused var `orig'.
2482 Avoid delete-backward-char.
2484 * files.el (set-auto-mode): Simplify a bit further.
2486 2013-09-11 Glenn Morris <rgm@gnu.org>
2488 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2489 (set-auto-mode): Don't regexp-quote elements.
2490 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2491 * progmodes/cc-mode.el (interpreter-mode-alist):
2492 * progmodes/ruby-mode.el (interpreter-mode-alist):
2493 Revert previous change.
2495 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2497 * play/snake.el (snake-mode):
2498 * play/mpuz.el (mpuz-mode):
2499 * play/landmark.el (lm-mode):
2500 * play/blackbox.el (blackbox-mode):
2501 * play/5x5.el (5x5-mode):
2502 * obsolete/options.el (Edit-options-mode):
2503 * net/quickurl.el (quickurl-list-mode):
2504 * net/newst-treeview.el (newsticker-treeview-mode):
2505 * mail/rmailsum.el (rmail-summary-mode):
2506 * mail/mspools.el (mspools-mode):
2507 * locate.el (locate-mode):
2508 * ibuffer.el (ibuffer-mode):
2509 * emulation/ws-mode.el (wordstar-mode):
2510 * emacs-lisp/debug.el (debugger-mode):
2511 * array.el (array-mode):
2512 * net/eudc.el (eudc-mode): Use define-derived-mode.
2513 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2514 Move initialization into declaration.
2515 (mairix-searches-mode): Use define-derived-mode.
2516 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2517 (eudc-edit-hotlist): Use dolist.
2518 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2519 (Man-mode): Use define-derived-mode.
2520 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2521 (Info-edit-mode): Use define-derived-mode.
2522 (Info-cease-edit): Use Info-mode.
2523 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2525 (eshell-mode): Use define-derived-mode.
2526 * chistory.el (command-history-mode-map): Rename from
2527 command-history-map.
2528 (command-history-mode): Use define-derived-mode.
2529 (Command-history-setup): Remove function.
2530 * calc/calc.el (calc-trail-mode-map): New var.
2531 (calc-trail-mode): Use define-derived-mode.
2532 (calc-trail-buffer): Set calc-main-buffer manually.
2533 * bookmark.el (bookmark-insert-annotation): New function.
2534 (bookmark-edit-annotation): Use it.
2535 (bookmark-edit-annotation-mode): Make it a proper major mode.
2536 (bookmark-send-edited-annotation): Use derived-mode-p.
2537 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2538 closer to its ideal place. Use \' to match EOS.
2540 * profiler.el (profiler-calltree-find): Use function-equal.
2542 2013-09-10 Glenn Morris <rgm@gnu.org>
2544 * files.el (interpreter-mode-alist): Convert to regexps.
2545 (set-auto-mode): Adapt for this. (Bug#15306)
2546 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2547 Comment out unused variable.
2548 * progmodes/cc-mode.el (interpreter-mode-alist):
2549 * progmodes/python.el (interpreter-mode-alist):
2550 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2551 * progmodes/sh-script.el (sh-set-shell):
2552 No longer use interpreter-mode-alist to get list of shells.
2554 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2556 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2558 * simple.el: Use set-temporary-overlay-map for universal-argument.
2559 (universal-argument-map): Don't use default-bindings (bug#15317).
2560 Bind switch-frame explicitly. Replace universal-argument-minus with
2561 a conditional binding.
2562 (universal-argument-num-events, saved-overriding-map): Remove.
2563 (restore-overriding-map): Remove.
2564 (universal-argument--mode): Rename from save&set-overriding-map,
2566 (universal-argument, universal-argument-more, negative-argument)
2567 (digit-argument): Adjust accordingly.
2568 (universal-argument-minus): Remove.
2569 (universal-argument-other-key): Remove.
2571 * subr.el (with-demoted-errors): Add `format' argument.
2573 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2575 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2576 `tramp-cleanup-connection'.
2578 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2579 parameters KEEP-DEBUG and KEEP-PASSWORD.
2581 * net/tramp.el (tramp-file-name-handler):
2582 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2583 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2584 (tramp-maybe-open-connection):
2585 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2586 Use `tramp-cleanup-connection'.
2588 * net/tramp-sh.el (tramp-maybe-open-connection):
2589 Catch 'uname-changed inside the progress reporter.
2591 2013-09-10 Glenn Morris <rgm@gnu.org>
2593 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2595 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2596 returns "alternate access method" in mode (eg "-rw-r--r--.").
2598 2013-09-08 Glenn Morris <rgm@gnu.org>
2600 * saveplace.el (load-save-place-alist-from-file):
2601 Demote errors. (Bug#15305)
2603 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2605 Improve compatibility with older Emacsen, and XEmacs.
2607 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2608 only if it is bound. It isn't for XEmacs.
2609 (with-tramp-progress-reporter): Do not let-bind `result'.
2610 This yields to scoping errors in XEmacs.
2611 (tramp-handle-make-auto-save-file-name): New function, moved from
2614 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2615 for `make-auto-save-file-name'.
2616 (tramp-adb--gnu-switches-to-ash):
2617 Use `tramp-compat-replace-regexp-in-string'.
2619 * net/tramp-cache.el (tramp-cache-print): Call
2620 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2622 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2623 bound. It isn't for XEmacs.
2625 * net/tramp-compat.el (tramp-compat-copy-file):
2626 Catch `wrong-number-of-arguments' error.
2627 (tramp-compat-replace-regexp-in-string): New defun.
2629 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2630 for `make-auto-save-file-name'.
2631 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2633 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2634 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2635 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2637 * net/tramp-gw.el (tramp-gw-open-network-stream):
2638 Use `tramp-compat-replace-regexp-in-string'.
2640 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2641 Call `tramp-handle-make-auto-save-file-name'.
2642 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2643 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2644 (tramp-sh-file-inotifywait-process-filter):
2645 Use `tramp-compat-replace-regexp-in-string'.
2646 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2648 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2649 for `make-auto-save-file-name'.
2650 (tramp-smb-handle-copy-directory):
2651 Call `tramp-compat-replace-regexp-in-string'.
2652 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2653 (tramp-smb-handle-copy-file): Improve error message.
2654 (tramp-smb-handle-rename-file): Rename directly only in case
2655 `newname' does not exist yet. This is a restriction of smbclient.
2656 (tramp-smb-maybe-open-connection): Rerun the function only when
2657 `auth-sources' is non-nil.
2659 2013-09-08 Kenichi Handa <handa@gnu.org>
2661 * international/characters.el: Set category "^" (Combining) for
2664 2013-09-07 Alan Mackenzie <acm@muc.de>
2666 Correctly fontify Java class constructors.
2667 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2669 (c-recognize-typeless-decls): Set the Java value to t.
2670 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2671 While handling a "(", add a check for, effectively, Java, and handle a
2672 "typeless" declaration there.
2674 2013-09-07 Roland Winkler <winkler@gnu.org>
2676 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2677 field subtitle for entry type book.
2679 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2681 * minibuffer.el: Make minibuffer-complete call completion-in-region
2682 rather than other way around.
2683 (completion--some, completion-pcm--find-all-completions):
2684 Don't delay signals when debugging.
2685 (minibuffer-completion-contents): Beware fields within the
2686 minibuffer contents.
2687 (completion-all-sorted-completions): Use defvar-local.
2688 (completion--do-completion, completion--cache-all-sorted-completions)
2689 (completion-all-sorted-completions, minibuffer-force-complete):
2690 Add args `beg' and `end'.
2691 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2692 (minibuffer-complete): Use completion-in-region.
2693 (completion-complete-and-exit): New fun, extracted from
2694 minibuffer-complete-and-exit.
2695 (minibuffer-complete-and-exit): Use it.
2696 (completion--complete-and-exit): Rename from
2697 minibuffer--complete-and-exit.
2698 (completion-in-region--single-word): New function, extracted from
2699 minibuffer-complete-word.
2700 (minibuffer-complete-word): Use it.
2701 (display-completion-list): Make `common-substring' argument obsolete.
2702 (completion--in-region): Call completion--in-region-1 instead of
2703 minibuffer-complete.
2704 (completion-help-at-point): Pass boundaries to
2705 minibuffer-completion-help as args rather than via an overlay.
2706 (completion-pcm--string->pattern): Use `any-delim'.
2707 (completion-pcm--optimize-pattern): New function.
2708 (completion-pcm--pattern->regex): Handle `any-delim'.
2709 * icomplete.el (icomplete-forward-completions)
2710 (icomplete-backward-completions, icomplete-completions):
2711 Adjust calls to completion-all-sorted-completions and
2712 completion--cache-all-sorted-completions.
2713 (icomplete-with-completion-tables): Default to t.
2714 * emacs-lisp/crm.el (crm--current-element): Rename from
2715 crm--select-current-element. Don't put an overlay but return the
2717 (crm--completion-command): Take two new args to bind to the boundaries.
2718 (crm-completion-help): Adjust accordingly.
2719 (crm-complete): Use completion-in-region.
2720 (crm-complete-word): Use completion-in-region--single-word.
2721 (crm-complete-and-exit): Use completion-complete-and-exit.
2723 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2725 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2728 2013-09-06 Juri Linkov <juri@jurta.org>
2730 * info.el (Info-display-images-node): When image file doesn't exist
2731 display text version of the image if it's provided in the Info file.
2732 Otherwise, display the location of missing image from SRC attribute.
2733 Add help-echo text property from ALT attribute. (Bug#15279)
2735 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2737 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2738 (edit-abbrevs-mode): Use define-derived-mode.
2740 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2741 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2743 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2744 Use define-derived-mode.
2746 * epg.el (epg-start-encrypt): Minor CSE simplification.
2748 2013-09-06 William Xu <william.xwl@gmail.com>
2750 * arc-mode.el: Add support for 7za (bug#15264).
2751 (archive-7z-program): New var.
2752 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2753 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2754 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2756 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2760 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2761 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2762 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2763 (tramp-postfix-host-format, tramp-file-name-regexp)
2764 (tramp-completion-file-name-regexp)
2765 (tramp-completion-dissect-file-name)
2766 (tramp-handle-substitute-in-file-name): Remove 'url case.
2767 (tramp-file-name-regexp-url)
2768 (tramp-completion-file-name-regexp-url): Remove constants.
2770 2013-09-06 Glenn Morris <rgm@gnu.org>
2772 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2774 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2776 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2777 keywords" below "here-doc beginnings" (Bug#15270).
2779 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2781 * subr.el (pop): Use `car-safe'.
2782 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2783 to detect unused `pop' return value.
2785 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2787 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2788 (python-fill-string): Remove unused var `marker'.
2789 (python-skeleton-add-menu-items): Remove unused var `items'.
2791 * international/mule-cmds.el: Require CL.
2792 (find-coding-systems-for-charsets): Avoid add-to-list.
2793 (sanitize-coding-system-list): New function, extracted from
2794 select-safe-coding-system-interactively.
2795 (select-safe-coding-system-interactively): Use it.
2796 (read-input-method-name): Accept symbols for `default'.
2798 * emacs-lisp/advice.el (defadvice): Add indent rule.
2800 2013-09-05 Daniel Hackney <dan@haxney.org>
2804 * net/browse-url.el:
2807 * net/eudcb-ldap.el:
2820 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2821 byte compiler. Remove some unused let-bound variables.
2823 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2825 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2826 a "ref-cell", since it gets better optimized (bug#14883).
2828 2013-09-05 Glenn Morris <rgm@gnu.org>
2830 * progmodes/cc-awk.el (c-forward-sws): Declare.
2832 2013-09-04 Glenn Morris <rgm@gnu.org>
2834 * generic-x.el [rul-generic-mode]: Require cc-mode.
2835 (c++-mode-syntax-table): Declare.
2836 (rul-generic-mode-syntax-table): Init in the defvar.
2838 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2840 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2841 (vc-do-command, vc-set-async-update):
2842 * vc/vc-mtn.el (vc-mtn-dir-status):
2843 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2844 (vc-hg-pull, vc-hg-merge-branch):
2845 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2846 (vc-git-merge-branch):
2847 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2848 (vc-cvs-dir-status-files):
2849 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2850 (vc-bzr-dir-status-files):
2851 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2852 * vc/vc-annotate.el: Use lexical-binding.
2853 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2854 (vc-sentinel-movepoint): Declare.
2855 (vc-annotate): Don't use `goto-line'.
2856 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2857 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2858 (vc-sentinel-movepoint): Declare.
2859 * vc/vc-svn.el: Use lexical-binding.
2860 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2862 * vc/vc-rcs.el: Use lexical-binding.
2864 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2865 `deleted'. Don't drop errors silently.
2867 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2869 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2871 * vc/vc.el (vc-ignore): Rewrite.
2872 (vc-default-ignore): New function.
2873 (vc-default-ignore-completion-table): Use find-ignore-file.
2875 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2876 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2877 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2878 Remove. Most code moved to vc.el.
2880 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2882 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2883 * net/tramp-smb.el (tramp-smb-get-file-entries):
2884 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2885 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2887 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2889 (eww-change-select): Remove unused var `properties'.
2890 (eww-make-unique-file-name): Remove unused var `base'.
2892 * finder.el (finder-compile-keywords): Don't mess with windows.
2894 * calculator.el (calculator-funcall): Fix typo in last change.
2896 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2898 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2899 <pkg>-autoloads.el file stop us.
2901 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2902 warnings, and factor out common code.
2904 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2906 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2907 two-character operators and whether the character preceding them
2908 changes their meaning (Bug#15208).
2910 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2912 Format code sent to Python shell for robustness.
2913 * progmodes/python.el (python-shell-buffer-substring):
2915 (python-shell-send-region, python-shell-send-buffer): Use it.
2917 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2919 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2920 * net/tramp.el (tramp-user-error): ... here.
2921 (tramp-find-method, tramp-check-proper-host)
2922 (tramp-dissect-file-name, tramp-debug-message)
2923 (tramp-handle-shell-command):
2924 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2925 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2927 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2929 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2931 * avoid.el (mouse-avoidance-point-position)
2932 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2935 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2937 * progmodes/python.el (python-shell-completion-get-completions):
2938 Drop use of deleted `comint-last-prompt-overlay'.
2939 (python-nav-if-name-main): New command.
2941 2013-09-01 Glenn Morris <rgm@gnu.org>
2943 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2944 Avoid leading space in $wins. Otherwise the sed command used by
2945 eg compile-main ends up containing "/*.el". (Bug#15170)
2947 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2949 2013-08-30 Glenn Morris <rgm@gnu.org>
2951 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2952 Fix is-this-a-directory logic. (Bug#15220)
2954 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2956 * textmodes/css-mode.el: Use SMIE.
2957 (css-smie-grammar): New var.
2958 (css-smie--forward-token, css-smie--backward-token)
2959 (css-smie-rules): New functions.
2960 (css-mode): Use them.
2961 (css-navigation-syntax-table): Remove var.
2962 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2963 (css-indent-calculate, css-indent-line): Remove functions.
2965 Misc changes to reduce use of `(lambda...); and other cleanups.
2966 * cus-edit.el: Use lexical-binding.
2967 (customize-push-and-save, customize-apropos)
2968 (custom-buffer-create-internal): Use closures.
2969 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2970 * progmodes/ada-xref.el: Use setq.
2971 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2972 * dframe.el: Use lexical-binding.
2973 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2974 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2975 * descr-text.el: Use lexical-binding.
2976 (describe-text-widget, describe-text-sexp, describe-property-list):
2978 * comint.el (comint-history-isearch-push-state): Use a closure.
2979 * calculator.el: Use lexical-binding.
2980 (calculator-number-to-string): Make it work with lexical-binding.
2981 (calculator-funcall): Same and use cl-letf.
2983 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2984 (lisp--company-doc-string, lisp--company-location): New functions.
2985 (lisp-completion-at-point): Use them to improve Company support.
2987 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2988 params of lambda expressions.
2989 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2990 (ruby-smie--opening-pipe-p): New function.
2991 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2992 symbols and matched |...| for formal params.
2993 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2994 from being treated as hanging. Handle "rescue".
2996 2013-08-29 Glenn Morris <rgm@gnu.org>
2998 * progmodes/cc-engine.el (c-pull-open-brace):
2999 Move definition before use.
3001 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
3003 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
3004 are immutable. Don't use `unsafe' any more.
3005 (cl--defsubst-expand): Don't substitute at the same time as keeping
3006 a residual unused let-binding. Don't use `unsafe' any more.
3008 2013-08-29 Glenn Morris <rgm@gnu.org>
3010 * calendar/cal-china.el (calendar-chinese-year-cache):
3013 * nxml/nxml-util.el (nxml-debug-clear-inside):
3014 Use cl-loop rather than loop.
3016 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
3018 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
3020 2013-08-28 Glenn Morris <rgm@gnu.org>
3022 * progmodes/antlr-mode.el: No need to require cc-mode twice.
3024 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
3026 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
3028 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3030 * simple.el (repeat-complex-command--called-interactively-skip):
3032 (repeat-complex-command): Use it (bug#14136).
3034 * progmodes/cc-mode.el: Minor cleanup of var declarations.
3035 (c-define-abbrev-table): Add `doc' argument.
3036 (c-mode-abbrev-table, c++-mode-abbrev-table)
3037 (objc-mode-abbrev-table, java-mode-abbrev-table)
3038 (idl-mode-abbrev-table, pike-mode-abbrev-table)
3039 (awk-mode-abbrev-table): Use it.
3040 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
3041 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
3042 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
3043 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
3044 Move initialization into the declaration; and remove any
3047 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
3048 and dynamic let binding.
3050 * vc/smerge-mode.el: Remove redundant :group args.
3052 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
3055 2013-08-28 Juri Linkov <juri@jurta.org>
3057 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
3058 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
3059 (isearch-other-meta-char): Handle an undefined shifted printing
3060 character by downshifting it. (Bug#15200)
3062 2013-08-28 Juri Linkov <juri@jurta.org>
3064 * isearch.el (isearch-search): Change regexp error message for
3065 non-regexp searches. (Bug#15166)
3067 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
3069 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
3070 for portability to hosts where /bin/sh has problems.
3072 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
3074 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
3076 2013-08-27 Juri Linkov <juri@jurta.org>
3078 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
3079 in the keyboard macro. (Bug#15126)
3081 2013-08-27 Juri Linkov <juri@jurta.org>
3083 * isearch.el (isearch-quote-char): Comment out converting unibyte
3084 to multibyte, thus syncing with its `quoted-insert' counterpart.
3087 2013-08-27 Martin Rudalics <rudalics@gmx.at>
3089 * window.el (display-buffer-use-some-window): Add missing
3090 argument in call of get-largest-window (Bug#15185).
3091 Reported by Stephen Leake.
3093 2013-08-27 Glenn Morris <rgm@gnu.org>
3095 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
3097 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
3099 * progmodes/python.el (python-font-lock-keywords): Don't return nil
3100 from a matcher-function unless there's no more matches (bug#15161).
3102 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3104 * minibuffer.el: Revert change from 2013-08-20.
3106 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
3107 with text property `tramp-default', if appropriate.
3108 (tramp-check-proper-host): New defun.
3109 (tramp-dissect-file-name): Do not check hostname. Revert change
3111 (tramp-backtrace): Make VEC-OR-PROC optional.
3113 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3114 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3115 * net/tramp-sh.el (tramp-maybe-open-connection):
3116 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
3117 Apply `tramp-check-proper-host'.
3119 2013-08-26 Tassilo Horn <tsdh@gnu.org>
3121 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
3122 lambda expression in order to have `describe-variable' display it.
3124 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
3126 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
3127 BUF can be optional. (Bug#15186)
3129 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
3131 * progmodes/flymake.el (flymake-get-real-file-name-function):
3132 Fix broken customization. (Bug#15184)
3134 2013-08-25 Alan Mackenzie <acm@muc.de>
3136 Improve indentation of bracelists defined by macros (without "=").
3138 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
3139 expansion begins with "{", regard it as bracelist when it doesn't
3142 Parse C++ inher-intro when there's a template split over 2 lines.
3144 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
3145 rigorously the search for "class" etc. followed by ":".
3147 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
3148 random languages a regexp which never matches rather than nil.
3150 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3152 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3153 (c-awk-regexp-one-line-possibly-open-char-list-re)
3154 (c-awk-one-line-possibly-open-regexp-re)
3155 (c-awk-one-line-non-syn-ws*-re): Remove.
3156 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3157 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3158 (c-awk-space*-unclosed-regexp-/-re): New constants.
3159 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3160 aren't regexp delimiters.
3162 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3163 handling for a rare situation in AWK Mode involving unterminated
3166 2013-08-23 Glenn Morris <rgm@gnu.org>
3168 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3170 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3172 * files.el (create-file-buffer): If the result would begin with
3173 spaces, prepend a "|" instead of removing them. (Bug#15162)
3175 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3178 text-properties (bug#15155).
3180 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3182 (calc-keypad-redraw): Remove unused var `pad'.
3183 (calc-keypad-press): Remove unused var `menu'.
3185 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3187 * window.el (display-buffer-pop-up-frame):
3188 Call pop-up-frame-function with BUFFER current so `make-frame' will
3189 use it as the new frame's buffer (Bug#15133).
3191 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * calendar/timeclock.el: Minor cleanups.
3194 (timeclock-ask-before-exiting, timeclock-use-display-time):
3196 (timeclock-modeline-display): Define as alias before the
3198 (timeclock-mode-line-display): Use define-minor-mode.
3199 (timeclock-day-list-template): Make it a function, add an argument.
3200 (timeclock-day-list-required, timeclock-day-list-length)
3201 (timeclock-day-list-debt, timeclock-day-list-span)
3202 (timeclock-day-list-break): Adjust calls accordingly.
3204 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3206 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3207 Use read--expression so that completion works again.
3209 2013-08-21 Sam Steingold <sds@gnu.org>
3211 Add rudimentary inferior shell interaction
3212 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3213 (sh-set-shell): Reset it.
3214 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3215 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3217 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3219 * align.el: Use lexical-binding.
3220 (align-region): Simplify accordingly.
3222 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3224 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3226 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3229 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3233 * net/tramp-cmds.el:
3235 * net/tramp-gvfs.el:
3237 * net/tramp-sh.el: Don't wrap external variable declarations by
3238 `eval-when-compile'.
3240 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3242 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3243 now that Emacs supports ImageMagick animations.
3245 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3247 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3248 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3250 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3252 * window.el (mouse-autoselect-window-select): Do autoselect when
3253 mouse pointer is on margin.
3255 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3257 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3259 2013-08-16 Glenn Morris <rgm@gnu.org>
3261 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3262 Handle "Remote Directory" response of some clients. (Bug#15058)
3264 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3265 Tweak warning. (Bug#14926)
3267 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3268 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3270 * image-mode.el (image-mode-map): Add menu items to reverse,
3271 increase, decrease, reset animation speed.
3272 (image--set-speed, image-increase-speed, image-decrease-speed)
3273 (image-reverse-speed, image-reset-speed): New functions.
3274 (image-mode-map): Add bindings for speed commands.
3276 * image.el (image-animate-get-speed, image-animate-set-speed):
3278 (image-animate-timeout): Respect image :speed property.
3280 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3282 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3283 previous line (bug#15101).
3284 (debugger-eval-expression, debugger-record-expression):
3285 Use read--expression (bug#15102).
3287 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3289 Remove byte compiler warnings, visible when compiling with
3290 `byte-compile-force-lexical-warnings' set to t.
3292 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3293 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3294 (tramp-handle-unhandled-file-name-directory)
3295 (tramp-handle-file-notify-add-watch, tramp-action-login)
3296 (tramp-action-succeed, tramp-action-permission-denied)
3297 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3300 * net/tramp-adb.el (tramp-adb-parse-device-names)
3301 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3302 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3303 (tramp-adb-handle-file-truename): Remove unused arguments.
3305 * net/tramp-cache.el (tramp-flush-directory-property)
3306 (tramp-flush-connection-property, tramp-list-connections)
3307 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3309 * net/tramp-compat.el (tramp-compat-make-temp-file):
3310 Rename FILENAME to F.
3312 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3313 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3314 (tramp-zeroconf-parse-workstation-device-names)
3315 (tramp-zeroconf-parse-webdav-device-names)
3316 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3318 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3319 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3321 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3323 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3324 (tramp-sh-handle-insert-file-contents-literally)
3325 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3327 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3328 Remove unused variables.
3330 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3331 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3332 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3334 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3335 Make them a defconst.
3336 (tramp-uuencode-region): Remove unused variable.
3338 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3340 * frameset.el (frameset--prop-setter): New function.
3341 (frameset-prop): Add gv-setter declaration.
3342 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3343 parameter was already set in FILTERED. Doc fix.
3344 (frameset--record-minibuffer-relationships): Allow saving a
3345 minibufferless frame without its corresponding minibuffer frame.
3346 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3347 frame, if the frame id matches.
3348 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3349 frames before orphaned ones.
3350 (frameset-restore): Warn about orphaned windows, instead of error out.
3352 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3354 * window.el (window-make-atom): Don't overwrite parameter
3356 (display-buffer-in-atom-window): Handle special case where we
3357 split an already atomic window.
3358 (window--major-non-side-window, display-buffer-in-side-window)
3359 (window--side-check): Ignore minibuffer window when walking
3361 (window-deletable-p): Return 'frame only if no other frame uses
3362 our minibuffer window.
3363 (record-window-buffer): Run buffer-list-update-hook.
3364 (split-window): Make sure window--check-frame won't destroy an
3365 existing atomic window in case the new window gets nested
3367 (display-buffer-at-bottom): Ignore minibuffer window when
3368 walking window tree. Don't split a side window.
3369 (pop-to-buffer): Don't set-buffer here, the select-window call
3371 (mouse-autoselect-window-select): Autoselect only if we are in the
3372 text portion of the window.
3374 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3376 * net/shr.el (shr-parse-image-data): New function to grab both the
3377 data itself and the Content-Type.
3378 (shr-put-image): Use it.
3380 * net/eww.el (eww-display-image): Ditto.
3382 * image.el (image-content-type-suffixes): New variable.
3384 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3386 * progmodes/python.el (python-imenu--build-tree)
3387 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3389 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3391 * simple.el (backward-word): Mention the optional argument.
3393 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3395 * frameset.el (frameset--make): Rename constructor from make-frameset.
3396 (frameset-p, frameset-valid-p): Don't autoload.
3397 (frameset-valid-p): Use normal accessors.
3399 2013-08-13 Glenn Morris <rgm@gnu.org>
3401 * progmodes/compile.el (compile-command): Tweak example in doc.
3402 * obsolete/scribe.el (scribe-mode):
3403 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3405 * mail/feedmail.el (feedmail-confirm-outgoing)
3406 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3408 * cus-start.el (truncate-partial-width-windows): Fix type.
3410 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3412 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3414 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3416 * emacs-lisp/timer.el (timer--time-setter): New function.
3417 (timer--time): Use it as gv-setter.
3419 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3420 setter is not a symbol.
3422 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3424 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3425 if sending fails. This makes debugging easier.
3427 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3429 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3430 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3431 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3433 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3435 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3437 2013-08-12 Glenn Morris <rgm@gnu.org>
3439 * format.el (format-annotate-function):
3440 Handle read-only text properties in the source. (Bug#14887)
3442 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3444 * net/eww.el (eww-display-html): Ignore coding system errors.
3445 One web site uses "utf-8lias" as the coding system.
3447 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3449 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3451 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3453 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3454 (tutorial--detailed-help): Remove unused local variables.
3455 (tutorial--save-tutorial-to): Use ignore-errors.
3456 (help-with-tutorial): Use looking-at-p.
3458 * view.el (view-buffer-other-window, view-buffer-other-frame):
3459 Mark unused arguments.
3461 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3462 (woman-select-symbol-fonts, woman, woman-find-file)
3463 (woman-insert-file-contents, woman-non-underline-faces):
3465 (woman1-unquote): Move declaration.
3467 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3468 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3469 argument. Remove unused local variable.
3470 (xml-parse-elem-type): Use string-match-p.
3471 (xml-substitute-numeric-entities): Use ignore-errors.
3473 * calculator.el (calculator): Mark unused argument.
3474 (calculator-paste, calculator-quit, calculator-integer-p):
3476 (calculator-string-to-number, calculator-decimal, calculator-exp)
3477 (calculator-op-or-exp): Use string-match-p.
3479 * dired.el (dired-buffer-more-recently-used-p): Declare.
3480 (dired-insert-set-properties, dired-insert-old-subdirs):
3483 * dired-aux.el (dired-compress): Use ignore-errors.
3484 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3485 (dired-do-async-shell-command, dired-do-shell-command)
3486 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3487 (dired-insert-subdir-validate): Use string-match-p.
3488 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3489 (dired-add-entry): Use string-match-p, looking-at-p.
3490 (dired-insert-subdir-newpos): Remove unused local variable.
3492 * filenotify.el (file-notify-callback): Remove unused local variable.
3494 * filesets.el (filesets-error): Mark unused argument.
3495 (filesets-which-command-p, filesets-filter-dir-names)
3496 (filesets-directory-files, filesets-get-external-viewer)
3497 (filesets-ingroup-get-data): Use string-match-p.
3499 * find-file.el (ff-other-file-name, ff-other-file-name)
3500 (ff-find-the-other-file, ff-cc-hh-converter):
3501 Remove unused local variables.
3502 (ff-get-file-name): Use string-match-p.
3503 (ff-all-dirs-under): Use ignore-errors.
3505 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3506 (follow-select-if-visible): Remove unused local variable.
3508 * forms.el (read-file-filter): Move declaration.
3509 (forms--make-format, forms--make-parser, forms-insert-record):
3510 Quote function with #'.
3511 (forms--update): Use string-match-p. Quote function with #'.
3513 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3514 (help-make-xrefs): Use looking-at-p.
3515 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3517 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3518 (ibuffer-confirm-operation-on): Use string-match-p.
3520 * msb.el (msb-item-handler, msb-dired-item-handler):
3521 Mark unused arguments.
3523 * ses.el (ses-decode-cell-symbol)
3524 (ses-kill-override): Remove unused local variable.
3525 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3526 (ses-load): Use ignore-errors, looking-at-p.
3527 (ses-jump-safe): Use ignore-errors.
3528 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3530 * tabify.el (untabify, tabify): Mark unused arguments.
3532 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3533 Mark unused argument.
3534 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3535 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3537 * emacs-lisp/timer.el (timer--time): Define setter with
3538 gv-define-setter to avoid deprecation warning.
3540 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3541 (*record-cmpl-statistics-p*): Remove (was commented out).
3542 (cmpl-statistics-block): Remove (body was commented out).
3543 All callers changed.
3544 (add-completions-from-buffer, load-completions-from-file):
3545 Remove unused variables.
3547 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3549 * filecache.el (file-cache-delete-file-list):
3550 Print message only when told so.
3551 (file-cache-files-matching): Use #' in mapconcat argument.
3553 * ffap.el (ffap-url-at-point): Fix reference to variable
3554 thing-at-point-default-mail-uri-scheme.
3556 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3558 * subr.el (define-error): New function.
3559 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3560 error-file-not-found and define with define-error.
3561 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3562 and define with define-error.
3563 * userlock.el (file-locked, file-supersession):
3564 * simple.el (mark-inactive):
3565 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3566 * progmodes/ada-mode.el (ada-mode-errors):
3567 * play/life.el (life-extinct):
3568 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3569 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3570 * nxml/rng-util.el (rng-error):
3571 * nxml/rng-uri.el (rng-uri-error):
3572 * nxml/rng-match.el (rng-compile-error):
3573 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3574 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3575 * nxml/nxml-rap.el (nxml-scan-error):
3576 * nxml/nxml-outln.el (nxml-outline-error):
3577 * net/soap-client.el (soap-error):
3578 * net/gnutls.el (gnutls-error):
3579 * net/ange-ftp.el (ftp-error):
3580 * mpc.el (mpc-proc-error):
3581 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3582 (json-number-format, json-string-escape, json-string-format)
3583 (json-key-format, json-object-format):
3584 * jka-compr.el (compression-error):
3585 * international/quail.el (quail-error):
3586 * international/kkc.el (kkc-error):
3587 * emacs-lisp/ert.el (ert-test-failed):
3588 * calc/calc.el (calc-error, inexact-result, math-overflow)
3590 * bookmark.el (bookmark-error-no-filename):
3591 * epg.el (epg-error): Define with define-error.
3593 * time.el (display-time-event-handler)
3594 (display-time-next-load-average): Don't call sit-for since it seems
3595 unnecessary (bug#15045).
3597 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3598 Use #' instead of ' to quote functions.
3599 (checkdoc-output-mode): Use setq-local.
3600 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3601 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3602 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3603 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3604 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3605 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3606 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3607 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3609 * ido.el (ido-completion-help): Fix up compiler warning.
3611 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3613 * frameset.el (frameset-p): Add autoload cookie.
3614 (frameset--jump-to-register): New function, based on code moved from
3616 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3618 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3619 (frameset-restore, frameset-save, frameset-session-filter-alist):
3620 Remove declarations.
3621 (register-alist): Doc fix.
3622 (frameset-to-register): Move to frameset.el.
3623 (jump-to-register, describe-register-1): Remove frameset-specific code.
3625 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3627 * allout-widgets.el (allout-widgets-pre-command-business)
3628 (allout-widgets-post-command-business)
3629 (allout-widgets-after-change-handler)
3630 (allout-decorate-item-and-context, allout-set-boundary-marker)
3631 (allout-body-modification-handler)
3632 (allout-graphics-modification-handler): Mark ignored arguments.
3633 (allout-widgets-post-command-business)
3634 (allout-widgets-exposure-change-processor)
3635 (allout-widgets-exposure-undo-processor)
3636 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3637 (allout-parse-item-at-point, allout-decorate-item-guides)
3638 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3639 * allout.el (epa-passphrase-callback-function): Declare.
3640 (allout-overlay-insert-in-front-handler)
3641 (allout-overlay-interior-modification-handler)
3642 (allout-isearch-end-handler, allout-chart-siblings)
3643 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3644 (allout-yank-processing, allout-process-exposed)
3645 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3646 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3647 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3648 (lisp-indent-defform): Mark ignored arguments.
3649 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3650 (calculate-lisp-indent): Remove unused variables.
3651 * international/characters.el (indian-2-column, arabic-2-column)
3652 (tibetan): Mark ignored arguments.
3653 (use-cjk-char-width-table): Mark ignored arguments.
3654 Remove unused variables.
3655 * international/fontset.el (build-default-fontset-data)
3656 (x-compose-font-name, create-fontset-from-fontset-spec):
3657 Mark ignored arguments.
3658 (fontset-plain-name): Remove unused variables.
3659 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3660 (keyboard-coding-system): Mark ignored arguments.
3661 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3662 * help.el (resize-temp-buffer-window):
3663 * window.el (display-buffer-in-major-side-window)
3664 (display-buffer-in-side-window, display-buffer-in-previous-window):
3665 Remove unused variables.
3666 * isearch.el (isearch-forward-symbol):
3667 * version.el (emacs-bzr-version-bzr):
3668 * international/mule-cmds.el (current-language-environment):
3669 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3671 * term/pc-win.el (x-list-fonts, x-display-planes)
3672 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3673 (x-server-version, x-display-screens, x-display-mm-height)
3674 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3675 (x-selection-owner-p, x-own-selection-internal)
3676 (x-disown-selection-internal, x-get-selection-internal)
3677 (msdos-initialize-window-system):
3678 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3679 * term/x-win.el (x-handle-no-bitmap-icon):
3680 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3681 (vc-default-find-file-hook, vc-default-extra-menu):
3682 Mark ignored arguments.
3684 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3686 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3687 break-condition in the context of the debugged code (bug#12685).
3689 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3692 Do not use an overlay to highlight the last prompt. (Bug#14744)
3693 (comint-mode): Make comint-last-prompt buffer local.
3694 (comint-last-prompt): New variable.
3695 (comint-last-prompt-overlay): Remove. Superseded by
3697 (comint-snapshot-last-prompt, comint-output-filter):
3698 Use comint-last-prompt.
3700 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3702 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3703 (frameset-save): Check validity of the resulting frameset.
3705 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3707 * ido.el (ido-record-command): Add doc string.
3709 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3711 * frameset.el (frameset): Do not disable creation of the default
3712 frameset-p predicate. Doc fix.
3713 (frameset-valid-p): New function, copied from the old predicate-p.
3714 Add additional checks.
3715 (frameset-restore): Check with frameset-valid-p.
3716 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3717 (frameset-name, frameset-description, frameset-properties)
3718 (frameset-states): Add docstring.
3719 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3720 (frameset-filter-alist): Doc fixes.
3722 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3724 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3726 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3728 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3729 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3730 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3731 (byte-compile-normal-call): Remove obsolescence check.
3733 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3735 * frameset.el (frameset-restore): Doc fix.
3737 * register.el (frameset-frame-id, frameset-frame-with-id)
3738 (frameset-p, frameset-restore, frameset-save): Declare.
3739 (register-alist): Document framesets.
3740 (frameset-session-filter-alist): Declare.
3741 (frameset-to-register): New function.
3742 (jump-to-register): Implement jumping to framesets. Doc fix.
3743 (describe-register-1): Describe framesets.
3745 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3747 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3749 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3750 Use lexical-binding.
3752 * frameset.el (frameset): Use type vector, not list (incompatible
3753 change). Do not declare a new constructor, use the default one.
3754 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3755 `name' and `description', respectively, and add read-only slot
3756 `timestamp'. Doc fixes.
3757 (frameset-copy, frameset-persistent-filter-alist)
3758 (frameset-filter-alist, frameset-switch-to-gui-p)
3759 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3760 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3761 (frameset-filter-iconified, frameset-keep-original-display-p):
3763 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3764 Rename from frameset-filter-(save|restore)-param. All callers changed.
3766 (frameset-p): Adapt to change to vector and be more thorough.
3767 Change arg name to OBJECT. Doc fix.
3768 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3769 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3770 All callers changed.
3771 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3772 All callers changed.
3773 (frameset--record-minibuffer-relationships): Rename from
3774 frameset--process-minibuffer-frames. All callers changed.
3775 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3776 Use new default constructor (again). Doc fix.
3777 (frameset--find-frame-if): Rename from `frameset--find-frame.
3778 All callers changed.
3779 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3780 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3782 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3783 PARAMETERS and WINDOW-STATE, respectively.
3784 (frameset-restore): Add new keyword argument PREDICATE.
3785 Reset frameset--target-display to nil. Doc fix.
3787 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3789 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3791 (bat-mode-syntax-table): Mark \n as end-of-comment.
3792 (bat-font-lock-keywords): Remove comment rule.
3794 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3795 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3797 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3798 (byte-compile-callargs-warn): Use `push'.
3799 (byte-compile-arglist-warn): Ignore higher-order "calls".
3800 (byte-compile-file-form-autoload): Use `pcase'.
3801 (byte-compile-function-form): If quoting a symbol, check that it exists.
3803 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3805 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3806 and add a few popular commands found in batch files.
3807 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3808 (dos-mode): Doc fixes.
3810 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3813 (dos-mode): Use setq-local. Add space after "rem".
3814 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3815 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3817 2013-08-07 Arni Magnusson <arnima@hafro.is>
3819 * progmodes/dos.el: New file.
3820 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3823 2013-08-06 Glenn Morris <rgm@gnu.org>
3825 * calendar/calendar.el: Add new faces, and day-header-array.
3826 (calendar-weekday-header, calendar-weekend-header)
3827 (calendar-month-header): New faces.
3828 (calendar-day-header-construct): New function.
3829 (calendar-day-header-width): Also :set calendar-day-header-array.
3830 (calendar-american-month-header, calendar-european-month-header)
3831 (calendar-iso-month-header): Use calendar- faces.
3832 (calendar-generate-month):
3833 Use calendar-day-header-array for day headers; apply faces to them.
3834 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3835 (calendar-abbrev-construct): Add optional maxlen argument.
3836 (calendar-day-name-array): Doc fix.
3837 (calendar-day-name-array, calendar-abbrev-length)
3838 (calendar-day-abbrev-array):
3839 Also :set calendar-day-header-array, and maybe redraw.
3840 (calendar-day-header-array): New option. (Bug#15007)
3841 (calendar-font-lock-keywords): Set to nil and make obsolete.
3842 (calendar-day-name): Add option to use header array.
3844 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3846 * net/shr.el (shr-render-td): Remove debugging.
3847 (shr-render-td): Make width computation consistent by defaulting
3848 all zero-width columns to 10 characters. This may not be optimal,
3849 but it's at least consistent.
3850 (shr-make-table-1): Redo last change to fix the real problem in
3853 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3855 * files.el (cache-long-line-scans):
3856 Make obsolete alias to `cache-long-scans'.
3858 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3860 * frameset.el (frameset, frameset-filter-alist)
3861 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3862 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3863 (frameset-compute-pos): Rename from frameset--compute-pos,
3865 (frameset-move-onscreen): Use frameset-compute-pos.
3866 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3868 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3869 Fix typos in docstrings.
3871 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3873 * frame.el (get-other-frame): Tiny cleanup.
3875 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3877 * vc/vc.el (vc-default-ignore-completion-table):
3878 Silence byte-compiler warning.
3880 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3881 slot , which can indeed be nil.
3882 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3883 Move entry for `left' from persistent to live filter alist.
3884 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3886 (frameset-filter-params): When restoring a frame, copy items added to
3887 `filtered', to avoid unwittingly modifying the original parameters.
3888 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3889 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3891 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3892 to use looking-at-p instead of looking-at. (Bug#15028)
3894 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3896 Revert introduction of isearch-filter-predicates (bug#14714).
3897 Rely on add-function instead.
3898 * isearch.el (isearch-filter-predicates): Rename it back to
3899 isearch-filter-predicate.
3900 (isearch-message-prefix): Use advice-function-mapc and advice
3901 properties to get the isearch-message-prefix.
3902 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3903 instead of run-hook-with-args-until-failure.
3904 (isearch-filter-visible): Not obsolete any more.
3905 * loadup.el: Preload nadvice.
3906 * replace.el (perform-replace): Revert to funcall
3907 instead of run-hook-with-args-until-failure.
3908 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3909 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3910 dired-isearch-filenames-toggle; make it into a proper minor mode.
3911 Use add/remove-function.
3912 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3913 Call the minor-mode rather than add/remove-hook.
3914 (dired-isearch-filter-filenames):
3915 Remove isearch-message-prefix property.
3916 * info.el (Info--search-loop): New function, extracted from Info-search.
3917 Funcall isearch-filter-predicate instead of
3918 run-hook-with-args-until-failure isearch-filter-predicates.
3919 (Info-search): Use it.
3920 (Info-mode): Use isearch-filter-predicate instead of
3921 isearch-filter-predicates.
3923 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3925 Do not call to `selected-window' where it is assumed by default.
3926 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3927 `window-hscroll', `window-width', `window-height', `window-buffer',
3928 `window-frame', `window-start', `window-point', `next-window'
3929 and `window-display-table'.
3930 * abbrev.el (abbrev--default-expand):
3931 * bs.el (bs--show-with-configuration):
3932 * buff-menu.el (Buffer-menu-mouse-select):
3933 * calc/calc.el (calc):
3934 * calendar/calendar.el (calendar-generate-window):
3935 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3937 * comint.el (send-invisible, comint-dynamic-complete-filename)
3938 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3939 * completion.el (complete):
3940 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3941 * disp-table.el (describe-current-display-table):
3942 * doc-view.el (doc-view-insert-image):
3943 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3944 * ehelp.el (with-electric-help):
3945 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3946 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3947 * emacs-lisp/helper.el (Helper-help-scroller):
3948 * emulation/cua-base.el (cua--post-command-handler-1):
3949 * eshell/esh-mode.el (eshell-output-filter):
3950 * ffap.el (ffap-gnus-wrapper):
3951 * help-macro.el (make-help-screen):
3952 * hilit-chg.el (highlight-compare-buffers):
3953 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3954 * hl-line.el (global-hl-line-highlight):
3955 * icomplete.el (icomplete-simple-completing-p):
3956 * isearch.el (isearch-done):
3957 * jit-lock.el (jit-lock-stealth-fontify):
3958 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3959 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3960 * mpc.el (mpc-tagbrowser, mpc):
3961 * net/rcirc.el (rcirc-any-buffer):
3962 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3963 * play/landmark.el (landmark-max-width, landmark-max-height):
3964 * play/zone.el (zone):
3965 * progmodes/compile.el (compilation-goto-locus):
3966 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3967 * progmodes/etags.el (find-tag-other-window):
3968 * progmodes/fortran.el (fortran-column-ruler):
3969 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3970 * progmodes/verilog-mode.el (verilog-point-text):
3971 * reposition.el (reposition-window):
3972 * rot13.el (toggle-rot13-mode):
3973 * server.el (server-switch-buffer):
3974 * shell.el (shell-dynamic-complete-command)
3975 (shell-dynamic-complete-environment-variable):
3976 * simple.el (insert-buffer, set-selective-display)
3977 (delete-completion-window):
3978 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3979 (speedbar-recenter):
3980 * startup.el (fancy-splash-head):
3981 * textmodes/ispell.el (ispell-command-loop):
3982 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3983 * tutorial.el (help-with-tutorial):
3984 * vc/add-log.el (add-change-log-entry):
3985 * vc/compare-w.el (compare-windows):
3986 * vc/ediff-help.el (ediff-indent-help-message):
3987 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3988 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3989 (ediff-setup-control-frame):
3990 * vc/emerge.el (emerge-position-region):
3991 * vc/pcvs-util.el (cvs-bury-buffer):
3992 * window.el (walk-windows, mouse-autoselect-window-select):
3993 * winner.el (winner-set-conf, winner-undo): Related users changed.
3995 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3997 * frameset.el (frameset--set-id): Doc fix.
3998 (frameset-frame-id, frameset-frame-id-equal-p)
3999 (frameset-locate-frame-id): New functions.
4000 (frameset--process-minibuffer-frames, frameset--reuse-frame)
4001 (frameset-restore): Use them.
4003 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
4005 Do not call to `selected-frame' where it is assumed by default.
4006 Affected functions are `raise-frame', `redraw-frame',
4007 `frame-first-window', `frame-terminal' and `delete-frame'.
4008 * calendar/appt.el (appt-disp-window):
4009 * epg.el (epg-wait-for-completion):
4010 * follow.el (follow-delete-other-windows-and-split)
4011 (follow-avoid-tail-recenter):
4012 * international/mule.el (set-terminal-coding-system):
4013 * mail/rmail.el (rmail-mail-return):
4014 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
4015 * progmodes/f90.el (f90-add-imenu-menu):
4016 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
4017 * server.el (server-switch-buffer):
4018 * simple.el (delete-completion-window):
4020 * term/xterm.el (terminal-init-xterm-modify-other-keys)
4021 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
4022 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
4023 * vc/ediff.el (ediff-documentation): Related users changed.
4024 * frame.el (selected-terminal): Remove the leftover.
4026 2013-08-05 Glenn Morris <rgm@gnu.org>
4028 * calendar/calendar.el (calendar-generate-month):
4029 Fix for calendar-column-width != 1 + calendar-day-digit-width.
4030 (calendar-generate-month, calendar-font-lock-keywords):
4031 Fix for calendar-day-header-width > length of any day name.
4033 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
4035 * desktop.el (desktop-clear): Use new name of sort predicate.
4037 * frameset.el (frameset): Add docstring. Move :version property to its
4039 (frameset-copy): Rename from copy-frameset.
4040 (frameset-p): Check more thoroughly.
4041 (frameset-prop): Do not check for :version, which is no longer a prop.
4042 (frameset-live-filter-alist, frameset-persistent-filter-alist):
4043 Use new :never value instead of t.
4044 (frameset-filter-alist): Expand and clarify docstring.
4045 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
4046 (frameset-filter-minibuffer, frameset-filter-save-param)
4047 (frameset-filter-restore-param, frameset-filter-iconified):
4048 Add pointer to docstring of frameset-filter-alist.
4049 (frameset-filter-params): Rename filter values to be more meaningful:
4050 :never instead of t, and reverse the meanings of :save and :restore.
4051 (frameset--process-minibuffer-frames): Clarify error message.
4052 (frameset-save): Avoid unnecessary and confusing call to framep.
4053 Use new BOA constructor for framesets.
4054 (frameset--reuse-list): Doc fix.
4055 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
4056 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
4057 (frameset-minibufferless-first-p): Doc fix.
4058 Rename from frameset-sort-frames-for-deletion.
4059 (frameset-restore): Doc fixes. Use new function names.
4060 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
4062 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4064 * desktop.el (desktop-restore-forces-onscreen)
4065 (desktop-restore-reuses-frames): Document :keyword constant values.
4066 (desktop-filter-parameters-alist): Remove, now identical to
4067 frameset-filter-alist.
4068 (desktop--filter-tty*): Remove, moved to frameset.el.
4069 (desktop-save-frameset, desktop-restore-frameset):
4070 Do not pass :filters argument.
4072 * frameset.el (frameset-live-filter-alist)
4073 (frameset-persistent-filter-alist): New variables.
4074 (frameset-filter-alist): Use them. Add autoload cookie.
4075 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
4076 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
4077 `frameset--id' (it's supposed to be internal to frameset.el).
4078 (frameset--process-minibuffer-frames): Ditto. Doc fix.
4079 (frameset--initial-params): New function.
4080 (frameset--get-frame): Use it. Doc fix.
4081 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
4082 Accept :all, not 'all.
4083 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
4084 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
4085 with fbound symbols. Fix frame id matching, and remove matching ids if
4086 the frame being restored is deleted. Obey :delete.
4088 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4090 * subr.el (macrop): New function.
4091 (text-clone--maintaining): New var.
4092 (text-clone--maintain): Rename from text-clone-maintain. Use it
4093 instead of inhibit-modification-hooks.
4095 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
4096 a proxy, so as handle autoloads and redefinitions of the target.
4097 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
4099 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
4100 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
4101 (pcase--mutually-exclusive-p): New function.
4102 (pcase--split-consp): Use it.
4103 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
4104 mutually exclusive with the current predicate.
4106 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
4107 (edebug-macrop): Remove. Use `macrop' instead.
4108 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
4110 * eshell/esh-cmd.el (eshell-macrop):
4111 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
4113 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
4115 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
4116 (advice-mapc): New function, using it.
4117 (advice-function-member-p): New function.
4118 (advice--normalize): Store the cdr in advice--saved-rewrite since
4119 that's the part that will be changed.
4120 (advice--symbol-function): New function.
4121 (advice-remove): Handle removal before the function is defined.
4122 Adjust to new advice--saved-rewrite.
4123 (advice-member-p): Use advice-function-member-p and
4124 advice--symbol-function.
4126 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
4128 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
4129 (frameset-filter-minibuffer): Doc fix.
4130 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
4131 (frameset--set-id, frameset--process-minibuffer-frames)
4132 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
4133 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
4135 * desktop.el (desktop-clear): Only delete frames when called
4136 interactively and desktop-restore-frames is non-nil. Doc fix.
4137 (desktop-read): Set desktop-saved-frameset to nil.
4139 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
4141 * vc/vc.el (vc-ignore): Rewrite.
4142 (vc-default-ignore-completion-table):
4144 (vc--add-line, vc--remove-regexp): New functions.
4146 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
4147 (vc-svn-ignore-completion-table): New function.
4149 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
4150 (vc-hg-ignore-completion-table):
4151 (vc-hg-find-ignore-file): New functions.
4153 * vc/vc-git.el (vc-git-ignore): Rewrite.
4154 (vc-git-ignore-completion-table):
4155 (vc-git-find-ignore-file): New functions.
4157 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4159 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4160 (vc-bzr-ignore-completion-table):
4161 (vc-bzr-find-ignore-file): New functions.
4163 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4165 * frameset.el (frameset-prop): New function and setter.
4166 (frameset-save): Do not modify frame list passed by the caller.
4168 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4172 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4174 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4175 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4177 * custom.el (custom-initialize-default, custom-initialize-set)
4178 (custom-initialize-reset, custom-initialize-changed): Affect the
4179 toplevel-default-value (bug#6275, bug#14586).
4180 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4183 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4185 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4186 Add cl-def* expressions.
4188 * frameset.el (frameset-filter-params): Fix order of arguments.
4190 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4192 Move code related to saving frames to frameset.el.
4193 * desktop.el: Require frameset.
4194 (desktop-restore-frames): Doc fix.
4195 (desktop-restore-reuses-frames): Rename from
4196 desktop-restoring-reuses-frames.
4197 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4198 (desktop-clear): Clear frames too.
4199 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4200 (desktop--filter-tty*, desktop-save, desktop-read):
4201 Use frameset functions.
4202 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4203 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4204 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4205 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4206 (desktop--process-minibuffer-frames, desktop-save-frames)
4207 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4208 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4209 (desktop--sort-states, desktop-restoring-frames-p)
4210 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4211 (desktop-restoring-frameset-p, desktop-restore-frameset)
4212 (desktop--check-dont-save, desktop-save-frameset): New functions.
4213 (desktop--app-id): New constant.
4214 (desktop-first-buffer, desktop-buffer-ok-count)
4215 (desktop-buffer-fail-count): Move before first use.
4216 * frameset.el: New file.
4218 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4220 * files.el: Use lexical-binding.
4221 (dir-locals-read-from-file): Remove unused `err' variable.
4222 (hack-dir-local-variables--warned-coding): New var.
4223 (hack-dir-local-variables): Use it to avoid repeated warnings.
4224 (make-backup-file-name--default-function): New function.
4225 (make-backup-file-name-function): Use it as default.
4226 (buffer-stale--default-function): New function.
4227 (buffer-stale-function): Use it as default.
4228 (revert-buffer-insert-file-contents--default-function): New function.
4229 (revert-buffer-insert-file-contents-function): Use it as default.
4230 (insert-directory): Avoid add-to-list.
4232 * autorevert.el (auto-revert-handler): Simplify.
4233 Use buffer-stale--default-function.
4235 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4237 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4239 * whitespace.el (whitespace-ensure-local-variables): New function.
4240 (whitespace-cleanup-region): Call it.
4241 (whitespace-turn-on): Call it.
4243 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4245 Complete file name handlers.
4247 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4248 (tramp-handle-verify-visited-file-modtime)
4249 (tramp-handle-file-notify-rm-watch): New functions.
4250 (tramp-call-process): Do not bind `default-directory'.
4252 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4253 Order alphabetically.
4254 [access-file, add-name-to-file, dired-call-process]:
4255 [dired-compress-file, file-acl, file-notify-rm-watch]:
4256 [file-ownership-preserved-p, file-selinux-context]:
4257 [make-directory-internal, make-symbolic-link, set-file-acl]:
4258 [set-file-selinux-context, set-visited-file-modtime]:
4259 [verify-visited-file-modtime]: Add handler.
4260 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4262 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4263 [file-notify-add-watch, file-notify-rm-watch]:
4264 [set-file-times, set-visited-file-modtime]:
4265 [verify-visited-file-modtime]: Add handler.
4266 (with-tramp-gvfs-error-message)
4267 (tramp-gvfs-handle-set-visited-file-modtime)
4268 (tramp-gvfs-fuse-file-name): Remove.
4269 (tramp-gvfs-handle-file-notify-add-watch)
4270 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4271 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4273 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4274 Order alphabetically.
4275 [file-notify-rm-watch ]: Use default Tramp handler.
4276 [executable-find]: Remove private handler.
4277 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4278 `default-directory'.
4279 (tramp-sh-handle-executable-find)
4280 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4281 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4282 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4283 Do not use `format' in `tramp-message'.
4285 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4286 [file-notify-rm-watch, set-visited-file-modtime]:
4287 [verify-visited-file-modtime]: Add handler.
4288 (tramp-smb-call-winexe): Do not bind `default-directory'.
4290 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4292 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4294 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4296 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4298 (log-view-diff-changeset): Same.
4299 (log-view-diff-common): Call backend command `previous-revision'
4300 to find out the previous revision, in both cases. Swap the
4301 variables `to' and `fr', so that `fr' usually refers to the
4302 earlier revision (Bug#14989).
4304 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4306 * ibuf-ext.el (ibuffer-filter-by-filename):
4307 Make it work with dired buffers too.
4309 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4311 * emacs-lisp/re-builder.el (reb-color-display-p):
4312 * files.el (save-buffers-kill-terminal):
4313 * net/browse-url.el (browse-url):
4314 * server.el (server-save-buffers-kill-terminal):
4315 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4316 Prefer nil to selected-frame for the first arg of frame-parameter.
4318 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4320 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4322 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4324 * minibuffer.el (completion--twq-all): Try and preserve each
4325 completion's case choice (bug#14907).
4327 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4329 * net/network-stream.el (open-network-stream): Mention the new
4330 :nogreeting parameter.
4331 (network-stream-open-starttls): Use the :nogreeting parameter
4334 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4336 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4337 more natural than popping.
4339 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4340 (shr-urlify): Highlight under mouse.
4342 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4344 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4346 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4348 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4351 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4352 point-min==1. Fix search string. Fix parentheses missing.
4354 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4355 assume point-min==1. Fix search string. Fix parentheses missing.
4357 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4359 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4362 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4364 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4365 initial frame is minibuffer-less. (Bug#14841)
4367 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4369 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4372 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4373 (tramp-maybe-open-connection): Use it.
4375 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4377 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4378 minimal set of parameters passed when creating a frame, because
4379 the minibuffer status of a frame cannot be changed later.
4381 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4383 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4384 replace-regexp-in-string and inadvertent omissions in previous change.
4385 (todo-filter-items): Ensure only file names are comma-separated in
4386 name of filtered items buffer.
4388 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4390 * desktop.el: Optionally force offscreen frames back onscreen.
4391 (desktop-restoring-reuses-frames): New option.
4392 (desktop--compute-pos, desktop--move-onscreen): New functions.
4393 (desktop--make-frame): Use desktop--move-onscreen.
4395 2013-07-27 Alan Mackenzie <acm@muc.de>
4397 Fontify a Java generic method as a function.
4398 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4401 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4403 * calendar/todo-mode.el: Add command to rename todo files.
4404 (todo-rename-file): New command.
4405 (todo-key-bindings-t): Add key binding for it. Change the
4406 bindings of todo-filter-regexp-items(-multifile) to use `x'
4407 instead of `r', since the latter is better suited to the new
4410 2013-07-27 Alan Mackenzie <acm@muc.de>
4412 Make Java try-with-resources statement parse properly.
4413 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4414 (c-block-stmt-1-2-key): New language constants/variables.
4415 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4416 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4417 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4418 with c-block-stmt-1-2-key.
4420 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4422 * desktop.el (desktop--make-frame): Apply most frame parameters after
4423 creating the frame to force (partially or totally) offscreen frames to
4424 be restored as such.
4426 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4428 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4431 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4433 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4434 `base' arg of backtrace-frame.
4436 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4438 * simple.el (list-processes): Doc fix.
4440 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4442 * desktop.el (desktop--select-frame):
4443 Try harder to reuse existing frames.
4445 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4447 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4448 (edebug-eval): Use backtrace-eval.
4449 (edebug--display, edebug--recursive-edit): Don't let-bind the
4450 edebug-outer-* vars that keep track of variables we locally let-bind.
4451 (edebug-outside-excursion): Don't restore outside values of locally
4453 (edebug--display): Use user-error.
4454 (cl-lexical-debug, cl-debug-env): Remove.
4456 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4458 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4459 are restored to be sure that they are visible before deleting any
4462 2013-07-26 Matthias Meulien <orontee@gmail.com>
4464 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4465 vc-print-root-log. (Bug#14948)
4467 2013-07-26 Richard Stallman <rms@gnu.org>
4469 Add aliases for encrypting mail.
4470 * epa.el (epa-mail-aliases): New option.
4471 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4472 Bind inhibit-read-only so read-only text doesn't ruin everything.
4473 (epa-mail-default-recipients): New subroutine broken out.
4474 Handle epa-mail-aliases.
4476 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4478 Add support for lexical variables to the debugger's `e' command.
4479 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4480 vars, except for debugger-outer-match-data.
4481 (debugger-frame-number): Move check for "on a function call" from
4482 callers into it. Add `skip-base' argument.
4483 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4484 (debugger-env-macro): Only reset the state stored in non-variables,
4485 i.e. current-buffer and match-data.
4486 (debugger-eval-expression): Rewrite using backtrace-eval.
4487 * subr.el (internal--called-interactively-p--get-frame): Remove.
4488 (called-interactively-p):
4489 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4490 `base' arg of backtrace-frame instead.
4492 2013-07-26 Glenn Morris <rgm@gnu.org>
4494 * align.el (align-regexp): Doc fix. (Bug#14857)
4495 (align-region): Explicit error if subexpression missing/does not match.
4497 * simple.el (global-visual-line-mode):
4498 Do not duplicate the mode lighter. (Bug#14858)
4500 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4502 * window.el (display-buffer): In display-buffer bind
4503 split-window-keep-point to t, bug#14829.
4505 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4507 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4508 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4509 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4510 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4512 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4513 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4515 2013-07-25 Glenn Morris <rgm@gnu.org>
4517 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4519 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4521 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4522 parameter to modify-frame-parameters if the value has not changed;
4523 this is a workaround for bug#14949.
4524 (desktop--make-frame): On cl-delete-if call, check parameter name,
4527 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4529 * vc/vc.el (vc-ignore): New function.
4531 * vc/vc-svn.el (vc-svn-ignore): New function.
4533 * vc/vc-hg.el (vc-hg-ignore): New function.
4535 * vc/vc-git.el (vc-git-ignore): New function.
4537 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4538 (vc-dir-ignore): New function.
4540 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4541 (cvs-append-to-ignore): Move here from pcvs.el.
4543 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4545 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4547 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4549 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4550 (desktop-restore-frames): Warn when deleting an existing frame failed.
4552 2013-07-24 Glenn Morris <rgm@gnu.org>
4554 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4556 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4558 * filenotify.el (file-notify-supported-p):
4559 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4562 * autorevert.el (auto-revert-use-notify):
4563 (auto-revert-notify-add-watch):
4564 * net/tramp.el (tramp-file-name-for-operation):
4565 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4566 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4567 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4568 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4569 Remove `file-notify-supported-p' entry.
4571 2013-07-24 Glenn Morris <rgm@gnu.org>
4573 * printing.el: Replace all uses of deleted ps-windows-system,
4574 ps-lp-system, ps-flatten-list with lpr- versions.
4576 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4578 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4579 checked with memq (bug#14935).
4581 * files.el (revert-buffer-function): Use a non-nil default.
4582 (revert-buffer-preserve-modes): Declare var to
4583 provide access to the `preserve-modes' argument.
4584 (revert-buffer): Let-bind it.
4585 (revert-buffer--default): New function, extracted from revert-buffer.
4587 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4589 * lpr.el: Signal print errors more prominently.
4590 (print-region-function): Don't default to nil.
4591 (lpr-print-region): New function, extracted from print-region-1.
4592 Check lpr's return value and signal an error in case of problem.
4593 (print-region-1): Use it.
4594 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4596 (ps-printer-name): Default to nil.
4597 (ps-printer-name-option): Default to lpr-printer-switch.
4598 (ps-print-region-function): Don't default to nil.
4599 (ps-postscript-code-directory): Simplify default.
4600 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4601 (ps-string-list, ps-eval-switch, ps-flatten-list)
4602 (ps-flatten-list-1): Remove.
4603 (ps-multibyte-buffer): Avoid setq.
4604 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4605 (print-region-function, ps-print-region-function): Don't set them here.
4607 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4609 * ido.el (ido-fractionp):
4610 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4611 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4612 (ido-max-directory-size, ido-max-dir-file-cache)
4613 (ido-decorations): Doc fix.
4615 * ansi-color.el: Fix old URL.
4617 2013-07-23 Michael R. Mauger <michael@mauger.com>
4619 * progmodes/sql.el: Version 3.3
4620 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4621 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4622 (sql-interactive-remove-continuation-prompt): Rewrite, use
4623 functions above. Fix continuation prompt and complete output line
4625 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4626 redirected output buffer.
4627 (sql-mode): Restore deleted code (Bug#13591).
4629 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4631 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4633 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4635 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4637 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4638 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4639 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4641 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4643 * desktop.el (desktop-clear): Simplify; remove useless checks
4644 against invalid buffer names.
4645 (desktop-list*): Use cl-list*.
4646 (desktop-buffer-info, desktop-create-buffer): Simplify.
4648 2013-07-23 Leo Liu <sdl.web@gmail.com>
4650 * bookmark.el (bookmark-make-record): Restore NAME as a default
4653 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4655 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4656 extracted from autoload--insert-text.
4657 (autoload--insert-text): Remove.
4658 (autoload--print-cookie-text): New function, extracted from
4659 autoload--insert-cookie-text.
4660 (autoload--insert-cookie-text): Remove.
4661 (autoload-generate-file-autoloads): Adjust calls accordingly.
4663 * winner.el (winner-hook-installed-p): Remove.
4664 (winner-mode): Simplify accordingly.
4666 * subr.el (add-to-list): Fix compiler-macro when `append' is
4667 not constant. Don't use `cl-member' for the base case.
4669 * progmodes/subword.el: Fix boundary case (bug#13758).
4670 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4672 (subword-backward-regexp): Make it a constant.
4673 (subword-forward-internal): Don't treat a trailing capital as the
4674 beginning of a word.
4676 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4678 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4679 global value of tabulated-list-revert-hook (bug#14930).
4681 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4683 * desktop.el: Require 'cl-lib.
4684 (desktop-before-saving-frames-functions): New hook.
4685 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4686 for frames being saved. Rename from desktop--save-minibuffer-frames.
4687 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4688 Do not save frames with non-nil `desktop-dont-save' parameter.
4689 Filter out deleted frames.
4690 (desktop--find-frame): Use cl-find-if.
4691 (desktop--select-frame): Use cl-(first|second|third) to access values
4693 (desktop--make-frame): Use cl-delete-if.
4694 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4695 (desktop-restore-frames): Use cl-(first|second|third) to access values
4696 of desktop-mini. Look for visible frame at the end, not while
4699 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4700 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4701 Use string-match-p, looking-at-p (bug#14927).
4703 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4705 * desktop.el (desktop-saved-frame-states):
4706 Rename from desktop--saved-states; all users changed.
4707 (desktop-save-frames): Rename from desktop--save-frames.
4708 Do not save state to desktop file.
4709 (desktop-save): Save desktop-saved-frame-states to desktop file
4711 (desktop-restoring-frames-p): New function.
4712 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4713 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4714 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4716 * desktop.el: Correctly restore iconified frames.
4717 (desktop--filter-iconified-position): New function.
4718 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4720 2013-07-20 Glenn Morris <rgm@gnu.org>
4722 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4723 Let `message' do the formatting.
4724 (def-gdb-preempt-display-buffer): Add explicit format.
4726 * image-dired.el (image-dired-track-original-file):
4727 Use with-current-buffer.
4728 (image-dired-track-thumbnail): Use with-current-buffer.
4729 Avoid changing point of wrong window.
4731 * image-dired.el (image-dired-track-original-file):
4732 Avoid changing point of wrong window. (Bug#14909)
4734 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4736 * progmodes/gdb-mi.el (gdb-done-or-error):
4737 Guard against "%" in gdb output. (Bug#14127)
4739 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4741 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4744 * international/mule.el (coding-system-iso-2022-flags): Fix last
4747 2013-07-20 Kenichi Handa <handa@gnu.org>
4749 * international/mule.el (coding-system-iso-2022-flags):
4750 Add `8-bit-level-4'. (Bug#8522)
4752 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4754 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4757 * net/eww.el (eww-process-text-input): Allow inputting when the
4758 point is at the start of the line, as the properties aren't
4761 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4764 2013-07-19 Richard Stallman <rms@gnu.org>
4766 * epa.el (epa-popup-info-window): Doc fix.
4768 * subr.el (split-string): New arg TRIM.
4770 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4772 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4773 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4775 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4777 * filenotify.el (file-notify--library): Rename from
4778 `file-notify-support'. Do not autoload. Adapt all uses.
4779 (file-notify-supported-p): New defun.
4781 * autorevert.el (auto-revert-use-notify):
4782 Use `file-notify-supported-p' instead of `file-notify-support'.
4784 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4786 * net/tramp.el (tramp-file-name-for-operation):
4787 Add `file-notify-supported-p'.
4789 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4791 (tramp-sh-file-name-handler-alist): Add it as handler for
4792 `file-notify-supported-p '.
4794 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4795 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4796 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4797 Add `ignore' as handler for `file-notify-*' functions.
4799 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4801 * simple.el (line-move-partial, line-move): Don't start vscroll or
4802 scroll-up if the current line is not taller than the window.
4805 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4807 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4808 highlight question marks in the method names as strings.
4809 (ruby-block-beg-keywords): Inline.
4810 (ruby-font-lock-keyword-beg-re): Extract from
4811 `ruby-font-lock-keywords'.
4813 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4815 * frame.el (blink-cursor-blinks): New defcustom.
4816 (blink-cursor-blinks-done): New defvar.
4817 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4818 (blink-cursor-timer-function): Check if number of blinks has been
4820 (blink-cursor-suspend, blink-cursor-check): New defuns.
4822 2013-07-15 Glenn Morris <rgm@gnu.org>
4824 * edmacro.el (edmacro-format-keys): Fix previous change.
4826 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4828 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4829 The hack didn't work outside English locales anyway.
4831 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4833 * simple.el (define-alternatives): Rename from alternatives-define,
4834 per RMS' suggestion.
4836 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4838 * desktop.el (desktop-restore-frames): Change default to t.
4839 (desktop-restore-in-current-display): Now offer more options.
4840 (desktop-restoring-reuses-frames): New customization option.
4841 (desktop--saved-states): Doc fix.
4842 (desktop-filter-parameters-alist): New variable, renamed and expanded
4843 from desktop--excluded-frame-parameters.
4844 (desktop--target-display): New variable.
4845 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4846 (desktop--filter-tty*, desktop--filter-*-color)
4847 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4848 (desktop--filter-save-desktop-parm)
4849 (desktop-restore-in-original-display-p): New functions.
4850 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4851 (desktop--save-minibuffer-frames): New function, inspired by a similar
4852 function from Martin Rudalics.
4853 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4854 (desktop--restore-in-this-display-p): Remove.
4855 (desktop--find-frame): Rename from desktop--find-frame-in-display
4856 and add predicate argument.
4857 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4858 (desktop--reuse-list): New variable.
4859 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4861 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4863 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4865 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4867 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4869 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4870 Highlight conversion methods on Kernel.
4872 2013-07-13 Alan Mackenzie <acm@muc.de>
4874 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4875 and comment it out. This out-commenting enables certain C++
4876 declarations to be parsed correctly.
4878 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4880 * international/mule.el (define-coding-system): Doc fix.
4882 * simple.el (default-font-height): Don't call font-info if the
4883 frame's default font didn't change since the frame was created.
4886 2013-07-13 Leo Liu <sdl.web@gmail.com>
4888 * ido.el (ido-read-file-name): Guard against non-symbol value.
4890 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4892 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4895 2013-07-13 Leo Liu <sdl.web@gmail.com>
4897 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4898 ido-set-matches call. (Bug#6852)
4900 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4902 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4903 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4905 (ruby-font-lock-keywords): Distinguish calls to functions with
4906 module-like names from module references. Highlight character
4909 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4911 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4912 (gdb-send): Handle continued commands. (Bug#14847)
4914 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4916 * desktop.el (desktop--v2s): Remove unused local variable.
4917 (desktop-save-buffer): Make defvar-local; adjust docstring.
4918 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4919 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4921 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4923 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4925 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4927 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4930 2013-07-12 Glenn Morris <rgm@gnu.org>
4932 * doc-view.el: Require cl-lib at runtime too.
4933 (doc-view-remove-if): Remove.
4934 (doc-view-search-next-match, doc-view-search-previous-match):
4937 * edmacro.el: Require cl-lib at runtime too.
4938 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4939 (edmacro-mismatch, edmacro-subseq): Remove.
4941 * shadowfile.el: Require cl-lib.
4942 (shadow-remove-if): Remove.
4943 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4946 * wid-edit.el: Require cl-lib.
4947 (widget-choose): Use cl-remove-if.
4948 (widget-remove-if): Remove.
4950 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4951 (ebrowse-delete-if-not): Remove.
4952 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4953 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4954 Use cl-delete-if-not.
4956 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4958 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4959 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4961 2013-07-12 Leo Liu <sdl.web@gmail.com>
4963 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4965 2013-07-11 Glenn Morris <rgm@gnu.org>
4967 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4968 (edebug-gensym-index, edebug-gensym):
4969 Remove reimplementation of cl-gensym.
4970 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4972 * thumbs.el: Require cl-lib at run-time too.
4973 (thumbs-gensym-counter, thumbs-gensym):
4974 Remove reimplementation of cl-gensym.
4975 (thumbs-temp-file): Use cl-gensym.
4977 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4978 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4979 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4980 (ert--union, ert--gensym-counter, ert--gensym-counter)
4981 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4982 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4983 (ert-make-test-unbound, ert--expand-should-1)
4984 (ert--expand-should, ert--should-error-handle-error)
4985 (should-error, ert--explain-equal-rec)
4986 (ert--plist-difference-explanation, ert-select-tests)
4987 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4988 Use cl-lib functions rather than reimplementations.
4990 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4992 * net/tramp.el (tramp-methods): Extend docstring.
4993 (tramp-connection-timeout): New defcustom.
4994 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4995 (with-tramp-progress-reporter): Simplify.
4996 (tramp-process-actions): Improve messages.
4998 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4999 * net/tramp-sh.el (tramp-maybe-open-connection):
5000 Use `tramp-connection-timeout'.
5001 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
5004 2013-07-11 Leo Liu <sdl.web@gmail.com>
5006 * ido.el (ido-read-file-name): Conform to the requirements of
5007 read-file-name. (Bug#11861)
5008 (ido-read-directory-name): Conform to the requirements of
5009 read-directory-name.
5011 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
5013 * subr.el (delay-warning): New function.
5015 2013-07-10 Eli Zaretskii <eliz@gnu.org>
5017 * simple.el (default-line-height): New function.
5018 (line-move-partial, line-move): Use it instead of computing the
5020 (line-move-partial): Always compute ROWH. If the last line is
5021 partially-visible, but its text is completely visible, allow
5022 cursor to enter such a partially-visible line.
5024 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
5026 Improve error messages. (Bug#14808)
5028 * net/tramp.el (tramp-current-connection): New defvar, moved from
5030 (tramp-message-show-progress-reporter-message): Remove, not
5032 (tramp-error-with-buffer): Show message in minibuffer.
5033 Discard input before waiting. Reset connection timestamp.
5034 (with-tramp-progress-reporter): Improve messages.
5035 (tramp-process-actions): Use progress reporter. Delete process in
5036 case of error. Improve messages.
5038 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
5039 Call `tramp-error-with-buffer' with vector and buffer.
5040 (tramp-current-connection): Remove.
5041 (tramp-maybe-open-connection): The car of
5042 `tramp-current-connection' are the first 3 slots of the vector.
5044 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
5046 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
5047 inside continued strings.
5049 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
5051 Timestamp fixes for undo (Bug#14824).
5052 * files.el (clear-visited-file-modtime): Move here from fileio.c.
5054 2013-07-10 Leo Liu <sdl.web@gmail.com>
5056 * files.el (require-final-newline): Allow safe local value.
5059 2013-07-09 Leo Liu <sdl.web@gmail.com>
5061 * ido.el (ido-read-directory-name): Handle fallback.
5062 (ido-read-file-name): Update DIR to ido-current-directory.
5064 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
5066 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
5068 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
5069 "autoload". Remove "warn lower camel case" section, previously
5070 commented out. Highlight negation char. Do not highlight the
5071 target in singleton method definitions.
5073 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
5075 * faces.el (tty-setup-hook): Declare the hook.
5077 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
5078 and detect when a guard/pred depends on local vars (bug#14773).
5079 (pcase--u1): Adjust caller.
5081 2013-07-08 Eli Zaretskii <eliz@gnu.org>
5083 * simple.el (line-move-partial, line-move): Account for
5085 (line-move-partial): Avoid setting vscroll when the last
5086 partially-visible line in window is of default height.
5088 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
5090 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
5093 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
5095 * subr.el (read-quoted-char): Remove unused local variable `char'.
5097 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
5099 * ediff.el (ediff-version): Version update.
5100 (ediff-files-command, ediff3-files-command, ediff-merge-command)
5101 (ediff-merge-with-ancestor-command, ediff-directories-command)
5102 (ediff-directories3-command, ediff-merge-directories-command)
5103 (ediff-merge-directories-with-ancestor-command): New functions.
5104 All are command-line interfaces to ediff: to facilitate calling
5105 Emacs with the appropriate ediff functions invoked.
5107 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
5108 (viper-save-kill-buffer): Check if buffer is modified.
5110 * viper.el (viper-version): Version update.
5111 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
5113 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
5115 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
5116 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
5117 (viper-intercept-ESC-key): Simplify.
5118 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
5119 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
5120 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
5121 (viper-setup-ESC-to-escape): New functions.
5122 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
5123 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
5125 2013-07-07 Eli Zaretskii <eliz@gnu.org>
5127 * simple.el (default-font-height, window-screen-lines):
5129 (line-move, line-move-partial): Use them instead of
5130 frame-char-height and window-text-height. This makes scrolling
5131 text smoother when the buffer's default face uses a font that is
5132 different from the frame's default font.
5134 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
5136 * files.el (write-file): Do not display confirm dialog for NS,
5137 it does its own dialog, which can't be cancelled (Bug#14578).
5139 2013-07-06 Eli Zaretskii <eliz@gnu.org>
5141 * simple.el (line-move-partial): Adjust the row returned by
5142 posn-at-point for the current window-vscroll. (Bug#14567)
5144 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
5146 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
5147 (tramp-sh-file-inotifywait-process-filter): Handle file names with
5150 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5152 * window.el (window-state-put-stale-windows): New variable.
5153 (window--state-put-2): Save list of windows without matching buffer.
5154 (window-state-put): Remove "bufferless" windows if possible.
5156 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5158 * simple.el (alternatives-define): Remove leftover :group keyword.
5161 2013-07-06 Leo Liu <sdl.web@gmail.com>
5163 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5164 (ido-enable-virtual-buffers): New variable.
5165 (ido-buffer-internal, ido-toggle-virtual-buffers)
5166 (ido-make-buffer-list): Use it.
5167 (ido-exhibit): Support turning on and off virtual buffers
5170 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5172 * simple.el (alternatives-define): New macro.
5174 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5176 * subr.el (read-quoted-char): Use read-key.
5177 (sit-for): Let read-event decode tty input (bug#14782).
5179 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5181 * calendar/todo-mode.el: Add handling of file deletion, both by
5182 mode command and externally. Fix various related bugs.
5183 Clarify Commentary and improve some documentation strings and code.
5184 (todo-delete-file): New command.
5185 (todo-check-file): New function.
5186 (todo-show): Handle external deletion of the file we're trying to
5187 show (bug#14688). Replace called-interactively-p by an optional
5188 prefix argument to avoid problematic interaction with catch form
5189 when byte compiled (bug#14702).
5190 (todo-quit): Handle external deletion of the archive's todo file.
5191 Make sure the buffer that was visiting the archive file is still
5192 live before trying to bury it.
5193 (todo-category-completions): Handle external deletion of any
5194 category completion files.
5195 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5196 of todo files, in case of external deletion.
5197 (todo-add-file): Replace unnecessary setq by let-binding.
5198 (todo-find-archive): Check whether there are any archives.
5199 Replace unnecessary setq by let-binding.
5200 (todo-archive-done-item): Use find-file-noselect to get the
5201 archive buffer whether or not the archive already exists.
5202 Remove superfluous code. Use file size instead of buffer-file-name to
5203 check if the archive is new; if it is, update list of archives.
5204 (todo-default-todo-file): Allow nil to be a valid value for when
5205 there are no todo files.
5206 (todo-reevaluate-default-file-defcustom): Use corrected definition
5207 of todo-default-todo-file.
5208 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5209 (todo-delete-category, todo-show-categories-table)
5210 (todo-category-number): Clarify comment.
5211 (todo-filter-items): Clarify documentation string.
5212 (todo-show-current-file, todo-display-as-todo-file)
5213 (todo-reset-and-enable-done-separator): Tweak documentation string.
5214 (todo-done-separator): Make separator length window-width, since
5215 bug#2749 is now fixed.
5217 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5219 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5220 Support both "gvfs-monitor-dir" and "inotifywait".
5221 (tramp-sh-file-inotifywait-process-filter): Rename from
5222 `tramp-sh-file-notify-process-filter'.
5223 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5224 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5226 2013-07-05 Leo Liu <sdl.web@gmail.com>
5228 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5230 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5232 * frame.el (display-pixel-height, display-pixel-width)
5233 (display-mm-height, display-mm-width): Mention behavior on
5234 multi-monitor setups in docstrings.
5235 (w32-display-monitor-attributes-list): Declare function.
5236 (display-monitor-attributes-list): Use it.
5238 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5240 * filenotify.el: New package.
5242 * autorevert.el (top): Require filenotify.el.
5243 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5245 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5246 (auto-revert-notify-handler): Use `file-notify-*' functions.
5248 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5250 * net/tramp.el (tramp-file-name-for-operation):
5251 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5253 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5254 for `file-notify-add-watch' and `file-notify-rm-watch'.
5255 (tramp-process-sentinel): Improve trace.
5256 (tramp-sh-handle-file-notify-add-watch)
5257 (tramp-sh-file-notify-process-filter)
5258 (tramp-sh-handle-file-notify-rm-watch)
5259 (tramp-get-remote-inotifywait): New defuns.
5261 2013-07-03 Juri Linkov <juri@jurta.org>
5263 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5264 call of `occur-read-primary-args' to interactive spec.
5266 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5267 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5269 2013-07-03 Matthias Meulien <orontee@gmail.com>
5271 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5272 `Buffer-menu-multi-occur'. Add it to the menu.
5273 (Buffer-menu-mode): Document it in docstring.
5274 (Buffer-menu-multi-occur): New command. (Bug#14673)
5276 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5278 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5279 keywords and built-ins.
5281 2013-07-03 Glenn Morris <rgm@gnu.org>
5283 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5285 Make info-xref checks case-sensitive by default
5286 * info.el (Info-find-node, Info-find-in-tag-table)
5287 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5288 Add option for exact case matching of nodes.
5289 * info-xref.el (info-xref): New custom group.
5290 (info-xref-case-fold): New option.
5291 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5293 2013-07-03 Leo Liu <sdl.web@gmail.com>
5295 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5297 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5299 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5300 middle of block statement initially, lower the depth. Remove
5301 FIXME comment, not longer valid. Remove middle of block statement
5302 detection, no need to do that anymore since we've been using
5303 `ruby-parse-region' here.
5305 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5307 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5309 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5311 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5313 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5315 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5316 (desktop-restore-in-current-display): New customization option.
5317 (desktop--excluded-frame-parameters): Add `font'.
5318 (desktop--save-frames): Rename from desktop--save-windows.
5319 (desktop--restore-in-this-display-p): New function.
5320 (desktop--make-full-frame): Remove unwanted width/height from
5321 full(width|height) frames.
5322 (desktop--restore-frames): Rename from desktop--restore-windows.
5323 Obey desktop-restore-current-display. Do not delete old frames or
5324 select a new frame unless we were able to restore at least one frame.
5326 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5328 * files.el (find-file-noselect): Simplify conditional expression.
5330 * remember.el (remember-append-to-file):
5331 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5333 Add `remember-notes' function to store random notes across Emacs
5335 * remember.el (remember-data-file): Add :set callback to affect
5336 notes buffer (if any).
5337 (remember-notes): New command.
5338 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5339 New defcustoms for the `remember-notes' function.
5340 (remember-notes-save-and-bury-buffer): New command.
5341 (remember-notes-mode-map): New variable.
5342 (remember-mode): New minor mode.
5343 (remember-notes--kill-buffer-query): New function.
5344 * startup.el (initial-buffer-choice): Add notes to custom type.
5346 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5348 * bindings.el (right-char, left-char): Don't call sit-for, this is
5349 no longer needed. Use arithmetic comparison only for numerical
5352 * international/mule-cmds.el (select-safe-coding-system):
5353 Handle the case of FROM being a string correctly. (Bug#14755)
5355 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5357 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5358 progression on degenerate tables.
5359 (shr-rescale-image): ImageMagick animated images currently don't work.
5361 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5363 Some fixes and improvements for desktop frame restoration.
5364 It is still experimental and disabled by default.
5365 * desktop.el (desktop--save-windows): Put the selected frame at
5366 the head of the list.
5367 (desktop--make-full-frame): New function.
5368 (desktop--restore-windows): Try to re-select the frame that was
5369 selected upon saving. Do not abort if some frames fail to restore,
5370 just show an error message and continue. Set up maximized frames
5371 so they have default non-maximized dimensions.
5373 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5375 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5376 Don't start heredoc inside a string or comment.
5378 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5380 * bindings.el (visual-order-cursor-movement): New defcustom.
5381 (right-char, left-char): Provide visual-order cursor motion by
5382 calling move-point-visually. Update the doc strings.
5384 2013-06-28 Kenichi Handa <handa@gnu.org>
5386 * international/mule.el (define-coding-system): New coding system
5387 properties :inhibit-null-byte-detection,
5388 :inhibit-iso-escape-detection, and :prefer-utf-8.
5389 (set-buffer-file-coding-system): If :charset-list property of
5390 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5391 appropriate for setting.
5393 * international/mule-cmds.el (select-safe-coding-system):
5394 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5395 multibyte characters, return utf-8 (or one of its siblings).
5397 * international/mule-conf.el (prefer-utf-8): New coding system.
5398 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5401 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5403 * net/shr.el (shr-render-region): New function.
5405 * net/eww.el: Autoload `eww-browse-url'.
5407 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5409 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5410 Adapt to `package-desc-version' being a list.
5411 Use `package--ac-desc-version' to retrieve version from a package
5414 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5416 New experimental feature to save&restore window and frame setup.
5417 * desktop.el (desktop-save-windows): New defcustom.
5418 (desktop--saved-states): New var.
5419 (desktop--excluded-frame-parameters): New defconst.
5420 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5421 (desktop--restore-windows, desktop--save-windows): New functions.
5422 (desktop-save): Call `desktop--save-windows'.
5423 (desktop-read): Call `desktop--restore-windows'.
5425 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5427 * net/shr.el (add-face-text-property): Remove compat definition.
5429 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5431 * info.el (Info-try-follow-nearest-node): Move search for footnote
5432 above search for node name to prevent missing a footnote (bug#14717).
5434 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5436 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5438 2013-06-27 Leo Liu <sdl.web@gmail.com>
5440 * net/eww.el (eww-read-bookmarks): Check file size.
5442 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5444 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5445 advice--pending if newdef is nil or an autoload (bug#13820).
5446 (advice-mapc): New function.
5448 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5450 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5452 (eww-mode-map): Add a menu bar.
5453 (eww-add-bookmark): New command.
5454 (eww-bookmark-mode): New mode and commands.
5455 (eww-add-bookmark): Remove newlines from the title.
5456 (eww-bookmark-browse): Don't bug out if it's the only window.
5458 2013-06-26 Glenn Morris <rgm@gnu.org>
5460 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5461 (hfy-size): Handle ttys. (Bug#14668)
5463 * info-xref.el: Update for Texinfo 5 change in *note format.
5464 (info-xref-node-re, info-xref-note-re): New constants.
5465 (info-xref-check-buffer): Use info-xref-note-re.
5467 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5469 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5471 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5472 nil terminate the loop (bug#14718).
5474 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5476 * net/eww.el: Rework history traversal. When going forward/back,
5477 put these actions into the history, too, so that they can be
5479 (eww-render): Move the history reset to the correct buffer.
5481 2013-06-25 Juri Linkov <juri@jurta.org>
5483 * files-x.el (modify-dir-local-variable): Change the header comment
5484 in the file with directory local variables. (Bug#14692)
5486 * files-x.el (read-file-local-variable-value): Add `default'.
5489 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5491 * net/eww.el (eww-make-unique-file-name): Create a unique file
5492 name before saving to entering `y' accidentally asynchronously.
5494 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5496 * net/eww.el (eww-download): New command and keystroke.
5498 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5500 * net/eww.el (eww-copy-page-url): Change name of command.
5502 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5503 be more consistent with Info and dired.
5505 * net/eww.el (eww-mode-map): Ditto.
5507 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5509 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5510 packages from archives.
5511 (package-archive-contents): Change format; include obsolete packages.
5512 (package-desc): Use `dir' to mark builtin packages.
5513 (package--from-builtin): Set the `dir' field to `builtin'.
5514 (generated-autoload-file, version-control): Declare.
5515 (package-compute-transaction): Change first arg and return value to be
5516 lists of package-descs. Adjust to new package-archive-contents format.
5517 (package--add-to-archive-contents): Adjust to new
5518 package-archive-contents format.
5519 (package-download-transaction): Arg is now a list of package-descs.
5520 (package-install): If `pkg' is a package name, pass it as
5521 a requirement, so it is subject to the usual (e.g. disabled) checks.
5522 (describe-package): Accept package-desc as well.
5523 (describe-package-1): Describe a specific package-desc. Add links to
5524 other package-descs for the same package name.
5525 (package-menu-describe-package): Pass the actual package-desc.
5526 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5528 (package-desc-status): New function.
5529 (package-menu--refresh): New function, extracted
5530 from package-menu--generate.
5531 (package-menu--generate): Use it.
5532 (package-delete): Update package-alist.
5533 (package-menu-execute): Don't call package-initialize.
5535 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5536 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5537 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5538 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5539 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5540 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5542 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5544 * window.el (window--state-get-1): Workaround for bug#14527.
5545 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5547 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5549 * net/eww.el (eww-back-url): Implement the history by stashing all
5550 the data into a list.
5551 (eww-forward-url): Allow going forward in the history, too.
5553 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5556 for values and use read--expression for expressions (bug#14710).
5557 (read-file-local-variable): Avoid setq.
5558 (read-file-local-variable-mode): Use minor-mode-list.
5560 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5562 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5565 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5567 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5568 Update imenu-support when dialect changes.
5570 2013-06-25 Leo Liu <sdl.web@gmail.com>
5572 * ido.el (ido-read-internal): Allow forward slash on windows.
5574 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5576 * net/eww.el (eww): Start of strings is \\`, not ^.
5578 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5580 * net/shr.el (shr-browse-url): Fix interactive spec.
5582 * net/eww.el (eww): Add a trailing slash to domain names.
5584 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5586 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5588 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5590 * net/shr.el (shr-browse-url): Use an external browser if given a
5593 * net/eww.el (eww-external-browser): Move to shr.
5595 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5597 * net/eww.el (eww): Work more correctly for file: URLs.
5598 (eww-detect-charset): Allow quoted charsets.
5599 (eww-yank-page-url): New command and keystroke.
5601 2013-06-24 Daiki Ueno <ueno@gnu.org>
5603 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5604 file name of gpg executable.
5605 (epg-context-program): New function.
5606 (epg-context-home-directory): New function.
5607 (epg-context-set-program): New function.
5608 (epg-context-set-home-directory): New function.
5609 (epg--start): Use `epg-context-program' instead of
5611 (epg--list-keys-1): Likewise.
5613 2013-06-24 Leo Liu <sdl.web@gmail.com>
5615 * ido.el (ido-read-internal): Fix bug#14620.
5617 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5619 * faces.el (face-documentation): Simplify.
5620 (read-face-attribute, tty-find-type, x-resolve-font-name):
5621 Use `string-match-p'.
5622 (list-faces-display): Use `string-match-p'. Simplify.
5623 (face-spec-recalc): Check face to avoid face alias loops.
5624 (read-color): Use `string-match-p' and non-capturing parenthesis.
5626 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5628 * net/shr.el (shr-rescale-image): Use the new
5629 :max-width/:max-height functionality.
5631 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5633 * net/eww.el (eww-search-prefix): New variable.
5635 (eww-external-browser): New variable.
5636 (eww-mode-map): New keystroke.
5637 (eww-browse-with-external-browser): New command.
5639 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5641 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5643 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5644 Don't skip aligning the next header field when padding is 0;
5645 otherwise, field width is not respected unless the title is as
5648 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5650 * emacs-lisp/package.el (package-el-version): Remove.
5651 (package-process-define-package): Fix inf-loop.
5652 (package-install): Allow symbols as arguments again.
5654 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5656 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5657 add some more keyword-like methods.
5658 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5660 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5662 * bs.el (bs-buffer-show-mark): Make defvar-local.
5663 (bs-mode): Use setq-local.
5665 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5666 (emacs-lock--try-unlocking): Make defvar-local.
5668 2013-06-22 Glenn Morris <rgm@gnu.org>
5670 * play/cookie1.el (cookie-apropos): Minor simplification.
5672 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5674 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5676 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5677 `regexp-opt', it breaks the build during dumping.
5679 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5681 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5682 Highlight keyword-like methods on Kernel and Module with
5683 font-lock-builtin-face.
5684 (auto-mode-alist): Consolidate different entries into one regexp
5685 and add more *file-s.
5687 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5689 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5691 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5692 (diary-entry): Use it in the action of this button type instead of
5695 * calendar/todo-mode.el: New version.
5696 (todo-add-category): Append new category to end of file and give
5697 it the highest number, instead of putting it at the beginning and
5698 giving it 0. Incorporate noninteractive functionality.
5699 (todo-forward-category): Adapt to 1-based category numbering.
5700 Allow skipping over archived categories.
5701 (todo-backward-category): Derive from todo-forward-category.
5702 (todo-backward-item, todo-forward-item): Make noninteractive and
5703 delegate interactive part to new commands. Make sensitive to done items.
5704 (todo-categories): Make value an alist of category names and
5705 vectors of item counts.
5706 (todo-category-beg): Make a defconst.
5707 (todo-category-number): Use 1 instead of 0 as initial value.
5708 (todo-category-select): Make sensitive to overlays, optional item
5709 highlighting and done items.
5710 (todo-delete-item): Make sensitive to overlays and marked and done items.
5711 (todo-edit-item): Make sensitive to overlays and editing of
5712 date/time header optional. Add format checks.
5713 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5714 no-op if point is not on an item. Advertise using todo-edit-quit.
5715 (todo-edit-mode): Make sensitive to new format, font-locking, and
5716 multiple todo files.
5717 (todo-insert-item, todo-insert-item-here): Derive from
5718 todo-basic-insert-item and extend functionality.
5719 (todo-item-end, todo-item-start): Make sensitive to done items.
5720 (todo-item-string): Don't return text properties. Restore point.
5721 (todo-jump-to-category): Make sensitive to multiple todo files and
5722 todo archives. Use extended category completion.
5723 (todo-lower-item, todo-raise-item): Rename to *-priority and
5724 derive from todo-set-item-priority.
5725 (todo-mode): Derive from special-mode. Make sensitive to new
5726 format, font-locking and multiple todo files. Make read-only.
5727 (todo-mode-map): Don't suppress digit keys, so they can supply
5728 prefix arguments. Add many new key bindings.
5729 (todo-prefix): Insert as an overlay instead of file text.
5730 Change semantics from diary date expression to purely visual mark.
5731 (todo-print): Rename to todo-print-buffer. Make buffer display
5732 features printable. Remove option to restrict number of items
5733 printed. Add option to print to file.
5734 (todo-print-function): Rename to todo-print-buffer-function.
5735 (todo-quit): Extend to handle exiting new todo modes.
5736 (todo-remove-item): Make sensitive to overlays.
5737 (todo-save): Extend to buffers of filtered items.
5738 (todo-show): Make sensitive to done items, multiple todo files and
5739 new todo modes. Offer to convert legacy todo file before creating
5740 first new todo file.
5741 (todo-show-priorities): Rename to todo-top-priorities.
5742 Change semantics of value 0.
5743 (todo-top-priorities): Rename to todo-filter-top-priorities,
5744 derive from todo-filter-items and extend functionality.
5745 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5746 and extend functionality to other types of filtered items.
5747 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5748 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5749 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5750 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5751 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5752 (todo-edit-mode-hook, todo-entry-prefix-function)
5753 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5754 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5755 (todo-initials, todo-insert-threshold, todo-item-string-start)
5756 (todo-line-string, todo-menu, todo-mode-hook)
5757 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5758 (todo-print-priorities, todo-remove-separator)
5759 (todo-save-top-priorities-too, todo-string-count-lines)
5760 (todo-string-multiline-p, todo-time-string-format)
5761 (todo-tmp-buffer-name): Remove.
5762 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5763 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5764 (todo-edit-category-diary-inclusion)
5765 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5766 (todo-edit-file, todo-edit-item-date-day)
5767 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5768 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5769 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5770 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5771 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5772 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5773 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5774 (todo-filter-top-priorities-multifile, todo-find-archive)
5775 (todo-find-filtered-items-file, todo-go-to-source-item)
5776 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5777 (todo-jump-to-archive-category, todo-lower-category)
5778 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5779 (todo-move-category, todo-move-item, todo-next-button)
5780 (todo-next-item, todo-padded-string, todo-powerset)
5781 (todo-previous-button, todo-previous-item)
5782 (todo-print-buffer-to-file, todo-raise-category)
5783 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5784 (todo-set-category-number, todo-set-item-priority)
5785 (todo-set-top-priorities-in-category)
5786 (todo-set-top-priorities-in-file, todo-show-categories-table)
5787 (todo-sort-categories-alphabetically-or-numerically)
5788 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5789 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5790 (todo-toggle-item-header, todo-toggle-item-highlighting)
5791 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5792 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5793 (todo-unarchive-items, todo-unmark-category): New commands.
5794 (todo-absolute-file-name, todo-add-to-buffer-list)
5795 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5796 (todo-basic-insert-item, todo-category-completions)
5797 (todo-category-number, todo-category-string-matcher-1)
5798 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5799 (todo-check-format, todo-clear-matches)
5800 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5801 (todo-current-category, todo-date-string-matcher)
5802 (todo-define-insertion-command, todo-diary-expired-matcher)
5803 (todo-diary-goto-entry, todo-diary-item-p)
5804 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5805 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5806 (todo-done-item-section-p, todo-done-separator)
5807 (todo-done-string-matcher, todo-files, todo-filter-items)
5808 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5809 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5810 (todo-insert-category-line, todo-insert-item-from-calendar)
5811 (todo-insert-sort-button, todo-insert-with-overlays)
5812 (todo-insertion-command-name, todo-insertion-key-bindings)
5813 (todo-label-to-key, todo-longest-category-name-length)
5814 (todo-make-categories-list, todo-mode-external-set)
5815 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5816 (todo-modes-set-3, todo-multiple-filter-files)
5817 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5818 (todo-read-category, todo-read-date, todo-read-dayname)
5819 (todo-read-file-name, todo-read-time)
5820 (todo-reevaluate-category-completions-files-defcustom)
5821 (todo-reevaluate-default-file-defcustom)
5822 (todo-reevaluate-filelist-defcustoms)
5823 (todo-reevaluate-filter-files-defcustom)
5824 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5825 (todo-reset-done-separator, todo-reset-done-separator-string)
5826 (todo-reset-done-string, todo-reset-global-current-todo-file)
5827 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5828 (todo-reset-prefix, todo-set-categories)
5829 (todo-set-date-from-calendar, todo-set-show-current-file)
5830 (todo-set-top-priorities, todo-short-file-name)
5831 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5832 (todo-total-item-counts, todo-update-buffer-list)
5833 (todo-update-categories-display, todo-update-categories-sexp)
5834 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5836 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5838 (todo-categories, todo-display, todo-edit, todo-faces)
5839 (todo-filtered): New defgroups.
5840 (todo-archived-only, todo-button, todo-category-string, todo-date)
5841 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5842 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5843 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5844 (todo-add-item-if-new-category, todo-always-add-time-string)
5845 (todo-categories-align, todo-categories-archived-label)
5846 (todo-categories-category-label, todo-categories-diary-label)
5847 (todo-categories-done-label, todo-categories-number-separator)
5848 (todo-categories-todo-label, todo-categories-totals-label)
5849 (todo-category-completions-files, todo-completion-ignore-case)
5850 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5851 (todo-done-separator-string, todo-done-string)
5852 (todo-files-function, todo-filter-done-items, todo-filter-files)
5853 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5854 (todo-initial-category, todo-initial-file, todo-item-mark)
5855 (todo-legacy-date-time-regexp, todo-mode-line-function)
5856 (todo-nondiary-marker, todo-number-prefix)
5857 (todo-print-buffer-function, todo-show-current-file)
5858 (todo-show-done-only, todo-show-first, todo-show-with-done)
5859 (todo-skip-archived-categories, todo-top-priorities-overrides)
5860 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5861 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5863 (todo-category-done, todo-date-pattern, todo-date-string-start)
5864 (todo-diary-items-buffer, todo-done-string-start)
5865 (todo-filtered-items-buffer, todo-item-start)
5866 (todo-month-abbrev-array, todo-month-name-array)
5867 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5868 (todo-top-priorities-buffer): New defconsts.
5869 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5870 (todo-categories-with-marks, todo-category-string-face)
5871 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5872 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5873 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5874 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5875 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5876 (todo-font-lock-keywords, todo-global-current-todo-file)
5877 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5878 (todo-insertion-commands-args)
5879 (todo-insertion-commands-args-genlist)
5880 (todo-insertion-commands-names, todo-insertion-map)
5881 (todo-key-bindings-t, todo-key-bindings-t+a)
5882 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5883 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5884 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5885 (todo-visited): New variables.
5887 2013-06-21 Glenn Morris <rgm@gnu.org>
5889 * play/cookie1.el (cookie-apropos): Add optional display argument.
5890 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5891 (psychoanalyze-pinhead): Use cookie-doctor.
5893 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5895 * emacs-lisp/package.el (tar-get-file-descriptor)
5896 (tar--extract): Declare.
5898 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5900 Extend flymake's warning predicate to be a function (bug#14217).
5901 * progmodes/flymake.el (flymake-warning-predicate): New.
5902 (flymake-parse-line): Use it.
5903 (flymake-warning-re): Make obsolete alias to
5904 `flymake-warning-predicate'.
5906 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5908 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5909 (package-obsolete-list): Remove.
5910 (package-activate): Remove min-version argument. Add `force' argument.
5911 Adjust to new package-alist format.
5912 (package-mark-obsolete): Remove.
5913 (package-unpack): Force reload of the package's autoloads.
5914 (package-installed-p): Check builtins if the installed package is not
5916 (package-initialize): Don't reset package-obsolete-list.
5917 Don't specify which package version to activate.
5918 (package-process-define-package, describe-package-1)
5919 (package-menu--generate): Adjust to new package-alist format.
5921 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5923 * allout-widgets.el (allout-widgets-mode-off)
5924 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5925 (allout-widgets-post-command-business)
5926 (allout-widgets-after-copy-or-kill-function)
5927 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5928 (allout-decorate-item-and-context)
5929 (allout-graphics-modification-handler): Fix typos in docstrings.
5930 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5932 * cmuscheme.el (scheme-start-file): Doc fix.
5933 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5934 (scheme-input-filter): Use `string-match-p'.
5936 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5938 * dired-x.el: Use Dired consistently in docstrings.
5940 * dired.el: Use Dired consistently in docstrings.
5941 (dired-readin, dired-mode): Use `setq-local'.
5942 (dired-switches-alist): Make defvar-local.
5943 (dired-buffers-for-dir): Use `zerop'.
5944 (dired-safe-switches-p, dired-switches-escape-p)
5945 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5946 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5947 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5948 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5949 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5950 (dired-toggle-marks, dired-mark-files-containing-regexp)
5951 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5952 (dired-flag-auto-save-files, dired-flag-backup-files):
5954 (dired-mark-files-regexp, dired-build-subdir-alist):
5955 Use `string-match-p', `looking-at-p'.
5957 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5958 (direct-print-region-helper): Use `string-match-p'.
5960 2013-06-21 Leo Liu <sdl.web@gmail.com>
5962 * comint.el (comint-redirect-results-list-from-process):
5965 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5967 * net/eww.el (eww-update-header-line-format): Quote % characters.
5969 2013-06-21 Glenn Morris <rgm@gnu.org>
5971 * play/cookie1.el (cookie): New custom group.
5972 (cookie-file): New option.
5973 (cookie-check-file): New function.
5974 (cookie): Make it interactive. Make start and end messages optional.
5975 Interactively, display the result. Default to cookie-file.
5976 (cookie-insert): Default to cookie-file.
5977 (cookie-snarf): Make start and end messages optional.
5978 Default to cookie-file. Use with-temp-buffer.
5979 (cookie-read): Rename from read-cookie.
5980 Make start and end messages optional. Default to cookie-file.
5981 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5983 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5984 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5986 2013-06-21 Leo Liu <sdl.web@gmail.com>
5988 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5990 2013-06-21 Glenn Morris <rgm@gnu.org>
5992 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5994 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5995 Daniel Hackney <dan@haxney.org>
5997 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5998 Consolidate the single-file vs tarball code.
5999 (package-desc-suffix): New function.
6000 (package-desc-full-name): Don't bother inlining it.
6001 (package-load-descriptor): Return the new package-desc.
6002 (package-mark-obsolete): Remove unused arg `package'.
6003 (package-unpack): Make it work for single files as well.
6004 Make it update package-alist.
6005 (package--make-autoloads-and-stuff): Rename from
6006 package--make-autoloads-and-compile. Don't compile any more.
6007 (package--compile): New function.
6008 (package-generate-description-file): New function, extracted from
6009 package-unpack-single.
6010 (package-unpack-single): Remove.
6011 (package--with-work-buffer): Add indentation and debugging info.
6012 (package-download-single): Remove.
6013 (package-install-from-archive): Rename from package-download-tar, make
6014 it take a pkg-desc, and make it work for single files as well.
6015 (package-download-transaction): Simplify.
6016 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
6017 external tar program.
6018 (package-install-from-buffer): Remove `pkg-desc' argument.
6019 Use package-tar-file-info for tar-mode buffers.
6020 (package-install-file): Simplify accordingly.
6021 (package-archive-base): Change to take a pkg-desc.
6022 * tar-mode.el (tar--check-descriptor): New function, extracted from
6024 (tar-get-descriptor): Use it.
6025 (tar-get-file-descriptor): New function.
6026 (tar--extract): New function, extracted from tar-extract.
6027 (tar--extract): Use it.
6028 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
6029 case the summary uses non-ascii. Adjust to new calling convention of
6030 package-tar-file-info.
6032 2013-06-21 Leo Liu <sdl.web@gmail.com>
6034 * comint.el (comint-redirect-results-list-from-process):
6035 Fix random delay. (Bug#14681)
6037 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
6039 * profiler.el (profiler-format-number): Use log, not log10.
6041 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6043 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
6045 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
6047 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
6048 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
6050 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
6051 (AUTOGENEL): ... here.
6052 * emacs-lisp/cl-macs.el (cl--sublis): New function.
6053 (cl--defsubst-expand): Use it.
6055 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
6057 * subr.el (log10): Move here from C code, and declare as obsolete.
6058 All uses of (log10 X) replaced with (log X 10).
6060 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6062 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
6063 Declare with `defvar-local'.
6064 (tabulated-list-use-header-line, tabulated-list-entries)
6065 (tabulated-list-padding, tabulated-list-printer)
6066 (tabulated-list-sort-key): Declare with `defvar-local'.
6067 (tabulated-list-init-header, tabulated-list-print-fake-header):
6070 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
6072 * arc-mode.el (archive-mode): Add `archive-write-file' to
6073 `write-contents-functions' also for remote files. (Bug#14652)
6075 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
6077 * cus-edit.el (custom-commands): Fix typos.
6078 (custom-display): Fix tooltip text.
6079 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
6080 Fix typos in docstrings.
6081 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
6082 (custom-unlispify-menu-entry, custom-magic-value-create)
6083 (custom-add-see-also, custom-group-value-create): Use ?\s.
6084 (custom-guess-type, customize-apropos, editable-field)
6085 (custom-face-value-create): Use `string-match-p'.
6086 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
6088 * custom.el (custom-load-symbol): Use `string-match-p'.
6090 * ansi-color.el: Convert to lexical binding.
6091 (ansi-colors): Fix URL.
6092 (ansi-color-context, ansi-color-context-region): Use defvar-local.
6093 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
6094 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
6096 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6098 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
6100 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
6102 2013-06-19 Tom Tromey <tromey@redhat.com>
6104 * net/eww.el (eww-top-url): Remove.
6105 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
6106 (eww-render): Set new variables. Don't set eww-top-url.
6107 (eww-handle-link): Handle "prev", "home", and "contents".
6108 Downcase the rel text.
6109 (eww-top-url): Choose best top URL.
6111 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6113 * net/eww.el: Rewrite to implement form elements "by hand" instead of
6114 relying in widget.el. Using widget.el leads to too many
6115 user interface inconsistencies.
6116 (eww-self-insert): Implement entering commands in text fields.
6117 (eww-process-text-input): New function to make text input field editing
6119 (eww-submit): Rewrite to use the new-style form methods.
6120 (eww-select-display): Display the correct selected item.
6121 (eww-change-select): Implement changing the select value.
6122 (eww-toggle-checkbox): Implement radio/checkboxes.
6123 (eww-update-field): Fix compilation error.
6124 (eww-tag-textarea): Implement <textarea>.
6126 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
6127 we don't shadow mode-specific bindings.
6129 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
6132 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
6134 2013-06-19 Glenn Morris <rgm@gnu.org>
6136 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
6138 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6140 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
6143 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
6145 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
6147 * net/browse-url.el (browse-url-browser-function):
6148 `eww-browse-url' has the right calling signature, `eww' does not.
6150 2013-06-19 Glenn Morris <rgm@gnu.org>
6152 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6153 Only eval autoloaded macros.
6154 (byte-compile-autoload): Only give the macro warning for macros.
6156 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6157 (ps-underlined-faces): Declare.
6159 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6160 (speedbar-add-supported-extension): Declare.
6162 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6163 Don't include a date stamp in the header of the generated file;
6164 it leads to needless differences between output files.
6166 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6168 * net/secrets.el (secrets-struct-secret-content-type):
6169 Replace check of introspection data by a test call of "CreateItem".
6170 Some servers do not offer introspection.
6172 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6174 * electric.el (electric-pair-mode): Improve interaction with
6175 electric-layout-mode.
6176 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6177 (electric-pair-syntax): Use text-mode-syntax-table in comments
6179 (electric-pair--insert): New function.
6180 (electric-pair-post-self-insert-function): Use it and
6181 electric--after-char-pos.
6183 2013-06-19 Leo Liu <sdl.web@gmail.com>
6185 * progmodes/octave.el (octave-help): Fix regexp.
6187 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6189 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6190 (shr-table-horizontal-line): Allow nil as a value, and change the
6192 (shr-insert-table-ruler): Respect the nil value.
6194 2013-06-18 Tom Tromey <tromey@barimba>
6196 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6198 (eww-open-file): New defun.
6199 (eww-render): Initialize new variables.
6200 (eww-display-html): Handle "link" and "a".
6201 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6202 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6203 (eww-back-url): Rename from eww-previous-url.
6204 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6207 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6209 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6210 Distinguish ternary operator tokens from slash symbol and slash
6213 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6215 Convert symbol prettification into minor mode and global minor mode.
6217 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6218 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6219 (prettify-symbols--keywords): Rename from
6220 `prog-prettify-symbols-alist' and make a local defvar.
6221 (prettify-symbols--compose-symbol): Rename from
6222 `prog--prettify-font-lock-compose-symbol'.
6223 (prettify-symbols--make-keywords): Rename from
6224 `prog-prettify-font-lock-symbols-keywords' and simplify.
6225 (prog-prettify-install): Remove.
6226 (prettify-symbols-mode): New minor mode, based on
6227 `prog-prettify-install'.
6228 (turn-on-prettify-symbols-mode): New function.
6229 (global-prettify-symbols-mode): New globalized minor mode.
6231 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6232 * progmodes/cfengine.el (cfengine3-mode):
6233 * progmodes/perl-mode.el (perl-mode): Don't call
6234 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6236 2013-06-18 Juri Linkov <juri@jurta.org>
6238 * files-x.el (modify-file-local-variable-message): New function.
6239 (modify-file-local-variable)
6240 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6241 and call `modify-file-local-variable-message' when it's non-nil.
6242 (add-file-local-variable, delete-file-local-variable)
6243 (add-file-local-variable-prop-line)
6244 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6245 and use it. (Bug#9820)
6247 2013-06-18 Juri Linkov <juri@jurta.org>
6249 * emulation/vi.el (vi-shell-op):
6250 * emulation/vip.el (vip-execute-com, ex-command):
6251 * emulation/viper-cmd.el (viper-exec-bang):
6252 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6253 the call of `shell-command-on-region'. (Bug#14637)
6255 * simple.el (shell-command-on-region): Doc fix.
6257 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6262 2013-06-18 Glenn Morris <rgm@gnu.org>
6264 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6266 * newcomment.el (comment-search-forward, comment-search-backward):
6267 Doc fix. (Bug#14376)
6269 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6271 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6272 (buffer-face-mode-invoke): Doc fix.
6274 2013-06-18 Matthias Meulien <orontee@gmail.com>
6276 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6277 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6279 2013-06-18 Glenn Morris <rgm@gnu.org>
6281 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6282 Replace obsolete function generic-make-keywords with its expansion.
6284 * progmodes/python.el (ffap-alist): Declare.
6286 * textmodes/reftex.el (bibtex-mode-map): Declare.
6288 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6290 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6291 (package-unpack, package-unpack-single): Return the pkg-dir.
6292 (package-download-transaction): Use it to update package-alist.
6294 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6296 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6299 2013-06-17 Juri Linkov <juri@jurta.org>
6301 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6303 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6305 * emacs-lisp/package.el (package-load-descriptor):
6306 Remove `with-syntax-table' call, `read' doesn't need it.
6307 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6309 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6311 * startup.el (command-line): Expand package name returned by
6312 `package--description-file' (bug#14639).
6314 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6316 * emacs-lisp/package.el (package-load-descriptor): Do not call
6317 `emacs-lisp-mode', just use its syntax table.
6319 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6321 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6322 `font-lock-extra-managed-props' if any prettifying keyword is added.
6323 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6324 (prog-mode): Use `setq-local'.
6326 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6328 * international/characters.el (standard-case-table): Set syntax of ?»
6329 and ?« to punctuation.
6331 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6333 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6334 Save relevant match data before calling `syntax-ppss' (bug#14595).
6336 2013-06-15 Juri Linkov <juri@jurta.org>
6338 * files-x.el (modify-file-local-variable-prop-line): Add local
6339 variables to the end of the existing comment on the first line.
6340 Use `file-auto-mode-skip' to skip interpreter magic line,
6341 and also skip XML declaration.
6343 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * startup.el (package--builtin-versions): New var.
6346 (package-subdirectory-regexp): Remove.
6347 (package--description-file): Hard code its value instead.
6349 * emacs-lisp/package.el: Don't activate packages older than builtin.
6350 (package-obsolete-list): Rename from package-obsolete-alist, and make
6351 it into a simple list of package-desc.
6352 (package-strip-version): Remove.
6353 (package-built-in-p): Use package--builtin-versions.
6354 (package-mark-obsolete): Simplify.
6355 (package-process-define-package): Mark it obsolete if older than the
6357 (package-handle-response): Use line-end-position.
6358 (package-read-archive-contents, package--download-one-archive):
6360 (package--add-to-archive-contents): Skip if older than the builtin or
6362 (package-menu-describe-package): Fix last change.
6363 (package-list-unversioned): New var.
6364 (package-menu--generate): Use it.
6366 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6367 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6368 (autoload-builtin-package-versions): New variable.
6369 (autoload-generate-file-autoloads): Use them.
6370 Remove the list of autoloaded functions/macros from the
6371 (autoload...) comments.
6373 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6375 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6377 * simple.el (line-move-partial): Don't jump to the next screen
6378 line as soon as it becomes visible. Instead, continue enlarging
6379 the vscroll until the portion of a tall screen line that's left on
6380 display is about the height of the frame's default font.
6383 2013-06-15 Glenn Morris <rgm@gnu.org>
6385 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6386 compilation-error-regexp-alist void, or local while let-bound.
6388 * progmodes/make-mode.el (makefile-mode-syntax-table):
6389 Treat "=" as punctuation. (Bug#14614)
6391 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6393 * help-fns.el (describe-variable):
6394 Add extra line for permanent-local variables.
6396 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6398 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6399 Add export, import, library. (Bug#9164)
6400 (library): Set indent function.
6402 2013-06-14 Glenn Morris <rgm@gnu.org>
6404 * term/xterm.el (xterm--query):
6405 Stop after first matching handler. (Bug#14615)
6407 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6409 Add support for dired in saveplace.
6410 * dired.el (dired-initial-position-hook): New variable.
6411 (dired-initial-position): Call hook to place cursor position.
6412 * saveplace.el (save-place-to-alist): Add dired position.
6413 (save-place-dired-hook): New function.
6415 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6417 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6418 through a symbol rather than letrec.
6420 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6421 (package-desc): Add `dir' field.
6422 (package-desc-full-name): New function.
6423 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6424 (package-maybe-load-descriptor): Remove.
6425 (package-load-all-descriptors): Just call package-load-descriptor.
6426 (package--disabled-p): New function.
6427 (package-desc-vers, package-desc-doc): Remove aliases.
6428 (package--dir): Remove function.
6429 (package-activate): Check if a package is disabled.
6430 (package-process-define-package): New function, extracted from
6432 (define-package): Turn into a place holder.
6433 (package-unpack-single, package-tar-file-info):
6434 Use package--description-file.
6435 (package-compute-transaction): Use package--disabled-p.
6436 (package-download-transaction): Don't call
6437 package-maybe-load-descriptor since they're all loaded anyway.
6438 (package-install): Change argument to be a pkg-desc.
6439 (package-delete): Use a single pkg-desc argument.
6440 (describe-package-1): Use package-desc-dir instead of package--dir.
6441 Use package-desc property instead of package-symbol.
6442 (package-install-button-action): Adjust accordingly.
6443 (package--push): Rewrite.
6444 (package-menu--print-info): Adjust accordingly. Change the ID format
6446 (package-menu-describe-package, package-menu-get-status)
6447 (package-menu--find-upgrades, package-menu-mark-upgrades)
6448 (package-menu-execute, package-menu--name-predicate):
6450 * startup.el (package--description-file): New function.
6451 (command-line): Use it.
6452 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6453 Use package-desc-version.
6455 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6456 (byte-compile-preprocess): Use it.
6457 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6458 can't quite recognize.
6459 (byte-compile-add-to-list): Remove.
6460 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6461 (cconv-closure-convert): Add assertion.
6463 * emacs-lisp/map-ynp.el: Use lexical-binding.
6464 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6465 Factor out some repeated code.
6467 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6469 * subr.el (with-eval-after-load): New macro.
6470 (eval-after-load): Allow form to be a function.
6471 take advantage of lexical-binding.
6472 (do-after-load-evaluation): Use dolist and adjust to new format.
6473 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6475 2013-06-13 Juri Linkov <juri@jurta.org>
6477 * replace.el (perform-replace): Display "symbol " and other search
6478 modes from `isearch-message-prefix' in the *Help* buffer.
6480 * isearch.el (isearch-query-replace): Add " symbol" and other
6481 possible search modes from `isearch-message-prefix' to the prompt.
6482 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6483 when reading a regexp to collect.
6485 2013-06-13 Juri Linkov <juri@jurta.org>
6487 * isearch.el (word-search-regexp): Match whitespace if the search
6488 string begins or ends in whitespace. The LAX arg is applied to
6489 both ends of the search string. Use `regexp-quote' and explicit
6490 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6491 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6492 boundaries are replaced with symbol boundaries, and characters
6493 between symbols match non-word non-symbol syntax. (Bug#14602)
6495 2013-06-13 Juri Linkov <juri@jurta.org>
6497 * isearch.el (isearch-del-char): Don't exceed the length of
6498 `isearch-string' by the prefix arg. (Bug#14563)
6500 2013-06-13 Juri Linkov <juri@jurta.org>
6502 * isearch.el (isearch-yank-word, isearch-yank-line)
6503 (isearch-char-by-name, isearch-quote-char)
6504 (isearch-printing-char, isearch-process-search-char):
6505 Add optional count prefix arg. (Bug#14563)
6507 * international/isearch-x.el
6508 (isearch-process-search-multibyte-characters):
6509 Add optional count prefix arg.
6511 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6513 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6514 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6517 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6519 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6521 2013-06-13 Glenn Morris <rgm@gnu.org>
6523 * startup.el (tty-handle-args):
6524 Don't just discard "--" and anything after. (Bug#14608)
6526 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6528 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6530 Implement changes in Secret Service API. Make it backward compatible.
6531 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6532 (secrets-create-item): Use it. Prefix properties with interface.
6534 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6536 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6537 (term-emulate-terminal): Respect term-suppress-hard-newline.
6539 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6541 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6542 Only remove a `thumb-file' overlay. (Bug#14548)
6544 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6546 * mail/reporter.el (reporter-submit-bug-report):
6547 Handle missing package-name. (Bug#14600)
6549 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6551 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6552 (reftex-citation-prompt, reftex-default-bibliography)
6553 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6554 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6555 (reftex-bib-sort-author, reftex-bib-sort-year)
6556 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6557 (reftex-extract-bib-entries-from-thebibliography)
6558 (reftex-get-bibkey-default, reftex-get-bib-names)
6559 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6560 (reftex-format-bib-entry, reftex-parse-bibitem)
6561 (reftex-format-bibitem, reftex-do-citation)
6562 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6563 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6564 (reftex-insert-bib-matches, reftex-format-citation)
6565 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6566 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6567 existing comments into docstrings.
6569 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6571 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6573 2013-06-12 Andreas Schwab <schwab@suse.de>
6575 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6576 for auto-save files.
6578 2013-06-12 Glenn Morris <rgm@gnu.org>
6580 * ido.el (ido-delete-ignored-files): Remove.
6581 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6582 Go back to calling ido-ignore-item-p directly.
6584 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6586 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6588 * ido.el (ido-delete-ignored-files): New function,
6589 split from ido-make-file-list-1.
6590 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6591 (ido-make-file-list-1): Use ido-delete-ignored-files.
6593 2013-06-12 Leo Liu <sdl.web@gmail.com>
6595 * progmodes/octave.el (inferior-octave-startup)
6596 (inferior-octave-completion-table)
6597 (inferior-octave-track-window-width-change)
6598 (octave-eldoc-function-signatures, octave-help)
6599 (octave-find-definition): Use single quoted strings.
6600 (inferior-octave-startup-args): Change default value.
6601 (inferior-octave-startup): Do not hard code "-i" and
6602 "--no-line-editing".
6603 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6604 (inferior-octave-directory-tracker): Use it.
6605 (octave-goto-function-definition): Robustify.
6606 (octave-help): Support highlighting operators in 'See also'.
6607 (octave-find-definition): Find subfunctions only in Octave mode.
6609 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6611 * help-fns.el (help-fns--compiler-macro): If the handler function is
6612 named, then put a link to it.
6613 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6614 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6616 (cl-eval-when): Simplify debug spec.
6617 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6618 compiler-macro function instead of setting `compiler-macro-file'.
6620 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6622 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6623 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6625 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6626 Daniel Hackney <dan@haxney.org>
6628 First part of Daniel Hackney's patch to package.el.
6629 * emacs-lisp/package.el: Use defstruct.
6630 (package-desc): New, main struct.
6631 (package--bi-desc, package--ac-desc): New structs, used to describe the
6632 format in external files.
6633 (package-desc-vers): Replace with package-desc-version accessor.
6634 (package-desc-doc): Replace with package-desc-summary accessor.
6635 (package-activate-1): Remove `package' arg since the pkg-vec now
6637 (define-package): Use package-desc-from-define.
6638 (package-unpack-single): Change file-name arg to be a symbol.
6639 (package--add-to-archive-contents): Use package-desc-create and new
6640 accessor functions to package--ac-desc.
6641 (package-buffer-info, package-tar-file-info): Return a package-desc.
6642 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6643 arg to be a package-desc.
6644 (package-install-file): Adjust accordingly. Use \' to match EOS.
6645 (package--from-builtin): New function.
6646 (describe-package-1, package-menu--generate): Use it.
6647 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6648 (package-generate-autoloads): Idem and return the name of the file.
6649 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6650 Change pkg-info arg to be a package-desc.
6651 Use package-make-ac-desc.
6652 (package-upload-file): Use \' to match EOS.
6653 * finder.el (finder-compile-keywords): Use package-make-builtin.
6655 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6657 * vc/vc.el (vc-deduce-fileset): Change error message.
6658 (vc-read-backend): New function.
6659 (vc-next-action): Use it.
6661 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6663 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6664 (prolog-font-lock-keywords): Use regexp-opt instead.
6665 Don't manually highlight strings.
6666 (prolog-mode-variables): Simplify comment-start-skip.
6667 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6669 * emacs-lisp/generic.el (generic--normalise-comments)
6670 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6671 (generic-mode-set-comments): Use them.
6672 (generic-bracket-support): Use setq-local.
6673 (generic-make-keywords-list): Declare obsolete.
6675 2013-06-11 Glenn Morris <rgm@gnu.org>
6677 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6678 Prettify after setting font-lock-defaults. (Bug#14574)
6680 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6682 * replace.el (query-replace, occur-read-regexp-defaults-function)
6684 * subr.el (declare-function, number-sequence, local-set-key)
6685 (substitute-key-definition, locate-user-emacs-file)
6686 (with-silent-modifications, split-string, eval-after-load):
6687 Fix typos, remove unneeded backslashes and reflow some docstrings.
6689 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6691 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6692 default for Elisp files.
6694 2013-06-11 Glenn Morris <rgm@gnu.org>
6696 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6697 although define-derived-mode was doing this anyway. (Bug#14583)
6699 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6701 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6702 Fix make-variable-buffer-local call to refer to the correct variable.
6704 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6706 * eshell/em-term.el (eshell-visual-commands)
6707 (eshell-visual-subcommands, eshell-visual-options):
6708 Add summary line to docstrings. Add cross-references.
6710 2013-06-10 Glenn Morris <rgm@gnu.org>
6712 * epa.el (epa-read-file-name): New function. (Bug#14510)
6713 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6715 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6717 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6718 output redirection to be ignored with visual commands.
6720 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6722 * eshell/em-term.el (eshell-visual-command-p): New function.
6723 (eshell-term-initialize): Move long lambda to separate function
6724 eshell-visual-command-p.
6725 * eshell/em-dirs.el (eshell-dirs-initialise):
6726 * eshell/em-script.el (eshell-script-initialize):
6727 Add missing #' to lambda.
6729 2013-06-08 Leo Liu <sdl.web@gmail.com>
6731 * progmodes/octave.el (octave-add-log-current-defun): New function.
6732 (octave-mode): Set add-log-current-defun-function.
6733 (octave-goto-function-definition): Do not move point if not found.
6734 (octave-find-definition): Enhance to try subfunctions first.
6736 2013-06-08 Glenn Morris <rgm@gnu.org>
6738 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6739 (byte-compile-backward-char, byte-compile-backward-word):
6740 Improve previous change, to handle non-explicit nil.
6742 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6744 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6745 (smie--opener/closer-at-point): New function.
6746 (smie--matching-block-data): Use it. Don't match from right after an
6747 opener or right before a closer. Obey smie-blink-matching-inners.
6748 Don't signal a mismatch for repeated inners like "switch..case..case".
6750 2013-06-07 Leo Liu <sdl.web@gmail.com>
6752 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6754 (octave-function-header-regexp): Fix. (Bug#14570)
6755 (octave-help-mode-finish-hook, octave-help-mode-finish):
6756 Remove. Just use temp-buffer-show-hook.
6758 * newcomment.el (comment-search-backward): Revert last change.
6761 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6763 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6765 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6766 through xargs, to avoid failure due to MS-Windows limitations on
6767 command-line length.
6769 2013-06-06 Glenn Morris <rgm@gnu.org>
6771 * font-lock.el (lisp-font-lock-keywords-2):
6772 Treat user-error like error.
6774 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6775 (byte-compile-backward-char, byte-compile-backward-word):
6776 Handle explicit nil arguments. (Bug#14565)
6778 2013-06-05 Alan Mackenzie <acm@muc.de>
6780 * isearch.el (isearch-allow-prefix): New user option.
6781 (isearch-other-meta-char): Don't exit isearch when a prefix
6782 argument is typed whilst `isearch-allow-prefix' is non-nil.
6785 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6787 * autorevert.el (auto-revert-notify-handler): Use memq.
6788 Hide assertion failure.
6790 * skeleton.el: Use cl-lib.
6791 (skeleton-further-elements): Use defvar-local.
6792 (skeleton-insert): Use cl-progv.
6794 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6796 * progmodes/prog-mode.el (prog-prettify-symbols)
6797 (prog-prettify-install): Update docstrings.
6799 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6801 * simple.el: Move all the prog-mode code to prog-mode.el.
6802 * progmodes/prog-mode.el: New file.
6803 * loadup.el: Add prog-mode.el.
6805 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6807 * simple.el (prog-prettify-symbols): Add version.
6808 (prog-prettify-install): Add convenience function to prettify symbols.
6810 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6811 (perl--augmented-font-lock-keywords-1)
6812 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6813 variables and use it.
6815 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6816 (cfengine3-mode): Remove unneeded variable and use it.
6818 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6819 (lisp--augmented-font-lock-keywords-1)
6820 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6821 Remove unneeded variables and use it.
6823 2013-06-05 João Távora <joaotavora@gmail.com>
6825 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6826 to point when opening the connection. (Bug#14380)
6828 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6830 * subr.el (load-history-regexp, load-history-filename-element)
6831 (eval-after-load, after-load-functions, do-after-load-evaluation)
6832 (eval-next-after-load, display-delayed-warnings)
6833 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6834 definition of save-match-data.
6835 (overriding-local-map): Remove accidental obsolescence declaration.
6837 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6839 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6841 Generalize symbol prettify support to prog-mode and implement it
6842 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6843 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6844 (prog--prettify-font-lock-compose-symbol)
6845 (prog-prettify-font-lock-symbols-keywords): New variables and
6846 functions to support symbol prettification.
6847 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6848 (lisp--augmented-font-lock-keywords-1)
6849 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6850 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6851 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6852 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6853 Implement prettify of -> => :: strings.
6854 * progmodes/perl-mode.el (perl-prettify-symbols)
6855 (perl--font-lock-compose-symbol)
6856 (perl--font-lock-symbols-keywords): Move to prog-mode.
6857 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6858 (perl-font-lock-keywords-1)
6859 (perl-font-lock-keywords-2): Remove explicit prettify support.
6860 (perl--augmented-font-lock-keywords)
6861 (perl--augmented-font-lock-keywords-1)
6862 (perl--augmented-font-lock-keywords-2, perl-mode):
6863 Implement prettify support.
6865 2013-06-05 Leo Liu <sdl.web@gmail.com>
6867 Re-implement smie matching block highlight using
6868 show-paren-data-function. (Bug#14395)
6869 * emacs-lisp/smie.el (smie-matching-block-highlight)
6870 (smie--highlight-matching-block-overlay)
6871 (smie--highlight-matching-block-lastpos)
6872 (smie-highlight-matching-block)
6873 (smie-highlight-matching-block-mode): Remove.
6874 (smie--matching-block-data-cache): New variable.
6875 (smie--matching-block-data): New function.
6876 (smie-setup): Use smie--matching-block-data for
6877 show-paren-data-function.
6879 * progmodes/octave.el (octave-mode-menu): Fix.
6880 (octave-find-definition): Skip garbage lines.
6882 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6884 Fix compilation error with simultaneous dynamic+lexical scoping.
6885 Add warning when a defvar appears after the first let-binding.
6886 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6887 (byte-compile-close-variables): Initialize it.
6888 (byte-compile--declare-var): New function.
6889 (byte-compile-file-form-defvar)
6890 (byte-compile-file-form-define-abbrev-table)
6891 (byte-compile-file-form-custom-declare-variable): Use it.
6892 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6893 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6894 (byte-compile-bind): Handle dynamic bindings that shadow
6896 (byte-compile-unbind): Make arg non-optional.
6897 (byte-compile-let): Simplify.
6898 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6899 (cconv--analyse-function, cconv-analyse-form): Populate it.
6900 Protect byte-compile-bound-variables to limit the scope of defvars.
6901 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6902 Remove unneeded rule for `declare'.
6904 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6905 so as to avoid depending on cl-adjoin at run-time.
6906 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6908 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6909 (macroexp--warn-and-return): Use it.
6911 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6913 * lisp/subr.el: Convert to lexical binding.
6914 (overriding-local-map): Make obsolete.
6915 (add-to-list): Doc fix. Add compiler macro.
6916 (read-key): Swap values of local maps.
6918 2013-06-05 Leo Liu <sdl.web@gmail.com>
6920 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6922 2013-06-04 Leo Liu <sdl.web@gmail.com>
6924 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6925 (compilation-auto-jump): Suppress the "Mark set" message to give
6926 way to exit message.
6928 2013-06-04 Alan Mackenzie <acm@muc.de>
6930 Remove faulty optimisation from indentation calculation.
6931 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6932 search limit based on 2000 characters back from indent-point.
6934 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6936 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6938 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6940 * emacs-lisp/lisp.el: Use lexical-binding.
6941 (lisp--local-variables-1, lisp--local-variables): New functions.
6942 (lisp--local-variables-completion-table): New var.
6943 (lisp-completion-at-point): Use it complete let-bound vars.
6945 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6946 eagerly (bug#14422).
6948 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6950 * autorevert.el (auto-revert-notify-enabled)
6951 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6952 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6953 (auto-revert-notify-handler): Handle also gfilenotify.
6955 * subr.el (file-notify-handle-event): New defun. Replacing ...
6956 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6959 2013-06-03 Juri Linkov <juri@jurta.org>
6961 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6962 `M-s h .'. (Bug#14427)
6964 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6965 command `hi-lock-face-symbol-at-point'.
6966 (hi-lock-face-symbol-at-point): New command.
6967 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6968 (hi-lock-menu): Add `highlight-symbol-at-point'.
6969 (hi-lock-mode): Doc fix.
6971 * isearch.el (isearch-forward-symbol-at-point): New command.
6972 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6973 (isearch-highlight-regexp): Add a regexp which matches
6974 words/symbols for word/symbol mode.
6976 * subr.el (find-tag-default-bounds): New function with the body
6977 mostly moved from `find-tag-default'.
6978 (find-tag-default): Move most code to `find-tag-default-bounds',
6979 call it and apply `buffer-substring-no-properties' afterwards.
6981 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6983 * eshell/em-term.el (eshell-term-initialize):
6984 Use `cl-intersection' rather than `intersection'.
6986 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6988 * vc/log-view.el: Doc fix.
6989 (log-view-mode-map): Copy keymap from `special-mode-map'.
6991 2013-06-02 Eric Ludlam <zappo@gnu.org>
6993 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6994 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6995 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6996 (eieio-unbound, eieio-default-superclass)
6997 (eieio--define-field-accessors, method-static, method-before)
6998 (method-primary, method-after, method-num-lists)
6999 (method-generic-before, method-generic-primary)
7000 (method-generic-after, method-num-slots)
7001 (eieio-specialized-key-to-generic-key)
7002 (eieio--check-type, class-v, class-p)
7003 (eieio-class-name, define-obsolete-function-alias)
7004 (eieio-class-parents-fast, eieio-class-children-fast)
7005 (same-class-fast-p, class-constructor, generic-p)
7006 (generic-primary-only-p, generic-primary-only-one-p)
7007 (class-option-assoc, class-option, eieio-object-p)
7008 (class-abstract-p, class-method-invocation-order)
7009 (eieio-defclass-autoload-map, eieio-defclass-autoload)
7010 (eieio-class-un-autoload, eieio-defclass)
7011 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
7012 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
7013 (eieio--defgeneric-init-form, eieio-defgeneric-form)
7014 (eieio-defgeneric-reset-generic-form)
7015 (eieio-defgeneric-form-primary-only)
7016 (eieio-defgeneric-reset-generic-form-primary-only)
7017 (eieio-defgeneric-form-primary-only-one)
7018 (eieio-defgeneric-reset-generic-form-primary-only-one)
7019 (eieio-unbind-method-implementations)
7020 (eieio--defmethod, eieio--typep)
7021 (eieio-perform-slot-validation, eieio-validate-slot-value)
7022 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
7023 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
7024 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
7025 (eieio-slot-name-index, eieio-class-slot-name-index)
7026 (eieio-set-defaults, eieio-initarg-to-attribute)
7027 (eieio-attribute-to-initarg, eieio-c3-candidate)
7028 (eieio-c3-merge-lists, eieio-class-precedence-c3)
7029 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
7030 (eieio-class-precedence-list, eieio-generic-call-methodname)
7031 (eieio-generic-call-arglst, eieio-generic-call-key)
7032 (eieio-generic-call-next-method-list)
7033 (eieio-pre-method-execution-functions, eieio-generic-call)
7034 (eieio-generic-call-primary-only, eieiomt-method-list)
7035 (eieiomt-optimizing-obarray, eieiomt-install)
7036 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
7037 (eieio-generic-form, eieio-defmethod, make-obsolete)
7038 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
7039 (defclass): Remove `eval-and-compile' from macro.
7040 (call-next-method, shared-initialize): Instead of using
7041 `scoped-class' variable, use new eieio--scoped-class, and
7042 eieio--with-scoped-class.
7043 (initialize-instance): Rename local variable 'scoped-class' to
7044 'this-class' to remove ambiguitity from old global.
7046 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
7048 (eieio--scoped-class-stack): New variable.
7049 (eieio--scoped-class): New fcn.
7050 (eieio--with-scoped-class): New scoping macro.
7051 (eieio-defclass): Use pushnew instead of add-to-list.
7052 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
7053 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
7054 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
7055 `scoped-class' variable, use new eieio--scoped-class, and
7056 eieio--with-scoped-class.
7058 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
7060 2013-06-02 Tassilo Horn <tsdh@gnu.org>
7062 * eshell/esh-ext.el (eshell-external-command): Pass args to
7063 `eshell-find-interpreter'.
7064 (eshell-find-interpreter): Add new second parameter ARGS.
7066 * eshell/em-script.el (eshell-script-initialize): Add second arg
7067 to the function added as MATCH to `eshell-interpreter-alist'.
7069 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
7070 the function added as MATCH to `eshell-interpreter-alist'.
7072 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
7073 (eshell-visual-options): New defcustom.
7074 (eshell-escape-control-x): Adapt docstring.
7075 (eshell-term-initialize): Test `eshell-visual-subcommands' and
7076 `eshell-visual-options' in addition to `eshell-visual-commands'.
7077 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
7079 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
7081 * progmodes/python.el (python-indent-block-enders): Add break,
7082 continue and raise keywords.
7084 2013-06-01 Glenn Morris <rgm@gnu.org>
7086 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
7088 Plain (f)boundp silences compilation warnings since Emacs 22.1.
7089 * progmodes/cc-cmds.el (delete-forward-p):
7090 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
7091 * progmodes/cc-engine.el (buffer-syntactic-context):
7092 * progmodes/cc-fonts.el (face-property-instance):
7093 * progmodes/cc-mode.el (set-keymap-parents):
7094 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
7095 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
7096 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
7097 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
7098 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
7100 * progmodes/cc-vars.el (other): Emacs has this widget since
7101 at least 21.1, so don't (re)define it.
7103 * eshell/em-cmpl.el (eshell-cmpl-initialize):
7104 Replace the obsolete alias pcomplete-arg-quote-list.
7106 2013-06-01 Leo Liu <sdl.web@gmail.com>
7108 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
7110 (inferior-octave-minimal-columns)
7111 (inferior-octave-last-column-width): New variables.
7112 (inferior-octave-track-window-width-change): New function.
7113 (inferior-octave-mode): Adjust column width so that Octave output,
7114 for example from 'ls', can fit into the window nicely.
7116 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7118 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7119 Highlight expansions inside regexp literals.
7121 2013-05-31 Glenn Morris <rgm@gnu.org>
7123 * obsolete/sym-comp.el (symbol-complete):
7124 Replace obsolete completion-annotate-function.
7126 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
7128 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
7130 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
7131 New function, checks if point is inside a literal that allows
7132 expression expansion.
7133 (ruby-syntax-propertize-expansion): Use it.
7134 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
7137 2013-05-30 Juri Linkov <juri@jurta.org>
7139 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
7141 (isearch-invisible): New variable.
7142 (isearch-forward): Doc fix.
7143 (isearch-mode): Set `isearch-invisible'
7144 to the value of `search-invisible'.
7145 (isearch-toggle-case-fold): Doc fix.
7146 (isearch-toggle-invisible): New command.
7147 (isearch-query-replace): Let-bind `search-invisible'
7148 to the value of `isearch-invisible'.
7149 (isearch-search): Use `isearch-invisible' instead of
7150 `search-invisible'. Let-bind `search-invisible'
7151 to the value of `isearch-invisible'. (Bug#11378)
7153 2013-05-30 Juri Linkov <juri@jurta.org>
7155 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7156 call when `query-flag' is nil and `search-invisible' is non-nil.
7159 2013-05-30 Glenn Morris <rgm@gnu.org>
7161 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7163 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7164 (cc-require): Suppress spurious "noruntime" warnings.
7165 (cc-require-when-compile): Use fboundp, for sake of compiler.
7167 * progmodes/cc-mode.el: Move load of cc-vars before that of
7168 cc-langs (which in turn loads cc-vars), to quieten compiler.
7170 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7172 * paren.el: Simplify the code.
7173 (show-paren-mode): Always start the timer.
7174 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7175 (show-paren--overlay, show-paren--overlay-1): Rename from
7176 show-paren-overlay and show-paren-overlay-1, and initialize to an
7177 overlay rather than to nil.
7178 (show-paren-function): Misc cleanup and simplifications.
7180 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7182 * paren.el (show-paren-data-function): New hook.
7183 (show-paren--default): New function, extracted from show-paren-function.
7184 (show-paren-function): Use show-paren-data-function.
7186 2013-05-30 Glenn Morris <rgm@gnu.org>
7188 * ielm.el (ielm-map, ielm-complete-symbol):
7189 Use completion-at-point rather than obsolete functions.
7190 (inferior-emacs-lisp-mode): Doc fix.
7191 Set completion-at-point-functions, rather than
7192 comint-dynamic-complete-functions.
7194 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7195 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7196 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7198 * image.el (image-animated-p): Tweak definition.
7200 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7201 (rlogin-process-connection-type): Tweak default. Add set-after.
7202 (rlogin-host): Doc fix.
7203 (rlogin): Tweak prompt.
7204 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7206 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7207 * progmodes/tcl.el (inferior-tcl-mode-map):
7208 Use completion-at-point rather than obsolete alias.
7210 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7212 * minibuffer.el (read-file-name-completion-ignore-case):
7213 Move before completion--in-region, for eager macro expansion.
7215 2013-05-29 Juri Linkov <juri@jurta.org>
7217 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7218 for total count of matching lines. Add `global-matches' for total
7219 count of matches. Rename `matches' to `lines' for count of
7220 matching lines. Add `matches' for count of matches.
7221 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7222 to `prev-line' for line number of prev match endpt.
7223 Increment `matches' for every match. Print the number of
7224 matching lines in the header.
7225 (occur-context-lines): Rename `lines' to `curr-line'.
7226 Rename `prev-lines' to `prev-line'. (Bug#14017)
7228 2013-05-29 Juri Linkov <juri@jurta.org>
7230 * replace.el (perform-replace): Add `skip-read-only-count',
7231 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7232 Increment them for corresponding conditions and report the number
7233 of skipped occurrences in the final message. (Bug#11746)
7234 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7235 (replace-string, replace-regexp): Doc fix.
7237 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7239 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7241 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7242 prog-mode-map (bug#14504).
7244 2013-05-29 Leo Liu <sdl.web@gmail.com>
7246 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7247 (octave-help): Small simplification.
7249 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7250 off the highlight first.
7252 2013-05-29 Glenn Morris <rgm@gnu.org>
7254 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7255 Handle idlwave-last-system-routine-info-cons-cell being nil.
7257 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7258 (idlwave-write-paths): Simplify via with-temp-buffer.
7260 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7261 * emulation/cua-rect.el: Also load cua-base at run time.
7263 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7264 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7265 (cperl-imenu-on-info): Require imenu.
7267 2013-05-28 Alan Mackenzie <acm@muc.de>
7269 Handle "capitalised keywords" correctly.
7270 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7272 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7274 * eshell/em-unix.el: Add -r option to cp.
7276 2013-05-28 Glenn Morris <rgm@gnu.org>
7278 * vc/vc-arch.el (vc-exec-after): Declare.
7279 (vc-switches): Autoload.
7280 * vc/vc-bzr.el: No need to require vc when compiling.
7281 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7282 (vc-resynch-buffer, vc-dir-refresh): Declare.
7283 (vc-setup-buffer, vc-switches): Autoload.
7284 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7285 (vc-resynch-buffer): Declare.
7286 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7287 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7288 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7289 (grep-read-regexp, grep-read-files, grep-expand-template)
7290 (vc-dir-refresh): Declare.
7291 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7292 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7293 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7294 * vc/vc-mtn.el (vc-exec-after): Declare.
7295 (vc-switches): Autoload.
7296 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7297 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7298 (vc-file-tree-walk): Declare.
7299 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7300 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7301 (vc-tag-precondition, vc-rename-master): Autoload.
7302 * vc/vc-svn.el (vc-exec-after): Declare.
7303 (vc-switches, vc-setup-buffer): Autoload.
7304 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7306 (vc-resynch-buffer): Declare.
7308 * obsolete/fast-lock.el (byte-compile-warnings):
7309 Don't warn about obsolete features in this obsolete file.
7311 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7312 Move definition before use.
7314 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7315 (dun-unix-verbs): Remove dun-zippy.
7316 (dun-zippy): Remove function.
7318 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7320 2013-05-27 Juri Linkov <juri@jurta.org>
7322 * replace.el (replace-search): New function with code moved out
7323 from `perform-replace'.
7324 (replace-highlight, replace-dehighlight): Move function definitions
7325 up closer to `replace-search'. (Bug#11746)
7327 2013-05-27 Juri Linkov <juri@jurta.org>
7329 * replace.el (perform-replace): Ignore invisible matches.
7330 In addition to checking `query-replace-skip-read-only', also
7331 filter out matches by calling `run-hook-with-args-until-failure'
7332 on `isearch-filter-predicates', and also check `search-invisible'
7333 for t or call `isearch-range-invisible'.
7334 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7336 2013-05-27 Juri Linkov <juri@jurta.org>
7338 * isearch.el (isearch-filter-predicates): Rename from
7339 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7340 (isearch-message-prefix): Display text from the property
7341 `isearch-message-prefix' of the currently active filters.
7342 (isearch-search): Don't compare `isearch-filter-predicate' with
7343 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7344 on `isearch-filter-predicates'. Also check `search-invisible' for t
7345 or call `isearch-range-invisible'.
7346 (isearch-filter-visible): Make obsolete.
7347 (isearch-lazy-highlight-search):
7348 Call `run-hook-with-args-until-failure' on
7349 `isearch-filter-predicates' and use `isearch-range-invisible'.
7351 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7352 `isearch-filter-predicates' instead of `funcall'ing
7353 `isearch-filter-predicate'.
7354 (Info-mode): Set `Info-isearch-filter' to
7355 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7357 * dired-aux.el (dired-isearch-filter-predicate-orig):
7359 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7360 (dired-isearch-filenames-end): Add and remove
7361 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7362 instead of changing the value of `isearch-filter-predicate'.
7363 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7364 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7365 Put property `isearch-message-prefix' to "filename " on
7366 `dired-isearch-filter-filenames'.
7368 * wdired.el (wdired-change-to-wdired-mode):
7369 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7370 locally instead of changing `isearch-filter-predicate'.
7371 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7373 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7375 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7376 return the commit hash (Bug#14459). Also set the
7377 `vc-git-detached' property.
7378 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7379 (vc-git-mode-line-string): Use the same help-echo format whether
7380 in detached mode or not, because we know the actual revision now.
7381 When in detached mode, shorten the revision to 7 chars.
7383 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7385 * emacs-lisp/easy-mmode.el (define-minor-mode):
7386 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7387 mode hook and provide a docstring.
7389 2013-05-27 Alan Mackenzie <acm@muc.de>
7391 Remove spurious syntax-table text properties inserted by C-y.
7392 * progmodes/cc-mode.el (c-after-change): Also clear hard
7393 syntax-table property with value nil.
7395 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7397 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7398 when reading the events; the buffer layout shall not be changed.
7400 2013-05-27 Leo Liu <sdl.web@gmail.com>
7402 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7404 (inferior-octave-directory-tracker): Automatically re-sync
7406 (octave-help): Improve handling of 'See also'.
7408 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7410 * doc-view.el: Minor naming convention tweaks.
7411 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7413 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7414 even if there's no `display' property yet (bug#14435).
7416 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7418 * subr.el (unmsys--file-name): Rename from reveal-filename.
7420 * Makefile.in (custom-deps, finder-data, autoloads)
7421 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7422 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7423 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7425 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7427 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7428 error-completion on the first 2 args of condition-case (bug#14446).
7431 2013-05-25 Leo Liu <sdl.web@gmail.com>
7433 * comint.el (comint-previous-matching-input): Do not flood the
7434 *Messages* buffer with trivial messages.
7436 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7438 * progmodes/flymake.el (flymake-nop): Don't return a string.
7439 (flymake-set-at): Fix typo.
7441 * simple.el (read--expression): New function, extracted from
7442 eval-expression. Set completion-at-point-functions (bug#14465).
7443 (eval-expression, eval-minibuffer): Use it.
7445 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7447 * progmodes/flymake.el (flymake-save-buffer-in-file)
7448 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7449 (flymake-selected-frame, flymake-log, flymake-ins-after)
7450 (flymake-set-at, flymake-get-buildfile-from-cache)
7451 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7452 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7453 Refine the doc string.
7454 (flymake-get-file-name-mode-and-masks): Reformat.
7455 (flymake-get-real-file-name-function): Fix a minor bug.
7457 2013-05-24 Juri Linkov <juri@jurta.org>
7459 * progmodes/grep.el (grep-mode-font-lock-keywords):
7460 Support =linenumber= format used by git-grep for lines with
7461 function names. (Bug#13549)
7463 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7465 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7466 0 after a semi-colon; it works better for smie-auto-fill.
7467 (octave--indent-new-comment-line): New function.
7468 (octave-indent-new-comment-line): Use it (indirectly).
7469 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7470 modify comment-line-break-function.
7472 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7473 (smie-setup): Use add-function to set it.
7475 2013-05-24 Sam Steingold <sds@gnu.org>
7477 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7478 argument (before the `interactive' argument).
7480 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7482 * image-mode.el (image-mode-winprops): Add winprops to
7483 image-mode-winprops-alist before running
7484 image-mode-new-window-functions.
7485 * doc-view.el (doc-view-new-window-function): Don't delay
7486 doc-view-goto-page via timers (bug#14435).
7488 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7490 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7491 (doc-view-desktop-save-buffer): New function.
7492 (doc-view-restore-desktop-buffer): New function.
7493 (desktop-buffer-mode-handlers):
7494 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7496 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7497 `desktop-save-buffer' function.
7499 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7501 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7502 (tramp-gvfs-file-name-handler): Raise a user error when
7503 `tramp-gvfs-enabled' is nil.
7504 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7505 Do not raise a user error when loading package. (Bug#14447)
7507 * net/xesam.el: Move to obsolete/.
7509 2013-05-24 Glenn Morris <rgm@gnu.org>
7511 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7513 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7515 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7516 (Info-find-node, Man-getpage-in-background): Declare.
7518 * mail/unrmail.el (unrmail):
7519 Replace obsolete detect-coding-with-priority.
7521 * net/socks.el (socks-split-string): Use this rather than split-string.
7522 (socks-nslookup-host): Update for above change.
7523 (dynamic-choice, s5-dynamic-choice-match)
7524 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7525 Comment out unused code.
7527 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7528 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7529 (gud-tooltip-echo-area): Make obsolete.
7530 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7532 * progmodes/js.el (js--optimize-arglist): Declare.
7534 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7536 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7537 (ediff-window-C): Declare.
7539 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7540 Tweak requires to silence compiler.
7542 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7543 (he-search-string, he-tried-table, he-expand-list)
7544 (he-init-string, he-string-member, he-substitute-string)
7545 (he-reset-string): Declare.
7547 * obsolete/options.el (list-options): Use custom-variable-p,
7548 rather than obsolete alias.
7550 2013-05-23 Sam Steingold <sds@gnu.org>
7552 * simple.el (shell-command-on-region): Pass the `replace' argument
7553 down to `call-process-region' to comply with the doc as reported on
7554 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7556 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7558 * emacs-lisp/smie.el (smie-indent-forward-token)
7559 (smie-indent-backward-token): Handle string tokens (bug#14381).
7561 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7563 * ielm.el (ielm-menu): New menu.
7564 (inferior-emacs-lisp-mode): Set comment-start.
7566 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7568 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7569 Fix deactivate action.
7571 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7572 Add cleveref macros.
7574 * lisp/textmodes/reftex-parse.el
7575 (reftex-locate-bibliography-files): Accept options for
7576 bibliography commands.
7577 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7578 Add addbibresource. Basic Biblatex support.
7580 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7582 * net/tramp-gvfs.el (top):
7583 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7584 when loading package. (Bug#14447)
7586 2013-05-23 Glenn Morris <rgm@gnu.org>
7588 * progmodes/js.el: No need to load comint when compiling.
7589 (ring-insert, comint-send-string, comint-send-input)
7590 (comint-last-input-end, ido-chop): Declare.
7592 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7593 * vc/ediff-mult.el: Adjust requires.
7594 (ediff-directories-internal, ediff-directory-revisions-internal)
7595 (ediff-patch-file-internal): Declare.
7596 * vc/ediff-ptch.el: Adjust requires.
7597 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7598 (ediff-find-file): Autoload.
7599 * vc/ediff-util.el: No need to load ediff when compiling.
7600 (ediff-regions-internal): Declare.
7601 * vc/ediff-wind.el: Adjust requires.
7602 (ediff-compute-toolbar-width): Define when compiling.
7603 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7604 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7605 (dired-get-filename, dired-get-marked-files)
7606 (ediff-last-dir-patch, ediff-patch-default-directory)
7607 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7608 (ediff-patch-buffer-internal): Declare.
7610 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7611 (ispell-process, ispell-buffer-local-words, lm-summary)
7612 (lm-section-start, lm-section-end): Declare.
7613 (checkdoc-ispell-init): Simplify.
7615 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7616 (he-string-member, he-reset-string, he-substitute-string): Declare.
7618 * eshell/em-ls.el: Adjust requires.
7619 (eshell-glob-regexp): Declare.
7620 * eshell/em-tramp.el: Adjust requires.
7621 (eshell-parse-command): Autoload.
7622 * eshell/em-xtra.el: Adjust requires.
7623 (eshell-parse-command): Autoload.
7624 * eshell/esh-ext.el: Adjust requires.
7625 (eshell-parse-command, eshell-close-handles): Autoload.
7626 * eshell/esh-io.el: Adjust requires.
7627 (eshell-output-filter): Autoload.
7628 * eshell/esh-util.el: No need to load tramp when compiling.
7629 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7631 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7632 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7633 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7634 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7635 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7636 * eshell/esh-opt.el, eshell/esh-proc.el:
7637 * eshell/esh-var.el: Adjust requires.
7638 * eshell/eshell.el: Do not require esh-util twice.
7639 (eshell-add-input-to-history): Declare.
7640 (eshell-command): Check history module is active before using it.
7642 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7644 2013-05-22 Leo Liu <sdl.web@gmail.com>
7646 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7648 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7650 * autorevert.el (auto-revert-notify-add-watch)
7651 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7652 it indicates changes in file modification time.
7654 2013-05-22 Glenn Morris <rgm@gnu.org>
7656 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7657 Always delete the autoloaded function from the noruntime and
7658 unresolved functions lists.
7660 * allout.el: No need to load epa, epg, overlay when compiling.
7661 (epg-context-set-passphrase-callback, epg-list-keys)
7662 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7663 (epg-key-user-id-list): Declare.
7665 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7666 (viper-set-parsing-style-toggling-macro)
7667 (viper-set-emacs-state-searchstyle-macros):
7668 Use called-interactively-p on Emacs.
7669 (viper-looking-back): Make it an obsolete alias. Update callers.
7670 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7671 Use looking-back rather than viper-looking-back.
7672 (viper-tmp-insert-at-eob, viper-enlarge-region)
7673 (viper-read-string-with-history, viper-register-to-point)
7674 (viper-append-to-register, viper-change-state-to-vi)
7675 (viper-backward-char-carefully, viper-forward-char-carefully)
7676 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7677 (viper-change-state-to-emacs): Declare.
7678 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7679 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7680 * emulation/viper-mous.el: Do not load viper-cmd.
7681 (viper-backward-char-carefully, viper-forward-char-carefully)
7682 (viper-forward-word, viper-adjust-window): Declare.
7684 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7686 * progmodes/idlw-help.el (idlwave-help-fontify):
7687 Use called-interactively-p.
7689 * term/w32console.el (w32-get-console-codepage)
7690 (w32-get-console-output-codepage): Declare.
7692 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7693 Remove unnecessary declarations.
7694 (dframe-message): Doc fix.
7696 * info.el (dframe-select-attached-frame, dframe-current-frame):
7699 * speedbar.el (speedbar-message): Make it an obsolete alias.
7701 (speedbar-with-attached-buffer)
7702 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7703 (speedbar-with-writable): Use backquote.
7704 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7705 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7706 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7707 rather than speedbar- aliases.
7708 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7709 (speedbar-make-specialized-keymap, speedbar-insert-button)
7710 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7711 (speedbar-do-function-pointer): Declare.
7712 (rmail-speedbar-button, rmail-speedbar-find-file)
7713 (rmail-speedbar-move-message):
7714 Use dframe-with-attached-buffer rather than speedbar- alias.
7715 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7716 (dframe-message, speedbar-make-specialized-keymap)
7717 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7718 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7719 (speedbar-insert-button, dframe-select-attached-frame)
7720 (dframe-maybee-jump-to-attached-frame)
7721 (speedbar-change-initial-expansion-list)
7722 (speedbar-previously-used-expansion-list-name): Declare.
7723 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7724 Use dframe-message, dframe-with-attached-buffer rather than
7726 (gud-sentinel): Silence compiler.
7727 * progmodes/vhdl-mode.el (speedbar-refresh)
7728 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7729 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7730 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7731 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7732 (speedbar-file-lists, speedbar-make-tag-line)
7733 (speedbar-line-directory, speedbar-goto-this-file)
7734 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7735 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7736 (speedbar-make-button, speedbar-reset-scanners)
7737 (speedbar-files-item-info, speedbar-line-text)
7738 (speedbar-find-file-in-frame, speedbar-set-timer)
7739 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7740 (speedbar-with-writable): Do not (re)define it.
7741 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7742 rather than speedbar- alias.
7744 2013-05-21 Leo Liu <sdl.web@gmail.com>
7746 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7748 (octave-mode): Tweak fill-nobreak-predicate.
7749 (inferior-octave-startup): Check process to avoid infinite loop.
7750 (inferior-octave): Pop to buffer first to show abornmal process
7753 2013-05-21 Glenn Morris <rgm@gnu.org>
7755 * printing.el (pr-menu-bar): Define when compiling.
7757 2013-05-21 Leo Liu <sdl.web@gmail.com>
7759 * progmodes/octave.el (octave-auto-fill): Remove.
7760 (octave-indent-new-comment-line): Improve.
7761 (octave-mode): Use auto fill mode through
7762 comment-line-break-function and fill-nobreak-predicate.
7763 (octave-goto-function-definition): Support DEFUN_DLD.
7764 (octave-beginning-of-defun): Small tweak.
7765 (octave-help): Show parent directory.
7767 2013-05-21 Glenn Morris <rgm@gnu.org>
7769 * files.el (dired-unmark):
7770 * progmodes/gud.el (gdb-input): Update declarations.
7772 * calculator.el (electric, ehelp): No need to load when compiling.
7773 (Electric-command-loop, electric-describe-mode): Declare.
7775 * doc-view.el (doc-view-current-converter-processes): Move before use.
7777 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7778 Move MODE-set-explicitly definition before use.
7780 * international/mule-diag.el (mule-diag):
7781 Don't use obsolete window-system-version.
7783 * mail/feedmail.el (smtpmail): No need to load when compiling.
7784 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7786 * mail/mail-utils.el (rfc822): No need to load when compiling.
7787 (rfc822-addresses): Autoload it.
7788 (mail-strip-quoted-names): Trivial simplification.
7790 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7791 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7793 * net/snmp-mode.el (tempo): Don't duplicate requires.
7795 * progmodes/prolog.el (info): No need to load when compiling.
7796 (comint): Require before shell requires it.
7797 (Info-goto-node): Autoload it.
7798 (Info-follow-nearest-node): Declare.
7799 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7801 * textmodes/artist.el (picture-mode-exit): Declare.
7803 * textmodes/reftex-parse.el (reftex-parse-from-file):
7804 Trivial rewrite so the compiler can parse it better.
7806 2013-05-20 Leo Liu <sdl.web@gmail.com>
7808 * progmodes/octave.el (octave-help-mode-map)
7809 (octave-help-mode-finish-hook): New variables.
7810 (octave-help-mode, octave-help-mode-finish): New functions.
7811 (octave-help): Use octave-help-mode.
7813 2013-05-20 Glenn Morris <rgm@gnu.org>
7815 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7817 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7819 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7820 start at point, so that expansion starting right after opening
7821 slash in a regexp is recognized.
7822 (ruby-syntax-before-regexp-re): New defvar, extracted from
7823 ruby-syntax-propertize-function. Since the value of this regexp
7824 is looked up at runtime now, we should be able to turn
7825 `ruby-syntax-methods-before-regexp' into a defcustom later.
7826 (ruby-syntax-propertize-function): Split regexp matching into two
7827 parts, for opening and closing slashes. That allows us to skip
7828 over string interpolations and support multiline regexps.
7829 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7830 for them, which calls `ruby-syntax-propertize-expansion'.
7831 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7832 call to `ruby-syntax-propertize-function'.
7833 (ruby-syntax-propertize-expansion): Extracted from
7834 `ruby-syntax-propertize-expansions'. Handles one expansion.
7835 (ruby-syntax-propertize-percent-literal): Leave point right after
7836 the percent symbol, so that the expression expansion rule can
7837 propertize the contents.
7838 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7840 (ruby-syntax-propertize-expansions): Remove.
7842 2013-05-18 Juri Linkov <juri@jurta.org>
7844 * man.el (Man-default-man-entry): Remove `-' from the end
7845 of the default value. (Bug#14400)
7847 2013-05-18 Glenn Morris <rgm@gnu.org>
7849 * comint.el (comint-password-prompt-regexp):
7850 Allow "password for XXX" where XXX contains colons (eg https://...).
7852 2013-05-18 Leo Liu <sdl.web@gmail.com>
7854 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7855 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7856 (octave-source-directories): Don't check process.
7857 (octave-source-directories, octave-find-definition): Doc fix.
7859 2013-05-18 Glenn Morris <rgm@gnu.org>
7861 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7862 Remove backspace/delete bindings. (Bug#14392)
7864 * cus-dep.el (custom-make-dependencies): Sort the output.
7865 (custom-versions-load-alist): Convert comment to doc.
7867 2013-05-17 Leo Liu <sdl.web@gmail.com>
7869 * newcomment.el (comment-search-backward): Stricter in finding
7870 comment start. (Bug#14303)
7872 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7873 (octave-comment-start-skip): Properly anchored.
7875 2013-05-17 Leo Liu <sdl.web@gmail.com>
7877 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7878 Clean up when turned off. (Bug#14395)
7879 (smie--highlight-matching-block-overlay): No longer buffer-local.
7880 (smie-highlight-matching-block): Adjust.
7882 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7884 Doc string fix for "nanoseconds" (Bug#14406).
7885 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7886 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7888 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7890 * calc/calc-units.el (math-extract-units): Preserve powers
7893 2013-05-17 Leo Liu <sdl.web@gmail.com>
7895 * subr.el (delete-consecutive-dups): New function.
7896 * ido.el (ido-set-matches-1): Use it.
7897 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7898 * ido.el (ido-remove-consecutive-dups): Remove.
7900 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7903 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7904 regexp-opt's `words'.
7906 2013-05-16 Leo Liu <sdl.web@gmail.com>
7908 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7909 (smie--highlight-matching-block-overlay)
7910 (smie--highlight-matching-block-lastpos)
7911 (smie--highlight-matching-block-timer): New variables.
7912 (smie-highlight-matching-block): New function.
7913 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7914 (smie-setup): Conditionally enable smie-blink-matching-open.
7916 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7918 Sync with upstream verilog-mode r840.
7919 * progmodes/verilog-mode.el (verilog-mode-version)
7920 (verilog-mode-release-date): Update.
7921 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7922 (verilog-sig-tieoff): Fix string error on
7923 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7924 (verilog-read-decls): Fix parameters confusing
7925 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7927 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7929 * subr.el (reveal-filename): New function.
7931 * loadup.el: Compute Emacs executable versions on MS-Windows,
7932 where executables have the .exe extension. Add a hard link
7933 emacs-XX.YY.ZZ.exe on MS-Windows.
7935 * Makefile.in (XARGS_LIMIT): New variable.
7936 (custom-deps, finder-data, autoloads)
7937 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7938 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7939 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7940 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7942 2013-05-16 Leo Liu <sdl.web@gmail.com>
7944 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7945 (octave-mode-menu, octave-mode-map): Remove its uses.
7947 2013-05-16 Reto Zimmermann <reto@gnu.org>
7949 Sync with upstream vhdl mode v3.34.2.
7950 * progmodes/vhdl-mode.el: Use `push' throughout.
7951 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7952 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7953 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7954 (vhdl-actual-generic-name): New option to derive actual generic name.
7955 (vhdl-port-paste-signals): Replace formal by actual generics.
7956 (vhdl-beautify): New name for old group vhdl-align. Update users.
7957 (vhdl-beautify-options): New option.
7958 (vhdl-last-input-event): New compat alias. Use throughout.
7959 (vhdl-goto-line): Replace user level function `goto-line'.
7960 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7961 vhdl-fix-statement-buffer.
7962 (vhdl-create-mode-menu): Add some entries.
7963 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7964 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7965 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7966 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7967 to force statements on one line.
7968 (vhdl-remove-trailing-spaces-region):
7969 New, split from vhdl-remove-trailing-spaces.
7970 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7971 Respect vhdl-beautify-options.
7972 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7973 (vhdl-update-sensitivity-list): Not add with index if exists without.
7974 Not include array index with signal. Ignore keywords in comments.
7975 (vhdl-get-visible-signals): Regexp tweaks.
7976 (vhdl-template-component-inst): Handle empty library.
7977 (vhdl-template-type): Add template for 'enum' type.
7978 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7979 Use vhdl-replace-string.
7980 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7981 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7982 (vhdl-speedbar-initialize): Update for above name change.
7983 (vhdl-compose-wire-components): Fix in handling of constants.
7984 (vhdl-error-regexp-emacs-alist): New variable.
7985 (vhdl-error-regexp-add-emacs): New function;
7986 adds support for new compile.el (Emacs 22+)
7987 (vhdl-generate-makefile-1): Change target order for single lib. units.
7988 Allow use of absolute file names.
7990 2013-05-16 Leo Liu <sdl.web@gmail.com>
7992 * simple.el (prog-indent-sexp): Indent enclosing defun.
7994 2013-05-15 Glenn Morris <rgm@gnu.org>
7996 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7997 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7998 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7999 (whitespace-highlight): Move to whitespace group.
8001 * comint.el (comint-source):
8002 * pcmpl-linux.el (pcmpl-linux):
8003 * shell.el (shell-faces):
8004 * eshell/esh-opt.el (eshell-opt):
8005 * international/ccl.el (ccl): Remove empty custom groups.
8007 * completion.el (dynamic-completion-mode):
8008 * jit-lock.el (jit-lock-debug-mode):
8009 * minibuffer.el (completion-in-region-mode):
8010 * type-break.el (type-break-mode-line-message-mode)
8011 (type-break-query-mode):
8012 * emulation/tpu-edt.el (tpu-edt-mode):
8013 * progmodes/subword.el (global-subword-mode, global-superword-mode):
8014 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
8015 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
8017 * term/xterm.el (xterm): Change parent group to terminals.
8019 * master.el (master): Remove empty custom group.
8020 (master-mode): Remove unused :group argument.
8021 * textmodes/refill.el (refill): Remove empty custom group.
8022 (refill-mode): Remove unused :group argument.
8024 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
8026 * cus-dep.el: Provide a feature.
8027 (custom-make-dependencies): Ignore dotfiles (dir-locals).
8028 Don't mistakenly ignore files whose basenames match a basename
8029 from preloaded-file-list (eg cedet/ede/simple.el).
8030 Add a fallback method for getting :group.
8032 2013-05-15 Juri Linkov <juri@jurta.org>
8034 * isearch.el (isearch-char-by-name): Rename from
8035 `isearch-insert-char-by-name'. Doc fix.
8036 (isearch-forward): Mention `isearch-char-by-name' in
8037 the docstring. (Bug#13348)
8039 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
8040 `exit-minibuffer' instead of
8041 `isearch-nonincremental-exit-minibuffer'.
8042 (isearch-edit-string): Remove mention of
8043 `isearch-nonincremental-exit-minibuffer' from docstring.
8044 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
8045 (isearch-forward-exit-minibuffer)
8046 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
8048 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8050 * loadup.el: Just use unversioned DOC.
8052 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
8053 literals as extending to EOB.
8054 (nxml-last-fontify-end): Remove unused variable.
8055 (nxml-after-change1): Use with-silent-modifications.
8056 (nxml-extend-after-change-region): Simplify.
8057 (nxml-extend-after-change-region1): Remove function.
8058 (nxml-after-change1): Don't adjust for dependent regions.
8059 (nxml-fontify-matcher): Simplify.
8060 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
8061 (xmltok-add-dependent): Remove function.
8062 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
8063 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
8064 (xmltok-scan-prolog-after-processing-instruction-open): Treat
8065 unclosed <[[, <?, comment, and other literals as extending to EOB.
8066 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
8067 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
8069 (rng-do-some-validation-1): Don't mark dependent regions.
8070 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
8071 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
8072 (nxml-clear-dependent-regions): Remove functions.
8073 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
8074 (nxml-ensure-scan-up-to-date):
8075 Don't clear&mark dependent regions.
8077 2013-05-15 Leo Liu <sdl.web@gmail.com>
8079 * progmodes/octave.el (octave-goto-function-definition):
8080 Improve and fix callers.
8082 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
8084 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
8085 the setter (bug#14387).
8087 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
8088 surrounding group (bug#14402).
8090 2013-05-14 Juri Linkov <juri@jurta.org>
8092 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
8095 2013-05-14 Glenn Morris <rgm@gnu.org>
8097 * progmodes/f90.el (f90-imenu-generic-expression):
8098 Fix typo in 2013-05-08 change. (Bug#14402)
8100 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8102 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
8103 Remove signals for which replies are never received.
8105 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8107 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
8108 (gdb-handler-alist, gdb-handler-number): Remove variables.
8109 (gdb-handler-list): New variable.
8110 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
8111 (gdb-pending-handler-p, gdb-handle-reply)
8112 (gdb-remove-all-pending-triggers): New functions.
8113 (gdb-discard-unordered-replies): New defcustom.
8114 (gdb-handler): New defstruct.
8115 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
8116 instead of gdb-pending-triggers. Update docstring.
8117 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
8118 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
8119 (gdb-var-update-handler, def-gdb-auto-update-trigger)
8120 (def-gdb-auto-update-handler, gdb-get-changed-registers)
8121 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
8122 (gdb-frame-handler): Pending triggers are now automatically managed.
8123 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
8125 (gdb-input): Automatically handles pending triggers. Update docstring.
8126 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
8127 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
8129 (gdb-done-or-error): Now use gdb-handle-reply.
8131 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
8133 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
8136 2013-05-14 Glenn Morris <rgm@gnu.org>
8138 * subr.el (user-emacs-directory-warning): New option.
8139 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
8141 2013-05-14 Leo Liu <sdl.web@gmail.com>
8143 * progmodes/octave.el (octave-font-lock-keywords): Fix error
8145 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
8146 (octave-font-lock-texinfo-comment): Fix invalid search bound
8147 error: wrong side of point.
8149 2013-05-14 Glenn Morris <rgm@gnu.org>
8151 * progmodes/flymake.el (flymake-xml-program): New option.
8152 (flymake-xml-init): Use it.
8154 * term/xterm.el: Provide a feature.
8156 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8158 2013-05-13 Glenn Morris <rgm@gnu.org>
8160 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8161 Add compat aliases as a hack workaround. (Bug#14384)
8163 2013-05-13 Leo Liu <sdl.web@gmail.com>
8165 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8167 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8169 (octave-comment-start-skip): Include %!.
8170 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8172 2013-05-12 Leo Liu <sdl.web@gmail.com>
8174 * progmodes/octave.el (inferior-octave-startup): Store the value
8175 of __octave_srcdir__ for octave-source-directories.
8176 (inferior-octave-check-process): New function refactored out of
8177 inferior-octave-send-list-and-digest.
8178 (octave-source-directories)
8179 (octave-find-definition-filename-function): New variables.
8180 (octave-source-directories)
8181 (octave-find-definition-default-filename): New functions.
8182 (octave-find-definition): Improve to find functions implemented in C++.
8184 2013-05-12 Glenn Morris <rgm@gnu.org>
8186 * calendar/diary-lib.el (diary-outlook-format-1):
8187 Don't include dayname in the output. (Bug#14349)
8189 2013-05-11 Glenn Morris <rgm@gnu.org>
8191 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8193 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8194 Treat cc-provide like provide.
8196 2013-05-11 Kevin Ryde <user42@zip.com.au>
8198 * cus-dep.el (custom-make-dependencies):
8199 Use generated-autoload-load-name for the sake of files such
8200 such cedet/semantic/bovine/c.el, where the base file name
8201 is not in load-path. (Bug#5277)
8203 2013-05-11 Glenn Morris <rgm@gnu.org>
8205 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8208 2013-05-11 Leo Liu <sdl.web@gmail.com>
8210 * progmodes/octave.el (octave-indent-comment): Improve.
8211 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8212 (octave-eldoc-function-signatures, octave-eldoc-function):
8214 (octave-mode, inferior-octave-mode): Add eldoc support.
8216 2013-05-11 Richard Stallman <rms@gnu.org>
8218 * epa.el (epa-decrypt-file): Take output file name as argument
8219 and read it using `interactive'.
8221 2013-05-11 Leo Liu <sdl.web@gmail.com>
8223 * progmodes/octave.el (octave-beginning-of-line)
8224 (octave-end-of-line): Check before using up-list because it jumps
8225 out of more syntactic contructs since moving to smie.
8226 (octave-indent-comment): New function.
8227 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8228 (octave-begin-keywords, octave-end-keywords)
8229 (octave-reserved-words, octave-smie-bnf-table)
8230 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8232 2013-05-11 Glenn Morris <rgm@gnu.org>
8234 * faces.el (internal-face-x-get-resource):
8235 * frame.el (ns-display-monitor-attributes-list):
8236 * calc/calc-aent.el (math-to-radians-2):
8237 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8240 * calc/calc-menu.el: Make it loadable in isolation.
8242 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8243 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8244 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8245 (eudc-bbdb-query-internal): Require 'bbdb.
8247 * lpr.el (lpr-headers-switches):
8248 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8250 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8252 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8254 * term.el (term-set-escape-char): Make it idempotent.
8256 2013-05-10 Leo Liu <sdl.web@gmail.com>
8258 * progmodes/octave.el (inferior-octave-completion-table):
8259 No longer a function and all uses changed. Use cache to speed up
8260 completion due to bug#11906.
8261 (octave-beginning-of-defun): Re-write to be more general.
8263 2013-05-10 Glenn Morris <rgm@gnu.org>
8265 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8267 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8269 * comint.el (comint-redirect-send-command-to-process): Use :around
8270 rather than :override for comint-redirect-filter.
8271 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8272 Call it instead of comint-redirect-original-filter-function (which
8273 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8275 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8277 * frame.el (display-monitor-attributes-list): Add NS case.
8278 (ns-display-monitor-attributes-list): Declare.
8280 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8282 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8284 2013-05-09 Glenn Morris <rgm@gnu.org>
8286 * international/fontset.el (vertical-centering-font-regexp):
8289 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8291 * bookmark.el (bookmark-search-delay):
8292 * cus-start.el (vertical-centering-font-regexp):
8293 * ps-mule.el (ps-mule-font-info-database-default):
8294 * ps-print.el (ps-default-fg, ps-default-bg):
8295 * type-break.el (type-break-good-break-interval):
8296 * whitespace.el (whitespace-indentation-regexp)
8297 (whitespace-space-after-tab-regexp):
8298 * emacs-lisp/testcover.el (testcover-1value-functions)
8299 (testcover-noreturn-functions, testcover-progn-functions)
8300 (testcover-prog1-functions):
8301 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8302 * eshell/em-glob.el (eshell-glob-translate-alist):
8303 * play/tetris.el (tetris-tty-colors):
8304 * progmodes/cpp.el (cpp-face-default-list):
8305 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8306 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8307 (idlwave-help-browser-generic-args):
8308 * progmodes/make-mode.el (makefile-special-targets-list):
8309 * progmodes/python.el (python-shell-virtualenv-path):
8310 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8311 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8312 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8313 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8314 * textmodes/reftex-vars.el (reftex-format-label-function):
8315 * textmodes/remember.el (remember-diary-file): Fix custom types.
8317 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8320 2013-05-09 Leo Liu <sdl.web@gmail.com>
8322 * progmodes/octave.el (inferior-octave-completion-at-point):
8323 Restore file completion. (Bug#14300)
8324 (inferior-octave-startup): Fix incorrect highlighting for the
8327 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8329 * progmodes/ruby-mode.el: First cut at SMIE support.
8330 (ruby-use-smie): New var.
8331 (ruby-smie-grammar): New constant.
8332 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8333 (ruby-smie--forward-token, ruby-smie--backward-token)
8334 (ruby-smie-rules): New functions.
8335 (ruby-mode-variables): Setup SMIE if applicable.
8337 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8339 * simple.el (line-move-visual): Signal beginning/end of buffer
8340 only if vertical-motion moved less than it was requested. Avoids
8341 silly incorrect error messages when there are display strings with
8342 multiple newlines at EOL.
8344 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8346 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8347 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8348 (prolog-char-quote-workaround):
8349 * progmodes/cperl-mode.el (cperl-under-as-char):
8350 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8352 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8354 (vhdl-mode-syntax-table-init): Remove.
8356 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8359 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8361 (ld-script-font-lock-keywords):
8362 Change regexps to use things like \_< and \_>.
8364 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8365 Change all regexps to use things like \_< and \_>.
8367 * progmodes/autoconf.el (autoconf-definition-regexp)
8368 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8369 Handle a _ with symbol syntax.
8370 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8372 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8373 Consolidate declaration.
8374 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8376 (ada-create-syntax-table): Remove.
8377 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8378 already has the right syntax nowadays.
8379 (ada-goto-next-word): Don't change the syntax of "_".
8381 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8384 2013-05-08 Sam Steingold <sds@gnu.org>
8386 * thingatpt.el (thing-at-point): Accept optional second argument
8387 NO-PROPERTIES to strip the text properties from the return value.
8388 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8389 to `thing-at-point' instead of stripping the properties ourselves.
8390 Also, when `thing-at-point' fails to find a url, prepend "http://"
8391 to the filename at point on the assumption that the user is
8392 pointing at something like gnu.org/gnu.
8394 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8396 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8397 * faces.el (crm-separator):
8398 Silence byte-compiler.
8400 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8401 (tool-bar-map): Remove unneeded defvars.
8403 2013-05-08 Leo Liu <sdl.web@gmail.com>
8405 Re-work a fix for bug#10994 based on Le Wang's patch.
8406 * ido.el (ido-remove-consecutive-dups): New helper.
8407 (ido-completing-read): Use it.
8408 (ido-chop): Revert fix for bug#10994.
8410 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8412 * cus-edit.el (custom-save-variables):
8413 Pretty-print long values. (Bug#14187)
8415 2013-05-08 Glenn Morris <rgm@gnu.org>
8417 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8418 (m4-mode-syntax-table): Init in the defvar.
8419 (m4-mode-abbrev-table): Let define-derived-mode define it.
8421 2013-05-08 Tom Tromey <tromey@redhat.com>
8423 * progmodes/m4-mode.el (m4-mode-syntax-table):
8424 Do not treat "_" as word constituent. (Bug#14167)
8426 2013-05-07 Glenn Morris <rgm@gnu.org>
8428 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8429 Remove explicit eshell-isearch-cancel-map.
8431 * progmodes/f90.el (f90-smart-end-names): New option.
8432 (f90-smart-end): Doc fix.
8433 (f90-end-block-optional-name): New constant.
8434 (f90-block-match): Respect f90-smart-end-names.
8436 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8438 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8439 about implicit semi-colons (bug#14218).
8441 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8443 * frame.el (display-monitor-attributes-list)
8444 (frame-monitor-attributes): New functions.
8446 2013-05-06 Leo Liu <sdl.web@gmail.com>
8448 * progmodes/octave.el (octave-syntax-propertize-function): Change
8449 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8450 (octave-font-lock-keywords): Use octave-operator-regexp.
8451 (octave-completion-at-point): Rename from
8452 octave-completion-at-point-function.
8453 (inferior-octave-directory-tracker): Robustify.
8454 (octave-text-functions): Remove and fix its uses. No such things
8457 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8459 * emacs-lisp/trace.el (trace--display-buffer): New function.
8460 (trace-make-advice): Use it.
8462 2013-05-06 Juri Linkov <juri@jurta.org>
8464 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8465 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8467 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8468 in the help string. (Bug#12985)
8470 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8472 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8474 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8476 * progmodes/perl-mode.el: Add support for here documents.
8477 (perl-syntax-propertize-function): Match here-doc markers.
8478 (perl-syntax-propertize-special-constructs): Find their end.
8479 (perl-imenu-generic-expression): Use [:alnum:].
8481 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8482 (advice--add-function): Refresh the advice if already present
8485 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8487 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8489 2013-05-06 Glenn Morris <rgm@gnu.org>
8491 * w32-fns.el (w32-charset-info-alist): Declare.
8493 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8494 of its defcustom properties.
8495 (eshell-cmpl-initialize): No need to load pcomplete.
8497 * generic-x.el: No need to require comint when compiling.
8499 * net/eudc-export.el: Make it loadable without bbdb.
8500 (top-level): Use require rather than load-library.
8501 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8502 (eudc-batch-export-records-to-bbdb)
8503 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8506 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8508 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8509 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8510 some tweaks, instead.
8512 2013-05-05 Leo Liu <sdl.web@gmail.com>
8514 * progmodes/octave.el (octave-font-lock-keywords)
8515 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8516 (inferior-octave-send-list-and-digest): Improve error message.
8517 (octave-mode, inferior-octave-mode): Use setq-local.
8518 (octave-help): Set info-lookup-mode.
8520 2013-05-05 Richard Stallman <rms@gnu.org>
8522 * vc/compare-w.el (compare-windows-whitespace):
8523 Treat no-break space as whitespace.
8525 * mail/rmailsum.el (rmail-summary-rmail-update):
8526 Detect empty summary and don't change selected message.
8527 (rmail-summary-goto-msg): Likewise.
8529 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8530 Doc fixes, rename args.
8532 2013-05-05 Alan Mackenzie <acm@muc.de>
8534 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8536 2013-05-05 Juri Linkov <juri@jurta.org>
8538 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8539 to not add the length of the summary segment to the return value.
8542 2013-05-05 Leo Liu <sdl.web@gmail.com>
8544 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8545 (inferior-octave-output-filter): Remove.
8546 (octave-send-region, inferior-octave-startup): Fix callers.
8547 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8548 (octave-binary-file-extensions): New user variable.
8549 (octave-find-definition): Confirm if opening binary files.
8550 (octave-help-file): Use octave-find-definition to get the binary
8552 (octave-help): Adjust for octave-help-file change.
8554 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8556 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8557 Merge the two entries that handle function definitions.
8558 (pascal--syntax-propertize): New const.
8559 (pascal-mode): Use it. Use setq-local.
8561 2013-05-04 Glenn Morris <rgm@gnu.org>
8563 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8564 (diary-from-outlook): Respect diary-from-outlook-function.
8566 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8568 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8569 Move the declaration from C.
8570 (read-minibuffer, eval-minibuffer): Move from C.
8571 (completion-setup-function): Avoid minibuffer-completion-contents.
8573 2013-05-03 Leo Liu <sdl.web@gmail.com>
8575 * progmodes/octave.el (octave-font-lock-keywords): Do not
8576 dehighlight 'end' in comments or strings.
8577 (octave-completing-read, octave-goto-function-definition):
8579 (octave-help-buffer): New user variable.
8580 (octave-help-file, octave-help-function): New button types.
8581 (octave-help): New command and bind it to C-h ;.
8582 (octave-find-definition): New command and bind it to M-.
8583 (user-error): Alias to error if not defined.
8585 2013-05-02 Leo Liu <sdl.web@gmail.com>
8587 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8589 (octave-font-lock-keywords): Include [ and {.
8591 2013-05-02 Leo Liu <sdl.web@gmail.com>
8593 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8594 (inferior-octave): Remove calling comint-mode and return the buffer.
8595 (inferior-octave-startup): Cosmetic changes.
8597 2013-05-02 Leo Liu <sdl.web@gmail.com>
8599 * progmodes/octave.el (octave-syntax-propertize-function):
8600 Include the case when ' is at line beginning. (Bug#14336)
8602 2013-05-02 Glenn Morris <rgm@gnu.org>
8604 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8605 * desktop.el (vc-dir-mode): Just autoload it here.
8607 2013-05-02 Alan Mackenzie <acm@muc.de>
8609 Eliminate variable c-standard-font-lock-fontify-region-function.
8610 * progmodes/cc-mode.el
8611 (c-standard-font-lock-fontify-region-function): Remove.
8612 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8614 2013-05-01 Leo Liu <sdl.web@gmail.com>
8616 * progmodes/octave.el: Compatible with older emacs-24 releases.
8617 (inferior-octave-has-built-in-variables): Remove. Built-in
8618 variables were removed from Octave in 2007.
8619 (inferior-octave-startup): Fix uses.
8620 (comint-line-beginning-position): Remove compatibility code for
8623 2013-05-01 Juri Linkov <juri@jurta.org>
8625 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8627 2013-05-01 Juri Linkov <juri@jurta.org>
8629 * comint.el (comint-previous-matching-input): Don't print message
8630 "History item: %d" when `isearch-mode' is active.
8631 (comint-history-isearch-message): Print message "History item: %d"
8632 when `comint-input-ring-index' is not empty and this function is
8633 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8635 2013-05-01 Leo Liu <sdl.web@gmail.com>
8637 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8638 definitions. Use completion-at-point to insert keywords.
8639 (octave-abbrev-start): Remove.
8640 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8642 2013-04-30 Leo Liu <sdl.web@gmail.com>
8644 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8647 2013-04-30 Alan Mackenzie <acm@muc.de>
8649 Handle arbitrarily long C++ member initialisation lists.
8650 * progmodes/cc-engine.el (c-back-over-member-initializers):
8652 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8653 (most) member init lists.
8655 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8657 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8660 2013-04-30 Leo Liu <sdl.web@gmail.com>
8662 * progmodes/octave.el (octave-variables): Remove. No builtin
8663 variables any more. All converted to functions.
8664 (octave-font-lock-keywords, octave-completion-at-point-function):
8666 (octave-font-lock-texinfo-comment): New user variable.
8667 (octave-texinfo-font-lock-keywords): New variable for texinfo
8669 (octave-function-comment-block): New face.
8670 (octave-font-lock-texinfo-comment): New function.
8671 (octave-mode): Font lock texinfo comment block.
8673 2013-04-29 Leo Liu <sdl.web@gmail.com>
8675 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8676 indexing expression.
8677 (octave-continuation-string): Do not use \.
8678 (inferior-octave-complete-impossible): Remove.
8679 (inferior-octave-completion-table)
8680 (inferior-octave-completion-at-point): Remove its uses.
8681 (inferior-octave-startup): completion_matches was introduced to
8682 Octave in 1996 so safe to assume it.
8683 (octave-function-file-comment): Improve to follow how Octave does it.
8684 (octave-update-function-file-comment): Tweak.
8686 2013-04-29 Leo Liu <sdl.web@gmail.com>
8688 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8689 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8690 (octave-function-file-comment): Fix typo.
8691 (octave-sync-function-file-names): Use read-char-choice.
8693 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8695 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8696 to t for the less important warnings.
8698 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8700 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8702 2013-04-27 Glenn Morris <rgm@gnu.org>
8704 * vc/log-view.el (log-view-current-entry):
8705 Treat "---" separator lines as part of the following rev. (Bug#14169)
8707 2013-04-27 Juri Linkov <juri@jurta.org>
8709 * subr.el (read-number): Doc fix about using it by interactive
8710 code letter `n'. (Bug#14254)
8712 2013-04-27 Juri Linkov <juri@jurta.org>
8714 * desktop.el (desktop-auto-save-timeout): New option.
8715 (desktop-file-checksum): New variable.
8716 (desktop-save): Add optional arg `auto-save' and don't auto-save
8718 (desktop-auto-save-timer): New variable.
8719 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8720 (after-init-hook): Call `desktop-auto-save-set-timer'.
8721 Suggested by Reuben Thomas <rrt@sc3d.org> in
8722 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8724 2013-04-27 Leo Liu <sdl.web@gmail.com>
8726 * progmodes/octave.el (octave-function-file-p)
8727 (octave-skip-comment-forward, octave-function-file-comment)
8728 (octave-update-function-file-comment): New functions.
8729 (octave-mode-map): Bind C-c ; to
8730 octave-update-function-file-comment.
8731 (octave-mode-menu): Add octave-update-function-file-comment.
8732 (octave-mode, inferior-octave-mode): Fix doc-string.
8733 (octave-insert-defun): Conform to Octave's coding convention.
8736 * files.el (basic-save-buffer): Don't let errors in
8737 before-save-hook prevent saving buffer.
8739 2013-04-20 Roland Winkler <winkler@gnu.org>
8741 * faces.el (read-face-name): Use completing-read if arg multiple
8744 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8746 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8747 displayed, move point to after the totals line.
8748 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8751 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8753 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8754 Add current dir to the load-path.
8755 (package-generate-autoloads): Don't rely on
8756 autoload-ensure-default-file.
8758 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8760 * textmodes/remember.el (remember-store-in-files): Document that
8761 the file name format is passed to `format-time-string'.
8763 2013-04-26 Leo Liu <sdl.web@gmail.com>
8765 * progmodes/octave.el (octave-sync-function-file-names): New function.
8766 (octave-mode): Use it in before-save-hook.
8768 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8770 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8773 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8774 \n and comment, even if it's not an implicit ; (bug#14218).
8776 2013-04-26 Glenn Morris <rgm@gnu.org>
8778 * subr.el (read-number): Once more use `read' rather than
8779 `string-to-number', to trap non-numeric input. (Bug#14254)
8781 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8783 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8784 Use `syntax-multiline' text property consistently instead of
8785 `font-lock-multiline'. (Bug#14237)
8787 2013-04-26 Glenn Morris <rgm@gnu.org>
8789 * emacs-lisp/shadow.el (list-load-path-shadows):
8790 No longer necessary to check for duplicate simple.el, since
8791 2012-07-07 change to init_lread to not include installation lisp
8792 directories in load-path when running uninstalled. (Bug#14270)
8794 2013-04-26 Leo Liu <sdl.web@gmail.com>
8796 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8797 (octave-mode, inferior-octave-mode): Use setq-local.
8798 (octave-not-in-string-or-comment-p): Rename to
8799 octave-in-string-or-comment-p.
8800 (octave-in-comment-p, octave-in-string-p)
8801 (octave-in-string-or-comment-p): Replace defsubst with defun.
8803 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8805 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8807 2013-04-25 Bastien Guerry <bzg@gnu.org>
8809 * textmodes/remember.el (remember-data-directory)
8810 (remember-directory-file-name-format): Fix custom types.
8812 2013-04-25 Leo Liu <sdl.web@gmail.com>
8814 * progmodes/octave.el (octave-completion-at-point-function):
8815 Make use of inferior octave process.
8816 (octave-initialize-completions): Remove.
8817 (inferior-octave-completion-table): New function.
8818 (inferior-octave-completion-at-point): Use it.
8819 (octave-completion-alist): Remove.
8821 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8824 (opascal-mode-syntax-table): New var.
8825 (opascal-literal-kind, opascal-is-literal-end)
8826 (opascal-literal-token-at): Rewrite.
8827 (opascal--literal-start-re, opascal-font-lock-keywords)
8828 (opascal--syntax-propertize): New constants.
8829 (opascal-font-lock-defaults): Adjust.
8830 (opascal-mode): Use them. Set comment-<foo> variables as well.
8831 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8832 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8833 (delphi-other-face, opascal-other-face): Remove face variables.
8834 (opascal-save-state): Remove macro.
8835 (opascal-fontifying-progress-step): Remove constant.
8836 (opascal--ignore-changes): Remove var.
8837 (opascal-set-token-property, opascal-parse-next-literal)
8838 (opascal-is-stable-literal, opascal-complete-literal)
8839 (opascal-is-literal-start, opascal-face-of)
8840 (opascal-parse-region, opascal-parse-region-until-stable)
8841 (opascal-fontify-region, opascal-after-change)
8842 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8843 (opascal-debug-parse-region, opascal-debug-parse-window)
8844 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8845 (opascal-debug-fontify-buffer): Remove.
8846 (opascal-debug-mode-map): Adjust accordingly.
8848 2013-04-25 Leo Liu <sdl.web@gmail.com>
8850 Merge octave-mod.el and octave-inf.el into octave.el with some
8852 * progmodes/octave.el: New file renamed from octave-mod.el.
8853 * progmodes/octave-inf.el: Merged into octave.el.
8854 * progmodes/octave-mod.el: Renamed to octave.el.
8856 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8858 * textmodes/reftex-vars.el
8859 (reftex-label-ignored-macros-and-environments): New defcustom.
8861 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8863 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8865 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8866 (smie-indent-keyword): Improve the check to ensure that the next
8867 comment is really on the same line.
8868 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8870 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8871 semi-colons if the line is not otherwise empty (bug#14218).
8873 2013-04-25 Glenn Morris <rgm@gnu.org>
8875 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8877 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8879 * progmodes/opascal.el (opascal-set-token-property): Rename from
8880 opascal-set-text-properties and only set `token' (bug#14134).
8881 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8882 (opascal-literal-text-properties): Remove.
8883 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8886 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8888 * textmodes/remember.el (remember-handler-functions): Add an
8889 option for a new handler `remember-store-in-files'.
8890 (remember-data-directory, remember-directory-file-name-format):
8892 (remember-store-in-files): New function to store remember notes
8893 as separate files within a directory.
8895 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8897 * progmodes/compile.el (compilation-next-error-function):
8898 Pass "formats" to compilation-find-file (bug#11777).
8900 2013-04-24 Glenn Morris <rgm@gnu.org>
8902 * vc/vc-bzr.el (vc-bzr-print-log):
8903 * vc/vc-hg.el (vc-hg-print-log):
8904 * vc/vc-svn.el (vc-svn-print-log):
8905 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8907 * vc/vc-bzr.el (vc-bzr-print-log):
8908 * vc/vc-cvs.el (vc-cvs-print-log):
8909 * vc/vc-git.el (vc-git-print-log):
8910 * vc/vc-hg.el (vc-hg-print-log):
8911 * vc/vc-mtn.el (vc-mtn-print-log):
8912 * vc/vc-rcs.el (vc-rcs-print-log):
8913 * vc/vc-sccs.el (vc-sccs-print-log):
8914 * vc/vc-svn.el (vc-svn-print-log):
8915 * vc/vc.el (vc-print-log-internal): Doc fixes.
8917 2013-04-23 Glenn Morris <rgm@gnu.org>
8919 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8920 Remove venerable code attempting to avoid substitute-command-keys.
8922 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8924 * textmodes/reftex-vars.el (reftex-label-regexps):
8925 Call `reftex-compile-variables' after changes to this variable.
8927 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8930 Use lexical-binding.
8931 (jit-lock-force-redisplay): Use markers, check buffer's continued
8932 existence and beware narrowed buffers.
8933 (jit-lock-fontify-now): Adjust call accordingly.
8935 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8938 to avoid misleading the user.
8940 2013-04-22 Leo Liu <sdl.web@gmail.com>
8942 * info-look.el: Prefer latex2e.info. (Bug#14240)
8944 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8946 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8948 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8949 * net/tramp.el (tramp-call-process): ... here.
8950 (tramp-set-completion-function, tramp-parse-putty):
8951 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8952 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8953 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8954 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8955 (tramp-call-local-coding-command): Use `tramp-call-process'
8956 instead of `tramp-compat-call-process'.
8958 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8959 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8960 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8961 (tramp-find-inline-compress): Improve traces.
8962 (tramp-maybe-send-script): Check for Perl binary.
8963 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8965 2013-04-22 Daiki Ueno <ueno@gnu.org>
8967 * epg.el (epg-context-pinentry-mode): New function.
8968 (epg-context-set-pinentry-mode): New function.
8969 (epg--start): Pass --pinentry-mode option to gpg command.
8971 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8973 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8974 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8975 `completion-at-point'. (Bug#13774)
8977 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8978 default key binding for `describe-distribution' has been moved to
8979 `C-h C-o'. (Bug#13970)
8981 2013-04-21 Glenn Morris <rgm@gnu.org>
8983 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8985 (vc-print-log): Clarify interactive prompt.
8987 2013-04-20 Glenn Morris <rgm@gnu.org>
8989 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8990 No longer include timestamp etc information.
8992 2013-04-20 Roland Winkler <winkler@gnu.org>
8994 * faces.el (read-face-name): Bug fix, return just one face if arg
8995 multiple is nil. (Bug#14209)
8997 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
9000 (remove-function): Autoload.
9002 * comint.el (comint-redirect-original-filter-function): Remove.
9003 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
9004 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
9005 (vc-cvs-annotate-command):
9006 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
9007 * progmodes/prolog.el (prolog-consult-compile):
9008 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
9009 Use add/remove-function instead.
9010 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
9011 (gud-tooltip-process-output, gud-tooltip-tips):
9012 Use add/remove-function instead.
9013 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
9014 (scheme-interaction-mode, exit-scheme-interaction-mode):
9015 Use add/remove-function instead.
9017 * vc/vc-dispatcher.el: Use lexical-binding.
9018 (vc--process-sentinel): Rename from vc-process-sentinel.
9019 Change last arg to be the code to run. Don't use vc-previous-sentinel
9020 and vc-sentinel-commands any more.
9021 (vc-exec-after): Allow code to be a function. Use add/remove-function.
9022 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
9024 2013-04-19 Masatake YAMATO <yamato@redhat.com>
9026 * progmodes/sh-script.el (sh-imenu-generic-expression):
9027 Handle function names with a single character. (Bug#14111)
9029 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
9031 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
9032 for subroutines defined in an eval (bug#14182).
9034 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9036 * bookmark.el (bookmark-completing-read): Improve handling of empty
9039 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
9043 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
9045 New faster Imenu implementation (bug#14058).
9046 * progmodes/python.el:
9047 (python-imenu-prev-index-position):
9048 (python-imenu-format-item-label-function)
9049 (python-imenu-format-parent-item-label-function)
9050 (python-imenu-format-parent-item-jump-label-function):
9052 (python-imenu-format-item-label)
9053 (python-imenu-format-parent-item-label)
9054 (python-imenu-format-parent-item-jump-label)
9055 (python-imenu--put-parent, python-imenu--build-tree)
9056 (python-imenu-create-index, python-imenu-create-flat-index)
9057 (python-util-popn): New functions.
9058 (python-mode): Set imenu-create-index-function to
9059 python-imenu-create-index.
9061 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9063 * winner.el (winner-active-region): Use region-active-p, activate-mark
9064 and deactivate-mark (bug#14225).
9066 * simple.el (deactivate-mark): Don't inline it.
9068 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
9070 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
9072 2013-04-18 Tassilo Horn <tsdh@gnu.org>
9074 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
9075 file extensions from the archive-mode entry in order to prefer
9076 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
9078 2013-04-18 Leo Liu <sdl.web@gmail.com>
9080 * bindings.el (help-event-list): Add ?\?.
9082 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
9084 * subr.el (with-wrapper-hook): Declare obsolete.
9085 * simple.el (filter-buffer-substring-function): New hook.
9086 (filter-buffer-substring): Use it.
9087 (filter-buffer-substring-functions): Mark obsolete.
9088 * minibuffer.el (completion-in-region-function): New hook.
9089 (completion-in-region): Use it.
9090 (completion-in-region-functions): Mark obsolete.
9091 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
9092 * abbrev.el (abbrev-expand-function): New hook.
9093 (expand-abbrev): Use it.
9094 (abbrev-expand-functions): Mark obsolete.
9095 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
9098 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9100 * progmodes/python.el (python-nav--syntactically): Fix cornercases
9101 and do not care about match data.
9103 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9105 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
9106 completion tables when completing error conditions and
9107 `declare' arguments.
9108 (lisp-complete-symbol, field-complete): Mark as obsolete.
9109 (check-parens): Unmatched parens are user errors.
9110 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
9112 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
9114 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
9115 command changed buffer (ie. `flyspell-pre-buffer' is not current
9116 buffer), which prevents making decisions based on invalid value of
9117 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
9118 cause an error when `flyspell-pre-point' was nil after switching
9120 (flyspell-post-command-hook): No longer needs to change buffers when
9121 checking pre-word. While at it remove unnecessary progn.
9123 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
9125 * textmodes/ispell.el (ispell-add-per-file-word-list):
9126 Fix `flyspell-correct-word-before-point' error when accepting
9127 words and `coment-padding' is an integer by using
9128 `comment-normalize-vars' (Bug #14214).
9130 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9132 New defun movement commands.
9133 * progmodes/python.el (python-nav--syntactically)
9134 (python-nav--forward-defun, python-nav-backward-defun)
9135 (python-nav-forward-defun): New functions.
9137 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9139 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
9140 (python-syntax-context): Use named compiler-macro for backwards
9141 compatibility with Emacs 24.x.
9143 2013-04-17 Leo Liu <sdl.web@gmail.com>
9145 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
9146 octave-hide-process-buffer.
9148 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
9150 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9153 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9155 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9156 Fix adjustment of offset when receiving incomplete responses from GDB
9159 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9161 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9162 python-mode-abbrev-table.
9163 (python-skeleton-define): Adjust accordingly.
9164 (python-mode-abbrev-table): New table that inherits from it so that
9165 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9167 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9168 (abbrev-symbol): Use it.
9169 (abbrev--before-point): Use it since we already handle inheritance.
9171 2013-04-16 Leo Liu <sdl.web@gmail.com>
9173 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9174 binding to info-lookup-symbol.
9176 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9178 * minibuffer.el (completion--twq-all):
9179 * term/ns-win.el (ns-initialize-window-system):
9180 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9182 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9184 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9187 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9189 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9191 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9192 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9194 (ruby-end-of-defun): Remove the unused arg, change the docstring
9195 to reflect that this function is only used as the value of
9196 `end-of-defun-function'.
9197 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9198 to reflect an earlier change that beginning/end-of-defun functions
9199 jump between methods in a class definition, as well as top-level
9202 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9204 * minibuffer.el (minibuffer-complete): Don't just scroll
9205 a *Completions* that's been iconified.
9206 (minibuffer-force-complete): Make sure repetitions do cycle when going
9207 through completion-in-region -> minibuffer-complete.
9209 2013-04-15 Alan Mackenzie <acm@muc.de>
9211 Correct the placement of c-cpp-delimiters when there're #s not at
9214 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9215 place a submatch around the #.
9216 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9217 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9220 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9222 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9223 (advice--member-p): New arg `name'.
9224 (advice--add-function, advice-member-p): Use it (bug#14202).
9226 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9228 Reformulate java imenu-generic-expression.
9229 The old expression contained ill formed regexps.
9231 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9232 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9233 (cc-imenu-java-method-arg-regexp): New defconsts.
9234 (cc-imenu-java-build-type-args-regex): New defun.
9235 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9236 handling of spaces in the regexp.
9238 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9240 * textmodes/ispell.el (ispell-command-loop): Remove
9241 flyspell highlight of a word when ispell accepts it (bug #14178).
9243 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9245 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9246 uses code from the previous `ange-ftp-run-real-handler'.
9247 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9248 only in case that function exist. This is needed for proper
9251 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9253 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9255 * textmodes/reftex.el (reftex-compile-variables): Use it.
9257 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9259 * files.el (normal-mode): Only use default major-mode if no other mode
9262 * emacs-lisp/trace.el (trace-values): New function.
9264 * files.el: Allow : in local variables (bug#14089).
9265 (hack-local-variable-regexp): New var.
9266 (hack-local-variables-prop-line, hack-local-variables): Use it.
9268 2013-04-13 Roland Winkler <winkler@gnu.org>
9270 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9271 data before it gets modified by bibtex-beginning-of-entry.
9273 2013-04-13 Roland Winkler <winkler@gnu.org>
9275 * textmodes/bibtex.el (bibtex-url): Doc fix.
9277 2013-04-13 Roland Winkler <winkler@gnu.org>
9279 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9280 does not visit a BibTeX file, exclude it from the list of buffers
9281 returned by bibtex-initialize.
9283 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9285 * window.el (split-window): Remove interactive form, since as a
9286 command this function is a special case of split-window-below.
9289 2013-04-12 Roland Winkler <winkler@gnu.org>
9291 * faces.el (read-face-name): Do not override value of arg default.
9292 Allow single faces and strings as default values. Remove those
9293 elements from return value that are not faces.
9294 (describe-face): Simplify.
9295 (face-at-point): New optional args thing and multiple so that this
9296 function can provide the same functionality previously provided by
9298 (make-face-bold, make-face-unbold, make-face-italic)
9299 (make-face-unitalic, make-face-bold-italic, invert-face)
9300 (modify-face, read-face-and-attribute): Use face-at-point.
9302 * cus-edit.el (customize-face, customize-face-other-window)
9303 * cus-theme.el (custom-theme-add-face)
9304 * face-remap.el (buffer-face-set)
9305 * facemenu.el (facemenu-set-face): Use face-at-point.
9307 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9309 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9311 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9313 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9314 off leading { and trailing } from field values.
9316 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9318 * emacs-lisp/timer.el (timer--check): New function.
9319 (timer--time, timer-set-function, timer-event-handler): Use it.
9320 (timer-set-idle-time): Simplify.
9321 (timer--activate): CSE.
9322 (timer-event-handler): Give more info in error message.
9323 (internal-timer-start-idle): New function, moved from C.
9325 * mpc.el (mpc-proc): Add `restart' argument.
9326 (mpc-proc-cmd): Use it.
9327 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9328 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9331 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9333 * progmodes/sh-script.el: Implement `sh-mode' own
9334 `add-log-current-defun-function' (bug#14112).
9335 (sh-current-defun-name): New function.
9336 (sh-mode): Use the function.
9338 2013-04-09 Bastien Guerry <bzg@gnu.org>
9340 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9342 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9344 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9346 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9349 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9351 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9354 2013-04-07 Leo Liu <sdl.web@gmail.com>
9356 * pcmpl-x.el: New file.
9358 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9360 Do not set x-display-name until X connection is established.
9361 This is needed to prevent from weird situation described at
9362 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9363 * frame.el (make-frame): Set x-display-name after call to
9364 window system initialization function, not before.
9365 * term/x-win.el (x-initialize-window-system): Add optional
9366 display argument and use it.
9367 * term/w32-win.el (w32-initialize-window-system):
9368 * term/ns-win.el (ns-initialize-window-system):
9369 * term/pc-win.el (msdos-initialize-window-system):
9370 Add compatible optional display argument.
9372 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9374 * files.el (normal-backup-enable-predicate): On MS-Windows and
9375 MS-DOS compare truenames of temporary-file-directory and of the
9376 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9377 don't fail comparison by compare-strings. Also, compare file
9378 names case-insensitively on MS-Windows and MS-DOS.
9380 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9382 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9383 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9385 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9387 * whitespace.el (whitespace-color-on, whitespace-color-off):
9388 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9390 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9392 * ispell.el (ispell-set-spellchecker-params):
9393 Really set `ispell-args' for all equivs.
9395 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9397 * ido.el (ido-completions): Use extra elements of ido-decorations
9399 (ido-decorations): Update docstring.
9401 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9403 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9404 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9405 nil during initialization, in order not to miss changes since the
9406 file was opened. (Bug#14140)
9408 2013-04-05 Leo Liu <sdl.web@gmail.com>
9410 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9412 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9414 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9416 2013-04-04 Glenn Morris <rgm@gnu.org>
9418 * electric.el (electric-pair-inhibit-predicate): Add :version.
9420 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9422 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9423 when a package is required several times (bug#14082).
9425 2013-04-04 Roland Winkler <winkler@gnu.org>
9427 * faces.el (read-face-name): Behave as promised by the docstring.
9428 Assume that arg default is a list of faces.
9429 (describe-face): Call read-face-name with list of default faces.
9431 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9433 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9434 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9435 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9437 (bookmark-exit-hook-internal): Save even if list is empty.
9439 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9441 * emacs-lisp/package.el (package-pinned-packages): New var.
9442 (package--add-to-archive-contents): Obey it (bug#14118).
9444 2013-04-03 Alan Mackenzie <acm@muc.de>
9446 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9447 Also adapt to the new values of element 7 of a parse state.
9449 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9450 parameter `not-in-delimiter'. Handle being inside comment opener.
9451 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9452 character in case we're typing a '*' after a '/'.
9453 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9454 instead by passing the parameter to c-state-pp-to-literal.
9456 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9457 for elt. 7 of a parse state.
9459 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9461 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9462 * international/latin1-disp.el, international/mule-util.el:
9463 * language/cyril-util.el, language/european.el, language/ind-util.el:
9464 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9465 * language/tibetan.el, language/viet-util.el:
9466 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9468 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9470 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9471 (electric-pair-post-self-insert-function): Use it.
9472 (electric-pair-default-inhibit): New function, extracted from
9473 electric-pair-post-self-insert-function.
9475 2013-03-31 Roland Winkler <winkler@gnu.org>
9477 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9479 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9481 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9483 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9485 Un-indent after "pass" and "return" statements (Bug#13888)
9486 * progmodes/python.el (python-indent-block-enders): New var.
9487 (python-indent-calculate-indentation): Use it.
9489 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9491 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9492 defun. Defining it as defalias could introduce too eager
9493 byte-compiler optimization. (Bug#14030)
9495 2013-03-30 Chong Yidong <cyd@gnu.org>
9497 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9499 2013-03-30 Leo Liu <sdl.web@gmail.com>
9501 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9502 (kmacro-execute-from-register): Pass the keyboard macro to
9503 kmacro-call-macro or repeating won't work correctly.
9505 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9507 * progmodes/subword.el: Back to using `forward-symbol'.
9509 * subr.el (forward-whitespace, forward-symbol)
9510 (forward-same-syntax): Move from thingatpt.el.
9512 2013-03-29 Leo Liu <sdl.web@gmail.com>
9514 * kmacro.el (kmacro-to-register): New command.
9515 (kmacro-execute-from-register): New function.
9516 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9518 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9520 * mpc.el: Use defvar-local and setq-local.
9521 (mpc--proc-connect): Connection failures are not bugs.
9522 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9523 (mpc-volume-map): Bind to the up-events.
9525 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9527 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9528 instead of `forward-symbol'.
9530 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9532 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9533 (edebug--recursive-edit): Use it.
9534 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9535 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9537 2013-03-28 Leo Liu <sdl.web@gmail.com>
9539 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9541 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9543 * facemenu.el (list-colors-callback): New defvar.
9544 (list-colors-redisplay): New function.
9545 (list-colors-display): Install list-colors-redisplay as the
9546 revert-buffer-function. (Bug#14063)
9548 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9550 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9551 and suffixes don't overlap (bug#14061).
9553 * case-table.el: Use lexical-binding.
9554 (case-table-get-table): New function.
9555 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9557 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9559 * progmodes/subword.el: Add `superword-mode' to do word motion
9560 over symbol_words (parallels and leverages `subword-mode' which
9561 does word motion inside MixedCaseWords).
9563 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9565 * eshell/em-unix.el: Move su and sudo to...
9566 * eshell/em-tramp.el: ...Eshell tramp module.
9568 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9570 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9571 Change return value to be a sexp. Delay `get-buffer' to after
9572 restoring the desktop (bug#13951).
9574 2013-03-26 Leo Liu <sdl.web@gmail.com>
9576 * register.el: Move semantic tag handling back to
9577 cedet/semantic/senator.el. (Bug#14052)
9579 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9581 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9582 into the prompt either (bug#13963).
9584 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9586 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9587 part of "(error-foo)".
9589 2013-03-24 Juri Linkov <juri@jurta.org>
9591 * replace.el (list-matching-lines-prefix-face): New defcustom.
9592 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9593 `occur-engine' if `face-differs-from-default-p' returns t.
9594 (occur-engine): Add `,' inside backquote construct to evaluate
9595 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9596 Pass `prefix-face' to the functions `occur-context-lines' and
9597 `occur-engine-add-prefix'.
9598 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9599 `prefix-face' and propertize the prefix with `prefix-face'.
9602 2013-03-24 Leo Liu <sdl.web@gmail.com>
9604 * nxml/rng-valid.el (rng-validate-while-idle)
9605 (rng-validate-quick-while-idle): Guard against deleted buffer.
9608 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9609 is the last entry in kill-buffer-hook.
9611 * files.el (kill-buffer-hook): Doc fix.
9613 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9615 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9618 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9620 2013-03-23 Leo Liu <sdl.web@gmail.com>
9622 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9625 * nxml/rng-valid.el (rng-validate-mode)
9626 (rng-after-change-function, rng-do-some-validation):
9627 * nxml/rng-maint.el (rng-validate-buffer):
9628 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9629 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9630 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9631 (nxml-extend-after-change-region): Use with-silent-modifications.
9633 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9636 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9637 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9638 timer-idle-list. (Bug#13999)
9640 2013-03-23 Juri Linkov <juri@jurta.org>
9642 * info.el (info-index-match): New face.
9643 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9644 main pattern and add text properties with the new face to matches
9645 in index entries relative to the beginning of the index entry.
9648 2013-03-21 Eric Ludlam <zappo@gnu.org>
9650 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9651 Inhibit read only while inserting objects.
9653 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9655 * progmodes/cfengine.el: Update docs to mention
9656 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9657 symbol motion. Remove "_" from the word syntax.
9659 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9661 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9662 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9664 2013-03-20 Juri Linkov <juri@jurta.org>
9666 * info.el (Info-next-reference-or-link)
9667 (Info-prev-reference-or-link): New functions.
9668 (Info-next-reference, Info-prev-reference): Use them.
9669 (Info-try-follow-nearest-node): Handle footnote navigation.
9670 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9672 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9674 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9675 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9677 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9679 Suppress unnecessary non-ASCII chatter during build process.
9680 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9681 (batch-skkdic-convert): Suppress most of the chatter.
9682 It's not needed so much now that machines are faster,
9683 and its non-ASCII component was confusing; see Dmitry Gutov in
9684 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9686 2013-03-20 Leo Liu <sdl.web@gmail.com>
9688 * ido.el (ido-chop): Fix bug#10994.
9690 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9692 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9694 (whitespace-color-on, whitespace-color-off):
9695 Use `font-lock-fontify-buffer' (Bug#13817).
9697 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9699 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9700 remapping in mode-line.
9701 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9703 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9705 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9706 value for `whitespace-line' face (Bug#13875).
9707 (whitespace-font-lock-keywords): Change description.
9708 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9709 the constructed keywords instead.
9710 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9712 2013-03-19 Leo Liu <sdl.web@gmail.com>
9714 * progmodes/compile.el (compilation-display-error): New command.
9715 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9718 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9720 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9722 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9724 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9726 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9728 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9730 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9731 * net/tramp-gvfs.el (top):
9732 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9733 (tramp-handle-shell-command): Use it.
9734 (tramp-dissect-file-name): Raise an error when hostname is a
9735 method name, and neither method nor user is specified.
9737 * net/trampver.el: Update release number.
9739 2013-03-18 Leo Liu <sdl.web@gmail.com>
9741 Make sure eldoc can be turned off properly.
9742 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9744 (eldoc-display-message-p): Revert last change.
9745 (eldoc-display-message-no-interference-p)
9746 (eldoc-print-current-symbol-info): Tweak.
9748 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9750 * doc-view.el (doc-view-new-window-function): Check the new window
9751 overlay's display property instead the char property of the
9752 buffer's first char. Use `with-selected-window' instead of
9753 `save-window-excursion' with `select-window'.
9754 (doc-view-document->bitmap): Check the current doc-view overlay's
9755 display property instead the char property of the buffer's first char.
9757 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9759 Automate the build of ja-dic.el (Bug#13984).
9760 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9761 from the input, rather than assume that it's been done for us by the
9762 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9763 the current date into a ja-dic.el comment, as that complicates
9766 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9768 * whitespace.el: Fix double evaluation.
9769 (whitespace-space, whitespace-hspace, whitespace-tab)
9770 (whitespace-newline, whitespace-trailing, whitespace-line)
9771 (whitespace-space-before-tab, whitespace-indentation)
9772 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9774 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9775 (whitespace-color-on): Use a single font-lock-add-keywords call.
9776 Fix double-evaluation of face variables.
9778 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9780 * net/tramp-adb.el (tramp-adb-parse-device-names):
9781 Use `start-process' instead of `call-process'. Otherwise, the
9782 function might be blocked under MS Windows. (Bug#13299)
9784 2013-03-17 Leo Liu <sdl.web@gmail.com>
9786 Extend eldoc to display info in the mode-line. (Bug#13978)
9787 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9788 (eldoc-mode-line-string): New variable.
9789 (eldoc-minibuffer-message): New function.
9790 (eldoc-message-function): New variable.
9791 (eldoc-message): Use it.
9792 (eldoc-display-message-p)
9793 (eldoc-display-message-no-interference-p):
9794 Support eldoc-post-insert-mode.
9796 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9797 (eval-expression): Run it.
9799 2013-03-17 Roland Winkler <winkler@gnu.org>
9801 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9802 strings in the list of return values.
9804 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9806 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9807 radix before checking for HMS forms.
9809 2013-03-16 Leo Liu <sdl.web@gmail.com>
9811 * progmodes/scheme.el: Add indentation and font-locking for λ.
9814 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9816 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9817 token before point (bug#13942).
9819 2013-03-16 Leo Liu <sdl.web@gmail.com>
9821 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9823 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9825 * startup.el (command-line-normalize-file-name): Fix handling of
9826 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9827 <xfq.free@gmail.com> in
9828 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9830 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9832 Sync with Tramp 2.2.7.
9834 * net/trampver.el: Update release number.
9836 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9838 * doc-view.el: Fix bug#13887.
9839 (doc-view-insert-image): Don't modify overlay associated to
9840 non-live windows, and implement horizontal centering of image in
9841 case it's smaller than the window.
9842 (doc-view-new-window-function): Force redisplay of new windows on
9845 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9847 * saveplace.el (save-place-alist-to-file): Don't sort
9848 `save-place-alist', just pretty-print it (bug#13882).
9850 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9852 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9853 Check whether `default-file-name-coding-system' is bound.
9856 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9858 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9859 backquotes for `obsolete' (bug#13929).
9861 * international/mule.el (find-auto-coding): Include file name in
9862 obsolescence warning (bug#13922).
9864 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9866 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9867 for CFEngine 3-specific indentation.
9868 (cfengine3-indent-line): Use it. Fix up category regex.
9869 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9871 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9873 * type-break.el (type-break-file-name):
9874 * textmodes/remember.el (remember-data-file):
9875 * strokes.el (strokes-file):
9876 * shadowfile.el (shadow-initialize):
9877 * saveplace.el (save-place-file):
9878 * ps-bdf.el (bdf-cache-file):
9879 * progmodes/idlwave.el (idlwave-config-directory):
9880 * net/quickurl.el (quickurl-url-file):
9881 * international/kkc.el (kkc-init-file-name):
9882 * ido.el (ido-save-directory-list-file):
9883 * emulation/viper.el (viper-custom-file-name):
9884 * emulation/vip.el (vip-startup-file):
9885 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9886 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9888 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9890 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9891 * language/thai-word.el: Switch to UTF-8.
9893 See ChangeLog.16 for earlier changes.
9899 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9901 This file is part of GNU Emacs.
9903 GNU Emacs is free software: you can redistribute it and/or modify
9904 it under the terms of the GNU General Public License as published by
9905 the Free Software Foundation, either version 3 of the License, or
9906 (at your option) any later version.
9908 GNU Emacs is distributed in the hope that it will be useful,
9909 but WITHOUT ANY WARRANTY; without even the implied warranty of
9910 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9911 GNU General Public License for more details.
9913 You should have received a copy of the GNU General Public License
9914 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.