1 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPV6
6 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
8 (tramp-gvfs-handle-write-region): Implement APPEND.
10 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
12 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
13 binary "|" operator and closing block args delimiter. Remove
14 FIXME comment referring to Ruby 1.8-only syntax.
15 (ruby-smie--implicit-semi-p): Not after "|" operator.
16 (ruby-smie--closing-pipe-p): New function.
17 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
18 (ruby-smie-rules): Indent after "|".
20 2013-11-12 Glenn Morris <rgm@gnu.org>
22 * ps-print.el (ps-face-attribute-list):
23 Handle anonymous faces. (Bug#15827)
25 2013-11-12 Martin Rudalics <rudalics@gmx.at>
27 * window.el (display-buffer-other-frame): Fix doc-string.
30 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
32 * subr.el (force-mode-line-update): Delete, move to buffer.c.
34 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
36 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
37 (tramp-sh-handle-file-local-copy): Don't write a message when
38 saving temporary files.
40 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
41 both directories are remote.
42 (tramp-smb-handle-directory-files): Do not return double entries.
43 Do not expand full file names.
44 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
45 (tramp-smb-handle-write-region): Implement APPEND.
46 (tramp-smb-get-stat-capability): Fix a stupid bug.
48 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
50 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
52 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
54 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
55 throwing error over malformed let/let* (bug#15814).
57 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
59 * iswitchb.el (iswitchb-mode): Mark obsolete.
61 2013-11-11 Glenn Morris <rgm@gnu.org>
63 * international/uni-bidi.el, international/uni-category.el:
64 * international/uni-name.el, international/uni-numeric.el:
65 Regenerate for Unicode 6.3.0.
67 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
69 * net/tramp.el (tramp-methods):
70 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
71 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
73 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
75 * progmodes/sh-script.el (sh-font-lock-keywords-var):
76 Force highlighting text after Summary keyword in doc face for rpm.
78 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
80 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
81 available and the word has no wildcards, append one to the grep pattern.
82 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
83 (ispell-complete-word): Call `ispell-lookup-words' with the value
84 independent of `ispell-look-p'.
86 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
88 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
90 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
93 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
95 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
96 (ruby-font-lock-keywords): Use backquote.
98 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
100 * progmodes/ruby-mode.el (ruby-smie--forward-token)
101 (ruby-smie--backward-token): Only consider full-string matches.
103 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
105 * faces.el (describe-face): Add distant-foreground.
107 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
109 * progmodes/ruby-mode.el (ruby-mode-set-encoding):
110 Use `ruby-encoding-magic-comment-style' to control the
111 style of the auto-inserted encoding comment.
113 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
115 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
116 Use `smie-backward-sexp' with token argument.
118 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
120 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
121 Remove instrumentation code.
123 2013-11-08 Glenn Morris <rgm@gnu.org>
125 * progmodes/autoconf.el (autoconf-mode):
126 Tweak comment-start-skip. (Bug#15822)
128 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
130 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
132 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
134 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
136 * man.el (Man-start-calling): New macro, extracted from
137 Man-getpage-in-background.
138 (Man-getpage-in-background): Use it.
139 (Man-update-manpage): New command.
140 (Man-mode-map): Bind it.
142 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
144 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
145 of "and", "or", "&&" and "||".
146 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
147 argument. Prohibit opening curly brace because it could only be a
148 block opener in that position.
149 (ruby-smie--forward-token, ruby-smie--backward-token):
150 Separate "|" from "&" or "*" going after it. That can happen in block
152 (ruby-smie--indent-to-stmt): New function, seeks the end of
153 previous statement or beginning of buffer.
154 (ruby-smie-rules): Use it.
155 (ruby-smie-rules): Check if there's a ":" before a curly block
156 opener candidate; if there is, it's a hash.
158 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
160 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
161 (cl--block-wrapper): Fix last accidental change.
163 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
165 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
166 Instrument, in order to hunt failure on hydra.
168 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
170 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
171 malformed bindings form (bug#15814).
173 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
175 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
176 "." compared to " @ ". This incidentally fixes some indentation
178 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
179 (ruby-smie-grammar): New tokens: "and" and "or".
180 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
181 Exclude "and" and "or". Remove "do" in order to work around token
183 (ruby-smie-rules): Add all infix tokens. Handle the case of
186 2013-11-06 Glenn Morris <rgm@gnu.org>
188 * Makefile.in (setwins_almost, setwins_for_subdirs):
189 Avoid accidental matches.
191 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
193 * menu-bar.el (popup-menu): Use key-binding.
195 2013-11-06 Eli Zaretskii <eliz@gnu.org>
197 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
198 menus, support also the menus produced by minor modes.
201 2013-11-06 Leo Liu <sdl.web@gmail.com>
203 * thingatpt.el (thing-at-point-looking-at): Add optional arg
204 DISTANCE to bound the search. All uses changed. (Bug#15808)
206 2013-11-06 Glenn Morris <rgm@gnu.org>
208 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
209 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
210 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
212 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
214 * electric.el (electric-indent-just-newline): New command.
215 (electric-indent-mode-map): New keymap.
216 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
217 Re-add :group which weren't redundant.
219 * electric.el (electric-indent-local-mode): New minor mode.
220 (electric-indent-functions-without-reindent): New var.
221 (electric-indent-post-self-insert-function): Use it.
222 * emacs-lisp/gv.el (buffer-local-value): Add setter.
224 2013-11-05 Eli Zaretskii <eliz@gnu.org>
226 * international/quail.el (quail-help): Be more explicit about the
227 meaning of the labels shown on the keys. (Bug#15800)
229 * startup.el (normal-top-level): Load the subdirs.el files before
230 setting the locale environment. (Bug#15805)
232 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
234 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
235 via arguments so as to get the right ones (bug#15418).
237 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
239 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
241 Fix problems found while writing a test suite.
243 * net/tramp-compat.el (tramp-compat-load): New defun.
244 * net/tramp.el (tramp-handle-load): Use it.
246 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
247 "(numberp ok-if-already-exists)" correctly.
249 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
251 * international/characters.el (glyphless-char-display-control):
254 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
256 * progmodes/python.el (python-mode):
257 * progmodes/scheme.el (scheme-mode):
258 * progmodes/prolog.el (prolog-mode):
259 * progmodes/ruby-mode.el (ruby-mode):
260 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
261 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
263 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
265 * rect.el (rectangle--highlight-for-redisplay):
266 * emacs-lisp/smie.el (smie--next-indent-change):
267 Use buffer-chars-modified-tick.
269 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
271 * electric.el (electric-indent-post-self-insert-function):
272 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
274 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
276 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
278 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
280 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
283 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
285 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
287 * progmodes/python.el: Fix up last change.
288 (python-shell--save-temp-file): New function.
289 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
290 `string' comes from the current buffer.
291 (python-shell-send-string-no-output): Remove `msg' arg.
292 (python--use-fake-loc): New var.
293 (python-shell-buffer-substring): Obey it. Try to compensate for the
294 extra coding line added by python-shell--save-temp-file.
295 (python-shell-send-region): Use python-shell--save-temp-file and
296 python-shell-send-file directly. Add `nomain' argument.
297 (python-shell-send-buffer): Use python-shell-send-region.
298 (python-electric-pair-string-delimiter): New function.
299 (python-mode): Use it.
301 2013-11-04 Eli Zaretskii <eliz@gnu.org>
303 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
304 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
305 environment and decoding all of the default-directory's to here
307 (command-line): Decode also argv[0].
309 * loadup.el: Error out if default-directory is a multibyte string
312 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
314 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
316 * emacs-lisp/package.el (package-menu-mode)
317 (package-menu--print-info, package-menu--archive-predicate):
318 Add Archive column to package list.
320 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
322 Fix problems found while writing a test suite.
324 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
325 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
326 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
327 to nil when running original file name handler. Otherwise,
328 there are problems with constructs like "$$FOO".
330 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
333 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
335 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
337 * subr.el (version<, version<=, version=):
338 Update docstrings with information for snapshot versions.
340 * helpers.el: New library for misc helper functions.
341 (hash-table-keys): New function returning a list of hash keys.
342 (hash-table-values): New function returning a list of hash values.
344 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
346 * progmodes/ruby-mode.el (ruby-smie--forward-token)
347 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
349 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
351 * textmodes/fill.el (fill-single-char-nobreak-p): New function
352 checking whether point is after a 1-letter word.
354 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
356 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
357 Don't infloop when expanding region over `multiline' syntax-type that
358 begins a line (bug#15778).
360 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
362 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
363 Make it into a proper minor mode.
364 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
365 (rectangle-mark-mode-map): New keymap.
366 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
368 2013-11-04 Glenn Morris <rgm@gnu.org>
370 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
372 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
374 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
375 (ruby-smie-rules): Use smie-rule-parent instead.
377 * emacs-lisp/smie.el (smie-rule-parent): Always call
378 smie-indent-virtual rather than only for hanging tokens.
379 (smie--next-indent-change): New helper command.
381 2013-11-03 Glenn Morris <rgm@gnu.org>
383 * Makefile.in (abs_srcdir): Remove.
384 (emacs): Unset EMACSLOADPATH.
386 2013-11-02 Glenn Morris <rgm@gnu.org>
388 * Makefile.in (EMACS): Use a relative filename.
389 (abs_top_builddir): Remove.
390 (custom-deps, finder-data, autoloads): Use --chdir.
392 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
394 Use relative filenames in TAGS files.
395 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
396 (lisptagsfiles4, TAGS): Use relative file names.
398 (maintainer-clean): No more TAGS-LISP file.
400 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
401 (lisptagsfiles4): Use absolute filenames again.
402 (TAGS, TAGS-LISP): Not everything needs to run in one line.
403 Remove all *loaddefs files, not just the first. Remove esh-groups.
404 (maintainer-clean): Delete TAGS, TAGS-LISP.
406 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
408 * emacs-lisp/package.el (package-version-join):
409 Recognize snapshot versions.
411 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
413 * subr.el (version-regexp-alist): Add support for snapshot versions.
415 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
417 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
418 New function, replacement for `smie-rule-parent' for when we want to
419 skip over our direct parent if it's an assignment token..
420 (ruby-smie-rules): Use it.
422 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
424 * progmodes/ruby-mode.el Use `syntax-propertize-function'
425 unconditionally. Remove now unnecessary forward declarations.
426 Remove XEmacs-specific setup.
427 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
428 (ruby-font-lock-syntactic-keywords)
429 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
430 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
431 (ruby-here-doc-end-syntax): Remove.
432 (ruby-mode): Don't check whether `syntax-propertize-rules' is
435 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
437 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
439 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
441 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
442 table and abbrev table, `define-derived-mode' does that for us
445 2013-11-01 Glenn Morris <rgm@gnu.org>
447 * Makefile.in: Remove manual mh-e dependencies (writing .elc
448 files is atomic for some time, so no parallel compilation issues).
450 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
452 * faces.el (face-x-resources): Add :distant-foreground.
453 (region): Use :distant-foreground for gtk and ns.
455 2013-11-01 Tassilo Horn <tsdh@gnu.org>
457 Allow multiple bibliographies when BibLaTeX is used rather than
459 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
460 (reftex-locate-bibliography-files): Us it.
462 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
464 * image.el (image-type-header-regexps): Fix the 'pbm' part to
465 allow comments in pbm files.
467 * term/w32-win.el (dynamic-library-alist): Support newer versions
468 of libjpeg starting with v7: look only for the DLL from the
469 version against which Emacs was built.
470 Support versions of libpng beyond 1.4.x.
471 Support libtiff v4.x.
473 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
475 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
476 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
478 (ruby-deep-arglist): Add property :type.
480 2013-10-31 Glenn Morris <rgm@gnu.org>
482 * Makefile.in (custom-deps, finder-data): No need to setq the target
483 variables, we are in the right directory and the defaults work fine.
485 2013-10-30 Glenn Morris <rgm@gnu.org>
487 * Makefile.in (autoloads): Do not use abs_lisp.
489 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
490 `newline' does not respect `standard-output', so use `princ'.
492 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
494 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
495 * buff-menu.el (Buffer-menu--unmark): New function.
496 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
498 2013-10-30 Glenn Morris <rgm@gnu.org>
500 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
502 * emacs-lisp/package.el (lm-homepage): Declare.
504 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
507 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
509 * Makefile.in (finder-data, autoloads, update-subdirs)
510 (compile-main, compile-clean, compile-always, bootstrap-clean):
511 Check return value of cd.
512 (compile-calc): Remove.
514 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
516 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
518 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
519 (byte-compile-and-folded): New function.
520 (=, <, >, <=, >=): Use it.
522 * dos-w32.el (minibuffer-history-case-insensitive-variables)
523 (path-separator, null-device, buffer-file-coding-system)
524 (lpr-headers-switches): Check system-type before modifying them.
525 (find-buffer-file-type-coding-system): Mark obsolete.
526 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
527 find-file-not-found-set-buffer-file-coding-system.
528 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
529 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
530 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
531 (w32-direct-print-region-helper, w32-direct-print-region-function)
532 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
533 * startup.el (normal-top-level-add-subdirs-to-load-path):
534 * ps-print.el (ps-print-region-function):
535 * lpr.el (print-region-function): Use new name.
537 * subr.el (custom-declare-variable-early): Remove function.
538 (custom-declare-variable-list): Remove var.
539 (error, user-error): Remove `while' loop.
540 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
541 (user-emacs-directory-warning, locate-user-emacs-file):
543 * simple.el (read-quoted-char-radix, read-quoted-char):
544 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
546 * custom.el (custom-declare-variable-list): Don't process
547 custom-declare-variable-list.
549 * progmodes/python.el (python-shell-get-buffer): New function.
550 (python-shell-get-process): Use it.
551 (python-shell-send-string): Always use utf-8 and add a cookie to tell
552 Python which encoding was used. Don't split-string since we only care
553 about the first line. Return the temp-file, if applicable.
554 (python-shell-send-region): Tell compile.el how to turn locations in
555 the temp-file into locations in the source buffer.
557 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
559 * subr.el (undefined): Add missing behavior from the C code for
562 * rect.el: Use lexical-binding. Add new rectangular region support.
563 (rectangle-mark): New command.
564 (rectangle--region): New var.
565 (deactivate-mark-hook): Reset rectangle--region.
566 (rectangle--extract-region, rectangle--insert-for-yank)
567 (rectangle--highlight-for-redisplay)
568 (rectangle--unhighlight-for-redisplay): New functions.
569 (region-extract-function, redisplay-unhighlight-region-function)
570 (redisplay-highlight-region-function): Use them to handle
572 * simple.el (region-extract-function): New var.
573 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
574 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
575 (kill-region): Replace obsolete `yank-handler' arg with `region'.
576 (copy-region-as-kill, kill-ring-save): Add `region' argument.
577 (redisplay-unhighlight-region-function)
578 (redisplay-highlight-region-function): New vars.
579 (redisplay--update-region-highlight): New function.
580 (pre-redisplay-function): Use it.
581 (exchange-point-and-mark): Don't deactivate the mark before
582 reactivate-it anyway.
583 * comint.el (comint-kill-region): Remove yank-handler argument.
584 * delsel.el (delete-backward-char, backward-delete-char-untabify)
585 (delete-char): Remove property, since it's now part of their
587 (self-insert-iso): Remove property since this command doesn't exist.
589 * emacs-lisp/package.el (package--download-one-archive)
590 (describe-package-1): Don't query the user about final newline.
592 2013-10-29 Daniel Colascione <dancol@dancol.org>
594 * net/tramp.el (tramp-methods): Document new functionality.
595 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
596 tramp-hostname-checker if method provides one instead of scanning
597 argument list for "%h" to decide hostname acceptability.
599 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
601 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
602 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
603 Handle COPY-CONTENTS. (Bug#15737)
605 2013-10-28 Daiki Ueno <ueno@gnu.org>
608 (epa-file-cache-passphrase-for-symmetric-encryption):
609 Document that this option has no effect with GnuPG 2.0 (bug#15552).
611 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
613 * image.el (defimage):
614 (image-load-path): Doc fixes.
616 2013-10-27 Alan Mackenzie <acm@muc.de>
618 Indent statements in macros following "##" correctly.
619 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
620 Modify the "#" arm of a cond form to handle "#" and "##" operators.
622 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
624 * linum.el (linum-update-window): Fix boundary test (bug#13446).
626 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
628 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
629 after `=' is probably a new expression.
631 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
633 * man.el (man-imenu-title): New option.
634 (Man-mode-map): Add menu. (Bug#15722)
635 (Man-mode): Add imenu to menu.
637 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
639 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
640 specific in what the first arg can be: a non-keyword word,
641 string/regexp/percent literal opener, opening paren, or unary
642 operator followed directly by word.
644 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
646 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
647 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
648 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
649 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
650 Remove vars, they do not apply any more.
651 (prolog-mode-abbrev-table): Remove redundant declaration.
652 (prolog-upper-case-string, prolog-lower-case-string): Remove.
653 (prolog-use-smie): Remove.
654 (prolog-smie-rules): Add indentation rule for the if-then-else layout
655 supported by prolog-electric-if-then-else-flag.
656 (prolog-mode-variables, prolog-menu): Use setq-local.
657 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
658 Remove binding to `Backspace' since this key doesn't exist anyway.
659 Remove bindings for electric self-inserting keys.
660 (prog-mode): Assume it's defined.
661 (prolog-post-self-insert): New function.
662 (prolog-mode): Use it.
663 (prolog-indent-line, prolog-indent-level)
664 (prolog-find-indent-of-matching-paren)
665 (prolog-indentation-level-of-line, prolog-goto-comment-column)
666 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
667 (prolog-goto-next-paren, prolog-in-string-or-comment)
668 (prolog-tokenize, prolog-inside-mline-comment)
669 (prolog-find-start-of-mline-comment): Remove functions.
670 (prolog-find-unmatched-paren, prolog-clause-end)
671 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
672 (prolog-electric--if-then-else): Rename from
673 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
674 (prolog-tokenize-searchkey): Remove const.
675 (prolog-clause-info): Use forward-sexp.
676 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
677 (prolog-electric-if-then-else): Remove commands.
678 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
679 for use in post-self-insert-hook.
680 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
681 for use in post-self-insert-hook.
682 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
683 for use in post-self-insert-hook.
684 (prolog-electric--underscore): Rename from prolog-electric--underscore;
685 adapt it for use in post-self-insert-hook.
687 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
689 * emacs-lisp/ert.el (ert-run-tests-interactively):
690 Use `completing-read'. (Bug#9756)
692 2013-10-25 Eli Zaretskii <eliz@gnu.org>
694 * simple.el (line-move): Call line-move-1 instead of
695 line-move-visual when the current window hscroll is zero, but
696 temporary-goal-column indicates we will need to hscroll as result
697 of the movement. (Bug#15712)
699 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
701 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
702 capitalization. Use :visible instead of :active.
703 Fix `ruby-indent-exp' reference. Add menu items for the generic
704 commands that are used with SMIE.
705 (ruby-do-end-to-brace): Insert space after `{'.
707 2013-10-25 John Anthony <john@jo.hnanthony.com>
709 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
711 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
713 2013-10-25 Glenn Morris <rgm@gnu.org>
715 * vc/vc.el (vc-print-log): Don't use a working revision unless
716 one was explicitly specified. (Bug#15322)
718 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
720 * subr.el (add-to-list): Preserve return value in compiler-macro
723 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
725 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
726 result. Ask user to retry using '-all' flag. (Bug#15701)
728 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
730 * emacs-lisp/smie.el: New smie-config system.
731 (smie-config): New defcustom.
732 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
733 (smie-config-guess, smie-config-save): New commands.
734 (smie-config--mode-local, smie-config--buffer-local)
735 (smie-config--trace, smie-config--modefuns): New vars.
736 (smie-config--advice, smie-config--mode-hook)
737 (smie-config--setter, smie-config-local, smie-config--get-trace)
738 (smie-config--guess-value, smie-config--guess): New functions.
739 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
740 text properties. Treat "string fence" syntax like string syntax.
742 * progmodes/sh-script.el (sh-use-smie): Change default.
743 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
744 (sh-var-value): Simplify by CSE.
745 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
746 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
748 (sh-guess-basic-offset): Use cl-incf.
749 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
751 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
753 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
756 2013-10-24 Glenn Morris <rgm@gnu.org>
758 * Makefile.in (abs_top_srcdir): Remove.
759 (update-subdirs): Use relative path to update-subdirs.
761 2013-10-24 Eli Zaretskii <eliz@gnu.org>
763 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
764 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
765 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
766 Call unmsys--file-name before expand-file-name, not after it.
768 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
770 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
771 (ert-test-skipped): New error.
772 (ert-skip, ert-stats-skipped): New defuns.
773 (ert--skip-unless): New macro.
774 (ert-test-skipped): New struct.
775 (ert--run-test-debugger, ert-test-result-type-p)
776 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
777 (ert--stats-set-test-and-result, ert-char-for-test-result)
778 (ert-string-for-test-result, ert-run-tests-batch)
779 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
780 Handle skipped tests. (Bug#9803)
782 2013-10-24 Glenn Morris <rgm@gnu.org>
784 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
786 * Makefile.in (abs_top_srcdir): New, set by configure.
787 (update-subdirs): Correct build-aux location.
789 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
791 * vc/vc.el (vc-print-root-log): Always set `default-directory'
792 value, whether we could auto-deduce `backend', or not.
794 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
795 with parameters" example. Simplify the "is it block or is it
796 hash" check, but also make it more thorough.
798 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
800 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
802 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
804 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
807 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
810 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
812 * progmodes/compile.el (compilation-directory-matcher)
813 (compilation-page-delimiter):
814 Support GNU Make-4.0 directory quoting. (Bug#15678)
816 2013-10-23 Leo Liu <sdl.web@gmail.com>
818 * ido.el (ido-tidy): Handle read-only text.
820 2013-10-23 Glenn Morris <rgm@gnu.org>
822 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
823 (emacs, compile, compile-always):
824 Quote entities that might contain whitespace.
825 (custom-deps, finder-data, autoloads): Use abs_lisp.
826 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
827 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
828 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
830 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
832 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
833 Use `following-char'.
835 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
837 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
838 * progmodes/ruby-mode.el (ruby-smie-rules):
839 Remove corresponding workaround. Fix indentation rule of ";" so it
840 also applies when ";" is the parent.
842 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
844 * frame.el (display-screens, display-pixel-height)
845 (display-pixel-width, display-mm-width, display-backing-store)
846 (display-save-under, display-planes, display-color-cells)
847 (display-visual-class, display-monitor-attributes-list):
848 Mention the optional ‘display’ argument in doc strings.
850 2013-10-22 Michael Gauland <mikelygee@amuri.net>
852 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
853 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
855 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
857 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
858 TODO. Add "." after " @ ".
859 (ruby-smie--at-dot-call): New function. Checks if point at method
860 call with explicit target.
861 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
862 to the method name tokens when it precedes them.
863 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
864 (ruby-smie-rules): Add rule for indentation before and after "."
867 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
869 * textmodes/remember.el (remember-diary-extract-entries):
872 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
875 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
877 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
878 (ruby-smie--implicit-semi-p): Add new operator chars.
880 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
882 (ruby-smie--args-separator-p): Check that there's no newline
883 between method call and its arguments.
885 2013-10-20 Alan Mackenzie <acm@muc.de>
887 Allow comma separated lists after Java "implements".
889 * progmodes/cc-engine.el (c-backward-over-enum-header):
891 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
892 from a "disallowed" list in enum fontification.
894 2013-10-20 Johan Bockgård <bojohan@gnu.org>
896 * startup.el (default-frame-background-mode): Remove unused defvar.
898 * progmodes/verilog-mode.el (verilog-mode): Don't set
899 comment-indent-function globally.
901 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
903 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
904 Move Info menu item creation to ns-win.el.
906 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
909 * menu-bar.el: Move GNUStep specific menus...
911 * term/ns-win.el (ns-initialize-window-system): ... to here.
913 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
915 * simple.el (newline): Only run post-self-insert-hook when
916 called interactively.
918 2013-10-19 Johan Bockgård <bojohan@gnu.org>
920 * icomplete.el (icomplete-with-completion-tables): Add :version.
922 2013-10-19 Alan Mackenzie <acm@muc.de>
924 Fix fontification bugs with constructors and const.
926 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
927 CASE 2) Remove the check for the absence of a suffix construct
928 after a function declaration with only types (no identifiers) in
929 the parentheses. Also, accept a function declaration with just a
930 type inside the parentheses, if this type can be positively
931 recognised as such, or if a prefix keyword like "explicit" nails
932 down the construct as a declaration.
934 2013-10-19 Eli Zaretskii <eliz@gnu.org>
936 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
937 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
938 the problem whereby selecting a menu item that leads to a
939 minibuffer prompt moves the cursor out of the minibuffer window,
940 making it hard to type at the prompt. Suggested by Stefan Monnier
941 <monnier@iro.umontreal.ca>.
943 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
945 * menu-bar.el: Don't make Services menu.
947 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
949 * ffap.el: Handle "/usr/include/c++/<version>" directories.
950 (ffap-alist): Use ffap-c++-mode for c++-mode.
951 (ffap-c++-path): New variable.
952 (ffap-c++-mode): New function.
954 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
956 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
958 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
960 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
961 introduced on 2013-09-08, which results in an infinite loop
962 requesting a password.
964 2013-10-18 Glenn Morris <rgm@gnu.org>
966 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
968 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
970 Sync with upstream verilog-mode revision 1a6ecec7.
971 * progmodes/verilog-mode.el (verilog-mode-version): Update.
972 (verilog-mode-release-date): Remove.
973 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
974 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
975 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
976 (verilog-auto-tieoff-ignore-regexp)
977 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
978 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
979 (verilog-signals-with, verilog-dir-cache-preserving)
980 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
982 (verilog-case-fold): New option, to control case folding in
983 regexp searches, bug597.
984 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
985 (verilog-string-match-fold, verilog-in-paren-count)
986 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
987 (verilog-at-close-struct-p): New functions.
988 (verilog-beg-block-re-ordered, verilog-extended-case-re)
989 (verilog-forward-sexp, verilog-set-auto-endcomments):
990 (verilog-leap-to-case-head): Handle "unique0" case.
991 (verilog-in-constraint-re): New constant.
992 (verilog-keywords, verilog-type-font-keywords):
993 Add some SystemVerilog 1800-2012 keywords.
994 (verilog-label-be): Remove unimplemented argument, bug669.
995 (verilog-batch-execute-func): When batch expanding clear
996 create-lockfiles to prevent spurious user locks when a file ends
998 (verilog-calculate-indent, verilog-calc-1)
999 (verilog-at-close-constraint-p, verilog-at-constraint-p)
1000 (verilog-do-indent): Fix indentation of nested constraints
1002 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
1003 (verilog-auto-inst-param): Use verilog-string-match-fold.
1004 (verilog-read-inst-module-matcher):
1005 Fix AUTOINST on gate primitives with #1.
1006 (verilog-read-decls): Fix double-declaring user-defined typed signals.
1007 Reads all user-defined typed variables.
1008 (verilog-read-defines): Fix reading definitions inside comments, bug647.
1009 (verilog-signals-matching-regexp)
1010 (verilog-signals-not-matching-regexp, verilog-auto):
1011 Respect verilog-case-fold.
1012 (verilog-diff-report): Fix line count.
1013 (verilog-auto-assign-modport): Remove unused local `modi'.
1014 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
1015 better handle multidimensional arrays.
1016 Fix packed array ports misadding bit index in AUTOINST, bug637.
1017 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
1018 to not double-declare existing outputs and inputs, respectively.
1019 (verilog-template-map): Bind U to verilog-sk-uvm-component.
1020 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
1021 (verilog-sk-uvm-component): New skeleton.
1022 (verilog-submit-bug-report): Add verilog-case-fold,
1023 remove verilog-mode-release-date.
1025 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
1027 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
1030 2013-10-18 Reuben Thomas <rrt@sc3d.org>
1032 * textmodes/remember.el (remember): set buffer-offer-save in
1033 remember buffers (bug#13566).
1035 2013-10-18 Daniel Colascione <dancol@dancol.org>
1037 When evaluating forms in ielm, direct standard output to ielm
1038 buffer. Add new ielm-return-for-effect command. Remove trailing
1039 whitespace throughout.
1041 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
1042 (ielm-return-for-effect): New command.
1043 (ielm-send-input): Accept optional `for-effect' parameter.
1044 (ielm-eval-input): Accept optional `for-effect' parameter.
1045 Bind `standard-output' to stream we create using
1046 `ielm-standard-output-impl'. Suppress printing result when
1048 (ielm-standard-output-impl): New function.
1049 (inferior-emacs-lisp-mode): Explain new features in documentation.
1051 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
1055 * net/tramp.el (tramp-debug-message): Do not check for connection
1057 (tramp-message): Use "vector" connection property.
1059 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
1060 (tramp-equal-remote, tramp-eshell-directory-change)
1061 * net/tramp-adb.el (tramp-adb-handle-copy-file)
1062 (tramp-adb-handle-rename-file)
1063 * net/tramp-cmds.el (tramp-list-remote-buffers)
1064 (tramp-cleanup-connection, tramp-cleanup-this-connection)
1065 * net/tramp-compat.el (tramp-compat-process-running-p)
1066 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
1067 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
1068 (tramp-gvfs-handle-rename-file)
1069 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
1070 (tramp-set-file-uid-gid)
1071 * net/tramp-smb.el (tramp-smb-handle-copy-file)
1072 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
1075 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
1076 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
1077 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
1078 (tramp-gw-open-network-stream): Suppress unrelated traces.
1080 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
1081 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
1082 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
1083 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
1084 connection property.
1086 * net/tramp-cache.el (top): Suppress traces when reading
1089 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
1090 Refactor common code. Improve debug message.
1091 (tramp-maybe-open-connection)
1092 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
1093 connection buffer too early.
1095 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
1096 from `tramp-smb-actions-with-acl'.
1097 (tramp-smb-actions-set-acl): New defconst.
1098 (tramp-smb-handle-copy-directory)
1099 (tramp-smb-action-get-acl): New defun, renamed from
1100 `tramp-smb-action-with-acl'.
1101 (tramp-smb-action-set-acl): New defun.
1102 (tramp-smb-handle-set-file-acl): Rewrite.
1104 2013-10-17 Glenn Morris <rgm@gnu.org>
1106 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
1108 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
1110 * skeleton.el (skeleton-newline): Remove.
1111 (skeleton-internal-1): Use (insert "\n") instead.
1113 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
1116 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
1117 forward-sexp-function while we redo its job (bug#15613).
1119 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
1121 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
1122 represented by lists.
1124 2013-10-16 Glenn Morris <rgm@gnu.org>
1126 * tmm.el (tmm--history): New dynamic variable.
1127 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
1129 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
1131 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
1132 (tramp-smb-errors): Add error messages.
1133 (tramp-smb-actions-with-acl): New defconst.
1134 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
1135 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
1136 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
1137 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
1138 (tramp-smb-get-stat-capability): Fix tests.
1140 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
1142 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
1145 2013-10-16 Glenn Morris <rgm@gnu.org>
1147 * ansi-color.el (ansi-color-drop-regexp):
1148 Add 1J, 1K, 2K. (Bug#15617)
1150 * files.el (hack-local-variables--warned-lexical): New.
1151 (hack-local-variables):
1152 Warn about misplaced lexical-binding. (Bug#15616)
1154 * net/eww.el (eww-render): Always set eww-current-url,
1155 and update header line. (Bug#15622)
1156 (eww-display-html): ... Rather than just doing it here.
1158 2013-10-15 Eli Zaretskii <eliz@gnu.org>
1160 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
1161 menu navigations commands.
1163 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
1165 * progmodes/subword.el (subword-capitalize): Be careful when
1166 the search for [[:alpha:]] fails (bug#15580).
1168 2013-10-14 Eli Zaretskii <eliz@gnu.org>
1170 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
1171 to commands that scroll the menu.
1173 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
1175 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
1176 Handle methods ending with `?' and `!'.
1178 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
1180 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
1181 `japanese-cp932' to `cp932' to fix the problem where saving a
1182 source file written in Shift_JIS twice would end up having
1183 `coding: japanese-cp932' which Ruby could not recognize.
1184 (ruby-mode-set-encoding): Add support for encodings mapped to nil
1185 in `ruby-encoding-map'.
1186 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
1187 doesn't need to be explicitly declared in magic comment.
1188 (ruby-encoding-map): Add type declaration for better customize UI.
1190 2013-10-13 Glenn Morris <rgm@gnu.org>
1192 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
1193 Occur buffers are read-only. http://bugs.debian.org/720775
1195 * emacs-lisp/authors.el (authors-fixed-entries):
1196 Comment out old alpha stuff.
1198 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
1200 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
1201 to `after-save-hook' instead of `before-save-hook'.
1202 (ruby-mode-set-encoding): Use the value of coding system used to
1203 write the file. Call `basic-save-buffer-1' after modifying the
1206 2013-10-13 Alan Mackenzie <acm@muc.de>
1208 Fix indentation/fontification of Java enum with
1209 "implements"/generic.
1211 * progmodes/cc-engine.el (c-backward-over-enum-header):
1212 Extracted from the three other places and enhanced to handle generics.
1213 (c-inside-bracelist-p): Uses new function above.
1214 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
1216 (c-font-lock-enum-tail): Uses new function above.
1218 2013-10-13 Kenichi Handa <handa@gnu.org>
1220 * international/mule-cmds.el (select-safe-coding-system): Remove a
1221 superfluous condition in chekcing whether a coding system is safe
1224 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1226 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1228 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1230 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1232 2013-10-13 Glenn Morris <rgm@gnu.org>
1234 * menu-bar.el (menu-bar-update-buffers):
1235 Unify Buffers menu prompt string. (Bug#15576)
1237 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1239 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1241 (authors-fixed-entries): Use accented form of name.
1243 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1245 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1246 method calls (bug#15594).
1247 (ruby-smie--args-separator-p): New function.
1248 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1249 recognize paren-free method calls.
1251 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1252 internals of universal-argument.
1254 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1256 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1257 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1258 dropped menu on second mouse click on the menu bar.
1260 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1262 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1263 (explicit-shell-file-name): Declare.
1264 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1265 (sh-completion-at-point-function): New function.
1267 (sh-smie--keyword-p): Remove unused argument.
1268 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1270 (sh-set-shell): Always setup SMIE, even if we use the
1271 old indentation code.
1273 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1275 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1277 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1278 predicate would return nil are almost non-existent.
1279 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1281 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1282 cache also after commands that modify the buffer but don't move
1285 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1287 * env.el (substitute-env-in-file-name): New function.
1288 (substitute-env-vars): Extend the meaning of the optional arg.
1290 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1292 * term/w32-win.el (dynamic-library-alist): Define separate lists
1293 of GIF DLLs for versions before and after 5.0.0 of giflib.
1296 2013-10-10 João Távora <joaotavora@gmail.com>
1298 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1299 not locked, use last revision and current source as
1300 defaults. (Bug#15569)
1302 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1304 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1307 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1309 * window.el (pop-to-buffer-same-window): Fix doc-string.
1312 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1314 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1316 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1318 * calendar/icalendar.el (icalendar-import-file):
1319 Fix interactive spec. (Bug#15482)
1321 2013-10-10 Glenn Morris <rgm@gnu.org>
1323 * desktop.el (desktop-save): Default to saving in .emacs.d,
1324 since PWD is no longer in desktop-path by default. (Bug#15319)
1326 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1327 now that text mode has a menu with the same entry.
1328 (menu-bar-text-mode-auto-fill): Remove now unused func.
1329 * textmodes/text-mode.el (text-mode-map):
1330 Use auto-fill help text from menu-bar.el.
1332 2013-10-10 John Anthony <john@jo.hnanthony.com>
1334 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1336 2013-10-09 Juri Linkov <juri@jurta.org>
1338 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1339 instead of this-command-keys. Add universal-argument-more and
1340 universal-argument-minus to the list of prefix commands. (Bug#15568)
1342 2013-10-09 Glenn Morris <rgm@gnu.org>
1344 * vc/vc-svn.el (vc-svn-create-repo):
1345 Expand paths in file://... url. (Bug#15446)
1347 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1349 (authors): Remove unused local variables.
1351 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1353 * profiler.el: Create a more coherent calltree from partial backtraces.
1354 (profiler-format): Hide the tail with `invisible' so that C-s can still
1355 find the hidden elements.
1356 (profiler-calltree-depth): Don't recurse so enthusiastically.
1357 (profiler-function-equal): New hash-table-test.
1358 (profiler-calltree-build-unified): New function.
1359 (profiler-calltree-build): Use it.
1360 (profiler-report-make-name-part): Indent the calltree less.
1361 (profiler-report-mode): Add visibility specs for profiler-format.
1362 (profiler-report-expand-entry, profiler-report-toggle-entry):
1363 Expand the whole subtree when provided with a prefix arg.
1365 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1367 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1369 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1370 hanging iuwu-mod token.
1371 (ruby-smie--forward-token): Do not include a dot after a token in
1373 (ruby-smie--backward-token): Likewise.
1375 2013-10-08 Juri Linkov <juri@jurta.org>
1377 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1378 to isearch-other-control-char.
1379 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1380 and isearch-post-command-hook to post-command-hook.
1381 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1382 and isearch-post-command-hook from post-command-hook.
1383 (isearch-unread-key-sequence)
1384 (isearch-reread-key-sequence-naturally)
1385 (isearch-lookup-scroll-key, isearch-other-control-char)
1386 (isearch-other-meta-char): Remove functions.
1387 (isearch-pre-command-hook, isearch-post-command-hook):
1388 New functions based on isearch-other-meta-char rewritten
1389 relying on the new behavior of overriding-terminal-local-map
1390 that does not replace the local keymaps any more. (Bug#15200)
1392 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1394 Support menus on text-mode terminals.
1395 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1398 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1400 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1401 Move here from mouse.el.
1402 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1404 (tty-menu-navigation-map): New map for TTY menu navigation.
1406 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1408 * frame.el (display-mouse-p): Report text-mode mouse as available
1410 (display-popup-menus-p): Report availability if mouse is
1411 available; don't condition on window-system.
1413 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1414 (tty-menu-selected-face): New faces.
1416 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1418 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1419 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1420 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1421 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1423 (lisp-mode-variables): New `elisp' argument.
1424 (emacs-lisp-mode): Use it.
1425 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1426 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1428 * indent.el: Use lexical-binding.
1429 (indent-region): Add progress reporter.
1430 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1432 (indent--next-tab-stop): New function to implement this behavior.
1433 (tab-to-tab-stop, move-to-tab-stop): Use it.
1435 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1437 * indent.el (indent-rigidly--current-indentation): New function.
1438 (indent-rigidly-map): New var.
1439 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1441 2013-10-08 Bastien Guerry <bzg@gnu.org>
1443 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1445 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1447 * progmodes/perl-mode.el: Use lexical-binding.
1448 Remove redundant :group args.
1449 (perl-nochange): Change default to be closer to other major modes's
1451 (perl-indent-line): Don't consider text on current line as a
1452 valid beginning of function from which to indent.
1454 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1455 with more than one argument (bug#15538).
1457 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1459 * vc/pcvs.el: Use lexical-binding.
1460 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1461 environment of `eval'.
1462 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1463 than a list of expressions. Adjust callers.
1464 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1466 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1468 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1469 case of the dot in a chained method call being on the following line.
1471 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * electric.el (electric-indent-inhibit): New var.
1474 (electric-indent-post-self-insert-function): Use it.
1475 * progmodes/python.el (python-mode): Set it.
1477 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1480 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1482 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1483 (css-mode): Use electric-indent-chars.
1485 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1486 (font-lock-beg, font-lock-end): Move before first use.
1487 (nxml-mode): Use syntax-propertize-function.
1488 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1489 (nxml-extend-after-change-region): Remove.
1490 * nxml/xmltok.el: Use lexical-binding.
1491 (xmltok-save): Use `declare'.
1492 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1493 * nxml/nxml-util.el: Use lexical-binding.
1494 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1496 * nxml/nxml-ns.el: Use lexical-binding.
1497 (nxml-ns-save): Use `declare'.
1498 (nxml-ns-prefixes-for): Avoid add-to-list.
1499 * nxml/rng-match.el: Use lexical-binding.
1500 (rng--ipattern): Use cl-defstruct.
1501 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1502 (rng-cons-group-after, rng-subst-group-after)
1503 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1504 Use closures instead of `(lambda...).
1506 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1508 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1511 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1512 Use `tramp-handle-insert-file-contents'.
1513 (tramp-gvfs-handle-insert-file-contents): Remove function.
1515 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1516 Use `save-restriction' in order to keep markers.
1518 * net/trampver.el: Update release number.
1520 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1522 * progmodes/compile.el (compilation-parse-errors):
1523 Use compilation--put-prop.
1524 (compilation--ensure-parse): Check compilation-multiline.
1526 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1528 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1531 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1533 * progmodes/ruby-mode.el: Fix recently added tests.
1534 (ruby-smie-grammar): Add - and +.
1535 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1536 (ruby-smie--backward-id): New functions.
1537 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1538 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1541 2013-10-07 Leo Liu <sdl.web@gmail.com>
1543 * register.el (register-preview-delay)
1544 (register-preview-functions): New variables.
1545 (register-read-with-preview, register-preview)
1546 (register-describe-oneline): New functions.
1547 (point-to-register, window-configuration-to-register)
1548 (frame-configuration-to-register, jump-to-register)
1549 (number-to-register, view-register, insert-register)
1550 (copy-to-register, append-to-register, prepend-to-register)
1551 (copy-rectangle-to-register): Use register-read-with-preview to
1552 read register. (Bug#15525)
1554 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1556 * net/network-stream.el (network-stream-open-starttls): Don't add
1557 --insecure if it's already present, because that gnutls-cli
1558 rejects getting that parameter twice.
1560 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1562 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1565 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1567 * newcomment.el (comment-use-global-state): Change default value
1568 to t, mark obsolete (Bug#15251).
1569 (comment-beginning): In addition to `comment-to-syntax', check the
1570 value of `comment-use-global-state'.
1572 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1574 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1575 (ruby-comment-column): Follow the global default, by default.
1576 (ruby-smie-grammar): Add assignment syntax.
1577 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1578 open-paren, a comma, or a \.
1579 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1580 and line continuations.
1581 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1582 followed by implicit semi-colons. Add rule for string concatenation
1583 and for indentation at BOB.
1584 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1586 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1587 calling next-sexp, since next-token may have skipped chars which
1588 next-sexp doesn't know should be skipped!
1590 2013-10-05 Leo Liu <sdl.web@gmail.com>
1592 * progmodes/octave.el (octave-send-region):
1593 Call compilation-forget-errors.
1595 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1597 * vc/vc-svn.el (vc-svn-find-admin-dir):
1598 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1599 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1600 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1601 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1603 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1605 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1607 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1609 * subr.el (read-passwd): Hide chars even when called within a context
1610 where after-change-functions is disabled (bug#15501).
1611 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1612 until we removed ourself from overriding-terminal-local-map.
1614 2013-10-04 Leo Liu <sdl.web@gmail.com>
1616 * progmodes/octave.el (inferior-octave-mode):
1617 Call compilation-forget-errors.
1619 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1621 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1623 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1625 * net/secrets.el (secrets-create-collection): Add optional
1626 argument ALIAS. Use proper Label keyword. Append ALIAS as
1627 dbus-call-method argument. (Bug#15516)
1629 2013-10-04 Leo Liu <sdl.web@gmail.com>
1631 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1632 (inferior-octave-compilation-font-lock-keywords): New variables.
1633 (compilation-error-regexp-alist)
1634 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1635 (inferior-octave-mode): Use compilation-shell-minor-mode.
1637 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1639 * minibuffer.el (completion--replace): Be careful that `end' might be
1642 2013-10-03 Daiki Ueno <ueno@gnu.org>
1644 Add support for package signature checking.
1645 * emacs-lisp/package.el (url-http-file-exists-p)
1646 (epg-make-context, epg-context-set-home-directory)
1647 (epg-verify-string, epg-context-result-for)
1648 (epg-signature-status, epg-signature-to-string)
1649 (epg-check-configuration, epg-configuration)
1650 (epg-import-keys-from-file): Declare.
1651 (package-check-signature): New user option.
1652 (package-unsigned-archives): New user option.
1653 (package-desc): Add `signed' field.
1654 (package-load-descriptor): Set `signed' field if .signed file exists.
1655 (package--archive-file-exists-p): New function.
1656 (package--check-signature): New function.
1657 (package-install-from-archive): Check package signature.
1658 (package--download-one-archive): Check archive signature.
1659 (package-delete): Remove .signed file.
1660 (package-import-keyring): New command.
1661 (package-refresh-contents): Import default keyring.
1662 (package-desc-status): Add "unsigned" status.
1663 (describe-package-1, package-menu--print-info)
1664 (package-menu-mark-delete, package-menu--find-upgrades)
1665 (package-menu--status-predicate): Support "unsigned" status.
1667 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1669 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1670 the new compilation scheme using the new byte-codes.
1672 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1673 (byte-pophandler): New byte codes.
1674 (byte-goto-ops): Adjust accordingly.
1675 (byte-compile--use-old-handlers): New var.
1676 (byte-compile-catch): Use new byte codes depending on
1677 byte-compile--use-old-handlers.
1678 (byte-compile-condition-case--old): Rename from
1679 byte-compile-condition-case.
1680 (byte-compile-condition-case--new): New function.
1681 (byte-compile-condition-case): New function that dispatches depending
1682 on byte-compile--use-old-handlers.
1683 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1686 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1687 Optimize under `condition-case' and `catch' if
1688 byte-compile--use-old-handlers is nil.
1689 (disassemble-offset): Handle new bytecodes.
1691 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1693 * subr.el (error): Use `declare'.
1694 (decode-char, encode-char): Use advertised-calling-convention instead
1695 of the docstring to discourage use of the `restriction' arg.
1697 2013-10-03 Daiki Ueno <ueno@gnu.org>
1699 * epg.el (epg-verify-file): Add a comment saying that it does not
1700 notify verification error as a return value nor a signal.
1701 (epg-verify-string): Ditto.
1703 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1705 * progmodes/compile.el (compilation-start): Try globbing the arg to
1708 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1710 Sync with Tramp 2.2.8.
1712 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1713 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1714 * net/trampver.el: Update release number.
1716 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1718 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1719 and default-process-coding-system for darwin only.
1721 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1723 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1725 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1727 * vc/vc-git.el (vc-git-grep): Disable pager.
1729 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1731 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1732 Use :url instead of :homepage, as per
1733 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1735 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1736 non-nil, use `syntax-ppss' (Bug#15251).
1738 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1740 * progmodes/octave.el (inferior-octave-startup-file):
1741 Prefer ~/.emacs.d/init_octave.m.
1743 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1745 * emacs-lisp/package.el (package-desc-from-define):
1746 Accept additional arguments as plist, convert them to an alist and store
1747 them in the `extras' slot.
1748 (package-generate-description-file): Convert extras alist back to
1749 plist and append to the `define-package' form arguments.
1750 (package--alist-to-plist): New function.
1751 (package--ac-desc): Add `extras' slot.
1752 (package--add-to-archive-contents): Check if the archive-contents
1753 vector is long enough, and if it is, pass its `extras' slot value
1754 to `package-desc-create'.
1755 (package-buffer-info): Call `lm-homepage', pass the returned value
1756 to `package-desc-from-define'.
1757 (describe-package-1): Render the homepage button (Bug#13291).
1759 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1760 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1762 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1764 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1765 and default-process-coding-system to utf-8-unix (Bug#15402).
1767 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1769 * subr.el (looking-back): Do not recommend using looking-back.
1771 2013-09-28 Alan Mackenzie <acm@muc.de>
1773 Fix indentation/fontification of Java enum with "implements".
1775 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1776 regexp which matches "implements", etc., in Java.
1777 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1778 specifier clauses coming after "enum".
1779 * progmodes/cc-fonts.el (c-font-lock-declarations)
1780 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1783 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1785 * faces.el (region): Change ns_selection_color to
1786 ns_selection_fg_color, add ns_selection_bg_color.
1788 2013-09-28 Leo Liu <sdl.web@gmail.com>
1790 * progmodes/octave.el (inferior-octave-completion-table)
1791 (inferior-octave-completion-at-point): Minor tweaks.
1793 * textmodes/ispell.el (ispell-lookup-words): Rename from
1794 lookup-words. (Bug#15460)
1795 (lookup-words): Obsolete.
1796 (ispell-complete-word, ispell-command-loop): All uses changed.
1798 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1800 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1801 (octave-mode-menu): Add octave-send-buffer.
1802 (octave-send-buffer): New function.
1804 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1806 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1808 (octave-mode-menu): Add octave-lookfor.
1809 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1811 (octave-lookfor): New function.
1813 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1815 * emacs-lisp/cl-macs.el:
1816 (cl--loop-destr-temps): Remove.
1817 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1819 (cl--loop-set-iterator-function): New function.
1820 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1821 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1822 Bind `it' with `let' instead of substituting it with `cl-subst'.
1823 (cl--unused-var-p): New function.
1824 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1825 Eliminate some unused variable warnings (bug#15326).
1827 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1829 * doc-view.el (doc-view-scale-reset): Rename from
1830 `doc-view-reset-zoom-level'.
1831 (doc-view-scale-adjust): New command.
1832 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1833 `doc-view-scale-adjust'.
1835 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1837 * doc-view.el (doc-view-reset-zoom-level): New command.
1838 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1839 zoom commands (bug#15466).
1841 2013-09-26 Kenichi Handa <handa@gnu.org>
1843 * international/quail.el (quail-help): Make it not a command.
1845 2013-09-26 Leo Liu <sdl.web@gmail.com>
1847 * minibuffer.el (completion-all-sorted-completions): Make args
1848 optional as they are.
1850 2013-09-25 Daniel Colascione <dancol@dancol.org>
1852 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1853 specs are and that they're not evaluated.
1855 2013-09-24 Sam Steingold <sds@gnu.org>
1857 * midnight.el (clean-buffer-list-kill-regexps)
1858 (clean-buffer-list-kill-buffer-names): Update for the new Man
1859 buffer naming which includes the object name.
1861 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1863 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1864 (eshell-parse-command, eshell-parse-pipeline): Use it since
1865 eshell-separate-commands requires a dynamic scoped var.
1866 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1868 2013-09-23 Leo Liu <sdl.web@gmail.com>
1870 * autoinsert.el (auto-insert-alist): Make the value of
1871 lexical-binding match its file setting.
1873 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1875 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1877 * autoarg.el (autoarg-kp-digit-argument):
1878 * electric.el (Electric-command-loop):
1879 * kmacro.el (kmacro-step-edit-insert):
1880 Do not set universal-argument-num-events.
1882 2013-09-22 Leo Liu <sdl.web@gmail.com>
1884 * files.el (interpreter-mode-alist): Add octave.
1886 2013-09-21 Alan Mackenzie <acm@muc.de>
1888 C++: fontify identifier in declaration following "public:" correctly.
1889 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1890 to match "public", etc.
1891 (c-decl-prefix-re): Add ":" into the C++ value.
1892 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1893 bit. Add a check for a ":" preceded by "public", etc.
1895 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1897 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1898 recognized by GDB 7.5 and later.
1900 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1902 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1904 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1906 * subr.el (internal--call-interactively): New const.
1907 (called-interactively-p): Use it (bug#3984).
1909 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1911 * vc/pcvs.el (cvs-mode-ignore):
1912 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1913 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1915 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1917 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1918 (eshell-ls-orig-insert-directory): Remove.
1919 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1920 (eshell-ls-use-in-dired): Use advice-add/remove.
1921 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1922 Add `orig-fun' arg for use in :around advice.
1923 Make it check (redundantly) eshell-ls-use-in-dired.
1925 2013-09-19 Glenn Morris <rgm@gnu.org>
1927 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1929 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1931 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1933 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1935 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1936 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1937 (tramp-get-remote-python): New defuns.
1938 (tramp-get-remote-uid-with-perl)
1939 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1940 contributed by yary <not.com@gmail.com> (tiny change).
1941 (tramp-get-remote-uid-with-python)
1942 (tramp-get-remote-gid-with-python): New defuns. Python code
1943 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1944 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1946 2013-09-19 Glenn Morris <rgm@gnu.org>
1948 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1950 * eshell/em-unix.el (eshell-remove-entries):
1951 Rename argument to avoid name-clash with global `top-level'.
1953 * eshell/esh-proc.el (eshell-kill-process-function):
1954 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1955 (eshell-reset-after-proc): Remove unused arg `proc'.
1957 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1958 (directory-files-and-attributes): Mark unused arg.
1960 * eshell/em-unix.el (eshell-remove-entries):
1961 Remove unused arg `path'. Update callers.
1963 * eshell/em-hist.el (eshell-hist-parse-arguments):
1964 Remove unused arg `silent'. Update callers.
1966 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1967 Fix (f)boundp mix-up.
1969 * eshell/em-smart.el (eshell-smart-scroll-window)
1970 (eshell-disable-after-change):
1971 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1973 2013-09-18 Alan Mackenzie <acm@muc.de>
1975 Fix fontification of type when followed by "const".
1976 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1977 "known" types from fontification.
1979 2013-09-18 Glenn Morris <rgm@gnu.org>
1981 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1982 (chart-face-list): Drop Emacsen without display-color-p.
1984 * net/eww.el (libxml-parse-html-region): Declare.
1985 (eww-display-html): Explicit error if no libxml2 support.
1987 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1989 * image.el (image-type-from-buffer, image-multi-frame-p):
1990 Remove --without-x warning/error.
1992 * mouse.el (mouse-yank-primary):
1993 * term.el (term-mouse-paste):
1994 Reorder to silence --without-x compilation.
1996 * mpc.el (doc-view-mode): Silence --without-x compilation.
1998 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1999 Silence --without-x compilation.
2001 * progmodes/gud.el (gud-find-file, gud-mode):
2002 Silence --without-x compilation.
2003 (tooltip-mode): Declare.
2005 * wdired.el (dired-backup-overwrite): Remove declaration.
2006 (wdired-mode-map): Add doc string.
2008 * custom.el (x-get-resource): Declare.
2010 * eshell/em-glob.el (ange-cache):
2011 * eshell/em-unix.el (ange-cache): Declare.
2013 * faces.el (x-display-list, x-open-connection, x-get-resource):
2016 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
2017 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
2020 * frame.el (x-display-grayscale-p, x-display-name): Declare.
2022 * net/gnutls.el (gnutls-log-level): Declare.
2024 * net/shr.el (image-size, image-animate): Declare.
2026 * simple.el (font-info): Declare.
2028 * subr.el (x-popup-dialog): Declare.
2030 * term/common-win.el (x-select-enable-primary)
2031 (x-last-selected-text-primary, x-last-selected-text-clipboard):
2034 * term/ns-win.el (x-handle-args): Declare.
2036 * term/x-win.el (x-select-enable-clipboard): Declare.
2038 * term/w32-win.el (create-default-fontset): Declare.
2040 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
2043 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
2044 (fit-frame-to-buffer): Explicit error if --without-x.
2045 (mouse-autoselect-window-select): Silence compiler.
2047 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
2049 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
2050 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
2051 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
2052 * eshell/esh-util.el (eshell-sublist):
2053 Remove unused local variables.
2055 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
2057 * textmodes/two-column.el: Make 2C-split work for --without-x.
2058 (scroll-bar-columns): Autoload.
2059 (top-level): Require fringe when compiling.
2061 2013-09-18 Leo Liu <sdl.web@gmail.com>
2063 * subr.el (add-hook): Robustify to handle closure as well.
2065 2013-09-17 Glenn Morris <rgm@gnu.org>
2067 * simple.el (messages-buffer-mode-map): Unbind "g".
2069 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2071 * help-mode.el (help-mode-finish): Use derived-mode-p.
2072 Remove obsolete highlighting.
2074 * play/life.el (life-mode): Use define-derived-mode. Derive from
2076 (life): Let-bind inhibit-read-only.
2077 (life-setup): Avoid `setq'. Use `life-mode'.
2079 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
2080 which should not be needed any more.
2081 (package-menu-refresh, package-menu-describe-package): Use user-error.
2083 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
2084 (eshell-post-rewrite-command-hook): Make obsolete.
2085 (eshell-parse-command): Simplify.
2086 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
2087 (eshell--cmd): Declare.
2088 (eshell-parse-pipeline): Remove unused var `final-p'.
2089 Pass a dynvar to eshell-post-rewrite-command-hook.
2090 Implement the new eshell-post-rewrite-command-function.
2091 (eshell-invoke-directly): Remove unused arg `input'.
2092 * eshell/esh-io.el (eshell-io-initialize):
2093 Use eshell-post-rewrite-command-function (bug#15399).
2094 (eshell--apply-redirections): Rename from eshell-apply-redirections;
2095 adjust to new calling convention.
2096 (eshell-create-handles): Rename args to avoid clashing with dynvar
2099 2013-09-17 Glenn Morris <rgm@gnu.org>
2101 * simple.el (messages-buffer-mode): New major mode.
2102 (messages-buffer): New function.
2103 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
2104 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
2105 (ert-run-test): Use `messages-buffer' function.
2106 (ert--force-message-log-buffer-truncation): Ignore read-only.
2107 * help.el (view-echo-area-messages): Use `messages-buffer' function.
2108 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
2110 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
2112 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
2114 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
2116 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
2118 * icomplete.el (icomplete-in-buffer): New var.
2119 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
2120 vars and replace them with functions.
2121 (icomplete-minibuffer-setup): Adjust accordingly.
2122 (icomplete--completion-table, icomplete--completion-predicate)
2123 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
2125 (icomplete-forward-completions, icomplete-backward-completions)
2126 (icomplete-simple-completing-p, icomplete-exhibit)
2127 (icomplete-completions): Use them.
2128 (icomplete--in-region-buffer): New var.
2129 (icomplete--in-region-setup): New function.
2130 (icomplete-mode): Use it.
2132 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
2134 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
2135 return args and options.
2136 (eshell-eval-using-options): Use the new return value of
2137 eshell--do-opts to set the options's vars in their scope.
2138 (eshell--set-option): Rename from eshell-set-option.
2140 (eshell--process-option): Rename from eshell-process-option.
2142 (eshell--process-args): Use an `opt-vals' alist to store the options's
2143 values during their processing and return them additionally to the
2146 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
2148 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
2149 continuation character an operator, as far as indentation is
2150 concerned (Bug#15369).
2152 2013-09-15 Martin Rudalics <rudalics@gmx.at>
2154 * window.el (window--state-put-2): Don't process buffer state
2155 when buffer doesn't exist any more (Bug#15382).
2157 2013-09-15 Glenn Morris <rgm@gnu.org>
2159 * eshell/em-unix.el (eshell/rm):
2160 Make -f ignore missing files. (Bug#15373)
2162 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
2163 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
2164 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
2166 2013-09-14 Glenn Morris <rgm@gnu.org>
2168 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
2170 2013-09-13 Glenn Morris <rgm@gnu.org>
2172 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
2173 (dired-guess-default): Make `file' available in the env. (Bug#15363)
2175 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
2177 * frame.el (x-focus-frame): Mark as declared in frame.c.
2179 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
2181 * ls-lisp.el: Use advice-add.
2182 (original-insert-directory): Remove.
2183 (ls-lisp--insert-directory): Rename from insert-directory; add
2184 `orig-fun' argument.
2185 (insert-directory): Advise.
2187 2013-09-13 Eli Zaretskii <eliz@gnu.org>
2189 * term.el (term-emulate-terminal): Decode the command string
2190 before passing it to term-command-hook. (Bug#15337)
2192 2013-09-13 Glenn Morris <rgm@gnu.org>
2194 * eshell/esh-util.el (ange-cache): Move declaration earlier.
2196 * eshell/esh-ext.el (eshell-search-path): Declare.
2198 * eshell/em-prompt.el (eshell/pwd): Autoload it.
2199 Otherwise an error occurs if eshell-dirs module not loaded.
2201 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
2203 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
2205 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
2206 `tramp-check-proper-host'. Check for a valid method name.
2208 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2209 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2210 * net/tramp-sh.el (tramp-maybe-open-connection):
2211 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
2213 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
2214 also for hash values.
2216 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2218 * term/ns-win.el (parameters): Don't declare as dynamic.
2219 (before-make-frame-hook): Don't add ineffective function.
2221 * eshell/*.el: Use lexical-binding (bug#15231).
2223 2013-09-12 Kenichi Handa <handa@gnu.org>
2225 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2227 2013-09-12 Glenn Morris <rgm@gnu.org>
2229 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2230 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2232 * subr.el (do-after-load-evaluation): Also give compiler warnings
2233 when obsolete files are used (except by obsolete files).
2235 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2236 in the status output, assume `filename' is the first. (Bug#15322)
2238 * vc/vc.el (vc-deduce-fileset): Doc fix.
2240 * calc/calc-help.el (Info-goto-node):
2241 * progmodes/cperl-mode.el (Info-find-node):
2242 * vc/ediff.el (Info-goto-node): Update declarations.
2244 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2246 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2247 (vc-bzr-pull): Require vc-dispatcher.
2248 * vc/vc-git.el (vc-compilation-mode): Declare.
2249 (vc-git-pull): Require vc-dispatcher.
2251 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2253 * progmodes/octave.el (help-button-action): Declare.
2255 * shell.el (shell-directory-tracker): Output error as a message
2256 rather than just returning it as a string.
2257 (shell-process-pushd): Remove useless use of message.
2259 * dframe.el (dframe-timer-fn):
2260 * files.el (dir-locals-read-from-file):
2261 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2263 * reveal.el (reveal-post-command):
2264 * saveplace.el (load-save-place-alist-from-file):
2265 * shell.el (shell-resync-dirs):
2266 * w32-common-fns.el (x-get-selection-value):
2267 * emacs-lisp/copyright.el (copyright-find-copyright):
2268 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2269 * emulation/tpu-edt.el (tpu-copy-keyfile):
2270 * play/bubbles.el (bubbles--mark-neighbourhood):
2271 * progmodes/executable.el
2272 (executable-make-buffer-file-executable-if-script-p):
2273 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2275 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2277 Cleanup Eshell to rely less on dynamic scoping.
2278 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2279 last-value, and ext-command here. Bind `args' closer to `body'.
2280 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2281 (eshell--args): Declare new dynamic var.
2282 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2283 last-value, and ext-command. Pass `args' to `body'.
2284 (eshell-process-args): Bind eshell--args.
2285 (eshell-set-option): Use eshell--args.
2286 * eshell/eshell.el (eshell): Use derived-mode-p.
2287 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2288 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2289 (eshell-glob-function): Declare.
2290 * eshell/esh-util.el: Require cl-lib.
2291 (eshell-read-hosts-file): Avoid add-to-list.
2292 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2294 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2296 (eshell/diff): Remove unused var `err'.
2297 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2299 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2300 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2302 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2303 Move declaration before first use.
2304 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2305 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2308 2013-09-12 Glenn Morris <rgm@gnu.org>
2310 * term/ns-win.el (global-map): Remove binding for ispell-next,
2311 deleted 1999-05-29. (Bug#15357)
2313 2013-09-11 Glenn Morris <rgm@gnu.org>
2315 * echistory.el (electric-command-history): Remove call to deleted func.
2317 * play/landmark.el (landmark-mode): Fix typos.
2319 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2320 Check cvs-sort-ignore-file is bound.
2322 * savehist.el: No need for cl when compiling on Emacs.
2324 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2326 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2328 (eshell-self-insert-command, eshell-send-invisible):
2329 Remove unused argument.
2330 (eshell-handle-control-codes): Remove unused var `orig'.
2331 Avoid delete-backward-char.
2333 * files.el (set-auto-mode): Simplify a bit further.
2335 2013-09-11 Glenn Morris <rgm@gnu.org>
2337 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2338 (set-auto-mode): Don't regexp-quote elements.
2339 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2340 * progmodes/cc-mode.el (interpreter-mode-alist):
2341 * progmodes/ruby-mode.el (interpreter-mode-alist):
2342 Revert previous change.
2344 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2346 * play/snake.el (snake-mode):
2347 * play/mpuz.el (mpuz-mode):
2348 * play/landmark.el (lm-mode):
2349 * play/blackbox.el (blackbox-mode):
2350 * play/5x5.el (5x5-mode):
2351 * obsolete/options.el (Edit-options-mode):
2352 * net/quickurl.el (quickurl-list-mode):
2353 * net/newst-treeview.el (newsticker-treeview-mode):
2354 * mail/rmailsum.el (rmail-summary-mode):
2355 * mail/mspools.el (mspools-mode):
2356 * locate.el (locate-mode):
2357 * ibuffer.el (ibuffer-mode):
2358 * emulation/ws-mode.el (wordstar-mode):
2359 * emacs-lisp/debug.el (debugger-mode):
2360 * array.el (array-mode):
2361 * net/eudc.el (eudc-mode): Use define-derived-mode.
2362 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2363 Move initialization into declaration.
2364 (mairix-searches-mode): Use define-derived-mode.
2365 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2366 (eudc-edit-hotlist): Use dolist.
2367 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2368 (Man-mode): Use define-derived-mode.
2369 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2370 (Info-edit-mode): Use define-derived-mode.
2371 (Info-cease-edit): Use Info-mode.
2372 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2374 (eshell-mode): Use define-derived-mode.
2375 * chistory.el (command-history-mode-map): Rename from
2376 command-history-map.
2377 (command-history-mode): Use define-derived-mode.
2378 (Command-history-setup): Remove function.
2379 * calc/calc.el (calc-trail-mode-map): New var.
2380 (calc-trail-mode): Use define-derived-mode.
2381 (calc-trail-buffer): Set calc-main-buffer manually.
2382 * bookmark.el (bookmark-insert-annotation): New function.
2383 (bookmark-edit-annotation): Use it.
2384 (bookmark-edit-annotation-mode): Make it a proper major mode.
2385 (bookmark-send-edited-annotation): Use derived-mode-p.
2386 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2387 closer to its ideal place. Use \' to match EOS.
2389 * profiler.el (profiler-calltree-find): Use function-equal.
2391 2013-09-10 Glenn Morris <rgm@gnu.org>
2393 * files.el (interpreter-mode-alist): Convert to regexps.
2394 (set-auto-mode): Adapt for this. (Bug#15306)
2395 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2396 Comment out unused variable.
2397 * progmodes/cc-mode.el (interpreter-mode-alist):
2398 * progmodes/python.el (interpreter-mode-alist):
2399 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2400 * progmodes/sh-script.el (sh-set-shell):
2401 No longer use interpreter-mode-alist to get list of shells.
2403 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2405 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * simple.el: Use set-temporary-overlay-map for universal-argument.
2408 (universal-argument-map): Don't use default-bindings (bug#15317).
2409 Bind switch-frame explicitly. Replace universal-argument-minus with
2410 a conditional binding.
2411 (universal-argument-num-events, saved-overriding-map): Remove.
2412 (restore-overriding-map): Remove.
2413 (universal-argument--mode): Rename from save&set-overriding-map,
2415 (universal-argument, universal-argument-more, negative-argument)
2416 (digit-argument): Adjust accordingly.
2417 (universal-argument-minus): Remove.
2418 (universal-argument-other-key): Remove.
2420 * subr.el (with-demoted-errors): Add `format' argument.
2422 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2424 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2425 `tramp-cleanup-connection'.
2427 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2428 parameters KEEP-DEBUG and KEEP-PASSWORD.
2430 * net/tramp.el (tramp-file-name-handler):
2431 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2432 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2433 (tramp-maybe-open-connection):
2434 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2435 Use `tramp-cleanup-connection'.
2437 * net/tramp-sh.el (tramp-maybe-open-connection):
2438 Catch 'uname-changed inside the progress reporter.
2440 2013-09-10 Glenn Morris <rgm@gnu.org>
2442 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2444 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2445 returns "alternate access method" in mode (eg "-rw-r--r--.").
2447 2013-09-08 Glenn Morris <rgm@gnu.org>
2449 * saveplace.el (load-save-place-alist-from-file):
2450 Demote errors. (Bug#15305)
2452 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2454 Improve compatibility with older Emacsen, and XEmacs.
2456 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2457 only if it is bound. It isn't for XEmacs.
2458 (with-tramp-progress-reporter): Do not let-bind `result'.
2459 This yields to scoping errors in XEmacs.
2460 (tramp-handle-make-auto-save-file-name): New function, moved from
2463 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2464 for `make-auto-save-file-name'.
2465 (tramp-adb--gnu-switches-to-ash):
2466 Use `tramp-compat-replace-regexp-in-string'.
2468 * net/tramp-cache.el (tramp-cache-print): Call
2469 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2471 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2472 bound. It isn't for XEmacs.
2474 * net/tramp-compat.el (tramp-compat-copy-file):
2475 Catch `wrong-number-of-arguments' error.
2476 (tramp-compat-replace-regexp-in-string): New defun.
2478 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2479 for `make-auto-save-file-name'.
2480 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2482 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2483 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2484 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2486 * net/tramp-gw.el (tramp-gw-open-network-stream):
2487 Use `tramp-compat-replace-regexp-in-string'.
2489 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2490 Call `tramp-handle-make-auto-save-file-name'.
2491 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2492 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2493 (tramp-sh-file-inotifywait-process-filter):
2494 Use `tramp-compat-replace-regexp-in-string'.
2495 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2497 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2498 for `make-auto-save-file-name'.
2499 (tramp-smb-handle-copy-directory):
2500 Call `tramp-compat-replace-regexp-in-string'.
2501 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2502 (tramp-smb-handle-copy-file): Improve error message.
2503 (tramp-smb-handle-rename-file): Rename directly only in case
2504 `newname' does not exist yet. This is a restriction of smbclient.
2505 (tramp-smb-maybe-open-connection): Rerun the function only when
2506 `auth-sources' is non-nil.
2508 2013-09-08 Kenichi Handa <handa@gnu.org>
2510 * international/characters.el: Set category "^" (Combining) for
2513 2013-09-07 Alan Mackenzie <acm@muc.de>
2515 Correctly fontify Java class constructors.
2516 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2518 (c-recognize-typeless-decls): Set the Java value to t.
2519 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2520 While handling a "(", add a check for, effectively, Java, and handle a
2521 "typeless" declaration there.
2523 2013-09-07 Roland Winkler <winkler@gnu.org>
2525 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2526 field subtitle for entry type book.
2528 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * minibuffer.el: Make minibuffer-complete call completion-in-region
2531 rather than other way around.
2532 (completion--some, completion-pcm--find-all-completions):
2533 Don't delay signals when debugging.
2534 (minibuffer-completion-contents): Beware fields within the
2535 minibuffer contents.
2536 (completion-all-sorted-completions): Use defvar-local.
2537 (completion--do-completion, completion--cache-all-sorted-completions)
2538 (completion-all-sorted-completions, minibuffer-force-complete):
2539 Add args `beg' and `end'.
2540 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2541 (minibuffer-complete): Use completion-in-region.
2542 (completion-complete-and-exit): New fun, extracted from
2543 minibuffer-complete-and-exit.
2544 (minibuffer-complete-and-exit): Use it.
2545 (completion--complete-and-exit): Rename from
2546 minibuffer--complete-and-exit.
2547 (completion-in-region--single-word): New function, extracted from
2548 minibuffer-complete-word.
2549 (minibuffer-complete-word): Use it.
2550 (display-completion-list): Make `common-substring' argument obsolete.
2551 (completion--in-region): Call completion--in-region-1 instead of
2552 minibuffer-complete.
2553 (completion-help-at-point): Pass boundaries to
2554 minibuffer-completion-help as args rather than via an overlay.
2555 (completion-pcm--string->pattern): Use `any-delim'.
2556 (completion-pcm--optimize-pattern): New function.
2557 (completion-pcm--pattern->regex): Handle `any-delim'.
2558 * icomplete.el (icomplete-forward-completions)
2559 (icomplete-backward-completions, icomplete-completions):
2560 Adjust calls to completion-all-sorted-completions and
2561 completion--cache-all-sorted-completions.
2562 (icomplete-with-completion-tables): Default to t.
2563 * emacs-lisp/crm.el (crm--current-element): Rename from
2564 crm--select-current-element. Don't put an overlay but return the
2566 (crm--completion-command): Take two new args to bind to the boundaries.
2567 (crm-completion-help): Adjust accordingly.
2568 (crm-complete): Use completion-in-region.
2569 (crm-complete-word): Use completion-in-region--single-word.
2570 (crm-complete-and-exit): Use completion-complete-and-exit.
2572 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2574 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2577 2013-09-06 Juri Linkov <juri@jurta.org>
2579 * info.el (Info-display-images-node): When image file doesn't exist
2580 display text version of the image if it's provided in the Info file.
2581 Otherwise, display the location of missing image from SRC attribute.
2582 Add help-echo text property from ALT attribute. (Bug#15279)
2584 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2587 (edit-abbrevs-mode): Use define-derived-mode.
2589 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2590 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2592 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2593 Use define-derived-mode.
2595 * epg.el (epg-start-encrypt): Minor CSE simplification.
2597 2013-09-06 William Xu <william.xwl@gmail.com>
2599 * arc-mode.el: Add support for 7za (bug#15264).
2600 (archive-7z-program): New var.
2601 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2602 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2603 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2605 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2609 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2610 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2611 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2612 (tramp-postfix-host-format, tramp-file-name-regexp)
2613 (tramp-completion-file-name-regexp)
2614 (tramp-completion-dissect-file-name)
2615 (tramp-handle-substitute-in-file-name): Remove 'url case.
2616 (tramp-file-name-regexp-url)
2617 (tramp-completion-file-name-regexp-url): Remove constants.
2619 2013-09-06 Glenn Morris <rgm@gnu.org>
2621 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2623 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2625 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2626 keywords" below "here-doc beginnings" (Bug#15270).
2628 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2630 * subr.el (pop): Use `car-safe'.
2631 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2632 to detect unused `pop' return value.
2634 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2636 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2637 (python-fill-string): Remove unused var `marker'.
2638 (python-skeleton-add-menu-items): Remove unused var `items'.
2640 * international/mule-cmds.el: Require CL.
2641 (find-coding-systems-for-charsets): Avoid add-to-list.
2642 (sanitize-coding-system-list): New function, extracted from
2643 select-safe-coding-system-interactively.
2644 (select-safe-coding-system-interactively): Use it.
2645 (read-input-method-name): Accept symbols for `default'.
2647 * emacs-lisp/advice.el (defadvice): Add indent rule.
2649 2013-09-05 Daniel Hackney <dan@haxney.org>
2653 * net/browse-url.el:
2656 * net/eudcb-ldap.el:
2669 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2670 byte compiler. Remove some unused let-bound variables.
2672 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2674 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2675 a "ref-cell", since it gets better optimized (bug#14883).
2677 2013-09-05 Glenn Morris <rgm@gnu.org>
2679 * progmodes/cc-awk.el (c-forward-sws): Declare.
2681 2013-09-04 Glenn Morris <rgm@gnu.org>
2683 * generic-x.el [rul-generic-mode]: Require cc-mode.
2684 (c++-mode-syntax-table): Declare.
2685 (rul-generic-mode-syntax-table): Init in the defvar.
2687 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2689 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2690 (vc-do-command, vc-set-async-update):
2691 * vc/vc-mtn.el (vc-mtn-dir-status):
2692 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2693 (vc-hg-pull, vc-hg-merge-branch):
2694 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2695 (vc-git-merge-branch):
2696 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2697 (vc-cvs-dir-status-files):
2698 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2699 (vc-bzr-dir-status-files):
2700 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2701 * vc/vc-annotate.el: Use lexical-binding.
2702 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2703 (vc-sentinel-movepoint): Declare.
2704 (vc-annotate): Don't use `goto-line'.
2705 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2706 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2707 (vc-sentinel-movepoint): Declare.
2708 * vc/vc-svn.el: Use lexical-binding.
2709 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2711 * vc/vc-rcs.el: Use lexical-binding.
2713 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2714 `deleted'. Don't drop errors silently.
2716 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2718 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2720 * vc/vc.el (vc-ignore): Rewrite.
2721 (vc-default-ignore): New function.
2722 (vc-default-ignore-completion-table): Use find-ignore-file.
2724 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2725 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2726 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2727 Remove. Most code moved to vc.el.
2729 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2731 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2732 * net/tramp-smb.el (tramp-smb-get-file-entries):
2733 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2734 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2736 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2738 (eww-change-select): Remove unused var `properties'.
2739 (eww-make-unique-file-name): Remove unused var `base'.
2741 * finder.el (finder-compile-keywords): Don't mess with windows.
2743 * calculator.el (calculator-funcall): Fix typo in last change.
2745 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2747 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2748 <pkg>-autoloads.el file stop us.
2750 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2751 warnings, and factor out common code.
2753 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2755 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2756 two-character operators and whether the character preceding them
2757 changes their meaning (Bug#15208).
2759 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2761 Format code sent to Python shell for robustness.
2762 * progmodes/python.el (python-shell-buffer-substring):
2764 (python-shell-send-region, python-shell-send-buffer): Use it.
2766 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2768 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2769 * net/tramp.el (tramp-user-error): ... here.
2770 (tramp-find-method, tramp-check-proper-host)
2771 (tramp-dissect-file-name, tramp-debug-message)
2772 (tramp-handle-shell-command):
2773 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2774 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2776 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2778 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2780 * avoid.el (mouse-avoidance-point-position)
2781 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2784 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2786 * progmodes/python.el (python-shell-completion-get-completions):
2787 Drop use of deleted `comint-last-prompt-overlay'.
2788 (python-nav-if-name-main): New command.
2790 2013-09-01 Glenn Morris <rgm@gnu.org>
2792 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2793 Avoid leading space in $wins. Otherwise the sed command used by
2794 eg compile-main ends up containing "/*.el". (Bug#15170)
2796 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2798 2013-08-30 Glenn Morris <rgm@gnu.org>
2800 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2801 Fix is-this-a-directory logic. (Bug#15220)
2803 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2805 * textmodes/css-mode.el: Use SMIE.
2806 (css-smie-grammar): New var.
2807 (css-smie--forward-token, css-smie--backward-token)
2808 (css-smie-rules): New functions.
2809 (css-mode): Use them.
2810 (css-navigation-syntax-table): Remove var.
2811 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2812 (css-indent-calculate, css-indent-line): Remove functions.
2814 Misc changes to reduce use of `(lambda...); and other cleanups.
2815 * cus-edit.el: Use lexical-binding.
2816 (customize-push-and-save, customize-apropos)
2817 (custom-buffer-create-internal): Use closures.
2818 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2819 * progmodes/ada-xref.el: Use setq.
2820 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2821 * dframe.el: Use lexical-binding.
2822 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2823 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2824 * descr-text.el: Use lexical-binding.
2825 (describe-text-widget, describe-text-sexp, describe-property-list):
2827 * comint.el (comint-history-isearch-push-state): Use a closure.
2828 * calculator.el: Use lexical-binding.
2829 (calculator-number-to-string): Make it work with lexical-binding.
2830 (calculator-funcall): Same and use cl-letf.
2832 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2833 (lisp--company-doc-string, lisp--company-location): New functions.
2834 (lisp-completion-at-point): Use them to improve Company support.
2836 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2837 params of lambda expressions.
2838 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2839 (ruby-smie--opening-pipe-p): New function.
2840 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2841 symbols and matched |...| for formal params.
2842 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2843 from being treated as hanging. Handle "rescue".
2845 2013-08-29 Glenn Morris <rgm@gnu.org>
2847 * progmodes/cc-engine.el (c-pull-open-brace):
2848 Move definition before use.
2850 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2852 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2853 are immutable. Don't use `unsafe' any more.
2854 (cl--defsubst-expand): Don't substitute at the same time as keeping
2855 a residual unused let-binding. Don't use `unsafe' any more.
2857 2013-08-29 Glenn Morris <rgm@gnu.org>
2859 * calendar/cal-china.el (calendar-chinese-year-cache):
2862 * nxml/nxml-util.el (nxml-debug-clear-inside):
2863 Use cl-loop rather than loop.
2865 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2867 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2869 2013-08-28 Glenn Morris <rgm@gnu.org>
2871 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2873 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2875 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2877 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2879 * simple.el (repeat-complex-command--called-interactively-skip):
2881 (repeat-complex-command): Use it (bug#14136).
2883 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2884 (c-define-abbrev-table): Add `doc' argument.
2885 (c-mode-abbrev-table, c++-mode-abbrev-table)
2886 (objc-mode-abbrev-table, java-mode-abbrev-table)
2887 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2888 (awk-mode-abbrev-table): Use it.
2889 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2890 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2891 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2892 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2893 Move initialization into the declaration; and remove any
2896 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2897 and dynamic let binding.
2899 * vc/smerge-mode.el: Remove redundant :group args.
2901 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2904 2013-08-28 Juri Linkov <juri@jurta.org>
2906 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2907 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2908 (isearch-other-meta-char): Handle an undefined shifted printing
2909 character by downshifting it. (Bug#15200)
2911 2013-08-28 Juri Linkov <juri@jurta.org>
2913 * isearch.el (isearch-search): Change regexp error message for
2914 non-regexp searches. (Bug#15166)
2916 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2918 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2919 for portability to hosts where /bin/sh has problems.
2921 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2923 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2925 2013-08-27 Juri Linkov <juri@jurta.org>
2927 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2928 in the keyboard macro. (Bug#15126)
2930 2013-08-27 Juri Linkov <juri@jurta.org>
2932 * isearch.el (isearch-quote-char): Comment out converting unibyte
2933 to multibyte, thus syncing with its `quoted-insert' counterpart.
2936 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2938 * window.el (display-buffer-use-some-window): Add missing
2939 argument in call of get-largest-window (Bug#15185).
2940 Reported by Stephen Leake.
2942 2013-08-27 Glenn Morris <rgm@gnu.org>
2944 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2946 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2948 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2949 from a matcher-function unless there's no more matches (bug#15161).
2951 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2953 * minibuffer.el: Revert change from 2013-08-20.
2955 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2956 with text property `tramp-default', if appropriate.
2957 (tramp-check-proper-host): New defun.
2958 (tramp-dissect-file-name): Do not check hostname. Revert change
2960 (tramp-backtrace): Make VEC-OR-PROC optional.
2962 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2963 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2964 * net/tramp-sh.el (tramp-maybe-open-connection):
2965 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2966 Apply `tramp-check-proper-host'.
2968 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2970 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2971 lambda expression in order to have `describe-variable' display it.
2973 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2975 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2976 BUF can be optional. (Bug#15186)
2978 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2980 * progmodes/flymake.el (flymake-get-real-file-name-function):
2981 Fix broken customization. (Bug#15184)
2983 2013-08-25 Alan Mackenzie <acm@muc.de>
2985 Improve indentation of bracelists defined by macros (without "=").
2987 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2988 expansion begins with "{", regard it as bracelist when it doesn't
2991 Parse C++ inher-intro when there's a template split over 2 lines.
2993 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2994 rigorously the search for "class" etc. followed by ":".
2996 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2997 random languages a regexp which never matches rather than nil.
2999 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
3001 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
3002 (c-awk-regexp-one-line-possibly-open-char-list-re)
3003 (c-awk-one-line-possibly-open-regexp-re)
3004 (c-awk-one-line-non-syn-ws*-re): Remove.
3005 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
3006 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
3007 (c-awk-space*-unclosed-regexp-/-re): New constants.
3008 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
3009 aren't regexp delimiters.
3011 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
3012 handling for a rare situation in AWK Mode involving unterminated
3015 2013-08-23 Glenn Morris <rgm@gnu.org>
3017 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
3019 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
3021 * files.el (create-file-buffer): If the result would begin with
3022 spaces, prepend a "|" instead of removing them. (Bug#15162)
3024 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
3026 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
3027 text-properties (bug#15155).
3029 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
3031 (calc-keypad-redraw): Remove unused var `pad'.
3032 (calc-keypad-press): Remove unused var `menu'.
3034 2013-08-23 Martin Rudalics <rudalics@gmx.at>
3036 * window.el (display-buffer-pop-up-frame):
3037 Call pop-up-frame-function with BUFFER current so `make-frame' will
3038 use it as the new frame's buffer (Bug#15133).
3040 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * calendar/timeclock.el: Minor cleanups.
3043 (timeclock-ask-before-exiting, timeclock-use-display-time):
3045 (timeclock-modeline-display): Define as alias before the
3047 (timeclock-mode-line-display): Use define-minor-mode.
3048 (timeclock-day-list-template): Make it a function, add an argument.
3049 (timeclock-day-list-required, timeclock-day-list-length)
3050 (timeclock-day-list-debt, timeclock-day-list-span)
3051 (timeclock-day-list-break): Adjust calls accordingly.
3053 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
3055 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
3056 Use read--expression so that completion works again.
3058 2013-08-21 Sam Steingold <sds@gnu.org>
3060 Add rudimentary inferior shell interaction
3061 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
3062 (sh-set-shell): Reset it.
3063 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
3064 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
3066 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
3068 * align.el: Use lexical-binding.
3069 (align-region): Simplify accordingly.
3071 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
3073 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
3075 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
3078 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
3082 * net/tramp-cmds.el:
3084 * net/tramp-gvfs.el:
3086 * net/tramp-sh.el: Don't wrap external variable declarations by
3087 `eval-when-compile'.
3089 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
3091 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
3092 now that Emacs supports ImageMagick animations.
3094 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
3096 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
3097 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
3099 2013-08-16 Martin Rudalics <rudalics@gmx.at>
3101 * window.el (mouse-autoselect-window-select): Do autoselect when
3102 mouse pointer is on margin.
3104 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
3106 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
3108 2013-08-16 Glenn Morris <rgm@gnu.org>
3110 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
3111 Handle "Remote Directory" response of some clients. (Bug#15058)
3113 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
3114 Tweak warning. (Bug#14926)
3116 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
3117 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
3119 * image-mode.el (image-mode-map): Add menu items to reverse,
3120 increase, decrease, reset animation speed.
3121 (image--set-speed, image-increase-speed, image-decrease-speed)
3122 (image-reverse-speed, image-reset-speed): New functions.
3123 (image-mode-map): Add bindings for speed commands.
3125 * image.el (image-animate-get-speed, image-animate-set-speed):
3127 (image-animate-timeout): Respect image :speed property.
3129 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
3132 previous line (bug#15101).
3133 (debugger-eval-expression, debugger-record-expression):
3134 Use read--expression (bug#15102).
3136 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
3138 Remove byte compiler warnings, visible when compiling with
3139 `byte-compile-force-lexical-warnings' set to t.
3141 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
3142 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
3143 (tramp-handle-unhandled-file-name-directory)
3144 (tramp-handle-file-notify-add-watch, tramp-action-login)
3145 (tramp-action-succeed, tramp-action-permission-denied)
3146 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
3149 * net/tramp-adb.el (tramp-adb-parse-device-names)
3150 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
3151 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
3152 (tramp-adb-handle-file-truename): Remove unused arguments.
3154 * net/tramp-cache.el (tramp-flush-directory-property)
3155 (tramp-flush-connection-property, tramp-list-connections)
3156 (tramp-parse-connection-properties): Prefix unused arguments with "_".
3158 * net/tramp-compat.el (tramp-compat-make-temp-file):
3159 Rename FILENAME to F.
3161 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
3162 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
3163 (tramp-zeroconf-parse-workstation-device-names)
3164 (tramp-zeroconf-parse-webdav-device-names)
3165 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
3167 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
3168 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
3170 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
3172 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
3173 (tramp-sh-handle-insert-file-contents-literally)
3174 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
3176 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
3177 Remove unused variables.
3179 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
3180 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
3181 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
3183 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
3184 Make them a defconst.
3185 (tramp-uuencode-region): Remove unused variable.
3187 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
3189 * frameset.el (frameset--prop-setter): New function.
3190 (frameset-prop): Add gv-setter declaration.
3191 (frameset-filter-minibuffer): Deal with the case that the minibuffer
3192 parameter was already set in FILTERED. Doc fix.
3193 (frameset--record-minibuffer-relationships): Allow saving a
3194 minibufferless frame without its corresponding minibuffer frame.
3195 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
3196 frame, if the frame id matches.
3197 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
3198 frames before orphaned ones.
3199 (frameset-restore): Warn about orphaned windows, instead of error out.
3201 2013-08-14 Martin Rudalics <rudalics@gmx.at>
3203 * window.el (window-make-atom): Don't overwrite parameter
3205 (display-buffer-in-atom-window): Handle special case where we
3206 split an already atomic window.
3207 (window--major-non-side-window, display-buffer-in-side-window)
3208 (window--side-check): Ignore minibuffer window when walking
3210 (window-deletable-p): Return 'frame only if no other frame uses
3211 our minibuffer window.
3212 (record-window-buffer): Run buffer-list-update-hook.
3213 (split-window): Make sure window--check-frame won't destroy an
3214 existing atomic window in case the new window gets nested
3216 (display-buffer-at-bottom): Ignore minibuffer window when
3217 walking window tree. Don't split a side window.
3218 (pop-to-buffer): Don't set-buffer here, the select-window call
3220 (mouse-autoselect-window-select): Autoselect only if we are in the
3221 text portion of the window.
3223 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3225 * net/shr.el (shr-parse-image-data): New function to grab both the
3226 data itself and the Content-Type.
3227 (shr-put-image): Use it.
3229 * net/eww.el (eww-display-image): Ditto.
3231 * image.el (image-content-type-suffixes): New variable.
3233 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3235 * progmodes/python.el (python-imenu--build-tree)
3236 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3238 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3240 * simple.el (backward-word): Mention the optional argument.
3242 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * frameset.el (frameset--make): Rename constructor from make-frameset.
3245 (frameset-p, frameset-valid-p): Don't autoload.
3246 (frameset-valid-p): Use normal accessors.
3248 2013-08-13 Glenn Morris <rgm@gnu.org>
3250 * progmodes/compile.el (compile-command): Tweak example in doc.
3251 * obsolete/scribe.el (scribe-mode):
3252 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3254 * mail/feedmail.el (feedmail-confirm-outgoing)
3255 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3257 * cus-start.el (truncate-partial-width-windows): Fix type.
3259 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3261 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3263 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3265 * emacs-lisp/timer.el (timer--time-setter): New function.
3266 (timer--time): Use it as gv-setter.
3268 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3269 setter is not a symbol.
3271 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3273 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3274 if sending fails. This makes debugging easier.
3276 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3278 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3279 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3280 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3282 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3284 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3286 2013-08-12 Glenn Morris <rgm@gnu.org>
3288 * format.el (format-annotate-function):
3289 Handle read-only text properties in the source. (Bug#14887)
3291 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293 * net/eww.el (eww-display-html): Ignore coding system errors.
3294 One web site uses "utf-8lias" as the coding system.
3296 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3298 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3300 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3302 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3303 (tutorial--detailed-help): Remove unused local variables.
3304 (tutorial--save-tutorial-to): Use ignore-errors.
3305 (help-with-tutorial): Use looking-at-p.
3307 * view.el (view-buffer-other-window, view-buffer-other-frame):
3308 Mark unused arguments.
3310 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3311 (woman-select-symbol-fonts, woman, woman-find-file)
3312 (woman-insert-file-contents, woman-non-underline-faces):
3314 (woman1-unquote): Move declaration.
3316 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3317 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3318 argument. Remove unused local variable.
3319 (xml-parse-elem-type): Use string-match-p.
3320 (xml-substitute-numeric-entities): Use ignore-errors.
3322 * calculator.el (calculator): Mark unused argument.
3323 (calculator-paste, calculator-quit, calculator-integer-p):
3325 (calculator-string-to-number, calculator-decimal, calculator-exp)
3326 (calculator-op-or-exp): Use string-match-p.
3328 * dired.el (dired-buffer-more-recently-used-p): Declare.
3329 (dired-insert-set-properties, dired-insert-old-subdirs):
3332 * dired-aux.el (dired-compress): Use ignore-errors.
3333 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3334 (dired-do-async-shell-command, dired-do-shell-command)
3335 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3336 (dired-insert-subdir-validate): Use string-match-p.
3337 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3338 (dired-add-entry): Use string-match-p, looking-at-p.
3339 (dired-insert-subdir-newpos): Remove unused local variable.
3341 * filenotify.el (file-notify-callback): Remove unused local variable.
3343 * filesets.el (filesets-error): Mark unused argument.
3344 (filesets-which-command-p, filesets-filter-dir-names)
3345 (filesets-directory-files, filesets-get-external-viewer)
3346 (filesets-ingroup-get-data): Use string-match-p.
3348 * find-file.el (ff-other-file-name, ff-other-file-name)
3349 (ff-find-the-other-file, ff-cc-hh-converter):
3350 Remove unused local variables.
3351 (ff-get-file-name): Use string-match-p.
3352 (ff-all-dirs-under): Use ignore-errors.
3354 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3355 (follow-select-if-visible): Remove unused local variable.
3357 * forms.el (read-file-filter): Move declaration.
3358 (forms--make-format, forms--make-parser, forms-insert-record):
3359 Quote function with #'.
3360 (forms--update): Use string-match-p. Quote function with #'.
3362 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3363 (help-make-xrefs): Use looking-at-p.
3364 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3366 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3367 (ibuffer-confirm-operation-on): Use string-match-p.
3369 * msb.el (msb-item-handler, msb-dired-item-handler):
3370 Mark unused arguments.
3372 * ses.el (ses-decode-cell-symbol)
3373 (ses-kill-override): Remove unused local variable.
3374 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3375 (ses-load): Use ignore-errors, looking-at-p.
3376 (ses-jump-safe): Use ignore-errors.
3377 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3379 * tabify.el (untabify, tabify): Mark unused arguments.
3381 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3382 Mark unused argument.
3383 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3384 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3386 * emacs-lisp/timer.el (timer--time): Define setter with
3387 gv-define-setter to avoid deprecation warning.
3389 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3390 (*record-cmpl-statistics-p*): Remove (was commented out).
3391 (cmpl-statistics-block): Remove (body was commented out).
3392 All callers changed.
3393 (add-completions-from-buffer, load-completions-from-file):
3394 Remove unused variables.
3396 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3398 * filecache.el (file-cache-delete-file-list):
3399 Print message only when told so.
3400 (file-cache-files-matching): Use #' in mapconcat argument.
3402 * ffap.el (ffap-url-at-point): Fix reference to variable
3403 thing-at-point-default-mail-uri-scheme.
3405 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3407 * subr.el (define-error): New function.
3408 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3409 error-file-not-found and define with define-error.
3410 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3411 and define with define-error.
3412 * userlock.el (file-locked, file-supersession):
3413 * simple.el (mark-inactive):
3414 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3415 * progmodes/ada-mode.el (ada-mode-errors):
3416 * play/life.el (life-extinct):
3417 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3418 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3419 * nxml/rng-util.el (rng-error):
3420 * nxml/rng-uri.el (rng-uri-error):
3421 * nxml/rng-match.el (rng-compile-error):
3422 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3423 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3424 * nxml/nxml-rap.el (nxml-scan-error):
3425 * nxml/nxml-outln.el (nxml-outline-error):
3426 * net/soap-client.el (soap-error):
3427 * net/gnutls.el (gnutls-error):
3428 * net/ange-ftp.el (ftp-error):
3429 * mpc.el (mpc-proc-error):
3430 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3431 (json-number-format, json-string-escape, json-string-format)
3432 (json-key-format, json-object-format):
3433 * jka-compr.el (compression-error):
3434 * international/quail.el (quail-error):
3435 * international/kkc.el (kkc-error):
3436 * emacs-lisp/ert.el (ert-test-failed):
3437 * calc/calc.el (calc-error, inexact-result, math-overflow)
3439 * bookmark.el (bookmark-error-no-filename):
3440 * epg.el (epg-error): Define with define-error.
3442 * time.el (display-time-event-handler)
3443 (display-time-next-load-average): Don't call sit-for since it seems
3444 unnecessary (bug#15045).
3446 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3447 Use #' instead of ' to quote functions.
3448 (checkdoc-output-mode): Use setq-local.
3449 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3450 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3451 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3452 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3453 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3454 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3455 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3456 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3458 * ido.el (ido-completion-help): Fix up compiler warning.
3460 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3462 * frameset.el (frameset-p): Add autoload cookie.
3463 (frameset--jump-to-register): New function, based on code moved from
3465 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3467 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3468 (frameset-restore, frameset-save, frameset-session-filter-alist):
3469 Remove declarations.
3470 (register-alist): Doc fix.
3471 (frameset-to-register): Move to frameset.el.
3472 (jump-to-register, describe-register-1): Remove frameset-specific code.
3474 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3476 * allout-widgets.el (allout-widgets-pre-command-business)
3477 (allout-widgets-post-command-business)
3478 (allout-widgets-after-change-handler)
3479 (allout-decorate-item-and-context, allout-set-boundary-marker)
3480 (allout-body-modification-handler)
3481 (allout-graphics-modification-handler): Mark ignored arguments.
3482 (allout-widgets-post-command-business)
3483 (allout-widgets-exposure-change-processor)
3484 (allout-widgets-exposure-undo-processor)
3485 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3486 (allout-parse-item-at-point, allout-decorate-item-guides)
3487 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3488 * allout.el (epa-passphrase-callback-function): Declare.
3489 (allout-overlay-insert-in-front-handler)
3490 (allout-overlay-interior-modification-handler)
3491 (allout-isearch-end-handler, allout-chart-siblings)
3492 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3493 (allout-yank-processing, allout-process-exposed)
3494 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3495 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3496 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3497 (lisp-indent-defform): Mark ignored arguments.
3498 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3499 (calculate-lisp-indent): Remove unused variables.
3500 * international/characters.el (indian-2-column, arabic-2-column)
3501 (tibetan): Mark ignored arguments.
3502 (use-cjk-char-width-table): Mark ignored arguments.
3503 Remove unused variables.
3504 * international/fontset.el (build-default-fontset-data)
3505 (x-compose-font-name, create-fontset-from-fontset-spec):
3506 Mark ignored arguments.
3507 (fontset-plain-name): Remove unused variables.
3508 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3509 (keyboard-coding-system): Mark ignored arguments.
3510 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3511 * help.el (resize-temp-buffer-window):
3512 * window.el (display-buffer-in-major-side-window)
3513 (display-buffer-in-side-window, display-buffer-in-previous-window):
3514 Remove unused variables.
3515 * isearch.el (isearch-forward-symbol):
3516 * version.el (emacs-bzr-version-bzr):
3517 * international/mule-cmds.el (current-language-environment):
3518 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3520 * term/pc-win.el (x-list-fonts, x-display-planes)
3521 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3522 (x-server-version, x-display-screens, x-display-mm-height)
3523 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3524 (x-selection-owner-p, x-own-selection-internal)
3525 (x-disown-selection-internal, x-get-selection-internal)
3526 (msdos-initialize-window-system):
3527 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3528 * term/x-win.el (x-handle-no-bitmap-icon):
3529 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3530 (vc-default-find-file-hook, vc-default-extra-menu):
3531 Mark ignored arguments.
3533 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3536 break-condition in the context of the debugged code (bug#12685).
3538 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3541 Do not use an overlay to highlight the last prompt. (Bug#14744)
3542 (comint-mode): Make comint-last-prompt buffer local.
3543 (comint-last-prompt): New variable.
3544 (comint-last-prompt-overlay): Remove. Superseded by
3546 (comint-snapshot-last-prompt, comint-output-filter):
3547 Use comint-last-prompt.
3549 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3551 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3552 (frameset-save): Check validity of the resulting frameset.
3554 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3556 * ido.el (ido-record-command): Add doc string.
3558 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3560 * frameset.el (frameset): Do not disable creation of the default
3561 frameset-p predicate. Doc fix.
3562 (frameset-valid-p): New function, copied from the old predicate-p.
3563 Add additional checks.
3564 (frameset-restore): Check with frameset-valid-p.
3565 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3566 (frameset-name, frameset-description, frameset-properties)
3567 (frameset-states): Add docstring.
3568 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3569 (frameset-filter-alist): Doc fixes.
3571 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3573 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3575 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3577 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3578 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3579 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3580 (byte-compile-normal-call): Remove obsolescence check.
3582 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3584 * frameset.el (frameset-restore): Doc fix.
3586 * register.el (frameset-frame-id, frameset-frame-with-id)
3587 (frameset-p, frameset-restore, frameset-save): Declare.
3588 (register-alist): Document framesets.
3589 (frameset-session-filter-alist): Declare.
3590 (frameset-to-register): New function.
3591 (jump-to-register): Implement jumping to framesets. Doc fix.
3592 (describe-register-1): Describe framesets.
3594 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3596 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3598 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3599 Use lexical-binding.
3601 * frameset.el (frameset): Use type vector, not list (incompatible
3602 change). Do not declare a new constructor, use the default one.
3603 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3604 `name' and `description', respectively, and add read-only slot
3605 `timestamp'. Doc fixes.
3606 (frameset-copy, frameset-persistent-filter-alist)
3607 (frameset-filter-alist, frameset-switch-to-gui-p)
3608 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3609 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3610 (frameset-filter-iconified, frameset-keep-original-display-p):
3612 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3613 Rename from frameset-filter-(save|restore)-param. All callers changed.
3615 (frameset-p): Adapt to change to vector and be more thorough.
3616 Change arg name to OBJECT. Doc fix.
3617 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3618 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3619 All callers changed.
3620 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3621 All callers changed.
3622 (frameset--record-minibuffer-relationships): Rename from
3623 frameset--process-minibuffer-frames. All callers changed.
3624 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3625 Use new default constructor (again). Doc fix.
3626 (frameset--find-frame-if): Rename from `frameset--find-frame.
3627 All callers changed.
3628 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3629 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3631 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3632 PARAMETERS and WINDOW-STATE, respectively.
3633 (frameset-restore): Add new keyword argument PREDICATE.
3634 Reset frameset--target-display to nil. Doc fix.
3636 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3638 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3640 (bat-mode-syntax-table): Mark \n as end-of-comment.
3641 (bat-font-lock-keywords): Remove comment rule.
3643 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3644 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3646 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3647 (byte-compile-callargs-warn): Use `push'.
3648 (byte-compile-arglist-warn): Ignore higher-order "calls".
3649 (byte-compile-file-form-autoload): Use `pcase'.
3650 (byte-compile-function-form): If quoting a symbol, check that it exists.
3652 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3654 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3655 and add a few popular commands found in batch files.
3656 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3657 (dos-mode): Doc fixes.
3659 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3661 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3662 (dos-mode): Use setq-local. Add space after "rem".
3663 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3664 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3666 2013-08-07 Arni Magnusson <arnima@hafro.is>
3668 * progmodes/dos.el: New file.
3669 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3672 2013-08-06 Glenn Morris <rgm@gnu.org>
3674 * calendar/calendar.el: Add new faces, and day-header-array.
3675 (calendar-weekday-header, calendar-weekend-header)
3676 (calendar-month-header): New faces.
3677 (calendar-day-header-construct): New function.
3678 (calendar-day-header-width): Also :set calendar-day-header-array.
3679 (calendar-american-month-header, calendar-european-month-header)
3680 (calendar-iso-month-header): Use calendar- faces.
3681 (calendar-generate-month):
3682 Use calendar-day-header-array for day headers; apply faces to them.
3683 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3684 (calendar-abbrev-construct): Add optional maxlen argument.
3685 (calendar-day-name-array): Doc fix.
3686 (calendar-day-name-array, calendar-abbrev-length)
3687 (calendar-day-abbrev-array):
3688 Also :set calendar-day-header-array, and maybe redraw.
3689 (calendar-day-header-array): New option. (Bug#15007)
3690 (calendar-font-lock-keywords): Set to nil and make obsolete.
3691 (calendar-day-name): Add option to use header array.
3693 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3695 * net/shr.el (shr-render-td): Remove debugging.
3696 (shr-render-td): Make width computation consistent by defaulting
3697 all zero-width columns to 10 characters. This may not be optimal,
3698 but it's at least consistent.
3699 (shr-make-table-1): Redo last change to fix the real problem in
3702 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3704 * files.el (cache-long-line-scans):
3705 Make obsolete alias to `cache-long-scans'.
3707 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3709 * frameset.el (frameset, frameset-filter-alist)
3710 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3711 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3712 (frameset-compute-pos): Rename from frameset--compute-pos,
3714 (frameset-move-onscreen): Use frameset-compute-pos.
3715 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3717 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3718 Fix typos in docstrings.
3720 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3722 * frame.el (get-other-frame): Tiny cleanup.
3724 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3726 * vc/vc.el (vc-default-ignore-completion-table):
3727 Silence byte-compiler warning.
3729 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3730 slot , which can indeed be nil.
3731 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3732 Move entry for `left' from persistent to live filter alist.
3733 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3735 (frameset-filter-params): When restoring a frame, copy items added to
3736 `filtered', to avoid unwittingly modifying the original parameters.
3737 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3738 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3740 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3741 to use looking-at-p instead of looking-at. (Bug#15028)
3743 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3745 Revert introduction of isearch-filter-predicates (bug#14714).
3746 Rely on add-function instead.
3747 * isearch.el (isearch-filter-predicates): Rename it back to
3748 isearch-filter-predicate.
3749 (isearch-message-prefix): Use advice-function-mapc and advice
3750 properties to get the isearch-message-prefix.
3751 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3752 instead of run-hook-with-args-until-failure.
3753 (isearch-filter-visible): Not obsolete any more.
3754 * loadup.el: Preload nadvice.
3755 * replace.el (perform-replace): Revert to funcall
3756 instead of run-hook-with-args-until-failure.
3757 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3758 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3759 dired-isearch-filenames-toggle; make it into a proper minor mode.
3760 Use add/remove-function.
3761 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3762 Call the minor-mode rather than add/remove-hook.
3763 (dired-isearch-filter-filenames):
3764 Remove isearch-message-prefix property.
3765 * info.el (Info--search-loop): New function, extracted from Info-search.
3766 Funcall isearch-filter-predicate instead of
3767 run-hook-with-args-until-failure isearch-filter-predicates.
3768 (Info-search): Use it.
3769 (Info-mode): Use isearch-filter-predicate instead of
3770 isearch-filter-predicates.
3772 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3774 Do not call to `selected-window' where it is assumed by default.
3775 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3776 `window-hscroll', `window-width', `window-height', `window-buffer',
3777 `window-frame', `window-start', `window-point', `next-window'
3778 and `window-display-table'.
3779 * abbrev.el (abbrev--default-expand):
3780 * bs.el (bs--show-with-configuration):
3781 * buff-menu.el (Buffer-menu-mouse-select):
3782 * calc/calc.el (calc):
3783 * calendar/calendar.el (calendar-generate-window):
3784 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3786 * comint.el (send-invisible, comint-dynamic-complete-filename)
3787 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3788 * completion.el (complete):
3789 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3790 * disp-table.el (describe-current-display-table):
3791 * doc-view.el (doc-view-insert-image):
3792 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3793 * ehelp.el (with-electric-help):
3794 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3795 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3796 * emacs-lisp/helper.el (Helper-help-scroller):
3797 * emulation/cua-base.el (cua--post-command-handler-1):
3798 * eshell/esh-mode.el (eshell-output-filter):
3799 * ffap.el (ffap-gnus-wrapper):
3800 * help-macro.el (make-help-screen):
3801 * hilit-chg.el (highlight-compare-buffers):
3802 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3803 * hl-line.el (global-hl-line-highlight):
3804 * icomplete.el (icomplete-simple-completing-p):
3805 * isearch.el (isearch-done):
3806 * jit-lock.el (jit-lock-stealth-fontify):
3807 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3808 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3809 * mpc.el (mpc-tagbrowser, mpc):
3810 * net/rcirc.el (rcirc-any-buffer):
3811 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3812 * play/landmark.el (landmark-max-width, landmark-max-height):
3813 * play/zone.el (zone):
3814 * progmodes/compile.el (compilation-goto-locus):
3815 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3816 * progmodes/etags.el (find-tag-other-window):
3817 * progmodes/fortran.el (fortran-column-ruler):
3818 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3819 * progmodes/verilog-mode.el (verilog-point-text):
3820 * reposition.el (reposition-window):
3821 * rot13.el (toggle-rot13-mode):
3822 * server.el (server-switch-buffer):
3823 * shell.el (shell-dynamic-complete-command)
3824 (shell-dynamic-complete-environment-variable):
3825 * simple.el (insert-buffer, set-selective-display)
3826 (delete-completion-window):
3827 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3828 (speedbar-recenter):
3829 * startup.el (fancy-splash-head):
3830 * textmodes/ispell.el (ispell-command-loop):
3831 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3832 * tutorial.el (help-with-tutorial):
3833 * vc/add-log.el (add-change-log-entry):
3834 * vc/compare-w.el (compare-windows):
3835 * vc/ediff-help.el (ediff-indent-help-message):
3836 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3837 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3838 (ediff-setup-control-frame):
3839 * vc/emerge.el (emerge-position-region):
3840 * vc/pcvs-util.el (cvs-bury-buffer):
3841 * window.el (walk-windows, mouse-autoselect-window-select):
3842 * winner.el (winner-set-conf, winner-undo): Related users changed.
3844 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3846 * frameset.el (frameset--set-id): Doc fix.
3847 (frameset-frame-id, frameset-frame-id-equal-p)
3848 (frameset-locate-frame-id): New functions.
3849 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3850 (frameset-restore): Use them.
3852 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3854 Do not call to `selected-frame' where it is assumed by default.
3855 Affected functions are `raise-frame', `redraw-frame',
3856 `frame-first-window', `frame-terminal' and `delete-frame'.
3857 * calendar/appt.el (appt-disp-window):
3858 * epg.el (epg-wait-for-completion):
3859 * follow.el (follow-delete-other-windows-and-split)
3860 (follow-avoid-tail-recenter):
3861 * international/mule.el (set-terminal-coding-system):
3862 * mail/rmail.el (rmail-mail-return):
3863 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3864 * progmodes/f90.el (f90-add-imenu-menu):
3865 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3866 * server.el (server-switch-buffer):
3867 * simple.el (delete-completion-window):
3869 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3870 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3871 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3872 * vc/ediff.el (ediff-documentation): Related users changed.
3873 * frame.el (selected-terminal): Remove the leftover.
3875 2013-08-05 Glenn Morris <rgm@gnu.org>
3877 * calendar/calendar.el (calendar-generate-month):
3878 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3879 (calendar-generate-month, calendar-font-lock-keywords):
3880 Fix for calendar-day-header-width > length of any day name.
3882 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3884 * desktop.el (desktop-clear): Use new name of sort predicate.
3886 * frameset.el (frameset): Add docstring. Move :version property to its
3888 (frameset-copy): Rename from copy-frameset.
3889 (frameset-p): Check more thoroughly.
3890 (frameset-prop): Do not check for :version, which is no longer a prop.
3891 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3892 Use new :never value instead of t.
3893 (frameset-filter-alist): Expand and clarify docstring.
3894 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3895 (frameset-filter-minibuffer, frameset-filter-save-param)
3896 (frameset-filter-restore-param, frameset-filter-iconified):
3897 Add pointer to docstring of frameset-filter-alist.
3898 (frameset-filter-params): Rename filter values to be more meaningful:
3899 :never instead of t, and reverse the meanings of :save and :restore.
3900 (frameset--process-minibuffer-frames): Clarify error message.
3901 (frameset-save): Avoid unnecessary and confusing call to framep.
3902 Use new BOA constructor for framesets.
3903 (frameset--reuse-list): Doc fix.
3904 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3905 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3906 (frameset-minibufferless-first-p): Doc fix.
3907 Rename from frameset-sort-frames-for-deletion.
3908 (frameset-restore): Doc fixes. Use new function names.
3909 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3911 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3913 * desktop.el (desktop-restore-forces-onscreen)
3914 (desktop-restore-reuses-frames): Document :keyword constant values.
3915 (desktop-filter-parameters-alist): Remove, now identical to
3916 frameset-filter-alist.
3917 (desktop--filter-tty*): Remove, moved to frameset.el.
3918 (desktop-save-frameset, desktop-restore-frameset):
3919 Do not pass :filters argument.
3921 * frameset.el (frameset-live-filter-alist)
3922 (frameset-persistent-filter-alist): New variables.
3923 (frameset-filter-alist): Use them. Add autoload cookie.
3924 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3925 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3926 `frameset--id' (it's supposed to be internal to frameset.el).
3927 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3928 (frameset--initial-params): New function.
3929 (frameset--get-frame): Use it. Doc fix.
3930 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3931 Accept :all, not 'all.
3932 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3933 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3934 with fbound symbols. Fix frame id matching, and remove matching ids if
3935 the frame being restored is deleted. Obey :delete.
3937 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3939 * subr.el (macrop): New function.
3940 (text-clone--maintaining): New var.
3941 (text-clone--maintain): Rename from text-clone-maintain. Use it
3942 instead of inhibit-modification-hooks.
3944 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3945 a proxy, so as handle autoloads and redefinitions of the target.
3946 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3948 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3949 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3950 (pcase--mutually-exclusive-p): New function.
3951 (pcase--split-consp): Use it.
3952 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3953 mutually exclusive with the current predicate.
3955 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3956 (edebug-macrop): Remove. Use `macrop' instead.
3957 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3959 * eshell/esh-cmd.el (eshell-macrop):
3960 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3962 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3964 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3965 (advice-mapc): New function, using it.
3966 (advice-function-member-p): New function.
3967 (advice--normalize): Store the cdr in advice--saved-rewrite since
3968 that's the part that will be changed.
3969 (advice--symbol-function): New function.
3970 (advice-remove): Handle removal before the function is defined.
3971 Adjust to new advice--saved-rewrite.
3972 (advice-member-p): Use advice-function-member-p and
3973 advice--symbol-function.
3975 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3977 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3978 (frameset-filter-minibuffer): Doc fix.
3979 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3980 (frameset--set-id, frameset--process-minibuffer-frames)
3981 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3982 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3984 * desktop.el (desktop-clear): Only delete frames when called
3985 interactively and desktop-restore-frames is non-nil. Doc fix.
3986 (desktop-read): Set desktop-saved-frameset to nil.
3988 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3990 * vc/vc.el (vc-ignore): Rewrite.
3991 (vc-default-ignore-completion-table):
3993 (vc--add-line, vc--remove-regexp): New functions.
3995 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3996 (vc-svn-ignore-completion-table): New function.
3998 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3999 (vc-hg-ignore-completion-table):
4000 (vc-hg-find-ignore-file): New functions.
4002 * vc/vc-git.el (vc-git-ignore): Rewrite.
4003 (vc-git-ignore-completion-table):
4004 (vc-git-find-ignore-file): New functions.
4006 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
4008 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
4009 (vc-bzr-ignore-completion-table):
4010 (vc-bzr-find-ignore-file): New functions.
4012 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
4014 * frameset.el (frameset-prop): New function and setter.
4015 (frameset-save): Do not modify frame list passed by the caller.
4017 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
4019 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
4021 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
4023 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
4024 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
4026 * custom.el (custom-initialize-default, custom-initialize-set)
4027 (custom-initialize-reset, custom-initialize-changed): Affect the
4028 toplevel-default-value (bug#6275, bug#14586).
4029 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
4032 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4034 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
4035 Add cl-def* expressions.
4037 * frameset.el (frameset-filter-params): Fix order of arguments.
4039 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
4041 Move code related to saving frames to frameset.el.
4042 * desktop.el: Require frameset.
4043 (desktop-restore-frames): Doc fix.
4044 (desktop-restore-reuses-frames): Rename from
4045 desktop-restoring-reuses-frames.
4046 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
4047 (desktop-clear): Clear frames too.
4048 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
4049 (desktop--filter-tty*, desktop-save, desktop-read):
4050 Use frameset functions.
4051 (desktop-before-saving-frames-functions, desktop--filter-*-color)
4052 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4053 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
4054 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
4055 (desktop--process-minibuffer-frames, desktop-save-frames)
4056 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
4057 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
4058 (desktop--sort-states, desktop-restoring-frames-p)
4059 (desktop-restore-frames): Remove. Most code moved to frameset.el.
4060 (desktop-restoring-frameset-p, desktop-restore-frameset)
4061 (desktop--check-dont-save, desktop-save-frameset): New functions.
4062 (desktop--app-id): New constant.
4063 (desktop-first-buffer, desktop-buffer-ok-count)
4064 (desktop-buffer-fail-count): Move before first use.
4065 * frameset.el: New file.
4067 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
4069 * files.el: Use lexical-binding.
4070 (dir-locals-read-from-file): Remove unused `err' variable.
4071 (hack-dir-local-variables--warned-coding): New var.
4072 (hack-dir-local-variables): Use it to avoid repeated warnings.
4073 (make-backup-file-name--default-function): New function.
4074 (make-backup-file-name-function): Use it as default.
4075 (buffer-stale--default-function): New function.
4076 (buffer-stale-function): Use it as default.
4077 (revert-buffer-insert-file-contents--default-function): New function.
4078 (revert-buffer-insert-file-contents-function): Use it as default.
4079 (insert-directory): Avoid add-to-list.
4081 * autorevert.el (auto-revert-handler): Simplify.
4082 Use buffer-stale--default-function.
4084 2013-08-01 Tassilo Horn <tsdh@gnu.org>
4086 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
4088 * whitespace.el (whitespace-ensure-local-variables): New function.
4089 (whitespace-cleanup-region): Call it.
4090 (whitespace-turn-on): Call it.
4092 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
4094 Complete file name handlers.
4096 * net/tramp.el (tramp-handle-set-visited-file-modtime)
4097 (tramp-handle-verify-visited-file-modtime)
4098 (tramp-handle-file-notify-rm-watch): New functions.
4099 (tramp-call-process): Do not bind `default-directory'.
4101 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4102 Order alphabetically.
4103 [access-file, add-name-to-file, dired-call-process]:
4104 [dired-compress-file, file-acl, file-notify-rm-watch]:
4105 [file-ownership-preserved-p, file-selinux-context]:
4106 [make-directory-internal, make-symbolic-link, set-file-acl]:
4107 [set-file-selinux-context, set-visited-file-modtime]:
4108 [verify-visited-file-modtime]: Add handler.
4109 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
4111 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
4112 [file-notify-add-watch, file-notify-rm-watch]:
4113 [set-file-times, set-visited-file-modtime]:
4114 [verify-visited-file-modtime]: Add handler.
4115 (with-tramp-gvfs-error-message)
4116 (tramp-gvfs-handle-set-visited-file-modtime)
4117 (tramp-gvfs-fuse-file-name): Remove.
4118 (tramp-gvfs-handle-file-notify-add-watch)
4119 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
4120 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
4122 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4123 Order alphabetically.
4124 [file-notify-rm-watch ]: Use default Tramp handler.
4125 [executable-find]: Remove private handler.
4126 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
4127 `default-directory'.
4128 (tramp-sh-handle-executable-find)
4129 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
4130 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4131 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
4132 Do not use `format' in `tramp-message'.
4134 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
4135 [file-notify-rm-watch, set-visited-file-modtime]:
4136 [verify-visited-file-modtime]: Add handler.
4137 (tramp-smb-call-winexe): Do not bind `default-directory'.
4139 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
4141 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
4143 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
4145 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
4147 (log-view-diff-changeset): Same.
4148 (log-view-diff-common): Call backend command `previous-revision'
4149 to find out the previous revision, in both cases. Swap the
4150 variables `to' and `fr', so that `fr' usually refers to the
4151 earlier revision (Bug#14989).
4153 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
4155 * ibuf-ext.el (ibuffer-filter-by-filename):
4156 Make it work with dired buffers too.
4158 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
4160 * emacs-lisp/re-builder.el (reb-color-display-p):
4161 * files.el (save-buffers-kill-terminal):
4162 * net/browse-url.el (browse-url):
4163 * server.el (server-save-buffers-kill-terminal):
4164 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
4165 Prefer nil to selected-frame for the first arg of frame-parameter.
4167 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
4169 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
4171 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
4173 * minibuffer.el (completion--twq-all): Try and preserve each
4174 completion's case choice (bug#14907).
4176 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4178 * net/network-stream.el (open-network-stream): Mention the new
4179 :nogreeting parameter.
4180 (network-stream-open-starttls): Use the :nogreeting parameter
4183 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
4185 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
4186 more natural than popping.
4188 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
4189 (shr-urlify): Highlight under mouse.
4191 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4193 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
4195 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
4197 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
4200 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
4201 point-min==1. Fix search string. Fix parentheses missing.
4203 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
4204 assume point-min==1. Fix search string. Fix parentheses missing.
4206 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
4208 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
4211 2013-07-29 Eli Zaretskii <eliz@gnu.org>
4213 * frame.el (frame-notice-user-settings): Avoid inflooping when the
4214 initial frame is minibuffer-less. (Bug#14841)
4216 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
4218 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
4221 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4222 (tramp-maybe-open-connection): Use it.
4224 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4226 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4227 minimal set of parameters passed when creating a frame, because
4228 the minibuffer status of a frame cannot be changed later.
4230 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4232 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4233 replace-regexp-in-string and inadvertent omissions in previous change.
4234 (todo-filter-items): Ensure only file names are comma-separated in
4235 name of filtered items buffer.
4237 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4239 * desktop.el: Optionally force offscreen frames back onscreen.
4240 (desktop-restoring-reuses-frames): New option.
4241 (desktop--compute-pos, desktop--move-onscreen): New functions.
4242 (desktop--make-frame): Use desktop--move-onscreen.
4244 2013-07-27 Alan Mackenzie <acm@muc.de>
4246 Fontify a Java generic method as a function.
4247 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4250 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4252 * calendar/todo-mode.el: Add command to rename todo files.
4253 (todo-rename-file): New command.
4254 (todo-key-bindings-t): Add key binding for it. Change the
4255 bindings of todo-filter-regexp-items(-multifile) to use `x'
4256 instead of `r', since the latter is better suited to the new
4259 2013-07-27 Alan Mackenzie <acm@muc.de>
4261 Make Java try-with-resources statement parse properly.
4262 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4263 (c-block-stmt-1-2-key): New language constants/variables.
4264 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4265 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4266 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4267 with c-block-stmt-1-2-key.
4269 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4271 * desktop.el (desktop--make-frame): Apply most frame parameters after
4272 creating the frame to force (partially or totally) offscreen frames to
4273 be restored as such.
4275 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4277 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4280 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4283 `base' arg of backtrace-frame.
4285 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4287 * simple.el (list-processes): Doc fix.
4289 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4291 * desktop.el (desktop--select-frame):
4292 Try harder to reuse existing frames.
4294 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4296 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4297 (edebug-eval): Use backtrace-eval.
4298 (edebug--display, edebug--recursive-edit): Don't let-bind the
4299 edebug-outer-* vars that keep track of variables we locally let-bind.
4300 (edebug-outside-excursion): Don't restore outside values of locally
4302 (edebug--display): Use user-error.
4303 (cl-lexical-debug, cl-debug-env): Remove.
4305 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4307 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4308 are restored to be sure that they are visible before deleting any
4311 2013-07-26 Matthias Meulien <orontee@gmail.com>
4313 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4314 vc-print-root-log. (Bug#14948)
4316 2013-07-26 Richard Stallman <rms@gnu.org>
4318 Add aliases for encrypting mail.
4319 * epa.el (epa-mail-aliases): New option.
4320 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4321 Bind inhibit-read-only so read-only text doesn't ruin everything.
4322 (epa-mail-default-recipients): New subroutine broken out.
4323 Handle epa-mail-aliases.
4325 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4327 Add support for lexical variables to the debugger's `e' command.
4328 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4329 vars, except for debugger-outer-match-data.
4330 (debugger-frame-number): Move check for "on a function call" from
4331 callers into it. Add `skip-base' argument.
4332 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4333 (debugger-env-macro): Only reset the state stored in non-variables,
4334 i.e. current-buffer and match-data.
4335 (debugger-eval-expression): Rewrite using backtrace-eval.
4336 * subr.el (internal--called-interactively-p--get-frame): Remove.
4337 (called-interactively-p):
4338 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4339 `base' arg of backtrace-frame instead.
4341 2013-07-26 Glenn Morris <rgm@gnu.org>
4343 * align.el (align-regexp): Doc fix. (Bug#14857)
4344 (align-region): Explicit error if subexpression missing/does not match.
4346 * simple.el (global-visual-line-mode):
4347 Do not duplicate the mode lighter. (Bug#14858)
4349 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4351 * window.el (display-buffer): In display-buffer bind
4352 split-window-keep-point to t, bug#14829.
4354 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4356 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4357 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4358 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4359 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4361 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4362 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4364 2013-07-25 Glenn Morris <rgm@gnu.org>
4366 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4368 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4370 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4371 parameter to modify-frame-parameters if the value has not changed;
4372 this is a workaround for bug#14949.
4373 (desktop--make-frame): On cl-delete-if call, check parameter name,
4376 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4378 * vc/vc.el (vc-ignore): New function.
4380 * vc/vc-svn.el (vc-svn-ignore): New function.
4382 * vc/vc-hg.el (vc-hg-ignore): New function.
4384 * vc/vc-git.el (vc-git-ignore): New function.
4386 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4387 (vc-dir-ignore): New function.
4389 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4390 (cvs-append-to-ignore): Move here from pcvs.el.
4392 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4394 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4396 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4398 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4399 (desktop-restore-frames): Warn when deleting an existing frame failed.
4401 2013-07-24 Glenn Morris <rgm@gnu.org>
4403 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4405 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4407 * filenotify.el (file-notify-supported-p):
4408 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4411 * autorevert.el (auto-revert-use-notify):
4412 (auto-revert-notify-add-watch):
4413 * net/tramp.el (tramp-file-name-for-operation):
4414 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4415 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4416 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4417 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4418 Remove `file-notify-supported-p' entry.
4420 2013-07-24 Glenn Morris <rgm@gnu.org>
4422 * printing.el: Replace all uses of deleted ps-windows-system,
4423 ps-lp-system, ps-flatten-list with lpr- versions.
4425 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4427 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4428 checked with memq (bug#14935).
4430 * files.el (revert-buffer-function): Use a non-nil default.
4431 (revert-buffer-preserve-modes): Declare var to
4432 provide access to the `preserve-modes' argument.
4433 (revert-buffer): Let-bind it.
4434 (revert-buffer--default): New function, extracted from revert-buffer.
4436 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4438 * lpr.el: Signal print errors more prominently.
4439 (print-region-function): Don't default to nil.
4440 (lpr-print-region): New function, extracted from print-region-1.
4441 Check lpr's return value and signal an error in case of problem.
4442 (print-region-1): Use it.
4443 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4445 (ps-printer-name): Default to nil.
4446 (ps-printer-name-option): Default to lpr-printer-switch.
4447 (ps-print-region-function): Don't default to nil.
4448 (ps-postscript-code-directory): Simplify default.
4449 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4450 (ps-string-list, ps-eval-switch, ps-flatten-list)
4451 (ps-flatten-list-1): Remove.
4452 (ps-multibyte-buffer): Avoid setq.
4453 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4454 (print-region-function, ps-print-region-function): Don't set them here.
4456 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4458 * ido.el (ido-fractionp):
4459 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4460 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4461 (ido-max-directory-size, ido-max-dir-file-cache)
4462 (ido-decorations): Doc fix.
4464 * ansi-color.el: Fix old URL.
4466 2013-07-23 Michael R. Mauger <michael@mauger.com>
4468 * progmodes/sql.el: Version 3.3
4469 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4470 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4471 (sql-interactive-remove-continuation-prompt): Rewrite, use
4472 functions above. Fix continuation prompt and complete output line
4474 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4475 redirected output buffer.
4476 (sql-mode): Restore deleted code (Bug#13591).
4478 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4480 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4482 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4484 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4486 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4487 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4488 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4490 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4492 * desktop.el (desktop-clear): Simplify; remove useless checks
4493 against invalid buffer names.
4494 (desktop-list*): Use cl-list*.
4495 (desktop-buffer-info, desktop-create-buffer): Simplify.
4497 2013-07-23 Leo Liu <sdl.web@gmail.com>
4499 * bookmark.el (bookmark-make-record): Restore NAME as a default
4502 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4504 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4505 extracted from autoload--insert-text.
4506 (autoload--insert-text): Remove.
4507 (autoload--print-cookie-text): New function, extracted from
4508 autoload--insert-cookie-text.
4509 (autoload--insert-cookie-text): Remove.
4510 (autoload-generate-file-autoloads): Adjust calls accordingly.
4512 * winner.el (winner-hook-installed-p): Remove.
4513 (winner-mode): Simplify accordingly.
4515 * subr.el (add-to-list): Fix compiler-macro when `append' is
4516 not constant. Don't use `cl-member' for the base case.
4518 * progmodes/subword.el: Fix boundary case (bug#13758).
4519 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4521 (subword-backward-regexp): Make it a constant.
4522 (subword-forward-internal): Don't treat a trailing capital as the
4523 beginning of a word.
4525 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4527 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4528 global value of tabulated-list-revert-hook (bug#14930).
4530 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4532 * desktop.el: Require 'cl-lib.
4533 (desktop-before-saving-frames-functions): New hook.
4534 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4535 for frames being saved. Rename from desktop--save-minibuffer-frames.
4536 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4537 Do not save frames with non-nil `desktop-dont-save' parameter.
4538 Filter out deleted frames.
4539 (desktop--find-frame): Use cl-find-if.
4540 (desktop--select-frame): Use cl-(first|second|third) to access values
4542 (desktop--make-frame): Use cl-delete-if.
4543 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4544 (desktop-restore-frames): Use cl-(first|second|third) to access values
4545 of desktop-mini. Look for visible frame at the end, not while
4548 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4549 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4550 Use string-match-p, looking-at-p (bug#14927).
4552 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4554 * desktop.el (desktop-saved-frame-states):
4555 Rename from desktop--saved-states; all users changed.
4556 (desktop-save-frames): Rename from desktop--save-frames.
4557 Do not save state to desktop file.
4558 (desktop-save): Save desktop-saved-frame-states to desktop file
4560 (desktop-restoring-frames-p): New function.
4561 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4562 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4563 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4565 * desktop.el: Correctly restore iconified frames.
4566 (desktop--filter-iconified-position): New function.
4567 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4569 2013-07-20 Glenn Morris <rgm@gnu.org>
4571 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4572 Let `message' do the formatting.
4573 (def-gdb-preempt-display-buffer): Add explicit format.
4575 * image-dired.el (image-dired-track-original-file):
4576 Use with-current-buffer.
4577 (image-dired-track-thumbnail): Use with-current-buffer.
4578 Avoid changing point of wrong window.
4580 * image-dired.el (image-dired-track-original-file):
4581 Avoid changing point of wrong window. (Bug#14909)
4583 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4585 * progmodes/gdb-mi.el (gdb-done-or-error):
4586 Guard against "%" in gdb output. (Bug#14127)
4588 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4590 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4593 * international/mule.el (coding-system-iso-2022-flags): Fix last
4596 2013-07-20 Kenichi Handa <handa@gnu.org>
4598 * international/mule.el (coding-system-iso-2022-flags):
4599 Add `8-bit-level-4'. (Bug#8522)
4601 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4603 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4606 * net/eww.el (eww-process-text-input): Allow inputting when the
4607 point is at the start of the line, as the properties aren't
4610 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4613 2013-07-19 Richard Stallman <rms@gnu.org>
4615 * epa.el (epa-popup-info-window): Doc fix.
4617 * subr.el (split-string): New arg TRIM.
4619 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4621 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4622 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4624 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4626 * filenotify.el (file-notify--library): Rename from
4627 `file-notify-support'. Do not autoload. Adapt all uses.
4628 (file-notify-supported-p): New defun.
4630 * autorevert.el (auto-revert-use-notify):
4631 Use `file-notify-supported-p' instead of `file-notify-support'.
4633 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4635 * net/tramp.el (tramp-file-name-for-operation):
4636 Add `file-notify-supported-p'.
4638 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4640 (tramp-sh-file-name-handler-alist): Add it as handler for
4641 `file-notify-supported-p '.
4643 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4644 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4645 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4646 Add `ignore' as handler for `file-notify-*' functions.
4648 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4650 * simple.el (line-move-partial, line-move): Don't start vscroll or
4651 scroll-up if the current line is not taller than the window.
4654 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4656 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4657 highlight question marks in the method names as strings.
4658 (ruby-block-beg-keywords): Inline.
4659 (ruby-font-lock-keyword-beg-re): Extract from
4660 `ruby-font-lock-keywords'.
4662 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4664 * frame.el (blink-cursor-blinks): New defcustom.
4665 (blink-cursor-blinks-done): New defvar.
4666 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4667 (blink-cursor-timer-function): Check if number of blinks has been
4669 (blink-cursor-suspend, blink-cursor-check): New defuns.
4671 2013-07-15 Glenn Morris <rgm@gnu.org>
4673 * edmacro.el (edmacro-format-keys): Fix previous change.
4675 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4677 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4678 The hack didn't work outside English locales anyway.
4680 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4682 * simple.el (define-alternatives): Rename from alternatives-define,
4683 per RMS' suggestion.
4685 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4687 * desktop.el (desktop-restore-frames): Change default to t.
4688 (desktop-restore-in-current-display): Now offer more options.
4689 (desktop-restoring-reuses-frames): New customization option.
4690 (desktop--saved-states): Doc fix.
4691 (desktop-filter-parameters-alist): New variable, renamed and expanded
4692 from desktop--excluded-frame-parameters.
4693 (desktop--target-display): New variable.
4694 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4695 (desktop--filter-tty*, desktop--filter-*-color)
4696 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4697 (desktop--filter-save-desktop-parm)
4698 (desktop-restore-in-original-display-p): New functions.
4699 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4700 (desktop--save-minibuffer-frames): New function, inspired by a similar
4701 function from Martin Rudalics.
4702 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4703 (desktop--restore-in-this-display-p): Remove.
4704 (desktop--find-frame): Rename from desktop--find-frame-in-display
4705 and add predicate argument.
4706 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4707 (desktop--reuse-list): New variable.
4708 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4710 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4712 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4714 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4716 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4718 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4719 Highlight conversion methods on Kernel.
4721 2013-07-13 Alan Mackenzie <acm@muc.de>
4723 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4724 and comment it out. This out-commenting enables certain C++
4725 declarations to be parsed correctly.
4727 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4729 * international/mule.el (define-coding-system): Doc fix.
4731 * simple.el (default-font-height): Don't call font-info if the
4732 frame's default font didn't change since the frame was created.
4735 2013-07-13 Leo Liu <sdl.web@gmail.com>
4737 * ido.el (ido-read-file-name): Guard against non-symbol value.
4739 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4741 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4744 2013-07-13 Leo Liu <sdl.web@gmail.com>
4746 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4747 ido-set-matches call. (Bug#6852)
4749 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4751 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4752 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4754 (ruby-font-lock-keywords): Distinguish calls to functions with
4755 module-like names from module references. Highlight character
4758 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4760 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4761 (gdb-send): Handle continued commands. (Bug#14847)
4763 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4765 * desktop.el (desktop--v2s): Remove unused local variable.
4766 (desktop-save-buffer): Make defvar-local; adjust docstring.
4767 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4768 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4770 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4772 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4774 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4776 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4779 2013-07-12 Glenn Morris <rgm@gnu.org>
4781 * doc-view.el: Require cl-lib at runtime too.
4782 (doc-view-remove-if): Remove.
4783 (doc-view-search-next-match, doc-view-search-previous-match):
4786 * edmacro.el: Require cl-lib at runtime too.
4787 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4788 (edmacro-mismatch, edmacro-subseq): Remove.
4790 * shadowfile.el: Require cl-lib.
4791 (shadow-remove-if): Remove.
4792 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4795 * wid-edit.el: Require cl-lib.
4796 (widget-choose): Use cl-remove-if.
4797 (widget-remove-if): Remove.
4799 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4800 (ebrowse-delete-if-not): Remove.
4801 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4802 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4803 Use cl-delete-if-not.
4805 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4807 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4808 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4810 2013-07-12 Leo Liu <sdl.web@gmail.com>
4812 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4814 2013-07-11 Glenn Morris <rgm@gnu.org>
4816 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4817 (edebug-gensym-index, edebug-gensym):
4818 Remove reimplementation of cl-gensym.
4819 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4821 * thumbs.el: Require cl-lib at run-time too.
4822 (thumbs-gensym-counter, thumbs-gensym):
4823 Remove reimplementation of cl-gensym.
4824 (thumbs-temp-file): Use cl-gensym.
4826 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4827 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4828 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4829 (ert--union, ert--gensym-counter, ert--gensym-counter)
4830 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4831 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4832 (ert-make-test-unbound, ert--expand-should-1)
4833 (ert--expand-should, ert--should-error-handle-error)
4834 (should-error, ert--explain-equal-rec)
4835 (ert--plist-difference-explanation, ert-select-tests)
4836 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4837 Use cl-lib functions rather than reimplementations.
4839 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4841 * net/tramp.el (tramp-methods): Extend docstring.
4842 (tramp-connection-timeout): New defcustom.
4843 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4844 (with-tramp-progress-reporter): Simplify.
4845 (tramp-process-actions): Improve messages.
4847 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4848 * net/tramp-sh.el (tramp-maybe-open-connection):
4849 Use `tramp-connection-timeout'.
4850 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4853 2013-07-11 Leo Liu <sdl.web@gmail.com>
4855 * ido.el (ido-read-file-name): Conform to the requirements of
4856 read-file-name. (Bug#11861)
4857 (ido-read-directory-name): Conform to the requirements of
4858 read-directory-name.
4860 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4862 * subr.el (delay-warning): New function.
4864 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4866 * simple.el (default-line-height): New function.
4867 (line-move-partial, line-move): Use it instead of computing the
4869 (line-move-partial): Always compute ROWH. If the last line is
4870 partially-visible, but its text is completely visible, allow
4871 cursor to enter such a partially-visible line.
4873 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4875 Improve error messages. (Bug#14808)
4877 * net/tramp.el (tramp-current-connection): New defvar, moved from
4879 (tramp-message-show-progress-reporter-message): Remove, not
4881 (tramp-error-with-buffer): Show message in minibuffer.
4882 Discard input before waiting. Reset connection timestamp.
4883 (with-tramp-progress-reporter): Improve messages.
4884 (tramp-process-actions): Use progress reporter. Delete process in
4885 case of error. Improve messages.
4887 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4888 Call `tramp-error-with-buffer' with vector and buffer.
4889 (tramp-current-connection): Remove.
4890 (tramp-maybe-open-connection): The car of
4891 `tramp-current-connection' are the first 3 slots of the vector.
4893 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4895 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4896 inside continued strings.
4898 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4900 Timestamp fixes for undo (Bug#14824).
4901 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4903 2013-07-10 Leo Liu <sdl.web@gmail.com>
4905 * files.el (require-final-newline): Allow safe local value.
4908 2013-07-09 Leo Liu <sdl.web@gmail.com>
4910 * ido.el (ido-read-directory-name): Handle fallback.
4911 (ido-read-file-name): Update DIR to ido-current-directory.
4913 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4915 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4917 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4918 "autoload". Remove "warn lower camel case" section, previously
4919 commented out. Highlight negation char. Do not highlight the
4920 target in singleton method definitions.
4922 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4924 * faces.el (tty-setup-hook): Declare the hook.
4926 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4927 and detect when a guard/pred depends on local vars (bug#14773).
4928 (pcase--u1): Adjust caller.
4930 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4932 * simple.el (line-move-partial, line-move): Account for
4934 (line-move-partial): Avoid setting vscroll when the last
4935 partially-visible line in window is of default height.
4937 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4939 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4942 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4944 * subr.el (read-quoted-char): Remove unused local variable `char'.
4946 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4948 * ediff.el (ediff-version): Version update.
4949 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4950 (ediff-merge-with-ancestor-command, ediff-directories-command)
4951 (ediff-directories3-command, ediff-merge-directories-command)
4952 (ediff-merge-directories-with-ancestor-command): New functions.
4953 All are command-line interfaces to ediff: to facilitate calling
4954 Emacs with the appropriate ediff functions invoked.
4956 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4957 (viper-save-kill-buffer): Check if buffer is modified.
4959 * viper.el (viper-version): Version update.
4960 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4962 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4964 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4965 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4966 (viper-intercept-ESC-key): Simplify.
4967 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4968 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4969 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4970 (viper-setup-ESC-to-escape): New functions.
4971 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4972 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4974 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4976 * simple.el (default-font-height, window-screen-lines):
4978 (line-move, line-move-partial): Use them instead of
4979 frame-char-height and window-text-height. This makes scrolling
4980 text smoother when the buffer's default face uses a font that is
4981 different from the frame's default font.
4983 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4985 * files.el (write-file): Do not display confirm dialog for NS,
4986 it does its own dialog, which can't be cancelled (Bug#14578).
4988 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4990 * simple.el (line-move-partial): Adjust the row returned by
4991 posn-at-point for the current window-vscroll. (Bug#14567)
4993 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4995 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4996 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4999 2013-07-06 Martin Rudalics <rudalics@gmx.at>
5001 * window.el (window-state-put-stale-windows): New variable.
5002 (window--state-put-2): Save list of windows without matching buffer.
5003 (window-state-put): Remove "bufferless" windows if possible.
5005 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5007 * simple.el (alternatives-define): Remove leftover :group keyword.
5010 2013-07-06 Leo Liu <sdl.web@gmail.com>
5012 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
5013 (ido-enable-virtual-buffers): New variable.
5014 (ido-buffer-internal, ido-toggle-virtual-buffers)
5015 (ido-make-buffer-list): Use it.
5016 (ido-exhibit): Support turning on and off virtual buffers
5019 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
5021 * simple.el (alternatives-define): New macro.
5023 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
5025 * subr.el (read-quoted-char): Use read-key.
5026 (sit-for): Let read-event decode tty input (bug#14782).
5028 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
5030 * calendar/todo-mode.el: Add handling of file deletion, both by
5031 mode command and externally. Fix various related bugs.
5032 Clarify Commentary and improve some documentation strings and code.
5033 (todo-delete-file): New command.
5034 (todo-check-file): New function.
5035 (todo-show): Handle external deletion of the file we're trying to
5036 show (bug#14688). Replace called-interactively-p by an optional
5037 prefix argument to avoid problematic interaction with catch form
5038 when byte compiled (bug#14702).
5039 (todo-quit): Handle external deletion of the archive's todo file.
5040 Make sure the buffer that was visiting the archive file is still
5041 live before trying to bury it.
5042 (todo-category-completions): Handle external deletion of any
5043 category completion files.
5044 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
5045 of todo files, in case of external deletion.
5046 (todo-add-file): Replace unnecessary setq by let-binding.
5047 (todo-find-archive): Check whether there are any archives.
5048 Replace unnecessary setq by let-binding.
5049 (todo-archive-done-item): Use find-file-noselect to get the
5050 archive buffer whether or not the archive already exists.
5051 Remove superfluous code. Use file size instead of buffer-file-name to
5052 check if the archive is new; if it is, update list of archives.
5053 (todo-default-todo-file): Allow nil to be a valid value for when
5054 there are no todo files.
5055 (todo-reevaluate-default-file-defcustom): Use corrected definition
5056 of todo-default-todo-file.
5057 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
5058 (todo-delete-category, todo-show-categories-table)
5059 (todo-category-number): Clarify comment.
5060 (todo-filter-items): Clarify documentation string.
5061 (todo-show-current-file, todo-display-as-todo-file)
5062 (todo-reset-and-enable-done-separator): Tweak documentation string.
5063 (todo-done-separator): Make separator length window-width, since
5064 bug#2749 is now fixed.
5066 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
5068 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5069 Support both "gvfs-monitor-dir" and "inotifywait".
5070 (tramp-sh-file-inotifywait-process-filter): Rename from
5071 `tramp-sh-file-notify-process-filter'.
5072 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5073 (tramp-get-remote-gvfs-monitor-dir): New defuns.
5075 2013-07-05 Leo Liu <sdl.web@gmail.com>
5077 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
5079 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
5081 * frame.el (display-pixel-height, display-pixel-width)
5082 (display-mm-height, display-mm-width): Mention behavior on
5083 multi-monitor setups in docstrings.
5084 (w32-display-monitor-attributes-list): Declare function.
5085 (display-monitor-attributes-list): Use it.
5087 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
5089 * filenotify.el: New package.
5091 * autorevert.el (top): Require filenotify.el.
5092 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
5094 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5095 (auto-revert-notify-handler): Use `file-notify-*' functions.
5097 * subr.el (file-notify-handle-event): Move function to filenotify.el.
5099 * net/tramp.el (tramp-file-name-for-operation):
5100 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
5102 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
5103 for `file-notify-add-watch' and `file-notify-rm-watch'.
5104 (tramp-process-sentinel): Improve trace.
5105 (tramp-sh-handle-file-notify-add-watch)
5106 (tramp-sh-file-notify-process-filter)
5107 (tramp-sh-handle-file-notify-rm-watch)
5108 (tramp-get-remote-inotifywait): New defuns.
5110 2013-07-03 Juri Linkov <juri@jurta.org>
5112 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
5113 call of `occur-read-primary-args' to interactive spec.
5115 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
5116 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
5118 2013-07-03 Matthias Meulien <orontee@gmail.com>
5120 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
5121 `Buffer-menu-multi-occur'. Add it to the menu.
5122 (Buffer-menu-mode): Document it in docstring.
5123 (Buffer-menu-multi-occur): New command. (Bug#14673)
5125 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5127 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
5128 keywords and built-ins.
5130 2013-07-03 Glenn Morris <rgm@gnu.org>
5132 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
5134 Make info-xref checks case-sensitive by default
5135 * info.el (Info-find-node, Info-find-in-tag-table)
5136 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
5137 Add option for exact case matching of nodes.
5138 * info-xref.el (info-xref): New custom group.
5139 (info-xref-case-fold): New option.
5140 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
5142 2013-07-03 Leo Liu <sdl.web@gmail.com>
5144 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
5146 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
5148 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
5149 middle of block statement initially, lower the depth. Remove
5150 FIXME comment, not longer valid. Remove middle of block statement
5151 detection, no need to do that anymore since we've been using
5152 `ruby-parse-region' here.
5154 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
5156 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
5158 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
5160 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
5162 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
5164 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
5165 (desktop-restore-in-current-display): New customization option.
5166 (desktop--excluded-frame-parameters): Add `font'.
5167 (desktop--save-frames): Rename from desktop--save-windows.
5168 (desktop--restore-in-this-display-p): New function.
5169 (desktop--make-full-frame): Remove unwanted width/height from
5170 full(width|height) frames.
5171 (desktop--restore-frames): Rename from desktop--restore-windows.
5172 Obey desktop-restore-current-display. Do not delete old frames or
5173 select a new frame unless we were able to restore at least one frame.
5175 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
5177 * files.el (find-file-noselect): Simplify conditional expression.
5179 * remember.el (remember-append-to-file):
5180 Don't mix `find-buffer-visiting' and `get-file-buffer'.
5182 Add `remember-notes' function to store random notes across Emacs
5184 * remember.el (remember-data-file): Add :set callback to affect
5185 notes buffer (if any).
5186 (remember-notes): New command.
5187 (remember-notes-buffer-name, bury-remember-notes-on-kill):
5188 New defcustoms for the `remember-notes' function.
5189 (remember-notes-save-and-bury-buffer): New command.
5190 (remember-notes-mode-map): New variable.
5191 (remember-mode): New minor mode.
5192 (remember-notes--kill-buffer-query): New function.
5193 * startup.el (initial-buffer-choice): Add notes to custom type.
5195 2013-06-30 Eli Zaretskii <eliz@gnu.org>
5197 * bindings.el (right-char, left-char): Don't call sit-for, this is
5198 no longer needed. Use arithmetic comparison only for numerical
5201 * international/mule-cmds.el (select-safe-coding-system):
5202 Handle the case of FROM being a string correctly. (Bug#14755)
5204 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
5206 * net/shr.el (shr-make-table-1): Add a sanity check that allows
5207 progression on degenerate tables.
5208 (shr-rescale-image): ImageMagick animated images currently don't work.
5210 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
5212 Some fixes and improvements for desktop frame restoration.
5213 It is still experimental and disabled by default.
5214 * desktop.el (desktop--save-windows): Put the selected frame at
5215 the head of the list.
5216 (desktop--make-full-frame): New function.
5217 (desktop--restore-windows): Try to re-select the frame that was
5218 selected upon saving. Do not abort if some frames fail to restore,
5219 just show an error message and continue. Set up maximized frames
5220 so they have default non-maximized dimensions.
5222 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5224 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5225 Don't start heredoc inside a string or comment.
5227 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5229 * bindings.el (visual-order-cursor-movement): New defcustom.
5230 (right-char, left-char): Provide visual-order cursor motion by
5231 calling move-point-visually. Update the doc strings.
5233 2013-06-28 Kenichi Handa <handa@gnu.org>
5235 * international/mule.el (define-coding-system): New coding system
5236 properties :inhibit-null-byte-detection,
5237 :inhibit-iso-escape-detection, and :prefer-utf-8.
5238 (set-buffer-file-coding-system): If :charset-list property of
5239 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5240 appropriate for setting.
5242 * international/mule-cmds.el (select-safe-coding-system):
5243 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5244 multibyte characters, return utf-8 (or one of its siblings).
5246 * international/mule-conf.el (prefer-utf-8): New coding system.
5247 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5250 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5252 * net/shr.el (shr-render-region): New function.
5254 * net/eww.el: Autoload `eww-browse-url'.
5256 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5258 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5259 Adapt to `package-desc-version' being a list.
5260 Use `package--ac-desc-version' to retrieve version from a package
5263 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5265 New experimental feature to save&restore window and frame setup.
5266 * desktop.el (desktop-save-windows): New defcustom.
5267 (desktop--saved-states): New var.
5268 (desktop--excluded-frame-parameters): New defconst.
5269 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5270 (desktop--restore-windows, desktop--save-windows): New functions.
5271 (desktop-save): Call `desktop--save-windows'.
5272 (desktop-read): Call `desktop--restore-windows'.
5274 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5276 * net/shr.el (add-face-text-property): Remove compat definition.
5278 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5280 * info.el (Info-try-follow-nearest-node): Move search for footnote
5281 above search for node name to prevent missing a footnote (bug#14717).
5283 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5285 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5287 2013-06-27 Leo Liu <sdl.web@gmail.com>
5289 * net/eww.el (eww-read-bookmarks): Check file size.
5291 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5293 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5294 advice--pending if newdef is nil or an autoload (bug#13820).
5295 (advice-mapc): New function.
5297 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5299 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5301 (eww-mode-map): Add a menu bar.
5302 (eww-add-bookmark): New command.
5303 (eww-bookmark-mode): New mode and commands.
5304 (eww-add-bookmark): Remove newlines from the title.
5305 (eww-bookmark-browse): Don't bug out if it's the only window.
5307 2013-06-26 Glenn Morris <rgm@gnu.org>
5309 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5310 (hfy-size): Handle ttys. (Bug#14668)
5312 * info-xref.el: Update for Texinfo 5 change in *note format.
5313 (info-xref-node-re, info-xref-note-re): New constants.
5314 (info-xref-check-buffer): Use info-xref-note-re.
5316 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5318 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5320 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5321 nil terminate the loop (bug#14718).
5323 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5325 * net/eww.el: Rework history traversal. When going forward/back,
5326 put these actions into the history, too, so that they can be
5328 (eww-render): Move the history reset to the correct buffer.
5330 2013-06-25 Juri Linkov <juri@jurta.org>
5332 * files-x.el (modify-dir-local-variable): Change the header comment
5333 in the file with directory local variables. (Bug#14692)
5335 * files-x.el (read-file-local-variable-value): Add `default'.
5338 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5340 * net/eww.el (eww-make-unique-file-name): Create a unique file
5341 name before saving to entering `y' accidentally asynchronously.
5343 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5345 * net/eww.el (eww-download): New command and keystroke.
5347 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5349 * net/eww.el (eww-copy-page-url): Change name of command.
5351 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5352 be more consistent with Info and dired.
5354 * net/eww.el (eww-mode-map): Ditto.
5356 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5358 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5359 packages from archives.
5360 (package-archive-contents): Change format; include obsolete packages.
5361 (package-desc): Use `dir' to mark builtin packages.
5362 (package--from-builtin): Set the `dir' field to `builtin'.
5363 (generated-autoload-file, version-control): Declare.
5364 (package-compute-transaction): Change first arg and return value to be
5365 lists of package-descs. Adjust to new package-archive-contents format.
5366 (package--add-to-archive-contents): Adjust to new
5367 package-archive-contents format.
5368 (package-download-transaction): Arg is now a list of package-descs.
5369 (package-install): If `pkg' is a package name, pass it as
5370 a requirement, so it is subject to the usual (e.g. disabled) checks.
5371 (describe-package): Accept package-desc as well.
5372 (describe-package-1): Describe a specific package-desc. Add links to
5373 other package-descs for the same package name.
5374 (package-menu-describe-package): Pass the actual package-desc.
5375 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5377 (package-desc-status): New function.
5378 (package-menu--refresh): New function, extracted
5379 from package-menu--generate.
5380 (package-menu--generate): Use it.
5381 (package-delete): Update package-alist.
5382 (package-menu-execute): Don't call package-initialize.
5384 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5385 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5386 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5387 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5388 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5389 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5391 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5393 * window.el (window--state-get-1): Workaround for bug#14527.
5394 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5396 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5398 * net/eww.el (eww-back-url): Implement the history by stashing all
5399 the data into a list.
5400 (eww-forward-url): Allow going forward in the history, too.
5402 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5404 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5405 for values and use read--expression for expressions (bug#14710).
5406 (read-file-local-variable): Avoid setq.
5407 (read-file-local-variable-mode): Use minor-mode-list.
5409 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5411 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5414 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5416 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5417 Update imenu-support when dialect changes.
5419 2013-06-25 Leo Liu <sdl.web@gmail.com>
5421 * ido.el (ido-read-internal): Allow forward slash on windows.
5423 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5425 * net/eww.el (eww): Start of strings is \\`, not ^.
5427 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5429 * net/shr.el (shr-browse-url): Fix interactive spec.
5431 * net/eww.el (eww): Add a trailing slash to domain names.
5433 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5435 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5437 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5439 * net/shr.el (shr-browse-url): Use an external browser if given a
5442 * net/eww.el (eww-external-browser): Move to shr.
5444 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5446 * net/eww.el (eww): Work more correctly for file: URLs.
5447 (eww-detect-charset): Allow quoted charsets.
5448 (eww-yank-page-url): New command and keystroke.
5450 2013-06-24 Daiki Ueno <ueno@gnu.org>
5452 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5453 file name of gpg executable.
5454 (epg-context-program): New function.
5455 (epg-context-home-directory): New function.
5456 (epg-context-set-program): New function.
5457 (epg-context-set-home-directory): New function.
5458 (epg--start): Use `epg-context-program' instead of
5460 (epg--list-keys-1): Likewise.
5462 2013-06-24 Leo Liu <sdl.web@gmail.com>
5464 * ido.el (ido-read-internal): Fix bug#14620.
5466 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5468 * faces.el (face-documentation): Simplify.
5469 (read-face-attribute, tty-find-type, x-resolve-font-name):
5470 Use `string-match-p'.
5471 (list-faces-display): Use `string-match-p'. Simplify.
5472 (face-spec-recalc): Check face to avoid face alias loops.
5473 (read-color): Use `string-match-p' and non-capturing parenthesis.
5475 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5477 * net/shr.el (shr-rescale-image): Use the new
5478 :max-width/:max-height functionality.
5480 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5482 * net/eww.el (eww-search-prefix): New variable.
5484 (eww-external-browser): New variable.
5485 (eww-mode-map): New keystroke.
5486 (eww-browse-with-external-browser): New command.
5488 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5490 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5492 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5493 Don't skip aligning the next header field when padding is 0;
5494 otherwise, field width is not respected unless the title is as
5497 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5499 * emacs-lisp/package.el (package-el-version): Remove.
5500 (package-process-define-package): Fix inf-loop.
5501 (package-install): Allow symbols as arguments again.
5503 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5505 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5506 add some more keyword-like methods.
5507 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5509 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5511 * bs.el (bs-buffer-show-mark): Make defvar-local.
5512 (bs-mode): Use setq-local.
5514 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5515 (emacs-lock--try-unlocking): Make defvar-local.
5517 2013-06-22 Glenn Morris <rgm@gnu.org>
5519 * play/cookie1.el (cookie-apropos): Minor simplification.
5521 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5523 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5525 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5526 `regexp-opt', it breaks the build during dumping.
5528 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5530 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5531 Highlight keyword-like methods on Kernel and Module with
5532 font-lock-builtin-face.
5533 (auto-mode-alist): Consolidate different entries into one regexp
5534 and add more *file-s.
5536 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5538 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5540 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5541 (diary-entry): Use it in the action of this button type instead of
5544 * calendar/todo-mode.el: New version.
5545 (todo-add-category): Append new category to end of file and give
5546 it the highest number, instead of putting it at the beginning and
5547 giving it 0. Incorporate noninteractive functionality.
5548 (todo-forward-category): Adapt to 1-based category numbering.
5549 Allow skipping over archived categories.
5550 (todo-backward-category): Derive from todo-forward-category.
5551 (todo-backward-item, todo-forward-item): Make noninteractive and
5552 delegate interactive part to new commands. Make sensitive to done items.
5553 (todo-categories): Make value an alist of category names and
5554 vectors of item counts.
5555 (todo-category-beg): Make a defconst.
5556 (todo-category-number): Use 1 instead of 0 as initial value.
5557 (todo-category-select): Make sensitive to overlays, optional item
5558 highlighting and done items.
5559 (todo-delete-item): Make sensitive to overlays and marked and done items.
5560 (todo-edit-item): Make sensitive to overlays and editing of
5561 date/time header optional. Add format checks.
5562 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5563 no-op if point is not on an item. Advertise using todo-edit-quit.
5564 (todo-edit-mode): Make sensitive to new format, font-locking, and
5565 multiple todo files.
5566 (todo-insert-item, todo-insert-item-here): Derive from
5567 todo-basic-insert-item and extend functionality.
5568 (todo-item-end, todo-item-start): Make sensitive to done items.
5569 (todo-item-string): Don't return text properties. Restore point.
5570 (todo-jump-to-category): Make sensitive to multiple todo files and
5571 todo archives. Use extended category completion.
5572 (todo-lower-item, todo-raise-item): Rename to *-priority and
5573 derive from todo-set-item-priority.
5574 (todo-mode): Derive from special-mode. Make sensitive to new
5575 format, font-locking and multiple todo files. Make read-only.
5576 (todo-mode-map): Don't suppress digit keys, so they can supply
5577 prefix arguments. Add many new key bindings.
5578 (todo-prefix): Insert as an overlay instead of file text.
5579 Change semantics from diary date expression to purely visual mark.
5580 (todo-print): Rename to todo-print-buffer. Make buffer display
5581 features printable. Remove option to restrict number of items
5582 printed. Add option to print to file.
5583 (todo-print-function): Rename to todo-print-buffer-function.
5584 (todo-quit): Extend to handle exiting new todo modes.
5585 (todo-remove-item): Make sensitive to overlays.
5586 (todo-save): Extend to buffers of filtered items.
5587 (todo-show): Make sensitive to done items, multiple todo files and
5588 new todo modes. Offer to convert legacy todo file before creating
5589 first new todo file.
5590 (todo-show-priorities): Rename to todo-top-priorities.
5591 Change semantics of value 0.
5592 (todo-top-priorities): Rename to todo-filter-top-priorities,
5593 derive from todo-filter-items and extend functionality.
5594 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5595 and extend functionality to other types of filtered items.
5596 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5597 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5598 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5599 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5600 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5601 (todo-edit-mode-hook, todo-entry-prefix-function)
5602 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5603 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5604 (todo-initials, todo-insert-threshold, todo-item-string-start)
5605 (todo-line-string, todo-menu, todo-mode-hook)
5606 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5607 (todo-print-priorities, todo-remove-separator)
5608 (todo-save-top-priorities-too, todo-string-count-lines)
5609 (todo-string-multiline-p, todo-time-string-format)
5610 (todo-tmp-buffer-name): Remove.
5611 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5612 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5613 (todo-edit-category-diary-inclusion)
5614 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5615 (todo-edit-file, todo-edit-item-date-day)
5616 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5617 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5618 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5619 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5620 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5621 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5622 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5623 (todo-filter-top-priorities-multifile, todo-find-archive)
5624 (todo-find-filtered-items-file, todo-go-to-source-item)
5625 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5626 (todo-jump-to-archive-category, todo-lower-category)
5627 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5628 (todo-move-category, todo-move-item, todo-next-button)
5629 (todo-next-item, todo-padded-string, todo-powerset)
5630 (todo-previous-button, todo-previous-item)
5631 (todo-print-buffer-to-file, todo-raise-category)
5632 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5633 (todo-set-category-number, todo-set-item-priority)
5634 (todo-set-top-priorities-in-category)
5635 (todo-set-top-priorities-in-file, todo-show-categories-table)
5636 (todo-sort-categories-alphabetically-or-numerically)
5637 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5638 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5639 (todo-toggle-item-header, todo-toggle-item-highlighting)
5640 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5641 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5642 (todo-unarchive-items, todo-unmark-category): New commands.
5643 (todo-absolute-file-name, todo-add-to-buffer-list)
5644 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5645 (todo-basic-insert-item, todo-category-completions)
5646 (todo-category-number, todo-category-string-matcher-1)
5647 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5648 (todo-check-format, todo-clear-matches)
5649 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5650 (todo-current-category, todo-date-string-matcher)
5651 (todo-define-insertion-command, todo-diary-expired-matcher)
5652 (todo-diary-goto-entry, todo-diary-item-p)
5653 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5654 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5655 (todo-done-item-section-p, todo-done-separator)
5656 (todo-done-string-matcher, todo-files, todo-filter-items)
5657 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5658 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5659 (todo-insert-category-line, todo-insert-item-from-calendar)
5660 (todo-insert-sort-button, todo-insert-with-overlays)
5661 (todo-insertion-command-name, todo-insertion-key-bindings)
5662 (todo-label-to-key, todo-longest-category-name-length)
5663 (todo-make-categories-list, todo-mode-external-set)
5664 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5665 (todo-modes-set-3, todo-multiple-filter-files)
5666 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5667 (todo-read-category, todo-read-date, todo-read-dayname)
5668 (todo-read-file-name, todo-read-time)
5669 (todo-reevaluate-category-completions-files-defcustom)
5670 (todo-reevaluate-default-file-defcustom)
5671 (todo-reevaluate-filelist-defcustoms)
5672 (todo-reevaluate-filter-files-defcustom)
5673 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5674 (todo-reset-done-separator, todo-reset-done-separator-string)
5675 (todo-reset-done-string, todo-reset-global-current-todo-file)
5676 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5677 (todo-reset-prefix, todo-set-categories)
5678 (todo-set-date-from-calendar, todo-set-show-current-file)
5679 (todo-set-top-priorities, todo-short-file-name)
5680 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5681 (todo-total-item-counts, todo-update-buffer-list)
5682 (todo-update-categories-display, todo-update-categories-sexp)
5683 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5685 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5687 (todo-categories, todo-display, todo-edit, todo-faces)
5688 (todo-filtered): New defgroups.
5689 (todo-archived-only, todo-button, todo-category-string, todo-date)
5690 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5691 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5692 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5693 (todo-add-item-if-new-category, todo-always-add-time-string)
5694 (todo-categories-align, todo-categories-archived-label)
5695 (todo-categories-category-label, todo-categories-diary-label)
5696 (todo-categories-done-label, todo-categories-number-separator)
5697 (todo-categories-todo-label, todo-categories-totals-label)
5698 (todo-category-completions-files, todo-completion-ignore-case)
5699 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5700 (todo-done-separator-string, todo-done-string)
5701 (todo-files-function, todo-filter-done-items, todo-filter-files)
5702 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5703 (todo-initial-category, todo-initial-file, todo-item-mark)
5704 (todo-legacy-date-time-regexp, todo-mode-line-function)
5705 (todo-nondiary-marker, todo-number-prefix)
5706 (todo-print-buffer-function, todo-show-current-file)
5707 (todo-show-done-only, todo-show-first, todo-show-with-done)
5708 (todo-skip-archived-categories, todo-top-priorities-overrides)
5709 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5710 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5712 (todo-category-done, todo-date-pattern, todo-date-string-start)
5713 (todo-diary-items-buffer, todo-done-string-start)
5714 (todo-filtered-items-buffer, todo-item-start)
5715 (todo-month-abbrev-array, todo-month-name-array)
5716 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5717 (todo-top-priorities-buffer): New defconsts.
5718 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5719 (todo-categories-with-marks, todo-category-string-face)
5720 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5721 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5722 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5723 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5724 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5725 (todo-font-lock-keywords, todo-global-current-todo-file)
5726 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5727 (todo-insertion-commands-args)
5728 (todo-insertion-commands-args-genlist)
5729 (todo-insertion-commands-names, todo-insertion-map)
5730 (todo-key-bindings-t, todo-key-bindings-t+a)
5731 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5732 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5733 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5734 (todo-visited): New variables.
5736 2013-06-21 Glenn Morris <rgm@gnu.org>
5738 * play/cookie1.el (cookie-apropos): Add optional display argument.
5739 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5740 (psychoanalyze-pinhead): Use cookie-doctor.
5742 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5744 * emacs-lisp/package.el (tar-get-file-descriptor)
5745 (tar--extract): Declare.
5747 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5749 Extend flymake's warning predicate to be a function (bug#14217).
5750 * progmodes/flymake.el (flymake-warning-predicate): New.
5751 (flymake-parse-line): Use it.
5752 (flymake-warning-re): Make obsolete alias to
5753 `flymake-warning-predicate'.
5755 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5757 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5758 (package-obsolete-list): Remove.
5759 (package-activate): Remove min-version argument. Add `force' argument.
5760 Adjust to new package-alist format.
5761 (package-mark-obsolete): Remove.
5762 (package-unpack): Force reload of the package's autoloads.
5763 (package-installed-p): Check builtins if the installed package is not
5765 (package-initialize): Don't reset package-obsolete-list.
5766 Don't specify which package version to activate.
5767 (package-process-define-package, describe-package-1)
5768 (package-menu--generate): Adjust to new package-alist format.
5770 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5772 * allout-widgets.el (allout-widgets-mode-off)
5773 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5774 (allout-widgets-post-command-business)
5775 (allout-widgets-after-copy-or-kill-function)
5776 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5777 (allout-decorate-item-and-context)
5778 (allout-graphics-modification-handler): Fix typos in docstrings.
5779 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5781 * cmuscheme.el (scheme-start-file): Doc fix.
5782 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5783 (scheme-input-filter): Use `string-match-p'.
5785 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5787 * dired-x.el: Use Dired consistently in docstrings.
5789 * dired.el: Use Dired consistently in docstrings.
5790 (dired-readin, dired-mode): Use `setq-local'.
5791 (dired-switches-alist): Make defvar-local.
5792 (dired-buffers-for-dir): Use `zerop'.
5793 (dired-safe-switches-p, dired-switches-escape-p)
5794 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5795 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5796 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5797 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5798 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5799 (dired-toggle-marks, dired-mark-files-containing-regexp)
5800 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5801 (dired-flag-auto-save-files, dired-flag-backup-files):
5803 (dired-mark-files-regexp, dired-build-subdir-alist):
5804 Use `string-match-p', `looking-at-p'.
5806 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5807 (direct-print-region-helper): Use `string-match-p'.
5809 2013-06-21 Leo Liu <sdl.web@gmail.com>
5811 * comint.el (comint-redirect-results-list-from-process):
5814 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5816 * net/eww.el (eww-update-header-line-format): Quote % characters.
5818 2013-06-21 Glenn Morris <rgm@gnu.org>
5820 * play/cookie1.el (cookie): New custom group.
5821 (cookie-file): New option.
5822 (cookie-check-file): New function.
5823 (cookie): Make it interactive. Make start and end messages optional.
5824 Interactively, display the result. Default to cookie-file.
5825 (cookie-insert): Default to cookie-file.
5826 (cookie-snarf): Make start and end messages optional.
5827 Default to cookie-file. Use with-temp-buffer.
5828 (cookie-read): Rename from read-cookie.
5829 Make start and end messages optional. Default to cookie-file.
5830 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5832 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5833 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5835 2013-06-21 Leo Liu <sdl.web@gmail.com>
5837 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5839 2013-06-21 Glenn Morris <rgm@gnu.org>
5841 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5843 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5844 Daniel Hackney <dan@haxney.org>
5846 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5847 Consolidate the single-file vs tarball code.
5848 (package-desc-suffix): New function.
5849 (package-desc-full-name): Don't bother inlining it.
5850 (package-load-descriptor): Return the new package-desc.
5851 (package-mark-obsolete): Remove unused arg `package'.
5852 (package-unpack): Make it work for single files as well.
5853 Make it update package-alist.
5854 (package--make-autoloads-and-stuff): Rename from
5855 package--make-autoloads-and-compile. Don't compile any more.
5856 (package--compile): New function.
5857 (package-generate-description-file): New function, extracted from
5858 package-unpack-single.
5859 (package-unpack-single): Remove.
5860 (package--with-work-buffer): Add indentation and debugging info.
5861 (package-download-single): Remove.
5862 (package-install-from-archive): Rename from package-download-tar, make
5863 it take a pkg-desc, and make it work for single files as well.
5864 (package-download-transaction): Simplify.
5865 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5866 external tar program.
5867 (package-install-from-buffer): Remove `pkg-desc' argument.
5868 Use package-tar-file-info for tar-mode buffers.
5869 (package-install-file): Simplify accordingly.
5870 (package-archive-base): Change to take a pkg-desc.
5871 * tar-mode.el (tar--check-descriptor): New function, extracted from
5873 (tar-get-descriptor): Use it.
5874 (tar-get-file-descriptor): New function.
5875 (tar--extract): New function, extracted from tar-extract.
5876 (tar--extract): Use it.
5877 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5878 case the summary uses non-ascii. Adjust to new calling convention of
5879 package-tar-file-info.
5881 2013-06-21 Leo Liu <sdl.web@gmail.com>
5883 * comint.el (comint-redirect-results-list-from-process):
5884 Fix random delay. (Bug#14681)
5886 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5888 * profiler.el (profiler-format-number): Use log, not log10.
5890 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5892 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5894 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5896 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5897 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5899 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5900 (AUTOGENEL): ... here.
5901 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5902 (cl--defsubst-expand): Use it.
5904 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5906 * subr.el (log10): Move here from C code, and declare as obsolete.
5907 All uses of (log10 X) replaced with (log X 10).
5909 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5911 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5912 Declare with `defvar-local'.
5913 (tabulated-list-use-header-line, tabulated-list-entries)
5914 (tabulated-list-padding, tabulated-list-printer)
5915 (tabulated-list-sort-key): Declare with `defvar-local'.
5916 (tabulated-list-init-header, tabulated-list-print-fake-header):
5919 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5921 * arc-mode.el (archive-mode): Add `archive-write-file' to
5922 `write-contents-functions' also for remote files. (Bug#14652)
5924 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5926 * cus-edit.el (custom-commands): Fix typos.
5927 (custom-display): Fix tooltip text.
5928 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5929 Fix typos in docstrings.
5930 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5931 (custom-unlispify-menu-entry, custom-magic-value-create)
5932 (custom-add-see-also, custom-group-value-create): Use ?\s.
5933 (custom-guess-type, customize-apropos, editable-field)
5934 (custom-face-value-create): Use `string-match-p'.
5935 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5937 * custom.el (custom-load-symbol): Use `string-match-p'.
5939 * ansi-color.el: Convert to lexical binding.
5940 (ansi-colors): Fix URL.
5941 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5942 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5943 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5945 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5947 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5949 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5951 2013-06-19 Tom Tromey <tromey@redhat.com>
5953 * net/eww.el (eww-top-url): Remove.
5954 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5955 (eww-render): Set new variables. Don't set eww-top-url.
5956 (eww-handle-link): Handle "prev", "home", and "contents".
5957 Downcase the rel text.
5958 (eww-top-url): Choose best top URL.
5960 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5962 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5963 relying in widget.el. Using widget.el leads to too many
5964 user interface inconsistencies.
5965 (eww-self-insert): Implement entering commands in text fields.
5966 (eww-process-text-input): New function to make text input field editing
5968 (eww-submit): Rewrite to use the new-style form methods.
5969 (eww-select-display): Display the correct selected item.
5970 (eww-change-select): Implement changing the select value.
5971 (eww-toggle-checkbox): Implement radio/checkboxes.
5972 (eww-update-field): Fix compilation error.
5973 (eww-tag-textarea): Implement <textarea>.
5975 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5976 we don't shadow mode-specific bindings.
5978 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5981 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5983 2013-06-19 Glenn Morris <rgm@gnu.org>
5985 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5987 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5989 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5992 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5994 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5996 * net/browse-url.el (browse-url-browser-function):
5997 `eww-browse-url' has the right calling signature, `eww' does not.
5999 2013-06-19 Glenn Morris <rgm@gnu.org>
6001 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6002 Only eval autoloaded macros.
6003 (byte-compile-autoload): Only give the macro warning for macros.
6005 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
6006 (ps-underlined-faces): Declare.
6008 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
6009 (speedbar-add-supported-extension): Declare.
6011 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
6012 Don't include a date stamp in the header of the generated file;
6013 it leads to needless differences between output files.
6015 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
6017 * net/secrets.el (secrets-struct-secret-content-type):
6018 Replace check of introspection data by a test call of "CreateItem".
6019 Some servers do not offer introspection.
6021 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * electric.el (electric-pair-mode): Improve interaction with
6024 electric-layout-mode.
6025 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
6026 (electric-pair-syntax): Use text-mode-syntax-table in comments
6028 (electric-pair--insert): New function.
6029 (electric-pair-post-self-insert-function): Use it and
6030 electric--after-char-pos.
6032 2013-06-19 Leo Liu <sdl.web@gmail.com>
6034 * progmodes/octave.el (octave-help): Fix regexp.
6036 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
6038 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
6039 (shr-table-horizontal-line): Allow nil as a value, and change the
6041 (shr-insert-table-ruler): Respect the nil value.
6043 2013-06-18 Tom Tromey <tromey@barimba>
6045 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6047 (eww-open-file): New defun.
6048 (eww-render): Initialize new variables.
6049 (eww-display-html): Handle "link" and "a".
6050 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
6051 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
6052 (eww-back-url): Rename from eww-previous-url.
6053 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
6056 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
6058 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
6059 Distinguish ternary operator tokens from slash symbol and slash
6062 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6064 Convert symbol prettification into minor mode and global minor mode.
6066 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
6067 `prog-prettify-symbols', and make a local defvar instead of defcustom.
6068 (prettify-symbols--keywords): Rename from
6069 `prog-prettify-symbols-alist' and make a local defvar.
6070 (prettify-symbols--compose-symbol): Rename from
6071 `prog--prettify-font-lock-compose-symbol'.
6072 (prettify-symbols--make-keywords): Rename from
6073 `prog-prettify-font-lock-symbols-keywords' and simplify.
6074 (prog-prettify-install): Remove.
6075 (prettify-symbols-mode): New minor mode, based on
6076 `prog-prettify-install'.
6077 (turn-on-prettify-symbols-mode): New function.
6078 (global-prettify-symbols-mode): New globalized minor mode.
6080 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6081 * progmodes/cfengine.el (cfengine3-mode):
6082 * progmodes/perl-mode.el (perl-mode): Don't call
6083 `prog-prettify-install'; set `prettify-symbols-alist' instead.
6085 2013-06-18 Juri Linkov <juri@jurta.org>
6087 * files-x.el (modify-file-local-variable-message): New function.
6088 (modify-file-local-variable)
6089 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
6090 and call `modify-file-local-variable-message' when it's non-nil.
6091 (add-file-local-variable, delete-file-local-variable)
6092 (add-file-local-variable-prop-line)
6093 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
6094 and use it. (Bug#9820)
6096 2013-06-18 Juri Linkov <juri@jurta.org>
6098 * emulation/vi.el (vi-shell-op):
6099 * emulation/vip.el (vip-execute-com, ex-command):
6100 * emulation/viper-cmd.el (viper-exec-bang):
6101 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
6102 the call of `shell-command-on-region'. (Bug#14637)
6104 * simple.el (shell-command-on-region): Doc fix.
6106 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
6111 2013-06-18 Glenn Morris <rgm@gnu.org>
6113 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
6115 * newcomment.el (comment-search-forward, comment-search-backward):
6116 Doc fix. (Bug#14376)
6118 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
6120 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
6121 (buffer-face-mode-invoke): Doc fix.
6123 2013-06-18 Matthias Meulien <orontee@gmail.com>
6125 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
6126 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
6128 2013-06-18 Glenn Morris <rgm@gnu.org>
6130 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
6131 Replace obsolete function generic-make-keywords with its expansion.
6133 * progmodes/python.el (ffap-alist): Declare.
6135 * textmodes/reftex.el (bibtex-mode-map): Declare.
6137 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
6139 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
6140 (package-unpack, package-unpack-single): Return the pkg-dir.
6141 (package-download-transaction): Use it to update package-alist.
6143 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
6145 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
6148 2013-06-17 Juri Linkov <juri@jurta.org>
6150 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
6152 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6154 * emacs-lisp/package.el (package-load-descriptor):
6155 Remove `with-syntax-table' call, `read' doesn't need it.
6156 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
6158 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6160 * startup.el (command-line): Expand package name returned by
6161 `package--description-file' (bug#14639).
6163 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
6165 * emacs-lisp/package.el (package-load-descriptor): Do not call
6166 `emacs-lisp-mode', just use its syntax table.
6168 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
6170 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
6171 `font-lock-extra-managed-props' if any prettifying keyword is added.
6172 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
6173 (prog-mode): Use `setq-local'.
6175 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
6177 * international/characters.el (standard-case-table): Set syntax of ?»
6178 and ?« to punctuation.
6180 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
6182 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
6183 Save relevant match data before calling `syntax-ppss' (bug#14595).
6185 2013-06-15 Juri Linkov <juri@jurta.org>
6187 * files-x.el (modify-file-local-variable-prop-line): Add local
6188 variables to the end of the existing comment on the first line.
6189 Use `file-auto-mode-skip' to skip interpreter magic line,
6190 and also skip XML declaration.
6192 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
6194 * startup.el (package--builtin-versions): New var.
6195 (package-subdirectory-regexp): Remove.
6196 (package--description-file): Hard code its value instead.
6198 * emacs-lisp/package.el: Don't activate packages older than builtin.
6199 (package-obsolete-list): Rename from package-obsolete-alist, and make
6200 it into a simple list of package-desc.
6201 (package-strip-version): Remove.
6202 (package-built-in-p): Use package--builtin-versions.
6203 (package-mark-obsolete): Simplify.
6204 (package-process-define-package): Mark it obsolete if older than the
6206 (package-handle-response): Use line-end-position.
6207 (package-read-archive-contents, package--download-one-archive):
6209 (package--add-to-archive-contents): Skip if older than the builtin or
6211 (package-menu-describe-package): Fix last change.
6212 (package-list-unversioned): New var.
6213 (package-menu--generate): Use it.
6215 * emacs-lisp/autoload.el: Manage package--builtin-versions.
6216 (autoload--insert-text, autoload--insert-cookie-text): New functions.
6217 (autoload-builtin-package-versions): New variable.
6218 (autoload-generate-file-autoloads): Use them.
6219 Remove the list of autoloaded functions/macros from the
6220 (autoload...) comments.
6222 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6224 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6226 * simple.el (line-move-partial): Don't jump to the next screen
6227 line as soon as it becomes visible. Instead, continue enlarging
6228 the vscroll until the portion of a tall screen line that's left on
6229 display is about the height of the frame's default font.
6232 2013-06-15 Glenn Morris <rgm@gnu.org>
6234 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6235 compilation-error-regexp-alist void, or local while let-bound.
6237 * progmodes/make-mode.el (makefile-mode-syntax-table):
6238 Treat "=" as punctuation. (Bug#14614)
6240 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6242 * help-fns.el (describe-variable):
6243 Add extra line for permanent-local variables.
6245 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6247 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6248 Add export, import, library. (Bug#9164)
6249 (library): Set indent function.
6251 2013-06-14 Glenn Morris <rgm@gnu.org>
6253 * term/xterm.el (xterm--query):
6254 Stop after first matching handler. (Bug#14615)
6256 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6258 Add support for dired in saveplace.
6259 * dired.el (dired-initial-position-hook): New variable.
6260 (dired-initial-position): Call hook to place cursor position.
6261 * saveplace.el (save-place-to-alist): Add dired position.
6262 (save-place-dired-hook): New function.
6264 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6266 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6267 through a symbol rather than letrec.
6269 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6270 (package-desc): Add `dir' field.
6271 (package-desc-full-name): New function.
6272 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6273 (package-maybe-load-descriptor): Remove.
6274 (package-load-all-descriptors): Just call package-load-descriptor.
6275 (package--disabled-p): New function.
6276 (package-desc-vers, package-desc-doc): Remove aliases.
6277 (package--dir): Remove function.
6278 (package-activate): Check if a package is disabled.
6279 (package-process-define-package): New function, extracted from
6281 (define-package): Turn into a place holder.
6282 (package-unpack-single, package-tar-file-info):
6283 Use package--description-file.
6284 (package-compute-transaction): Use package--disabled-p.
6285 (package-download-transaction): Don't call
6286 package-maybe-load-descriptor since they're all loaded anyway.
6287 (package-install): Change argument to be a pkg-desc.
6288 (package-delete): Use a single pkg-desc argument.
6289 (describe-package-1): Use package-desc-dir instead of package--dir.
6290 Use package-desc property instead of package-symbol.
6291 (package-install-button-action): Adjust accordingly.
6292 (package--push): Rewrite.
6293 (package-menu--print-info): Adjust accordingly. Change the ID format
6295 (package-menu-describe-package, package-menu-get-status)
6296 (package-menu--find-upgrades, package-menu-mark-upgrades)
6297 (package-menu-execute, package-menu--name-predicate):
6299 * startup.el (package--description-file): New function.
6300 (command-line): Use it.
6301 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6302 Use package-desc-version.
6304 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6305 (byte-compile-preprocess): Use it.
6306 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6307 can't quite recognize.
6308 (byte-compile-add-to-list): Remove.
6309 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6310 (cconv-closure-convert): Add assertion.
6312 * emacs-lisp/map-ynp.el: Use lexical-binding.
6313 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6314 Factor out some repeated code.
6316 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * subr.el (with-eval-after-load): New macro.
6319 (eval-after-load): Allow form to be a function.
6320 take advantage of lexical-binding.
6321 (do-after-load-evaluation): Use dolist and adjust to new format.
6322 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6324 2013-06-13 Juri Linkov <juri@jurta.org>
6326 * replace.el (perform-replace): Display "symbol " and other search
6327 modes from `isearch-message-prefix' in the *Help* buffer.
6329 * isearch.el (isearch-query-replace): Add " symbol" and other
6330 possible search modes from `isearch-message-prefix' to the prompt.
6331 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6332 when reading a regexp to collect.
6334 2013-06-13 Juri Linkov <juri@jurta.org>
6336 * isearch.el (word-search-regexp): Match whitespace if the search
6337 string begins or ends in whitespace. The LAX arg is applied to
6338 both ends of the search string. Use `regexp-quote' and explicit
6339 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6340 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6341 boundaries are replaced with symbol boundaries, and characters
6342 between symbols match non-word non-symbol syntax. (Bug#14602)
6344 2013-06-13 Juri Linkov <juri@jurta.org>
6346 * isearch.el (isearch-del-char): Don't exceed the length of
6347 `isearch-string' by the prefix arg. (Bug#14563)
6349 2013-06-13 Juri Linkov <juri@jurta.org>
6351 * isearch.el (isearch-yank-word, isearch-yank-line)
6352 (isearch-char-by-name, isearch-quote-char)
6353 (isearch-printing-char, isearch-process-search-char):
6354 Add optional count prefix arg. (Bug#14563)
6356 * international/isearch-x.el
6357 (isearch-process-search-multibyte-characters):
6358 Add optional count prefix arg.
6360 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6363 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6366 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6368 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6370 2013-06-13 Glenn Morris <rgm@gnu.org>
6372 * startup.el (tty-handle-args):
6373 Don't just discard "--" and anything after. (Bug#14608)
6375 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6377 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6379 Implement changes in Secret Service API. Make it backward compatible.
6380 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6381 (secrets-create-item): Use it. Prefix properties with interface.
6383 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6385 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6386 (term-emulate-terminal): Respect term-suppress-hard-newline.
6388 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6390 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6391 Only remove a `thumb-file' overlay. (Bug#14548)
6393 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6395 * mail/reporter.el (reporter-submit-bug-report):
6396 Handle missing package-name. (Bug#14600)
6398 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6400 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6401 (reftex-citation-prompt, reftex-default-bibliography)
6402 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6403 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6404 (reftex-bib-sort-author, reftex-bib-sort-year)
6405 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6406 (reftex-extract-bib-entries-from-thebibliography)
6407 (reftex-get-bibkey-default, reftex-get-bib-names)
6408 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6409 (reftex-format-bib-entry, reftex-parse-bibitem)
6410 (reftex-format-bibitem, reftex-do-citation)
6411 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6412 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6413 (reftex-insert-bib-matches, reftex-format-citation)
6414 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6415 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6416 existing comments into docstrings.
6418 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6420 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6422 2013-06-12 Andreas Schwab <schwab@suse.de>
6424 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6425 for auto-save files.
6427 2013-06-12 Glenn Morris <rgm@gnu.org>
6429 * ido.el (ido-delete-ignored-files): Remove.
6430 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6431 Go back to calling ido-ignore-item-p directly.
6433 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6435 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6437 * ido.el (ido-delete-ignored-files): New function,
6438 split from ido-make-file-list-1.
6439 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6440 (ido-make-file-list-1): Use ido-delete-ignored-files.
6442 2013-06-12 Leo Liu <sdl.web@gmail.com>
6444 * progmodes/octave.el (inferior-octave-startup)
6445 (inferior-octave-completion-table)
6446 (inferior-octave-track-window-width-change)
6447 (octave-eldoc-function-signatures, octave-help)
6448 (octave-find-definition): Use single quoted strings.
6449 (inferior-octave-startup-args): Change default value.
6450 (inferior-octave-startup): Do not hard code "-i" and
6451 "--no-line-editing".
6452 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6453 (inferior-octave-directory-tracker): Use it.
6454 (octave-goto-function-definition): Robustify.
6455 (octave-help): Support highlighting operators in 'See also'.
6456 (octave-find-definition): Find subfunctions only in Octave mode.
6458 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6460 * help-fns.el (help-fns--compiler-macro): If the handler function is
6461 named, then put a link to it.
6462 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6463 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6465 (cl-eval-when): Simplify debug spec.
6466 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6467 compiler-macro function instead of setting `compiler-macro-file'.
6469 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6471 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6472 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6474 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6475 Daniel Hackney <dan@haxney.org>
6477 First part of Daniel Hackney's patch to package.el.
6478 * emacs-lisp/package.el: Use defstruct.
6479 (package-desc): New, main struct.
6480 (package--bi-desc, package--ac-desc): New structs, used to describe the
6481 format in external files.
6482 (package-desc-vers): Replace with package-desc-version accessor.
6483 (package-desc-doc): Replace with package-desc-summary accessor.
6484 (package-activate-1): Remove `package' arg since the pkg-vec now
6486 (define-package): Use package-desc-from-define.
6487 (package-unpack-single): Change file-name arg to be a symbol.
6488 (package--add-to-archive-contents): Use package-desc-create and new
6489 accessor functions to package--ac-desc.
6490 (package-buffer-info, package-tar-file-info): Return a package-desc.
6491 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6492 arg to be a package-desc.
6493 (package-install-file): Adjust accordingly. Use \' to match EOS.
6494 (package--from-builtin): New function.
6495 (describe-package-1, package-menu--generate): Use it.
6496 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6497 (package-generate-autoloads): Idem and return the name of the file.
6498 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6499 Change pkg-info arg to be a package-desc.
6500 Use package-make-ac-desc.
6501 (package-upload-file): Use \' to match EOS.
6502 * finder.el (finder-compile-keywords): Use package-make-builtin.
6504 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6506 * vc/vc.el (vc-deduce-fileset): Change error message.
6507 (vc-read-backend): New function.
6508 (vc-next-action): Use it.
6510 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6512 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6513 (prolog-font-lock-keywords): Use regexp-opt instead.
6514 Don't manually highlight strings.
6515 (prolog-mode-variables): Simplify comment-start-skip.
6516 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6518 * emacs-lisp/generic.el (generic--normalise-comments)
6519 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6520 (generic-mode-set-comments): Use them.
6521 (generic-bracket-support): Use setq-local.
6522 (generic-make-keywords-list): Declare obsolete.
6524 2013-06-11 Glenn Morris <rgm@gnu.org>
6526 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6527 Prettify after setting font-lock-defaults. (Bug#14574)
6529 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6531 * replace.el (query-replace, occur-read-regexp-defaults-function)
6533 * subr.el (declare-function, number-sequence, local-set-key)
6534 (substitute-key-definition, locate-user-emacs-file)
6535 (with-silent-modifications, split-string, eval-after-load):
6536 Fix typos, remove unneeded backslashes and reflow some docstrings.
6538 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6541 default for Elisp files.
6543 2013-06-11 Glenn Morris <rgm@gnu.org>
6545 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6546 although define-derived-mode was doing this anyway. (Bug#14583)
6548 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6550 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6551 Fix make-variable-buffer-local call to refer to the correct variable.
6553 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6555 * eshell/em-term.el (eshell-visual-commands)
6556 (eshell-visual-subcommands, eshell-visual-options):
6557 Add summary line to docstrings. Add cross-references.
6559 2013-06-10 Glenn Morris <rgm@gnu.org>
6561 * epa.el (epa-read-file-name): New function. (Bug#14510)
6562 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6564 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6566 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6567 output redirection to be ignored with visual commands.
6569 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6571 * eshell/em-term.el (eshell-visual-command-p): New function.
6572 (eshell-term-initialize): Move long lambda to separate function
6573 eshell-visual-command-p.
6574 * eshell/em-dirs.el (eshell-dirs-initialise):
6575 * eshell/em-script.el (eshell-script-initialize):
6576 Add missing #' to lambda.
6578 2013-06-08 Leo Liu <sdl.web@gmail.com>
6580 * progmodes/octave.el (octave-add-log-current-defun): New function.
6581 (octave-mode): Set add-log-current-defun-function.
6582 (octave-goto-function-definition): Do not move point if not found.
6583 (octave-find-definition): Enhance to try subfunctions first.
6585 2013-06-08 Glenn Morris <rgm@gnu.org>
6587 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6588 (byte-compile-backward-char, byte-compile-backward-word):
6589 Improve previous change, to handle non-explicit nil.
6591 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6593 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6594 (smie--opener/closer-at-point): New function.
6595 (smie--matching-block-data): Use it. Don't match from right after an
6596 opener or right before a closer. Obey smie-blink-matching-inners.
6597 Don't signal a mismatch for repeated inners like "switch..case..case".
6599 2013-06-07 Leo Liu <sdl.web@gmail.com>
6601 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6603 (octave-function-header-regexp): Fix. (Bug#14570)
6604 (octave-help-mode-finish-hook, octave-help-mode-finish):
6605 Remove. Just use temp-buffer-show-hook.
6607 * newcomment.el (comment-search-backward): Revert last change.
6610 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6612 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6614 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6615 through xargs, to avoid failure due to MS-Windows limitations on
6616 command-line length.
6618 2013-06-06 Glenn Morris <rgm@gnu.org>
6620 * font-lock.el (lisp-font-lock-keywords-2):
6621 Treat user-error like error.
6623 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6624 (byte-compile-backward-char, byte-compile-backward-word):
6625 Handle explicit nil arguments. (Bug#14565)
6627 2013-06-05 Alan Mackenzie <acm@muc.de>
6629 * isearch.el (isearch-allow-prefix): New user option.
6630 (isearch-other-meta-char): Don't exit isearch when a prefix
6631 argument is typed whilst `isearch-allow-prefix' is non-nil.
6634 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * autorevert.el (auto-revert-notify-handler): Use memq.
6637 Hide assertion failure.
6639 * skeleton.el: Use cl-lib.
6640 (skeleton-further-elements): Use defvar-local.
6641 (skeleton-insert): Use cl-progv.
6643 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6645 * progmodes/prog-mode.el (prog-prettify-symbols)
6646 (prog-prettify-install): Update docstrings.
6648 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6650 * simple.el: Move all the prog-mode code to prog-mode.el.
6651 * progmodes/prog-mode.el: New file.
6652 * loadup.el: Add prog-mode.el.
6654 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6656 * simple.el (prog-prettify-symbols): Add version.
6657 (prog-prettify-install): Add convenience function to prettify symbols.
6659 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6660 (perl--augmented-font-lock-keywords-1)
6661 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6662 variables and use it.
6664 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6665 (cfengine3-mode): Remove unneeded variable and use it.
6667 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6668 (lisp--augmented-font-lock-keywords-1)
6669 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6670 Remove unneeded variables and use it.
6672 2013-06-05 João Távora <joaotavora@gmail.com>
6674 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6675 to point when opening the connection. (Bug#14380)
6677 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6679 * subr.el (load-history-regexp, load-history-filename-element)
6680 (eval-after-load, after-load-functions, do-after-load-evaluation)
6681 (eval-next-after-load, display-delayed-warnings)
6682 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6683 definition of save-match-data.
6684 (overriding-local-map): Remove accidental obsolescence declaration.
6686 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6688 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6690 Generalize symbol prettify support to prog-mode and implement it
6691 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6692 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6693 (prog--prettify-font-lock-compose-symbol)
6694 (prog-prettify-font-lock-symbols-keywords): New variables and
6695 functions to support symbol prettification.
6696 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6697 (lisp--augmented-font-lock-keywords-1)
6698 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6699 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6700 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6701 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6702 Implement prettify of -> => :: strings.
6703 * progmodes/perl-mode.el (perl-prettify-symbols)
6704 (perl--font-lock-compose-symbol)
6705 (perl--font-lock-symbols-keywords): Move to prog-mode.
6706 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6707 (perl-font-lock-keywords-1)
6708 (perl-font-lock-keywords-2): Remove explicit prettify support.
6709 (perl--augmented-font-lock-keywords)
6710 (perl--augmented-font-lock-keywords-1)
6711 (perl--augmented-font-lock-keywords-2, perl-mode):
6712 Implement prettify support.
6714 2013-06-05 Leo Liu <sdl.web@gmail.com>
6716 Re-implement smie matching block highlight using
6717 show-paren-data-function. (Bug#14395)
6718 * emacs-lisp/smie.el (smie-matching-block-highlight)
6719 (smie--highlight-matching-block-overlay)
6720 (smie--highlight-matching-block-lastpos)
6721 (smie-highlight-matching-block)
6722 (smie-highlight-matching-block-mode): Remove.
6723 (smie--matching-block-data-cache): New variable.
6724 (smie--matching-block-data): New function.
6725 (smie-setup): Use smie--matching-block-data for
6726 show-paren-data-function.
6728 * progmodes/octave.el (octave-mode-menu): Fix.
6729 (octave-find-definition): Skip garbage lines.
6731 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6733 Fix compilation error with simultaneous dynamic+lexical scoping.
6734 Add warning when a defvar appears after the first let-binding.
6735 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6736 (byte-compile-close-variables): Initialize it.
6737 (byte-compile--declare-var): New function.
6738 (byte-compile-file-form-defvar)
6739 (byte-compile-file-form-define-abbrev-table)
6740 (byte-compile-file-form-custom-declare-variable): Use it.
6741 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6742 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6743 (byte-compile-bind): Handle dynamic bindings that shadow
6745 (byte-compile-unbind): Make arg non-optional.
6746 (byte-compile-let): Simplify.
6747 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6748 (cconv--analyse-function, cconv-analyse-form): Populate it.
6749 Protect byte-compile-bound-variables to limit the scope of defvars.
6750 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6751 Remove unneeded rule for `declare'.
6753 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6754 so as to avoid depending on cl-adjoin at run-time.
6755 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6757 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6758 (macroexp--warn-and-return): Use it.
6760 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6762 * lisp/subr.el: Convert to lexical binding.
6763 (overriding-local-map): Make obsolete.
6764 (add-to-list): Doc fix. Add compiler macro.
6765 (read-key): Swap values of local maps.
6767 2013-06-05 Leo Liu <sdl.web@gmail.com>
6769 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6771 2013-06-04 Leo Liu <sdl.web@gmail.com>
6773 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6774 (compilation-auto-jump): Suppress the "Mark set" message to give
6775 way to exit message.
6777 2013-06-04 Alan Mackenzie <acm@muc.de>
6779 Remove faulty optimisation from indentation calculation.
6780 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6781 search limit based on 2000 characters back from indent-point.
6783 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6785 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6787 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6789 * emacs-lisp/lisp.el: Use lexical-binding.
6790 (lisp--local-variables-1, lisp--local-variables): New functions.
6791 (lisp--local-variables-completion-table): New var.
6792 (lisp-completion-at-point): Use it complete let-bound vars.
6794 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6795 eagerly (bug#14422).
6797 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6799 * autorevert.el (auto-revert-notify-enabled)
6800 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6801 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6802 (auto-revert-notify-handler): Handle also gfilenotify.
6804 * subr.el (file-notify-handle-event): New defun. Replacing ...
6805 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6808 2013-06-03 Juri Linkov <juri@jurta.org>
6810 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6811 `M-s h .'. (Bug#14427)
6813 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6814 command `hi-lock-face-symbol-at-point'.
6815 (hi-lock-face-symbol-at-point): New command.
6816 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6817 (hi-lock-menu): Add `highlight-symbol-at-point'.
6818 (hi-lock-mode): Doc fix.
6820 * isearch.el (isearch-forward-symbol-at-point): New command.
6821 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6822 (isearch-highlight-regexp): Add a regexp which matches
6823 words/symbols for word/symbol mode.
6825 * subr.el (find-tag-default-bounds): New function with the body
6826 mostly moved from `find-tag-default'.
6827 (find-tag-default): Move most code to `find-tag-default-bounds',
6828 call it and apply `buffer-substring-no-properties' afterwards.
6830 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6832 * eshell/em-term.el (eshell-term-initialize):
6833 Use `cl-intersection' rather than `intersection'.
6835 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6837 * vc/log-view.el: Doc fix.
6838 (log-view-mode-map): Copy keymap from `special-mode-map'.
6840 2013-06-02 Eric Ludlam <zappo@gnu.org>
6842 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6843 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6844 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6845 (eieio-unbound, eieio-default-superclass)
6846 (eieio--define-field-accessors, method-static, method-before)
6847 (method-primary, method-after, method-num-lists)
6848 (method-generic-before, method-generic-primary)
6849 (method-generic-after, method-num-slots)
6850 (eieio-specialized-key-to-generic-key)
6851 (eieio--check-type, class-v, class-p)
6852 (eieio-class-name, define-obsolete-function-alias)
6853 (eieio-class-parents-fast, eieio-class-children-fast)
6854 (same-class-fast-p, class-constructor, generic-p)
6855 (generic-primary-only-p, generic-primary-only-one-p)
6856 (class-option-assoc, class-option, eieio-object-p)
6857 (class-abstract-p, class-method-invocation-order)
6858 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6859 (eieio-class-un-autoload, eieio-defclass)
6860 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6861 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6862 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6863 (eieio-defgeneric-reset-generic-form)
6864 (eieio-defgeneric-form-primary-only)
6865 (eieio-defgeneric-reset-generic-form-primary-only)
6866 (eieio-defgeneric-form-primary-only-one)
6867 (eieio-defgeneric-reset-generic-form-primary-only-one)
6868 (eieio-unbind-method-implementations)
6869 (eieio--defmethod, eieio--typep)
6870 (eieio-perform-slot-validation, eieio-validate-slot-value)
6871 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6872 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6873 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6874 (eieio-slot-name-index, eieio-class-slot-name-index)
6875 (eieio-set-defaults, eieio-initarg-to-attribute)
6876 (eieio-attribute-to-initarg, eieio-c3-candidate)
6877 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6878 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6879 (eieio-class-precedence-list, eieio-generic-call-methodname)
6880 (eieio-generic-call-arglst, eieio-generic-call-key)
6881 (eieio-generic-call-next-method-list)
6882 (eieio-pre-method-execution-functions, eieio-generic-call)
6883 (eieio-generic-call-primary-only, eieiomt-method-list)
6884 (eieiomt-optimizing-obarray, eieiomt-install)
6885 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6886 (eieio-generic-form, eieio-defmethod, make-obsolete)
6887 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6888 (defclass): Remove `eval-and-compile' from macro.
6889 (call-next-method, shared-initialize): Instead of using
6890 `scoped-class' variable, use new eieio--scoped-class, and
6891 eieio--with-scoped-class.
6892 (initialize-instance): Rename local variable 'scoped-class' to
6893 'this-class' to remove ambiguitity from old global.
6895 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6897 (eieio--scoped-class-stack): New variable.
6898 (eieio--scoped-class): New fcn.
6899 (eieio--with-scoped-class): New scoping macro.
6900 (eieio-defclass): Use pushnew instead of add-to-list.
6901 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6902 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6903 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6904 `scoped-class' variable, use new eieio--scoped-class, and
6905 eieio--with-scoped-class.
6907 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6909 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6911 * eshell/esh-ext.el (eshell-external-command): Pass args to
6912 `eshell-find-interpreter'.
6913 (eshell-find-interpreter): Add new second parameter ARGS.
6915 * eshell/em-script.el (eshell-script-initialize): Add second arg
6916 to the function added as MATCH to `eshell-interpreter-alist'.
6918 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6919 the function added as MATCH to `eshell-interpreter-alist'.
6921 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6922 (eshell-visual-options): New defcustom.
6923 (eshell-escape-control-x): Adapt docstring.
6924 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6925 `eshell-visual-options' in addition to `eshell-visual-commands'.
6926 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6928 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6930 * progmodes/python.el (python-indent-block-enders): Add break,
6931 continue and raise keywords.
6933 2013-06-01 Glenn Morris <rgm@gnu.org>
6935 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6937 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6938 * progmodes/cc-cmds.el (delete-forward-p):
6939 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6940 * progmodes/cc-engine.el (buffer-syntactic-context):
6941 * progmodes/cc-fonts.el (face-property-instance):
6942 * progmodes/cc-mode.el (set-keymap-parents):
6943 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6944 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6945 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6946 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6947 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6949 * progmodes/cc-vars.el (other): Emacs has this widget since
6950 at least 21.1, so don't (re)define it.
6952 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6953 Replace the obsolete alias pcomplete-arg-quote-list.
6955 2013-06-01 Leo Liu <sdl.web@gmail.com>
6957 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6959 (inferior-octave-minimal-columns)
6960 (inferior-octave-last-column-width): New variables.
6961 (inferior-octave-track-window-width-change): New function.
6962 (inferior-octave-mode): Adjust column width so that Octave output,
6963 for example from 'ls', can fit into the window nicely.
6965 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6967 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6968 Highlight expansions inside regexp literals.
6970 2013-05-31 Glenn Morris <rgm@gnu.org>
6972 * obsolete/sym-comp.el (symbol-complete):
6973 Replace obsolete completion-annotate-function.
6975 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6977 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6979 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6980 New function, checks if point is inside a literal that allows
6981 expression expansion.
6982 (ruby-syntax-propertize-expansion): Use it.
6983 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6986 2013-05-30 Juri Linkov <juri@jurta.org>
6988 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6990 (isearch-invisible): New variable.
6991 (isearch-forward): Doc fix.
6992 (isearch-mode): Set `isearch-invisible'
6993 to the value of `search-invisible'.
6994 (isearch-toggle-case-fold): Doc fix.
6995 (isearch-toggle-invisible): New command.
6996 (isearch-query-replace): Let-bind `search-invisible'
6997 to the value of `isearch-invisible'.
6998 (isearch-search): Use `isearch-invisible' instead of
6999 `search-invisible'. Let-bind `search-invisible'
7000 to the value of `isearch-invisible'. (Bug#11378)
7002 2013-05-30 Juri Linkov <juri@jurta.org>
7004 * replace.el (perform-replace): Avoid `isearch-range-invisible'
7005 call when `query-flag' is nil and `search-invisible' is non-nil.
7008 2013-05-30 Glenn Morris <rgm@gnu.org>
7010 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
7012 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
7013 (cc-require): Suppress spurious "noruntime" warnings.
7014 (cc-require-when-compile): Use fboundp, for sake of compiler.
7016 * progmodes/cc-mode.el: Move load of cc-vars before that of
7017 cc-langs (which in turn loads cc-vars), to quieten compiler.
7019 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7021 * paren.el: Simplify the code.
7022 (show-paren-mode): Always start the timer.
7023 (show-paren--idle-timer): Rename from show-paren-idle-timer.
7024 (show-paren--overlay, show-paren--overlay-1): Rename from
7025 show-paren-overlay and show-paren-overlay-1, and initialize to an
7026 overlay rather than to nil.
7027 (show-paren-function): Misc cleanup and simplifications.
7029 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
7031 * paren.el (show-paren-data-function): New hook.
7032 (show-paren--default): New function, extracted from show-paren-function.
7033 (show-paren-function): Use show-paren-data-function.
7035 2013-05-30 Glenn Morris <rgm@gnu.org>
7037 * ielm.el (ielm-map, ielm-complete-symbol):
7038 Use completion-at-point rather than obsolete functions.
7039 (inferior-emacs-lisp-mode): Doc fix.
7040 Set completion-at-point-functions, rather than
7041 comint-dynamic-complete-functions.
7043 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
7044 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
7045 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
7047 * image.el (image-animated-p): Tweak definition.
7049 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
7050 (rlogin-process-connection-type): Tweak default. Add set-after.
7051 (rlogin-host): Doc fix.
7052 (rlogin): Tweak prompt.
7053 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
7055 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
7056 * progmodes/tcl.el (inferior-tcl-mode-map):
7057 Use completion-at-point rather than obsolete alias.
7059 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
7061 * minibuffer.el (read-file-name-completion-ignore-case):
7062 Move before completion--in-region, for eager macro expansion.
7064 2013-05-29 Juri Linkov <juri@jurta.org>
7066 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
7067 for total count of matching lines. Add `global-matches' for total
7068 count of matches. Rename `matches' to `lines' for count of
7069 matching lines. Add `matches' for count of matches.
7070 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
7071 to `prev-line' for line number of prev match endpt.
7072 Increment `matches' for every match. Print the number of
7073 matching lines in the header.
7074 (occur-context-lines): Rename `lines' to `curr-line'.
7075 Rename `prev-lines' to `prev-line'. (Bug#14017)
7077 2013-05-29 Juri Linkov <juri@jurta.org>
7079 * replace.el (perform-replace): Add `skip-read-only-count',
7080 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
7081 Increment them for corresponding conditions and report the number
7082 of skipped occurrences in the final message. (Bug#11746)
7083 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7084 (replace-string, replace-regexp): Doc fix.
7086 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
7088 * emacs-lisp/trace.el (trace--read-args): Provide a default.
7090 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
7091 prog-mode-map (bug#14504).
7093 2013-05-29 Leo Liu <sdl.web@gmail.com>
7095 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
7096 (octave-help): Small simplification.
7098 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
7099 off the highlight first.
7101 2013-05-29 Glenn Morris <rgm@gnu.org>
7103 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
7104 Handle idlwave-last-system-routine-info-cons-cell being nil.
7106 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
7107 (idlwave-write-paths): Simplify via with-temp-buffer.
7109 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
7110 * emulation/cua-rect.el: Also load cua-base at run time.
7112 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
7113 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
7114 (cperl-imenu-on-info): Require imenu.
7116 2013-05-28 Alan Mackenzie <acm@muc.de>
7118 Handle "capitalised keywords" correctly.
7119 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
7121 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
7123 * eshell/em-unix.el: Add -r option to cp.
7125 2013-05-28 Glenn Morris <rgm@gnu.org>
7127 * vc/vc-arch.el (vc-exec-after): Declare.
7128 (vc-switches): Autoload.
7129 * vc/vc-bzr.el: No need to require vc when compiling.
7130 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
7131 (vc-resynch-buffer, vc-dir-refresh): Declare.
7132 (vc-setup-buffer, vc-switches): Autoload.
7133 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
7134 (vc-resynch-buffer): Declare.
7135 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
7136 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
7137 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
7138 (grep-read-regexp, grep-read-files, grep-expand-template)
7139 (vc-dir-refresh): Declare.
7140 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
7141 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
7142 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
7143 * vc/vc-mtn.el (vc-exec-after): Declare.
7144 (vc-switches): Autoload.
7145 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
7146 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
7147 (vc-file-tree-walk): Declare.
7148 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
7149 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
7150 (vc-tag-precondition, vc-rename-master): Autoload.
7151 * vc/vc-svn.el (vc-exec-after): Declare.
7152 (vc-switches, vc-setup-buffer): Autoload.
7153 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
7155 (vc-resynch-buffer): Declare.
7157 * obsolete/fast-lock.el (byte-compile-warnings):
7158 Don't warn about obsolete features in this obsolete file.
7160 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
7161 Move definition before use.
7163 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
7164 (dun-unix-verbs): Remove dun-zippy.
7165 (dun-zippy): Remove function.
7167 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
7169 2013-05-27 Juri Linkov <juri@jurta.org>
7171 * replace.el (replace-search): New function with code moved out
7172 from `perform-replace'.
7173 (replace-highlight, replace-dehighlight): Move function definitions
7174 up closer to `replace-search'. (Bug#11746)
7176 2013-05-27 Juri Linkov <juri@jurta.org>
7178 * replace.el (perform-replace): Ignore invisible matches.
7179 In addition to checking `query-replace-skip-read-only', also
7180 filter out matches by calling `run-hook-with-args-until-failure'
7181 on `isearch-filter-predicates', and also check `search-invisible'
7182 for t or call `isearch-range-invisible'.
7183 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
7185 2013-05-27 Juri Linkov <juri@jurta.org>
7187 * isearch.el (isearch-filter-predicates): Rename from
7188 `isearch-filter-predicate'. Doc fix. (Bug#11378)
7189 (isearch-message-prefix): Display text from the property
7190 `isearch-message-prefix' of the currently active filters.
7191 (isearch-search): Don't compare `isearch-filter-predicate' with
7192 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
7193 on `isearch-filter-predicates'. Also check `search-invisible' for t
7194 or call `isearch-range-invisible'.
7195 (isearch-filter-visible): Make obsolete.
7196 (isearch-lazy-highlight-search):
7197 Call `run-hook-with-args-until-failure' on
7198 `isearch-filter-predicates' and use `isearch-range-invisible'.
7200 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
7201 `isearch-filter-predicates' instead of `funcall'ing
7202 `isearch-filter-predicate'.
7203 (Info-mode): Set `Info-isearch-filter' to
7204 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
7206 * dired-aux.el (dired-isearch-filter-predicate-orig):
7208 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
7209 (dired-isearch-filenames-end): Add and remove
7210 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
7211 instead of changing the value of `isearch-filter-predicate'.
7212 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
7213 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
7214 Put property `isearch-message-prefix' to "filename " on
7215 `dired-isearch-filter-filenames'.
7217 * wdired.el (wdired-change-to-wdired-mode):
7218 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
7219 locally instead of changing `isearch-filter-predicate'.
7220 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
7222 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
7224 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
7225 return the commit hash (Bug#14459). Also set the
7226 `vc-git-detached' property.
7227 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
7228 (vc-git-mode-line-string): Use the same help-echo format whether
7229 in detached mode or not, because we know the actual revision now.
7230 When in detached mode, shorten the revision to 7 chars.
7232 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7234 * emacs-lisp/easy-mmode.el (define-minor-mode):
7235 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7236 mode hook and provide a docstring.
7238 2013-05-27 Alan Mackenzie <acm@muc.de>
7240 Remove spurious syntax-table text properties inserted by C-y.
7241 * progmodes/cc-mode.el (c-after-change): Also clear hard
7242 syntax-table property with value nil.
7244 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7246 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7247 when reading the events; the buffer layout shall not be changed.
7249 2013-05-27 Leo Liu <sdl.web@gmail.com>
7251 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7253 (inferior-octave-directory-tracker): Automatically re-sync
7255 (octave-help): Improve handling of 'See also'.
7257 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7259 * doc-view.el: Minor naming convention tweaks.
7260 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7262 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7263 even if there's no `display' property yet (bug#14435).
7265 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7267 * subr.el (unmsys--file-name): Rename from reveal-filename.
7269 * Makefile.in (custom-deps, finder-data, autoloads)
7270 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7271 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7272 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7274 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7276 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7277 error-completion on the first 2 args of condition-case (bug#14446).
7280 2013-05-25 Leo Liu <sdl.web@gmail.com>
7282 * comint.el (comint-previous-matching-input): Do not flood the
7283 *Messages* buffer with trivial messages.
7285 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7287 * progmodes/flymake.el (flymake-nop): Don't return a string.
7288 (flymake-set-at): Fix typo.
7290 * simple.el (read--expression): New function, extracted from
7291 eval-expression. Set completion-at-point-functions (bug#14465).
7292 (eval-expression, eval-minibuffer): Use it.
7294 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7296 * progmodes/flymake.el (flymake-save-buffer-in-file)
7297 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7298 (flymake-selected-frame, flymake-log, flymake-ins-after)
7299 (flymake-set-at, flymake-get-buildfile-from-cache)
7300 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7301 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7302 Refine the doc string.
7303 (flymake-get-file-name-mode-and-masks): Reformat.
7304 (flymake-get-real-file-name-function): Fix a minor bug.
7306 2013-05-24 Juri Linkov <juri@jurta.org>
7308 * progmodes/grep.el (grep-mode-font-lock-keywords):
7309 Support =linenumber= format used by git-grep for lines with
7310 function names. (Bug#13549)
7312 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7314 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7315 0 after a semi-colon; it works better for smie-auto-fill.
7316 (octave--indent-new-comment-line): New function.
7317 (octave-indent-new-comment-line): Use it (indirectly).
7318 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7319 modify comment-line-break-function.
7321 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7322 (smie-setup): Use add-function to set it.
7324 2013-05-24 Sam Steingold <sds@gnu.org>
7326 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7327 argument (before the `interactive' argument).
7329 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7331 * image-mode.el (image-mode-winprops): Add winprops to
7332 image-mode-winprops-alist before running
7333 image-mode-new-window-functions.
7334 * doc-view.el (doc-view-new-window-function): Don't delay
7335 doc-view-goto-page via timers (bug#14435).
7337 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7339 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7340 (doc-view-desktop-save-buffer): New function.
7341 (doc-view-restore-desktop-buffer): New function.
7342 (desktop-buffer-mode-handlers):
7343 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7345 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7346 `desktop-save-buffer' function.
7348 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7350 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7351 (tramp-gvfs-file-name-handler): Raise a user error when
7352 `tramp-gvfs-enabled' is nil.
7353 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7354 Do not raise a user error when loading package. (Bug#14447)
7356 * net/xesam.el: Move to obsolete/.
7358 2013-05-24 Glenn Morris <rgm@gnu.org>
7360 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7362 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7364 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7365 (Info-find-node, Man-getpage-in-background): Declare.
7367 * mail/unrmail.el (unrmail):
7368 Replace obsolete detect-coding-with-priority.
7370 * net/socks.el (socks-split-string): Use this rather than split-string.
7371 (socks-nslookup-host): Update for above change.
7372 (dynamic-choice, s5-dynamic-choice-match)
7373 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7374 Comment out unused code.
7376 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7377 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7378 (gud-tooltip-echo-area): Make obsolete.
7379 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7381 * progmodes/js.el (js--optimize-arglist): Declare.
7383 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7385 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7386 (ediff-window-C): Declare.
7388 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7389 Tweak requires to silence compiler.
7391 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7392 (he-search-string, he-tried-table, he-expand-list)
7393 (he-init-string, he-string-member, he-substitute-string)
7394 (he-reset-string): Declare.
7396 * obsolete/options.el (list-options): Use custom-variable-p,
7397 rather than obsolete alias.
7399 2013-05-23 Sam Steingold <sds@gnu.org>
7401 * simple.el (shell-command-on-region): Pass the `replace' argument
7402 down to `call-process-region' to comply with the doc as reported on
7403 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7405 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7407 * emacs-lisp/smie.el (smie-indent-forward-token)
7408 (smie-indent-backward-token): Handle string tokens (bug#14381).
7410 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7412 * ielm.el (ielm-menu): New menu.
7413 (inferior-emacs-lisp-mode): Set comment-start.
7415 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7417 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7418 Fix deactivate action.
7420 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7421 Add cleveref macros.
7423 * lisp/textmodes/reftex-parse.el
7424 (reftex-locate-bibliography-files): Accept options for
7425 bibliography commands.
7426 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7427 Add addbibresource. Basic Biblatex support.
7429 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7431 * net/tramp-gvfs.el (top):
7432 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7433 when loading package. (Bug#14447)
7435 2013-05-23 Glenn Morris <rgm@gnu.org>
7437 * progmodes/js.el: No need to load comint when compiling.
7438 (ring-insert, comint-send-string, comint-send-input)
7439 (comint-last-input-end, ido-chop): Declare.
7441 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7442 * vc/ediff-mult.el: Adjust requires.
7443 (ediff-directories-internal, ediff-directory-revisions-internal)
7444 (ediff-patch-file-internal): Declare.
7445 * vc/ediff-ptch.el: Adjust requires.
7446 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7447 (ediff-find-file): Autoload.
7448 * vc/ediff-util.el: No need to load ediff when compiling.
7449 (ediff-regions-internal): Declare.
7450 * vc/ediff-wind.el: Adjust requires.
7451 (ediff-compute-toolbar-width): Define when compiling.
7452 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7453 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7454 (dired-get-filename, dired-get-marked-files)
7455 (ediff-last-dir-patch, ediff-patch-default-directory)
7456 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7457 (ediff-patch-buffer-internal): Declare.
7459 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7460 (ispell-process, ispell-buffer-local-words, lm-summary)
7461 (lm-section-start, lm-section-end): Declare.
7462 (checkdoc-ispell-init): Simplify.
7464 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7465 (he-string-member, he-reset-string, he-substitute-string): Declare.
7467 * eshell/em-ls.el: Adjust requires.
7468 (eshell-glob-regexp): Declare.
7469 * eshell/em-tramp.el: Adjust requires.
7470 (eshell-parse-command): Autoload.
7471 * eshell/em-xtra.el: Adjust requires.
7472 (eshell-parse-command): Autoload.
7473 * eshell/esh-ext.el: Adjust requires.
7474 (eshell-parse-command, eshell-close-handles): Autoload.
7475 * eshell/esh-io.el: Adjust requires.
7476 (eshell-output-filter): Autoload.
7477 * eshell/esh-util.el: No need to load tramp when compiling.
7478 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7480 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7481 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7482 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7483 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7484 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7485 * eshell/esh-opt.el, eshell/esh-proc.el:
7486 * eshell/esh-var.el: Adjust requires.
7487 * eshell/eshell.el: Do not require esh-util twice.
7488 (eshell-add-input-to-history): Declare.
7489 (eshell-command): Check history module is active before using it.
7491 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7493 2013-05-22 Leo Liu <sdl.web@gmail.com>
7495 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7497 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7499 * autorevert.el (auto-revert-notify-add-watch)
7500 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7501 it indicates changes in file modification time.
7503 2013-05-22 Glenn Morris <rgm@gnu.org>
7505 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7506 Always delete the autoloaded function from the noruntime and
7507 unresolved functions lists.
7509 * allout.el: No need to load epa, epg, overlay when compiling.
7510 (epg-context-set-passphrase-callback, epg-list-keys)
7511 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7512 (epg-key-user-id-list): Declare.
7514 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7515 (viper-set-parsing-style-toggling-macro)
7516 (viper-set-emacs-state-searchstyle-macros):
7517 Use called-interactively-p on Emacs.
7518 (viper-looking-back): Make it an obsolete alias. Update callers.
7519 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7520 Use looking-back rather than viper-looking-back.
7521 (viper-tmp-insert-at-eob, viper-enlarge-region)
7522 (viper-read-string-with-history, viper-register-to-point)
7523 (viper-append-to-register, viper-change-state-to-vi)
7524 (viper-backward-char-carefully, viper-forward-char-carefully)
7525 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7526 (viper-change-state-to-emacs): Declare.
7527 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7528 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7529 * emulation/viper-mous.el: Do not load viper-cmd.
7530 (viper-backward-char-carefully, viper-forward-char-carefully)
7531 (viper-forward-word, viper-adjust-window): Declare.
7533 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7535 * progmodes/idlw-help.el (idlwave-help-fontify):
7536 Use called-interactively-p.
7538 * term/w32console.el (w32-get-console-codepage)
7539 (w32-get-console-output-codepage): Declare.
7541 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7542 Remove unnecessary declarations.
7543 (dframe-message): Doc fix.
7545 * info.el (dframe-select-attached-frame, dframe-current-frame):
7548 * speedbar.el (speedbar-message): Make it an obsolete alias.
7550 (speedbar-with-attached-buffer)
7551 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7552 (speedbar-with-writable): Use backquote.
7553 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7554 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7555 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7556 rather than speedbar- aliases.
7557 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7558 (speedbar-make-specialized-keymap, speedbar-insert-button)
7559 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7560 (speedbar-do-function-pointer): Declare.
7561 (rmail-speedbar-button, rmail-speedbar-find-file)
7562 (rmail-speedbar-move-message):
7563 Use dframe-with-attached-buffer rather than speedbar- alias.
7564 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7565 (dframe-message, speedbar-make-specialized-keymap)
7566 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7567 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7568 (speedbar-insert-button, dframe-select-attached-frame)
7569 (dframe-maybee-jump-to-attached-frame)
7570 (speedbar-change-initial-expansion-list)
7571 (speedbar-previously-used-expansion-list-name): Declare.
7572 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7573 Use dframe-message, dframe-with-attached-buffer rather than
7575 (gud-sentinel): Silence compiler.
7576 * progmodes/vhdl-mode.el (speedbar-refresh)
7577 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7578 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7579 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7580 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7581 (speedbar-file-lists, speedbar-make-tag-line)
7582 (speedbar-line-directory, speedbar-goto-this-file)
7583 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7584 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7585 (speedbar-make-button, speedbar-reset-scanners)
7586 (speedbar-files-item-info, speedbar-line-text)
7587 (speedbar-find-file-in-frame, speedbar-set-timer)
7588 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7589 (speedbar-with-writable): Do not (re)define it.
7590 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7591 rather than speedbar- alias.
7593 2013-05-21 Leo Liu <sdl.web@gmail.com>
7595 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7597 (octave-mode): Tweak fill-nobreak-predicate.
7598 (inferior-octave-startup): Check process to avoid infinite loop.
7599 (inferior-octave): Pop to buffer first to show abornmal process
7602 2013-05-21 Glenn Morris <rgm@gnu.org>
7604 * printing.el (pr-menu-bar): Define when compiling.
7606 2013-05-21 Leo Liu <sdl.web@gmail.com>
7608 * progmodes/octave.el (octave-auto-fill): Remove.
7609 (octave-indent-new-comment-line): Improve.
7610 (octave-mode): Use auto fill mode through
7611 comment-line-break-function and fill-nobreak-predicate.
7612 (octave-goto-function-definition): Support DEFUN_DLD.
7613 (octave-beginning-of-defun): Small tweak.
7614 (octave-help): Show parent directory.
7616 2013-05-21 Glenn Morris <rgm@gnu.org>
7618 * files.el (dired-unmark):
7619 * progmodes/gud.el (gdb-input): Update declarations.
7621 * calculator.el (electric, ehelp): No need to load when compiling.
7622 (Electric-command-loop, electric-describe-mode): Declare.
7624 * doc-view.el (doc-view-current-converter-processes): Move before use.
7626 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7627 Move MODE-set-explicitly definition before use.
7629 * international/mule-diag.el (mule-diag):
7630 Don't use obsolete window-system-version.
7632 * mail/feedmail.el (smtpmail): No need to load when compiling.
7633 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7635 * mail/mail-utils.el (rfc822): No need to load when compiling.
7636 (rfc822-addresses): Autoload it.
7637 (mail-strip-quoted-names): Trivial simplification.
7639 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7640 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7642 * net/snmp-mode.el (tempo): Don't duplicate requires.
7644 * progmodes/prolog.el (info): No need to load when compiling.
7645 (comint): Require before shell requires it.
7646 (Info-goto-node): Autoload it.
7647 (Info-follow-nearest-node): Declare.
7648 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7650 * textmodes/artist.el (picture-mode-exit): Declare.
7652 * textmodes/reftex-parse.el (reftex-parse-from-file):
7653 Trivial rewrite so the compiler can parse it better.
7655 2013-05-20 Leo Liu <sdl.web@gmail.com>
7657 * progmodes/octave.el (octave-help-mode-map)
7658 (octave-help-mode-finish-hook): New variables.
7659 (octave-help-mode, octave-help-mode-finish): New functions.
7660 (octave-help): Use octave-help-mode.
7662 2013-05-20 Glenn Morris <rgm@gnu.org>
7664 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7666 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7668 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7669 start at point, so that expansion starting right after opening
7670 slash in a regexp is recognized.
7671 (ruby-syntax-before-regexp-re): New defvar, extracted from
7672 ruby-syntax-propertize-function. Since the value of this regexp
7673 is looked up at runtime now, we should be able to turn
7674 `ruby-syntax-methods-before-regexp' into a defcustom later.
7675 (ruby-syntax-propertize-function): Split regexp matching into two
7676 parts, for opening and closing slashes. That allows us to skip
7677 over string interpolations and support multiline regexps.
7678 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7679 for them, which calls `ruby-syntax-propertize-expansion'.
7680 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7681 call to `ruby-syntax-propertize-function'.
7682 (ruby-syntax-propertize-expansion): Extracted from
7683 `ruby-syntax-propertize-expansions'. Handles one expansion.
7684 (ruby-syntax-propertize-percent-literal): Leave point right after
7685 the percent symbol, so that the expression expansion rule can
7686 propertize the contents.
7687 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7689 (ruby-syntax-propertize-expansions): Remove.
7691 2013-05-18 Juri Linkov <juri@jurta.org>
7693 * man.el (Man-default-man-entry): Remove `-' from the end
7694 of the default value. (Bug#14400)
7696 2013-05-18 Glenn Morris <rgm@gnu.org>
7698 * comint.el (comint-password-prompt-regexp):
7699 Allow "password for XXX" where XXX contains colons (eg https://...).
7701 2013-05-18 Leo Liu <sdl.web@gmail.com>
7703 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7704 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7705 (octave-source-directories): Don't check process.
7706 (octave-source-directories, octave-find-definition): Doc fix.
7708 2013-05-18 Glenn Morris <rgm@gnu.org>
7710 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7711 Remove backspace/delete bindings. (Bug#14392)
7713 * cus-dep.el (custom-make-dependencies): Sort the output.
7714 (custom-versions-load-alist): Convert comment to doc.
7716 2013-05-17 Leo Liu <sdl.web@gmail.com>
7718 * newcomment.el (comment-search-backward): Stricter in finding
7719 comment start. (Bug#14303)
7721 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7722 (octave-comment-start-skip): Properly anchored.
7724 2013-05-17 Leo Liu <sdl.web@gmail.com>
7726 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7727 Clean up when turned off. (Bug#14395)
7728 (smie--highlight-matching-block-overlay): No longer buffer-local.
7729 (smie-highlight-matching-block): Adjust.
7731 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7733 Doc string fix for "nanoseconds" (Bug#14406).
7734 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7735 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7737 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7739 * calc/calc-units.el (math-extract-units): Preserve powers
7742 2013-05-17 Leo Liu <sdl.web@gmail.com>
7744 * subr.el (delete-consecutive-dups): New function.
7745 * ido.el (ido-set-matches-1): Use it.
7746 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7747 * ido.el (ido-remove-consecutive-dups): Remove.
7749 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7751 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7752 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7753 regexp-opt's `words'.
7755 2013-05-16 Leo Liu <sdl.web@gmail.com>
7757 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7758 (smie--highlight-matching-block-overlay)
7759 (smie--highlight-matching-block-lastpos)
7760 (smie--highlight-matching-block-timer): New variables.
7761 (smie-highlight-matching-block): New function.
7762 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7763 (smie-setup): Conditionally enable smie-blink-matching-open.
7765 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7767 Sync with upstream verilog-mode r840.
7768 * progmodes/verilog-mode.el (verilog-mode-version)
7769 (verilog-mode-release-date): Update.
7770 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7771 (verilog-sig-tieoff): Fix string error on
7772 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7773 (verilog-read-decls): Fix parameters confusing
7774 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7776 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7778 * subr.el (reveal-filename): New function.
7780 * loadup.el: Compute Emacs executable versions on MS-Windows,
7781 where executables have the .exe extension. Add a hard link
7782 emacs-XX.YY.ZZ.exe on MS-Windows.
7784 * Makefile.in (XARGS_LIMIT): New variable.
7785 (custom-deps, finder-data, autoloads)
7786 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7787 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7788 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7789 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7791 2013-05-16 Leo Liu <sdl.web@gmail.com>
7793 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7794 (octave-mode-menu, octave-mode-map): Remove its uses.
7796 2013-05-16 Reto Zimmermann <reto@gnu.org>
7798 Sync with upstream vhdl mode v3.34.2.
7799 * progmodes/vhdl-mode.el: Use `push' throughout.
7800 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7801 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7802 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7803 (vhdl-actual-generic-name): New option to derive actual generic name.
7804 (vhdl-port-paste-signals): Replace formal by actual generics.
7805 (vhdl-beautify): New name for old group vhdl-align. Update users.
7806 (vhdl-beautify-options): New option.
7807 (vhdl-last-input-event): New compat alias. Use throughout.
7808 (vhdl-goto-line): Replace user level function `goto-line'.
7809 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7810 vhdl-fix-statement-buffer.
7811 (vhdl-create-mode-menu): Add some entries.
7812 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7813 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7814 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7815 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7816 to force statements on one line.
7817 (vhdl-remove-trailing-spaces-region):
7818 New, split from vhdl-remove-trailing-spaces.
7819 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7820 Respect vhdl-beautify-options.
7821 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7822 (vhdl-update-sensitivity-list): Not add with index if exists without.
7823 Not include array index with signal. Ignore keywords in comments.
7824 (vhdl-get-visible-signals): Regexp tweaks.
7825 (vhdl-template-component-inst): Handle empty library.
7826 (vhdl-template-type): Add template for 'enum' type.
7827 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7828 Use vhdl-replace-string.
7829 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7830 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7831 (vhdl-speedbar-initialize): Update for above name change.
7832 (vhdl-compose-wire-components): Fix in handling of constants.
7833 (vhdl-error-regexp-emacs-alist): New variable.
7834 (vhdl-error-regexp-add-emacs): New function;
7835 adds support for new compile.el (Emacs 22+)
7836 (vhdl-generate-makefile-1): Change target order for single lib. units.
7837 Allow use of absolute file names.
7839 2013-05-16 Leo Liu <sdl.web@gmail.com>
7841 * simple.el (prog-indent-sexp): Indent enclosing defun.
7843 2013-05-15 Glenn Morris <rgm@gnu.org>
7845 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7846 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7847 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7848 (whitespace-highlight): Move to whitespace group.
7850 * comint.el (comint-source):
7851 * pcmpl-linux.el (pcmpl-linux):
7852 * shell.el (shell-faces):
7853 * eshell/esh-opt.el (eshell-opt):
7854 * international/ccl.el (ccl): Remove empty custom groups.
7856 * completion.el (dynamic-completion-mode):
7857 * jit-lock.el (jit-lock-debug-mode):
7858 * minibuffer.el (completion-in-region-mode):
7859 * type-break.el (type-break-mode-line-message-mode)
7860 (type-break-query-mode):
7861 * emulation/tpu-edt.el (tpu-edt-mode):
7862 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7863 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7864 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7866 * term/xterm.el (xterm): Change parent group to terminals.
7868 * master.el (master): Remove empty custom group.
7869 (master-mode): Remove unused :group argument.
7870 * textmodes/refill.el (refill): Remove empty custom group.
7871 (refill-mode): Remove unused :group argument.
7873 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7875 * cus-dep.el: Provide a feature.
7876 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7877 Don't mistakenly ignore files whose basenames match a basename
7878 from preloaded-file-list (eg cedet/ede/simple.el).
7879 Add a fallback method for getting :group.
7881 2013-05-15 Juri Linkov <juri@jurta.org>
7883 * isearch.el (isearch-char-by-name): Rename from
7884 `isearch-insert-char-by-name'. Doc fix.
7885 (isearch-forward): Mention `isearch-char-by-name' in
7886 the docstring. (Bug#13348)
7888 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7889 `exit-minibuffer' instead of
7890 `isearch-nonincremental-exit-minibuffer'.
7891 (isearch-edit-string): Remove mention of
7892 `isearch-nonincremental-exit-minibuffer' from docstring.
7893 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7894 (isearch-forward-exit-minibuffer)
7895 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7897 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7899 * loadup.el: Just use unversioned DOC.
7901 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7902 literals as extending to EOB.
7903 (nxml-last-fontify-end): Remove unused variable.
7904 (nxml-after-change1): Use with-silent-modifications.
7905 (nxml-extend-after-change-region): Simplify.
7906 (nxml-extend-after-change-region1): Remove function.
7907 (nxml-after-change1): Don't adjust for dependent regions.
7908 (nxml-fontify-matcher): Simplify.
7909 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7910 (xmltok-add-dependent): Remove function.
7911 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7912 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7913 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7914 unclosed <[[, <?, comment, and other literals as extending to EOB.
7915 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7916 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7918 (rng-do-some-validation-1): Don't mark dependent regions.
7919 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7920 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7921 (nxml-clear-dependent-regions): Remove functions.
7922 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7923 (nxml-ensure-scan-up-to-date):
7924 Don't clear&mark dependent regions.
7926 2013-05-15 Leo Liu <sdl.web@gmail.com>
7928 * progmodes/octave.el (octave-goto-function-definition):
7929 Improve and fix callers.
7931 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7933 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7934 the setter (bug#14387).
7936 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7937 surrounding group (bug#14402).
7939 2013-05-14 Juri Linkov <juri@jurta.org>
7941 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7944 2013-05-14 Glenn Morris <rgm@gnu.org>
7946 * progmodes/f90.el (f90-imenu-generic-expression):
7947 Fix typo in 2013-05-08 change. (Bug#14402)
7949 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7951 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7952 Remove signals for which replies are never received.
7954 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7956 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7957 (gdb-handler-alist, gdb-handler-number): Remove variables.
7958 (gdb-handler-list): New variable.
7959 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7960 (gdb-pending-handler-p, gdb-handle-reply)
7961 (gdb-remove-all-pending-triggers): New functions.
7962 (gdb-discard-unordered-replies): New defcustom.
7963 (gdb-handler): New defstruct.
7964 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7965 instead of gdb-pending-triggers. Update docstring.
7966 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7967 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7968 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7969 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7970 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7971 (gdb-frame-handler): Pending triggers are now automatically managed.
7972 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7974 (gdb-input): Automatically handles pending triggers. Update docstring.
7975 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7976 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7978 (gdb-done-or-error): Now use gdb-handle-reply.
7980 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7982 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7985 2013-05-14 Glenn Morris <rgm@gnu.org>
7987 * subr.el (user-emacs-directory-warning): New option.
7988 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7990 2013-05-14 Leo Liu <sdl.web@gmail.com>
7992 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7994 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7995 (octave-font-lock-texinfo-comment): Fix invalid search bound
7996 error: wrong side of point.
7998 2013-05-14 Glenn Morris <rgm@gnu.org>
8000 * progmodes/flymake.el (flymake-xml-program): New option.
8001 (flymake-xml-init): Use it.
8003 * term/xterm.el: Provide a feature.
8005 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
8007 2013-05-13 Glenn Morris <rgm@gnu.org>
8009 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
8010 Add compat aliases as a hack workaround. (Bug#14384)
8012 2013-05-13 Leo Liu <sdl.web@gmail.com>
8014 * progmodes/octave.el (octave-indent-comment): Fix indentation for
8016 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
8018 (octave-comment-start-skip): Include %!.
8019 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
8021 2013-05-12 Leo Liu <sdl.web@gmail.com>
8023 * progmodes/octave.el (inferior-octave-startup): Store the value
8024 of __octave_srcdir__ for octave-source-directories.
8025 (inferior-octave-check-process): New function refactored out of
8026 inferior-octave-send-list-and-digest.
8027 (octave-source-directories)
8028 (octave-find-definition-filename-function): New variables.
8029 (octave-source-directories)
8030 (octave-find-definition-default-filename): New functions.
8031 (octave-find-definition): Improve to find functions implemented in C++.
8033 2013-05-12 Glenn Morris <rgm@gnu.org>
8035 * calendar/diary-lib.el (diary-outlook-format-1):
8036 Don't include dayname in the output. (Bug#14349)
8038 2013-05-11 Glenn Morris <rgm@gnu.org>
8040 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
8042 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
8043 Treat cc-provide like provide.
8045 2013-05-11 Kevin Ryde <user42@zip.com.au>
8047 * cus-dep.el (custom-make-dependencies):
8048 Use generated-autoload-load-name for the sake of files such
8049 such cedet/semantic/bovine/c.el, where the base file name
8050 is not in load-path. (Bug#5277)
8052 2013-05-11 Glenn Morris <rgm@gnu.org>
8054 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
8057 2013-05-11 Leo Liu <sdl.web@gmail.com>
8059 * progmodes/octave.el (octave-indent-comment): Improve.
8060 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
8061 (octave-eldoc-function-signatures, octave-eldoc-function):
8063 (octave-mode, inferior-octave-mode): Add eldoc support.
8065 2013-05-11 Richard Stallman <rms@gnu.org>
8067 * epa.el (epa-decrypt-file): Take output file name as argument
8068 and read it using `interactive'.
8070 2013-05-11 Leo Liu <sdl.web@gmail.com>
8072 * progmodes/octave.el (octave-beginning-of-line)
8073 (octave-end-of-line): Check before using up-list because it jumps
8074 out of more syntactic contructs since moving to smie.
8075 (octave-indent-comment): New function.
8076 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
8077 (octave-begin-keywords, octave-end-keywords)
8078 (octave-reserved-words, octave-smie-bnf-table)
8079 (octave-smie-rules): Add new keywords from Octave 3.6.4.
8081 2013-05-11 Glenn Morris <rgm@gnu.org>
8083 * faces.el (internal-face-x-get-resource):
8084 * frame.el (ns-display-monitor-attributes-list):
8085 * calc/calc-aent.el (math-to-radians-2):
8086 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
8089 * calc/calc-menu.el: Make it loadable in isolation.
8091 * net/eudcb-bbdb.el: Make it loadable without bbdb.
8092 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
8093 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
8094 (eudc-bbdb-query-internal): Require 'bbdb.
8096 * lpr.el (lpr-headers-switches):
8097 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
8099 * progmodes/sql.el (sql-login-params): Fix and improve :type.
8101 * emulation/edt-mapper.el: In batch mode, error rather than hang.
8103 * term.el (term-set-escape-char): Make it idempotent.
8105 2013-05-10 Leo Liu <sdl.web@gmail.com>
8107 * progmodes/octave.el (inferior-octave-completion-table):
8108 No longer a function and all uses changed. Use cache to speed up
8109 completion due to bug#11906.
8110 (octave-beginning-of-defun): Re-write to be more general.
8112 2013-05-10 Glenn Morris <rgm@gnu.org>
8114 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
8116 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
8118 * comint.el (comint-redirect-send-command-to-process): Use :around
8119 rather than :override for comint-redirect-filter.
8120 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
8121 Call it instead of comint-redirect-original-filter-function (which
8122 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
8124 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
8126 * frame.el (display-monitor-attributes-list): Add NS case.
8127 (ns-display-monitor-attributes-list): Declare.
8129 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
8131 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
8133 2013-05-09 Glenn Morris <rgm@gnu.org>
8135 * international/fontset.el (vertical-centering-font-regexp):
8138 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
8140 * bookmark.el (bookmark-search-delay):
8141 * cus-start.el (vertical-centering-font-regexp):
8142 * ps-mule.el (ps-mule-font-info-database-default):
8143 * ps-print.el (ps-default-fg, ps-default-bg):
8144 * type-break.el (type-break-good-break-interval):
8145 * whitespace.el (whitespace-indentation-regexp)
8146 (whitespace-space-after-tab-regexp):
8147 * emacs-lisp/testcover.el (testcover-1value-functions)
8148 (testcover-noreturn-functions, testcover-progn-functions)
8149 (testcover-prog1-functions):
8150 * emulation/viper-init.el (viper-emacs-state-cursor-color):
8151 * eshell/em-glob.el (eshell-glob-translate-alist):
8152 * play/tetris.el (tetris-tty-colors):
8153 * progmodes/cpp.el (cpp-face-default-list):
8154 * progmodes/flymake.el (flymake-allowed-file-name-masks):
8155 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
8156 (idlwave-help-browser-generic-args):
8157 * progmodes/make-mode.el (makefile-special-targets-list):
8158 * progmodes/python.el (python-shell-virtualenv-path):
8159 * progmodes/verilog-mode.el (verilog-active-low-regexp)
8160 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
8161 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
8162 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
8163 * textmodes/reftex-vars.el (reftex-format-label-function):
8164 * textmodes/remember.el (remember-diary-file): Fix custom types.
8166 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
8169 2013-05-09 Leo Liu <sdl.web@gmail.com>
8171 * progmodes/octave.el (inferior-octave-completion-at-point):
8172 Restore file completion. (Bug#14300)
8173 (inferior-octave-startup): Fix incorrect highlighting for the
8176 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8178 * progmodes/ruby-mode.el: First cut at SMIE support.
8179 (ruby-use-smie): New var.
8180 (ruby-smie-grammar): New constant.
8181 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
8182 (ruby-smie--forward-token, ruby-smie--backward-token)
8183 (ruby-smie-rules): New functions.
8184 (ruby-mode-variables): Setup SMIE if applicable.
8186 2013-05-08 Eli Zaretskii <eliz@gnu.org>
8188 * simple.el (line-move-visual): Signal beginning/end of buffer
8189 only if vertical-motion moved less than it was requested. Avoids
8190 silly incorrect error messages when there are display strings with
8191 multiple newlines at EOL.
8193 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
8195 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
8196 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
8197 (prolog-char-quote-workaround):
8198 * progmodes/cperl-mode.el (cperl-under-as-char):
8199 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
8201 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
8203 (vhdl-mode-syntax-table-init): Remove.
8205 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
8208 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
8210 (ld-script-font-lock-keywords):
8211 Change regexps to use things like \_< and \_>.
8213 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
8214 Change all regexps to use things like \_< and \_>.
8216 * progmodes/autoconf.el (autoconf-definition-regexp)
8217 (autoconf-font-lock-keywords, autoconf-current-defun-function):
8218 Handle a _ with symbol syntax.
8219 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
8221 * progmodes/ada-mode.el (ada-mode-abbrev-table):
8222 Consolidate declaration.
8223 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
8225 (ada-create-syntax-table): Remove.
8226 (ada-capitalize-word): Don't mess with the syntax of "_" since it
8227 already has the right syntax nowadays.
8228 (ada-goto-next-word): Don't change the syntax of "_".
8230 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8233 2013-05-08 Sam Steingold <sds@gnu.org>
8235 * thingatpt.el (thing-at-point): Accept optional second argument
8236 NO-PROPERTIES to strip the text properties from the return value.
8237 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8238 to `thing-at-point' instead of stripping the properties ourselves.
8239 Also, when `thing-at-point' fails to find a url, prepend "http://"
8240 to the filename at point on the assumption that the user is
8241 pointing at something like gnu.org/gnu.
8243 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8245 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8246 * faces.el (crm-separator):
8247 Silence byte-compiler.
8249 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8250 (tool-bar-map): Remove unneeded defvars.
8252 2013-05-08 Leo Liu <sdl.web@gmail.com>
8254 Re-work a fix for bug#10994 based on Le Wang's patch.
8255 * ido.el (ido-remove-consecutive-dups): New helper.
8256 (ido-completing-read): Use it.
8257 (ido-chop): Revert fix for bug#10994.
8259 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8261 * cus-edit.el (custom-save-variables):
8262 Pretty-print long values. (Bug#14187)
8264 2013-05-08 Glenn Morris <rgm@gnu.org>
8266 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8267 (m4-mode-syntax-table): Init in the defvar.
8268 (m4-mode-abbrev-table): Let define-derived-mode define it.
8270 2013-05-08 Tom Tromey <tromey@redhat.com>
8272 * progmodes/m4-mode.el (m4-mode-syntax-table):
8273 Do not treat "_" as word constituent. (Bug#14167)
8275 2013-05-07 Glenn Morris <rgm@gnu.org>
8277 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8278 Remove explicit eshell-isearch-cancel-map.
8280 * progmodes/f90.el (f90-smart-end-names): New option.
8281 (f90-smart-end): Doc fix.
8282 (f90-end-block-optional-name): New constant.
8283 (f90-block-match): Respect f90-smart-end-names.
8285 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8287 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8288 about implicit semi-colons (bug#14218).
8290 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8292 * frame.el (display-monitor-attributes-list)
8293 (frame-monitor-attributes): New functions.
8295 2013-05-06 Leo Liu <sdl.web@gmail.com>
8297 * progmodes/octave.el (octave-syntax-propertize-function): Change
8298 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8299 (octave-font-lock-keywords): Use octave-operator-regexp.
8300 (octave-completion-at-point): Rename from
8301 octave-completion-at-point-function.
8302 (inferior-octave-directory-tracker): Robustify.
8303 (octave-text-functions): Remove and fix its uses. No such things
8306 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8308 * emacs-lisp/trace.el (trace--display-buffer): New function.
8309 (trace-make-advice): Use it.
8311 2013-05-06 Juri Linkov <juri@jurta.org>
8313 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8314 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8316 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8317 in the help string. (Bug#12985)
8319 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8321 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8323 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8325 * progmodes/perl-mode.el: Add support for here documents.
8326 (perl-syntax-propertize-function): Match here-doc markers.
8327 (perl-syntax-propertize-special-constructs): Find their end.
8328 (perl-imenu-generic-expression): Use [:alnum:].
8330 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8331 (advice--add-function): Refresh the advice if already present
8334 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8336 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8338 2013-05-06 Glenn Morris <rgm@gnu.org>
8340 * w32-fns.el (w32-charset-info-alist): Declare.
8342 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8343 of its defcustom properties.
8344 (eshell-cmpl-initialize): No need to load pcomplete.
8346 * generic-x.el: No need to require comint when compiling.
8348 * net/eudc-export.el: Make it loadable without bbdb.
8349 (top-level): Use require rather than load-library.
8350 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8351 (eudc-batch-export-records-to-bbdb)
8352 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8355 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8357 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8358 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8359 some tweaks, instead.
8361 2013-05-05 Leo Liu <sdl.web@gmail.com>
8363 * progmodes/octave.el (octave-font-lock-keywords)
8364 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8365 (inferior-octave-send-list-and-digest): Improve error message.
8366 (octave-mode, inferior-octave-mode): Use setq-local.
8367 (octave-help): Set info-lookup-mode.
8369 2013-05-05 Richard Stallman <rms@gnu.org>
8371 * vc/compare-w.el (compare-windows-whitespace):
8372 Treat no-break space as whitespace.
8374 * mail/rmailsum.el (rmail-summary-rmail-update):
8375 Detect empty summary and don't change selected message.
8376 (rmail-summary-goto-msg): Likewise.
8378 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8379 Doc fixes, rename args.
8381 2013-05-05 Alan Mackenzie <acm@muc.de>
8383 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8385 2013-05-05 Juri Linkov <juri@jurta.org>
8387 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8388 to not add the length of the summary segment to the return value.
8391 2013-05-05 Leo Liu <sdl.web@gmail.com>
8393 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8394 (inferior-octave-output-filter): Remove.
8395 (octave-send-region, inferior-octave-startup): Fix callers.
8396 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8397 (octave-binary-file-extensions): New user variable.
8398 (octave-find-definition): Confirm if opening binary files.
8399 (octave-help-file): Use octave-find-definition to get the binary
8401 (octave-help): Adjust for octave-help-file change.
8403 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8405 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8406 Merge the two entries that handle function definitions.
8407 (pascal--syntax-propertize): New const.
8408 (pascal-mode): Use it. Use setq-local.
8410 2013-05-04 Glenn Morris <rgm@gnu.org>
8412 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8413 (diary-from-outlook): Respect diary-from-outlook-function.
8415 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8417 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8418 Move the declaration from C.
8419 (read-minibuffer, eval-minibuffer): Move from C.
8420 (completion-setup-function): Avoid minibuffer-completion-contents.
8422 2013-05-03 Leo Liu <sdl.web@gmail.com>
8424 * progmodes/octave.el (octave-font-lock-keywords): Do not
8425 dehighlight 'end' in comments or strings.
8426 (octave-completing-read, octave-goto-function-definition):
8428 (octave-help-buffer): New user variable.
8429 (octave-help-file, octave-help-function): New button types.
8430 (octave-help): New command and bind it to C-h ;.
8431 (octave-find-definition): New command and bind it to M-.
8432 (user-error): Alias to error if not defined.
8434 2013-05-02 Leo Liu <sdl.web@gmail.com>
8436 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8438 (octave-font-lock-keywords): Include [ and {.
8440 2013-05-02 Leo Liu <sdl.web@gmail.com>
8442 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8443 (inferior-octave): Remove calling comint-mode and return the buffer.
8444 (inferior-octave-startup): Cosmetic changes.
8446 2013-05-02 Leo Liu <sdl.web@gmail.com>
8448 * progmodes/octave.el (octave-syntax-propertize-function):
8449 Include the case when ' is at line beginning. (Bug#14336)
8451 2013-05-02 Glenn Morris <rgm@gnu.org>
8453 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8454 * desktop.el (vc-dir-mode): Just autoload it here.
8456 2013-05-02 Alan Mackenzie <acm@muc.de>
8458 Eliminate variable c-standard-font-lock-fontify-region-function.
8459 * progmodes/cc-mode.el
8460 (c-standard-font-lock-fontify-region-function): Remove.
8461 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8463 2013-05-01 Leo Liu <sdl.web@gmail.com>
8465 * progmodes/octave.el: Compatible with older emacs-24 releases.
8466 (inferior-octave-has-built-in-variables): Remove. Built-in
8467 variables were removed from Octave in 2007.
8468 (inferior-octave-startup): Fix uses.
8469 (comint-line-beginning-position): Remove compatibility code for
8472 2013-05-01 Juri Linkov <juri@jurta.org>
8474 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8476 2013-05-01 Juri Linkov <juri@jurta.org>
8478 * comint.el (comint-previous-matching-input): Don't print message
8479 "History item: %d" when `isearch-mode' is active.
8480 (comint-history-isearch-message): Print message "History item: %d"
8481 when `comint-input-ring-index' is not empty and this function is
8482 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8484 2013-05-01 Leo Liu <sdl.web@gmail.com>
8486 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8487 definitions. Use completion-at-point to insert keywords.
8488 (octave-abbrev-start): Remove.
8489 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8491 2013-04-30 Leo Liu <sdl.web@gmail.com>
8493 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8496 2013-04-30 Alan Mackenzie <acm@muc.de>
8498 Handle arbitrarily long C++ member initialisation lists.
8499 * progmodes/cc-engine.el (c-back-over-member-initializers):
8501 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8502 (most) member init lists.
8504 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8506 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8509 2013-04-30 Leo Liu <sdl.web@gmail.com>
8511 * progmodes/octave.el (octave-variables): Remove. No builtin
8512 variables any more. All converted to functions.
8513 (octave-font-lock-keywords, octave-completion-at-point-function):
8515 (octave-font-lock-texinfo-comment): New user variable.
8516 (octave-texinfo-font-lock-keywords): New variable for texinfo
8518 (octave-function-comment-block): New face.
8519 (octave-font-lock-texinfo-comment): New function.
8520 (octave-mode): Font lock texinfo comment block.
8522 2013-04-29 Leo Liu <sdl.web@gmail.com>
8524 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8525 indexing expression.
8526 (octave-continuation-string): Do not use \.
8527 (inferior-octave-complete-impossible): Remove.
8528 (inferior-octave-completion-table)
8529 (inferior-octave-completion-at-point): Remove its uses.
8530 (inferior-octave-startup): completion_matches was introduced to
8531 Octave in 1996 so safe to assume it.
8532 (octave-function-file-comment): Improve to follow how Octave does it.
8533 (octave-update-function-file-comment): Tweak.
8535 2013-04-29 Leo Liu <sdl.web@gmail.com>
8537 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8538 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8539 (octave-function-file-comment): Fix typo.
8540 (octave-sync-function-file-names): Use read-char-choice.
8542 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8544 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8545 to t for the less important warnings.
8547 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8549 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8551 2013-04-27 Glenn Morris <rgm@gnu.org>
8553 * vc/log-view.el (log-view-current-entry):
8554 Treat "---" separator lines as part of the following rev. (Bug#14169)
8556 2013-04-27 Juri Linkov <juri@jurta.org>
8558 * subr.el (read-number): Doc fix about using it by interactive
8559 code letter `n'. (Bug#14254)
8561 2013-04-27 Juri Linkov <juri@jurta.org>
8563 * desktop.el (desktop-auto-save-timeout): New option.
8564 (desktop-file-checksum): New variable.
8565 (desktop-save): Add optional arg `auto-save' and don't auto-save
8567 (desktop-auto-save-timer): New variable.
8568 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8569 (after-init-hook): Call `desktop-auto-save-set-timer'.
8570 Suggested by Reuben Thomas <rrt@sc3d.org> in
8571 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8573 2013-04-27 Leo Liu <sdl.web@gmail.com>
8575 * progmodes/octave.el (octave-function-file-p)
8576 (octave-skip-comment-forward, octave-function-file-comment)
8577 (octave-update-function-file-comment): New functions.
8578 (octave-mode-map): Bind C-c ; to
8579 octave-update-function-file-comment.
8580 (octave-mode-menu): Add octave-update-function-file-comment.
8581 (octave-mode, inferior-octave-mode): Fix doc-string.
8582 (octave-insert-defun): Conform to Octave's coding convention.
8585 * files.el (basic-save-buffer): Don't let errors in
8586 before-save-hook prevent saving buffer.
8588 2013-04-20 Roland Winkler <winkler@gnu.org>
8590 * faces.el (read-face-name): Use completing-read if arg multiple
8593 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8595 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8596 displayed, move point to after the totals line.
8597 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8600 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8602 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8603 Add current dir to the load-path.
8604 (package-generate-autoloads): Don't rely on
8605 autoload-ensure-default-file.
8607 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8609 * textmodes/remember.el (remember-store-in-files): Document that
8610 the file name format is passed to `format-time-string'.
8612 2013-04-26 Leo Liu <sdl.web@gmail.com>
8614 * progmodes/octave.el (octave-sync-function-file-names): New function.
8615 (octave-mode): Use it in before-save-hook.
8617 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8619 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8622 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8623 \n and comment, even if it's not an implicit ; (bug#14218).
8625 2013-04-26 Glenn Morris <rgm@gnu.org>
8627 * subr.el (read-number): Once more use `read' rather than
8628 `string-to-number', to trap non-numeric input. (Bug#14254)
8630 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8632 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8633 Use `syntax-multiline' text property consistently instead of
8634 `font-lock-multiline'. (Bug#14237)
8636 2013-04-26 Glenn Morris <rgm@gnu.org>
8638 * emacs-lisp/shadow.el (list-load-path-shadows):
8639 No longer necessary to check for duplicate simple.el, since
8640 2012-07-07 change to init_lread to not include installation lisp
8641 directories in load-path when running uninstalled. (Bug#14270)
8643 2013-04-26 Leo Liu <sdl.web@gmail.com>
8645 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8646 (octave-mode, inferior-octave-mode): Use setq-local.
8647 (octave-not-in-string-or-comment-p): Rename to
8648 octave-in-string-or-comment-p.
8649 (octave-in-comment-p, octave-in-string-p)
8650 (octave-in-string-or-comment-p): Replace defsubst with defun.
8652 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8654 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8656 2013-04-25 Bastien Guerry <bzg@gnu.org>
8658 * textmodes/remember.el (remember-data-directory)
8659 (remember-directory-file-name-format): Fix custom types.
8661 2013-04-25 Leo Liu <sdl.web@gmail.com>
8663 * progmodes/octave.el (octave-completion-at-point-function):
8664 Make use of inferior octave process.
8665 (octave-initialize-completions): Remove.
8666 (inferior-octave-completion-table): New function.
8667 (inferior-octave-completion-at-point): Use it.
8668 (octave-completion-alist): Remove.
8670 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8673 (opascal-mode-syntax-table): New var.
8674 (opascal-literal-kind, opascal-is-literal-end)
8675 (opascal-literal-token-at): Rewrite.
8676 (opascal--literal-start-re, opascal-font-lock-keywords)
8677 (opascal--syntax-propertize): New constants.
8678 (opascal-font-lock-defaults): Adjust.
8679 (opascal-mode): Use them. Set comment-<foo> variables as well.
8680 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8681 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8682 (delphi-other-face, opascal-other-face): Remove face variables.
8683 (opascal-save-state): Remove macro.
8684 (opascal-fontifying-progress-step): Remove constant.
8685 (opascal--ignore-changes): Remove var.
8686 (opascal-set-token-property, opascal-parse-next-literal)
8687 (opascal-is-stable-literal, opascal-complete-literal)
8688 (opascal-is-literal-start, opascal-face-of)
8689 (opascal-parse-region, opascal-parse-region-until-stable)
8690 (opascal-fontify-region, opascal-after-change)
8691 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8692 (opascal-debug-parse-region, opascal-debug-parse-window)
8693 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8694 (opascal-debug-fontify-buffer): Remove.
8695 (opascal-debug-mode-map): Adjust accordingly.
8697 2013-04-25 Leo Liu <sdl.web@gmail.com>
8699 Merge octave-mod.el and octave-inf.el into octave.el with some
8701 * progmodes/octave.el: New file renamed from octave-mod.el.
8702 * progmodes/octave-inf.el: Merged into octave.el.
8703 * progmodes/octave-mod.el: Renamed to octave.el.
8705 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8707 * textmodes/reftex-vars.el
8708 (reftex-label-ignored-macros-and-environments): New defcustom.
8710 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8712 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8714 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8715 (smie-indent-keyword): Improve the check to ensure that the next
8716 comment is really on the same line.
8717 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8719 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8720 semi-colons if the line is not otherwise empty (bug#14218).
8722 2013-04-25 Glenn Morris <rgm@gnu.org>
8724 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8726 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8728 * progmodes/opascal.el (opascal-set-token-property): Rename from
8729 opascal-set-text-properties and only set `token' (bug#14134).
8730 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8731 (opascal-literal-text-properties): Remove.
8732 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8735 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8737 * textmodes/remember.el (remember-handler-functions): Add an
8738 option for a new handler `remember-store-in-files'.
8739 (remember-data-directory, remember-directory-file-name-format):
8741 (remember-store-in-files): New function to store remember notes
8742 as separate files within a directory.
8744 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8746 * progmodes/compile.el (compilation-next-error-function):
8747 Pass "formats" to compilation-find-file (bug#11777).
8749 2013-04-24 Glenn Morris <rgm@gnu.org>
8751 * vc/vc-bzr.el (vc-bzr-print-log):
8752 * vc/vc-hg.el (vc-hg-print-log):
8753 * vc/vc-svn.el (vc-svn-print-log):
8754 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8756 * vc/vc-bzr.el (vc-bzr-print-log):
8757 * vc/vc-cvs.el (vc-cvs-print-log):
8758 * vc/vc-git.el (vc-git-print-log):
8759 * vc/vc-hg.el (vc-hg-print-log):
8760 * vc/vc-mtn.el (vc-mtn-print-log):
8761 * vc/vc-rcs.el (vc-rcs-print-log):
8762 * vc/vc-sccs.el (vc-sccs-print-log):
8763 * vc/vc-svn.el (vc-svn-print-log):
8764 * vc/vc.el (vc-print-log-internal): Doc fixes.
8766 2013-04-23 Glenn Morris <rgm@gnu.org>
8768 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8769 Remove venerable code attempting to avoid substitute-command-keys.
8771 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8773 * textmodes/reftex-vars.el (reftex-label-regexps):
8774 Call `reftex-compile-variables' after changes to this variable.
8776 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8778 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8779 Use lexical-binding.
8780 (jit-lock-force-redisplay): Use markers, check buffer's continued
8781 existence and beware narrowed buffers.
8782 (jit-lock-fontify-now): Adjust call accordingly.
8784 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8786 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8787 to avoid misleading the user.
8789 2013-04-22 Leo Liu <sdl.web@gmail.com>
8791 * info-look.el: Prefer latex2e.info. (Bug#14240)
8793 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8795 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8797 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8798 * net/tramp.el (tramp-call-process): ... here.
8799 (tramp-set-completion-function, tramp-parse-putty):
8800 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8801 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8802 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8803 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8804 (tramp-call-local-coding-command): Use `tramp-call-process'
8805 instead of `tramp-compat-call-process'.
8807 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8808 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8809 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8810 (tramp-find-inline-compress): Improve traces.
8811 (tramp-maybe-send-script): Check for Perl binary.
8812 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8814 2013-04-22 Daiki Ueno <ueno@gnu.org>
8816 * epg.el (epg-context-pinentry-mode): New function.
8817 (epg-context-set-pinentry-mode): New function.
8818 (epg--start): Pass --pinentry-mode option to gpg command.
8820 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8822 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8823 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8824 `completion-at-point'. (Bug#13774)
8826 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8827 default key binding for `describe-distribution' has been moved to
8828 `C-h C-o'. (Bug#13970)
8830 2013-04-21 Glenn Morris <rgm@gnu.org>
8832 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8834 (vc-print-log): Clarify interactive prompt.
8836 2013-04-20 Glenn Morris <rgm@gnu.org>
8838 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8839 No longer include timestamp etc information.
8841 2013-04-20 Roland Winkler <winkler@gnu.org>
8843 * faces.el (read-face-name): Bug fix, return just one face if arg
8844 multiple is nil. (Bug#14209)
8846 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8849 (remove-function): Autoload.
8851 * comint.el (comint-redirect-original-filter-function): Remove.
8852 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8853 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8854 (vc-cvs-annotate-command):
8855 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8856 * progmodes/prolog.el (prolog-consult-compile):
8857 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8858 Use add/remove-function instead.
8859 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8860 (gud-tooltip-process-output, gud-tooltip-tips):
8861 Use add/remove-function instead.
8862 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8863 (scheme-interaction-mode, exit-scheme-interaction-mode):
8864 Use add/remove-function instead.
8866 * vc/vc-dispatcher.el: Use lexical-binding.
8867 (vc--process-sentinel): Rename from vc-process-sentinel.
8868 Change last arg to be the code to run. Don't use vc-previous-sentinel
8869 and vc-sentinel-commands any more.
8870 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8871 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8873 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8875 * progmodes/sh-script.el (sh-imenu-generic-expression):
8876 Handle function names with a single character. (Bug#14111)
8878 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8880 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8881 for subroutines defined in an eval (bug#14182).
8883 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8885 * bookmark.el (bookmark-completing-read): Improve handling of empty
8888 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8890 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8892 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8894 New faster Imenu implementation (bug#14058).
8895 * progmodes/python.el:
8896 (python-imenu-prev-index-position):
8897 (python-imenu-format-item-label-function)
8898 (python-imenu-format-parent-item-label-function)
8899 (python-imenu-format-parent-item-jump-label-function):
8901 (python-imenu-format-item-label)
8902 (python-imenu-format-parent-item-label)
8903 (python-imenu-format-parent-item-jump-label)
8904 (python-imenu--put-parent, python-imenu--build-tree)
8905 (python-imenu-create-index, python-imenu-create-flat-index)
8906 (python-util-popn): New functions.
8907 (python-mode): Set imenu-create-index-function to
8908 python-imenu-create-index.
8910 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8912 * winner.el (winner-active-region): Use region-active-p, activate-mark
8913 and deactivate-mark (bug#14225).
8915 * simple.el (deactivate-mark): Don't inline it.
8917 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8919 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8921 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8923 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8924 file extensions from the archive-mode entry in order to prefer
8925 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8927 2013-04-18 Leo Liu <sdl.web@gmail.com>
8929 * bindings.el (help-event-list): Add ?\?.
8931 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8933 * subr.el (with-wrapper-hook): Declare obsolete.
8934 * simple.el (filter-buffer-substring-function): New hook.
8935 (filter-buffer-substring): Use it.
8936 (filter-buffer-substring-functions): Mark obsolete.
8937 * minibuffer.el (completion-in-region-function): New hook.
8938 (completion-in-region): Use it.
8939 (completion-in-region-functions): Mark obsolete.
8940 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8941 * abbrev.el (abbrev-expand-function): New hook.
8942 (expand-abbrev): Use it.
8943 (abbrev-expand-functions): Mark obsolete.
8944 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8947 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8949 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8950 and do not care about match data.
8952 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8954 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8955 completion tables when completing error conditions and
8956 `declare' arguments.
8957 (lisp-complete-symbol, field-complete): Mark as obsolete.
8958 (check-parens): Unmatched parens are user errors.
8959 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8961 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8963 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8964 command changed buffer (ie. `flyspell-pre-buffer' is not current
8965 buffer), which prevents making decisions based on invalid value of
8966 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8967 cause an error when `flyspell-pre-point' was nil after switching
8969 (flyspell-post-command-hook): No longer needs to change buffers when
8970 checking pre-word. While at it remove unnecessary progn.
8972 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8974 * textmodes/ispell.el (ispell-add-per-file-word-list):
8975 Fix `flyspell-correct-word-before-point' error when accepting
8976 words and `coment-padding' is an integer by using
8977 `comment-normalize-vars' (Bug #14214).
8979 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8981 New defun movement commands.
8982 * progmodes/python.el (python-nav--syntactically)
8983 (python-nav--forward-defun, python-nav-backward-defun)
8984 (python-nav-forward-defun): New functions.
8986 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8988 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8989 (python-syntax-context): Use named compiler-macro for backwards
8990 compatibility with Emacs 24.x.
8992 2013-04-17 Leo Liu <sdl.web@gmail.com>
8994 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8995 octave-hide-process-buffer.
8997 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8999 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
9002 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
9004 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
9005 Fix adjustment of offset when receiving incomplete responses from GDB
9008 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
9011 python-mode-abbrev-table.
9012 (python-skeleton-define): Adjust accordingly.
9013 (python-mode-abbrev-table): New table that inherits from it so that
9014 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
9016 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
9017 (abbrev-symbol): Use it.
9018 (abbrev--before-point): Use it since we already handle inheritance.
9020 2013-04-16 Leo Liu <sdl.web@gmail.com>
9022 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
9023 binding to info-lookup-symbol.
9025 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
9027 * minibuffer.el (completion--twq-all):
9028 * term/ns-win.el (ns-initialize-window-system):
9029 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
9031 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
9033 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
9036 * doc-view.el (doc-view-start-process): Handle url-handler directories.
9038 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
9040 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
9041 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
9043 (ruby-end-of-defun): Remove the unused arg, change the docstring
9044 to reflect that this function is only used as the value of
9045 `end-of-defun-function'.
9046 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
9047 to reflect an earlier change that beginning/end-of-defun functions
9048 jump between methods in a class definition, as well as top-level
9051 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9053 * minibuffer.el (minibuffer-complete): Don't just scroll
9054 a *Completions* that's been iconified.
9055 (minibuffer-force-complete): Make sure repetitions do cycle when going
9056 through completion-in-region -> minibuffer-complete.
9058 2013-04-15 Alan Mackenzie <acm@muc.de>
9060 Correct the placement of c-cpp-delimiters when there're #s not at
9063 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
9064 place a submatch around the #.
9065 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
9066 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
9069 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
9071 * emacs-lisp/nadvice.el: Properly test names when adding advice.
9072 (advice--member-p): New arg `name'.
9073 (advice--add-function, advice-member-p): Use it (bug#14202).
9075 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
9077 Reformulate java imenu-generic-expression.
9078 The old expression contained ill formed regexps.
9080 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
9081 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
9082 (cc-imenu-java-method-arg-regexp): New defconsts.
9083 (cc-imenu-java-build-type-args-regex): New defun.
9084 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
9085 handling of spaces in the regexp.
9087 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9089 * textmodes/ispell.el (ispell-command-loop): Remove
9090 flyspell highlight of a word when ispell accepts it (bug #14178).
9092 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
9094 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
9095 uses code from the previous `ange-ftp-run-real-handler'.
9096 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
9097 only in case that function exist. This is needed for proper
9100 2013-04-15 Tassilo Horn <tsdh@gnu.org>
9102 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
9104 * textmodes/reftex.el (reftex-compile-variables): Use it.
9106 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
9108 * files.el (normal-mode): Only use default major-mode if no other mode
9111 * emacs-lisp/trace.el (trace-values): New function.
9113 * files.el: Allow : in local variables (bug#14089).
9114 (hack-local-variable-regexp): New var.
9115 (hack-local-variables-prop-line, hack-local-variables): Use it.
9117 2013-04-13 Roland Winkler <winkler@gnu.org>
9119 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
9120 data before it gets modified by bibtex-beginning-of-entry.
9122 2013-04-13 Roland Winkler <winkler@gnu.org>
9124 * textmodes/bibtex.el (bibtex-url): Doc fix.
9126 2013-04-13 Roland Winkler <winkler@gnu.org>
9128 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
9129 does not visit a BibTeX file, exclude it from the list of buffers
9130 returned by bibtex-initialize.
9132 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
9134 * window.el (split-window): Remove interactive form, since as a
9135 command this function is a special case of split-window-below.
9138 2013-04-12 Roland Winkler <winkler@gnu.org>
9140 * faces.el (read-face-name): Do not override value of arg default.
9141 Allow single faces and strings as default values. Remove those
9142 elements from return value that are not faces.
9143 (describe-face): Simplify.
9144 (face-at-point): New optional args thing and multiple so that this
9145 function can provide the same functionality previously provided by
9147 (make-face-bold, make-face-unbold, make-face-italic)
9148 (make-face-unitalic, make-face-bold-italic, invert-face)
9149 (modify-face, read-face-and-attribute): Use face-at-point.
9151 * cus-edit.el (customize-face, customize-face-other-window)
9152 * cus-theme.el (custom-theme-add-face)
9153 * face-remap.el (buffer-face-set)
9154 * facemenu.el (facemenu-set-face): Use face-at-point.
9156 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
9158 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
9160 2013-04-10 Tassilo Horn <tsdh@gnu.org>
9162 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
9163 off leading { and trailing } from field values.
9165 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
9167 * emacs-lisp/timer.el (timer--check): New function.
9168 (timer--time, timer-set-function, timer-event-handler): Use it.
9169 (timer-set-idle-time): Simplify.
9170 (timer--activate): CSE.
9171 (timer-event-handler): Give more info in error message.
9172 (internal-timer-start-idle): New function, moved from C.
9174 * mpc.el (mpc-proc): Add `restart' argument.
9175 (mpc-proc-cmd): Use it.
9176 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
9177 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
9180 2013-04-10 Masatake YAMATO <yamato@redhat.com>
9182 * progmodes/sh-script.el: Implement `sh-mode' own
9183 `add-log-current-defun-function' (bug#14112).
9184 (sh-current-defun-name): New function.
9185 (sh-mode): Use the function.
9187 2013-04-09 Bastien Guerry <bzg@gnu.org>
9189 * simple.el (choose-completion-string): Fix docstring (bug#14163).
9191 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
9193 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
9195 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
9198 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
9200 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
9203 2013-04-07 Leo Liu <sdl.web@gmail.com>
9205 * pcmpl-x.el: New file.
9207 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
9209 Do not set x-display-name until X connection is established.
9210 This is needed to prevent from weird situation described at
9211 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
9212 * frame.el (make-frame): Set x-display-name after call to
9213 window system initialization function, not before.
9214 * term/x-win.el (x-initialize-window-system): Add optional
9215 display argument and use it.
9216 * term/w32-win.el (w32-initialize-window-system):
9217 * term/ns-win.el (ns-initialize-window-system):
9218 * term/pc-win.el (msdos-initialize-window-system):
9219 Add compatible optional display argument.
9221 2013-04-06 Eli Zaretskii <eliz@gnu.org>
9223 * files.el (normal-backup-enable-predicate): On MS-Windows and
9224 MS-DOS compare truenames of temporary-file-directory and of the
9225 file, so that 8+3 aliases (usually found in $TEMP on Windows)
9226 don't fail comparison by compare-strings. Also, compare file
9227 names case-insensitively on MS-Windows and MS-DOS.
9229 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9231 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9232 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9234 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9236 * whitespace.el (whitespace-color-on, whitespace-color-off):
9237 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9239 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9241 * ispell.el (ispell-set-spellchecker-params):
9242 Really set `ispell-args' for all equivs.
9244 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9246 * ido.el (ido-completions): Use extra elements of ido-decorations
9248 (ido-decorations): Update docstring.
9250 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9252 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9253 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9254 nil during initialization, in order not to miss changes since the
9255 file was opened. (Bug#14140)
9257 2013-04-05 Leo Liu <sdl.web@gmail.com>
9259 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9261 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9263 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9265 2013-04-04 Glenn Morris <rgm@gnu.org>
9267 * electric.el (electric-pair-inhibit-predicate): Add :version.
9269 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9271 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9272 when a package is required several times (bug#14082).
9274 2013-04-04 Roland Winkler <winkler@gnu.org>
9276 * faces.el (read-face-name): Behave as promised by the docstring.
9277 Assume that arg default is a list of faces.
9278 (describe-face): Call read-face-name with list of default faces.
9280 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9282 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9283 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9284 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9286 (bookmark-exit-hook-internal): Save even if list is empty.
9288 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9290 * emacs-lisp/package.el (package-pinned-packages): New var.
9291 (package--add-to-archive-contents): Obey it (bug#14118).
9293 2013-04-03 Alan Mackenzie <acm@muc.de>
9295 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9296 Also adapt to the new values of element 7 of a parse state.
9298 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9299 parameter `not-in-delimiter'. Handle being inside comment opener.
9300 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9301 character in case we're typing a '*' after a '/'.
9302 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9303 instead by passing the parameter to c-state-pp-to-literal.
9305 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9306 for elt. 7 of a parse state.
9308 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9310 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9311 * international/latin1-disp.el, international/mule-util.el:
9312 * language/cyril-util.el, language/european.el, language/ind-util.el:
9313 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9314 * language/tibetan.el, language/viet-util.el:
9315 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9317 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9319 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9320 (electric-pair-post-self-insert-function): Use it.
9321 (electric-pair-default-inhibit): New function, extracted from
9322 electric-pair-post-self-insert-function.
9324 2013-03-31 Roland Winkler <winkler@gnu.org>
9326 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9328 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9330 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9332 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9334 Un-indent after "pass" and "return" statements (Bug#13888)
9335 * progmodes/python.el (python-indent-block-enders): New var.
9336 (python-indent-calculate-indentation): Use it.
9338 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9340 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9341 defun. Defining it as defalias could introduce too eager
9342 byte-compiler optimization. (Bug#14030)
9344 2013-03-30 Chong Yidong <cyd@gnu.org>
9346 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9348 2013-03-30 Leo Liu <sdl.web@gmail.com>
9350 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9351 (kmacro-execute-from-register): Pass the keyboard macro to
9352 kmacro-call-macro or repeating won't work correctly.
9354 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9356 * progmodes/subword.el: Back to using `forward-symbol'.
9358 * subr.el (forward-whitespace, forward-symbol)
9359 (forward-same-syntax): Move from thingatpt.el.
9361 2013-03-29 Leo Liu <sdl.web@gmail.com>
9363 * kmacro.el (kmacro-to-register): New command.
9364 (kmacro-execute-from-register): New function.
9365 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9367 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9369 * mpc.el: Use defvar-local and setq-local.
9370 (mpc--proc-connect): Connection failures are not bugs.
9371 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9372 (mpc-volume-map): Bind to the up-events.
9374 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9376 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9377 instead of `forward-symbol'.
9379 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9381 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9382 (edebug--recursive-edit): Use it.
9383 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9384 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9386 2013-03-28 Leo Liu <sdl.web@gmail.com>
9388 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9390 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9392 * facemenu.el (list-colors-callback): New defvar.
9393 (list-colors-redisplay): New function.
9394 (list-colors-display): Install list-colors-redisplay as the
9395 revert-buffer-function. (Bug#14063)
9397 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9399 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9400 and suffixes don't overlap (bug#14061).
9402 * case-table.el: Use lexical-binding.
9403 (case-table-get-table): New function.
9404 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9406 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9408 * progmodes/subword.el: Add `superword-mode' to do word motion
9409 over symbol_words (parallels and leverages `subword-mode' which
9410 does word motion inside MixedCaseWords).
9412 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9414 * eshell/em-unix.el: Move su and sudo to...
9415 * eshell/em-tramp.el: ...Eshell tramp module.
9417 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9419 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9420 Change return value to be a sexp. Delay `get-buffer' to after
9421 restoring the desktop (bug#13951).
9423 2013-03-26 Leo Liu <sdl.web@gmail.com>
9425 * register.el: Move semantic tag handling back to
9426 cedet/semantic/senator.el. (Bug#14052)
9428 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9430 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9431 into the prompt either (bug#13963).
9433 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9435 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9436 part of "(error-foo)".
9438 2013-03-24 Juri Linkov <juri@jurta.org>
9440 * replace.el (list-matching-lines-prefix-face): New defcustom.
9441 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9442 `occur-engine' if `face-differs-from-default-p' returns t.
9443 (occur-engine): Add `,' inside backquote construct to evaluate
9444 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9445 Pass `prefix-face' to the functions `occur-context-lines' and
9446 `occur-engine-add-prefix'.
9447 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9448 `prefix-face' and propertize the prefix with `prefix-face'.
9451 2013-03-24 Leo Liu <sdl.web@gmail.com>
9453 * nxml/rng-valid.el (rng-validate-while-idle)
9454 (rng-validate-quick-while-idle): Guard against deleted buffer.
9457 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9458 is the last entry in kill-buffer-hook.
9460 * files.el (kill-buffer-hook): Doc fix.
9462 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9464 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9467 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9469 2013-03-23 Leo Liu <sdl.web@gmail.com>
9471 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9474 * nxml/rng-valid.el (rng-validate-mode)
9475 (rng-after-change-function, rng-do-some-validation):
9476 * nxml/rng-maint.el (rng-validate-buffer):
9477 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9478 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9479 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9480 (nxml-extend-after-change-region): Use with-silent-modifications.
9482 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9485 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9486 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9487 timer-idle-list. (Bug#13999)
9489 2013-03-23 Juri Linkov <juri@jurta.org>
9491 * info.el (info-index-match): New face.
9492 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9493 main pattern and add text properties with the new face to matches
9494 in index entries relative to the beginning of the index entry.
9497 2013-03-21 Eric Ludlam <zappo@gnu.org>
9499 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9500 Inhibit read only while inserting objects.
9502 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9504 * progmodes/cfengine.el: Update docs to mention
9505 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9506 symbol motion. Remove "_" from the word syntax.
9508 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9510 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9511 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9513 2013-03-20 Juri Linkov <juri@jurta.org>
9515 * info.el (Info-next-reference-or-link)
9516 (Info-prev-reference-or-link): New functions.
9517 (Info-next-reference, Info-prev-reference): Use them.
9518 (Info-try-follow-nearest-node): Handle footnote navigation.
9519 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9521 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9523 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9524 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9526 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9528 Suppress unnecessary non-ASCII chatter during build process.
9529 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9530 (batch-skkdic-convert): Suppress most of the chatter.
9531 It's not needed so much now that machines are faster,
9532 and its non-ASCII component was confusing; see Dmitry Gutov in
9533 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9535 2013-03-20 Leo Liu <sdl.web@gmail.com>
9537 * ido.el (ido-chop): Fix bug#10994.
9539 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9541 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9543 (whitespace-color-on, whitespace-color-off):
9544 Use `font-lock-fontify-buffer' (Bug#13817).
9546 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9548 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9549 remapping in mode-line.
9550 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9552 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9554 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9555 value for `whitespace-line' face (Bug#13875).
9556 (whitespace-font-lock-keywords): Change description.
9557 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9558 the constructed keywords instead.
9559 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9561 2013-03-19 Leo Liu <sdl.web@gmail.com>
9563 * progmodes/compile.el (compilation-display-error): New command.
9564 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9567 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9569 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9571 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9573 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9575 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9577 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9579 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9580 * net/tramp-gvfs.el (top):
9581 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9582 (tramp-handle-shell-command): Use it.
9583 (tramp-dissect-file-name): Raise an error when hostname is a
9584 method name, and neither method nor user is specified.
9586 * net/trampver.el: Update release number.
9588 2013-03-18 Leo Liu <sdl.web@gmail.com>
9590 Make sure eldoc can be turned off properly.
9591 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9593 (eldoc-display-message-p): Revert last change.
9594 (eldoc-display-message-no-interference-p)
9595 (eldoc-print-current-symbol-info): Tweak.
9597 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9599 * doc-view.el (doc-view-new-window-function): Check the new window
9600 overlay's display property instead the char property of the
9601 buffer's first char. Use `with-selected-window' instead of
9602 `save-window-excursion' with `select-window'.
9603 (doc-view-document->bitmap): Check the current doc-view overlay's
9604 display property instead the char property of the buffer's first char.
9606 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9608 Automate the build of ja-dic.el (Bug#13984).
9609 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9610 from the input, rather than assume that it's been done for us by the
9611 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9612 the current date into a ja-dic.el comment, as that complicates
9615 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9617 * whitespace.el: Fix double evaluation.
9618 (whitespace-space, whitespace-hspace, whitespace-tab)
9619 (whitespace-newline, whitespace-trailing, whitespace-line)
9620 (whitespace-space-before-tab, whitespace-indentation)
9621 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9623 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9624 (whitespace-color-on): Use a single font-lock-add-keywords call.
9625 Fix double-evaluation of face variables.
9627 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9629 * net/tramp-adb.el (tramp-adb-parse-device-names):
9630 Use `start-process' instead of `call-process'. Otherwise, the
9631 function might be blocked under MS Windows. (Bug#13299)
9633 2013-03-17 Leo Liu <sdl.web@gmail.com>
9635 Extend eldoc to display info in the mode-line. (Bug#13978)
9636 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9637 (eldoc-mode-line-string): New variable.
9638 (eldoc-minibuffer-message): New function.
9639 (eldoc-message-function): New variable.
9640 (eldoc-message): Use it.
9641 (eldoc-display-message-p)
9642 (eldoc-display-message-no-interference-p):
9643 Support eldoc-post-insert-mode.
9645 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9646 (eval-expression): Run it.
9648 2013-03-17 Roland Winkler <winkler@gnu.org>
9650 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9651 strings in the list of return values.
9653 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9655 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9656 radix before checking for HMS forms.
9658 2013-03-16 Leo Liu <sdl.web@gmail.com>
9660 * progmodes/scheme.el: Add indentation and font-locking for λ.
9663 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9665 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9666 token before point (bug#13942).
9668 2013-03-16 Leo Liu <sdl.web@gmail.com>
9670 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9672 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9674 * startup.el (command-line-normalize-file-name): Fix handling of
9675 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9676 <xfq.free@gmail.com> in
9677 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9679 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9681 Sync with Tramp 2.2.7.
9683 * net/trampver.el: Update release number.
9685 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9687 * doc-view.el: Fix bug#13887.
9688 (doc-view-insert-image): Don't modify overlay associated to
9689 non-live windows, and implement horizontal centering of image in
9690 case it's smaller than the window.
9691 (doc-view-new-window-function): Force redisplay of new windows on
9694 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9696 * saveplace.el (save-place-alist-to-file): Don't sort
9697 `save-place-alist', just pretty-print it (bug#13882).
9699 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9701 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9702 Check whether `default-file-name-coding-system' is bound.
9705 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9708 backquotes for `obsolete' (bug#13929).
9710 * international/mule.el (find-auto-coding): Include file name in
9711 obsolescence warning (bug#13922).
9713 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9715 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9716 for CFEngine 3-specific indentation.
9717 (cfengine3-indent-line): Use it. Fix up category regex.
9718 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9720 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9722 * type-break.el (type-break-file-name):
9723 * textmodes/remember.el (remember-data-file):
9724 * strokes.el (strokes-file):
9725 * shadowfile.el (shadow-initialize):
9726 * saveplace.el (save-place-file):
9727 * ps-bdf.el (bdf-cache-file):
9728 * progmodes/idlwave.el (idlwave-config-directory):
9729 * net/quickurl.el (quickurl-url-file):
9730 * international/kkc.el (kkc-init-file-name):
9731 * ido.el (ido-save-directory-list-file):
9732 * emulation/viper.el (viper-custom-file-name):
9733 * emulation/vip.el (vip-startup-file):
9734 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9735 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9737 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9739 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9740 * language/thai-word.el: Switch to UTF-8.
9742 See ChangeLog.16 for earlier changes.
9748 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9750 This file is part of GNU Emacs.
9752 GNU Emacs is free software: you can redistribute it and/or modify
9753 it under the terms of the GNU General Public License as published by
9754 the Free Software Foundation, either version 3 of the License, or
9755 (at your option) any later version.
9757 GNU Emacs is distributed in the hope that it will be useful,
9758 but WITHOUT ANY WARRANTY; without even the implied warranty of
9759 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9760 GNU General Public License for more details.
9762 You should have received a copy of the GNU General Public License
9763 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.