1 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3 * international/quail.el (quail-help): Be more explicit about the
4 meaning of the labels shown on the keys. (Bug#15800)
6 * startup.el (normal-top-level): Load the subdirs.el files before
7 setting the locale environment. (Bug#15805)
9 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
11 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
12 via arguments so as to get the right ones (bug#15418).
14 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
16 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
18 Fix problems found while writing a test suite.
20 * net/tramp-compat.el (tramp-compat-load): New defun.
21 * net/tramp.el (tramp-handle-load): Use it.
23 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
24 "(numberp ok-if-already-exists)" correctly.
26 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
28 * international/characters.el (glyphless-char-display-control):
31 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
33 * progmodes/python.el (python-mode):
34 * progmodes/scheme.el (scheme-mode):
35 * progmodes/prolog.el (prolog-mode):
36 * progmodes/ruby-mode.el (ruby-mode):
37 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
38 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
40 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
42 * rect.el (rectangle--highlight-for-redisplay):
43 * emacs-lisp/smie.el (smie--next-indent-change):
44 Use buffer-chars-modified-tick.
46 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
48 * electric.el (electric-indent-post-self-insert-function):
49 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
51 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
53 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
55 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
57 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
60 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
62 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
64 * progmodes/python.el: Fix up last change.
65 (python-shell--save-temp-file): New function.
66 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
67 `string' comes from the current buffer.
68 (python-shell-send-string-no-output): Remove `msg' arg.
69 (python--use-fake-loc): New var.
70 (python-shell-buffer-substring): Obey it. Try to compensate for the
71 extra coding line added by python-shell--save-temp-file.
72 (python-shell-send-region): Use python-shell--save-temp-file and
73 python-shell-send-file directly. Add `nomain' argument.
74 (python-shell-send-buffer): Use python-shell-send-region.
75 (python-electric-pair-string-delimiter): New function.
76 (python-mode): Use it.
78 2013-11-04 Eli Zaretskii <eliz@gnu.org>
80 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
81 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
82 environment and decoding all of the default-directory's to here
84 (command-line): Decode also argv[0].
86 * loadup.el: Error out if default-directory is a multibyte string
89 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
91 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
93 * emacs-lisp/package.el (package-menu-mode)
94 (package-menu--print-info, package-menu--archive-predicate):
95 Add Archive column to package list.
97 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
99 Fix problems found while writing a test suite.
101 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
102 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
103 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
104 to nil when running original file name handler. Otherwise,
105 there are problems with constructs like "$$FOO".
107 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
110 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
112 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
114 * subr.el (version<, version<=, version=):
115 Update docstrings with information for snapshot versions.
117 * helpers.el: New library for misc helper functions.
118 (hash-table-keys): New function returning a list of hash keys.
119 (hash-table-values): New function returning a list of hash values.
121 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
123 * progmodes/ruby-mode.el (ruby-smie--forward-token)
124 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
126 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
128 * textmodes/fill.el (fill-single-char-nobreak-p): New function
129 checking whether point is after a 1-letter word.
131 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
133 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
134 Don't infloop when expanding region over `multiline' syntax-type that
135 begins a line (bug#15778).
137 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
139 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
140 Make it into a proper minor mode.
141 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
142 (rectangle-mark-mode-map): New keymap.
143 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
145 2013-11-04 Glenn Morris <rgm@gnu.org>
147 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
149 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
151 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
152 (ruby-smie-rules): Use smie-rule-parent instead.
154 * emacs-lisp/smie.el (smie-rule-parent): Always call
155 smie-indent-virtual rather than only for hanging tokens.
156 (smie--next-indent-change): New helper command.
158 2013-11-03 Glenn Morris <rgm@gnu.org>
160 * Makefile.in (abs_srcdir): Remove.
161 (emacs): Unset EMACSLOADPATH.
163 2013-11-02 Glenn Morris <rgm@gnu.org>
165 * Makefile.in (EMACS): Use a relative filename.
166 (abs_top_builddir): Remove.
167 (custom-deps, finder-data, autoloads): Use --chdir.
169 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
171 Use relative filenames in TAGS files.
172 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
173 (lisptagsfiles4, TAGS): Use relative file names.
175 (maintainer-clean): No more TAGS-LISP file.
177 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
178 (lisptagsfiles4): Use absolute filenames again.
179 (TAGS, TAGS-LISP): Not everything needs to run in one line.
180 Remove all *loaddefs files, not just the first. Remove esh-groups.
181 (maintainer-clean): Delete TAGS, TAGS-LISP.
183 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
185 * emacs-lisp/package.el (package-version-join):
186 Recognize snapshot versions.
188 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
190 * subr.el (version-regexp-alist): Add support for snapshot versions.
192 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
194 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
195 New function, replacement for `smie-rule-parent' for when we want to
196 skip over our direct parent if it's an assignment token..
197 (ruby-smie-rules): Use it.
199 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
201 * progmodes/ruby-mode.el Use `syntax-propertize-function'
202 unconditionally. Remove now unnecessary forward declarations.
203 Remove XEmacs-specific setup.
204 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
205 (ruby-font-lock-syntactic-keywords)
206 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
207 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
208 (ruby-here-doc-end-syntax): Remove.
209 (ruby-mode): Don't check whether `syntax-propertize-rules' is
212 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
214 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
216 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
218 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
219 table and abbrev table, `define-derived-mode' does that for us
222 2013-11-01 Glenn Morris <rgm@gnu.org>
224 * Makefile.in: Remove manual mh-e dependencies (writing .elc
225 files is atomic for some time, so no parallel compilation issues).
227 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
229 * faces.el (face-x-resources): Add :distant-foreground.
230 (region): Use :distant-foreground for gtk and ns.
232 2013-11-01 Tassilo Horn <tsdh@gnu.org>
234 Allow multiple bibliographies when BibLaTeX is used rather than
236 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
237 (reftex-locate-bibliography-files): Us it.
239 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
241 * image.el (image-type-header-regexps): Fix the 'pbm' part to
242 allow comments in pbm files.
244 * term/w32-win.el (dynamic-library-alist): Support newer versions
245 of libjpeg starting with v7: look only for the DLL from the
246 version against which Emacs was built.
247 Support versions of libpng beyond 1.4.x.
248 Support libtiff v4.x.
250 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
252 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
253 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
255 (ruby-deep-arglist): Add property :type.
257 2013-10-31 Glenn Morris <rgm@gnu.org>
259 * Makefile.in (custom-deps, finder-data): No need to setq the target
260 variables, we are in the right directory and the defaults work fine.
262 2013-10-30 Glenn Morris <rgm@gnu.org>
264 * Makefile.in (autoloads): Do not use abs_lisp.
266 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
267 `newline' does not respect `standard-output', so use `princ'.
269 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
271 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
272 * buff-menu.el (Buffer-menu--unmark): New function.
273 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
275 2013-10-30 Glenn Morris <rgm@gnu.org>
277 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
279 * emacs-lisp/package.el (lm-homepage): Declare.
281 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
284 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
286 * Makefile.in (finder-data, autoloads, update-subdirs)
287 (compile-main, compile-clean, compile-always, bootstrap-clean):
288 Check return value of cd.
289 (compile-calc): Remove.
291 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
293 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
295 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
296 (byte-compile-and-folded): New function.
297 (=, <, >, <=, >=): Use it.
299 * dos-w32.el (minibuffer-history-case-insensitive-variables)
300 (path-separator, null-device, buffer-file-coding-system)
301 (lpr-headers-switches): Check system-type before modifying them.
302 (find-buffer-file-type-coding-system): Mark obsolete.
303 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
304 find-file-not-found-set-buffer-file-coding-system.
305 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
306 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
307 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
308 (w32-direct-print-region-helper, w32-direct-print-region-function)
309 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
310 * startup.el (normal-top-level-add-subdirs-to-load-path):
311 * ps-print.el (ps-print-region-function):
312 * lpr.el (print-region-function): Use new name.
314 * subr.el (custom-declare-variable-early): Remove function.
315 (custom-declare-variable-list): Remove var.
316 (error, user-error): Remove `while' loop.
317 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
318 (user-emacs-directory-warning, locate-user-emacs-file):
320 * simple.el (read-quoted-char-radix, read-quoted-char):
321 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
323 * custom.el (custom-declare-variable-list): Don't process
324 custom-declare-variable-list.
326 * progmodes/python.el (python-shell-get-buffer): New function.
327 (python-shell-get-process): Use it.
328 (python-shell-send-string): Always use utf-8 and add a cookie to tell
329 Python which encoding was used. Don't split-string since we only care
330 about the first line. Return the temp-file, if applicable.
331 (python-shell-send-region): Tell compile.el how to turn locations in
332 the temp-file into locations in the source buffer.
334 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
336 * subr.el (undefined): Add missing behavior from the C code for
339 * rect.el: Use lexical-binding. Add new rectangular region support.
340 (rectangle-mark): New command.
341 (rectangle--region): New var.
342 (deactivate-mark-hook): Reset rectangle--region.
343 (rectangle--extract-region, rectangle--insert-for-yank)
344 (rectangle--highlight-for-redisplay)
345 (rectangle--unhighlight-for-redisplay): New functions.
346 (region-extract-function, redisplay-unhighlight-region-function)
347 (redisplay-highlight-region-function): Use them to handle
349 * simple.el (region-extract-function): New var.
350 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
351 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
352 (kill-region): Replace obsolete `yank-handler' arg with `region'.
353 (copy-region-as-kill, kill-ring-save): Add `region' argument.
354 (redisplay-unhighlight-region-function)
355 (redisplay-highlight-region-function): New vars.
356 (redisplay--update-region-highlight): New function.
357 (pre-redisplay-function): Use it.
358 (exchange-point-and-mark): Don't deactivate the mark before
359 reactivate-it anyway.
360 * comint.el (comint-kill-region): Remove yank-handler argument.
361 * delsel.el (delete-backward-char, backward-delete-char-untabify)
362 (delete-char): Remove property, since it's now part of their
364 (self-insert-iso): Remove property since this command doesn't exist.
366 * emacs-lisp/package.el (package--download-one-archive)
367 (describe-package-1): Don't query the user about final newline.
369 2013-10-29 Daniel Colascione <dancol@dancol.org>
371 * net/tramp.el (tramp-methods): Document new functionality.
372 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
373 tramp-hostname-checker if method provides one instead of scanning
374 argument list for "%h" to decide hostname acceptability.
376 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
378 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
379 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
380 Handle COPY-CONTENTS. (Bug#15737)
382 2013-10-28 Daiki Ueno <ueno@gnu.org>
385 (epa-file-cache-passphrase-for-symmetric-encryption):
386 Document that this option has no effect with GnuPG 2.0 (bug#15552).
388 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
390 * image.el (defimage):
391 (image-load-path): Doc fixes.
393 2013-10-27 Alan Mackenzie <acm@muc.de>
395 Indent statements in macros following "##" correctly.
396 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
397 Modify the "#" arm of a cond form to handle "#" and "##" operators.
399 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
401 * linum.el (linum-update-window): Fix boundary test (bug#13446).
403 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
405 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
406 after `=' is probably a new expression.
408 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
410 * man.el (man-imenu-title): New option.
411 (Man-mode-map): Add menu. (Bug#15722)
412 (Man-mode): Add imenu to menu.
414 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
416 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
417 specific in what the first arg can be: a non-keyword word,
418 string/regexp/percent literal opener, opening paren, or unary
419 operator followed directly by word.
421 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
423 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
424 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
425 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
426 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
427 Remove vars, they do not apply any more.
428 (prolog-mode-abbrev-table): Remove redundant declaration.
429 (prolog-upper-case-string, prolog-lower-case-string): Remove.
430 (prolog-use-smie): Remove.
431 (prolog-smie-rules): Add indentation rule for the if-then-else layout
432 supported by prolog-electric-if-then-else-flag.
433 (prolog-mode-variables, prolog-menu): Use setq-local.
434 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
435 Remove binding to `Backspace' since this key doesn't exist anyway.
436 Remove bindings for electric self-inserting keys.
437 (prog-mode): Assume it's defined.
438 (prolog-post-self-insert): New function.
439 (prolog-mode): Use it.
440 (prolog-indent-line, prolog-indent-level)
441 (prolog-find-indent-of-matching-paren)
442 (prolog-indentation-level-of-line, prolog-goto-comment-column)
443 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
444 (prolog-goto-next-paren, prolog-in-string-or-comment)
445 (prolog-tokenize, prolog-inside-mline-comment)
446 (prolog-find-start-of-mline-comment): Remove functions.
447 (prolog-find-unmatched-paren, prolog-clause-end)
448 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
449 (prolog-electric--if-then-else): Rename from
450 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
451 (prolog-tokenize-searchkey): Remove const.
452 (prolog-clause-info): Use forward-sexp.
453 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
454 (prolog-electric-if-then-else): Remove commands.
455 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
456 for use in post-self-insert-hook.
457 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
458 for use in post-self-insert-hook.
459 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
460 for use in post-self-insert-hook.
461 (prolog-electric--underscore): Rename from prolog-electric--underscore;
462 adapt it for use in post-self-insert-hook.
464 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
466 * emacs-lisp/ert.el (ert-run-tests-interactively):
467 Use `completing-read'. (Bug#9756)
469 2013-10-25 Eli Zaretskii <eliz@gnu.org>
471 * simple.el (line-move): Call line-move-1 instead of
472 line-move-visual when the current window hscroll is zero, but
473 temporary-goal-column indicates we will need to hscroll as result
474 of the movement. (Bug#15712)
476 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
478 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
479 capitalization. Use :visible instead of :active.
480 Fix `ruby-indent-exp' reference. Add menu items for the generic
481 commands that are used with SMIE.
482 (ruby-do-end-to-brace): Insert space after `{'.
484 2013-10-25 John Anthony <john@jo.hnanthony.com>
486 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
488 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
490 2013-10-25 Glenn Morris <rgm@gnu.org>
492 * vc/vc.el (vc-print-log): Don't use a working revision unless
493 one was explicitly specified. (Bug#15322)
495 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
497 * subr.el (add-to-list): Preserve return value in compiler-macro
500 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
502 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
503 result. Ask user to retry using '-all' flag. (Bug#15701)
505 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
507 * emacs-lisp/smie.el: New smie-config system.
508 (smie-config): New defcustom.
509 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
510 (smie-config-guess, smie-config-save): New commands.
511 (smie-config--mode-local, smie-config--buffer-local)
512 (smie-config--trace, smie-config--modefuns): New vars.
513 (smie-config--advice, smie-config--mode-hook)
514 (smie-config--setter, smie-config-local, smie-config--get-trace)
515 (smie-config--guess-value, smie-config--guess): New functions.
516 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
517 text properties. Treat "string fence" syntax like string syntax.
519 * progmodes/sh-script.el (sh-use-smie): Change default.
520 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
521 (sh-var-value): Simplify by CSE.
522 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
523 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
525 (sh-guess-basic-offset): Use cl-incf.
526 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
528 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
530 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
533 2013-10-24 Glenn Morris <rgm@gnu.org>
535 * Makefile.in (abs_top_srcdir): Remove.
536 (update-subdirs): Use relative path to update-subdirs.
538 2013-10-24 Eli Zaretskii <eliz@gnu.org>
540 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
541 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
542 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
543 Call unmsys--file-name before expand-file-name, not after it.
545 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
547 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
548 (ert-test-skipped): New error.
549 (ert-skip, ert-stats-skipped): New defuns.
550 (ert--skip-unless): New macro.
551 (ert-test-skipped): New struct.
552 (ert--run-test-debugger, ert-test-result-type-p)
553 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
554 (ert--stats-set-test-and-result, ert-char-for-test-result)
555 (ert-string-for-test-result, ert-run-tests-batch)
556 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
557 Handle skipped tests. (Bug#9803)
559 2013-10-24 Glenn Morris <rgm@gnu.org>
561 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
563 * Makefile.in (abs_top_srcdir): New, set by configure.
564 (update-subdirs): Correct build-aux location.
566 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
568 * vc/vc.el (vc-print-root-log): Always set `default-directory'
569 value, whether we could auto-deduce `backend', or not.
571 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
572 with parameters" example. Simplify the "is it block or is it
573 hash" check, but also make it more thorough.
575 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
577 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
579 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
581 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
584 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
587 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
589 * progmodes/compile.el (compilation-directory-matcher)
590 (compilation-page-delimiter):
591 Support GNU Make-4.0 directory quoting. (Bug#15678)
593 2013-10-23 Leo Liu <sdl.web@gmail.com>
595 * ido.el (ido-tidy): Handle read-only text.
597 2013-10-23 Glenn Morris <rgm@gnu.org>
599 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
600 (emacs, compile, compile-always):
601 Quote entities that might contain whitespace.
602 (custom-deps, finder-data, autoloads): Use abs_lisp.
603 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
604 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
605 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
607 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
609 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
610 Use `following-char'.
612 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
614 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
615 * progmodes/ruby-mode.el (ruby-smie-rules):
616 Remove corresponding workaround. Fix indentation rule of ";" so it
617 also applies when ";" is the parent.
619 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
621 * frame.el (display-screens, display-pixel-height)
622 (display-pixel-width, display-mm-width, display-backing-store)
623 (display-save-under, display-planes, display-color-cells)
624 (display-visual-class, display-monitor-attributes-list):
625 Mention the optional ‘display’ argument in doc strings.
627 2013-10-22 Michael Gauland <mikelygee@amuri.net>
629 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
630 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
632 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
634 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
635 TODO. Add "." after " @ ".
636 (ruby-smie--at-dot-call): New function. Checks if point at method
637 call with explicit target.
638 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
639 to the method name tokens when it precedes them.
640 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
641 (ruby-smie-rules): Add rule for indentation before and after "."
644 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
646 * textmodes/remember.el (remember-diary-extract-entries):
649 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
652 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
654 * progmodes/ruby-mode.el (ruby-smie-grammar): Add (almost) all infix operators.
655 (ruby-smie--implicit-semi-p): Add new operator chars.
657 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
659 (ruby-smie--args-separator-p): Check that there's no newline
660 between method call and its arguments.
662 2013-10-20 Alan Mackenzie <acm@muc.de>
664 Allow comma separated lists after Java "implements".
666 * progmodes/cc-engine.el (c-backward-over-enum-header):
668 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
669 from a "disallowed" list in enum fontification.
671 2013-10-20 Johan Bockgård <bojohan@gnu.org>
673 * startup.el (default-frame-background-mode): Remove unused defvar.
675 * progmodes/verilog-mode.el (verilog-mode): Don't set
676 comment-indent-function globally.
678 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
680 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
681 Move Info menu item creation to ns-win.el.
683 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
686 * menu-bar.el: Move GNUStep specific menus...
688 * term/ns-win.el (ns-initialize-window-system): ... to here.
690 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
692 * simple.el (newline): Only run post-self-insert-hook when
693 called interactively.
695 2013-10-19 Johan Bockgård <bojohan@gnu.org>
697 * icomplete.el (icomplete-with-completion-tables): Add :version.
699 2013-10-19 Alan Mackenzie <acm@muc.de>
701 Fix fontification bugs with constructors and const.
703 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
704 CASE 2) Remove the check for the absence of a suffix construct
705 after a function declaration with only types (no identifiers) in
706 the parentheses. Also, accept a function declaration with just a
707 type inside the parentheses, if this type can be positively
708 recognised as such, or if a prefix keyword like "explicit" nails
709 down the construct as a declaration.
711 2013-10-19 Eli Zaretskii <eliz@gnu.org>
713 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
714 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
715 the problem whereby selecting a menu item that leads to a
716 minibuffer prompt moves the cursor out of the minibuffer window,
717 making it hard to type at the prompt. Suggested by Stefan Monnier
718 <monnier@iro.umontreal.ca>.
720 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
722 * menu-bar.el: Don't make Services menu.
724 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
726 * ffap.el: Handle "/usr/include/c++/<version>" directories.
727 (ffap-alist): Use ffap-c++-mode for c++-mode.
728 (ffap-c++-path): New variable.
729 (ffap-c++-mode): New function.
731 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
733 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
735 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
737 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
738 introduced on 2013-09-08, which results in an infinite loop
739 requesting a password.
741 2013-10-18 Glenn Morris <rgm@gnu.org>
743 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
745 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
747 Sync with upstream verilog-mode revision 1a6ecec7.
748 * progmodes/verilog-mode.el (verilog-mode-version): Update.
749 (verilog-mode-release-date): Remove.
750 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
751 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
752 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
753 (verilog-auto-tieoff-ignore-regexp)
754 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
755 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
756 (verilog-signals-with, verilog-dir-cache-preserving)
757 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
759 (verilog-case-fold): New option, to control case folding in
760 regexp searches, bug597.
761 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
762 (verilog-string-match-fold, verilog-in-paren-count)
763 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
764 (verilog-at-close-struct-p): New functions.
765 (verilog-beg-block-re-ordered, verilog-extended-case-re)
766 (verilog-forward-sexp, verilog-set-auto-endcomments):
767 (verilog-leap-to-case-head): Handle "unique0" case.
768 (verilog-in-constraint-re): New constant.
769 (verilog-keywords, verilog-type-font-keywords):
770 Add some SystemVerilog 1800-2012 keywords.
771 (verilog-label-be): Remove unimplemented argument, bug669.
772 (verilog-batch-execute-func): When batch expanding clear
773 create-lockfiles to prevent spurious user locks when a file ends
775 (verilog-calculate-indent, verilog-calc-1)
776 (verilog-at-close-constraint-p, verilog-at-constraint-p)
777 (verilog-do-indent): Fix indentation of nested constraints
779 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
780 (verilog-auto-inst-param): Use verilog-string-match-fold.
781 (verilog-read-inst-module-matcher):
782 Fix AUTOINST on gate primitives with #1.
783 (verilog-read-decls): Fix double-declaring user-defined typed signals.
784 Reads all user-defined typed variables.
785 (verilog-read-defines): Fix reading definitions inside comments, bug647.
786 (verilog-signals-matching-regexp)
787 (verilog-signals-not-matching-regexp, verilog-auto):
788 Respect verilog-case-fold.
789 (verilog-diff-report): Fix line count.
790 (verilog-auto-assign-modport): Remove unused local `modi'.
791 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
792 better handle multidimensional arrays.
793 Fix packed array ports misadding bit index in AUTOINST, bug637.
794 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
795 to not double-declare existing outputs and inputs, respectively.
796 (verilog-template-map): Bind U to verilog-sk-uvm-component.
797 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
798 (verilog-sk-uvm-component): New skeleton.
799 (verilog-submit-bug-report): Add verilog-case-fold,
800 remove verilog-mode-release-date.
802 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
804 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
807 2013-10-18 Reuben Thomas <rrt@sc3d.org>
809 * textmodes/remember.el (remember): set buffer-offer-save in
810 remember buffers (bug#13566).
812 2013-10-18 Daniel Colascione <dancol@dancol.org>
814 When evaluating forms in ielm, direct standard output to ielm
815 buffer. Add new ielm-return-for-effect command. Remove trailing
816 whitespace throughout.
818 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
819 (ielm-return-for-effect): New command.
820 (ielm-send-input): Accept optional `for-effect' parameter.
821 (ielm-eval-input): Accept optional `for-effect' parameter.
822 Bind `standard-output' to stream we create using
823 `ielm-standard-output-impl'. Suppress printing result when
825 (ielm-standard-output-impl): New function.
826 (inferior-emacs-lisp-mode): Explain new features in documentation.
828 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
832 * net/tramp.el (tramp-debug-message): Do not check for connection
834 (tramp-message): Use "vector" connection property.
836 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
837 (tramp-equal-remote, tramp-eshell-directory-change)
838 * net/tramp-adb.el (tramp-adb-handle-copy-file)
839 (tramp-adb-handle-rename-file)
840 * net/tramp-cmds.el (tramp-list-remote-buffers)
841 (tramp-cleanup-connection, tramp-cleanup-this-connection)
842 * net/tramp-compat.el (tramp-compat-process-running-p)
843 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
844 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
845 (tramp-gvfs-handle-rename-file)
846 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
847 (tramp-set-file-uid-gid)
848 * net/tramp-smb.el (tramp-smb-handle-copy-file)
849 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
852 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
853 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
854 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
855 (tramp-gw-open-network-stream): Suppress unrelated traces.
857 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
858 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
859 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
860 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
863 * net/tramp-cache.el (top): Suppress traces when reading
866 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
867 Refactor common code. Improve debug message.
868 (tramp-maybe-open-connection)
869 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
870 connection buffer too early.
872 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
873 from `tramp-smb-actions-with-acl'.
874 (tramp-smb-actions-set-acl): New defconst.
875 (tramp-smb-handle-copy-directory)
876 (tramp-smb-action-get-acl): New defun, renamed from
877 `tramp-smb-action-with-acl'.
878 (tramp-smb-action-set-acl): New defun.
879 (tramp-smb-handle-set-file-acl): Rewrite.
881 2013-10-17 Glenn Morris <rgm@gnu.org>
883 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
885 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
887 * skeleton.el (skeleton-newline): Remove.
888 (skeleton-internal-1): Use (insert "\n") instead.
890 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
893 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
894 forward-sexp-function while we redo its job (bug#15613).
896 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
898 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
899 represented by lists.
901 2013-10-16 Glenn Morris <rgm@gnu.org>
903 * tmm.el (tmm--history): New dynamic variable.
904 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
906 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
908 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
909 (tramp-smb-errors): Add error messages.
910 (tramp-smb-actions-with-acl): New defconst.
911 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
912 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
913 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
914 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
915 (tramp-smb-get-stat-capability): Fix tests.
917 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
919 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
922 2013-10-16 Glenn Morris <rgm@gnu.org>
924 * ansi-color.el (ansi-color-drop-regexp):
925 Add 1J, 1K, 2K. (Bug#15617)
927 * files.el (hack-local-variables--warned-lexical): New.
928 (hack-local-variables):
929 Warn about misplaced lexical-binding. (Bug#15616)
931 * net/eww.el (eww-render): Always set eww-current-url,
932 and update header line. (Bug#15622)
933 (eww-display-html): ... Rather than just doing it here.
935 2013-10-15 Eli Zaretskii <eliz@gnu.org>
937 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
938 menu navigations commands.
940 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
942 * progmodes/subword.el (subword-capitalize): Be careful when
943 the search for [[:alpha:]] fails (bug#15580).
945 2013-10-14 Eli Zaretskii <eliz@gnu.org>
947 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
948 to commands that scroll the menu.
950 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
952 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
953 Handle methods ending with `?' and `!'.
955 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
957 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
958 `japanese-cp932' to `cp932' to fix the problem where saving a
959 source file written in Shift_JIS twice would end up having
960 `coding: japanese-cp932' which Ruby could not recognize.
961 (ruby-mode-set-encoding): Add support for encodings mapped to nil
962 in `ruby-encoding-map'.
963 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
964 doesn't need to be explicitly declared in magic comment.
965 (ruby-encoding-map): Add type declaration for better customize UI.
967 2013-10-13 Glenn Morris <rgm@gnu.org>
969 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
970 Occur buffers are read-only. http://bugs.debian.org/720775
972 * emacs-lisp/authors.el (authors-fixed-entries):
973 Comment out old alpha stuff.
975 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
977 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
978 to `after-save-hook' instead of `before-save-hook'.
979 (ruby-mode-set-encoding): Use the value of coding system used to
980 write the file. Call `basic-save-buffer-1' after modifying the
983 2013-10-13 Alan Mackenzie <acm@muc.de>
985 Fix indentation/fontification of Java enum with
986 "implements"/generic.
988 * progmodes/cc-engine.el (c-backward-over-enum-header):
989 Extracted from the three other places and enhanced to handle generics.
990 (c-inside-bracelist-p): Uses new function above.
991 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
993 (c-font-lock-enum-tail): Uses new function above.
995 2013-10-13 Kenichi Handa <handa@gnu.org>
997 * international/mule-cmds.el (select-safe-coding-system): Remove a
998 superfluous condition in chekcing whether a coding system is safe
1001 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
1003 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
1005 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
1007 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
1009 2013-10-13 Glenn Morris <rgm@gnu.org>
1011 * menu-bar.el (menu-bar-update-buffers):
1012 Unify Buffers menu prompt string. (Bug#15576)
1014 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
1016 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
1018 (authors-fixed-entries): Use accented form of name.
1020 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
1023 method calls (bug#15594).
1024 (ruby-smie--args-separator-p): New function.
1025 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
1026 recognize paren-free method calls.
1028 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
1029 internals of universal-argument.
1031 2013-10-11 Eli Zaretskii <eliz@gnu.org>
1033 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
1034 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
1035 dropped menu on second mouse click on the menu bar.
1037 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
1039 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
1040 (explicit-shell-file-name): Declare.
1041 (sh--vars-before-point, sh--cmd-completion-table): New functions.
1042 (sh-completion-at-point-function): New function.
1044 (sh-smie--keyword-p): Remove unused argument.
1045 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
1047 (sh-set-shell): Always setup SMIE, even if we use the
1048 old indentation code.
1050 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
1052 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
1054 (ruby-smie-rules): Simplify the "do" rule. The cases when the
1055 predicate would return nil are almost non-existent.
1056 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
1058 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
1059 cache also after commands that modify the buffer but don't move
1062 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1064 * env.el (substitute-env-in-file-name): New function.
1065 (substitute-env-vars): Extend the meaning of the optional arg.
1067 2013-10-10 Eli Zaretskii <eliz@gnu.org>
1069 * term/w32-win.el (dynamic-library-alist): Define separate lists
1070 of GIF DLLs for versions before and after 5.0.0 of giflib.
1073 2013-10-10 João Távora <joaotavora@gmail.com>
1075 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
1076 not locked, use last revision and current source as
1077 defaults. (Bug#15569)
1079 2013-10-10 Masatake YAMATO <yamato@redhat.com>
1081 * menu-bar.el (menu-bar-open): Don't use popup-menu if
1084 2013-10-10 Martin Rudalics <rudalics@gmx.at>
1086 * window.el (pop-to-buffer-same-window): Fix doc-string.
1089 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
1091 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
1093 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
1095 * calendar/icalendar.el (icalendar-import-file):
1096 Fix interactive spec. (Bug#15482)
1098 2013-10-10 Glenn Morris <rgm@gnu.org>
1100 * desktop.el (desktop-save): Default to saving in .emacs.d,
1101 since PWD is no longer in desktop-path by default. (Bug#15319)
1103 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
1104 now that text mode has a menu with the same entry.
1105 (menu-bar-text-mode-auto-fill): Remove now unused func.
1106 * textmodes/text-mode.el (text-mode-map):
1107 Use auto-fill help text from menu-bar.el.
1109 2013-10-10 John Anthony <john@jo.hnanthony.com>
1111 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
1113 2013-10-09 Juri Linkov <juri@jurta.org>
1115 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
1116 instead of this-command-keys. Add universal-argument-more and
1117 universal-argument-minus to the list of prefix commands. (Bug#15568)
1119 2013-10-09 Glenn Morris <rgm@gnu.org>
1121 * vc/vc-svn.el (vc-svn-create-repo):
1122 Expand paths in file://... url. (Bug#15446)
1124 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
1126 (authors): Remove unused local variables.
1128 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
1130 * profiler.el: Create a more coherent calltree from partial backtraces.
1131 (profiler-format): Hide the tail with `invisible' so that C-s can still
1132 find the hidden elements.
1133 (profiler-calltree-depth): Don't recurse so enthusiastically.
1134 (profiler-function-equal): New hash-table-test.
1135 (profiler-calltree-build-unified): New function.
1136 (profiler-calltree-build): Use it.
1137 (profiler-report-make-name-part): Indent the calltree less.
1138 (profiler-report-mode): Add visibility specs for profiler-format.
1139 (profiler-report-expand-entry, profiler-report-toggle-entry):
1140 Expand the whole subtree when provided with a prefix arg.
1142 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
1144 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
1146 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
1147 hanging iuwu-mod token.
1148 (ruby-smie--forward-token): Do not include a dot after a token in
1150 (ruby-smie--backward-token): Likewise.
1152 2013-10-08 Juri Linkov <juri@jurta.org>
1154 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
1155 to isearch-other-control-char.
1156 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
1157 and isearch-post-command-hook to post-command-hook.
1158 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
1159 and isearch-post-command-hook from post-command-hook.
1160 (isearch-unread-key-sequence)
1161 (isearch-reread-key-sequence-naturally)
1162 (isearch-lookup-scroll-key, isearch-other-control-char)
1163 (isearch-other-meta-char): Remove functions.
1164 (isearch-pre-command-hook, isearch-post-command-hook):
1165 New functions based on isearch-other-meta-char rewritten
1166 relying on the new behavior of overriding-terminal-local-map
1167 that does not replace the local keymaps any more. (Bug#15200)
1169 2013-10-08 Eli Zaretskii <eliz@gnu.org>
1171 Support menus on text-mode terminals.
1172 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
1175 * tooltip.el (tooltip-mode): Don't error out on TTYs.
1177 * menu-bar.el (popup-menu, popup-menu-normalize-position):
1178 Move here from mouse.el.
1179 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
1181 (tty-menu-navigation-map): New map for TTY menu navigation.
1183 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
1185 * frame.el (display-mouse-p): Report text-mode mouse as available
1187 (display-popup-menus-p): Report availability if mouse is
1188 available; don't condition on window-system.
1190 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
1191 (tty-menu-selected-face): New faces.
1193 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
1196 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
1197 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
1198 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
1200 (lisp-mode-variables): New `elisp' argument.
1201 (emacs-lisp-mode): Use it.
1202 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
1203 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
1205 * indent.el: Use lexical-binding.
1206 (indent-region): Add progress reporter.
1207 (tab-stop-list): Make it implicitly extend to infinity by repeating the
1209 (indent--next-tab-stop): New function to implement this behavior.
1210 (tab-to-tab-stop, move-to-tab-stop): Use it.
1212 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
1214 * indent.el (indent-rigidly--current-indentation): New function.
1215 (indent-rigidly-map): New var.
1216 (indent-rigidly): Use it to provide interactive mode (bug#8196).
1218 2013-10-08 Bastien Guerry <bzg@gnu.org>
1220 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
1222 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
1224 * progmodes/perl-mode.el: Use lexical-binding.
1225 Remove redundant :group args.
1226 (perl-nochange): Change default to be closer to other major modes's
1228 (perl-indent-line): Don't consider text on current line as a
1229 valid beginning of function from which to indent.
1231 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
1232 with more than one argument (bug#15538).
1234 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
1236 * vc/pcvs.el: Use lexical-binding.
1237 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
1238 environment of `eval'.
1239 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
1240 than a list of expressions. Adjust callers.
1241 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
1243 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
1245 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
1246 case of the dot in a chained method call being on the following line.
1248 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1250 * electric.el (electric-indent-inhibit): New var.
1251 (electric-indent-post-self-insert-function): Use it.
1252 * progmodes/python.el (python-mode): Set it.
1254 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
1257 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
1259 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
1260 (css-mode): Use electric-indent-chars.
1262 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
1263 (font-lock-beg, font-lock-end): Move before first use.
1264 (nxml-mode): Use syntax-propertize-function.
1265 (nxml-after-change, nxml-after-change1): Adjust accordingly.
1266 (nxml-extend-after-change-region): Remove.
1267 * nxml/xmltok.el: Use lexical-binding.
1268 (xmltok-save): Use `declare'.
1269 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
1270 * nxml/nxml-util.el: Use lexical-binding.
1271 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
1273 * nxml/nxml-ns.el: Use lexical-binding.
1274 (nxml-ns-save): Use `declare'.
1275 (nxml-ns-prefixes-for): Avoid add-to-list.
1276 * nxml/rng-match.el: Use lexical-binding.
1277 (rng--ipattern): Use cl-defstruct.
1278 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
1279 (rng-cons-group-after, rng-subst-group-after)
1280 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
1281 Use closures instead of `(lambda...).
1283 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
1285 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
1288 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
1289 Use `tramp-handle-insert-file-contents'.
1290 (tramp-gvfs-handle-insert-file-contents): Remove function.
1292 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1293 Use `save-restriction' in order to keep markers.
1295 * net/trampver.el: Update release number.
1297 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
1299 * progmodes/compile.el (compilation-parse-errors):
1300 Use compilation--put-prop.
1301 (compilation--ensure-parse): Check compilation-multiline.
1303 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
1305 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
1308 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
1310 * progmodes/ruby-mode.el: Fix recently added tests.
1311 (ruby-smie-grammar): Add - and +.
1312 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
1313 (ruby-smie--backward-id): New functions.
1314 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
1315 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
1318 2013-10-07 Leo Liu <sdl.web@gmail.com>
1320 * register.el (register-preview-delay)
1321 (register-preview-functions): New variables.
1322 (register-read-with-preview, register-preview)
1323 (register-describe-oneline): New functions.
1324 (point-to-register, window-configuration-to-register)
1325 (frame-configuration-to-register, jump-to-register)
1326 (number-to-register, view-register, insert-register)
1327 (copy-to-register, append-to-register, prepend-to-register)
1328 (copy-rectangle-to-register): Use register-read-with-preview to
1329 read register. (Bug#15525)
1331 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
1333 * net/network-stream.el (network-stream-open-starttls): Don't add
1334 --insecure if it's already present, because that gnutls-cli
1335 rejects getting that parameter twice.
1337 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
1339 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
1342 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
1344 * newcomment.el (comment-use-global-state): Change default value
1345 to t, mark obsolete (Bug#15251).
1346 (comment-beginning): In addition to `comment-to-syntax', check the
1347 value of `comment-use-global-state'.
1349 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
1351 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
1352 (ruby-comment-column): Follow the global default, by default.
1353 (ruby-smie-grammar): Add assignment syntax.
1354 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
1355 open-paren, a comma, or a \.
1356 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
1357 and line continuations.
1358 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
1359 followed by implicit semi-colons. Add rule for string concatenation
1360 and for indentation at BOB.
1361 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
1363 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
1364 calling next-sexp, since next-token may have skipped chars which
1365 next-sexp doesn't know should be skipped!
1367 2013-10-05 Leo Liu <sdl.web@gmail.com>
1369 * progmodes/octave.el (octave-send-region):
1370 Call compilation-forget-errors.
1372 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1374 * vc/vc-svn.el (vc-svn-find-admin-dir):
1375 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
1376 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
1377 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
1378 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
1380 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
1384 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
1386 * subr.el (read-passwd): Hide chars even when called within a context
1387 where after-change-functions is disabled (bug#15501).
1388 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
1389 until we removed ourself from overriding-terminal-local-map.
1391 2013-10-04 Leo Liu <sdl.web@gmail.com>
1393 * progmodes/octave.el (inferior-octave-mode):
1394 Call compilation-forget-errors.
1396 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
1398 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
1400 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
1402 * net/secrets.el (secrets-create-collection): Add optional
1403 argument ALIAS. Use proper Label keyword. Append ALIAS as
1404 dbus-call-method argument. (Bug#15516)
1406 2013-10-04 Leo Liu <sdl.web@gmail.com>
1408 * progmodes/octave.el (inferior-octave-error-regexp-alist)
1409 (inferior-octave-compilation-font-lock-keywords): New variables.
1410 (compilation-error-regexp-alist)
1411 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
1412 (inferior-octave-mode): Use compilation-shell-minor-mode.
1414 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
1416 * minibuffer.el (completion--replace): Be careful that `end' might be
1419 2013-10-03 Daiki Ueno <ueno@gnu.org>
1421 Add support for package signature checking.
1422 * emacs-lisp/package.el (url-http-file-exists-p)
1423 (epg-make-context, epg-context-set-home-directory)
1424 (epg-verify-string, epg-context-result-for)
1425 (epg-signature-status, epg-signature-to-string)
1426 (epg-check-configuration, epg-configuration)
1427 (epg-import-keys-from-file): Declare.
1428 (package-check-signature): New user option.
1429 (package-unsigned-archives): New user option.
1430 (package-desc): Add `signed' field.
1431 (package-load-descriptor): Set `signed' field if .signed file exists.
1432 (package--archive-file-exists-p): New function.
1433 (package--check-signature): New function.
1434 (package-install-from-archive): Check package signature.
1435 (package--download-one-archive): Check archive signature.
1436 (package-delete): Remove .signed file.
1437 (package-import-keyring): New command.
1438 (package-refresh-contents): Import default keyring.
1439 (package-desc-status): Add "unsigned" status.
1440 (describe-package-1, package-menu--print-info)
1441 (package-menu-mark-delete, package-menu--find-upgrades)
1442 (package-menu--status-predicate): Support "unsigned" status.
1444 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1446 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
1447 the new compilation scheme using the new byte-codes.
1449 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
1450 (byte-pophandler): New byte codes.
1451 (byte-goto-ops): Adjust accordingly.
1452 (byte-compile--use-old-handlers): New var.
1453 (byte-compile-catch): Use new byte codes depending on
1454 byte-compile--use-old-handlers.
1455 (byte-compile-condition-case--old): Rename from
1456 byte-compile-condition-case.
1457 (byte-compile-condition-case--new): New function.
1458 (byte-compile-condition-case): New function that dispatches depending
1459 on byte-compile--use-old-handlers.
1460 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
1463 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
1464 Optimize under `condition-case' and `catch' if
1465 byte-compile--use-old-handlers is nil.
1466 (disassemble-offset): Handle new bytecodes.
1468 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
1470 * subr.el (error): Use `declare'.
1471 (decode-char, encode-char): Use advertised-calling-convention instead
1472 of the docstring to discourage use of the `restriction' arg.
1474 2013-10-03 Daiki Ueno <ueno@gnu.org>
1476 * epg.el (epg-verify-file): Add a comment saying that it does not
1477 notify verification error as a return value nor a signal.
1478 (epg-verify-string): Ditto.
1480 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
1482 * progmodes/compile.el (compilation-start): Try globbing the arg to
1485 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
1487 Sync with Tramp 2.2.8.
1489 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
1490 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
1491 * net/trampver.el: Update release number.
1493 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
1495 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1496 and default-process-coding-system for darwin only.
1498 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
1500 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
1502 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
1504 * vc/vc-git.el (vc-git-grep): Disable pager.
1506 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
1508 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
1509 Use :url instead of :homepage, as per
1510 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
1512 * newcomment.el (comment-beginning): When `comment-use-syntax' is
1513 non-nil, use `syntax-ppss' (Bug#15251).
1515 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1517 * progmodes/octave.el (inferior-octave-startup-file):
1518 Prefer ~/.emacs.d/init_octave.m.
1520 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
1522 * emacs-lisp/package.el (package-desc-from-define):
1523 Accept additional arguments as plist, convert them to an alist and store
1524 them in the `extras' slot.
1525 (package-generate-description-file): Convert extras alist back to
1526 plist and append to the `define-package' form arguments.
1527 (package--alist-to-plist): New function.
1528 (package--ac-desc): Add `extras' slot.
1529 (package--add-to-archive-contents): Check if the archive-contents
1530 vector is long enough, and if it is, pass its `extras' slot value
1531 to `package-desc-create'.
1532 (package-buffer-info): Call `lm-homepage', pass the returned value
1533 to `package-desc-from-define'.
1534 (describe-package-1): Render the homepage button (Bug#13291).
1536 * emacs-lisp/package-x.el (package-upload-buffer-internal):
1537 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
1539 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
1541 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
1542 and default-process-coding-system to utf-8-unix (Bug#15402).
1544 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
1546 * subr.el (looking-back): Do not recommend using looking-back.
1548 2013-09-28 Alan Mackenzie <acm@muc.de>
1550 Fix indentation/fontification of Java enum with "implements".
1552 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
1553 regexp which matches "implements", etc., in Java.
1554 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
1555 specifier clauses coming after "enum".
1556 * progmodes/cc-fonts.el (c-font-lock-declarations)
1557 (c-font-lock-enum-tail): Check for extra specifier clauses coming
1560 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
1562 * faces.el (region): Change ns_selection_color to
1563 ns_selection_fg_color, add ns_selection_bg_color.
1565 2013-09-28 Leo Liu <sdl.web@gmail.com>
1567 * progmodes/octave.el (inferior-octave-completion-table)
1568 (inferior-octave-completion-at-point): Minor tweaks.
1570 * textmodes/ispell.el (ispell-lookup-words): Rename from
1571 lookup-words. (Bug#15460)
1572 (lookup-words): Obsolete.
1573 (ispell-complete-word, ispell-command-loop): All uses changed.
1575 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1577 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
1578 (octave-mode-menu): Add octave-send-buffer.
1579 (octave-send-buffer): New function.
1581 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1583 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
1585 (octave-mode-menu): Add octave-lookfor.
1586 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
1588 (octave-lookfor): New function.
1590 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
1592 * emacs-lisp/cl-macs.el:
1593 (cl--loop-destr-temps): Remove.
1594 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
1596 (cl--loop-set-iterator-function): New function.
1597 (cl-loop): Adjust accordingly, so as not to use cl-subst.
1598 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
1599 Bind `it' with `let' instead of substituting it with `cl-subst'.
1600 (cl--unused-var-p): New function.
1601 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
1602 Eliminate some unused variable warnings (bug#15326).
1604 2013-09-27 Tassilo Horn <tsdh@gnu.org>
1606 * doc-view.el (doc-view-scale-reset): Rename from
1607 `doc-view-reset-zoom-level'.
1608 (doc-view-scale-adjust): New command.
1609 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
1610 `doc-view-scale-adjust'.
1612 2013-09-26 Tassilo Horn <tsdh@gnu.org>
1614 * doc-view.el (doc-view-reset-zoom-level): New command.
1615 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
1616 zoom commands (bug#15466).
1618 2013-09-26 Kenichi Handa <handa@gnu.org>
1620 * international/quail.el (quail-help): Make it not a command.
1622 2013-09-26 Leo Liu <sdl.web@gmail.com>
1624 * minibuffer.el (completion-all-sorted-completions): Make args
1625 optional as they are.
1627 2013-09-25 Daniel Colascione <dancol@dancol.org>
1629 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
1630 specs are and that they're not evaluated.
1632 2013-09-24 Sam Steingold <sds@gnu.org>
1634 * midnight.el (clean-buffer-list-kill-regexps)
1635 (clean-buffer-list-kill-buffer-names): Update for the new Man
1636 buffer naming which includes the object name.
1638 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
1640 * eshell/esh-cmd.el (eshell--sep-terms): New var.
1641 (eshell-parse-command, eshell-parse-pipeline): Use it since
1642 eshell-separate-commands requires a dynamic scoped var.
1643 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
1645 2013-09-23 Leo Liu <sdl.web@gmail.com>
1647 * autoinsert.el (auto-insert-alist): Make the value of
1648 lexical-binding match its file setting.
1650 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
1652 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
1654 * autoarg.el (autoarg-kp-digit-argument):
1655 * electric.el (Electric-command-loop):
1656 * kmacro.el (kmacro-step-edit-insert):
1657 Do not set universal-argument-num-events.
1659 2013-09-22 Leo Liu <sdl.web@gmail.com>
1661 * files.el (interpreter-mode-alist): Add octave.
1663 2013-09-21 Alan Mackenzie <acm@muc.de>
1665 C++: fontify identifier in declaration following "public:" correctly.
1666 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
1667 to match "public", etc.
1668 (c-decl-prefix-re): Add ":" into the C++ value.
1669 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1670 bit. Add a check for a ":" preceded by "public", etc.
1672 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1674 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1675 recognized by GDB 7.5 and later.
1677 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1679 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1681 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1683 * subr.el (internal--call-interactively): New const.
1684 (called-interactively-p): Use it (bug#3984).
1686 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1688 * vc/pcvs.el (cvs-mode-ignore):
1689 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1690 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1692 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1695 (eshell-ls-orig-insert-directory): Remove.
1696 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1697 (eshell-ls-use-in-dired): Use advice-add/remove.
1698 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1699 Add `orig-fun' arg for use in :around advice.
1700 Make it check (redundantly) eshell-ls-use-in-dired.
1702 2013-09-19 Glenn Morris <rgm@gnu.org>
1704 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1706 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1708 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1710 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1712 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1713 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1714 (tramp-get-remote-python): New defuns.
1715 (tramp-get-remote-uid-with-perl)
1716 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1717 contributed by yary <not.com@gmail.com> (tiny change).
1718 (tramp-get-remote-uid-with-python)
1719 (tramp-get-remote-gid-with-python): New defuns. Python code
1720 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1721 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1723 2013-09-19 Glenn Morris <rgm@gnu.org>
1725 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1727 * eshell/em-unix.el (eshell-remove-entries):
1728 Rename argument to avoid name-clash with global `top-level'.
1730 * eshell/esh-proc.el (eshell-kill-process-function):
1731 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1732 (eshell-reset-after-proc): Remove unused arg `proc'.
1734 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1735 (directory-files-and-attributes): Mark unused arg.
1737 * eshell/em-unix.el (eshell-remove-entries):
1738 Remove unused arg `path'. Update callers.
1740 * eshell/em-hist.el (eshell-hist-parse-arguments):
1741 Remove unused arg `silent'. Update callers.
1743 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1744 Fix (f)boundp mix-up.
1746 * eshell/em-smart.el (eshell-smart-scroll-window)
1747 (eshell-disable-after-change):
1748 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1750 2013-09-18 Alan Mackenzie <acm@muc.de>
1752 Fix fontification of type when followed by "const".
1753 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1754 "known" types from fontification.
1756 2013-09-18 Glenn Morris <rgm@gnu.org>
1758 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1759 (chart-face-list): Drop Emacsen without display-color-p.
1761 * net/eww.el (libxml-parse-html-region): Declare.
1762 (eww-display-html): Explicit error if no libxml2 support.
1764 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1766 * image.el (image-type-from-buffer, image-multi-frame-p):
1767 Remove --without-x warning/error.
1769 * mouse.el (mouse-yank-primary):
1770 * term.el (term-mouse-paste):
1771 Reorder to silence --without-x compilation.
1773 * mpc.el (doc-view-mode): Silence --without-x compilation.
1775 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1776 Silence --without-x compilation.
1778 * progmodes/gud.el (gud-find-file, gud-mode):
1779 Silence --without-x compilation.
1780 (tooltip-mode): Declare.
1782 * wdired.el (dired-backup-overwrite): Remove declaration.
1783 (wdired-mode-map): Add doc string.
1785 * custom.el (x-get-resource): Declare.
1787 * eshell/em-glob.el (ange-cache):
1788 * eshell/em-unix.el (ange-cache): Declare.
1790 * faces.el (x-display-list, x-open-connection, x-get-resource):
1793 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1794 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1797 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1799 * net/gnutls.el (gnutls-log-level): Declare.
1801 * net/shr.el (image-size, image-animate): Declare.
1803 * simple.el (font-info): Declare.
1805 * subr.el (x-popup-dialog): Declare.
1807 * term/common-win.el (x-select-enable-primary)
1808 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1811 * term/ns-win.el (x-handle-args): Declare.
1813 * term/x-win.el (x-select-enable-clipboard): Declare.
1815 * term/w32-win.el (create-default-fontset): Declare.
1817 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1820 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1821 (fit-frame-to-buffer): Explicit error if --without-x.
1822 (mouse-autoselect-window-select): Silence compiler.
1824 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1826 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1827 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1828 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1829 * eshell/esh-util.el (eshell-sublist):
1830 Remove unused local variables.
1832 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1834 * textmodes/two-column.el: Make 2C-split work for --without-x.
1835 (scroll-bar-columns): Autoload.
1836 (top-level): Require fringe when compiling.
1838 2013-09-18 Leo Liu <sdl.web@gmail.com>
1840 * subr.el (add-hook): Robustify to handle closure as well.
1842 2013-09-17 Glenn Morris <rgm@gnu.org>
1844 * simple.el (messages-buffer-mode-map): Unbind "g".
1846 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1848 * help-mode.el (help-mode-finish): Use derived-mode-p.
1849 Remove obsolete highlighting.
1851 * play/life.el (life-mode): Use define-derived-mode. Derive from
1853 (life): Let-bind inhibit-read-only.
1854 (life-setup): Avoid `setq'. Use `life-mode'.
1856 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1857 which should not be needed any more.
1858 (package-menu-refresh, package-menu-describe-package): Use user-error.
1860 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1861 (eshell-post-rewrite-command-hook): Make obsolete.
1862 (eshell-parse-command): Simplify.
1863 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1864 (eshell--cmd): Declare.
1865 (eshell-parse-pipeline): Remove unused var `final-p'.
1866 Pass a dynvar to eshell-post-rewrite-command-hook.
1867 Implement the new eshell-post-rewrite-command-function.
1868 (eshell-invoke-directly): Remove unused arg `input'.
1869 * eshell/esh-io.el (eshell-io-initialize):
1870 Use eshell-post-rewrite-command-function (bug#15399).
1871 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1872 adjust to new calling convention.
1873 (eshell-create-handles): Rename args to avoid clashing with dynvar
1876 2013-09-17 Glenn Morris <rgm@gnu.org>
1878 * simple.el (messages-buffer-mode): New major mode.
1879 (messages-buffer): New function.
1880 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1881 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1882 (ert-run-test): Use `messages-buffer' function.
1883 (ert--force-message-log-buffer-truncation): Ignore read-only.
1884 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1885 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1887 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1889 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1891 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1893 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1895 * icomplete.el (icomplete-in-buffer): New var.
1896 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1897 vars and replace them with functions.
1898 (icomplete-minibuffer-setup): Adjust accordingly.
1899 (icomplete--completion-table, icomplete--completion-predicate)
1900 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1902 (icomplete-forward-completions, icomplete-backward-completions)
1903 (icomplete-simple-completing-p, icomplete-exhibit)
1904 (icomplete-completions): Use them.
1905 (icomplete--in-region-buffer): New var.
1906 (icomplete--in-region-setup): New function.
1907 (icomplete-mode): Use it.
1909 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1911 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1912 return args and options.
1913 (eshell-eval-using-options): Use the new return value of
1914 eshell--do-opts to set the options's vars in their scope.
1915 (eshell--set-option): Rename from eshell-set-option.
1917 (eshell--process-option): Rename from eshell-process-option.
1919 (eshell--process-args): Use an `opt-vals' alist to store the options's
1920 values during their processing and return them additionally to the
1923 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1925 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1926 continuation character an operator, as far as indentation is
1927 concerned (Bug#15369).
1929 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1931 * window.el (window--state-put-2): Don't process buffer state
1932 when buffer doesn't exist any more (Bug#15382).
1934 2013-09-15 Glenn Morris <rgm@gnu.org>
1936 * eshell/em-unix.el (eshell/rm):
1937 Make -f ignore missing files. (Bug#15373)
1939 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1940 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1941 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1943 2013-09-14 Glenn Morris <rgm@gnu.org>
1945 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1947 2013-09-13 Glenn Morris <rgm@gnu.org>
1949 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1950 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1952 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1954 * frame.el (x-focus-frame): Mark as declared in frame.c.
1956 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1958 * ls-lisp.el: Use advice-add.
1959 (original-insert-directory): Remove.
1960 (ls-lisp--insert-directory): Rename from insert-directory; add
1961 `orig-fun' argument.
1962 (insert-directory): Advise.
1964 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1966 * term.el (term-emulate-terminal): Decode the command string
1967 before passing it to term-command-hook. (Bug#15337)
1969 2013-09-13 Glenn Morris <rgm@gnu.org>
1971 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1973 * eshell/esh-ext.el (eshell-search-path): Declare.
1975 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1976 Otherwise an error occurs if eshell-dirs module not loaded.
1978 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1980 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1982 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1983 `tramp-check-proper-host'. Check for a valid method name.
1985 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1986 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1987 * net/tramp-sh.el (tramp-maybe-open-connection):
1988 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1990 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1991 also for hash values.
1993 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1995 * term/ns-win.el (parameters): Don't declare as dynamic.
1996 (before-make-frame-hook): Don't add ineffective function.
1998 * eshell/*.el: Use lexical-binding (bug#15231).
2000 2013-09-12 Kenichi Handa <handa@gnu.org>
2002 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
2004 2013-09-12 Glenn Morris <rgm@gnu.org>
2006 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
2007 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
2009 * subr.el (do-after-load-evaluation): Also give compiler warnings
2010 when obsolete files are used (except by obsolete files).
2012 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
2013 in the status output, assume `filename' is the first. (Bug#15322)
2015 * vc/vc.el (vc-deduce-fileset): Doc fix.
2017 * calc/calc-help.el (Info-goto-node):
2018 * progmodes/cperl-mode.el (Info-find-node):
2019 * vc/ediff.el (Info-goto-node): Update declarations.
2021 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
2023 * vc/vc-bzr.el (vc-compilation-mode): Declare.
2024 (vc-bzr-pull): Require vc-dispatcher.
2025 * vc/vc-git.el (vc-compilation-mode): Declare.
2026 (vc-git-pull): Require vc-dispatcher.
2028 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
2030 * progmodes/octave.el (help-button-action): Declare.
2032 * shell.el (shell-directory-tracker): Output error as a message
2033 rather than just returning it as a string.
2034 (shell-process-pushd): Remove useless use of message.
2036 * dframe.el (dframe-timer-fn):
2037 * files.el (dir-locals-read-from-file):
2038 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
2040 * reveal.el (reveal-post-command):
2041 * saveplace.el (load-save-place-alist-from-file):
2042 * shell.el (shell-resync-dirs):
2043 * w32-common-fns.el (x-get-selection-value):
2044 * emacs-lisp/copyright.el (copyright-find-copyright):
2045 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
2046 * emulation/tpu-edt.el (tpu-copy-keyfile):
2047 * play/bubbles.el (bubbles--mark-neighbourhood):
2048 * progmodes/executable.el
2049 (executable-make-buffer-file-executable-if-script-p):
2050 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
2052 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
2054 Cleanup Eshell to rely less on dynamic scoping.
2055 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
2056 last-value, and ext-command here. Bind `args' closer to `body'.
2057 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
2058 (eshell--args): Declare new dynamic var.
2059 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
2060 last-value, and ext-command. Pass `args' to `body'.
2061 (eshell-process-args): Bind eshell--args.
2062 (eshell-set-option): Use eshell--args.
2063 * eshell/eshell.el (eshell): Use derived-mode-p.
2064 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
2065 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
2066 (eshell-glob-function): Declare.
2067 * eshell/esh-util.el: Require cl-lib.
2068 (eshell-read-hosts-file): Avoid add-to-list.
2069 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
2071 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
2073 (eshell/diff): Remove unused var `err'.
2074 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
2076 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
2077 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
2079 * eshell/em-glob.el (eshell-glob-matches, message-shown):
2080 Move declaration before first use.
2081 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
2082 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
2085 2013-09-12 Glenn Morris <rgm@gnu.org>
2087 * term/ns-win.el (global-map): Remove binding for ispell-next,
2088 deleted 1999-05-29. (Bug#15357)
2090 2013-09-11 Glenn Morris <rgm@gnu.org>
2092 * echistory.el (electric-command-history): Remove call to deleted func.
2094 * play/landmark.el (landmark-mode): Fix typos.
2096 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
2097 Check cvs-sort-ignore-file is bound.
2099 * savehist.el: No need for cl when compiling on Emacs.
2101 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2103 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
2105 (eshell-self-insert-command, eshell-send-invisible):
2106 Remove unused argument.
2107 (eshell-handle-control-codes): Remove unused var `orig'.
2108 Avoid delete-backward-char.
2110 * files.el (set-auto-mode): Simplify a bit further.
2112 2013-09-11 Glenn Morris <rgm@gnu.org>
2114 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
2115 (set-auto-mode): Don't regexp-quote elements.
2116 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
2117 * progmodes/cc-mode.el (interpreter-mode-alist):
2118 * progmodes/ruby-mode.el (interpreter-mode-alist):
2119 Revert previous change.
2121 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
2123 * play/snake.el (snake-mode):
2124 * play/mpuz.el (mpuz-mode):
2125 * play/landmark.el (lm-mode):
2126 * play/blackbox.el (blackbox-mode):
2127 * play/5x5.el (5x5-mode):
2128 * obsolete/options.el (Edit-options-mode):
2129 * net/quickurl.el (quickurl-list-mode):
2130 * net/newst-treeview.el (newsticker-treeview-mode):
2131 * mail/rmailsum.el (rmail-summary-mode):
2132 * mail/mspools.el (mspools-mode):
2133 * locate.el (locate-mode):
2134 * ibuffer.el (ibuffer-mode):
2135 * emulation/ws-mode.el (wordstar-mode):
2136 * emacs-lisp/debug.el (debugger-mode):
2137 * array.el (array-mode):
2138 * net/eudc.el (eudc-mode): Use define-derived-mode.
2139 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
2140 Move initialization into declaration.
2141 (mairix-searches-mode): Use define-derived-mode.
2142 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
2143 (eudc-edit-hotlist): Use dolist.
2144 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
2145 (Man-mode): Use define-derived-mode.
2146 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
2147 (Info-edit-mode): Use define-derived-mode.
2148 (Info-cease-edit): Use Info-mode.
2149 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
2151 (eshell-mode): Use define-derived-mode.
2152 * chistory.el (command-history-mode-map): Rename from
2153 command-history-map.
2154 (command-history-mode): Use define-derived-mode.
2155 (Command-history-setup): Remove function.
2156 * calc/calc.el (calc-trail-mode-map): New var.
2157 (calc-trail-mode): Use define-derived-mode.
2158 (calc-trail-buffer): Set calc-main-buffer manually.
2159 * bookmark.el (bookmark-insert-annotation): New function.
2160 (bookmark-edit-annotation): Use it.
2161 (bookmark-edit-annotation-mode): Make it a proper major mode.
2162 (bookmark-send-edited-annotation): Use derived-mode-p.
2163 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
2164 closer to its ideal place. Use \' to match EOS.
2166 * profiler.el (profiler-calltree-find): Use function-equal.
2168 2013-09-10 Glenn Morris <rgm@gnu.org>
2170 * files.el (interpreter-mode-alist): Convert to regexps.
2171 (set-auto-mode): Adapt for this. (Bug#15306)
2172 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
2173 Comment out unused variable.
2174 * progmodes/cc-mode.el (interpreter-mode-alist):
2175 * progmodes/python.el (interpreter-mode-alist):
2176 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
2177 * progmodes/sh-script.el (sh-set-shell):
2178 No longer use interpreter-mode-alist to get list of shells.
2180 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
2182 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
2184 * simple.el: Use set-temporary-overlay-map for universal-argument.
2185 (universal-argument-map): Don't use default-bindings (bug#15317).
2186 Bind switch-frame explicitly. Replace universal-argument-minus with
2187 a conditional binding.
2188 (universal-argument-num-events, saved-overriding-map): Remove.
2189 (restore-overriding-map): Remove.
2190 (universal-argument--mode): Rename from save&set-overriding-map,
2192 (universal-argument, universal-argument-more, negative-argument)
2193 (digit-argument): Adjust accordingly.
2194 (universal-argument-minus): Remove.
2195 (universal-argument-other-key): Remove.
2197 * subr.el (with-demoted-errors): Add `format' argument.
2199 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
2201 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
2202 `tramp-cleanup-connection'.
2204 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
2205 parameters KEEP-DEBUG and KEEP-PASSWORD.
2207 * net/tramp.el (tramp-file-name-handler):
2208 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2209 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
2210 (tramp-maybe-open-connection):
2211 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2212 Use `tramp-cleanup-connection'.
2214 * net/tramp-sh.el (tramp-maybe-open-connection):
2215 Catch 'uname-changed inside the progress reporter.
2217 2013-09-10 Glenn Morris <rgm@gnu.org>
2219 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
2221 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
2222 returns "alternate access method" in mode (eg "-rw-r--r--.").
2224 2013-09-08 Glenn Morris <rgm@gnu.org>
2226 * saveplace.el (load-save-place-alist-from-file):
2227 Demote errors. (Bug#15305)
2229 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
2231 Improve compatibility with older Emacsen, and XEmacs.
2233 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
2234 only if it is bound. It isn't for XEmacs.
2235 (with-tramp-progress-reporter): Do not let-bind `result'.
2236 This yields to scoping errors in XEmacs.
2237 (tramp-handle-make-auto-save-file-name): New function, moved from
2240 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
2241 for `make-auto-save-file-name'.
2242 (tramp-adb--gnu-switches-to-ash):
2243 Use `tramp-compat-replace-regexp-in-string'.
2245 * net/tramp-cache.el (tramp-cache-print): Call
2246 `substring-no-properties' only if it is bound. It isn't for XEmacs.
2248 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
2249 bound. It isn't for XEmacs.
2251 * net/tramp-compat.el (tramp-compat-copy-file):
2252 Catch `wrong-number-of-arguments' error.
2253 (tramp-compat-replace-regexp-in-string): New defun.
2255 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
2256 for `make-auto-save-file-name'.
2257 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
2259 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
2260 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
2261 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
2263 * net/tramp-gw.el (tramp-gw-open-network-stream):
2264 Use `tramp-compat-replace-regexp-in-string'.
2266 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
2267 Call `tramp-handle-make-auto-save-file-name'.
2268 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
2269 (tramp-sh-file-gvfs-monitor-dir-process-filter)
2270 (tramp-sh-file-inotifywait-process-filter):
2271 Use `tramp-compat-replace-regexp-in-string'.
2272 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
2274 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
2275 for `make-auto-save-file-name'.
2276 (tramp-smb-handle-copy-directory):
2277 Call `tramp-compat-replace-regexp-in-string'.
2278 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
2279 (tramp-smb-handle-copy-file): Improve error message.
2280 (tramp-smb-handle-rename-file): Rename directly only in case
2281 `newname' does not exist yet. This is a restriction of smbclient.
2282 (tramp-smb-maybe-open-connection): Rerun the function only when
2283 `auth-sources' is non-nil.
2285 2013-09-08 Kenichi Handa <handa@gnu.org>
2287 * international/characters.el: Set category "^" (Combining) for
2290 2013-09-07 Alan Mackenzie <acm@muc.de>
2292 Correctly fontify Java class constructors.
2293 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
2295 (c-recognize-typeless-decls): Set the Java value to t.
2296 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
2297 While handling a "(", add a check for, effectively, Java, and handle a
2298 "typeless" declaration there.
2300 2013-09-07 Roland Winkler <winkler@gnu.org>
2302 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
2303 field subtitle for entry type book.
2305 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2307 * minibuffer.el: Make minibuffer-complete call completion-in-region
2308 rather than other way around.
2309 (completion--some, completion-pcm--find-all-completions):
2310 Don't delay signals when debugging.
2311 (minibuffer-completion-contents): Beware fields within the
2312 minibuffer contents.
2313 (completion-all-sorted-completions): Use defvar-local.
2314 (completion--do-completion, completion--cache-all-sorted-completions)
2315 (completion-all-sorted-completions, minibuffer-force-complete):
2316 Add args `beg' and `end'.
2317 (completion--in-region-1): New fun, extracted from minibuffer-complete.
2318 (minibuffer-complete): Use completion-in-region.
2319 (completion-complete-and-exit): New fun, extracted from
2320 minibuffer-complete-and-exit.
2321 (minibuffer-complete-and-exit): Use it.
2322 (completion--complete-and-exit): Rename from
2323 minibuffer--complete-and-exit.
2324 (completion-in-region--single-word): New function, extracted from
2325 minibuffer-complete-word.
2326 (minibuffer-complete-word): Use it.
2327 (display-completion-list): Make `common-substring' argument obsolete.
2328 (completion--in-region): Call completion--in-region-1 instead of
2329 minibuffer-complete.
2330 (completion-help-at-point): Pass boundaries to
2331 minibuffer-completion-help as args rather than via an overlay.
2332 (completion-pcm--string->pattern): Use `any-delim'.
2333 (completion-pcm--optimize-pattern): New function.
2334 (completion-pcm--pattern->regex): Handle `any-delim'.
2335 * icomplete.el (icomplete-forward-completions)
2336 (icomplete-backward-completions, icomplete-completions):
2337 Adjust calls to completion-all-sorted-completions and
2338 completion--cache-all-sorted-completions.
2339 (icomplete-with-completion-tables): Default to t.
2340 * emacs-lisp/crm.el (crm--current-element): Rename from
2341 crm--select-current-element. Don't put an overlay but return the
2343 (crm--completion-command): Take two new args to bind to the boundaries.
2344 (crm-completion-help): Adjust accordingly.
2345 (crm-complete): Use completion-in-region.
2346 (crm-complete-word): Use completion-in-region--single-word.
2347 (crm-complete-and-exit): Use completion-complete-and-exit.
2349 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2351 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
2354 2013-09-06 Juri Linkov <juri@jurta.org>
2356 * info.el (Info-display-images-node): When image file doesn't exist
2357 display text version of the image if it's provided in the Info file.
2358 Otherwise, display the location of missing image from SRC attribute.
2359 Add help-echo text property from ALT attribute. (Bug#15279)
2361 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
2363 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
2364 (edit-abbrevs-mode): Use define-derived-mode.
2366 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
2367 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
2369 (epa-key-list-mode, epa-key-mode, epa-info-mode):
2370 Use define-derived-mode.
2372 * epg.el (epg-start-encrypt): Minor CSE simplification.
2374 2013-09-06 William Xu <william.xwl@gmail.com>
2376 * arc-mode.el: Add support for 7za (bug#15264).
2377 (archive-7z-program): New var.
2378 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
2379 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
2380 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
2382 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
2386 * net/tramp.el (tramp-syntax, tramp-prefix-format)
2387 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
2388 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
2389 (tramp-postfix-host-format, tramp-file-name-regexp)
2390 (tramp-completion-file-name-regexp)
2391 (tramp-completion-dissect-file-name)
2392 (tramp-handle-substitute-in-file-name): Remove 'url case.
2393 (tramp-file-name-regexp-url)
2394 (tramp-completion-file-name-regexp-url): Remove constants.
2396 2013-09-06 Glenn Morris <rgm@gnu.org>
2398 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
2400 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
2402 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
2403 keywords" below "here-doc beginnings" (Bug#15270).
2405 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2407 * subr.el (pop): Use `car-safe'.
2408 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
2409 to detect unused `pop' return value.
2411 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
2413 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
2414 (python-fill-string): Remove unused var `marker'.
2415 (python-skeleton-add-menu-items): Remove unused var `items'.
2417 * international/mule-cmds.el: Require CL.
2418 (find-coding-systems-for-charsets): Avoid add-to-list.
2419 (sanitize-coding-system-list): New function, extracted from
2420 select-safe-coding-system-interactively.
2421 (select-safe-coding-system-interactively): Use it.
2422 (read-input-method-name): Accept symbols for `default'.
2424 * emacs-lisp/advice.el (defadvice): Add indent rule.
2426 2013-09-05 Daniel Hackney <dan@haxney.org>
2430 * net/browse-url.el:
2433 * net/eudcb-ldap.el:
2446 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
2447 byte compiler. Remove some unused let-bound variables.
2449 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
2451 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
2452 a "ref-cell", since it gets better optimized (bug#14883).
2454 2013-09-05 Glenn Morris <rgm@gnu.org>
2456 * progmodes/cc-awk.el (c-forward-sws): Declare.
2458 2013-09-04 Glenn Morris <rgm@gnu.org>
2460 * generic-x.el [rul-generic-mode]: Require cc-mode.
2461 (c++-mode-syntax-table): Declare.
2462 (rul-generic-mode-syntax-table): Init in the defvar.
2464 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
2466 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
2467 (vc-do-command, vc-set-async-update):
2468 * vc/vc-mtn.el (vc-mtn-dir-status):
2469 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
2470 (vc-hg-pull, vc-hg-merge-branch):
2471 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
2472 (vc-git-merge-branch):
2473 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
2474 (vc-cvs-dir-status-files):
2475 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
2476 (vc-bzr-dir-status-files):
2477 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
2478 * vc/vc-annotate.el: Use lexical-binding.
2479 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
2480 (vc-sentinel-movepoint): Declare.
2481 (vc-annotate): Don't use `goto-line'.
2482 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
2483 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
2484 (vc-sentinel-movepoint): Declare.
2485 * vc/vc-svn.el: Use lexical-binding.
2486 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
2488 * vc/vc-rcs.el: Use lexical-binding.
2490 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
2491 `deleted'. Don't drop errors silently.
2493 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
2495 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
2497 * vc/vc.el (vc-ignore): Rewrite.
2498 (vc-default-ignore): New function.
2499 (vc-default-ignore-completion-table): Use find-ignore-file.
2501 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
2502 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
2503 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
2504 Remove. Most code moved to vc.el.
2506 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
2508 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
2509 * net/tramp-smb.el (tramp-smb-get-file-entries):
2510 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
2511 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
2513 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
2515 (eww-change-select): Remove unused var `properties'.
2516 (eww-make-unique-file-name): Remove unused var `base'.
2518 * finder.el (finder-compile-keywords): Don't mess with windows.
2520 * calculator.el (calculator-funcall): Fix typo in last change.
2522 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
2524 * emacs-lisp/package.el (package-activate-1): Don't let a missing
2525 <pkg>-autoloads.el file stop us.
2527 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
2528 warnings, and factor out common code.
2530 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
2532 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
2533 two-character operators and whether the character preceding them
2534 changes their meaning (Bug#15208).
2536 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2538 Format code sent to Python shell for robustness.
2539 * progmodes/python.el (python-shell-buffer-substring):
2541 (python-shell-send-region, python-shell-send-buffer): Use it.
2543 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
2545 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
2546 * net/tramp.el (tramp-user-error): ... here.
2547 (tramp-find-method, tramp-check-proper-host)
2548 (tramp-dissect-file-name, tramp-debug-message)
2549 (tramp-handle-shell-command):
2550 * net/tramp-adb.el (tramp-adb-handle-shell-command):
2551 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
2553 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
2555 2013-09-02 Martin Rudalics <rudalics@gmx.at>
2557 * avoid.el (mouse-avoidance-point-position)
2558 (mouse-avoidance-too-close-p): Handle case where posn-at-point
2561 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
2563 * progmodes/python.el (python-shell-completion-get-completions):
2564 Drop use of deleted `comint-last-prompt-overlay'.
2565 (python-nav-if-name-main): New command.
2567 2013-09-01 Glenn Morris <rgm@gnu.org>
2569 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
2570 Avoid leading space in $wins. Otherwise the sed command used by
2571 eg compile-main ends up containing "/*.el". (Bug#15170)
2573 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
2575 2013-08-30 Glenn Morris <rgm@gnu.org>
2577 * emacs-lisp/bytecomp.el (byte-recompile-directory):
2578 Fix is-this-a-directory logic. (Bug#15220)
2580 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * textmodes/css-mode.el: Use SMIE.
2583 (css-smie-grammar): New var.
2584 (css-smie--forward-token, css-smie--backward-token)
2585 (css-smie-rules): New functions.
2586 (css-mode): Use them.
2587 (css-navigation-syntax-table): Remove var.
2588 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
2589 (css-indent-calculate, css-indent-line): Remove functions.
2591 Misc changes to reduce use of `(lambda...); and other cleanups.
2592 * cus-edit.el: Use lexical-binding.
2593 (customize-push-and-save, customize-apropos)
2594 (custom-buffer-create-internal): Use closures.
2595 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
2596 * progmodes/ada-xref.el: Use setq.
2597 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
2598 * dframe.el: Use lexical-binding.
2599 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
2600 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
2601 * descr-text.el: Use lexical-binding.
2602 (describe-text-widget, describe-text-sexp, describe-property-list):
2604 * comint.el (comint-history-isearch-push-state): Use a closure.
2605 * calculator.el: Use lexical-binding.
2606 (calculator-number-to-string): Make it work with lexical-binding.
2607 (calculator-funcall): Same and use cl-letf.
2609 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
2610 (lisp--company-doc-string, lisp--company-location): New functions.
2611 (lisp-completion-at-point): Use them to improve Company support.
2613 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
2614 params of lambda expressions.
2615 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
2616 (ruby-smie--opening-pipe-p): New function.
2617 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
2618 symbols and matched |...| for formal params.
2619 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
2620 from being treated as hanging. Handle "rescue".
2622 2013-08-29 Glenn Morris <rgm@gnu.org>
2624 * progmodes/cc-engine.el (c-pull-open-brace):
2625 Move definition before use.
2627 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
2629 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
2630 are immutable. Don't use `unsafe' any more.
2631 (cl--defsubst-expand): Don't substitute at the same time as keeping
2632 a residual unused let-binding. Don't use `unsafe' any more.
2634 2013-08-29 Glenn Morris <rgm@gnu.org>
2636 * calendar/cal-china.el (calendar-chinese-year-cache):
2639 * nxml/nxml-util.el (nxml-debug-clear-inside):
2640 Use cl-loop rather than loop.
2642 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
2644 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
2646 2013-08-28 Glenn Morris <rgm@gnu.org>
2648 * progmodes/antlr-mode.el: No need to require cc-mode twice.
2650 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
2652 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
2654 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * simple.el (repeat-complex-command--called-interactively-skip):
2658 (repeat-complex-command): Use it (bug#14136).
2660 * progmodes/cc-mode.el: Minor cleanup of var declarations.
2661 (c-define-abbrev-table): Add `doc' argument.
2662 (c-mode-abbrev-table, c++-mode-abbrev-table)
2663 (objc-mode-abbrev-table, java-mode-abbrev-table)
2664 (idl-mode-abbrev-table, pike-mode-abbrev-table)
2665 (awk-mode-abbrev-table): Use it.
2666 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
2667 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
2668 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2669 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2670 Move initialization into the declaration; and remove any
2673 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2674 and dynamic let binding.
2676 * vc/smerge-mode.el: Remove redundant :group args.
2678 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2681 2013-08-28 Juri Linkov <juri@jurta.org>
2683 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2684 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2685 (isearch-other-meta-char): Handle an undefined shifted printing
2686 character by downshifting it. (Bug#15200)
2688 2013-08-28 Juri Linkov <juri@jurta.org>
2690 * isearch.el (isearch-search): Change regexp error message for
2691 non-regexp searches. (Bug#15166)
2693 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2695 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2696 for portability to hosts where /bin/sh has problems.
2698 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2700 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2702 2013-08-27 Juri Linkov <juri@jurta.org>
2704 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2705 in the keyboard macro. (Bug#15126)
2707 2013-08-27 Juri Linkov <juri@jurta.org>
2709 * isearch.el (isearch-quote-char): Comment out converting unibyte
2710 to multibyte, thus syncing with its `quoted-insert' counterpart.
2713 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2715 * window.el (display-buffer-use-some-window): Add missing
2716 argument in call of get-largest-window (Bug#15185).
2717 Reported by Stephen Leake.
2719 2013-08-27 Glenn Morris <rgm@gnu.org>
2721 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2723 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2725 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2726 from a matcher-function unless there's no more matches (bug#15161).
2728 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2730 * minibuffer.el: Revert change from 2013-08-20.
2732 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2733 with text property `tramp-default', if appropriate.
2734 (tramp-check-proper-host): New defun.
2735 (tramp-dissect-file-name): Do not check hostname. Revert change
2737 (tramp-backtrace): Make VEC-OR-PROC optional.
2739 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2740 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2741 * net/tramp-sh.el (tramp-maybe-open-connection):
2742 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2743 Apply `tramp-check-proper-host'.
2745 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2747 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2748 lambda expression in order to have `describe-variable' display it.
2750 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2752 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2753 BUF can be optional. (Bug#15186)
2755 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2757 * progmodes/flymake.el (flymake-get-real-file-name-function):
2758 Fix broken customization. (Bug#15184)
2760 2013-08-25 Alan Mackenzie <acm@muc.de>
2762 Improve indentation of bracelists defined by macros (without "=").
2764 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2765 expansion begins with "{", regard it as bracelist when it doesn't
2768 Parse C++ inher-intro when there's a template split over 2 lines.
2770 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2771 rigorously the search for "class" etc. followed by ":".
2773 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2774 random languages a regexp which never matches rather than nil.
2776 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2778 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2779 (c-awk-regexp-one-line-possibly-open-char-list-re)
2780 (c-awk-one-line-possibly-open-regexp-re)
2781 (c-awk-one-line-non-syn-ws*-re): Remove.
2782 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2783 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2784 (c-awk-space*-unclosed-regexp-/-re): New constants.
2785 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2786 aren't regexp delimiters.
2788 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2789 handling for a rare situation in AWK Mode involving unterminated
2792 2013-08-23 Glenn Morris <rgm@gnu.org>
2794 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2796 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2798 * files.el (create-file-buffer): If the result would begin with
2799 spaces, prepend a "|" instead of removing them. (Bug#15162)
2801 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2803 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2804 text-properties (bug#15155).
2806 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2808 (calc-keypad-redraw): Remove unused var `pad'.
2809 (calc-keypad-press): Remove unused var `menu'.
2811 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2813 * window.el (display-buffer-pop-up-frame):
2814 Call pop-up-frame-function with BUFFER current so `make-frame' will
2815 use it as the new frame's buffer (Bug#15133).
2817 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * calendar/timeclock.el: Minor cleanups.
2820 (timeclock-ask-before-exiting, timeclock-use-display-time):
2822 (timeclock-modeline-display): Define as alias before the
2824 (timeclock-mode-line-display): Use define-minor-mode.
2825 (timeclock-day-list-template): Make it a function, add an argument.
2826 (timeclock-day-list-required, timeclock-day-list-length)
2827 (timeclock-day-list-debt, timeclock-day-list-span)
2828 (timeclock-day-list-break): Adjust calls accordingly.
2830 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2832 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2833 Use read--expression so that completion works again.
2835 2013-08-21 Sam Steingold <sds@gnu.org>
2837 Add rudimentary inferior shell interaction
2838 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2839 (sh-set-shell): Reset it.
2840 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2841 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2843 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2845 * align.el: Use lexical-binding.
2846 (align-region): Simplify accordingly.
2848 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2850 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2852 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2855 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2859 * net/tramp-cmds.el:
2861 * net/tramp-gvfs.el:
2863 * net/tramp-sh.el: Don't wrap external variable declarations by
2864 `eval-when-compile'.
2866 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2868 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2869 now that Emacs supports ImageMagick animations.
2871 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2873 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2874 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2876 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2878 * window.el (mouse-autoselect-window-select): Do autoselect when
2879 mouse pointer is on margin.
2881 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2883 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2885 2013-08-16 Glenn Morris <rgm@gnu.org>
2887 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2888 Handle "Remote Directory" response of some clients. (Bug#15058)
2890 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2891 Tweak warning. (Bug#14926)
2893 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2894 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2896 * image-mode.el (image-mode-map): Add menu items to reverse,
2897 increase, decrease, reset animation speed.
2898 (image--set-speed, image-increase-speed, image-decrease-speed)
2899 (image-reverse-speed, image-reset-speed): New functions.
2900 (image-mode-map): Add bindings for speed commands.
2902 * image.el (image-animate-get-speed, image-animate-set-speed):
2904 (image-animate-timeout): Respect image :speed property.
2906 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2908 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2909 previous line (bug#15101).
2910 (debugger-eval-expression, debugger-record-expression):
2911 Use read--expression (bug#15102).
2913 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2915 Remove byte compiler warnings, visible when compiling with
2916 `byte-compile-force-lexical-warnings' set to t.
2918 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2919 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2920 (tramp-handle-unhandled-file-name-directory)
2921 (tramp-handle-file-notify-add-watch, tramp-action-login)
2922 (tramp-action-succeed, tramp-action-permission-denied)
2923 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2926 * net/tramp-adb.el (tramp-adb-parse-device-names)
2927 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2928 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2929 (tramp-adb-handle-file-truename): Remove unused arguments.
2931 * net/tramp-cache.el (tramp-flush-directory-property)
2932 (tramp-flush-connection-property, tramp-list-connections)
2933 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2935 * net/tramp-compat.el (tramp-compat-make-temp-file):
2936 Rename FILENAME to F.
2938 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2939 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2940 (tramp-zeroconf-parse-workstation-device-names)
2941 (tramp-zeroconf-parse-webdav-device-names)
2942 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2944 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2945 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2947 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2949 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2950 (tramp-sh-handle-insert-file-contents-literally)
2951 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2953 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2954 Remove unused variables.
2956 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2957 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2958 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2960 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2961 Make them a defconst.
2962 (tramp-uuencode-region): Remove unused variable.
2964 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2966 * frameset.el (frameset--prop-setter): New function.
2967 (frameset-prop): Add gv-setter declaration.
2968 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2969 parameter was already set in FILTERED. Doc fix.
2970 (frameset--record-minibuffer-relationships): Allow saving a
2971 minibufferless frame without its corresponding minibuffer frame.
2972 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2973 frame, if the frame id matches.
2974 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2975 frames before orphaned ones.
2976 (frameset-restore): Warn about orphaned windows, instead of error out.
2978 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2980 * window.el (window-make-atom): Don't overwrite parameter
2982 (display-buffer-in-atom-window): Handle special case where we
2983 split an already atomic window.
2984 (window--major-non-side-window, display-buffer-in-side-window)
2985 (window--side-check): Ignore minibuffer window when walking
2987 (window-deletable-p): Return 'frame only if no other frame uses
2988 our minibuffer window.
2989 (record-window-buffer): Run buffer-list-update-hook.
2990 (split-window): Make sure window--check-frame won't destroy an
2991 existing atomic window in case the new window gets nested
2993 (display-buffer-at-bottom): Ignore minibuffer window when
2994 walking window tree. Don't split a side window.
2995 (pop-to-buffer): Don't set-buffer here, the select-window call
2997 (mouse-autoselect-window-select): Autoselect only if we are in the
2998 text portion of the window.
3000 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
3002 * net/shr.el (shr-parse-image-data): New function to grab both the
3003 data itself and the Content-Type.
3004 (shr-put-image): Use it.
3006 * net/eww.el (eww-display-image): Ditto.
3008 * image.el (image-content-type-suffixes): New variable.
3010 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3012 * progmodes/python.el (python-imenu--build-tree)
3013 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
3015 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
3017 * simple.el (backward-word): Mention the optional argument.
3019 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3021 * frameset.el (frameset--make): Rename constructor from make-frameset.
3022 (frameset-p, frameset-valid-p): Don't autoload.
3023 (frameset-valid-p): Use normal accessors.
3025 2013-08-13 Glenn Morris <rgm@gnu.org>
3027 * progmodes/compile.el (compile-command): Tweak example in doc.
3028 * obsolete/scribe.el (scribe-mode):
3029 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
3031 * mail/feedmail.el (feedmail-confirm-outgoing)
3032 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
3034 * cus-start.el (truncate-partial-width-windows): Fix type.
3036 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
3038 * net/shr.el (shr-table-horizontal-line): Fix custom type.
3040 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * emacs-lisp/timer.el (timer--time-setter): New function.
3043 (timer--time): Use it as gv-setter.
3045 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
3046 setter is not a symbol.
3048 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
3050 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
3051 if sending fails. This makes debugging easier.
3053 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
3055 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
3056 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
3057 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
3059 2013-08-12 Eli Zaretskii <eliz@gnu.org>
3061 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
3063 2013-08-12 Glenn Morris <rgm@gnu.org>
3065 * format.el (format-annotate-function):
3066 Handle read-only text properties in the source. (Bug#14887)
3068 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
3070 * net/eww.el (eww-display-html): Ignore coding system errors.
3071 One web site uses "utf-8lias" as the coding system.
3073 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
3075 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
3077 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
3079 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
3080 (tutorial--detailed-help): Remove unused local variables.
3081 (tutorial--save-tutorial-to): Use ignore-errors.
3082 (help-with-tutorial): Use looking-at-p.
3084 * view.el (view-buffer-other-window, view-buffer-other-frame):
3085 Mark unused arguments.
3087 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
3088 (woman-select-symbol-fonts, woman, woman-find-file)
3089 (woman-insert-file-contents, woman-non-underline-faces):
3091 (woman1-unquote): Move declaration.
3093 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
3094 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
3095 argument. Remove unused local variable.
3096 (xml-parse-elem-type): Use string-match-p.
3097 (xml-substitute-numeric-entities): Use ignore-errors.
3099 * calculator.el (calculator): Mark unused argument.
3100 (calculator-paste, calculator-quit, calculator-integer-p):
3102 (calculator-string-to-number, calculator-decimal, calculator-exp)
3103 (calculator-op-or-exp): Use string-match-p.
3105 * dired.el (dired-buffer-more-recently-used-p): Declare.
3106 (dired-insert-set-properties, dired-insert-old-subdirs):
3109 * dired-aux.el (dired-compress): Use ignore-errors.
3110 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
3111 (dired-do-async-shell-command, dired-do-shell-command)
3112 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
3113 (dired-insert-subdir-validate): Use string-match-p.
3114 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
3115 (dired-add-entry): Use string-match-p, looking-at-p.
3116 (dired-insert-subdir-newpos): Remove unused local variable.
3118 * filenotify.el (file-notify-callback): Remove unused local variable.
3120 * filesets.el (filesets-error): Mark unused argument.
3121 (filesets-which-command-p, filesets-filter-dir-names)
3122 (filesets-directory-files, filesets-get-external-viewer)
3123 (filesets-ingroup-get-data): Use string-match-p.
3125 * find-file.el (ff-other-file-name, ff-other-file-name)
3126 (ff-find-the-other-file, ff-cc-hh-converter):
3127 Remove unused local variables.
3128 (ff-get-file-name): Use string-match-p.
3129 (ff-all-dirs-under): Use ignore-errors.
3131 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
3132 (follow-select-if-visible): Remove unused local variable.
3134 * forms.el (read-file-filter): Move declaration.
3135 (forms--make-format, forms--make-parser, forms-insert-record):
3136 Quote function with #'.
3137 (forms--update): Use string-match-p. Quote function with #'.
3139 * help-mode.el (help-dir-local-var-def): Mark unused argument.
3140 (help-make-xrefs): Use looking-at-p.
3141 (help-xref-on-pp): Use looking-at-p, ignore-errors.
3143 * ibuffer.el (ibuffer-ext-visible-p): Declare.
3144 (ibuffer-confirm-operation-on): Use string-match-p.
3146 * msb.el (msb-item-handler, msb-dired-item-handler):
3147 Mark unused arguments.
3149 * ses.el (ses-decode-cell-symbol)
3150 (ses-kill-override): Remove unused local variable.
3151 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
3152 (ses-load): Use ignore-errors, looking-at-p.
3153 (ses-jump-safe): Use ignore-errors.
3154 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
3156 * tabify.el (untabify, tabify): Mark unused arguments.
3158 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
3159 Mark unused argument.
3160 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
3161 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
3163 * emacs-lisp/timer.el (timer--time): Define setter with
3164 gv-define-setter to avoid deprecation warning.
3166 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
3167 (*record-cmpl-statistics-p*): Remove (was commented out).
3168 (cmpl-statistics-block): Remove (body was commented out).
3169 All callers changed.
3170 (add-completions-from-buffer, load-completions-from-file):
3171 Remove unused variables.
3173 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3175 * filecache.el (file-cache-delete-file-list):
3176 Print message only when told so.
3177 (file-cache-files-matching): Use #' in mapconcat argument.
3179 * ffap.el (ffap-url-at-point): Fix reference to variable
3180 thing-at-point-default-mail-uri-scheme.
3182 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
3184 * subr.el (define-error): New function.
3185 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
3186 error-file-not-found and define with define-error.
3187 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
3188 and define with define-error.
3189 * userlock.el (file-locked, file-supersession):
3190 * simple.el (mark-inactive):
3191 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
3192 * progmodes/ada-mode.el (ada-mode-errors):
3193 * play/life.el (life-extinct):
3194 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
3195 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
3196 * nxml/rng-util.el (rng-error):
3197 * nxml/rng-uri.el (rng-uri-error):
3198 * nxml/rng-match.el (rng-compile-error):
3199 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
3200 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
3201 * nxml/nxml-rap.el (nxml-scan-error):
3202 * nxml/nxml-outln.el (nxml-outline-error):
3203 * net/soap-client.el (soap-error):
3204 * net/gnutls.el (gnutls-error):
3205 * net/ange-ftp.el (ftp-error):
3206 * mpc.el (mpc-proc-error):
3207 * json.el (json-error, json-readtable-error, json-unknown-keyword)
3208 (json-number-format, json-string-escape, json-string-format)
3209 (json-key-format, json-object-format):
3210 * jka-compr.el (compression-error):
3211 * international/quail.el (quail-error):
3212 * international/kkc.el (kkc-error):
3213 * emacs-lisp/ert.el (ert-test-failed):
3214 * calc/calc.el (calc-error, inexact-result, math-overflow)
3216 * bookmark.el (bookmark-error-no-filename):
3217 * epg.el (epg-error): Define with define-error.
3219 * time.el (display-time-event-handler)
3220 (display-time-next-load-average): Don't call sit-for since it seems
3221 unnecessary (bug#15045).
3223 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
3224 Use #' instead of ' to quote functions.
3225 (checkdoc-output-mode): Use setq-local.
3226 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
3227 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
3228 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
3229 (checkdoc-ispell, checkdoc-ispell-current-buffer)
3230 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
3231 (checkdoc-ispell-message-text, checkdoc-ispell-start)
3232 (checkdoc-ispell-continue, checkdoc-ispell-comments)
3233 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
3235 * ido.el (ido-completion-help): Fix up compiler warning.
3237 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
3239 * frameset.el (frameset-p): Add autoload cookie.
3240 (frameset--jump-to-register): New function, based on code moved from
3242 (frameset-to-register): Move from register.el. Adapt to `registerv'.
3244 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
3245 (frameset-restore, frameset-save, frameset-session-filter-alist):
3246 Remove declarations.
3247 (register-alist): Doc fix.
3248 (frameset-to-register): Move to frameset.el.
3249 (jump-to-register, describe-register-1): Remove frameset-specific code.
3251 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3253 * allout-widgets.el (allout-widgets-pre-command-business)
3254 (allout-widgets-post-command-business)
3255 (allout-widgets-after-change-handler)
3256 (allout-decorate-item-and-context, allout-set-boundary-marker)
3257 (allout-body-modification-handler)
3258 (allout-graphics-modification-handler): Mark ignored arguments.
3259 (allout-widgets-post-command-business)
3260 (allout-widgets-exposure-change-processor)
3261 (allout-widgets-exposure-undo-processor)
3262 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
3263 (allout-parse-item-at-point, allout-decorate-item-guides)
3264 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
3265 * allout.el (epa-passphrase-callback-function): Declare.
3266 (allout-overlay-insert-in-front-handler)
3267 (allout-overlay-interior-modification-handler)
3268 (allout-isearch-end-handler, allout-chart-siblings)
3269 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
3270 (allout-yank-processing, allout-process-exposed)
3271 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
3272 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
3273 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
3274 (lisp-indent-defform): Mark ignored arguments.
3275 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
3276 (calculate-lisp-indent): Remove unused variables.
3277 * international/characters.el (indian-2-column, arabic-2-column)
3278 (tibetan): Mark ignored arguments.
3279 (use-cjk-char-width-table): Mark ignored arguments.
3280 Remove unused variables.
3281 * international/fontset.el (build-default-fontset-data)
3282 (x-compose-font-name, create-fontset-from-fontset-spec):
3283 Mark ignored arguments.
3284 (fontset-plain-name): Remove unused variables.
3285 * international/mule.el (charset-id, charset-bytes, generic-char-p)
3286 (keyboard-coding-system): Mark ignored arguments.
3287 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
3288 * help.el (resize-temp-buffer-window):
3289 * window.el (display-buffer-in-major-side-window)
3290 (display-buffer-in-side-window, display-buffer-in-previous-window):
3291 Remove unused variables.
3292 * isearch.el (isearch-forward-symbol):
3293 * version.el (emacs-bzr-version-bzr):
3294 * international/mule-cmds.el (current-language-environment):
3295 * term/common-win.el (x-handle-iconic, x-handle-geometry)
3297 * term/pc-win.el (x-list-fonts, x-display-planes)
3298 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
3299 (x-server-version, x-display-screens, x-display-mm-height)
3300 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
3301 (x-selection-owner-p, x-own-selection-internal)
3302 (x-disown-selection-internal, x-get-selection-internal)
3303 (msdos-initialize-window-system):
3304 * term/tty-colors.el (tty-color-alist, tty-color-clear):
3305 * term/x-win.el (x-handle-no-bitmap-icon):
3306 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
3307 (vc-default-find-file-hook, vc-default-extra-menu):
3308 Mark ignored arguments.
3310 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3312 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
3313 break-condition in the context of the debugged code (bug#12685).
3315 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
3318 Do not use an overlay to highlight the last prompt. (Bug#14744)
3319 (comint-mode): Make comint-last-prompt buffer local.
3320 (comint-last-prompt): New variable.
3321 (comint-last-prompt-overlay): Remove. Superseded by
3323 (comint-snapshot-last-prompt, comint-output-filter):
3324 Use comint-last-prompt.
3326 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3328 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
3329 (frameset-save): Check validity of the resulting frameset.
3331 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
3333 * ido.el (ido-record-command): Add doc string.
3335 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3337 * frameset.el (frameset): Do not disable creation of the default
3338 frameset-p predicate. Doc fix.
3339 (frameset-valid-p): New function, copied from the old predicate-p.
3340 Add additional checks.
3341 (frameset-restore): Check with frameset-valid-p.
3342 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
3343 (frameset-name, frameset-description, frameset-properties)
3344 (frameset-states): Add docstring.
3345 (frameset-session-filter-alist, frameset-persistent-filter-alist)
3346 (frameset-filter-alist): Doc fixes.
3348 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3350 * frameset.el (frameset-p, frameset-prop): Doc fixes.
3352 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
3354 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
3355 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
3356 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
3357 (byte-compile-normal-call): Remove obsolescence check.
3359 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
3361 * frameset.el (frameset-restore): Doc fix.
3363 * register.el (frameset-frame-id, frameset-frame-with-id)
3364 (frameset-p, frameset-restore, frameset-save): Declare.
3365 (register-alist): Document framesets.
3366 (frameset-session-filter-alist): Declare.
3367 (frameset-to-register): New function.
3368 (jump-to-register): Implement jumping to framesets. Doc fix.
3369 (describe-register-1): Describe framesets.
3371 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
3373 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
3375 * desktop.el (desktop-save-frameset): Use new frameset-save args.
3376 Use lexical-binding.
3378 * frameset.el (frameset): Use type vector, not list (incompatible
3379 change). Do not declare a new constructor, use the default one.
3380 Upgrade suggested properties `app', `name' and `desc' to slots `app',
3381 `name' and `description', respectively, and add read-only slot
3382 `timestamp'. Doc fixes.
3383 (frameset-copy, frameset-persistent-filter-alist)
3384 (frameset-filter-alist, frameset-switch-to-gui-p)
3385 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
3386 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
3387 (frameset-filter-iconified, frameset-keep-original-display-p):
3389 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
3390 Rename from frameset-filter-(save|restore)-param. All callers changed.
3392 (frameset-p): Adapt to change to vector and be more thorough.
3393 Change arg name to OBJECT. Doc fix.
3394 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
3395 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
3396 All callers changed.
3397 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
3398 All callers changed.
3399 (frameset--record-minibuffer-relationships): Rename from
3400 frameset--process-minibuffer-frames. All callers changed.
3401 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
3402 Use new default constructor (again). Doc fix.
3403 (frameset--find-frame-if): Rename from `frameset--find-frame.
3404 All callers changed.
3405 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
3406 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
3408 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
3409 PARAMETERS and WINDOW-STATE, respectively.
3410 (frameset-restore): Add new keyword argument PREDICATE.
3411 Reset frameset--target-display to nil. Doc fix.
3413 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3415 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
3417 (bat-mode-syntax-table): Mark \n as end-of-comment.
3418 (bat-font-lock-keywords): Remove comment rule.
3420 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
3421 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
3423 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
3424 (byte-compile-callargs-warn): Use `push'.
3425 (byte-compile-arglist-warn): Ignore higher-order "calls".
3426 (byte-compile-file-form-autoload): Use `pcase'.
3427 (byte-compile-function-form): If quoting a symbol, check that it exists.
3429 2013-08-07 Eli Zaretskii <eliz@gnu.org>
3431 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
3432 and add a few popular commands found in batch files.
3433 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
3434 (dos-mode): Doc fixes.
3436 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
3438 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
3439 (dos-mode): Use setq-local. Add space after "rem".
3440 (dos-mode-syntax-table): Don't use "w" for symbol chars.
3441 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
3443 2013-08-07 Arni Magnusson <arnima@hafro.is>
3445 * progmodes/dos.el: New file.
3446 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
3449 2013-08-06 Glenn Morris <rgm@gnu.org>
3451 * calendar/calendar.el: Add new faces, and day-header-array.
3452 (calendar-weekday-header, calendar-weekend-header)
3453 (calendar-month-header): New faces.
3454 (calendar-day-header-construct): New function.
3455 (calendar-day-header-width): Also :set calendar-day-header-array.
3456 (calendar-american-month-header, calendar-european-month-header)
3457 (calendar-iso-month-header): Use calendar- faces.
3458 (calendar-generate-month):
3459 Use calendar-day-header-array for day headers; apply faces to them.
3460 (calendar-mode): Check calendar-font-lock-keywords non-nil.
3461 (calendar-abbrev-construct): Add optional maxlen argument.
3462 (calendar-day-name-array): Doc fix.
3463 (calendar-day-name-array, calendar-abbrev-length)
3464 (calendar-day-abbrev-array):
3465 Also :set calendar-day-header-array, and maybe redraw.
3466 (calendar-day-header-array): New option. (Bug#15007)
3467 (calendar-font-lock-keywords): Set to nil and make obsolete.
3468 (calendar-day-name): Add option to use header array.
3470 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
3472 * net/shr.el (shr-render-td): Remove debugging.
3473 (shr-render-td): Make width computation consistent by defaulting
3474 all zero-width columns to 10 characters. This may not be optimal,
3475 but it's at least consistent.
3476 (shr-make-table-1): Redo last change to fix the real problem in
3479 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3481 * files.el (cache-long-line-scans):
3482 Make obsolete alias to `cache-long-scans'.
3484 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3486 * frameset.el (frameset, frameset-filter-alist)
3487 (frameset-filter-params, frameset-save, frameset--reuse-frame)
3488 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
3489 (frameset-compute-pos): Rename from frameset--compute-pos,
3491 (frameset-move-onscreen): Use frameset-compute-pos.
3492 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3494 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
3495 Fix typos in docstrings.
3497 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
3499 * frame.el (get-other-frame): Tiny cleanup.
3501 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
3503 * vc/vc.el (vc-default-ignore-completion-table):
3504 Silence byte-compiler warning.
3506 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
3507 slot , which can indeed be nil.
3508 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3509 Move entry for `left' from persistent to live filter alist.
3510 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
3512 (frameset-filter-params): When restoring a frame, copy items added to
3513 `filtered', to avoid unwittingly modifying the original parameters.
3514 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
3515 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
3517 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
3518 to use looking-at-p instead of looking-at. (Bug#15028)
3520 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
3522 Revert introduction of isearch-filter-predicates (bug#14714).
3523 Rely on add-function instead.
3524 * isearch.el (isearch-filter-predicates): Rename it back to
3525 isearch-filter-predicate.
3526 (isearch-message-prefix): Use advice-function-mapc and advice
3527 properties to get the isearch-message-prefix.
3528 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
3529 instead of run-hook-with-args-until-failure.
3530 (isearch-filter-visible): Not obsolete any more.
3531 * loadup.el: Preload nadvice.
3532 * replace.el (perform-replace): Revert to funcall
3533 instead of run-hook-with-args-until-failure.
3534 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
3535 * dired-aux.el (dired-isearch-filenames-mode): Rename from
3536 dired-isearch-filenames-toggle; make it into a proper minor mode.
3537 Use add/remove-function.
3538 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
3539 Call the minor-mode rather than add/remove-hook.
3540 (dired-isearch-filter-filenames):
3541 Remove isearch-message-prefix property.
3542 * info.el (Info--search-loop): New function, extracted from Info-search.
3543 Funcall isearch-filter-predicate instead of
3544 run-hook-with-args-until-failure isearch-filter-predicates.
3545 (Info-search): Use it.
3546 (Info-mode): Use isearch-filter-predicate instead of
3547 isearch-filter-predicates.
3549 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3551 Do not call to `selected-window' where it is assumed by default.
3552 Affected functions are `window-minibuffer-p', `window-dedicated-p',
3553 `window-hscroll', `window-width', `window-height', `window-buffer',
3554 `window-frame', `window-start', `window-point', `next-window'
3555 and `window-display-table'.
3556 * abbrev.el (abbrev--default-expand):
3557 * bs.el (bs--show-with-configuration):
3558 * buff-menu.el (Buffer-menu-mouse-select):
3559 * calc/calc.el (calc):
3560 * calendar/calendar.el (calendar-generate-window):
3561 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
3563 * comint.el (send-invisible, comint-dynamic-complete-filename)
3564 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
3565 * completion.el (complete):
3566 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
3567 * disp-table.el (describe-current-display-table):
3568 * doc-view.el (doc-view-insert-image):
3569 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
3570 * ehelp.el (with-electric-help):
3571 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
3572 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
3573 * emacs-lisp/helper.el (Helper-help-scroller):
3574 * emulation/cua-base.el (cua--post-command-handler-1):
3575 * eshell/esh-mode.el (eshell-output-filter):
3576 * ffap.el (ffap-gnus-wrapper):
3577 * help-macro.el (make-help-screen):
3578 * hilit-chg.el (highlight-compare-buffers):
3579 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
3580 * hl-line.el (global-hl-line-highlight):
3581 * icomplete.el (icomplete-simple-completing-p):
3582 * isearch.el (isearch-done):
3583 * jit-lock.el (jit-lock-stealth-fontify):
3584 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
3585 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
3586 * mpc.el (mpc-tagbrowser, mpc):
3587 * net/rcirc.el (rcirc-any-buffer):
3588 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
3589 * play/landmark.el (landmark-max-width, landmark-max-height):
3590 * play/zone.el (zone):
3591 * progmodes/compile.el (compilation-goto-locus):
3592 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
3593 * progmodes/etags.el (find-tag-other-window):
3594 * progmodes/fortran.el (fortran-column-ruler):
3595 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
3596 * progmodes/verilog-mode.el (verilog-point-text):
3597 * reposition.el (reposition-window):
3598 * rot13.el (toggle-rot13-mode):
3599 * server.el (server-switch-buffer):
3600 * shell.el (shell-dynamic-complete-command)
3601 (shell-dynamic-complete-environment-variable):
3602 * simple.el (insert-buffer, set-selective-display)
3603 (delete-completion-window):
3604 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
3605 (speedbar-recenter):
3606 * startup.el (fancy-splash-head):
3607 * textmodes/ispell.el (ispell-command-loop):
3608 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
3609 * tutorial.el (help-with-tutorial):
3610 * vc/add-log.el (add-change-log-entry):
3611 * vc/compare-w.el (compare-windows):
3612 * vc/ediff-help.el (ediff-indent-help-message):
3613 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
3614 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
3615 (ediff-setup-control-frame):
3616 * vc/emerge.el (emerge-position-region):
3617 * vc/pcvs-util.el (cvs-bury-buffer):
3618 * window.el (walk-windows, mouse-autoselect-window-select):
3619 * winner.el (winner-set-conf, winner-undo): Related users changed.
3621 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3623 * frameset.el (frameset--set-id): Doc fix.
3624 (frameset-frame-id, frameset-frame-id-equal-p)
3625 (frameset-locate-frame-id): New functions.
3626 (frameset--process-minibuffer-frames, frameset--reuse-frame)
3627 (frameset-restore): Use them.
3629 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
3631 Do not call to `selected-frame' where it is assumed by default.
3632 Affected functions are `raise-frame', `redraw-frame',
3633 `frame-first-window', `frame-terminal' and `delete-frame'.
3634 * calendar/appt.el (appt-disp-window):
3635 * epg.el (epg-wait-for-completion):
3636 * follow.el (follow-delete-other-windows-and-split)
3637 (follow-avoid-tail-recenter):
3638 * international/mule.el (set-terminal-coding-system):
3639 * mail/rmail.el (rmail-mail-return):
3640 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
3641 * progmodes/f90.el (f90-add-imenu-menu):
3642 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
3643 * server.el (server-switch-buffer):
3644 * simple.el (delete-completion-window):
3646 * term/xterm.el (terminal-init-xterm-modify-other-keys)
3647 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
3648 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
3649 * vc/ediff.el (ediff-documentation): Related users changed.
3650 * frame.el (selected-terminal): Remove the leftover.
3652 2013-08-05 Glenn Morris <rgm@gnu.org>
3654 * calendar/calendar.el (calendar-generate-month):
3655 Fix for calendar-column-width != 1 + calendar-day-digit-width.
3656 (calendar-generate-month, calendar-font-lock-keywords):
3657 Fix for calendar-day-header-width > length of any day name.
3659 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
3661 * desktop.el (desktop-clear): Use new name of sort predicate.
3663 * frameset.el (frameset): Add docstring. Move :version property to its
3665 (frameset-copy): Rename from copy-frameset.
3666 (frameset-p): Check more thoroughly.
3667 (frameset-prop): Do not check for :version, which is no longer a prop.
3668 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3669 Use new :never value instead of t.
3670 (frameset-filter-alist): Expand and clarify docstring.
3671 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3672 (frameset-filter-minibuffer, frameset-filter-save-param)
3673 (frameset-filter-restore-param, frameset-filter-iconified):
3674 Add pointer to docstring of frameset-filter-alist.
3675 (frameset-filter-params): Rename filter values to be more meaningful:
3676 :never instead of t, and reverse the meanings of :save and :restore.
3677 (frameset--process-minibuffer-frames): Clarify error message.
3678 (frameset-save): Avoid unnecessary and confusing call to framep.
3679 Use new BOA constructor for framesets.
3680 (frameset--reuse-list): Doc fix.
3681 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3682 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3683 (frameset-minibufferless-first-p): Doc fix.
3684 Rename from frameset-sort-frames-for-deletion.
3685 (frameset-restore): Doc fixes. Use new function names.
3686 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3688 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3690 * desktop.el (desktop-restore-forces-onscreen)
3691 (desktop-restore-reuses-frames): Document :keyword constant values.
3692 (desktop-filter-parameters-alist): Remove, now identical to
3693 frameset-filter-alist.
3694 (desktop--filter-tty*): Remove, moved to frameset.el.
3695 (desktop-save-frameset, desktop-restore-frameset):
3696 Do not pass :filters argument.
3698 * frameset.el (frameset-live-filter-alist)
3699 (frameset-persistent-filter-alist): New variables.
3700 (frameset-filter-alist): Use them. Add autoload cookie.
3701 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3702 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3703 `frameset--id' (it's supposed to be internal to frameset.el).
3704 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3705 (frameset--initial-params): New function.
3706 (frameset--get-frame): Use it. Doc fix.
3707 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3708 Accept :all, not 'all.
3709 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3710 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3711 with fbound symbols. Fix frame id matching, and remove matching ids if
3712 the frame being restored is deleted. Obey :delete.
3714 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3716 * subr.el (macrop): New function.
3717 (text-clone--maintaining): New var.
3718 (text-clone--maintain): Rename from text-clone-maintain. Use it
3719 instead of inhibit-modification-hooks.
3721 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3722 a proxy, so as handle autoloads and redefinitions of the target.
3723 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3725 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3726 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3727 (pcase--mutually-exclusive-p): New function.
3728 (pcase--split-consp): Use it.
3729 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3730 mutually exclusive with the current predicate.
3732 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3733 (edebug-macrop): Remove. Use `macrop' instead.
3734 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3736 * eshell/esh-cmd.el (eshell-macrop):
3737 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3739 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3741 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3742 (advice-mapc): New function, using it.
3743 (advice-function-member-p): New function.
3744 (advice--normalize): Store the cdr in advice--saved-rewrite since
3745 that's the part that will be changed.
3746 (advice--symbol-function): New function.
3747 (advice-remove): Handle removal before the function is defined.
3748 Adjust to new advice--saved-rewrite.
3749 (advice-member-p): Use advice-function-member-p and
3750 advice--symbol-function.
3752 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3754 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3755 (frameset-filter-minibuffer): Doc fix.
3756 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3757 (frameset--set-id, frameset--process-minibuffer-frames)
3758 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3759 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3761 * desktop.el (desktop-clear): Only delete frames when called
3762 interactively and desktop-restore-frames is non-nil. Doc fix.
3763 (desktop-read): Set desktop-saved-frameset to nil.
3765 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3767 * vc/vc.el (vc-ignore): Rewrite.
3768 (vc-default-ignore-completion-table):
3770 (vc--add-line, vc--remove-regexp): New functions.
3772 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3773 (vc-svn-ignore-completion-table): New function.
3775 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3776 (vc-hg-ignore-completion-table):
3777 (vc-hg-find-ignore-file): New functions.
3779 * vc/vc-git.el (vc-git-ignore): Rewrite.
3780 (vc-git-ignore-completion-table):
3781 (vc-git-find-ignore-file): New functions.
3783 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3785 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3786 (vc-bzr-ignore-completion-table):
3787 (vc-bzr-find-ignore-file): New functions.
3789 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3791 * frameset.el (frameset-prop): New function and setter.
3792 (frameset-save): Do not modify frame list passed by the caller.
3794 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3796 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3798 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3800 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3801 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3803 * custom.el (custom-initialize-default, custom-initialize-set)
3804 (custom-initialize-reset, custom-initialize-changed): Affect the
3805 toplevel-default-value (bug#6275, bug#14586).
3806 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3809 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3811 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3812 Add cl-def* expressions.
3814 * frameset.el (frameset-filter-params): Fix order of arguments.
3816 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3818 Move code related to saving frames to frameset.el.
3819 * desktop.el: Require frameset.
3820 (desktop-restore-frames): Doc fix.
3821 (desktop-restore-reuses-frames): Rename from
3822 desktop-restoring-reuses-frames.
3823 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3824 (desktop-clear): Clear frames too.
3825 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3826 (desktop--filter-tty*, desktop-save, desktop-read):
3827 Use frameset functions.
3828 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3829 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3830 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3831 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3832 (desktop--process-minibuffer-frames, desktop-save-frames)
3833 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3834 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3835 (desktop--sort-states, desktop-restoring-frames-p)
3836 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3837 (desktop-restoring-frameset-p, desktop-restore-frameset)
3838 (desktop--check-dont-save, desktop-save-frameset): New functions.
3839 (desktop--app-id): New constant.
3840 (desktop-first-buffer, desktop-buffer-ok-count)
3841 (desktop-buffer-fail-count): Move before first use.
3842 * frameset.el: New file.
3844 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3846 * files.el: Use lexical-binding.
3847 (dir-locals-read-from-file): Remove unused `err' variable.
3848 (hack-dir-local-variables--warned-coding): New var.
3849 (hack-dir-local-variables): Use it to avoid repeated warnings.
3850 (make-backup-file-name--default-function): New function.
3851 (make-backup-file-name-function): Use it as default.
3852 (buffer-stale--default-function): New function.
3853 (buffer-stale-function): Use it as default.
3854 (revert-buffer-insert-file-contents--default-function): New function.
3855 (revert-buffer-insert-file-contents-function): Use it as default.
3856 (insert-directory): Avoid add-to-list.
3858 * autorevert.el (auto-revert-handler): Simplify.
3859 Use buffer-stale--default-function.
3861 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3863 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3865 * whitespace.el (whitespace-ensure-local-variables): New function.
3866 (whitespace-cleanup-region): Call it.
3867 (whitespace-turn-on): Call it.
3869 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3871 Complete file name handlers.
3873 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3874 (tramp-handle-verify-visited-file-modtime)
3875 (tramp-handle-file-notify-rm-watch): New functions.
3876 (tramp-call-process): Do not bind `default-directory'.
3878 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3879 Order alphabetically.
3880 [access-file, add-name-to-file, dired-call-process]:
3881 [dired-compress-file, file-acl, file-notify-rm-watch]:
3882 [file-ownership-preserved-p, file-selinux-context]:
3883 [make-directory-internal, make-symbolic-link, set-file-acl]:
3884 [set-file-selinux-context, set-visited-file-modtime]:
3885 [verify-visited-file-modtime]: Add handler.
3886 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3888 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3889 [file-notify-add-watch, file-notify-rm-watch]:
3890 [set-file-times, set-visited-file-modtime]:
3891 [verify-visited-file-modtime]: Add handler.
3892 (with-tramp-gvfs-error-message)
3893 (tramp-gvfs-handle-set-visited-file-modtime)
3894 (tramp-gvfs-fuse-file-name): Remove.
3895 (tramp-gvfs-handle-file-notify-add-watch)
3896 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3897 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3899 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3900 Order alphabetically.
3901 [file-notify-rm-watch ]: Use default Tramp handler.
3902 [executable-find]: Remove private handler.
3903 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3904 `default-directory'.
3905 (tramp-sh-handle-executable-find)
3906 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3907 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3908 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3909 Do not use `format' in `tramp-message'.
3911 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3912 [file-notify-rm-watch, set-visited-file-modtime]:
3913 [verify-visited-file-modtime]: Add handler.
3914 (tramp-smb-call-winexe): Do not bind `default-directory'.
3916 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3918 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3920 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3922 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3924 (log-view-diff-changeset): Same.
3925 (log-view-diff-common): Call backend command `previous-revision'
3926 to find out the previous revision, in both cases. Swap the
3927 variables `to' and `fr', so that `fr' usually refers to the
3928 earlier revision (Bug#14989).
3930 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3932 * ibuf-ext.el (ibuffer-filter-by-filename):
3933 Make it work with dired buffers too.
3935 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3937 * emacs-lisp/re-builder.el (reb-color-display-p):
3938 * files.el (save-buffers-kill-terminal):
3939 * net/browse-url.el (browse-url):
3940 * server.el (server-save-buffers-kill-terminal):
3941 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3942 Prefer nil to selected-frame for the first arg of frame-parameter.
3944 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3946 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3948 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3950 * minibuffer.el (completion--twq-all): Try and preserve each
3951 completion's case choice (bug#14907).
3953 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3955 * net/network-stream.el (open-network-stream): Mention the new
3956 :nogreeting parameter.
3957 (network-stream-open-starttls): Use the :nogreeting parameter
3960 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3962 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3963 more natural than popping.
3965 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3966 (shr-urlify): Highlight under mouse.
3968 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3970 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3972 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3974 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3977 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3978 point-min==1. Fix search string. Fix parentheses missing.
3980 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3981 assume point-min==1. Fix search string. Fix parentheses missing.
3983 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3985 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3988 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3990 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3991 initial frame is minibuffer-less. (Bug#14841)
3993 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3995 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3998 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3999 (tramp-maybe-open-connection): Use it.
4001 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4003 * desktop.el (desktop--make-frame): Include `minibuffer' in the
4004 minimal set of parameters passed when creating a frame, because
4005 the minibuffer status of a frame cannot be changed later.
4007 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
4009 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
4010 replace-regexp-in-string and inadvertent omissions in previous change.
4011 (todo-filter-items): Ensure only file names are comma-separated in
4012 name of filtered items buffer.
4014 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
4016 * desktop.el: Optionally force offscreen frames back onscreen.
4017 (desktop-restoring-reuses-frames): New option.
4018 (desktop--compute-pos, desktop--move-onscreen): New functions.
4019 (desktop--make-frame): Use desktop--move-onscreen.
4021 2013-07-27 Alan Mackenzie <acm@muc.de>
4023 Fontify a Java generic method as a function.
4024 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
4027 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
4029 * calendar/todo-mode.el: Add command to rename todo files.
4030 (todo-rename-file): New command.
4031 (todo-key-bindings-t): Add key binding for it. Change the
4032 bindings of todo-filter-regexp-items(-multifile) to use `x'
4033 instead of `r', since the latter is better suited to the new
4036 2013-07-27 Alan Mackenzie <acm@muc.de>
4038 Make Java try-with-resources statement parse properly.
4039 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
4040 (c-block-stmt-1-2-key): New language constants/variables.
4041 * progmodes/cc-engine.el (c-beginning-of-statement-1)
4042 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
4043 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
4044 with c-block-stmt-1-2-key.
4046 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
4048 * desktop.el (desktop--make-frame): Apply most frame parameters after
4049 creating the frame to force (partially or totally) offscreen frames to
4050 be restored as such.
4052 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
4054 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
4057 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4059 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
4060 `base' arg of backtrace-frame.
4062 2013-07-26 Eli Zaretskii <eliz@gnu.org>
4064 * simple.el (list-processes): Doc fix.
4066 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4068 * desktop.el (desktop--select-frame):
4069 Try harder to reuse existing frames.
4071 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4073 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
4074 (edebug-eval): Use backtrace-eval.
4075 (edebug--display, edebug--recursive-edit): Don't let-bind the
4076 edebug-outer-* vars that keep track of variables we locally let-bind.
4077 (edebug-outside-excursion): Don't restore outside values of locally
4079 (edebug--display): Use user-error.
4080 (cl-lexical-debug, cl-debug-env): Remove.
4082 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
4084 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
4085 are restored to be sure that they are visible before deleting any
4088 2013-07-26 Matthias Meulien <orontee@gmail.com>
4090 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
4091 vc-print-root-log. (Bug#14948)
4093 2013-07-26 Richard Stallman <rms@gnu.org>
4095 Add aliases for encrypting mail.
4096 * epa.el (epa-mail-aliases): New option.
4097 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
4098 Bind inhibit-read-only so read-only text doesn't ruin everything.
4099 (epa-mail-default-recipients): New subroutine broken out.
4100 Handle epa-mail-aliases.
4102 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
4104 Add support for lexical variables to the debugger's `e' command.
4105 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
4106 vars, except for debugger-outer-match-data.
4107 (debugger-frame-number): Move check for "on a function call" from
4108 callers into it. Add `skip-base' argument.
4109 (debugger-frame, debugger-frame-clear): Simplify accordingly.
4110 (debugger-env-macro): Only reset the state stored in non-variables,
4111 i.e. current-buffer and match-data.
4112 (debugger-eval-expression): Rewrite using backtrace-eval.
4113 * subr.el (internal--called-interactively-p--get-frame): Remove.
4114 (called-interactively-p):
4115 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
4116 `base' arg of backtrace-frame instead.
4118 2013-07-26 Glenn Morris <rgm@gnu.org>
4120 * align.el (align-regexp): Doc fix. (Bug#14857)
4121 (align-region): Explicit error if subexpression missing/does not match.
4123 * simple.el (global-visual-line-mode):
4124 Do not duplicate the mode lighter. (Bug#14858)
4126 2013-07-25 Martin Rudalics <rudalics@gmx.at>
4128 * window.el (display-buffer): In display-buffer bind
4129 split-window-keep-point to t, bug#14829.
4131 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4133 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
4134 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
4135 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
4136 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4138 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
4139 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
4141 2013-07-25 Glenn Morris <rgm@gnu.org>
4143 * dired-x.el (dired-mark-extension): Convert comment to doc string.
4145 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
4147 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
4148 parameter to modify-frame-parameters if the value has not changed;
4149 this is a workaround for bug#14949.
4150 (desktop--make-frame): On cl-delete-if call, check parameter name,
4153 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
4155 * vc/vc.el (vc-ignore): New function.
4157 * vc/vc-svn.el (vc-svn-ignore): New function.
4159 * vc/vc-hg.el (vc-hg-ignore): New function.
4161 * vc/vc-git.el (vc-git-ignore): New function.
4163 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
4164 (vc-dir-ignore): New function.
4166 * vc/vc-cvs.el (vc-cvs-ignore): New function.
4167 (cvs-append-to-ignore): Move here from pcvs.el.
4169 * vc/vc-bzr.el (vc-bzr-ignore): New function.
4171 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
4173 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
4175 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
4176 (desktop-restore-frames): Warn when deleting an existing frame failed.
4178 2013-07-24 Glenn Morris <rgm@gnu.org>
4180 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
4182 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
4184 * filenotify.el (file-notify-supported-p):
4185 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4188 * autorevert.el (auto-revert-use-notify):
4189 (auto-revert-notify-add-watch):
4190 * net/tramp.el (tramp-file-name-for-operation):
4191 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4192 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4193 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
4194 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4195 Remove `file-notify-supported-p' entry.
4197 2013-07-24 Glenn Morris <rgm@gnu.org>
4199 * printing.el: Replace all uses of deleted ps-windows-system,
4200 ps-lp-system, ps-flatten-list with lpr- versions.
4202 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4204 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
4205 checked with memq (bug#14935).
4207 * files.el (revert-buffer-function): Use a non-nil default.
4208 (revert-buffer-preserve-modes): Declare var to
4209 provide access to the `preserve-modes' argument.
4210 (revert-buffer): Let-bind it.
4211 (revert-buffer--default): New function, extracted from revert-buffer.
4213 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
4215 * lpr.el: Signal print errors more prominently.
4216 (print-region-function): Don't default to nil.
4217 (lpr-print-region): New function, extracted from print-region-1.
4218 Check lpr's return value and signal an error in case of problem.
4219 (print-region-1): Use it.
4220 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
4222 (ps-printer-name): Default to nil.
4223 (ps-printer-name-option): Default to lpr-printer-switch.
4224 (ps-print-region-function): Don't default to nil.
4225 (ps-postscript-code-directory): Simplify default.
4226 (ps-do-despool): Use lpr-print-region to properly check the outcome.
4227 (ps-string-list, ps-eval-switch, ps-flatten-list)
4228 (ps-flatten-list-1): Remove.
4229 (ps-multibyte-buffer): Avoid setq.
4230 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
4231 (print-region-function, ps-print-region-function): Don't set them here.
4233 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
4235 * ido.el (ido-fractionp):
4236 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
4237 (ido-max-file-prompt-width, ido-unc-hosts-cache)
4238 (ido-max-directory-size, ido-max-dir-file-cache)
4239 (ido-decorations): Doc fix.
4241 * ansi-color.el: Fix old URL.
4243 2013-07-23 Michael R. Mauger <michael@mauger.com>
4245 * progmodes/sql.el: Version 3.3
4246 (sql-product-alist): Improve oracle :prompt-cont-regexp.
4247 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
4248 (sql-interactive-remove-continuation-prompt): Rewrite, use
4249 functions above. Fix continuation prompt and complete output line
4251 (sql-redirect-one, sql-execute): Use `read-only-mode' on
4252 redirected output buffer.
4253 (sql-mode): Restore deleted code (Bug#13591).
4255 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4257 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
4259 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
4261 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
4263 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4264 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4265 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
4267 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
4269 * desktop.el (desktop-clear): Simplify; remove useless checks
4270 against invalid buffer names.
4271 (desktop-list*): Use cl-list*.
4272 (desktop-buffer-info, desktop-create-buffer): Simplify.
4274 2013-07-23 Leo Liu <sdl.web@gmail.com>
4276 * bookmark.el (bookmark-make-record): Restore NAME as a default
4279 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
4281 * emacs-lisp/autoload.el (autoload--setup-output): New function,
4282 extracted from autoload--insert-text.
4283 (autoload--insert-text): Remove.
4284 (autoload--print-cookie-text): New function, extracted from
4285 autoload--insert-cookie-text.
4286 (autoload--insert-cookie-text): Remove.
4287 (autoload-generate-file-autoloads): Adjust calls accordingly.
4289 * winner.el (winner-hook-installed-p): Remove.
4290 (winner-mode): Simplify accordingly.
4292 * subr.el (add-to-list): Fix compiler-macro when `append' is
4293 not constant. Don't use `cl-member' for the base case.
4295 * progmodes/subword.el: Fix boundary case (bug#13758).
4296 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
4298 (subword-backward-regexp): Make it a constant.
4299 (subword-forward-internal): Don't treat a trailing capital as the
4300 beginning of a word.
4302 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
4304 * emacs-lisp/package.el (package-menu-mode): Don't modify the
4305 global value of tabulated-list-revert-hook (bug#14930).
4307 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
4309 * desktop.el: Require 'cl-lib.
4310 (desktop-before-saving-frames-functions): New hook.
4311 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
4312 for frames being saved. Rename from desktop--save-minibuffer-frames.
4313 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
4314 Do not save frames with non-nil `desktop-dont-save' parameter.
4315 Filter out deleted frames.
4316 (desktop--find-frame): Use cl-find-if.
4317 (desktop--select-frame): Use cl-(first|second|third) to access values
4319 (desktop--make-frame): Use cl-delete-if.
4320 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
4321 (desktop-restore-frames): Use cl-(first|second|third) to access values
4322 of desktop-mini. Look for visible frame at the end, not while
4325 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
4326 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
4327 Use string-match-p, looking-at-p (bug#14927).
4329 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
4331 * desktop.el (desktop-saved-frame-states):
4332 Rename from desktop--saved-states; all users changed.
4333 (desktop-save-frames): Rename from desktop--save-frames.
4334 Do not save state to desktop file.
4335 (desktop-save): Save desktop-saved-frame-states to desktop file
4337 (desktop-restoring-frames-p): New function.
4338 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
4339 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
4340 buffer-lists when restoring frames. Suggested by Martin Rudalics.
4342 * desktop.el: Correctly restore iconified frames.
4343 (desktop--filter-iconified-position): New function.
4344 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
4346 2013-07-20 Glenn Morris <rgm@gnu.org>
4348 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
4349 Let `message' do the formatting.
4350 (def-gdb-preempt-display-buffer): Add explicit format.
4352 * image-dired.el (image-dired-track-original-file):
4353 Use with-current-buffer.
4354 (image-dired-track-thumbnail): Use with-current-buffer.
4355 Avoid changing point of wrong window.
4357 * image-dired.el (image-dired-track-original-file):
4358 Avoid changing point of wrong window. (Bug#14909)
4360 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
4362 * progmodes/gdb-mi.el (gdb-done-or-error):
4363 Guard against "%" in gdb output. (Bug#14127)
4365 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
4367 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
4370 * international/mule.el (coding-system-iso-2022-flags): Fix last
4373 2013-07-20 Kenichi Handa <handa@gnu.org>
4375 * international/mule.el (coding-system-iso-2022-flags):
4376 Add `8-bit-level-4'. (Bug#8522)
4378 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
4380 * net/shr.el (shr-mouse-browse-url): New command and keystroke
4383 * net/eww.el (eww-process-text-input): Allow inputting when the
4384 point is at the start of the line, as the properties aren't
4387 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
4390 2013-07-19 Richard Stallman <rms@gnu.org>
4392 * epa.el (epa-popup-info-window): Doc fix.
4394 * subr.el (split-string): New arg TRIM.
4396 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
4398 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
4399 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
4401 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
4403 * filenotify.el (file-notify--library): Rename from
4404 `file-notify-support'. Do not autoload. Adapt all uses.
4405 (file-notify-supported-p): New defun.
4407 * autorevert.el (auto-revert-use-notify):
4408 Use `file-notify-supported-p' instead of `file-notify-support'.
4410 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
4412 * net/tramp.el (tramp-file-name-for-operation):
4413 Add `file-notify-supported-p'.
4415 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
4417 (tramp-sh-file-name-handler-alist): Add it as handler for
4418 `file-notify-supported-p '.
4420 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
4421 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4422 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
4423 Add `ignore' as handler for `file-notify-*' functions.
4425 2013-07-17 Eli Zaretskii <eliz@gnu.org>
4427 * simple.el (line-move-partial, line-move): Don't start vscroll or
4428 scroll-up if the current line is not taller than the window.
4431 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
4433 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
4434 highlight question marks in the method names as strings.
4435 (ruby-block-beg-keywords): Inline.
4436 (ruby-font-lock-keyword-beg-re): Extract from
4437 `ruby-font-lock-keywords'.
4439 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
4441 * frame.el (blink-cursor-blinks): New defcustom.
4442 (blink-cursor-blinks-done): New defvar.
4443 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
4444 (blink-cursor-timer-function): Check if number of blinks has been
4446 (blink-cursor-suspend, blink-cursor-check): New defuns.
4448 2013-07-15 Glenn Morris <rgm@gnu.org>
4450 * edmacro.el (edmacro-format-keys): Fix previous change.
4452 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
4454 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
4455 The hack didn't work outside English locales anyway.
4457 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
4459 * simple.el (define-alternatives): Rename from alternatives-define,
4460 per RMS' suggestion.
4462 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
4464 * desktop.el (desktop-restore-frames): Change default to t.
4465 (desktop-restore-in-current-display): Now offer more options.
4466 (desktop-restoring-reuses-frames): New customization option.
4467 (desktop--saved-states): Doc fix.
4468 (desktop-filter-parameters-alist): New variable, renamed and expanded
4469 from desktop--excluded-frame-parameters.
4470 (desktop--target-display): New variable.
4471 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
4472 (desktop--filter-tty*, desktop--filter-*-color)
4473 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
4474 (desktop--filter-save-desktop-parm)
4475 (desktop-restore-in-original-display-p): New functions.
4476 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
4477 (desktop--save-minibuffer-frames): New function, inspired by a similar
4478 function from Martin Rudalics.
4479 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
4480 (desktop--restore-in-this-display-p): Remove.
4481 (desktop--find-frame): Rename from desktop--find-frame-in-display
4482 and add predicate argument.
4483 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
4484 (desktop--reuse-list): New variable.
4485 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
4487 (desktop--restore-frames): Add support for "minibuffer-special" frames.
4489 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
4491 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
4493 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
4495 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4496 Highlight conversion methods on Kernel.
4498 2013-07-13 Alan Mackenzie <acm@muc.de>
4500 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
4501 and comment it out. This out-commenting enables certain C++
4502 declarations to be parsed correctly.
4504 2013-07-13 Eli Zaretskii <eliz@gnu.org>
4506 * international/mule.el (define-coding-system): Doc fix.
4508 * simple.el (default-font-height): Don't call font-info if the
4509 frame's default font didn't change since the frame was created.
4512 2013-07-13 Leo Liu <sdl.web@gmail.com>
4514 * ido.el (ido-read-file-name): Guard against non-symbol value.
4516 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
4518 * progmodes/python.el (python-imenu--build-tree): Fix corner case
4521 2013-07-13 Leo Liu <sdl.web@gmail.com>
4523 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
4524 ido-set-matches call. (Bug#6852)
4526 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
4528 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
4529 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
4531 (ruby-font-lock-keywords): Distinguish calls to functions with
4532 module-like names from module references. Highlight character
4535 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
4537 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
4538 (gdb-send): Handle continued commands. (Bug#14847)
4540 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4542 * desktop.el (desktop--v2s): Remove unused local variable.
4543 (desktop-save-buffer): Make defvar-local; adjust docstring.
4544 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
4545 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
4547 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
4549 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
4551 2013-07-12 Eli Zaretskii <eliz@gnu.org>
4553 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
4556 2013-07-12 Glenn Morris <rgm@gnu.org>
4558 * doc-view.el: Require cl-lib at runtime too.
4559 (doc-view-remove-if): Remove.
4560 (doc-view-search-next-match, doc-view-search-previous-match):
4563 * edmacro.el: Require cl-lib at runtime too.
4564 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
4565 (edmacro-mismatch, edmacro-subseq): Remove.
4567 * shadowfile.el: Require cl-lib.
4568 (shadow-remove-if): Remove.
4569 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
4572 * wid-edit.el: Require cl-lib.
4573 (widget-choose): Use cl-remove-if.
4574 (widget-remove-if): Remove.
4576 * progmodes/ebrowse.el: Require cl-lib at runtime too.
4577 (ebrowse-delete-if-not): Remove.
4578 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
4579 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
4580 Use cl-delete-if-not.
4582 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
4584 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
4585 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
4587 2013-07-12 Leo Liu <sdl.web@gmail.com>
4589 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
4591 2013-07-11 Glenn Morris <rgm@gnu.org>
4593 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
4594 (edebug-gensym-index, edebug-gensym):
4595 Remove reimplementation of cl-gensym.
4596 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
4598 * thumbs.el: Require cl-lib at run-time too.
4599 (thumbs-gensym-counter, thumbs-gensym):
4600 Remove reimplementation of cl-gensym.
4601 (thumbs-temp-file): Use cl-gensym.
4603 * emacs-lisp/ert.el: Require cl-lib at runtime too.
4604 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
4605 (ert--intersection, ert--set-difference, ert--set-difference-eq)
4606 (ert--union, ert--gensym-counter, ert--gensym-counter)
4607 (ert--coerce-to-vector, ert--remove*, ert--string-position)
4608 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
4609 (ert-make-test-unbound, ert--expand-should-1)
4610 (ert--expand-should, ert--should-error-handle-error)
4611 (should-error, ert--explain-equal-rec)
4612 (ert--plist-difference-explanation, ert-select-tests)
4613 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
4614 Use cl-lib functions rather than reimplementations.
4616 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
4618 * net/tramp.el (tramp-methods): Extend docstring.
4619 (tramp-connection-timeout): New defcustom.
4620 (tramp-error-with-buffer): Reset timestamp only when appropriate.
4621 (with-tramp-progress-reporter): Simplify.
4622 (tramp-process-actions): Improve messages.
4624 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
4625 * net/tramp-sh.el (tramp-maybe-open-connection):
4626 Use `tramp-connection-timeout'.
4627 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
4630 2013-07-11 Leo Liu <sdl.web@gmail.com>
4632 * ido.el (ido-read-file-name): Conform to the requirements of
4633 read-file-name. (Bug#11861)
4634 (ido-read-directory-name): Conform to the requirements of
4635 read-directory-name.
4637 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
4639 * subr.el (delay-warning): New function.
4641 2013-07-10 Eli Zaretskii <eliz@gnu.org>
4643 * simple.el (default-line-height): New function.
4644 (line-move-partial, line-move): Use it instead of computing the
4646 (line-move-partial): Always compute ROWH. If the last line is
4647 partially-visible, but its text is completely visible, allow
4648 cursor to enter such a partially-visible line.
4650 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
4652 Improve error messages. (Bug#14808)
4654 * net/tramp.el (tramp-current-connection): New defvar, moved from
4656 (tramp-message-show-progress-reporter-message): Remove, not
4658 (tramp-error-with-buffer): Show message in minibuffer.
4659 Discard input before waiting. Reset connection timestamp.
4660 (with-tramp-progress-reporter): Improve messages.
4661 (tramp-process-actions): Use progress reporter. Delete process in
4662 case of error. Improve messages.
4664 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
4665 Call `tramp-error-with-buffer' with vector and buffer.
4666 (tramp-current-connection): Remove.
4667 (tramp-maybe-open-connection): The car of
4668 `tramp-current-connection' are the first 3 slots of the vector.
4670 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4672 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4673 inside continued strings.
4675 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4677 Timestamp fixes for undo (Bug#14824).
4678 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4680 2013-07-10 Leo Liu <sdl.web@gmail.com>
4682 * files.el (require-final-newline): Allow safe local value.
4685 2013-07-09 Leo Liu <sdl.web@gmail.com>
4687 * ido.el (ido-read-directory-name): Handle fallback.
4688 (ido-read-file-name): Update DIR to ido-current-directory.
4690 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4692 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4694 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4695 "autoload". Remove "warn lower camel case" section, previously
4696 commented out. Highlight negation char. Do not highlight the
4697 target in singleton method definitions.
4699 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4701 * faces.el (tty-setup-hook): Declare the hook.
4703 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4704 and detect when a guard/pred depends on local vars (bug#14773).
4705 (pcase--u1): Adjust caller.
4707 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4709 * simple.el (line-move-partial, line-move): Account for
4711 (line-move-partial): Avoid setting vscroll when the last
4712 partially-visible line in window is of default height.
4714 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4716 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4719 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4721 * subr.el (read-quoted-char): Remove unused local variable `char'.
4723 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4725 * ediff.el (ediff-version): Version update.
4726 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4727 (ediff-merge-with-ancestor-command, ediff-directories-command)
4728 (ediff-directories3-command, ediff-merge-directories-command)
4729 (ediff-merge-directories-with-ancestor-command): New functions.
4730 All are command-line interfaces to ediff: to facilitate calling
4731 Emacs with the appropriate ediff functions invoked.
4733 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4734 (viper-save-kill-buffer): Check if buffer is modified.
4736 * viper.el (viper-version): Version update.
4737 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4739 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4741 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4742 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4743 (viper-intercept-ESC-key): Simplify.
4744 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4745 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4746 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4747 (viper-setup-ESC-to-escape): New functions.
4748 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4749 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4751 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4753 * simple.el (default-font-height, window-screen-lines):
4755 (line-move, line-move-partial): Use them instead of
4756 frame-char-height and window-text-height. This makes scrolling
4757 text smoother when the buffer's default face uses a font that is
4758 different from the frame's default font.
4760 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4762 * files.el (write-file): Do not display confirm dialog for NS,
4763 it does its own dialog, which can't be cancelled (Bug#14578).
4765 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4767 * simple.el (line-move-partial): Adjust the row returned by
4768 posn-at-point for the current window-vscroll. (Bug#14567)
4770 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4772 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4773 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4776 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4778 * window.el (window-state-put-stale-windows): New variable.
4779 (window--state-put-2): Save list of windows without matching buffer.
4780 (window-state-put): Remove "bufferless" windows if possible.
4782 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4784 * simple.el (alternatives-define): Remove leftover :group keyword.
4787 2013-07-06 Leo Liu <sdl.web@gmail.com>
4789 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4790 (ido-enable-virtual-buffers): New variable.
4791 (ido-buffer-internal, ido-toggle-virtual-buffers)
4792 (ido-make-buffer-list): Use it.
4793 (ido-exhibit): Support turning on and off virtual buffers
4796 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4798 * simple.el (alternatives-define): New macro.
4800 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4802 * subr.el (read-quoted-char): Use read-key.
4803 (sit-for): Let read-event decode tty input (bug#14782).
4805 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4807 * calendar/todo-mode.el: Add handling of file deletion, both by
4808 mode command and externally. Fix various related bugs.
4809 Clarify Commentary and improve some documentation strings and code.
4810 (todo-delete-file): New command.
4811 (todo-check-file): New function.
4812 (todo-show): Handle external deletion of the file we're trying to
4813 show (bug#14688). Replace called-interactively-p by an optional
4814 prefix argument to avoid problematic interaction with catch form
4815 when byte compiled (bug#14702).
4816 (todo-quit): Handle external deletion of the archive's todo file.
4817 Make sure the buffer that was visiting the archive file is still
4818 live before trying to bury it.
4819 (todo-category-completions): Handle external deletion of any
4820 category completion files.
4821 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4822 of todo files, in case of external deletion.
4823 (todo-add-file): Replace unnecessary setq by let-binding.
4824 (todo-find-archive): Check whether there are any archives.
4825 Replace unnecessary setq by let-binding.
4826 (todo-archive-done-item): Use find-file-noselect to get the
4827 archive buffer whether or not the archive already exists.
4828 Remove superfluous code. Use file size instead of buffer-file-name to
4829 check if the archive is new; if it is, update list of archives.
4830 (todo-default-todo-file): Allow nil to be a valid value for when
4831 there are no todo files.
4832 (todo-reevaluate-default-file-defcustom): Use corrected definition
4833 of todo-default-todo-file.
4834 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4835 (todo-delete-category, todo-show-categories-table)
4836 (todo-category-number): Clarify comment.
4837 (todo-filter-items): Clarify documentation string.
4838 (todo-show-current-file, todo-display-as-todo-file)
4839 (todo-reset-and-enable-done-separator): Tweak documentation string.
4840 (todo-done-separator): Make separator length window-width, since
4841 bug#2749 is now fixed.
4843 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4845 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4846 Support both "gvfs-monitor-dir" and "inotifywait".
4847 (tramp-sh-file-inotifywait-process-filter): Rename from
4848 `tramp-sh-file-notify-process-filter'.
4849 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4850 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4852 2013-07-05 Leo Liu <sdl.web@gmail.com>
4854 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4856 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4858 * frame.el (display-pixel-height, display-pixel-width)
4859 (display-mm-height, display-mm-width): Mention behavior on
4860 multi-monitor setups in docstrings.
4861 (w32-display-monitor-attributes-list): Declare function.
4862 (display-monitor-attributes-list): Use it.
4864 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4866 * filenotify.el: New package.
4868 * autorevert.el (top): Require filenotify.el.
4869 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4871 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4872 (auto-revert-notify-handler): Use `file-notify-*' functions.
4874 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4876 * net/tramp.el (tramp-file-name-for-operation):
4877 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4879 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4880 for `file-notify-add-watch' and `file-notify-rm-watch'.
4881 (tramp-process-sentinel): Improve trace.
4882 (tramp-sh-handle-file-notify-add-watch)
4883 (tramp-sh-file-notify-process-filter)
4884 (tramp-sh-handle-file-notify-rm-watch)
4885 (tramp-get-remote-inotifywait): New defuns.
4887 2013-07-03 Juri Linkov <juri@jurta.org>
4889 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4890 call of `occur-read-primary-args' to interactive spec.
4892 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4893 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4895 2013-07-03 Matthias Meulien <orontee@gmail.com>
4897 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4898 `Buffer-menu-multi-occur'. Add it to the menu.
4899 (Buffer-menu-mode): Document it in docstring.
4900 (Buffer-menu-multi-occur): New command. (Bug#14673)
4902 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4904 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4905 keywords and built-ins.
4907 2013-07-03 Glenn Morris <rgm@gnu.org>
4909 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4911 Make info-xref checks case-sensitive by default
4912 * info.el (Info-find-node, Info-find-in-tag-table)
4913 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4914 Add option for exact case matching of nodes.
4915 * info-xref.el (info-xref): New custom group.
4916 (info-xref-case-fold): New option.
4917 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4919 2013-07-03 Leo Liu <sdl.web@gmail.com>
4921 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4923 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4925 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4926 middle of block statement initially, lower the depth. Remove
4927 FIXME comment, not longer valid. Remove middle of block statement
4928 detection, no need to do that anymore since we've been using
4929 `ruby-parse-region' here.
4931 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4933 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4935 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4937 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4939 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4941 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4942 (desktop-restore-in-current-display): New customization option.
4943 (desktop--excluded-frame-parameters): Add `font'.
4944 (desktop--save-frames): Rename from desktop--save-windows.
4945 (desktop--restore-in-this-display-p): New function.
4946 (desktop--make-full-frame): Remove unwanted width/height from
4947 full(width|height) frames.
4948 (desktop--restore-frames): Rename from desktop--restore-windows.
4949 Obey desktop-restore-current-display. Do not delete old frames or
4950 select a new frame unless we were able to restore at least one frame.
4952 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4954 * files.el (find-file-noselect): Simplify conditional expression.
4956 * remember.el (remember-append-to-file):
4957 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4959 Add `remember-notes' function to store random notes across Emacs
4961 * remember.el (remember-data-file): Add :set callback to affect
4962 notes buffer (if any).
4963 (remember-notes): New command.
4964 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4965 New defcustoms for the `remember-notes' function.
4966 (remember-notes-save-and-bury-buffer): New command.
4967 (remember-notes-mode-map): New variable.
4968 (remember-mode): New minor mode.
4969 (remember-notes--kill-buffer-query): New function.
4970 * startup.el (initial-buffer-choice): Add notes to custom type.
4972 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4974 * bindings.el (right-char, left-char): Don't call sit-for, this is
4975 no longer needed. Use arithmetic comparison only for numerical
4978 * international/mule-cmds.el (select-safe-coding-system):
4979 Handle the case of FROM being a string correctly. (Bug#14755)
4981 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4983 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4984 progression on degenerate tables.
4985 (shr-rescale-image): ImageMagick animated images currently don't work.
4987 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4989 Some fixes and improvements for desktop frame restoration.
4990 It is still experimental and disabled by default.
4991 * desktop.el (desktop--save-windows): Put the selected frame at
4992 the head of the list.
4993 (desktop--make-full-frame): New function.
4994 (desktop--restore-windows): Try to re-select the frame that was
4995 selected upon saving. Do not abort if some frames fail to restore,
4996 just show an error message and continue. Set up maximized frames
4997 so they have default non-maximized dimensions.
4999 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
5001 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
5002 Don't start heredoc inside a string or comment.
5004 2013-06-29 Eli Zaretskii <eliz@gnu.org>
5006 * bindings.el (visual-order-cursor-movement): New defcustom.
5007 (right-char, left-char): Provide visual-order cursor motion by
5008 calling move-point-visually. Update the doc strings.
5010 2013-06-28 Kenichi Handa <handa@gnu.org>
5012 * international/mule.el (define-coding-system): New coding system
5013 properties :inhibit-null-byte-detection,
5014 :inhibit-iso-escape-detection, and :prefer-utf-8.
5015 (set-buffer-file-coding-system): If :charset-list property of
5016 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
5017 appropriate for setting.
5019 * international/mule-cmds.el (select-safe-coding-system):
5020 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
5021 multibyte characters, return utf-8 (or one of its siblings).
5023 * international/mule-conf.el (prefer-utf-8): New coding system.
5024 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
5027 2013-06-28 Ivan Kanis <ivan@kanis.fr>
5029 * net/shr.el (shr-render-region): New function.
5031 * net/eww.el: Autoload `eww-browse-url'.
5033 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
5035 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5036 Adapt to `package-desc-version' being a list.
5037 Use `package--ac-desc-version' to retrieve version from a package
5040 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
5042 New experimental feature to save&restore window and frame setup.
5043 * desktop.el (desktop-save-windows): New defcustom.
5044 (desktop--saved-states): New var.
5045 (desktop--excluded-frame-parameters): New defconst.
5046 (desktop--filter-frame-parms, desktop--find-frame-in-display)
5047 (desktop--restore-windows, desktop--save-windows): New functions.
5048 (desktop-save): Call `desktop--save-windows'.
5049 (desktop-read): Call `desktop--restore-windows'.
5051 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
5053 * net/shr.el (add-face-text-property): Remove compat definition.
5055 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5057 * info.el (Info-try-follow-nearest-node): Move search for footnote
5058 above search for node name to prevent missing a footnote (bug#14717).
5060 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
5062 * obsolete/otodo-mode.el: Add obsolescence info to file header.
5064 2013-06-27 Leo Liu <sdl.web@gmail.com>
5066 * net/eww.el (eww-read-bookmarks): Check file size.
5068 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5070 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
5071 advice--pending if newdef is nil or an autoload (bug#13820).
5072 (advice-mapc): New function.
5074 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
5076 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
5078 (eww-mode-map): Add a menu bar.
5079 (eww-add-bookmark): New command.
5080 (eww-bookmark-mode): New mode and commands.
5081 (eww-add-bookmark): Remove newlines from the title.
5082 (eww-bookmark-browse): Don't bug out if it's the only window.
5084 2013-06-26 Glenn Morris <rgm@gnu.org>
5086 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
5087 (hfy-size): Handle ttys. (Bug#14668)
5089 * info-xref.el: Update for Texinfo 5 change in *note format.
5090 (info-xref-node-re, info-xref-note-re): New constants.
5091 (info-xref-check-buffer): Use info-xref-note-re.
5093 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
5095 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
5097 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
5098 nil terminate the loop (bug#14718).
5100 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5102 * net/eww.el: Rework history traversal. When going forward/back,
5103 put these actions into the history, too, so that they can be
5105 (eww-render): Move the history reset to the correct buffer.
5107 2013-06-25 Juri Linkov <juri@jurta.org>
5109 * files-x.el (modify-dir-local-variable): Change the header comment
5110 in the file with directory local variables. (Bug#14692)
5112 * files-x.el (read-file-local-variable-value): Add `default'.
5115 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5117 * net/eww.el (eww-make-unique-file-name): Create a unique file
5118 name before saving to entering `y' accidentally asynchronously.
5120 2013-06-25 Ivan Kanis <ivan@kanis.fr>
5122 * net/eww.el (eww-download): New command and keystroke.
5124 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5126 * net/eww.el (eww-copy-page-url): Change name of command.
5128 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
5129 be more consistent with Info and dired.
5131 * net/eww.el (eww-mode-map): Ditto.
5133 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
5136 packages from archives.
5137 (package-archive-contents): Change format; include obsolete packages.
5138 (package-desc): Use `dir' to mark builtin packages.
5139 (package--from-builtin): Set the `dir' field to `builtin'.
5140 (generated-autoload-file, version-control): Declare.
5141 (package-compute-transaction): Change first arg and return value to be
5142 lists of package-descs. Adjust to new package-archive-contents format.
5143 (package--add-to-archive-contents): Adjust to new
5144 package-archive-contents format.
5145 (package-download-transaction): Arg is now a list of package-descs.
5146 (package-install): If `pkg' is a package name, pass it as
5147 a requirement, so it is subject to the usual (e.g. disabled) checks.
5148 (describe-package): Accept package-desc as well.
5149 (describe-package-1): Describe a specific package-desc. Add links to
5150 other package-descs for the same package name.
5151 (package-menu-describe-package): Pass the actual package-desc.
5152 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
5154 (package-desc-status): New function.
5155 (package-menu--refresh): New function, extracted
5156 from package-menu--generate.
5157 (package-menu--generate): Use it.
5158 (package-delete): Update package-alist.
5159 (package-menu-execute): Don't call package-initialize.
5161 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
5162 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
5163 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
5164 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
5165 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
5166 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
5168 2013-06-25 Martin Rudalics <rudalics@gmx.at>
5170 * window.el (window--state-get-1): Workaround for bug#14527.
5171 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
5173 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
5175 * net/eww.el (eww-back-url): Implement the history by stashing all
5176 the data into a list.
5177 (eww-forward-url): Allow going forward in the history, too.
5179 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
5181 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
5182 for values and use read--expression for expressions (bug#14710).
5183 (read-file-local-variable): Avoid setq.
5184 (read-file-local-variable-mode): Use minor-mode-list.
5186 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5188 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
5191 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5193 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
5194 Update imenu-support when dialect changes.
5196 2013-06-25 Leo Liu <sdl.web@gmail.com>
5198 * ido.el (ido-read-internal): Allow forward slash on windows.
5200 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5202 * net/eww.el (eww): Start of strings is \\`, not ^.
5204 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5206 * net/shr.el (shr-browse-url): Fix interactive spec.
5208 * net/eww.el (eww): Add a trailing slash to domain names.
5210 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
5212 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
5214 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
5216 * net/shr.el (shr-browse-url): Use an external browser if given a
5219 * net/eww.el (eww-external-browser): Move to shr.
5221 2013-06-24 Ivan Kanis <ivan@kanis.fr>
5223 * net/eww.el (eww): Work more correctly for file: URLs.
5224 (eww-detect-charset): Allow quoted charsets.
5225 (eww-yank-page-url): New command and keystroke.
5227 2013-06-24 Daiki Ueno <ueno@gnu.org>
5229 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
5230 file name of gpg executable.
5231 (epg-context-program): New function.
5232 (epg-context-home-directory): New function.
5233 (epg-context-set-program): New function.
5234 (epg-context-set-home-directory): New function.
5235 (epg--start): Use `epg-context-program' instead of
5237 (epg--list-keys-1): Likewise.
5239 2013-06-24 Leo Liu <sdl.web@gmail.com>
5241 * ido.el (ido-read-internal): Fix bug#14620.
5243 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5245 * faces.el (face-documentation): Simplify.
5246 (read-face-attribute, tty-find-type, x-resolve-font-name):
5247 Use `string-match-p'.
5248 (list-faces-display): Use `string-match-p'. Simplify.
5249 (face-spec-recalc): Check face to avoid face alias loops.
5250 (read-color): Use `string-match-p' and non-capturing parenthesis.
5252 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
5254 * net/shr.el (shr-rescale-image): Use the new
5255 :max-width/:max-height functionality.
5257 2013-06-23 Ivan Kanis <ivan@kanis.fr>
5259 * net/eww.el (eww-search-prefix): New variable.
5261 (eww-external-browser): New variable.
5262 (eww-mode-map): New keystroke.
5263 (eww-browse-with-external-browser): New command.
5265 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
5267 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
5269 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
5270 Don't skip aligning the next header field when padding is 0;
5271 otherwise, field width is not respected unless the title is as
5274 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
5276 * emacs-lisp/package.el (package-el-version): Remove.
5277 (package-process-define-package): Fix inf-loop.
5278 (package-install): Allow symbols as arguments again.
5280 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5282 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
5283 add some more keyword-like methods.
5284 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
5286 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
5288 * bs.el (bs-buffer-show-mark): Make defvar-local.
5289 (bs-mode): Use setq-local.
5291 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
5292 (emacs-lock--try-unlocking): Make defvar-local.
5294 2013-06-22 Glenn Morris <rgm@gnu.org>
5296 * play/cookie1.el (cookie-apropos): Minor simplification.
5298 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
5300 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
5302 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
5303 `regexp-opt', it breaks the build during dumping.
5305 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
5307 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5308 Highlight keyword-like methods on Kernel and Module with
5309 font-lock-builtin-face.
5310 (auto-mode-alist): Consolidate different entries into one regexp
5311 and add more *file-s.
5313 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
5315 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
5317 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
5318 (diary-entry): Use it in the action of this button type instead of
5321 * calendar/todo-mode.el: New version.
5322 (todo-add-category): Append new category to end of file and give
5323 it the highest number, instead of putting it at the beginning and
5324 giving it 0. Incorporate noninteractive functionality.
5325 (todo-forward-category): Adapt to 1-based category numbering.
5326 Allow skipping over archived categories.
5327 (todo-backward-category): Derive from todo-forward-category.
5328 (todo-backward-item, todo-forward-item): Make noninteractive and
5329 delegate interactive part to new commands. Make sensitive to done items.
5330 (todo-categories): Make value an alist of category names and
5331 vectors of item counts.
5332 (todo-category-beg): Make a defconst.
5333 (todo-category-number): Use 1 instead of 0 as initial value.
5334 (todo-category-select): Make sensitive to overlays, optional item
5335 highlighting and done items.
5336 (todo-delete-item): Make sensitive to overlays and marked and done items.
5337 (todo-edit-item): Make sensitive to overlays and editing of
5338 date/time header optional. Add format checks.
5339 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
5340 no-op if point is not on an item. Advertise using todo-edit-quit.
5341 (todo-edit-mode): Make sensitive to new format, font-locking, and
5342 multiple todo files.
5343 (todo-insert-item, todo-insert-item-here): Derive from
5344 todo-basic-insert-item and extend functionality.
5345 (todo-item-end, todo-item-start): Make sensitive to done items.
5346 (todo-item-string): Don't return text properties. Restore point.
5347 (todo-jump-to-category): Make sensitive to multiple todo files and
5348 todo archives. Use extended category completion.
5349 (todo-lower-item, todo-raise-item): Rename to *-priority and
5350 derive from todo-set-item-priority.
5351 (todo-mode): Derive from special-mode. Make sensitive to new
5352 format, font-locking and multiple todo files. Make read-only.
5353 (todo-mode-map): Don't suppress digit keys, so they can supply
5354 prefix arguments. Add many new key bindings.
5355 (todo-prefix): Insert as an overlay instead of file text.
5356 Change semantics from diary date expression to purely visual mark.
5357 (todo-print): Rename to todo-print-buffer. Make buffer display
5358 features printable. Remove option to restrict number of items
5359 printed. Add option to print to file.
5360 (todo-print-function): Rename to todo-print-buffer-function.
5361 (todo-quit): Extend to handle exiting new todo modes.
5362 (todo-remove-item): Make sensitive to overlays.
5363 (todo-save): Extend to buffers of filtered items.
5364 (todo-show): Make sensitive to done items, multiple todo files and
5365 new todo modes. Offer to convert legacy todo file before creating
5366 first new todo file.
5367 (todo-show-priorities): Rename to todo-top-priorities.
5368 Change semantics of value 0.
5369 (todo-top-priorities): Rename to todo-filter-top-priorities,
5370 derive from todo-filter-items and extend functionality.
5371 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
5372 and extend functionality to other types of filtered items.
5373 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
5374 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
5375 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
5376 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
5377 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
5378 (todo-edit-mode-hook, todo-entry-prefix-function)
5379 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
5380 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
5381 (todo-initials, todo-insert-threshold, todo-item-string-start)
5382 (todo-line-string, todo-menu, todo-mode-hook)
5383 (todo-more-important-p, todo-previous-answer, todo-previous-line)
5384 (todo-print-priorities, todo-remove-separator)
5385 (todo-save-top-priorities-too, todo-string-count-lines)
5386 (todo-string-multiline-p, todo-time-string-format)
5387 (todo-tmp-buffer-name): Remove.
5388 (todo-add-file, todo-archive-done-item, todo-choose-archive)
5389 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
5390 (todo-edit-category-diary-inclusion)
5391 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
5392 (todo-edit-file, todo-edit-item-date-day)
5393 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
5394 (todo-edit-item-date-month, todo-edit-item-date-to-today)
5395 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
5396 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
5397 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
5398 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
5399 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
5400 (todo-filter-top-priorities-multifile, todo-find-archive)
5401 (todo-find-filtered-items-file, todo-go-to-source-item)
5402 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
5403 (todo-jump-to-archive-category, todo-lower-category)
5404 (todo-mark-category, todo-marked-item-p, todo-merge-category)
5405 (todo-move-category, todo-move-item, todo-next-button)
5406 (todo-next-item, todo-padded-string, todo-powerset)
5407 (todo-previous-button, todo-previous-item)
5408 (todo-print-buffer-to-file, todo-raise-category)
5409 (todo-rename-category, todo-repair-categories-sexp, todo-search)
5410 (todo-set-category-number, todo-set-item-priority)
5411 (todo-set-top-priorities-in-category)
5412 (todo-set-top-priorities-in-file, todo-show-categories-table)
5413 (todo-sort-categories-alphabetically-or-numerically)
5414 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
5415 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
5416 (todo-toggle-item-header, todo-toggle-item-highlighting)
5417 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
5418 (todo-toggle-view-done-items, todo-toggle-view-done-only)
5419 (todo-unarchive-items, todo-unmark-category): New commands.
5420 (todo-absolute-file-name, todo-add-to-buffer-list)
5421 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
5422 (todo-basic-insert-item, todo-category-completions)
5423 (todo-category-number, todo-category-string-matcher-1)
5424 (todo-category-string-matcher-2, todo-check-filtered-items-file)
5425 (todo-check-format, todo-clear-matches)
5426 (todo-comment-string-matcher, todo-convert-legacy-date-time)
5427 (todo-current-category, todo-date-string-matcher)
5428 (todo-define-insertion-command, todo-diary-expired-matcher)
5429 (todo-diary-goto-entry, todo-diary-item-p)
5430 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
5431 (todo-display-categories, todo-display-sorted, todo-done-item-p)
5432 (todo-done-item-section-p, todo-done-separator)
5433 (todo-done-string-matcher, todo-files, todo-filter-items)
5434 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
5435 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
5436 (todo-insert-category-line, todo-insert-item-from-calendar)
5437 (todo-insert-sort-button, todo-insert-with-overlays)
5438 (todo-insertion-command-name, todo-insertion-key-bindings)
5439 (todo-label-to-key, todo-longest-category-name-length)
5440 (todo-make-categories-list, todo-mode-external-set)
5441 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
5442 (todo-modes-set-3, todo-multiple-filter-files)
5443 (todo-nondiary-marker-matcher, todo-prefix-overlays)
5444 (todo-read-category, todo-read-date, todo-read-dayname)
5445 (todo-read-file-name, todo-read-time)
5446 (todo-reevaluate-category-completions-files-defcustom)
5447 (todo-reevaluate-default-file-defcustom)
5448 (todo-reevaluate-filelist-defcustoms)
5449 (todo-reevaluate-filter-files-defcustom)
5450 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
5451 (todo-reset-done-separator, todo-reset-done-separator-string)
5452 (todo-reset-done-string, todo-reset-global-current-todo-file)
5453 (todo-reset-highlight-item, todo-reset-nondiary-marker)
5454 (todo-reset-prefix, todo-set-categories)
5455 (todo-set-date-from-calendar, todo-set-show-current-file)
5456 (todo-set-top-priorities, todo-short-file-name)
5457 (todo-show-current-file, todo-sort, todo-time-string-matcher)
5458 (todo-total-item-counts, todo-update-buffer-list)
5459 (todo-update-categories-display, todo-update-categories-sexp)
5460 (todo-update-count, todo-validate-name, todo-y-or-n-p):
5462 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
5464 (todo-categories, todo-display, todo-edit, todo-faces)
5465 (todo-filtered): New defgroups.
5466 (todo-archived-only, todo-button, todo-category-string, todo-date)
5467 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
5468 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
5469 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
5470 (todo-add-item-if-new-category, todo-always-add-time-string)
5471 (todo-categories-align, todo-categories-archived-label)
5472 (todo-categories-category-label, todo-categories-diary-label)
5473 (todo-categories-done-label, todo-categories-number-separator)
5474 (todo-categories-todo-label, todo-categories-totals-label)
5475 (todo-category-completions-files, todo-completion-ignore-case)
5476 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
5477 (todo-done-separator-string, todo-done-string)
5478 (todo-files-function, todo-filter-done-items, todo-filter-files)
5479 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
5480 (todo-initial-category, todo-initial-file, todo-item-mark)
5481 (todo-legacy-date-time-regexp, todo-mode-line-function)
5482 (todo-nondiary-marker, todo-number-prefix)
5483 (todo-print-buffer-function, todo-show-current-file)
5484 (todo-show-done-only, todo-show-first, todo-show-with-done)
5485 (todo-skip-archived-categories, todo-top-priorities-overrides)
5486 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
5487 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
5489 (todo-category-done, todo-date-pattern, todo-date-string-start)
5490 (todo-diary-items-buffer, todo-done-string-start)
5491 (todo-filtered-items-buffer, todo-item-start)
5492 (todo-month-abbrev-array, todo-month-name-array)
5493 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
5494 (todo-top-priorities-buffer): New defconsts.
5495 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
5496 (todo-categories-with-marks, todo-category-string-face)
5497 (todo-comment-face, todo-comment-string, todo-current-todo-file)
5498 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
5499 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
5500 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
5501 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
5502 (todo-font-lock-keywords, todo-global-current-todo-file)
5503 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
5504 (todo-insertion-commands-args)
5505 (todo-insertion-commands-args-genlist)
5506 (todo-insertion-commands-names, todo-insertion-map)
5507 (todo-key-bindings-t, todo-key-bindings-t+a)
5508 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
5509 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
5510 (todo-nondiary-face, todo-print-buffer, todo-time-face)
5511 (todo-visited): New variables.
5513 2013-06-21 Glenn Morris <rgm@gnu.org>
5515 * play/cookie1.el (cookie-apropos): Add optional display argument.
5516 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
5517 (psychoanalyze-pinhead): Use cookie-doctor.
5519 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5521 * emacs-lisp/package.el (tar-get-file-descriptor)
5522 (tar--extract): Declare.
5524 2013-06-21 Eduard Wiebe <usenet@pusto.de>
5526 Extend flymake's warning predicate to be a function (bug#14217).
5527 * progmodes/flymake.el (flymake-warning-predicate): New.
5528 (flymake-parse-line): Use it.
5529 (flymake-warning-re): Make obsolete alias to
5530 `flymake-warning-predicate'.
5532 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5534 * emacs-lisp/package.el (package-alist): Include obsolete packages.
5535 (package-obsolete-list): Remove.
5536 (package-activate): Remove min-version argument. Add `force' argument.
5537 Adjust to new package-alist format.
5538 (package-mark-obsolete): Remove.
5539 (package-unpack): Force reload of the package's autoloads.
5540 (package-installed-p): Check builtins if the installed package is not
5542 (package-initialize): Don't reset package-obsolete-list.
5543 Don't specify which package version to activate.
5544 (package-process-define-package, describe-package-1)
5545 (package-menu--generate): Adjust to new package-alist format.
5547 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5549 * allout-widgets.el (allout-widgets-mode-off)
5550 (allout-widgets-mode-on, allout-widgets-pre-command-business)
5551 (allout-widgets-post-command-business)
5552 (allout-widgets-after-copy-or-kill-function)
5553 (allout-widgets-after-undo-function, allout-test-range-overlaps)
5554 (allout-decorate-item-and-context)
5555 (allout-graphics-modification-handler): Fix typos in docstrings.
5556 (allout-get-or-create-parent-widget): Use `looking-at-p'.
5558 * cmuscheme.el (scheme-start-file): Doc fix.
5559 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
5560 (scheme-input-filter): Use `string-match-p'.
5562 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
5564 * dired-x.el: Use Dired consistently in docstrings.
5566 * dired.el: Use Dired consistently in docstrings.
5567 (dired-readin, dired-mode): Use `setq-local'.
5568 (dired-switches-alist): Make defvar-local.
5569 (dired-buffers-for-dir): Use `zerop'.
5570 (dired-safe-switches-p, dired-switches-escape-p)
5571 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
5572 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
5573 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
5574 (dired-goto-next-nontrivial-file): Use `string-match-p'.
5575 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
5576 (dired-toggle-marks, dired-mark-files-containing-regexp)
5577 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
5578 (dired-flag-auto-save-files, dired-flag-backup-files):
5580 (dired-mark-files-regexp, dired-build-subdir-alist):
5581 Use `string-match-p', `looking-at-p'.
5583 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
5584 (direct-print-region-helper): Use `string-match-p'.
5586 2013-06-21 Leo Liu <sdl.web@gmail.com>
5588 * comint.el (comint-redirect-results-list-from-process):
5591 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
5593 * net/eww.el (eww-update-header-line-format): Quote % characters.
5595 2013-06-21 Glenn Morris <rgm@gnu.org>
5597 * play/cookie1.el (cookie): New custom group.
5598 (cookie-file): New option.
5599 (cookie-check-file): New function.
5600 (cookie): Make it interactive. Make start and end messages optional.
5601 Interactively, display the result. Default to cookie-file.
5602 (cookie-insert): Default to cookie-file.
5603 (cookie-snarf): Make start and end messages optional.
5604 Default to cookie-file. Use with-temp-buffer.
5605 (cookie-read): Rename from read-cookie.
5606 Make start and end messages optional. Default to cookie-file.
5607 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
5609 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
5610 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
5612 2013-06-21 Leo Liu <sdl.web@gmail.com>
5614 * progmodes/octave.el (octave-mode): Backward compatibility fix.
5616 2013-06-21 Glenn Morris <rgm@gnu.org>
5618 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
5620 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
5621 Daniel Hackney <dan@haxney.org>
5623 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
5624 Consolidate the single-file vs tarball code.
5625 (package-desc-suffix): New function.
5626 (package-desc-full-name): Don't bother inlining it.
5627 (package-load-descriptor): Return the new package-desc.
5628 (package-mark-obsolete): Remove unused arg `package'.
5629 (package-unpack): Make it work for single files as well.
5630 Make it update package-alist.
5631 (package--make-autoloads-and-stuff): Rename from
5632 package--make-autoloads-and-compile. Don't compile any more.
5633 (package--compile): New function.
5634 (package-generate-description-file): New function, extracted from
5635 package-unpack-single.
5636 (package-unpack-single): Remove.
5637 (package--with-work-buffer): Add indentation and debugging info.
5638 (package-download-single): Remove.
5639 (package-install-from-archive): Rename from package-download-tar, make
5640 it take a pkg-desc, and make it work for single files as well.
5641 (package-download-transaction): Simplify.
5642 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
5643 external tar program.
5644 (package-install-from-buffer): Remove `pkg-desc' argument.
5645 Use package-tar-file-info for tar-mode buffers.
5646 (package-install-file): Simplify accordingly.
5647 (package-archive-base): Change to take a pkg-desc.
5648 * tar-mode.el (tar--check-descriptor): New function, extracted from
5650 (tar-get-descriptor): Use it.
5651 (tar-get-file-descriptor): New function.
5652 (tar--extract): New function, extracted from tar-extract.
5653 (tar--extract): Use it.
5654 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
5655 case the summary uses non-ascii. Adjust to new calling convention of
5656 package-tar-file-info.
5658 2013-06-21 Leo Liu <sdl.web@gmail.com>
5660 * comint.el (comint-redirect-results-list-from-process):
5661 Fix random delay. (Bug#14681)
5663 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
5665 * profiler.el (profiler-format-number): Use log, not log10.
5667 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5669 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5671 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5673 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5674 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5676 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5677 (AUTOGENEL): ... here.
5678 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5679 (cl--defsubst-expand): Use it.
5681 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5683 * subr.el (log10): Move here from C code, and declare as obsolete.
5684 All uses of (log10 X) replaced with (log X 10).
5686 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5688 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5689 Declare with `defvar-local'.
5690 (tabulated-list-use-header-line, tabulated-list-entries)
5691 (tabulated-list-padding, tabulated-list-printer)
5692 (tabulated-list-sort-key): Declare with `defvar-local'.
5693 (tabulated-list-init-header, tabulated-list-print-fake-header):
5696 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5698 * arc-mode.el (archive-mode): Add `archive-write-file' to
5699 `write-contents-functions' also for remote files. (Bug#14652)
5701 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5703 * cus-edit.el (custom-commands): Fix typos.
5704 (custom-display): Fix tooltip text.
5705 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5706 Fix typos in docstrings.
5707 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5708 (custom-unlispify-menu-entry, custom-magic-value-create)
5709 (custom-add-see-also, custom-group-value-create): Use ?\s.
5710 (custom-guess-type, customize-apropos, editable-field)
5711 (custom-face-value-create): Use `string-match-p'.
5712 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5714 * custom.el (custom-load-symbol): Use `string-match-p'.
5716 * ansi-color.el: Convert to lexical binding.
5717 (ansi-colors): Fix URL.
5718 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5719 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5720 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5722 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5724 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5726 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5728 2013-06-19 Tom Tromey <tromey@redhat.com>
5730 * net/eww.el (eww-top-url): Remove.
5731 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5732 (eww-render): Set new variables. Don't set eww-top-url.
5733 (eww-handle-link): Handle "prev", "home", and "contents".
5734 Downcase the rel text.
5735 (eww-top-url): Choose best top URL.
5737 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5739 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5740 relying in widget.el. Using widget.el leads to too many
5741 user interface inconsistencies.
5742 (eww-self-insert): Implement entering commands in text fields.
5743 (eww-process-text-input): New function to make text input field editing
5745 (eww-submit): Rewrite to use the new-style form methods.
5746 (eww-select-display): Display the correct selected item.
5747 (eww-change-select): Implement changing the select value.
5748 (eww-toggle-checkbox): Implement radio/checkboxes.
5749 (eww-update-field): Fix compilation error.
5750 (eww-tag-textarea): Implement <textarea>.
5752 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5753 we don't shadow mode-specific bindings.
5755 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5758 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5760 2013-06-19 Glenn Morris <rgm@gnu.org>
5762 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5764 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5766 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5769 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5771 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5773 * net/browse-url.el (browse-url-browser-function):
5774 `eww-browse-url' has the right calling signature, `eww' does not.
5776 2013-06-19 Glenn Morris <rgm@gnu.org>
5778 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5779 Only eval autoloaded macros.
5780 (byte-compile-autoload): Only give the macro warning for macros.
5782 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5783 (ps-underlined-faces): Declare.
5785 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5786 (speedbar-add-supported-extension): Declare.
5788 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5789 Don't include a date stamp in the header of the generated file;
5790 it leads to needless differences between output files.
5792 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5794 * net/secrets.el (secrets-struct-secret-content-type):
5795 Replace check of introspection data by a test call of "CreateItem".
5796 Some servers do not offer introspection.
5798 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5800 * electric.el (electric-pair-mode): Improve interaction with
5801 electric-layout-mode.
5802 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5803 (electric-pair-syntax): Use text-mode-syntax-table in comments
5805 (electric-pair--insert): New function.
5806 (electric-pair-post-self-insert-function): Use it and
5807 electric--after-char-pos.
5809 2013-06-19 Leo Liu <sdl.web@gmail.com>
5811 * progmodes/octave.el (octave-help): Fix regexp.
5813 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5815 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5816 (shr-table-horizontal-line): Allow nil as a value, and change the
5818 (shr-insert-table-ruler): Respect the nil value.
5820 2013-06-18 Tom Tromey <tromey@barimba>
5822 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5824 (eww-open-file): New defun.
5825 (eww-render): Initialize new variables.
5826 (eww-display-html): Handle "link" and "a".
5827 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5828 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5829 (eww-back-url): Rename from eww-previous-url.
5830 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5833 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5835 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5836 Distinguish ternary operator tokens from slash symbol and slash
5839 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5841 Convert symbol prettification into minor mode and global minor mode.
5843 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5844 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5845 (prettify-symbols--keywords): Rename from
5846 `prog-prettify-symbols-alist' and make a local defvar.
5847 (prettify-symbols--compose-symbol): Rename from
5848 `prog--prettify-font-lock-compose-symbol'.
5849 (prettify-symbols--make-keywords): Rename from
5850 `prog-prettify-font-lock-symbols-keywords' and simplify.
5851 (prog-prettify-install): Remove.
5852 (prettify-symbols-mode): New minor mode, based on
5853 `prog-prettify-install'.
5854 (turn-on-prettify-symbols-mode): New function.
5855 (global-prettify-symbols-mode): New globalized minor mode.
5857 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5858 * progmodes/cfengine.el (cfengine3-mode):
5859 * progmodes/perl-mode.el (perl-mode): Don't call
5860 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5862 2013-06-18 Juri Linkov <juri@jurta.org>
5864 * files-x.el (modify-file-local-variable-message): New function.
5865 (modify-file-local-variable)
5866 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5867 and call `modify-file-local-variable-message' when it's non-nil.
5868 (add-file-local-variable, delete-file-local-variable)
5869 (add-file-local-variable-prop-line)
5870 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5871 and use it. (Bug#9820)
5873 2013-06-18 Juri Linkov <juri@jurta.org>
5875 * emulation/vi.el (vi-shell-op):
5876 * emulation/vip.el (vip-execute-com, ex-command):
5877 * emulation/viper-cmd.el (viper-exec-bang):
5878 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5879 the call of `shell-command-on-region'. (Bug#14637)
5881 * simple.el (shell-command-on-region): Doc fix.
5883 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5885 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5888 2013-06-18 Glenn Morris <rgm@gnu.org>
5890 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5892 * newcomment.el (comment-search-forward, comment-search-backward):
5893 Doc fix. (Bug#14376)
5895 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5897 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5898 (buffer-face-mode-invoke): Doc fix.
5900 2013-06-18 Matthias Meulien <orontee@gmail.com>
5902 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5903 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5905 2013-06-18 Glenn Morris <rgm@gnu.org>
5907 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5908 Replace obsolete function generic-make-keywords with its expansion.
5910 * progmodes/python.el (ffap-alist): Declare.
5912 * textmodes/reftex.el (bibtex-mode-map): Declare.
5914 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5916 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5917 (package-unpack, package-unpack-single): Return the pkg-dir.
5918 (package-download-transaction): Use it to update package-alist.
5920 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5922 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5925 2013-06-17 Juri Linkov <juri@jurta.org>
5927 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5929 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5931 * emacs-lisp/package.el (package-load-descriptor):
5932 Remove `with-syntax-table' call, `read' doesn't need it.
5933 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5935 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5937 * startup.el (command-line): Expand package name returned by
5938 `package--description-file' (bug#14639).
5940 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5942 * emacs-lisp/package.el (package-load-descriptor): Do not call
5943 `emacs-lisp-mode', just use its syntax table.
5945 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5947 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5948 `font-lock-extra-managed-props' if any prettifying keyword is added.
5949 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5950 (prog-mode): Use `setq-local'.
5952 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5954 * international/characters.el (standard-case-table): Set syntax of ?»
5955 and ?« to punctuation.
5957 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5959 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5960 Save relevant match data before calling `syntax-ppss' (bug#14595).
5962 2013-06-15 Juri Linkov <juri@jurta.org>
5964 * files-x.el (modify-file-local-variable-prop-line): Add local
5965 variables to the end of the existing comment on the first line.
5966 Use `file-auto-mode-skip' to skip interpreter magic line,
5967 and also skip XML declaration.
5969 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5971 * startup.el (package--builtin-versions): New var.
5972 (package-subdirectory-regexp): Remove.
5973 (package--description-file): Hard code its value instead.
5975 * emacs-lisp/package.el: Don't activate packages older than builtin.
5976 (package-obsolete-list): Rename from package-obsolete-alist, and make
5977 it into a simple list of package-desc.
5978 (package-strip-version): Remove.
5979 (package-built-in-p): Use package--builtin-versions.
5980 (package-mark-obsolete): Simplify.
5981 (package-process-define-package): Mark it obsolete if older than the
5983 (package-handle-response): Use line-end-position.
5984 (package-read-archive-contents, package--download-one-archive):
5986 (package--add-to-archive-contents): Skip if older than the builtin or
5988 (package-menu-describe-package): Fix last change.
5989 (package-list-unversioned): New var.
5990 (package-menu--generate): Use it.
5992 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5993 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5994 (autoload-builtin-package-versions): New variable.
5995 (autoload-generate-file-autoloads): Use them.
5996 Remove the list of autoloaded functions/macros from the
5997 (autoload...) comments.
5999 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
6001 2013-06-15 Eli Zaretskii <eliz@gnu.org>
6003 * simple.el (line-move-partial): Don't jump to the next screen
6004 line as soon as it becomes visible. Instead, continue enlarging
6005 the vscroll until the portion of a tall screen line that's left on
6006 display is about the height of the frame's default font.
6009 2013-06-15 Glenn Morris <rgm@gnu.org>
6011 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
6012 compilation-error-regexp-alist void, or local while let-bound.
6014 * progmodes/make-mode.el (makefile-mode-syntax-table):
6015 Treat "=" as punctuation. (Bug#14614)
6017 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
6019 * help-fns.el (describe-variable):
6020 Add extra line for permanent-local variables.
6022 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
6024 * progmodes/scheme.el (scheme-font-lock-keywords-2):
6025 Add export, import, library. (Bug#9164)
6026 (library): Set indent function.
6028 2013-06-14 Glenn Morris <rgm@gnu.org>
6030 * term/xterm.el (xterm--query):
6031 Stop after first matching handler. (Bug#14615)
6033 2013-06-14 Ivan Kanis <ivan@kanis.fr>
6035 Add support for dired in saveplace.
6036 * dired.el (dired-initial-position-hook): New variable.
6037 (dired-initial-position): Call hook to place cursor position.
6038 * saveplace.el (save-place-to-alist): Add dired position.
6039 (save-place-dired-hook): New function.
6041 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
6043 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
6044 through a symbol rather than letrec.
6046 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
6047 (package-desc): Add `dir' field.
6048 (package-desc-full-name): New function.
6049 (package-load-descriptor): Combine the two arguments. Don't use `load'.
6050 (package-maybe-load-descriptor): Remove.
6051 (package-load-all-descriptors): Just call package-load-descriptor.
6052 (package--disabled-p): New function.
6053 (package-desc-vers, package-desc-doc): Remove aliases.
6054 (package--dir): Remove function.
6055 (package-activate): Check if a package is disabled.
6056 (package-process-define-package): New function, extracted from
6058 (define-package): Turn into a place holder.
6059 (package-unpack-single, package-tar-file-info):
6060 Use package--description-file.
6061 (package-compute-transaction): Use package--disabled-p.
6062 (package-download-transaction): Don't call
6063 package-maybe-load-descriptor since they're all loaded anyway.
6064 (package-install): Change argument to be a pkg-desc.
6065 (package-delete): Use a single pkg-desc argument.
6066 (describe-package-1): Use package-desc-dir instead of package--dir.
6067 Use package-desc property instead of package-symbol.
6068 (package-install-button-action): Adjust accordingly.
6069 (package--push): Rewrite.
6070 (package-menu--print-info): Adjust accordingly. Change the ID format
6072 (package-menu-describe-package, package-menu-get-status)
6073 (package-menu--find-upgrades, package-menu-mark-upgrades)
6074 (package-menu-execute, package-menu--name-predicate):
6076 * startup.el (package--description-file): New function.
6077 (command-line): Use it.
6078 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6079 Use package-desc-version.
6081 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
6082 (byte-compile-preprocess): Use it.
6083 (byte-compile-file-form-defalias): Try a bit harder to use macros we
6084 can't quite recognize.
6085 (byte-compile-add-to-list): Remove.
6086 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
6087 (cconv-closure-convert): Add assertion.
6089 * emacs-lisp/map-ynp.el: Use lexical-binding.
6090 (map-y-or-n-p): Remove unused vars `tail' and `object'.
6091 Factor out some repeated code.
6093 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * subr.el (with-eval-after-load): New macro.
6096 (eval-after-load): Allow form to be a function.
6097 take advantage of lexical-binding.
6098 (do-after-load-evaluation): Use dolist and adjust to new format.
6099 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
6101 2013-06-13 Juri Linkov <juri@jurta.org>
6103 * replace.el (perform-replace): Display "symbol " and other search
6104 modes from `isearch-message-prefix' in the *Help* buffer.
6106 * isearch.el (isearch-query-replace): Add " symbol" and other
6107 possible search modes from `isearch-message-prefix' to the prompt.
6108 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
6109 when reading a regexp to collect.
6111 2013-06-13 Juri Linkov <juri@jurta.org>
6113 * isearch.el (word-search-regexp): Match whitespace if the search
6114 string begins or ends in whitespace. The LAX arg is applied to
6115 both ends of the search string. Use `regexp-quote' and explicit
6116 \< and \> instead of \b. Use \` and \' instead of ^ and $.
6117 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
6118 boundaries are replaced with symbol boundaries, and characters
6119 between symbols match non-word non-symbol syntax. (Bug#14602)
6121 2013-06-13 Juri Linkov <juri@jurta.org>
6123 * isearch.el (isearch-del-char): Don't exceed the length of
6124 `isearch-string' by the prefix arg. (Bug#14563)
6126 2013-06-13 Juri Linkov <juri@jurta.org>
6128 * isearch.el (isearch-yank-word, isearch-yank-line)
6129 (isearch-char-by-name, isearch-quote-char)
6130 (isearch-printing-char, isearch-process-search-char):
6131 Add optional count prefix arg. (Bug#14563)
6133 * international/isearch-x.el
6134 (isearch-process-search-multibyte-characters):
6135 Add optional count prefix arg.
6137 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
6139 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
6140 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
6143 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
6145 * subr.el (set-temporary-overlay-map): Add on-exit argument.
6147 2013-06-13 Glenn Morris <rgm@gnu.org>
6149 * startup.el (tty-handle-args):
6150 Don't just discard "--" and anything after. (Bug#14608)
6152 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
6154 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
6156 Implement changes in Secret Service API. Make it backward compatible.
6157 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
6158 (secrets-create-item): Use it. Prefix properties with interface.
6160 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
6162 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
6163 (term-emulate-terminal): Respect term-suppress-hard-newline.
6165 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
6167 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
6168 Only remove a `thumb-file' overlay. (Bug#14548)
6170 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
6172 * mail/reporter.el (reporter-submit-bug-report):
6173 Handle missing package-name. (Bug#14600)
6175 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6177 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
6178 (reftex-citation-prompt, reftex-default-bibliography)
6179 (reftex-bib-or-thebib, reftex-get-bibfile-list)
6180 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6181 (reftex-bib-sort-author, reftex-bib-sort-year)
6182 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
6183 (reftex-extract-bib-entries-from-thebibliography)
6184 (reftex-get-bibkey-default, reftex-get-bib-names)
6185 (reftex-parse-bibtex-entry, reftex-get-bib-field)
6186 (reftex-format-bib-entry, reftex-parse-bibitem)
6187 (reftex-format-bibitem, reftex-do-citation)
6188 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
6189 (reftex-restrict-bib-matches, reftex-extract-bib-file)
6190 (reftex-insert-bib-matches, reftex-format-citation)
6191 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
6192 (reftex-create-bibtex-file): Add docstrings, mostly by converting
6193 existing comments into docstrings.
6195 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6197 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
6199 2013-06-12 Andreas Schwab <schwab@suse.de>
6201 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
6202 for auto-save files.
6204 2013-06-12 Glenn Morris <rgm@gnu.org>
6206 * ido.el (ido-delete-ignored-files): Remove.
6207 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
6208 Go back to calling ido-ignore-item-p directly.
6210 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
6212 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
6214 * ido.el (ido-delete-ignored-files): New function,
6215 split from ido-make-file-list-1.
6216 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
6217 (ido-make-file-list-1): Use ido-delete-ignored-files.
6219 2013-06-12 Leo Liu <sdl.web@gmail.com>
6221 * progmodes/octave.el (inferior-octave-startup)
6222 (inferior-octave-completion-table)
6223 (inferior-octave-track-window-width-change)
6224 (octave-eldoc-function-signatures, octave-help)
6225 (octave-find-definition): Use single quoted strings.
6226 (inferior-octave-startup-args): Change default value.
6227 (inferior-octave-startup): Do not hard code "-i" and
6228 "--no-line-editing".
6229 (inferior-octave-resync-dirs): Add optional arg NOERROR.
6230 (inferior-octave-directory-tracker): Use it.
6231 (octave-goto-function-definition): Robustify.
6232 (octave-help): Support highlighting operators in 'See also'.
6233 (octave-find-definition): Find subfunctions only in Octave mode.
6235 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6237 * help-fns.el (help-fns--compiler-macro): If the handler function is
6238 named, then put a link to it.
6239 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
6240 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
6242 (cl-eval-when): Simplify debug spec.
6243 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
6244 compiler-macro function instead of setting `compiler-macro-file'.
6246 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
6248 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
6249 * vc/vc-hooks.el (vc-stay-local): Doc fix.
6251 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
6252 Daniel Hackney <dan@haxney.org>
6254 First part of Daniel Hackney's patch to package.el.
6255 * emacs-lisp/package.el: Use defstruct.
6256 (package-desc): New, main struct.
6257 (package--bi-desc, package--ac-desc): New structs, used to describe the
6258 format in external files.
6259 (package-desc-vers): Replace with package-desc-version accessor.
6260 (package-desc-doc): Replace with package-desc-summary accessor.
6261 (package-activate-1): Remove `package' arg since the pkg-vec now
6263 (define-package): Use package-desc-from-define.
6264 (package-unpack-single): Change file-name arg to be a symbol.
6265 (package--add-to-archive-contents): Use package-desc-create and new
6266 accessor functions to package--ac-desc.
6267 (package-buffer-info, package-tar-file-info): Return a package-desc.
6268 (package-install-from-buffer): Remove `type' argument. Change pkg-info
6269 arg to be a package-desc.
6270 (package-install-file): Adjust accordingly. Use \' to match EOS.
6271 (package--from-builtin): New function.
6272 (describe-package-1, package-menu--generate): Use it.
6273 (package--make-autoloads-and-compile): Change name arg to be a symbol.
6274 (package-generate-autoloads): Idem and return the name of the file.
6275 * emacs-lisp/package-x.el (package-upload-buffer-internal):
6276 Change pkg-info arg to be a package-desc.
6277 Use package-make-ac-desc.
6278 (package-upload-file): Use \' to match EOS.
6279 * finder.el (finder-compile-keywords): Use package-make-builtin.
6281 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6283 * vc/vc.el (vc-deduce-fileset): Change error message.
6284 (vc-read-backend): New function.
6285 (vc-next-action): Use it.
6287 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
6289 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
6290 (prolog-font-lock-keywords): Use regexp-opt instead.
6291 Don't manually highlight strings.
6292 (prolog-mode-variables): Simplify comment-start-skip.
6293 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
6295 * emacs-lisp/generic.el (generic--normalise-comments)
6296 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
6297 (generic-mode-set-comments): Use them.
6298 (generic-bracket-support): Use setq-local.
6299 (generic-make-keywords-list): Declare obsolete.
6301 2013-06-11 Glenn Morris <rgm@gnu.org>
6303 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
6304 Prettify after setting font-lock-defaults. (Bug#14574)
6306 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
6308 * replace.el (query-replace, occur-read-regexp-defaults-function)
6310 * subr.el (declare-function, number-sequence, local-set-key)
6311 (substitute-key-definition, locate-user-emacs-file)
6312 (with-silent-modifications, split-string, eval-after-load):
6313 Fix typos, remove unneeded backslashes and reflow some docstrings.
6315 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
6317 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
6318 default for Elisp files.
6320 2013-06-11 Glenn Morris <rgm@gnu.org>
6322 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
6323 although define-derived-mode was doing this anyway. (Bug#14583)
6325 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
6327 * allout.el (allout-encryption-plaintext-sanitization-regexps):
6328 Fix make-variable-buffer-local call to refer to the correct variable.
6330 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
6332 * eshell/em-term.el (eshell-visual-commands)
6333 (eshell-visual-subcommands, eshell-visual-options):
6334 Add summary line to docstrings. Add cross-references.
6336 2013-06-10 Glenn Morris <rgm@gnu.org>
6338 * epa.el (epa-read-file-name): New function. (Bug#14510)
6339 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
6341 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6343 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
6344 output redirection to be ignored with visual commands.
6346 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
6348 * eshell/em-term.el (eshell-visual-command-p): New function.
6349 (eshell-term-initialize): Move long lambda to separate function
6350 eshell-visual-command-p.
6351 * eshell/em-dirs.el (eshell-dirs-initialise):
6352 * eshell/em-script.el (eshell-script-initialize):
6353 Add missing #' to lambda.
6355 2013-06-08 Leo Liu <sdl.web@gmail.com>
6357 * progmodes/octave.el (octave-add-log-current-defun): New function.
6358 (octave-mode): Set add-log-current-defun-function.
6359 (octave-goto-function-definition): Do not move point if not found.
6360 (octave-find-definition): Enhance to try subfunctions first.
6362 2013-06-08 Glenn Morris <rgm@gnu.org>
6364 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6365 (byte-compile-backward-char, byte-compile-backward-word):
6366 Improve previous change, to handle non-explicit nil.
6368 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
6370 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
6371 (smie--opener/closer-at-point): New function.
6372 (smie--matching-block-data): Use it. Don't match from right after an
6373 opener or right before a closer. Obey smie-blink-matching-inners.
6374 Don't signal a mismatch for repeated inners like "switch..case..case".
6376 2013-06-07 Leo Liu <sdl.web@gmail.com>
6378 * progmodes/octave.el (octave-mode): Set comment-use-global-state
6380 (octave-function-header-regexp): Fix. (Bug#14570)
6381 (octave-help-mode-finish-hook, octave-help-mode-finish):
6382 Remove. Just use temp-buffer-show-hook.
6384 * newcomment.el (comment-search-backward): Revert last change.
6387 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
6389 2013-06-07 Eli Zaretskii <eliz@gnu.org>
6391 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
6392 through xargs, to avoid failure due to MS-Windows limitations on
6393 command-line length.
6395 2013-06-06 Glenn Morris <rgm@gnu.org>
6397 * font-lock.el (lisp-font-lock-keywords-2):
6398 Treat user-error like error.
6400 * emacs-lisp/bytecomp.el (byte-compile-char-before)
6401 (byte-compile-backward-char, byte-compile-backward-word):
6402 Handle explicit nil arguments. (Bug#14565)
6404 2013-06-05 Alan Mackenzie <acm@muc.de>
6406 * isearch.el (isearch-allow-prefix): New user option.
6407 (isearch-other-meta-char): Don't exit isearch when a prefix
6408 argument is typed whilst `isearch-allow-prefix' is non-nil.
6411 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6413 * autorevert.el (auto-revert-notify-handler): Use memq.
6414 Hide assertion failure.
6416 * skeleton.el: Use cl-lib.
6417 (skeleton-further-elements): Use defvar-local.
6418 (skeleton-insert): Use cl-progv.
6420 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6422 * progmodes/prog-mode.el (prog-prettify-symbols)
6423 (prog-prettify-install): Update docstrings.
6425 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * simple.el: Move all the prog-mode code to prog-mode.el.
6428 * progmodes/prog-mode.el: New file.
6429 * loadup.el: Add prog-mode.el.
6431 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6433 * simple.el (prog-prettify-symbols): Add version.
6434 (prog-prettify-install): Add convenience function to prettify symbols.
6436 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
6437 (perl--augmented-font-lock-keywords-1)
6438 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
6439 variables and use it.
6441 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6442 (cfengine3-mode): Remove unneeded variable and use it.
6444 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6445 (lisp--augmented-font-lock-keywords-1)
6446 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
6447 Remove unneeded variables and use it.
6449 2013-06-05 João Távora <joaotavora@gmail.com>
6451 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
6452 to point when opening the connection. (Bug#14380)
6454 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6456 * subr.el (load-history-regexp, load-history-filename-element)
6457 (eval-after-load, after-load-functions, do-after-load-evaluation)
6458 (eval-next-after-load, display-delayed-warnings)
6459 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
6460 definition of save-match-data.
6461 (overriding-local-map): Remove accidental obsolescence declaration.
6463 * emacs-lisp/edebug.el (edebug-result): Move before first use.
6465 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
6467 Generalize symbol prettify support to prog-mode and implement it
6468 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
6469 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
6470 (prog--prettify-font-lock-compose-symbol)
6471 (prog-prettify-font-lock-symbols-keywords): New variables and
6472 functions to support symbol prettification.
6473 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
6474 (lisp--augmented-font-lock-keywords-1)
6475 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
6476 (lisp--prettify-symbols-alist): Implement prettify of lambda.
6477 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
6478 (cfengine3--prettify-symbols-alist, cfengine3-mode):
6479 Implement prettify of -> => :: strings.
6480 * progmodes/perl-mode.el (perl-prettify-symbols)
6481 (perl--font-lock-compose-symbol)
6482 (perl--font-lock-symbols-keywords): Move to prog-mode.
6483 (perl--prettify-symbols-alist): Prettify -> => :: strings.
6484 (perl-font-lock-keywords-1)
6485 (perl-font-lock-keywords-2): Remove explicit prettify support.
6486 (perl--augmented-font-lock-keywords)
6487 (perl--augmented-font-lock-keywords-1)
6488 (perl--augmented-font-lock-keywords-2, perl-mode):
6489 Implement prettify support.
6491 2013-06-05 Leo Liu <sdl.web@gmail.com>
6493 Re-implement smie matching block highlight using
6494 show-paren-data-function. (Bug#14395)
6495 * emacs-lisp/smie.el (smie-matching-block-highlight)
6496 (smie--highlight-matching-block-overlay)
6497 (smie--highlight-matching-block-lastpos)
6498 (smie-highlight-matching-block)
6499 (smie-highlight-matching-block-mode): Remove.
6500 (smie--matching-block-data-cache): New variable.
6501 (smie--matching-block-data): New function.
6502 (smie-setup): Use smie--matching-block-data for
6503 show-paren-data-function.
6505 * progmodes/octave.el (octave-mode-menu): Fix.
6506 (octave-find-definition): Skip garbage lines.
6508 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
6510 Fix compilation error with simultaneous dynamic+lexical scoping.
6511 Add warning when a defvar appears after the first let-binding.
6512 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
6513 (byte-compile-close-variables): Initialize it.
6514 (byte-compile--declare-var): New function.
6515 (byte-compile-file-form-defvar)
6516 (byte-compile-file-form-define-abbrev-table)
6517 (byte-compile-file-form-custom-declare-variable): Use it.
6518 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
6519 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
6520 (byte-compile-bind): Handle dynamic bindings that shadow
6522 (byte-compile-unbind): Make arg non-optional.
6523 (byte-compile-let): Simplify.
6524 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
6525 (cconv--analyse-function, cconv-analyse-form): Populate it.
6526 Protect byte-compile-bound-variables to limit the scope of defvars.
6527 (cconv-analyse-form): Add missing rule for (defvar <foo>).
6528 Remove unneeded rule for `declare'.
6530 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
6531 so as to avoid depending on cl-adjoin at run-time.
6532 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
6534 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
6535 (macroexp--warn-and-return): Use it.
6537 2013-06-05 Leo Liu <sdl.web@gmail.com>
6539 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
6541 2013-06-04 Leo Liu <sdl.web@gmail.com>
6543 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
6544 (compilation-auto-jump): Suppress the "Mark set" message to give
6545 way to exit message.
6547 2013-06-04 Alan Mackenzie <acm@muc.de>
6549 Remove faulty optimisation from indentation calculation.
6550 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
6551 search limit based on 2000 characters back from indent-point.
6553 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6555 * eshell/em-term.el (cl-lib): Require `cl-lib'.
6557 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
6559 * emacs-lisp/lisp.el: Use lexical-binding.
6560 (lisp--local-variables-1, lisp--local-variables): New functions.
6561 (lisp--local-variables-completion-table): New var.
6562 (lisp-completion-at-point): Use it complete let-bound vars.
6564 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
6565 eagerly (bug#14422).
6567 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
6569 * autorevert.el (auto-revert-notify-enabled)
6570 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
6571 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
6572 (auto-revert-notify-handler): Handle also gfilenotify.
6574 * subr.el (file-notify-handle-event): New defun. Replacing ...
6575 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
6578 2013-06-03 Juri Linkov <juri@jurta.org>
6580 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
6581 `M-s h .'. (Bug#14427)
6583 * hi-lock.el (highlight-symbol-at-point): New alias for the new
6584 command `hi-lock-face-symbol-at-point'.
6585 (hi-lock-face-symbol-at-point): New command.
6586 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
6587 (hi-lock-menu): Add `highlight-symbol-at-point'.
6588 (hi-lock-mode): Doc fix.
6590 * isearch.el (isearch-forward-symbol-at-point): New command.
6591 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
6592 (isearch-highlight-regexp): Add a regexp which matches
6593 words/symbols for word/symbol mode.
6595 * subr.el (find-tag-default-bounds): New function with the body
6596 mostly moved from `find-tag-default'.
6597 (find-tag-default): Move most code to `find-tag-default-bounds',
6598 call it and apply `buffer-substring-no-properties' afterwards.
6600 2013-06-03 Tassilo Horn <tsdh@gnu.org>
6602 * eshell/em-term.el (eshell-term-initialize):
6603 Use `cl-intersection' rather than `intersection'.
6605 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
6607 * vc/log-view.el: Doc fix.
6608 (log-view-mode-map): Copy keymap from `special-mode-map'.
6610 2013-06-02 Eric Ludlam <zappo@gnu.org>
6612 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
6613 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
6614 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
6615 (eieio-unbound, eieio-default-superclass)
6616 (eieio--define-field-accessors, method-static, method-before)
6617 (method-primary, method-after, method-num-lists)
6618 (method-generic-before, method-generic-primary)
6619 (method-generic-after, method-num-slots)
6620 (eieio-specialized-key-to-generic-key)
6621 (eieio--check-type, class-v, class-p)
6622 (eieio-class-name, define-obsolete-function-alias)
6623 (eieio-class-parents-fast, eieio-class-children-fast)
6624 (same-class-fast-p, class-constructor, generic-p)
6625 (generic-primary-only-p, generic-primary-only-one-p)
6626 (class-option-assoc, class-option, eieio-object-p)
6627 (class-abstract-p, class-method-invocation-order)
6628 (eieio-defclass-autoload-map, eieio-defclass-autoload)
6629 (eieio-class-un-autoload, eieio-defclass)
6630 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
6631 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
6632 (eieio--defgeneric-init-form, eieio-defgeneric-form)
6633 (eieio-defgeneric-reset-generic-form)
6634 (eieio-defgeneric-form-primary-only)
6635 (eieio-defgeneric-reset-generic-form-primary-only)
6636 (eieio-defgeneric-form-primary-only-one)
6637 (eieio-defgeneric-reset-generic-form-primary-only-one)
6638 (eieio-unbind-method-implementations)
6639 (eieio--defmethod, eieio--typep)
6640 (eieio-perform-slot-validation, eieio-validate-slot-value)
6641 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
6642 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
6643 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
6644 (eieio-slot-name-index, eieio-class-slot-name-index)
6645 (eieio-set-defaults, eieio-initarg-to-attribute)
6646 (eieio-attribute-to-initarg, eieio-c3-candidate)
6647 (eieio-c3-merge-lists, eieio-class-precedence-c3)
6648 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
6649 (eieio-class-precedence-list, eieio-generic-call-methodname)
6650 (eieio-generic-call-arglst, eieio-generic-call-key)
6651 (eieio-generic-call-next-method-list)
6652 (eieio-pre-method-execution-functions, eieio-generic-call)
6653 (eieio-generic-call-primary-only, eieiomt-method-list)
6654 (eieiomt-optimizing-obarray, eieiomt-install)
6655 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
6656 (eieio-generic-form, eieio-defmethod, make-obsolete)
6657 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
6658 (defclass): Remove `eval-and-compile' from macro.
6659 (call-next-method, shared-initialize): Instead of using
6660 `scoped-class' variable, use new eieio--scoped-class, and
6661 eieio--with-scoped-class.
6662 (initialize-instance): Rename local variable 'scoped-class' to
6663 'this-class' to remove ambiguitity from old global.
6665 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
6667 (eieio--scoped-class-stack): New variable.
6668 (eieio--scoped-class): New fcn.
6669 (eieio--with-scoped-class): New scoping macro.
6670 (eieio-defclass): Use pushnew instead of add-to-list.
6671 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6672 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6673 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6674 `scoped-class' variable, use new eieio--scoped-class, and
6675 eieio--with-scoped-class.
6677 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6679 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6681 * eshell/esh-ext.el (eshell-external-command): Pass args to
6682 `eshell-find-interpreter'.
6683 (eshell-find-interpreter): Add new second parameter ARGS.
6685 * eshell/em-script.el (eshell-script-initialize): Add second arg
6686 to the function added as MATCH to `eshell-interpreter-alist'.
6688 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6689 the function added as MATCH to `eshell-interpreter-alist'.
6691 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6692 (eshell-visual-options): New defcustom.
6693 (eshell-escape-control-x): Adapt docstring.
6694 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6695 `eshell-visual-options' in addition to `eshell-visual-commands'.
6696 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6698 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6700 * progmodes/python.el (python-indent-block-enders): Add break,
6701 continue and raise keywords.
6703 2013-06-01 Glenn Morris <rgm@gnu.org>
6705 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6707 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6708 * progmodes/cc-cmds.el (delete-forward-p):
6709 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6710 * progmodes/cc-engine.el (buffer-syntactic-context):
6711 * progmodes/cc-fonts.el (face-property-instance):
6712 * progmodes/cc-mode.el (set-keymap-parents):
6713 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6714 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6715 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6716 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6717 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6719 * progmodes/cc-vars.el (other): Emacs has this widget since
6720 at least 21.1, so don't (re)define it.
6722 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6723 Replace the obsolete alias pcomplete-arg-quote-list.
6725 2013-06-01 Leo Liu <sdl.web@gmail.com>
6727 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6729 (inferior-octave-minimal-columns)
6730 (inferior-octave-last-column-width): New variables.
6731 (inferior-octave-track-window-width-change): New function.
6732 (inferior-octave-mode): Adjust column width so that Octave output,
6733 for example from 'ls', can fit into the window nicely.
6735 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6737 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6738 Highlight expansions inside regexp literals.
6740 2013-05-31 Glenn Morris <rgm@gnu.org>
6742 * obsolete/sym-comp.el (symbol-complete):
6743 Replace obsolete completion-annotate-function.
6745 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6747 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6749 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6750 New function, checks if point is inside a literal that allows
6751 expression expansion.
6752 (ruby-syntax-propertize-expansion): Use it.
6753 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6756 2013-05-30 Juri Linkov <juri@jurta.org>
6758 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6760 (isearch-invisible): New variable.
6761 (isearch-forward): Doc fix.
6762 (isearch-mode): Set `isearch-invisible'
6763 to the value of `search-invisible'.
6764 (isearch-toggle-case-fold): Doc fix.
6765 (isearch-toggle-invisible): New command.
6766 (isearch-query-replace): Let-bind `search-invisible'
6767 to the value of `isearch-invisible'.
6768 (isearch-search): Use `isearch-invisible' instead of
6769 `search-invisible'. Let-bind `search-invisible'
6770 to the value of `isearch-invisible'. (Bug#11378)
6772 2013-05-30 Juri Linkov <juri@jurta.org>
6774 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6775 call when `query-flag' is nil and `search-invisible' is non-nil.
6778 2013-05-30 Glenn Morris <rgm@gnu.org>
6780 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6782 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6783 (cc-require): Suppress spurious "noruntime" warnings.
6784 (cc-require-when-compile): Use fboundp, for sake of compiler.
6786 * progmodes/cc-mode.el: Move load of cc-vars before that of
6787 cc-langs (which in turn loads cc-vars), to quieten compiler.
6789 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6791 * paren.el: Simplify the code.
6792 (show-paren-mode): Always start the timer.
6793 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6794 (show-paren--overlay, show-paren--overlay-1): Rename from
6795 show-paren-overlay and show-paren-overlay-1, and initialize to an
6796 overlay rather than to nil.
6797 (show-paren-function): Misc cleanup and simplifications.
6799 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6801 * paren.el (show-paren-data-function): New hook.
6802 (show-paren--default): New function, extracted from show-paren-function.
6803 (show-paren-function): Use show-paren-data-function.
6805 2013-05-30 Glenn Morris <rgm@gnu.org>
6807 * ielm.el (ielm-map, ielm-complete-symbol):
6808 Use completion-at-point rather than obsolete functions.
6809 (inferior-emacs-lisp-mode): Doc fix.
6810 Set completion-at-point-functions, rather than
6811 comint-dynamic-complete-functions.
6813 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6814 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6815 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6817 * image.el (image-animated-p): Tweak definition.
6819 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6820 (rlogin-process-connection-type): Tweak default. Add set-after.
6821 (rlogin-host): Doc fix.
6822 (rlogin): Tweak prompt.
6823 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6825 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6826 * progmodes/tcl.el (inferior-tcl-mode-map):
6827 Use completion-at-point rather than obsolete alias.
6829 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6831 * minibuffer.el (read-file-name-completion-ignore-case):
6832 Move before completion--in-region, for eager macro expansion.
6834 2013-05-29 Juri Linkov <juri@jurta.org>
6836 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6837 for total count of matching lines. Add `global-matches' for total
6838 count of matches. Rename `matches' to `lines' for count of
6839 matching lines. Add `matches' for count of matches.
6840 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6841 to `prev-line' for line number of prev match endpt.
6842 Increment `matches' for every match. Print the number of
6843 matching lines in the header.
6844 (occur-context-lines): Rename `lines' to `curr-line'.
6845 Rename `prev-lines' to `prev-line'. (Bug#14017)
6847 2013-05-29 Juri Linkov <juri@jurta.org>
6849 * replace.el (perform-replace): Add `skip-read-only-count',
6850 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6851 Increment them for corresponding conditions and report the number
6852 of skipped occurrences in the final message. (Bug#11746)
6853 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6854 (replace-string, replace-regexp): Doc fix.
6856 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6858 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6860 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6861 prog-mode-map (bug#14504).
6863 2013-05-29 Leo Liu <sdl.web@gmail.com>
6865 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6866 (octave-help): Small simplification.
6868 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6869 off the highlight first.
6871 2013-05-29 Glenn Morris <rgm@gnu.org>
6873 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6874 Handle idlwave-last-system-routine-info-cons-cell being nil.
6876 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6877 (idlwave-write-paths): Simplify via with-temp-buffer.
6879 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6880 * emulation/cua-rect.el: Also load cua-base at run time.
6882 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6883 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6884 (cperl-imenu-on-info): Require imenu.
6886 2013-05-28 Alan Mackenzie <acm@muc.de>
6888 Handle "capitalised keywords" correctly.
6889 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6891 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6893 * eshell/em-unix.el: Add -r option to cp.
6895 2013-05-28 Glenn Morris <rgm@gnu.org>
6897 * vc/vc-arch.el (vc-exec-after): Declare.
6898 (vc-switches): Autoload.
6899 * vc/vc-bzr.el: No need to require vc when compiling.
6900 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6901 (vc-resynch-buffer, vc-dir-refresh): Declare.
6902 (vc-setup-buffer, vc-switches): Autoload.
6903 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6904 (vc-resynch-buffer): Declare.
6905 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6906 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6907 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6908 (grep-read-regexp, grep-read-files, grep-expand-template)
6909 (vc-dir-refresh): Declare.
6910 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6911 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6912 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6913 * vc/vc-mtn.el (vc-exec-after): Declare.
6914 (vc-switches): Autoload.
6915 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6916 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6917 (vc-file-tree-walk): Declare.
6918 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6919 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6920 (vc-tag-precondition, vc-rename-master): Autoload.
6921 * vc/vc-svn.el (vc-exec-after): Declare.
6922 (vc-switches, vc-setup-buffer): Autoload.
6923 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6925 (vc-resynch-buffer): Declare.
6927 * obsolete/fast-lock.el (byte-compile-warnings):
6928 Don't warn about obsolete features in this obsolete file.
6930 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6931 Move definition before use.
6933 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6934 (dun-unix-verbs): Remove dun-zippy.
6935 (dun-zippy): Remove function.
6937 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6939 2013-05-27 Juri Linkov <juri@jurta.org>
6941 * replace.el (replace-search): New function with code moved out
6942 from `perform-replace'.
6943 (replace-highlight, replace-dehighlight): Move function definitions
6944 up closer to `replace-search'. (Bug#11746)
6946 2013-05-27 Juri Linkov <juri@jurta.org>
6948 * replace.el (perform-replace): Ignore invisible matches.
6949 In addition to checking `query-replace-skip-read-only', also
6950 filter out matches by calling `run-hook-with-args-until-failure'
6951 on `isearch-filter-predicates', and also check `search-invisible'
6952 for t or call `isearch-range-invisible'.
6953 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6955 2013-05-27 Juri Linkov <juri@jurta.org>
6957 * isearch.el (isearch-filter-predicates): Rename from
6958 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6959 (isearch-message-prefix): Display text from the property
6960 `isearch-message-prefix' of the currently active filters.
6961 (isearch-search): Don't compare `isearch-filter-predicate' with
6962 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6963 on `isearch-filter-predicates'. Also check `search-invisible' for t
6964 or call `isearch-range-invisible'.
6965 (isearch-filter-visible): Make obsolete.
6966 (isearch-lazy-highlight-search):
6967 Call `run-hook-with-args-until-failure' on
6968 `isearch-filter-predicates' and use `isearch-range-invisible'.
6970 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6971 `isearch-filter-predicates' instead of `funcall'ing
6972 `isearch-filter-predicate'.
6973 (Info-mode): Set `Info-isearch-filter' to
6974 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6976 * dired-aux.el (dired-isearch-filter-predicate-orig):
6978 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6979 (dired-isearch-filenames-end): Add and remove
6980 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6981 instead of changing the value of `isearch-filter-predicate'.
6982 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6983 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6984 Put property `isearch-message-prefix' to "filename " on
6985 `dired-isearch-filter-filenames'.
6987 * wdired.el (wdired-change-to-wdired-mode):
6988 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6989 locally instead of changing `isearch-filter-predicate'.
6990 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6992 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6994 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6995 return the commit hash (Bug#14459). Also set the
6996 `vc-git-detached' property.
6997 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6998 (vc-git-mode-line-string): Use the same help-echo format whether
6999 in detached mode or not, because we know the actual revision now.
7000 When in detached mode, shorten the revision to 7 chars.
7002 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7004 * emacs-lisp/easy-mmode.el (define-minor-mode):
7005 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
7006 mode hook and provide a docstring.
7008 2013-05-27 Alan Mackenzie <acm@muc.de>
7010 Remove spurious syntax-table text properties inserted by C-y.
7011 * progmodes/cc-mode.el (c-after-change): Also clear hard
7012 syntax-table property with value nil.
7014 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
7016 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
7017 when reading the events; the buffer layout shall not be changed.
7019 2013-05-27 Leo Liu <sdl.web@gmail.com>
7021 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
7023 (inferior-octave-directory-tracker): Automatically re-sync
7025 (octave-help): Improve handling of 'See also'.
7027 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * doc-view.el: Minor naming convention tweaks.
7030 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
7032 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
7033 even if there's no `display' property yet (bug#14435).
7035 2013-05-25 Eli Zaretskii <eliz@gnu.org>
7037 * subr.el (unmsys--file-name): Rename from reveal-filename.
7039 * Makefile.in (custom-deps, finder-data, autoloads)
7040 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7041 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7042 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
7044 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7046 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
7047 error-completion on the first 2 args of condition-case (bug#14446).
7050 2013-05-25 Leo Liu <sdl.web@gmail.com>
7052 * comint.el (comint-previous-matching-input): Do not flood the
7053 *Messages* buffer with trivial messages.
7055 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
7057 * progmodes/flymake.el (flymake-nop): Don't return a string.
7058 (flymake-set-at): Fix typo.
7060 * simple.el (read--expression): New function, extracted from
7061 eval-expression. Set completion-at-point-functions (bug#14465).
7062 (eval-expression, eval-minibuffer): Use it.
7064 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
7066 * progmodes/flymake.el (flymake-save-buffer-in-file)
7067 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
7068 (flymake-selected-frame, flymake-log, flymake-ins-after)
7069 (flymake-set-at, flymake-get-buildfile-from-cache)
7070 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
7071 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
7072 Refine the doc string.
7073 (flymake-get-file-name-mode-and-masks): Reformat.
7074 (flymake-get-real-file-name-function): Fix a minor bug.
7076 2013-05-24 Juri Linkov <juri@jurta.org>
7078 * progmodes/grep.el (grep-mode-font-lock-keywords):
7079 Support =linenumber= format used by git-grep for lines with
7080 function names. (Bug#13549)
7082 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7084 * progmodes/octave.el (octave-smie-rules): Return nil rather than
7085 0 after a semi-colon; it works better for smie-auto-fill.
7086 (octave--indent-new-comment-line): New function.
7087 (octave-indent-new-comment-line): Use it (indirectly).
7088 (octave-mode): Don't disable smie-auto-fill. Use add-function to
7089 modify comment-line-break-function.
7091 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
7092 (smie-setup): Use add-function to set it.
7094 2013-05-24 Sam Steingold <sds@gnu.org>
7096 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
7097 argument (before the `interactive' argument).
7099 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
7101 * image-mode.el (image-mode-winprops): Add winprops to
7102 image-mode-winprops-alist before running
7103 image-mode-new-window-functions.
7104 * doc-view.el (doc-view-new-window-function): Don't delay
7105 doc-view-goto-page via timers (bug#14435).
7107 2013-05-24 Tassilo Horn <tsdh@gnu.org>
7109 * doc-view.el: Integrate with desktop.el. (Bug#14435)
7110 (doc-view-desktop-save-buffer): New function.
7111 (doc-view-restore-desktop-buffer): New function.
7112 (desktop-buffer-mode-handlers):
7113 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
7115 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
7116 `desktop-save-buffer' function.
7118 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
7120 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
7121 (tramp-gvfs-file-name-handler): Raise a user error when
7122 `tramp-gvfs-enabled' is nil.
7123 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
7124 Do not raise a user error when loading package. (Bug#14447)
7126 * net/xesam.el: Move to obsolete/.
7128 2013-05-24 Glenn Morris <rgm@gnu.org>
7130 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
7132 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
7134 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
7135 (Info-find-node, Man-getpage-in-background): Declare.
7137 * mail/unrmail.el (unrmail):
7138 Replace obsolete detect-coding-with-priority.
7140 * net/socks.el (socks-split-string): Use this rather than split-string.
7141 (socks-nslookup-host): Update for above change.
7142 (dynamic-choice, s5-dynamic-choice-match)
7143 (s5-dynamic-choice-match-inline, s5-widget-value-create):
7144 Comment out unused code.
7146 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
7147 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
7148 (gud-tooltip-echo-area): Make obsolete.
7149 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
7151 * progmodes/js.el (js--optimize-arglist): Declare.
7153 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
7155 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
7156 (ediff-window-C): Declare.
7158 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
7159 Tweak requires to silence compiler.
7161 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
7162 (he-search-string, he-tried-table, he-expand-list)
7163 (he-init-string, he-string-member, he-substitute-string)
7164 (he-reset-string): Declare.
7166 * obsolete/options.el (list-options): Use custom-variable-p,
7167 rather than obsolete alias.
7169 2013-05-23 Sam Steingold <sds@gnu.org>
7171 * simple.el (shell-command-on-region): Pass the `replace' argument
7172 down to `call-process-region' to comply with the doc as reported on
7173 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
7175 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
7177 * emacs-lisp/smie.el (smie-indent-forward-token)
7178 (smie-indent-backward-token): Handle string tokens (bug#14381).
7180 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7182 * ielm.el (ielm-menu): New menu.
7183 (inferior-emacs-lisp-mode): Set comment-start.
7185 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7187 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
7188 Fix deactivate action.
7190 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
7191 Add cleveref macros.
7193 * lisp/textmodes/reftex-parse.el
7194 (reftex-locate-bibliography-files): Accept options for
7195 bibliography commands.
7196 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
7197 Add addbibresource. Basic Biblatex support.
7199 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
7201 * net/tramp-gvfs.el (top):
7202 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
7203 when loading package. (Bug#14447)
7205 2013-05-23 Glenn Morris <rgm@gnu.org>
7207 * progmodes/js.el: No need to load comint when compiling.
7208 (ring-insert, comint-send-string, comint-send-input)
7209 (comint-last-input-end, ido-chop): Declare.
7211 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
7212 * vc/ediff-mult.el: Adjust requires.
7213 (ediff-directories-internal, ediff-directory-revisions-internal)
7214 (ediff-patch-file-internal): Declare.
7215 * vc/ediff-ptch.el: Adjust requires.
7216 (ediff-use-last-dir, ediff-buffers-internal): Declare.
7217 (ediff-find-file): Autoload.
7218 * vc/ediff-util.el: No need to load ediff when compiling.
7219 (ediff-regions-internal): Declare.
7220 * vc/ediff-wind.el: Adjust requires.
7221 (ediff-compute-toolbar-width): Define when compiling.
7222 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
7223 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
7224 (dired-get-filename, dired-get-marked-files)
7225 (ediff-last-dir-patch, ediff-patch-default-directory)
7226 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
7227 (ediff-patch-buffer-internal): Declare.
7229 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
7230 (ispell-process, ispell-buffer-local-words, lm-summary)
7231 (lm-section-start, lm-section-end): Declare.
7232 (checkdoc-ispell-init): Simplify.
7234 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
7235 (he-string-member, he-reset-string, he-substitute-string): Declare.
7237 * eshell/em-ls.el: Adjust requires.
7238 (eshell-glob-regexp): Declare.
7239 * eshell/em-tramp.el: Adjust requires.
7240 (eshell-parse-command): Autoload.
7241 * eshell/em-xtra.el: Adjust requires.
7242 (eshell-parse-command): Autoload.
7243 * eshell/esh-ext.el: Adjust requires.
7244 (eshell-parse-command, eshell-close-handles): Autoload.
7245 * eshell/esh-io.el: Adjust requires.
7246 (eshell-output-filter): Autoload.
7247 * eshell/esh-util.el: No need to load tramp when compiling.
7248 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
7250 (eshell-parse-ange-ls): Require ange-ftp and tramp.
7251 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
7252 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
7253 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
7254 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
7255 * eshell/esh-opt.el, eshell/esh-proc.el:
7256 * eshell/esh-var.el: Adjust requires.
7257 * eshell/eshell.el: Do not require esh-util twice.
7258 (eshell-add-input-to-history): Declare.
7259 (eshell-command): Check history module is active before using it.
7261 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
7263 2013-05-22 Leo Liu <sdl.web@gmail.com>
7265 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
7267 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
7269 * autorevert.el (auto-revert-notify-add-watch)
7270 (auto-revert-notify-handler): Add `attrib' for the inotify case,
7271 it indicates changes in file modification time.
7273 2013-05-22 Glenn Morris <rgm@gnu.org>
7275 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
7276 Always delete the autoloaded function from the noruntime and
7277 unresolved functions lists.
7279 * allout.el: No need to load epa, epg, overlay when compiling.
7280 (epg-context-set-passphrase-callback, epg-list-keys)
7281 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
7282 (epg-key-user-id-list): Declare.
7284 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
7285 (viper-set-parsing-style-toggling-macro)
7286 (viper-set-emacs-state-searchstyle-macros):
7287 Use called-interactively-p on Emacs.
7288 (viper-looking-back): Make it an obsolete alias. Update callers.
7289 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
7290 Use looking-back rather than viper-looking-back.
7291 (viper-tmp-insert-at-eob, viper-enlarge-region)
7292 (viper-read-string-with-history, viper-register-to-point)
7293 (viper-append-to-register, viper-change-state-to-vi)
7294 (viper-backward-char-carefully, viper-forward-char-carefully)
7295 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
7296 (viper-change-state-to-emacs): Declare.
7297 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
7298 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
7299 * emulation/viper-mous.el: Do not load viper-cmd.
7300 (viper-backward-char-carefully, viper-forward-char-carefully)
7301 (viper-forward-word, viper-adjust-window): Declare.
7303 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
7305 * progmodes/idlw-help.el (idlwave-help-fontify):
7306 Use called-interactively-p.
7308 * term/w32console.el (w32-get-console-codepage)
7309 (w32-get-console-output-codepage): Declare.
7311 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
7312 Remove unnecessary declarations.
7313 (dframe-message): Doc fix.
7315 * info.el (dframe-select-attached-frame, dframe-current-frame):
7318 * speedbar.el (speedbar-message): Make it an obsolete alias.
7320 (speedbar-with-attached-buffer)
7321 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
7322 (speedbar-with-writable): Use backquote.
7323 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
7324 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
7325 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
7326 rather than speedbar- aliases.
7327 * mail/rmail.el: Load dframe rather than speedbar when compiling.
7328 (speedbar-make-specialized-keymap, speedbar-insert-button)
7329 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
7330 (speedbar-do-function-pointer): Declare.
7331 (rmail-speedbar-button, rmail-speedbar-find-file)
7332 (rmail-speedbar-move-message):
7333 Use dframe-with-attached-buffer rather than speedbar- alias.
7334 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
7335 (dframe-message, speedbar-make-specialized-keymap)
7336 (speedbar-add-expansion-list, speedbar-mode-functions-list)
7337 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
7338 (speedbar-insert-button, dframe-select-attached-frame)
7339 (dframe-maybee-jump-to-attached-frame)
7340 (speedbar-change-initial-expansion-list)
7341 (speedbar-previously-used-expansion-list-name): Declare.
7342 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
7343 Use dframe-message, dframe-with-attached-buffer rather than
7345 (gud-sentinel): Silence compiler.
7346 * progmodes/vhdl-mode.el (speedbar-refresh)
7347 (speedbar-do-function-pointer, speedbar-add-supported-extension)
7348 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
7349 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
7350 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
7351 (speedbar-file-lists, speedbar-make-tag-line)
7352 (speedbar-line-directory, speedbar-goto-this-file)
7353 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
7354 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
7355 (speedbar-make-button, speedbar-reset-scanners)
7356 (speedbar-files-item-info, speedbar-line-text)
7357 (speedbar-find-file-in-frame, speedbar-set-timer)
7358 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
7359 (speedbar-with-writable): Do not (re)define it.
7360 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
7361 rather than speedbar- alias.
7363 2013-05-21 Leo Liu <sdl.web@gmail.com>
7365 * progmodes/octave.el (octave-mode-menu): Update and re-organize
7367 (octave-mode): Tweak fill-nobreak-predicate.
7368 (inferior-octave-startup): Check process to avoid infinite loop.
7369 (inferior-octave): Pop to buffer first to show abornmal process
7372 2013-05-21 Glenn Morris <rgm@gnu.org>
7374 * printing.el (pr-menu-bar): Define when compiling.
7376 2013-05-21 Leo Liu <sdl.web@gmail.com>
7378 * progmodes/octave.el (octave-auto-fill): Remove.
7379 (octave-indent-new-comment-line): Improve.
7380 (octave-mode): Use auto fill mode through
7381 comment-line-break-function and fill-nobreak-predicate.
7382 (octave-goto-function-definition): Support DEFUN_DLD.
7383 (octave-beginning-of-defun): Small tweak.
7384 (octave-help): Show parent directory.
7386 2013-05-21 Glenn Morris <rgm@gnu.org>
7388 * files.el (dired-unmark):
7389 * progmodes/gud.el (gdb-input): Update declarations.
7391 * calculator.el (electric, ehelp): No need to load when compiling.
7392 (Electric-command-loop, electric-describe-mode): Declare.
7394 * doc-view.el (doc-view-current-converter-processes): Move before use.
7396 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
7397 Move MODE-set-explicitly definition before use.
7399 * international/mule-diag.el (mule-diag):
7400 Don't use obsolete window-system-version.
7402 * mail/feedmail.el (smtpmail): No need to load when compiling.
7403 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
7405 * mail/mail-utils.el (rfc822): No need to load when compiling.
7406 (rfc822-addresses): Autoload it.
7407 (mail-strip-quoted-names): Trivial simplification.
7409 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
7410 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
7412 * net/snmp-mode.el (tempo): Don't duplicate requires.
7414 * progmodes/prolog.el (info): No need to load when compiling.
7415 (comint): Require before shell requires it.
7416 (Info-goto-node): Autoload it.
7417 (Info-follow-nearest-node): Declare.
7418 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
7420 * textmodes/artist.el (picture-mode-exit): Declare.
7422 * textmodes/reftex-parse.el (reftex-parse-from-file):
7423 Trivial rewrite so the compiler can parse it better.
7425 2013-05-20 Leo Liu <sdl.web@gmail.com>
7427 * progmodes/octave.el (octave-help-mode-map)
7428 (octave-help-mode-finish-hook): New variables.
7429 (octave-help-mode, octave-help-mode-finish): New functions.
7430 (octave-help): Use octave-help-mode.
7432 2013-05-20 Glenn Morris <rgm@gnu.org>
7434 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
7436 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
7438 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
7439 start at point, so that expansion starting right after opening
7440 slash in a regexp is recognized.
7441 (ruby-syntax-before-regexp-re): New defvar, extracted from
7442 ruby-syntax-propertize-function. Since the value of this regexp
7443 is looked up at runtime now, we should be able to turn
7444 `ruby-syntax-methods-before-regexp' into a defcustom later.
7445 (ruby-syntax-propertize-function): Split regexp matching into two
7446 parts, for opening and closing slashes. That allows us to skip
7447 over string interpolations and support multiline regexps.
7448 Don't call `ruby-syntax-propertize-expansions', instead use another rule
7449 for them, which calls `ruby-syntax-propertize-expansion'.
7450 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
7451 call to `ruby-syntax-propertize-function'.
7452 (ruby-syntax-propertize-expansion): Extracted from
7453 `ruby-syntax-propertize-expansions'. Handles one expansion.
7454 (ruby-syntax-propertize-percent-literal): Leave point right after
7455 the percent symbol, so that the expression expansion rule can
7456 propertize the contents.
7457 (ruby-syntax-propertize-heredoc): Leave point at bol following the
7459 (ruby-syntax-propertize-expansions): Remove.
7461 2013-05-18 Juri Linkov <juri@jurta.org>
7463 * man.el (Man-default-man-entry): Remove `-' from the end
7464 of the default value. (Bug#14400)
7466 2013-05-18 Glenn Morris <rgm@gnu.org>
7468 * comint.el (comint-password-prompt-regexp):
7469 Allow "password for XXX" where XXX contains colons (eg https://...).
7471 2013-05-18 Leo Liu <sdl.web@gmail.com>
7473 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
7474 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
7475 (octave-source-directories): Don't check process.
7476 (octave-source-directories, octave-find-definition): Doc fix.
7478 2013-05-18 Glenn Morris <rgm@gnu.org>
7480 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
7481 Remove backspace/delete bindings. (Bug#14392)
7483 * cus-dep.el (custom-make-dependencies): Sort the output.
7484 (custom-versions-load-alist): Convert comment to doc.
7486 2013-05-17 Leo Liu <sdl.web@gmail.com>
7488 * newcomment.el (comment-search-backward): Stricter in finding
7489 comment start. (Bug#14303)
7491 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
7492 (octave-comment-start-skip): Properly anchored.
7494 2013-05-17 Leo Liu <sdl.web@gmail.com>
7496 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
7497 Clean up when turned off. (Bug#14395)
7498 (smie--highlight-matching-block-overlay): No longer buffer-local.
7499 (smie-highlight-matching-block): Adjust.
7501 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
7503 Doc string fix for "nanoseconds" (Bug#14406).
7504 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
7505 Fix doc string typo that had "nanoseconds" instead of "microseconds".
7507 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
7509 * calc/calc-units.el (math-extract-units): Preserve powers
7512 2013-05-17 Leo Liu <sdl.web@gmail.com>
7514 * subr.el (delete-consecutive-dups): New function.
7515 * ido.el (ido-set-matches-1): Use it.
7516 * progmodes/octave.el (inferior-octave-completion-table): Use it.
7517 * ido.el (ido-remove-consecutive-dups): Remove.
7519 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
7521 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
7522 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
7523 regexp-opt's `words'.
7525 2013-05-16 Leo Liu <sdl.web@gmail.com>
7527 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
7528 (smie--highlight-matching-block-overlay)
7529 (smie--highlight-matching-block-lastpos)
7530 (smie--highlight-matching-block-timer): New variables.
7531 (smie-highlight-matching-block): New function.
7532 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
7533 (smie-setup): Conditionally enable smie-blink-matching-open.
7535 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
7537 Sync with upstream verilog-mode r840.
7538 * progmodes/verilog-mode.el (verilog-mode-version)
7539 (verilog-mode-release-date): Update.
7540 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
7541 (verilog-sig-tieoff): Fix string error on
7542 AUTORESET with colon define, bug594. Reported by Andrew Hou.
7543 (verilog-read-decls): Fix parameters confusing
7544 AUTOINST interfaces, bug565. Reported by Leith Johnson.
7546 2013-05-16 Eli Zaretskii <eliz@gnu.org>
7548 * subr.el (reveal-filename): New function.
7550 * loadup.el: Compute Emacs executable versions on MS-Windows,
7551 where executables have the .exe extension. Add a hard link
7552 emacs-XX.YY.ZZ.exe on MS-Windows.
7554 * Makefile.in (XARGS_LIMIT): New variable.
7555 (custom-deps, finder-data, autoloads)
7556 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
7557 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
7558 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
7559 (compile-main): Limit xargs according to $(XARGS_LIMIT).
7561 2013-05-16 Leo Liu <sdl.web@gmail.com>
7563 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
7564 (octave-mode-menu, octave-mode-map): Remove its uses.
7566 2013-05-16 Reto Zimmermann <reto@gnu.org>
7568 Sync with upstream vhdl mode v3.34.2.
7569 * progmodes/vhdl-mode.el: Use `push' throughout.
7570 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
7571 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
7572 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
7573 (vhdl-actual-generic-name): New option to derive actual generic name.
7574 (vhdl-port-paste-signals): Replace formal by actual generics.
7575 (vhdl-beautify): New name for old group vhdl-align. Update users.
7576 (vhdl-beautify-options): New option.
7577 (vhdl-last-input-event): New compat alias. Use throughout.
7578 (vhdl-goto-line): Replace user level function `goto-line'.
7579 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
7580 vhdl-fix-statement-buffer.
7581 (vhdl-create-mode-menu): Add some entries.
7582 (vhdl-align-region-groups): Respect vhdl-beautify-options.
7583 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
7584 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
7585 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
7586 to force statements on one line.
7587 (vhdl-remove-trailing-spaces-region):
7588 New, split from vhdl-remove-trailing-spaces.
7589 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
7590 Respect vhdl-beautify-options.
7591 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
7592 (vhdl-update-sensitivity-list): Not add with index if exists without.
7593 Not include array index with signal. Ignore keywords in comments.
7594 (vhdl-get-visible-signals): Regexp tweaks.
7595 (vhdl-template-component-inst): Handle empty library.
7596 (vhdl-template-type): Add template for 'enum' type.
7597 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
7598 Use vhdl-replace-string.
7599 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
7600 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
7601 (vhdl-speedbar-initialize): Update for above name change.
7602 (vhdl-compose-wire-components): Fix in handling of constants.
7603 (vhdl-error-regexp-emacs-alist): New variable.
7604 (vhdl-error-regexp-add-emacs): New function;
7605 adds support for new compile.el (Emacs 22+)
7606 (vhdl-generate-makefile-1): Change target order for single lib. units.
7607 Allow use of absolute file names.
7609 2013-05-16 Leo Liu <sdl.web@gmail.com>
7611 * simple.el (prog-indent-sexp): Indent enclosing defun.
7613 2013-05-15 Glenn Morris <rgm@gnu.org>
7615 * cus-start.el (show-trailing-whitespace): Move to editing basics.
7616 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
7617 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
7618 (whitespace-highlight): Move to whitespace group.
7620 * comint.el (comint-source):
7621 * pcmpl-linux.el (pcmpl-linux):
7622 * shell.el (shell-faces):
7623 * eshell/esh-opt.el (eshell-opt):
7624 * international/ccl.el (ccl): Remove empty custom groups.
7626 * completion.el (dynamic-completion-mode):
7627 * jit-lock.el (jit-lock-debug-mode):
7628 * minibuffer.el (completion-in-region-mode):
7629 * type-break.el (type-break-mode-line-message-mode)
7630 (type-break-query-mode):
7631 * emulation/tpu-edt.el (tpu-edt-mode):
7632 * progmodes/subword.el (global-subword-mode, global-superword-mode):
7633 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
7634 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
7636 * term/xterm.el (xterm): Change parent group to terminals.
7638 * master.el (master): Remove empty custom group.
7639 (master-mode): Remove unused :group argument.
7640 * textmodes/refill.el (refill): Remove empty custom group.
7641 (refill-mode): Remove unused :group argument.
7643 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
7645 * cus-dep.el: Provide a feature.
7646 (custom-make-dependencies): Ignore dotfiles (dir-locals).
7647 Don't mistakenly ignore files whose basenames match a basename
7648 from preloaded-file-list (eg cedet/ede/simple.el).
7649 Add a fallback method for getting :group.
7651 2013-05-15 Juri Linkov <juri@jurta.org>
7653 * isearch.el (isearch-char-by-name): Rename from
7654 `isearch-insert-char-by-name'. Doc fix.
7655 (isearch-forward): Mention `isearch-char-by-name' in
7656 the docstring. (Bug#13348)
7658 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
7659 `exit-minibuffer' instead of
7660 `isearch-nonincremental-exit-minibuffer'.
7661 (isearch-edit-string): Remove mention of
7662 `isearch-nonincremental-exit-minibuffer' from docstring.
7663 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
7664 (isearch-forward-exit-minibuffer)
7665 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
7667 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7669 * loadup.el: Just use unversioned DOC.
7671 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7672 literals as extending to EOB.
7673 (nxml-last-fontify-end): Remove unused variable.
7674 (nxml-after-change1): Use with-silent-modifications.
7675 (nxml-extend-after-change-region): Simplify.
7676 (nxml-extend-after-change-region1): Remove function.
7677 (nxml-after-change1): Don't adjust for dependent regions.
7678 (nxml-fontify-matcher): Simplify.
7679 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7680 (xmltok-add-dependent): Remove function.
7681 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7682 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7683 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7684 unclosed <[[, <?, comment, and other literals as extending to EOB.
7685 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7686 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7688 (rng-do-some-validation-1): Don't mark dependent regions.
7689 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7690 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7691 (nxml-clear-dependent-regions): Remove functions.
7692 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7693 (nxml-ensure-scan-up-to-date):
7694 Don't clear&mark dependent regions.
7696 2013-05-15 Leo Liu <sdl.web@gmail.com>
7698 * progmodes/octave.el (octave-goto-function-definition):
7699 Improve and fix callers.
7701 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7703 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7704 the setter (bug#14387).
7706 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7707 surrounding group (bug#14402).
7709 2013-05-14 Juri Linkov <juri@jurta.org>
7711 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7714 2013-05-14 Glenn Morris <rgm@gnu.org>
7716 * progmodes/f90.el (f90-imenu-generic-expression):
7717 Fix typo in 2013-05-08 change. (Bug#14402)
7719 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7721 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7722 Remove signals for which replies are never received.
7724 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7726 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7727 (gdb-handler-alist, gdb-handler-number): Remove variables.
7728 (gdb-handler-list): New variable.
7729 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7730 (gdb-pending-handler-p, gdb-handle-reply)
7731 (gdb-remove-all-pending-triggers): New functions.
7732 (gdb-discard-unordered-replies): New defcustom.
7733 (gdb-handler): New defstruct.
7734 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7735 instead of gdb-pending-triggers. Update docstring.
7736 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7737 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7738 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7739 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7740 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7741 (gdb-frame-handler): Pending triggers are now automatically managed.
7742 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7744 (gdb-input): Automatically handles pending triggers. Update docstring.
7745 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7746 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7748 (gdb-done-or-error): Now use gdb-handle-reply.
7750 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7752 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7755 2013-05-14 Glenn Morris <rgm@gnu.org>
7757 * subr.el (user-emacs-directory-warning): New option.
7758 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7760 2013-05-14 Leo Liu <sdl.web@gmail.com>
7762 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7764 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7765 (octave-font-lock-texinfo-comment): Fix invalid search bound
7766 error: wrong side of point.
7768 2013-05-14 Glenn Morris <rgm@gnu.org>
7770 * progmodes/flymake.el (flymake-xml-program): New option.
7771 (flymake-xml-init): Use it.
7773 * term/xterm.el: Provide a feature.
7775 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7777 2013-05-13 Glenn Morris <rgm@gnu.org>
7779 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7780 Add compat aliases as a hack workaround. (Bug#14384)
7782 2013-05-13 Leo Liu <sdl.web@gmail.com>
7784 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7786 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7788 (octave-comment-start-skip): Include %!.
7789 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7791 2013-05-12 Leo Liu <sdl.web@gmail.com>
7793 * progmodes/octave.el (inferior-octave-startup): Store the value
7794 of __octave_srcdir__ for octave-source-directories.
7795 (inferior-octave-check-process): New function refactored out of
7796 inferior-octave-send-list-and-digest.
7797 (octave-source-directories)
7798 (octave-find-definition-filename-function): New variables.
7799 (octave-source-directories)
7800 (octave-find-definition-default-filename): New functions.
7801 (octave-find-definition): Improve to find functions implemented in C++.
7803 2013-05-12 Glenn Morris <rgm@gnu.org>
7805 * calendar/diary-lib.el (diary-outlook-format-1):
7806 Don't include dayname in the output. (Bug#14349)
7808 2013-05-11 Glenn Morris <rgm@gnu.org>
7810 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7812 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7813 Treat cc-provide like provide.
7815 2013-05-11 Kevin Ryde <user42@zip.com.au>
7817 * cus-dep.el (custom-make-dependencies):
7818 Use generated-autoload-load-name for the sake of files such
7819 such cedet/semantic/bovine/c.el, where the base file name
7820 is not in load-path. (Bug#5277)
7822 2013-05-11 Glenn Morris <rgm@gnu.org>
7824 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7827 2013-05-11 Leo Liu <sdl.web@gmail.com>
7829 * progmodes/octave.el (octave-indent-comment): Improve.
7830 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7831 (octave-eldoc-function-signatures, octave-eldoc-function):
7833 (octave-mode, inferior-octave-mode): Add eldoc support.
7835 2013-05-11 Richard Stallman <rms@gnu.org>
7837 * epa.el (epa-decrypt-file): Take output file name as argument
7838 and read it using `interactive'.
7840 2013-05-11 Leo Liu <sdl.web@gmail.com>
7842 * progmodes/octave.el (octave-beginning-of-line)
7843 (octave-end-of-line): Check before using up-list because it jumps
7844 out of more syntactic contructs since moving to smie.
7845 (octave-indent-comment): New function.
7846 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7847 (octave-begin-keywords, octave-end-keywords)
7848 (octave-reserved-words, octave-smie-bnf-table)
7849 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7851 2013-05-11 Glenn Morris <rgm@gnu.org>
7853 * faces.el (internal-face-x-get-resource):
7854 * frame.el (ns-display-monitor-attributes-list):
7855 * calc/calc-aent.el (math-to-radians-2):
7856 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7859 * calc/calc-menu.el: Make it loadable in isolation.
7861 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7862 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7863 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7864 (eudc-bbdb-query-internal): Require 'bbdb.
7866 * lpr.el (lpr-headers-switches):
7867 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7869 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7871 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7873 * term.el (term-set-escape-char): Make it idempotent.
7875 2013-05-10 Leo Liu <sdl.web@gmail.com>
7877 * progmodes/octave.el (inferior-octave-completion-table):
7878 No longer a function and all uses changed. Use cache to speed up
7879 completion due to bug#11906.
7880 (octave-beginning-of-defun): Re-write to be more general.
7882 2013-05-10 Glenn Morris <rgm@gnu.org>
7884 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7886 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7888 * comint.el (comint-redirect-send-command-to-process): Use :around
7889 rather than :override for comint-redirect-filter.
7890 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7891 Call it instead of comint-redirect-original-filter-function (which
7892 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7894 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7896 * frame.el (display-monitor-attributes-list): Add NS case.
7897 (ns-display-monitor-attributes-list): Declare.
7899 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7901 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7903 2013-05-09 Glenn Morris <rgm@gnu.org>
7905 * international/fontset.el (vertical-centering-font-regexp):
7908 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7910 * bookmark.el (bookmark-search-delay):
7911 * cus-start.el (vertical-centering-font-regexp):
7912 * ps-mule.el (ps-mule-font-info-database-default):
7913 * ps-print.el (ps-default-fg, ps-default-bg):
7914 * type-break.el (type-break-good-break-interval):
7915 * whitespace.el (whitespace-indentation-regexp)
7916 (whitespace-space-after-tab-regexp):
7917 * emacs-lisp/testcover.el (testcover-1value-functions)
7918 (testcover-noreturn-functions, testcover-progn-functions)
7919 (testcover-prog1-functions):
7920 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7921 * eshell/em-glob.el (eshell-glob-translate-alist):
7922 * play/tetris.el (tetris-tty-colors):
7923 * progmodes/cpp.el (cpp-face-default-list):
7924 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7925 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7926 (idlwave-help-browser-generic-args):
7927 * progmodes/make-mode.el (makefile-special-targets-list):
7928 * progmodes/python.el (python-shell-virtualenv-path):
7929 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7930 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7931 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7932 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7933 * textmodes/reftex-vars.el (reftex-format-label-function):
7934 * textmodes/remember.el (remember-diary-file): Fix custom types.
7936 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7939 2013-05-09 Leo Liu <sdl.web@gmail.com>
7941 * progmodes/octave.el (inferior-octave-completion-at-point):
7942 Restore file completion. (Bug#14300)
7943 (inferior-octave-startup): Fix incorrect highlighting for the
7946 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7948 * progmodes/ruby-mode.el: First cut at SMIE support.
7949 (ruby-use-smie): New var.
7950 (ruby-smie-grammar): New constant.
7951 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7952 (ruby-smie--forward-token, ruby-smie--backward-token)
7953 (ruby-smie-rules): New functions.
7954 (ruby-mode-variables): Setup SMIE if applicable.
7956 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7958 * simple.el (line-move-visual): Signal beginning/end of buffer
7959 only if vertical-motion moved less than it was requested. Avoids
7960 silly incorrect error messages when there are display strings with
7961 multiple newlines at EOL.
7963 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7965 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7966 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7967 (prolog-char-quote-workaround):
7968 * progmodes/cperl-mode.el (cperl-under-as-char):
7969 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7971 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7973 (vhdl-mode-syntax-table-init): Remove.
7975 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7978 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7980 (ld-script-font-lock-keywords):
7981 Change regexps to use things like \_< and \_>.
7983 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7984 Change all regexps to use things like \_< and \_>.
7986 * progmodes/autoconf.el (autoconf-definition-regexp)
7987 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7988 Handle a _ with symbol syntax.
7989 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7991 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7992 Consolidate declaration.
7993 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7995 (ada-create-syntax-table): Remove.
7996 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7997 already has the right syntax nowadays.
7998 (ada-goto-next-word): Don't change the syntax of "_".
8000 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
8003 2013-05-08 Sam Steingold <sds@gnu.org>
8005 * thingatpt.el (thing-at-point): Accept optional second argument
8006 NO-PROPERTIES to strip the text properties from the return value.
8007 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
8008 to `thing-at-point' instead of stripping the properties ourselves.
8009 Also, when `thing-at-point' fails to find a url, prepend "http://"
8010 to the filename at point on the assumption that the user is
8011 pointing at something like gnu.org/gnu.
8013 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
8015 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8016 * faces.el (crm-separator):
8017 Silence byte-compiler.
8019 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
8020 (tool-bar-map): Remove unneeded defvars.
8022 2013-05-08 Leo Liu <sdl.web@gmail.com>
8024 Re-work a fix for bug#10994 based on Le Wang's patch.
8025 * ido.el (ido-remove-consecutive-dups): New helper.
8026 (ido-completing-read): Use it.
8027 (ido-chop): Revert fix for bug#10994.
8029 2013-05-08 Adam Spiers <emacs@adamspiers.org>
8031 * cus-edit.el (custom-save-variables):
8032 Pretty-print long values. (Bug#14187)
8034 2013-05-08 Glenn Morris <rgm@gnu.org>
8036 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
8037 (m4-mode-syntax-table): Init in the defvar.
8038 (m4-mode-abbrev-table): Let define-derived-mode define it.
8040 2013-05-08 Tom Tromey <tromey@redhat.com>
8042 * progmodes/m4-mode.el (m4-mode-syntax-table):
8043 Do not treat "_" as word constituent. (Bug#14167)
8045 2013-05-07 Glenn Morris <rgm@gnu.org>
8047 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
8048 Remove explicit eshell-isearch-cancel-map.
8050 * progmodes/f90.el (f90-smart-end-names): New option.
8051 (f90-smart-end): Doc fix.
8052 (f90-end-block-optional-name): New constant.
8053 (f90-block-match): Respect f90-smart-end-names.
8055 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
8057 * progmodes/octave.el (octave-smie-forward-token): Be more careful
8058 about implicit semi-colons (bug#14218).
8060 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8062 * frame.el (display-monitor-attributes-list)
8063 (frame-monitor-attributes): New functions.
8065 2013-05-06 Leo Liu <sdl.web@gmail.com>
8067 * progmodes/octave.el (octave-syntax-propertize-function): Change
8068 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
8069 (octave-font-lock-keywords): Use octave-operator-regexp.
8070 (octave-completion-at-point): Rename from
8071 octave-completion-at-point-function.
8072 (inferior-octave-directory-tracker): Robustify.
8073 (octave-text-functions): Remove and fix its uses. No such things
8076 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8078 * emacs-lisp/trace.el (trace--display-buffer): New function.
8079 (trace-make-advice): Use it.
8081 2013-05-06 Juri Linkov <juri@jurta.org>
8083 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
8084 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
8086 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
8087 in the help string. (Bug#12985)
8089 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
8091 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
8093 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8095 * progmodes/perl-mode.el: Add support for here documents.
8096 (perl-syntax-propertize-function): Match here-doc markers.
8097 (perl-syntax-propertize-special-constructs): Find their end.
8098 (perl-imenu-generic-expression): Use [:alnum:].
8100 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
8101 (advice--add-function): Refresh the advice if already present
8104 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
8106 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
8108 2013-05-06 Glenn Morris <rgm@gnu.org>
8110 * w32-fns.el (w32-charset-info-alist): Declare.
8112 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
8113 of its defcustom properties.
8114 (eshell-cmpl-initialize): No need to load pcomplete.
8116 * generic-x.el: No need to require comint when compiling.
8118 * net/eudc-export.el: Make it loadable without bbdb.
8119 (top-level): Use require rather than load-library.
8120 (eudc-create-bbdb-record, eudc-bbdbify-phone)
8121 (eudc-batch-export-records-to-bbdb)
8122 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
8125 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
8127 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
8128 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
8129 some tweaks, instead.
8131 2013-05-05 Leo Liu <sdl.web@gmail.com>
8133 * progmodes/octave.el (octave-font-lock-keywords)
8134 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
8135 (inferior-octave-send-list-and-digest): Improve error message.
8136 (octave-mode, inferior-octave-mode): Use setq-local.
8137 (octave-help): Set info-lookup-mode.
8139 2013-05-05 Richard Stallman <rms@gnu.org>
8141 * vc/compare-w.el (compare-windows-whitespace):
8142 Treat no-break space as whitespace.
8144 * mail/rmailsum.el (rmail-summary-rmail-update):
8145 Detect empty summary and don't change selected message.
8146 (rmail-summary-goto-msg): Likewise.
8148 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
8149 Doc fixes, rename args.
8151 2013-05-05 Alan Mackenzie <acm@muc.de>
8153 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
8155 2013-05-05 Juri Linkov <juri@jurta.org>
8157 * info.el (Info-read-subfile): Use (point-min) instead of (point)
8158 to not add the length of the summary segment to the return value.
8161 2013-05-05 Leo Liu <sdl.web@gmail.com>
8163 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
8164 (inferior-octave-output-filter): Remove.
8165 (octave-send-region, inferior-octave-startup): Fix callers.
8166 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
8167 (octave-binary-file-extensions): New user variable.
8168 (octave-find-definition): Confirm if opening binary files.
8169 (octave-help-file): Use octave-find-definition to get the binary
8171 (octave-help): Adjust for octave-help-file change.
8173 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
8175 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
8176 Merge the two entries that handle function definitions.
8177 (pascal--syntax-propertize): New const.
8178 (pascal-mode): Use it. Use setq-local.
8180 2013-05-04 Glenn Morris <rgm@gnu.org>
8182 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
8183 (diary-from-outlook): Respect diary-from-outlook-function.
8185 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
8187 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
8188 Move the declaration from C.
8189 (read-minibuffer, eval-minibuffer): Move from C.
8190 (completion-setup-function): Avoid minibuffer-completion-contents.
8192 2013-05-03 Leo Liu <sdl.web@gmail.com>
8194 * progmodes/octave.el (octave-font-lock-keywords): Do not
8195 dehighlight 'end' in comments or strings.
8196 (octave-completing-read, octave-goto-function-definition):
8198 (octave-help-buffer): New user variable.
8199 (octave-help-file, octave-help-function): New button types.
8200 (octave-help): New command and bind it to C-h ;.
8201 (octave-find-definition): New command and bind it to M-.
8202 (user-error): Alias to error if not defined.
8204 2013-05-02 Leo Liu <sdl.web@gmail.com>
8206 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
8208 (octave-font-lock-keywords): Include [ and {.
8210 2013-05-02 Leo Liu <sdl.web@gmail.com>
8212 * progmodes/octave.el (inferior-octave-startup-file): Change default.
8213 (inferior-octave): Remove calling comint-mode and return the buffer.
8214 (inferior-octave-startup): Cosmetic changes.
8216 2013-05-02 Leo Liu <sdl.web@gmail.com>
8218 * progmodes/octave.el (octave-syntax-propertize-function):
8219 Include the case when ' is at line beginning. (Bug#14336)
8221 2013-05-02 Glenn Morris <rgm@gnu.org>
8223 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
8224 * desktop.el (vc-dir-mode): Just autoload it here.
8226 2013-05-02 Alan Mackenzie <acm@muc.de>
8228 Eliminate variable c-standard-font-lock-fontify-region-function.
8229 * progmodes/cc-mode.el
8230 (c-standard-font-lock-fontify-region-function): Remove.
8231 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
8233 2013-05-01 Leo Liu <sdl.web@gmail.com>
8235 * progmodes/octave.el: Compatible with older emacs-24 releases.
8236 (inferior-octave-has-built-in-variables): Remove. Built-in
8237 variables were removed from Octave in 2007.
8238 (inferior-octave-startup): Fix uses.
8239 (comint-line-beginning-position): Remove compatibility code for
8242 2013-05-01 Juri Linkov <juri@jurta.org>
8244 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
8246 2013-05-01 Juri Linkov <juri@jurta.org>
8248 * comint.el (comint-previous-matching-input): Don't print message
8249 "History item: %d" when `isearch-mode' is active.
8250 (comint-history-isearch-message): Print message "History item: %d"
8251 when `comint-input-ring-index' is not empty and this function is
8252 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
8254 2013-05-01 Leo Liu <sdl.web@gmail.com>
8256 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
8257 definitions. Use completion-at-point to insert keywords.
8258 (octave-abbrev-start): Remove.
8259 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
8261 2013-04-30 Leo Liu <sdl.web@gmail.com>
8263 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
8266 2013-04-30 Alan Mackenzie <acm@muc.de>
8268 Handle arbitrarily long C++ member initialisation lists.
8269 * progmodes/cc-engine.el (c-back-over-member-initializers):
8271 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
8272 (most) member init lists.
8274 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8276 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
8279 2013-04-30 Leo Liu <sdl.web@gmail.com>
8281 * progmodes/octave.el (octave-variables): Remove. No builtin
8282 variables any more. All converted to functions.
8283 (octave-font-lock-keywords, octave-completion-at-point-function):
8285 (octave-font-lock-texinfo-comment): New user variable.
8286 (octave-texinfo-font-lock-keywords): New variable for texinfo
8288 (octave-function-comment-block): New face.
8289 (octave-font-lock-texinfo-comment): New function.
8290 (octave-mode): Font lock texinfo comment block.
8292 2013-04-29 Leo Liu <sdl.web@gmail.com>
8294 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
8295 indexing expression.
8296 (octave-continuation-string): Do not use \.
8297 (inferior-octave-complete-impossible): Remove.
8298 (inferior-octave-completion-table)
8299 (inferior-octave-completion-at-point): Remove its uses.
8300 (inferior-octave-startup): completion_matches was introduced to
8301 Octave in 1996 so safe to assume it.
8302 (octave-function-file-comment): Improve to follow how Octave does it.
8303 (octave-update-function-file-comment): Tweak.
8305 2013-04-29 Leo Liu <sdl.web@gmail.com>
8307 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
8308 (inferior-octave-startup): Remove inferior-octave-startup-hook.
8309 (octave-function-file-comment): Fix typo.
8310 (octave-sync-function-file-names): Use read-char-choice.
8312 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
8314 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
8315 to t for the less important warnings.
8317 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
8319 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
8321 2013-04-27 Glenn Morris <rgm@gnu.org>
8323 * vc/log-view.el (log-view-current-entry):
8324 Treat "---" separator lines as part of the following rev. (Bug#14169)
8326 2013-04-27 Juri Linkov <juri@jurta.org>
8328 * subr.el (read-number): Doc fix about using it by interactive
8329 code letter `n'. (Bug#14254)
8331 2013-04-27 Juri Linkov <juri@jurta.org>
8333 * desktop.el (desktop-auto-save-timeout): New option.
8334 (desktop-file-checksum): New variable.
8335 (desktop-save): Add optional arg `auto-save' and don't auto-save
8337 (desktop-auto-save-timer): New variable.
8338 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
8339 (after-init-hook): Call `desktop-auto-save-set-timer'.
8340 Suggested by Reuben Thomas <rrt@sc3d.org> in
8341 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
8343 2013-04-27 Leo Liu <sdl.web@gmail.com>
8345 * progmodes/octave.el (octave-function-file-p)
8346 (octave-skip-comment-forward, octave-function-file-comment)
8347 (octave-update-function-file-comment): New functions.
8348 (octave-mode-map): Bind C-c ; to
8349 octave-update-function-file-comment.
8350 (octave-mode-menu): Add octave-update-function-file-comment.
8351 (octave-mode, inferior-octave-mode): Fix doc-string.
8352 (octave-insert-defun): Conform to Octave's coding convention.
8355 * files.el (basic-save-buffer): Don't let errors in
8356 before-save-hook prevent saving buffer.
8358 2013-04-20 Roland Winkler <winkler@gnu.org>
8360 * faces.el (read-face-name): Use completing-read if arg multiple
8363 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
8365 * ls-lisp.el (ls-lisp-insert-directory): If no files are
8366 displayed, move point to after the totals line.
8367 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
8370 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * emacs-lisp/package.el (package-autoload-ensure-default-file):
8373 Add current dir to the load-path.
8374 (package-generate-autoloads): Don't rely on
8375 autoload-ensure-default-file.
8377 2013-04-26 Reuben Thomas <rrt@sc3d.org>
8379 * textmodes/remember.el (remember-store-in-files): Document that
8380 the file name format is passed to `format-time-string'.
8382 2013-04-26 Leo Liu <sdl.web@gmail.com>
8384 * progmodes/octave.el (octave-sync-function-file-names): New function.
8385 (octave-mode): Use it in before-save-hook.
8387 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
8389 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
8392 * progmodes/octave.el (octave-smie-forward-token): Properly skip
8393 \n and comment, even if it's not an implicit ; (bug#14218).
8395 2013-04-26 Glenn Morris <rgm@gnu.org>
8397 * subr.el (read-number): Once more use `read' rather than
8398 `string-to-number', to trap non-numeric input. (Bug#14254)
8400 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
8402 * emacs-lisp/syntax.el (syntax-propertize-multiline):
8403 Use `syntax-multiline' text property consistently instead of
8404 `font-lock-multiline'. (Bug#14237)
8406 2013-04-26 Glenn Morris <rgm@gnu.org>
8408 * emacs-lisp/shadow.el (list-load-path-shadows):
8409 No longer necessary to check for duplicate simple.el, since
8410 2012-07-07 change to init_lread to not include installation lisp
8411 directories in load-path when running uninstalled. (Bug#14270)
8413 2013-04-26 Leo Liu <sdl.web@gmail.com>
8415 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
8416 (octave-mode, inferior-octave-mode): Use setq-local.
8417 (octave-not-in-string-or-comment-p): Rename to
8418 octave-in-string-or-comment-p.
8419 (octave-in-comment-p, octave-in-string-p)
8420 (octave-in-string-or-comment-p): Replace defsubst with defun.
8422 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
8424 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
8426 2013-04-25 Bastien Guerry <bzg@gnu.org>
8428 * textmodes/remember.el (remember-data-directory)
8429 (remember-directory-file-name-format): Fix custom types.
8431 2013-04-25 Leo Liu <sdl.web@gmail.com>
8433 * progmodes/octave.el (octave-completion-at-point-function):
8434 Make use of inferior octave process.
8435 (octave-initialize-completions): Remove.
8436 (inferior-octave-completion-table): New function.
8437 (inferior-octave-completion-at-point): Use it.
8438 (octave-completion-alist): Remove.
8440 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8442 * progmodes/opascal.el: Use font-lock and syntax-propertize.
8443 (opascal-mode-syntax-table): New var.
8444 (opascal-literal-kind, opascal-is-literal-end)
8445 (opascal-literal-token-at): Rewrite.
8446 (opascal--literal-start-re, opascal-font-lock-keywords)
8447 (opascal--syntax-propertize): New constants.
8448 (opascal-font-lock-defaults): Adjust.
8449 (opascal-mode): Use them. Set comment-<foo> variables as well.
8450 (delphi-comment-face, opascal-comment-face, delphi-string-face)
8451 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
8452 (delphi-other-face, opascal-other-face): Remove face variables.
8453 (opascal-save-state): Remove macro.
8454 (opascal-fontifying-progress-step): Remove constant.
8455 (opascal--ignore-changes): Remove var.
8456 (opascal-set-token-property, opascal-parse-next-literal)
8457 (opascal-is-stable-literal, opascal-complete-literal)
8458 (opascal-is-literal-start, opascal-face-of)
8459 (opascal-parse-region, opascal-parse-region-until-stable)
8460 (opascal-fontify-region, opascal-after-change)
8461 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
8462 (opascal-debug-parse-region, opascal-debug-parse-window)
8463 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
8464 (opascal-debug-fontify-buffer): Remove.
8465 (opascal-debug-mode-map): Adjust accordingly.
8467 2013-04-25 Leo Liu <sdl.web@gmail.com>
8469 Merge octave-mod.el and octave-inf.el into octave.el with some
8471 * progmodes/octave.el: New file renamed from octave-mod.el.
8472 * progmodes/octave-inf.el: Merged into octave.el.
8473 * progmodes/octave-mod.el: Renamed to octave.el.
8475 2013-04-25 Tassilo Horn <tsdh@gnu.org>
8477 * textmodes/reftex-vars.el
8478 (reftex-label-ignored-macros-and-environments): New defcustom.
8480 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
8482 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
8484 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
8485 (smie-indent-keyword): Improve the check to ensure that the next
8486 comment is really on the same line.
8487 (smie-indent-comment): Don't align with a subsequent closer (or eob).
8489 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
8490 semi-colons if the line is not otherwise empty (bug#14218).
8492 2013-04-25 Glenn Morris <rgm@gnu.org>
8494 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
8496 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
8498 * progmodes/opascal.el (opascal-set-token-property): Rename from
8499 opascal-set-text-properties and only set `token' (bug#14134).
8500 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
8501 (opascal-literal-text-properties): Remove.
8502 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
8505 2013-04-24 Reuben Thomas <rrt@sc3d.org>
8507 * textmodes/remember.el (remember-handler-functions): Add an
8508 option for a new handler `remember-store-in-files'.
8509 (remember-data-directory, remember-directory-file-name-format):
8511 (remember-store-in-files): New function to store remember notes
8512 as separate files within a directory.
8514 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
8516 * progmodes/compile.el (compilation-next-error-function):
8517 Pass "formats" to compilation-find-file (bug#11777).
8519 2013-04-24 Glenn Morris <rgm@gnu.org>
8521 * vc/vc-bzr.el (vc-bzr-print-log):
8522 * vc/vc-hg.el (vc-hg-print-log):
8523 * vc/vc-svn.el (vc-svn-print-log):
8524 Fix START-REVISION with LIMIT != 1. (Bug#14168)
8526 * vc/vc-bzr.el (vc-bzr-print-log):
8527 * vc/vc-cvs.el (vc-cvs-print-log):
8528 * vc/vc-git.el (vc-git-print-log):
8529 * vc/vc-hg.el (vc-hg-print-log):
8530 * vc/vc-mtn.el (vc-mtn-print-log):
8531 * vc/vc-rcs.el (vc-rcs-print-log):
8532 * vc/vc-sccs.el (vc-sccs-print-log):
8533 * vc/vc-svn.el (vc-svn-print-log):
8534 * vc/vc.el (vc-print-log-internal): Doc fixes.
8536 2013-04-23 Glenn Morris <rgm@gnu.org>
8538 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
8539 Remove venerable code attempting to avoid substitute-command-keys.
8541 2013-04-23 Tassilo Horn <tsdh@gnu.org>
8543 * textmodes/reftex-vars.el (reftex-label-regexps):
8544 Call `reftex-compile-variables' after changes to this variable.
8546 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
8548 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
8549 Use lexical-binding.
8550 (jit-lock-force-redisplay): Use markers, check buffer's continued
8551 existence and beware narrowed buffers.
8552 (jit-lock-fontify-now): Adjust call accordingly.
8554 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
8556 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
8557 to avoid misleading the user.
8559 2013-04-22 Leo Liu <sdl.web@gmail.com>
8561 * info-look.el: Prefer latex2e.info. (Bug#14240)
8563 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
8565 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
8567 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
8568 * net/tramp.el (tramp-call-process): ... here.
8569 (tramp-set-completion-function, tramp-parse-putty):
8570 * net/tramp-adb.el (tramp-adb-execute-adb-command):
8571 * net/tramp-gvfs.el (tramp-gvfs-send-command):
8572 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
8573 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
8574 (tramp-call-local-coding-command): Use `tramp-call-process'
8575 instead of `tramp-compat-call-process'.
8577 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
8578 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
8579 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
8580 (tramp-find-inline-compress): Improve traces.
8581 (tramp-maybe-send-script): Check for Perl binary.
8582 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
8584 2013-04-22 Daiki Ueno <ueno@gnu.org>
8586 * epg.el (epg-context-pinentry-mode): New function.
8587 (epg-context-set-pinentry-mode): New function.
8588 (epg--start): Pass --pinentry-mode option to gpg command.
8590 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
8592 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
8593 `comint-dynamic-complete' is obsolete since 24.1, replaced by
8594 `completion-at-point'. (Bug#13774)
8596 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
8597 default key binding for `describe-distribution' has been moved to
8598 `C-h C-o'. (Bug#13970)
8600 2013-04-21 Glenn Morris <rgm@gnu.org>
8602 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
8604 (vc-print-log): Clarify interactive prompt.
8606 2013-04-20 Glenn Morris <rgm@gnu.org>
8608 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
8609 No longer include timestamp etc information.
8611 2013-04-20 Roland Winkler <winkler@gnu.org>
8613 * faces.el (read-face-name): Bug fix, return just one face if arg
8614 multiple is nil. (Bug#14209)
8616 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
8618 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
8619 (remove-function): Autoload.
8621 * comint.el (comint-redirect-original-filter-function): Remove.
8622 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
8623 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
8624 (vc-cvs-annotate-command):
8625 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
8626 * progmodes/prolog.el (prolog-consult-compile):
8627 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
8628 Use add/remove-function instead.
8629 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
8630 (gud-tooltip-process-output, gud-tooltip-tips):
8631 Use add/remove-function instead.
8632 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
8633 (scheme-interaction-mode, exit-scheme-interaction-mode):
8634 Use add/remove-function instead.
8636 * vc/vc-dispatcher.el: Use lexical-binding.
8637 (vc--process-sentinel): Rename from vc-process-sentinel.
8638 Change last arg to be the code to run. Don't use vc-previous-sentinel
8639 and vc-sentinel-commands any more.
8640 (vc-exec-after): Allow code to be a function. Use add/remove-function.
8641 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
8643 2013-04-19 Masatake YAMATO <yamato@redhat.com>
8645 * progmodes/sh-script.el (sh-imenu-generic-expression):
8646 Handle function names with a single character. (Bug#14111)
8648 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
8650 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
8651 for subroutines defined in an eval (bug#14182).
8653 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8655 * bookmark.el (bookmark-completing-read): Improve handling of empty
8658 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
8660 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
8662 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
8664 New faster Imenu implementation (bug#14058).
8665 * progmodes/python.el:
8666 (python-imenu-prev-index-position):
8667 (python-imenu-format-item-label-function)
8668 (python-imenu-format-parent-item-label-function)
8669 (python-imenu-format-parent-item-jump-label-function):
8671 (python-imenu-format-item-label)
8672 (python-imenu-format-parent-item-label)
8673 (python-imenu-format-parent-item-jump-label)
8674 (python-imenu--put-parent, python-imenu--build-tree)
8675 (python-imenu-create-index, python-imenu-create-flat-index)
8676 (python-util-popn): New functions.
8677 (python-mode): Set imenu-create-index-function to
8678 python-imenu-create-index.
8680 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8682 * winner.el (winner-active-region): Use region-active-p, activate-mark
8683 and deactivate-mark (bug#14225).
8685 * simple.el (deactivate-mark): Don't inline it.
8687 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8689 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8691 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8693 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8694 file extensions from the archive-mode entry in order to prefer
8695 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8697 2013-04-18 Leo Liu <sdl.web@gmail.com>
8699 * bindings.el (help-event-list): Add ?\?.
8701 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8703 * subr.el (with-wrapper-hook): Declare obsolete.
8704 * simple.el (filter-buffer-substring-function): New hook.
8705 (filter-buffer-substring): Use it.
8706 (filter-buffer-substring-functions): Mark obsolete.
8707 * minibuffer.el (completion-in-region-function): New hook.
8708 (completion-in-region): Use it.
8709 (completion-in-region-functions): Mark obsolete.
8710 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8711 * abbrev.el (abbrev-expand-function): New hook.
8712 (expand-abbrev): Use it.
8713 (abbrev-expand-functions): Mark obsolete.
8714 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8717 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8719 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8720 and do not care about match data.
8722 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8724 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8725 completion tables when completing error conditions and
8726 `declare' arguments.
8727 (lisp-complete-symbol, field-complete): Mark as obsolete.
8728 (check-parens): Unmatched parens are user errors.
8729 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8731 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8733 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8734 command changed buffer (ie. `flyspell-pre-buffer' is not current
8735 buffer), which prevents making decisions based on invalid value of
8736 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8737 cause an error when `flyspell-pre-point' was nil after switching
8739 (flyspell-post-command-hook): No longer needs to change buffers when
8740 checking pre-word. While at it remove unnecessary progn.
8742 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8744 * textmodes/ispell.el (ispell-add-per-file-word-list):
8745 Fix `flyspell-correct-word-before-point' error when accepting
8746 words and `coment-padding' is an integer by using
8747 `comment-normalize-vars' (Bug #14214).
8749 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8751 New defun movement commands.
8752 * progmodes/python.el (python-nav--syntactically)
8753 (python-nav--forward-defun, python-nav-backward-defun)
8754 (python-nav-forward-defun): New functions.
8756 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8758 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8759 (python-syntax-context): Use named compiler-macro for backwards
8760 compatibility with Emacs 24.x.
8762 2013-04-17 Leo Liu <sdl.web@gmail.com>
8764 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8765 octave-hide-process-buffer.
8767 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8769 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8772 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8774 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8775 Fix adjustment of offset when receiving incomplete responses from GDB
8778 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8780 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8781 python-mode-abbrev-table.
8782 (python-skeleton-define): Adjust accordingly.
8783 (python-mode-abbrev-table): New table that inherits from it so that
8784 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8786 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8787 (abbrev-symbol): Use it.
8788 (abbrev--before-point): Use it since we already handle inheritance.
8790 2013-04-16 Leo Liu <sdl.web@gmail.com>
8792 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8793 binding to info-lookup-symbol.
8795 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8797 * minibuffer.el (completion--twq-all):
8798 * term/ns-win.el (ns-initialize-window-system):
8799 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8801 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8803 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8806 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8808 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8810 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8811 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8813 (ruby-end-of-defun): Remove the unused arg, change the docstring
8814 to reflect that this function is only used as the value of
8815 `end-of-defun-function'.
8816 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8817 to reflect an earlier change that beginning/end-of-defun functions
8818 jump between methods in a class definition, as well as top-level
8821 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * minibuffer.el (minibuffer-complete): Don't just scroll
8824 a *Completions* that's been iconified.
8825 (minibuffer-force-complete): Make sure repetitions do cycle when going
8826 through completion-in-region -> minibuffer-complete.
8828 2013-04-15 Alan Mackenzie <acm@muc.de>
8830 Correct the placement of c-cpp-delimiters when there're #s not at
8833 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8834 place a submatch around the #.
8835 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8836 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8839 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8841 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8842 (advice--member-p): New arg `name'.
8843 (advice--add-function, advice-member-p): Use it (bug#14202).
8845 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8847 Reformulate java imenu-generic-expression.
8848 The old expression contained ill formed regexps.
8850 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8851 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8852 (cc-imenu-java-method-arg-regexp): New defconsts.
8853 (cc-imenu-java-build-type-args-regex): New defun.
8854 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8855 handling of spaces in the regexp.
8857 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8859 * textmodes/ispell.el (ispell-command-loop): Remove
8860 flyspell highlight of a word when ispell accepts it (bug #14178).
8862 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8864 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8865 uses code from the previous `ange-ftp-run-real-handler'.
8866 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8867 only in case that function exist. This is needed for proper
8870 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8872 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8874 * textmodes/reftex.el (reftex-compile-variables): Use it.
8876 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8878 * files.el (normal-mode): Only use default major-mode if no other mode
8881 * emacs-lisp/trace.el (trace-values): New function.
8883 * files.el: Allow : in local variables (bug#14089).
8884 (hack-local-variable-regexp): New var.
8885 (hack-local-variables-prop-line, hack-local-variables): Use it.
8887 2013-04-13 Roland Winkler <winkler@gnu.org>
8889 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8890 data before it gets modified by bibtex-beginning-of-entry.
8892 2013-04-13 Roland Winkler <winkler@gnu.org>
8894 * textmodes/bibtex.el (bibtex-url): Doc fix.
8896 2013-04-13 Roland Winkler <winkler@gnu.org>
8898 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8899 does not visit a BibTeX file, exclude it from the list of buffers
8900 returned by bibtex-initialize.
8902 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8904 * window.el (split-window): Remove interactive form, since as a
8905 command this function is a special case of split-window-below.
8908 2013-04-12 Roland Winkler <winkler@gnu.org>
8910 * faces.el (read-face-name): Do not override value of arg default.
8911 Allow single faces and strings as default values. Remove those
8912 elements from return value that are not faces.
8913 (describe-face): Simplify.
8914 (face-at-point): New optional args thing and multiple so that this
8915 function can provide the same functionality previously provided by
8917 (make-face-bold, make-face-unbold, make-face-italic)
8918 (make-face-unitalic, make-face-bold-italic, invert-face)
8919 (modify-face, read-face-and-attribute): Use face-at-point.
8921 * cus-edit.el (customize-face, customize-face-other-window)
8922 * cus-theme.el (custom-theme-add-face)
8923 * face-remap.el (buffer-face-set)
8924 * facemenu.el (facemenu-set-face): Use face-at-point.
8926 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8928 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8930 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8932 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8933 off leading { and trailing } from field values.
8935 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * emacs-lisp/timer.el (timer--check): New function.
8938 (timer--time, timer-set-function, timer-event-handler): Use it.
8939 (timer-set-idle-time): Simplify.
8940 (timer--activate): CSE.
8941 (timer-event-handler): Give more info in error message.
8942 (internal-timer-start-idle): New function, moved from C.
8944 * mpc.el (mpc-proc): Add `restart' argument.
8945 (mpc-proc-cmd): Use it.
8946 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8947 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8950 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8952 * progmodes/sh-script.el: Implement `sh-mode' own
8953 `add-log-current-defun-function' (bug#14112).
8954 (sh-current-defun-name): New function.
8955 (sh-mode): Use the function.
8957 2013-04-09 Bastien Guerry <bzg@gnu.org>
8959 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8961 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8963 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8965 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8968 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8970 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8973 2013-04-07 Leo Liu <sdl.web@gmail.com>
8975 * pcmpl-x.el: New file.
8977 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8979 Do not set x-display-name until X connection is established.
8980 This is needed to prevent from weird situation described at
8981 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8982 * frame.el (make-frame): Set x-display-name after call to
8983 window system initialization function, not before.
8984 * term/x-win.el (x-initialize-window-system): Add optional
8985 display argument and use it.
8986 * term/w32-win.el (w32-initialize-window-system):
8987 * term/ns-win.el (ns-initialize-window-system):
8988 * term/pc-win.el (msdos-initialize-window-system):
8989 Add compatible optional display argument.
8991 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8993 * files.el (normal-backup-enable-predicate): On MS-Windows and
8994 MS-DOS compare truenames of temporary-file-directory and of the
8995 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8996 don't fail comparison by compare-strings. Also, compare file
8997 names case-insensitively on MS-Windows and MS-DOS.
8999 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9001 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
9002 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
9004 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
9006 * whitespace.el (whitespace-color-on, whitespace-color-off):
9007 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
9009 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
9011 * ispell.el (ispell-set-spellchecker-params):
9012 Really set `ispell-args' for all equivs.
9014 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
9016 * ido.el (ido-completions): Use extra elements of ido-decorations
9018 (ido-decorations): Update docstring.
9020 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
9022 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9023 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
9024 nil during initialization, in order not to miss changes since the
9025 file was opened. (Bug#14140)
9027 2013-04-05 Leo Liu <sdl.web@gmail.com>
9029 * kmacro.el (kmacro-call-macro): Fix bug#14135.
9031 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
9033 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
9035 2013-04-04 Glenn Morris <rgm@gnu.org>
9037 * electric.el (electric-pair-inhibit-predicate): Add :version.
9039 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
9041 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
9042 when a package is required several times (bug#14082).
9044 2013-04-04 Roland Winkler <winkler@gnu.org>
9046 * faces.el (read-face-name): Behave as promised by the docstring.
9047 Assume that arg default is a list of faces.
9048 (describe-face): Call read-face-name with list of default faces.
9050 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9052 * bookmark.el: Fix deletion of bookmarks (bug#13972).
9053 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
9054 (bookmark-bmenu-execute-deletions): Only skip first line if it's
9056 (bookmark-exit-hook-internal): Save even if list is empty.
9058 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
9060 * emacs-lisp/package.el (package-pinned-packages): New var.
9061 (package--add-to-archive-contents): Obey it (bug#14118).
9063 2013-04-03 Alan Mackenzie <acm@muc.de>
9065 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
9066 Also adapt to the new values of element 7 of a parse state.
9068 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
9069 parameter `not-in-delimiter'. Handle being inside comment opener.
9070 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
9071 character in case we're typing a '*' after a '/'.
9072 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
9073 instead by passing the parameter to c-state-pp-to-literal.
9075 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
9076 for elt. 7 of a parse state.
9078 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
9080 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
9081 * international/latin1-disp.el, international/mule-util.el:
9082 * language/cyril-util.el, language/european.el, language/ind-util.el:
9083 * language/lao-util.el, language/thai.el, language/tibet-util.el:
9084 * language/tibetan.el, language/viet-util.el:
9085 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
9087 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
9089 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
9090 (electric-pair-post-self-insert-function): Use it.
9091 (electric-pair-default-inhibit): New function, extracted from
9092 electric-pair-post-self-insert-function.
9094 2013-03-31 Roland Winkler <winkler@gnu.org>
9096 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
9098 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
9100 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
9102 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
9104 Un-indent after "pass" and "return" statements (Bug#13888)
9105 * progmodes/python.el (python-indent-block-enders): New var.
9106 (python-indent-calculate-indentation): Use it.
9108 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
9110 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
9111 defun. Defining it as defalias could introduce too eager
9112 byte-compiler optimization. (Bug#14030)
9114 2013-03-30 Chong Yidong <cyd@gnu.org>
9116 * iswitchb.el (iswitchb-read-buffer): Fix typo.
9118 2013-03-30 Leo Liu <sdl.web@gmail.com>
9120 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
9121 (kmacro-execute-from-register): Pass the keyboard macro to
9122 kmacro-call-macro or repeating won't work correctly.
9124 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
9126 * progmodes/subword.el: Back to using `forward-symbol'.
9128 * subr.el (forward-whitespace, forward-symbol)
9129 (forward-same-syntax): Move from thingatpt.el.
9131 2013-03-29 Leo Liu <sdl.web@gmail.com>
9133 * kmacro.el (kmacro-to-register): New command.
9134 (kmacro-execute-from-register): New function.
9135 (kmacro-keymap): Bind to 'x'. (Bug#14071)
9137 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
9139 * mpc.el: Use defvar-local and setq-local.
9140 (mpc--proc-connect): Connection failures are not bugs.
9141 (mpc-mode-map): `follow-link' only applies to the buffer's content.
9142 (mpc-volume-map): Bind to the up-events.
9144 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
9146 * progmodes/subword.el (superword-mode): Use `forward-sexp'
9147 instead of `forward-symbol'.
9149 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
9151 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
9152 (edebug--recursive-edit): Use it.
9153 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
9154 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
9156 2013-03-28 Leo Liu <sdl.web@gmail.com>
9158 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
9160 2013-03-27 Eli Zaretskii <eliz@gnu.org>
9162 * facemenu.el (list-colors-callback): New defvar.
9163 (list-colors-redisplay): New function.
9164 (list-colors-display): Install list-colors-redisplay as the
9165 revert-buffer-function. (Bug#14063)
9167 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
9169 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
9170 and suffixes don't overlap (bug#14061).
9172 * case-table.el: Use lexical-binding.
9173 (case-table-get-table): New function.
9174 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
9176 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
9178 * progmodes/subword.el: Add `superword-mode' to do word motion
9179 over symbol_words (parallels and leverages `subword-mode' which
9180 does word motion inside MixedCaseWords).
9182 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
9184 * eshell/em-unix.el: Move su and sudo to...
9185 * eshell/em-tramp.el: ...Eshell tramp module.
9187 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9189 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
9190 Change return value to be a sexp. Delay `get-buffer' to after
9191 restoring the desktop (bug#13951).
9193 2013-03-26 Leo Liu <sdl.web@gmail.com>
9195 * register.el: Move semantic tag handling back to
9196 cedet/semantic/senator.el. (Bug#14052)
9198 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
9200 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
9201 into the prompt either (bug#13963).
9203 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
9205 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
9206 part of "(error-foo)".
9208 2013-03-24 Juri Linkov <juri@jurta.org>
9210 * replace.el (list-matching-lines-prefix-face): New defcustom.
9211 (occur-1): Pass `list-matching-lines-prefix-face' to the function
9212 `occur-engine' if `face-differs-from-default-p' returns t.
9213 (occur-engine): Add `,' inside backquote construct to evaluate
9214 `prefix-face'. Propertize the prefix with the `prefix-face' face.
9215 Pass `prefix-face' to the functions `occur-context-lines' and
9216 `occur-engine-add-prefix'.
9217 (occur-engine-add-prefix, occur-context-lines): Add optional arg
9218 `prefix-face' and propertize the prefix with `prefix-face'.
9221 2013-03-24 Leo Liu <sdl.web@gmail.com>
9223 * nxml/rng-valid.el (rng-validate-while-idle)
9224 (rng-validate-quick-while-idle): Guard against deleted buffer.
9227 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
9228 is the last entry in kill-buffer-hook.
9230 * files.el (kill-buffer-hook): Doc fix.
9232 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
9234 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
9237 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
9239 2013-03-23 Leo Liu <sdl.web@gmail.com>
9241 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
9244 * nxml/rng-valid.el (rng-validate-mode)
9245 (rng-after-change-function, rng-do-some-validation):
9246 * nxml/rng-maint.el (rng-validate-buffer):
9247 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
9248 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
9249 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
9250 (nxml-extend-after-change-region): Use with-silent-modifications.
9252 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
9255 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
9256 (rng-next-error-1, rng-previous-error-1): Do not let-bind
9257 timer-idle-list. (Bug#13999)
9259 2013-03-23 Juri Linkov <juri@jurta.org>
9261 * info.el (info-index-match): New face.
9262 (Info-index, Info-apropos-matches): Add a nested subgroup to the
9263 main pattern and add text properties with the new face to matches
9264 in index entries relative to the beginning of the index entry.
9267 2013-03-21 Eric Ludlam <zappo@gnu.org>
9269 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
9270 Inhibit read only while inserting objects.
9272 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
9274 * progmodes/cfengine.el: Update docs to mention
9275 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
9276 symbol motion. Remove "_" from the word syntax.
9278 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
9280 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
9281 syntax for both `cfengine2-mode' and `cfengine3-mode'.
9283 2013-03-20 Juri Linkov <juri@jurta.org>
9285 * info.el (Info-next-reference-or-link)
9286 (Info-prev-reference-or-link): New functions.
9287 (Info-next-reference, Info-prev-reference): Use them.
9288 (Info-try-follow-nearest-node): Handle footnote navigation.
9289 (Info-fontify-node): Fontify footnotes. (Bug#13989)
9291 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
9293 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
9294 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
9296 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
9298 Suppress unnecessary non-ASCII chatter during build process.
9299 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
9300 (batch-skkdic-convert): Suppress most of the chatter.
9301 It's not needed so much now that machines are faster,
9302 and its non-ASCII component was confusing; see Dmitry Gutov in
9303 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
9305 2013-03-20 Leo Liu <sdl.web@gmail.com>
9307 * ido.el (ido-chop): Fix bug#10994.
9309 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9311 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
9313 (whitespace-color-on, whitespace-color-off):
9314 Use `font-lock-fontify-buffer' (Bug#13817).
9316 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
9318 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
9319 remapping in mode-line.
9320 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
9322 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
9324 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
9325 value for `whitespace-line' face (Bug#13875).
9326 (whitespace-font-lock-keywords): Change description.
9327 (whitespace-color-on): Don't save `font-lock-keywords' value, save
9328 the constructed keywords instead.
9329 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
9331 2013-03-19 Leo Liu <sdl.web@gmail.com>
9333 * progmodes/compile.el (compilation-display-error): New command.
9334 (compilation-mode-map, compilation-minor-mode-map): Bind it to
9337 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9339 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
9341 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
9343 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
9345 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
9347 * net/tramp-compat.el (tramp-compat-user-error): New defun.
9349 * net/tramp-adb.el (tramp-adb-handle-shell-command):
9350 * net/tramp-gvfs.el (top):
9351 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
9352 (tramp-handle-shell-command): Use it.
9353 (tramp-dissect-file-name): Raise an error when hostname is a
9354 method name, and neither method nor user is specified.
9356 * net/trampver.el: Update release number.
9358 2013-03-18 Leo Liu <sdl.web@gmail.com>
9360 Make sure eldoc can be turned off properly.
9361 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
9363 (eldoc-display-message-p): Revert last change.
9364 (eldoc-display-message-no-interference-p)
9365 (eldoc-print-current-symbol-info): Tweak.
9367 2013-03-18 Tassilo Horn <tsdh@gnu.org>
9369 * doc-view.el (doc-view-new-window-function): Check the new window
9370 overlay's display property instead the char property of the
9371 buffer's first char. Use `with-selected-window' instead of
9372 `save-window-excursion' with `select-window'.
9373 (doc-view-document->bitmap): Check the current doc-view overlay's
9374 display property instead the char property of the buffer's first char.
9376 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
9378 Automate the build of ja-dic.el (Bug#13984).
9379 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
9380 from the input, rather than assume that it's been done for us by the
9381 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
9382 the current date into a ja-dic.el comment, as that complicates
9385 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
9387 * whitespace.el: Fix double evaluation.
9388 (whitespace-space, whitespace-hspace, whitespace-tab)
9389 (whitespace-newline, whitespace-trailing, whitespace-line)
9390 (whitespace-space-before-tab, whitespace-indentation)
9391 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
9393 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
9394 (whitespace-color-on): Use a single font-lock-add-keywords call.
9395 Fix double-evaluation of face variables.
9397 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
9399 * net/tramp-adb.el (tramp-adb-parse-device-names):
9400 Use `start-process' instead of `call-process'. Otherwise, the
9401 function might be blocked under MS Windows. (Bug#13299)
9403 2013-03-17 Leo Liu <sdl.web@gmail.com>
9405 Extend eldoc to display info in the mode-line. (Bug#13978)
9406 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
9407 (eldoc-mode-line-string): New variable.
9408 (eldoc-minibuffer-message): New function.
9409 (eldoc-message-function): New variable.
9410 (eldoc-message): Use it.
9411 (eldoc-display-message-p)
9412 (eldoc-display-message-no-interference-p):
9413 Support eldoc-post-insert-mode.
9415 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
9416 (eval-expression): Run it.
9418 2013-03-17 Roland Winkler <winkler@gnu.org>
9420 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
9421 strings in the list of return values.
9423 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
9425 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
9426 radix before checking for HMS forms.
9428 2013-03-16 Leo Liu <sdl.web@gmail.com>
9430 * progmodes/scheme.el: Add indentation and font-locking for λ.
9433 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
9435 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
9436 token before point (bug#13942).
9438 2013-03-16 Leo Liu <sdl.web@gmail.com>
9440 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
9442 2013-03-16 Eli Zaretskii <eliz@gnu.org>
9444 * startup.el (command-line-normalize-file-name): Fix handling of
9445 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
9446 <xfq.free@gmail.com> in
9447 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
9449 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
9451 Sync with Tramp 2.2.7.
9453 * net/trampver.el: Update release number.
9455 2013-03-14 Tassilo Horn <tsdh@gnu.org>
9457 * doc-view.el: Fix bug#13887.
9458 (doc-view-insert-image): Don't modify overlay associated to
9459 non-live windows, and implement horizontal centering of image in
9460 case it's smaller than the window.
9461 (doc-view-new-window-function): Force redisplay of new windows on
9464 2013-03-13 Karl Fogel <kfogel@red-bean.com>
9466 * saveplace.el (save-place-alist-to-file): Don't sort
9467 `save-place-alist', just pretty-print it (bug#13882).
9469 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
9471 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
9472 Check whether `default-file-name-coding-system' is bound.
9475 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
9477 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
9478 backquotes for `obsolete' (bug#13929).
9480 * international/mule.el (find-auto-coding): Include file name in
9481 obsolescence warning (bug#13922).
9483 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
9485 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
9486 for CFEngine 3-specific indentation.
9487 (cfengine3-indent-line): Use it. Fix up category regex.
9488 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
9490 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
9492 * type-break.el (type-break-file-name):
9493 * textmodes/remember.el (remember-data-file):
9494 * strokes.el (strokes-file):
9495 * shadowfile.el (shadow-initialize):
9496 * saveplace.el (save-place-file):
9497 * ps-bdf.el (bdf-cache-file):
9498 * progmodes/idlwave.el (idlwave-config-directory):
9499 * net/quickurl.el (quickurl-url-file):
9500 * international/kkc.el (kkc-init-file-name):
9501 * ido.el (ido-save-directory-list-file):
9502 * emulation/viper.el (viper-custom-file-name):
9503 * emulation/vip.el (vip-startup-file):
9504 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
9505 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
9507 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
9509 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
9510 * language/thai-word.el: Switch to UTF-8.
9512 See ChangeLog.16 for earlier changes.
9518 Copyright (C) 2011-2013 Free Software Foundation, Inc.
9520 This file is part of GNU Emacs.
9522 GNU Emacs is free software: you can redistribute it and/or modify
9523 it under the terms of the GNU General Public License as published by
9524 the Free Software Foundation, either version 3 of the License, or
9525 (at your option) any later version.
9527 GNU Emacs is distributed in the hope that it will be useful,
9528 but WITHOUT ANY WARRANTY; without even the implied warranty of
9529 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
9530 GNU General Public License for more details.
9532 You should have received a copy of the GNU General Public License
9533 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.