1 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3 * files.el (file-relative-name): Doc fix (bug#15159).
5 * fringe.el (fringe-styles): Doc fix (bug#15239).
7 * isearch.el (isearch-filter-predicate): Documentation typo fix
10 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
12 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
14 * replace.el (replace-match-maybe-edit): Doc clarification
17 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
19 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
21 2014-02-08 Glenn Morris <rgm@gnu.org>
23 * help-fns.el (describe-variable):
24 Check {file,dir}-local-variables-alist, and buffer-file-name,
25 in the correct buffer.
27 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
29 * help-fns.el (describe-variable): Fix the case where
30 a value is directory-local with no dir-locals file. (Bug#16635)
32 2014-02-08 Glenn Morris <rgm@gnu.org>
34 * abbrev.el (edit-abbrevs-mode):
35 Derive from fundamental-mode. (Bug#16682)
37 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
39 * simple.el (quoted-insert): Check character validity (bug#16677).
41 2014-02-07 Juri Linkov <juri@jurta.org>
43 * desktop.el (desktop-read): Claim the lock when the owner is not
44 the current process. (Bug#16157)
46 2014-02-07 Juri Linkov <juri@jurta.org>
48 * desktop.el (desktop-buffers-not-to-save): Change default from nil
49 to "\\` ". (Bug#16651)
51 2014-02-07 Juri Linkov <juri@jurta.org>
53 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
54 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
55 (desktop-auto-save-cancel-timer): New function with some code from
56 `desktop-auto-save-set-timer'.
57 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
58 Instead of setting `desktop-save-mode' to nil, call
59 `desktop-save-mode' with arg 0. (Bug#16630)
61 2014-02-07 Glenn Morris <rgm@gnu.org>
63 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
64 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
65 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
67 * obsolete/iswitchb.el: Move to obsolete/.
68 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
69 since obsolete/ is not scanned for autoloads.
70 * emacs-lisp/authors.el (authors-valid-file-names):
73 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
74 Disable now non-functional find-file-hook.
76 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
78 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
79 instead of ";" in order to avoid additional prompts. Let heredoc
80 scripts read from tty. (Bug#16582)
81 (tramp-send-command): No special handling of heredocs, it isn't
84 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
86 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
87 with a space (bug#16664). Limit the symbols considered to the ones
88 that are bound or fbound (bug#16646).
90 2014-02-06 Glenn Morris <rgm@gnu.org>
92 * epa.el (epa-mail-aliases): Doc fix.
94 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
96 * emacs-lisp/lisp.el (lisp-completion-at-point):
97 Use `completion-table-merge' instead of `completion-table-in-turn'
100 * minibuffer.el (completion-table-merge): New function.
102 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
104 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
105 (tramp-sh-handle-set-file-acl)
106 (tramp-sh-handle-start-file-process)
107 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
108 (tramp-find-executable, tramp-send-command): Use it.
110 2014-02-05 Glenn Morris <rgm@gnu.org>
112 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
114 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
116 * progmodes/python.el (python-shell-send-string):
117 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
119 2014-02-04 Anders Lindgren <andlind@gmail.com>
121 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
122 the names (bug#16620).
124 2014-02-03 Martin Rudalics <rudalics@gmx.at>
126 * faces.el (window-divider): New default value. Rewrite doc-string.
127 (window-divider-first-pixel, window-divider-last-pixel): New faces.
129 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
131 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
132 `protected' and `public' can also be called without arguments.
134 2014-02-03 Glenn Morris <rgm@gnu.org>
136 * register.el (window-configuration-to-register)
137 (frame-configuration-to-register): Unadvertise unused argument.
138 * frameset.el (frameset-to-register): Remove unused argument.
140 * frameset.el (frameset-to-register):
141 * kmacro.el (kmacro-to-register):
142 * register.el (increment-register):
143 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
144 (calc-append-to-register, calc-prepend-to-register):
145 * play/gametree.el (gametree-layout-to-register)
146 (gametree-apply-register-layout):
147 * textmodes/picture.el (picture-clear-rectangle-to-register)
148 (picture-yank-rectangle-from-register):
149 * vc/emerge.el (emerge-combine-versions-register):
150 Use register-read-with-preview to read registers.
152 2014-02-03 João Távora <joaotavora@gmail.com>
154 * elec-pair.el (electric-pair-backward-delete-char): Don't error
155 when at beginning of (possibly narrowed) buffer.
157 2014-02-02 Daniel Colascione <dancol@dancol.org>
159 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
160 Also try to display local help from just before point.
162 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
164 c-parse-state. Don't "append-lower-brace-pair" in certain
165 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
166 recognised as a comment.
168 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
169 as well as normal comment starter.
170 (c-parse-state-get-strategy): Extra return possibility
172 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
173 return value list to indicate replacement of a brace-pair cons
175 (c-parse-state-1): With 'back-and-forward, only call
176 c-append-lower-brace-pair-to state-cache when cons-separated.
178 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
180 * term/ns-win.el (ns-suspend-error): New function.
181 (ns-initialize-window-system): Add ns-suspend-error to
182 suspend-hook (Bug#16612).
184 2014-02-02 Daniel Colascione <dancol@dancol.org>
186 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
188 2014-02-02 Daniel Colascione <dancol@dancol.org>
190 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
192 2014-02-02 Glenn Morris <rgm@gnu.org>
194 * register.el (register-read-with-preview, point-to-register)
195 (window-configuration-to-register, frame-configuration-to-register)
196 (jump-to-register, number-to-register, view-register, insert-register)
197 (copy-to-register, append-to-register, prepend-to-register)
198 (copy-rectangle-to-register): Doc fixes.
200 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
202 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
203 * emacs-lisp/find-func.el (find-function-C-source): Idem.
204 * emacs-lisp/nadvice.el (advice--cd*r): New function.
205 * help-fns.el (describe-function-1): Use it.
207 2014-02-02 Glenn Morris <rgm@gnu.org>
209 * register.el (register-preview-default): New function,
210 split from register-preview.
211 (register-preview-function): Rename from register-preview-functions,
213 (register-preview): Use register-preview-function.
214 (register-read-with-preview): Error on non-character event. (Bug#16595)
216 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
218 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
219 `:' before binary operators (bug#16609). Don't check for `:'
220 before `[' and `(', or their syntax status. A percent literal
221 can't end with either.
222 (ruby-font-lock-keywords): For built-ins that require arguments,
223 check that they're followed by something that looks like argument
226 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
228 * subr.el (butlast): Document what an omitted N means (bug#13437).
231 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
233 * net/shr.el (shr-generic): Make into a defsubst to make the stack
234 depth shallower (bug#16587).
235 (shr-tag-svg): Respect `shr-inhibit-images'.
236 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
238 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
240 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
241 (ruby-smie-grammar): Make "." right-associative. Make its priority
242 lower than the ternary and all binary operators.
243 (ruby-smie-rules): Indent "(" relative to the first non-"."
244 parent, or the first "." parent at indentation.
245 Use `ruby-align-chained-calls' for indentation of "." tokens.
248 2014-01-31 Juri Linkov <juri@jurta.org>
250 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
251 from `make-hash-table'.
253 * textmodes/ispell.el (ispell-init-process): Change message format
254 to be consistent with other messages.
256 2014-01-31 Glenn Morris <rgm@gnu.org>
258 * delsel.el (delete-selection-mode): Doc fix.
260 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
261 (trace-function-background): Doc fixes.
263 * ido.el (ido-use-virtual-buffers): Doc fix.
264 Reset :version, since the default value has not changed.
266 * register.el (register-preview-delay, register-read-with-preview):
269 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
270 do not mess with mail-buffer position (fixes 2009-11-03 change).
271 * progmodes/cc-mode.el (c-submit-bug-report):
272 Check auto-fill-mode is bound. (Bug#16592)
274 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
276 * startup.el (fancy-splash-image-file): New function,
277 split from fancy-splash-head.
278 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
279 so that we are both using the same image. (Bug#16574)
281 2014-01-30 Glenn Morris <rgm@gnu.org>
283 * simple.el (eval-expression): Doc fix.
285 * hexl.el (hexl-mode-hook):
286 * ielm.el (ielm-mode-hook):
287 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
288 (lisp-interaction-mode-hook):
289 * progmodes/cfengine.e (cfengine3-documentation-function):
290 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
292 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
294 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
295 is a symbol (bug#16584).
297 2014-01-30 Glenn Morris <rgm@gnu.org>
299 * help.el (help-for-help-internal): Add "P" to text.
301 2014-01-29 Glenn Morris <rgm@gnu.org>
303 * simple.el (just-one-space, cycle-spacing): Doc fixes.
305 2014-01-28 Martin Rudalics <rudalics@gmx.at>
307 * window.el (fit-frame-to-buffer): Fix calculations for margins and
310 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
312 * progmodes/hideif.el: Extend to full CPP expression syntax.
313 (hif-token-alist): Add missing tokens.
314 (hif-token-regexp): Add support for float/octal/hex immediates.
315 (hif-string-literal-regexp): New const.
316 (hif-tokenize): Recognize strings and float/octal/hex immediates.
317 (hif-exprlist): New function.
318 (hif-parse-if-exp): Use it.
319 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
320 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
321 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
322 (hif-logxor, hif-comma): New functions.
324 2014-01-28 Glenn Morris <rgm@gnu.org>
326 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
328 * indent.el (tab-stop-list): Doc fix. Add :version.
330 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
331 (cvs-append-to-ignore): Add compatibility alias.
333 2014-01-27 Glenn Morris <rgm@gnu.org>
335 * dired.el (dired-hide-details-mode): Don't autoload it,
336 since it cannot be used outside Dired buffers anyway.
338 * emulation/cua-base.el (cua-mode): Doc fix.
340 * dired.el (dired-hide-details-hide-symlink-targets)
341 (dired-hide-details-hide-information-lines)
342 (dired-hide-details-mode): Doc fixes.
344 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
345 * strokes.el (strokes-file): Doc fix. Bump :version.
346 (strokes-help): Doc fix.
347 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
348 * emulation/viper.el (viper): Doc fix for custom group.
349 (top-level): Remove oh-so-no-longer-relevant text about vip.
350 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
352 * ido.el (ido-save-directory-list-file):
353 * saveplace.el (save-place-file):
354 * calendar/timeclock.el (timeclock-file):
355 * net/quickurl.el (quickurl-url-file):
356 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
357 * progmodes/idlwave.el (idlwave-config-directory):
358 * textmodes/remember.el (remember-data-file):
361 2014-01-26 Glenn Morris <rgm@gnu.org>
363 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
364 Doc fix. Make obsolete.
365 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
367 * sort.el (delete-duplicate-lines): Doc fix.
369 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
371 * progmodes/ada-mode.el (ada):
372 * woman.el (woman): Link to info manual and Commentary section.
374 * progmodes/flymake.el (flymake):
375 * nxml/nxml-mode.el (nxml):
377 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
378 * htmlfontify.el (htmlfontify):
381 * ido.el (ido): Link to info manual.
383 2014-01-25 Leo Liu <sdl.web@gmail.com>
385 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
387 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
389 * net/shr.el (shr-tag-img): Prefer the title over the alt text
392 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
394 * net/eww.el (eww-download-callback):
395 Fix reference to eww-download-directory.
397 * emacs-lisp/bytecomp.el (byte-compile-file):
398 Remove unused local variable `file-name'.
400 2014-01-24 Glenn Morris <rgm@gnu.org>
402 * woman.el (woman-default-faces, woman-monochrome-faces):
403 Fix obsolescence specification.
405 * subr.el (with-demoted-errors): Doc fix.
407 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
409 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
410 (cl--macroexp-fboundp): New function.
411 (cl--make-type-test): Use it.
413 2014-01-23 Glenn Morris <rgm@gnu.org>
415 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
416 * simple.el (eval-expression): Doc fixes.
418 2014-01-22 Glenn Morris <rgm@gnu.org>
420 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
422 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
424 * emacs-lisp/package.el: Write files silently.
425 (package-autoload-ensure-default-file, package--write-file-no-coding)
426 (package-generate-description-file, package--download-one-archive)
427 (package-install-from-archive): Tell `write-region' to stay quiet.
428 (package-menu-mode, package-menu--print-info): Omit the Archive column
429 if there's only one archive.
430 (package-all-keywords, package--has-keyword-p): Remove dead code.
432 2014-01-22 Glenn Morris <rgm@gnu.org>
434 * version.el (emacs-bzr-version-bzr): Fix typo.
436 * version.el (emacs-repository-get-version):
437 Check either .bzr or .git, but not both.
438 Make the git case actually use the DIR argument, and return nil
439 rather than the empty string.
440 Avoid error if .git exists but the git executable is not found.
442 2014-01-22 Martin Rudalics <rudalics@gmx.at>
444 Fixes in window size functions around Bug#16430 and Bug#16470.
445 * window.el (window-total-size, window-size): New argument ROUND.
446 (window--min-delta-1, window-min-delta, window--max-delta-1):
447 Be more conservative when calculating the numbers of lines or
448 columns a window can shrink (Bug#16430).
449 (fit-window-to-buffer): Simplify code.
450 * term.el (term-window-width): Call window-body-width again.
452 2014-01-22 Glenn Morris <rgm@gnu.org>
454 * image.el (image-format-suffixes): Doc fix.
456 * international/quail.el (quail-define-package): Doc fix.
458 * emacs-lisp/authors.el (authors-valid-file-names):
459 (authors-renamed-files-alist): Additions.
461 * vc/vc-git.el (vc-git-print-log): Remove --follow;
462 reverts 2014-01-09 change. (Bug#16422)
464 * calc/calc-embed.el (thing-at-point-looking-at):
465 * emacs-lisp/map-ynp.el (x-popup-dialog):
466 * obsolete/lmenu.el (x-popup-dialog):
467 * emacs-lisp/package.el (url-recreate-url):
468 * mail/mailclient.el (clipboard-kill-ring-save):
469 * subr.el (x-popup-dialog): Update declaration.
470 * mail/rmail.el (rmail-mime-message-p):
471 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
473 2014-01-21 Daniel Colascione <dancol@dancol.org>
475 * progmodes/sh-script.el (sh--inside-noncommand-expression):
476 Correctly detect when we're inside an arithmetic expansion form
477 containing nested parenthesis.
478 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
479 to detect cases where we shouldn't expand "<<" to a heredoc
482 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
484 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
485 (eldoc--message-command-p): New function.
486 (eldoc-display-message-p): Use it.
487 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
488 message is not automatically erased for us.
489 (eldoc-print-current-symbol-info): Erase previous message, if any.
491 2014-01-21 Tassilo Horn <tsdh@gnu.org>
493 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
494 specify it's an interactive function.
496 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
497 Fix regex used for scanning for citation keys which failed for
498 citations with optional arguments.
500 2014-01-21 Leo Liu <sdl.web@gmail.com>
502 * simple.el (read--expression): Don't enable eldoc-mode.
504 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
506 * simple.el (move-beginning-of-line): Make sure we don't move forward
509 2014-01-20 Juri Linkov <juri@jurta.org>
511 * saveplace.el (toggle-save-place, save-place-to-alist)
512 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
513 'dired-mode) before checking for dired-directory. (Bug#16477)
515 2014-01-20 Juri Linkov <juri@jurta.org>
517 * indent.el (indent-line-to): Use backward-to-indentation
518 instead of back-to-indentation. (Bug#16461)
520 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
522 Revert some of the CANNOT_DUMP fix (Bug#16494).
523 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
524 but fixing this can wait until after the next release.
525 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
527 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
529 * eshell/esh-mode.el (eshell-password-prompt-regexp):
530 Use `password-word-equivalents'.
531 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
532 to t. (Bug#5664, Bug#13124)
534 2014-01-19 Alan Mackenzie <acm@muc.de>
536 Bind open-paren-in-column-0-is-defun-start to nil at some entry
538 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
539 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
540 * progmodes/cc-mode.el (c-before-change, c-after-change)
541 (c-font-lock-fontify-region): Bind it here.
543 2014-01-19 Martin Rudalics <rudalics@gmx.at>
545 * term.el (term-window-width): Call window-text-width instead of
546 window-width (Bug#16470).
548 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
550 * simple.el (password-word-equivalents): Remove duplicates.
551 Sort, to make this easier next time.
552 Downcase. Omit ": " after "jelszó".
554 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
556 * term/common-win.el (saved-region-selection): Defvar it.
557 (x-select-text): Set saved-region-selection (Bug#16382).
559 2014-01-18 Glenn Morris <rgm@gnu.org>
561 * emacs-lisp/authors.el (authors-aliases)
562 (authors-renamed-files-alist): Add some entries.
564 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
566 * net/tramp.el (tramp-password-prompt-regexp):
567 Use `password-word-equivalents' if available.
568 (tramp-action-password, tramp-process-one-action)
569 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
571 2014-01-17 Chong Yidong <cyd@gnu.org>
573 * simple.el (password-word-equivalents): New defcustom.
574 * comint.el (comint-password-prompt-regexp): Use it. Bump version
576 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
579 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
581 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
582 (ruby-align-to-stmt-keywords): Change the default value.
583 Use `ruby-alignable-keywords' to generate the possible customization
585 (ruby-smie-rules): Instead of using a hardcoded list of alignable
586 keywords, check against the value of `ruby-alignable-keywords'
587 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
589 2014-01-17 Glenn Morris <rgm@gnu.org>
591 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
593 Make M-x authors return zero *Authors Errors* from current logs.
594 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
595 (authors-ignored-files): Add some entries, remove others.
596 (authors-ambiguous-files, authors-valid-file-names):
598 (authors-renamed-files-alist): Add, remove, and adjust entries.
599 (authors-renamed-files-regexps): Add some entries.
600 Remove some very broad ones. Make some entries `lax'.
601 (authors-lax-changelogs): New constant.
602 (authors-disambiguate-file-name): Treat top-level specially.
603 (authors-lax-changelog-p): New function.
604 (authors-canonical-file-name): Check file as written against
605 authors-valid-file-names. Do not special-case etc/.
606 Handle `lax' logs and authors-renamed-files-regexps elements.
608 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
610 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
611 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
614 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
616 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
617 Assume we're already in the proper buffer.
618 Inspired by Anders Lindgren <andlind@gmail.com>.
619 (follow-post-command-hook): Call it from the right buffer.
620 (follow-comint-scroll-to-bottom): Adjust call.
621 (follow-all-followers): Use get-buffer-window-list.
623 2014-01-15 Daniel Colascione <dancol@dancol.org>
625 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
626 `buffer-file-name' in interactive-form so that we don't leave
627 pathless file names in `file-name-history'.
629 2014-01-15 Juri Linkov <juri@jurta.org>
631 * indent.el (indent-rigidly): Set deactivate-mark to nil
632 in transient indentation mode. (Bug#16438)
634 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
636 * emacs-lisp/package.el (package-desc-keywords): New function
638 (describe-package-1, package-all-keywords)
639 (package--has-keyword-p): Use it.
641 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
643 * simple.el (define-alternatives): When creating the
644 COMMAND-alternatives variable, assign COMMAND as its definition
645 name so that `describe-variable' can relocate it.
647 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
649 * font-lock.el (font-lock-keywords): Fix typo in docstring
652 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
654 * ispell.el (ispell-region): Reset `in-comment' for new line
655 instead of wrongly reset `add-coment' (bug#13577).
657 2014-01-14 Daiki Ueno <ueno@gnu.org>
659 * epa-file.el (epa-file-write-region): Encode the region according
660 to `buffer-file-format'. Problem reported at:
661 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
663 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
665 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
666 so it applies in the right buffer (bug#16410).
668 2014-01-13 Daniel Colascione <dancol@dancol.org>
670 * textmodes/rst.el (rst-define-key): Provide deprecated
671 keybindings through named functions instead of anonymous ones so
672 that "??" doesn't appear in describe-mode output.
674 2014-01-13 Bastien Guerry <bzg@gnu.org>
676 * simple.el (define-alternatives): Call the selected command
677 interactively. When setting `COMMAND--implementation' for the
678 first time, tell the user how to chose another implementation.
679 Enhance the docstring.
681 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
683 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
684 (log-edit--match-first-line): New function.
685 (log-edit-font-lock-keywords): Use it.
686 (log-edit-mode): Make jit-lock-defer-multiline work.
688 2014-01-13 Bastien Guerry <bzg@gnu.org>
690 * rect.el (rectangle-mark-mode): When the region is not active,
691 display a message saying that the mark as been set and that
692 rectangle mode is in use.
693 (rectangle--highlight-for-redisplay): Only put an overlay with a
694 visible vertical bar when (display-graphic-p) is non-nil.
695 This partially fixes Bug#16403.
697 2014-01-13 Juri Linkov <juri@jurta.org>
699 * info.el (Info-find-file): Go to DIR before displaying the error
700 about a nonexistent file if no previous Info file is visited.
701 Use `user-error' instead of `error' for "Info file %s does not exist".
702 (Info-find-node-2): In case of a nonexistent node in unwind forms
703 go to the Top node if there is no previous node to revert to.
706 2014-01-13 Martin Rudalics <rudalics@gmx.at>
708 fit-frame/window-to-buffer code fixes including one for Bug#14096.
709 * window.el (fit-frame-to-buffer): Fix doc-string.
710 Respect window-min-height/-width. Fit pixelwise when
711 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
712 when avoiding that frame goes partially off-screen.
713 (fit-window-to-buffer): Respect window-min-height/-width
716 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
718 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
721 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
723 * net/shr.el (shr-render-region): Autoload.
725 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
727 * net/eww.el (eww-download-directory): Rename from
728 `eww-download-path' (Bug#16419).
730 2014-01-12 Leo Liu <sdl.web@gmail.com>
732 * dired-x.el (dired-mode-map): Fix last change.
734 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
736 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
739 * emacs-lisp/generic.el (generic--normalize-comments):
740 Rename from generic--normalise-comments. All uses changed.
741 * play/bubbles.el (bubbles--neighborhood-score):
742 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
743 (bubbles--neighborhood-available)
744 (bubbles--update-neighborhood-score):
745 Rename from names with 'neighbourhood'. All uses changed.
747 2014-01-12 Leo Liu <sdl.web@gmail.com>
749 Re-implement the feature of showing eldoc info after editing.
750 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
751 (eldoc-edit-message-commands): New function.
752 (eldoc-print-after-edit): New variable.
753 (eldoc-pre-command-refresh-echo-area): Emit message only by
754 eldoc-message-commands.
755 (eldoc-mode): Restrict eldoc-message-commands to editing commands
756 if eldoc-print-after-edit is set. (Bug#16346)
757 * simple.el (read--expression): Enable eldoc-mode.
758 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
760 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
761 Eric S. Raymond <esr@thyrsus.com>
763 * version.el (emacs-repository-get-version): Enhance so the
764 function works correctly in either a Bazaar or Git repo.
766 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
768 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
769 Goes with removal of the joke manpages from /etc.
771 2014-01-10 K. Handa <handa@gnu.org>
773 * mail/rmail.el (rmail-get-coding-system):
774 Check rmail-get-coding-function before "funcall"ing it.
776 2014-01-10 Glenn Morris <rgm@gnu.org>
778 * emacs-lisp/authors.el (authors-fixed-entries):
779 Update for files that no longer exist.
781 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
783 * version.el (emacs-bzr-get-version): Restore compatibilty with
786 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
788 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
791 2014-01-10 Eli Zaretskii <eliz@gnu.org>
793 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
795 2014-01-10 Chong Yidong <cyd@gnu.org>
797 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
799 2014-01-10 Anders Lindgren <andlind@gmail.com>
801 * follow.el (follow-cache-command-list): Include right-char and
804 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
807 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
808 * woman.el (woman-mark-horizontal-position):
809 Rename from woman-mark-horizonal-position. Use changed.
811 2014-01-10 Glenn Morris <rgm@gnu.org>
813 * info.el (info-initialize): If running uninstalled, ensure our
814 own info files are always found first, even if INFOPATH is set.
816 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
818 2014-01-09 David Engster <deng@randomsample.de>
820 * emacs-lisp/eieio-custom.el:
821 * emacs-lisp/eieio-opt.el: Set generated autoload file to
822 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
823 * emacs-lisp/eieio.el: Regenerate autoloads.
825 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
827 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
828 following renames. (Bug#8756)
830 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
832 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
834 (activate-mark): Add `no-tmm' argument.
835 (set-mark, push-mark-command): Use it instead of running
836 activate-mark-hook by hand.
838 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
840 In preparation for the move to git, sanitize out some
841 Bazaar-specific names.
843 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
845 * version.el (emacs-bzr-version): Name changed to
846 emacs-repository-version. Obsolete-variable alias made.
847 * loadup.el: Follow through on this name change.
848 * mail/emacsbug.el (report-emacs-bug): Factor out any
849 assumption about the version control system in use.
851 2014-01-08 David Engster <deng@randomsample.de>
853 * help-fns.el (help-fns-describe-function-functions):
854 New variable to call functions for augmenting help buffers.
855 (describe-function-1): Remove explicit calls to
856 `help-fns--compiler-macro', `help-fns--parent-mode' and
857 `help-fns--obsolete'. Put them in above new variable instead, and
858 call them through `run-hook-with-args'.
859 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
860 `eieio-describe-class'. Not meant for interactive use anymore,
861 but to augment existing help buffers. Remove optional second
862 argument. Create proper button for file location.
863 Rewrite function to use `insert' instead of `princ' and `prin1' where
865 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
866 (eieio-method-def, eieio-class-def): Move further up.
867 (describe-method, describe-generic, eieio-describe-method):
869 (eieio-help-constructor, eieio-help-generic): Rename from
870 `eieio-describe-constructor' and `eieio-describe-generic', resp.
871 Rewrite to use `insert' in the current buffer and use proper help
873 (eieio-help-find-method-definition)
874 (eieio-help-find-class-definition): Also accept symbols as
876 (eieio-help-mode-augmentation-maybee): Remove.
877 (eieio-describe-class-sb): Use `describe-function'.
878 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
879 Add `eieio-help-generic' and `eieio-help-constructor'.
881 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
884 * language/china-util.el (hz-ascii-designation):
885 Rename from hz-ascii-designnation.
886 (hz-ascii-designation): Rename from hz-ascii-designnation.
889 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
891 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
894 2014-01-08 Bastien Guerry <bzg@gnu.org>
896 * emacs-lisp/package.el (package-delete):
897 Correctly delete the package from package-alist.
899 2014-01-08 Daiki Ueno <ueno@gnu.org>
901 * emacs-lisp/package.el (url-recreate-url): Declare.
902 (url-http-target-url): Declare.
903 (package-handle-response): Include requested URL in the error message.
904 (package--check-signature): Don't re-signal errors from
905 package--with-work-buffer. Suggested by Stefan Monnier.
907 2014-01-07 Bastien Guerry <bzg@gnu.org>
909 * minibuffer.el (completion--try-word-completion): When both a
910 hyphen and a space are possible candidates for the character
911 following a word, display both candidates. (Bug#15980)
913 2014-01-07 Martin Rudalics <rudalics@gmx.at>
915 * window.el (balance-windows-2): While rounding don't give a
916 window more than the remainder. Bug#16351, Bug#16383.
918 2014-01-07 Glenn Morris <rgm@gnu.org>
920 * menu-bar.el (menu-bar-help-extra-packages): Remove.
921 (menu-bar-help-menu): Use view-external-packages instead.
923 2014-01-07 Bastien Guerry <bzg@gnu.org>
925 * emacs-lisp/package.el (package-delete): Also delete the package
926 name from `package-alist', not its description only.
928 2014-01-07 Glenn Morris <rgm@gnu.org>
930 * help.el (view-external-packages):
931 * menu-bar.el (menu-bar-help-extra-packages):
932 Visit efaq.info rather than etc/MORE.STUFF.
934 2014-01-07 Juri Linkov <juri@jurta.org>
936 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
937 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
939 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
940 that shadows RET. (Bug#16342)
942 2014-01-07 Chong Yidong <cyd@gnu.org>
944 * isearch.el (isearch-yank-char, isearch-yank-word)
945 (isearch-yank-line): Doc fix.
947 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
949 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
950 * emacs-lisp/elint.el (elint-find-builtins):
951 * emacs-lisp/eldoc.el (eldoc-symbol-function):
952 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
953 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
954 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
955 * apropos.el (apropos-safe-documentation):
956 * subr.el (symbol-file): Remove redundant fboundp.
957 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
959 2014-01-06 Bastien Guerry <bzg@gnu.org>
961 * hl-line.el (global-hl-line-overlay): Make a local variable.
962 (global-hl-line-overlays): New variable to store all overlays.
963 (global-hl-line-mode): Don't delete overlays from the current
964 buffer when `global-hl-line-sticky-flag' is non-nil.
965 (global-hl-line-highlight): Add new overlays to
966 `global-hl-line-overlays'.
967 (global-hl-line-unhighlight-all): New function to delete all
968 overlays when turning off `global-hl-line-mode'.
969 This fixes Bug#16183.
971 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
973 * subr.el (set-transient-map): Fix nested case and docstring.
975 2014-01-06 Tassilo Horn <tsdh@gnu.org>
977 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
980 2014-01-06 Daniel Colascione <dancol@dancol.org>
982 Fix defun navigation in vc log view.
984 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
985 like `beginning-of-defun'.
986 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
987 log-view-end-of-defun to log-view-end-of-defun-1. Replace
988 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
989 (log-view-extract-comment): Call `log-view-current-entry' directly
990 instead of relying on broken `log-view-beginning-of-defun' behavior.
992 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
995 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
996 * emacs-lisp/debug.el (cancel-debug-on-entry):
997 * epg.el (epg-error-to-string):
998 * files.el (recover-file):
999 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1000 * mail/emacsbug.el (report-emacs-bug-hook):
1001 * mail/sendmail.el (mail-recover):
1002 * ses.el (ses-yank-resize):
1003 * term/ns-win.el (ns-print-buffer):
1004 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1005 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1007 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1009 2014-01-06 Leo Liu <sdl.web@gmail.com>
1011 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1012 to avoid shadowing global key. (Bug#16354)
1014 2014-01-06 Daniel Colascione <dancol@dancol.org>
1016 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1019 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1021 * window.el (balance-windows): Add mising t to fix Bug#16351.
1023 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1025 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1027 (shr-insert): If we have a word that's longer than `shr-width',
1028 break after it anyway. Otherwise we'll do no breaking once we get
1031 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1033 * net/eww.el (eww): Support single/double quote for search.
1034 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1035 (eww-history-quit): Delete and use quit-window.
1036 (eww-history-kill): Delete, because it doesn't work well and
1038 (eww-history-mode-map): Delete some keys and add easy-menu.
1040 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1042 Fix misspelling of 'chinese' in rx (Bug#16237).
1043 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1046 Change subword regexps back to vars (Bug#16296).
1047 * progmodes/subword.el (subword-forward-regexp)
1048 (subword-backward-regexp): Change these back to variables.
1050 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1052 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1053 syntax-begin-function (bug#16247).
1055 2014-01-03 Chong Yidong <cyd@gnu.org>
1057 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1058 (advice--docstring): Delete variable.
1059 (advice--make-1): Leave the docstring empty.
1060 (advice-add): Use function-documentation for advised docstring.
1062 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1063 Ignore function-documentation property when getting documentation.
1064 (ad-activate-advised-definition): Use function-documentation
1065 generate the docstring.
1066 (ad-make-advised-definition): Don't call
1067 ad-make-advised-definition-docstring.
1068 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1071 * progmodes/sql.el (sql-help): Use function-documentation instead
1072 of dynamic-docstring-function property. No need to autoload now.
1073 (sql--help-docstring): New variable.
1074 (sql--make-help-docstring): Use it.
1076 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1078 * ielm.el (ielm-tab): Retarget.
1079 (ielm-map): Use ielm-tab for tab.
1080 (ielm-complete-filename): Use comint-filename-completion.
1081 (ielm-complete-symbol): Remove.
1082 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1083 remove ielm-tab from completion-at-point-functions (bug#16224).
1085 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1086 Beware signals raised by predicates (bug#16201).
1088 2014-01-02 Richard Stallman <rms@gnu.org>
1090 * dired-aux.el (dired-do-print): Handle printer-name.
1092 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1093 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1094 (rmail-epa-decrypt): Turn off mime processing.
1096 * mail/rmail.el (rmail-make-in-reply-to-field):
1097 Add parens in message-id.
1099 * mail/rmail.el (rmail-get-coding-function): Variable.
1100 (rmail-get-coding-system): Use it.
1102 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1104 * international/mule-conf.el: Unify the charset indian-is13194.
1105 (indian-is13194): Specify unify-map.
1107 2013-12-31 Leo Liu <sdl.web@gmail.com>
1109 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1111 2013-12-30 Daniel Colascione <dancol@dancol.org>
1113 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1114 of printing a useless when we resume from sleep.
1116 * progmodes/sh-script.el
1117 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1118 in indentation code. (Bug#16233)
1120 2013-12-28 João Távora <joaotavora@gmail.com>
1122 * elec-pair.el (electric-pair-post-self-insert-function):
1123 Don't open extra newlines at beginning of buffer. (Bug#16272)
1125 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1127 * frame.el (window-system-for-display): Don't allow to create a
1128 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1130 2013-12-28 Glenn Morris <rgm@gnu.org>
1132 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1135 * apropos.el (apropos-match-face):
1136 * calculator.el (calculator-displayer):
1137 * dabbrev.el (dabbrev-search-these-buffers-only):
1138 * face-remap.el (buffer-face-mode-face):
1139 * simple.el (yank-handled-properties):
1140 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1141 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1142 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1143 (hashcash-double-spend-database):
1144 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1145 (ruby-deep-indent-paren-style):
1146 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1147 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1148 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1149 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1150 Specify custom types.
1152 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1153 * bookmark.el (bookmark-bmenu-use-header-line):
1154 * doc-view.el (doc-view-scale-internally):
1155 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1156 * register.el (register-preview-delay):
1157 * net/shr.el (shr-bullet):
1158 * progmodes/cfengine.el (cfengine-cf-promises)
1159 (cfengine-parameters-indent):
1160 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1161 * textmodes/reftex-vars.el (reftex-label-regexps):
1162 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1164 * net/tls.el (tls-certtool-program): Fix default value.
1166 * desktop.el (desktop-restore-in-current-display):
1167 * newcomment.el (comment-empty-lines):
1168 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1169 (idlwave-pad-keyword):
1170 * progmodes/tcl.el (tcl-tab-always-indent):
1171 * textmodes/reftex-vars.el (reftex-index-default-tag):
1172 * elec-pair.el (electric-pair-skip-whitespace):
1173 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1175 * emacs-lisp/authors.el (authors-ignored-files)
1176 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1178 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1180 * shell.el (shell-dynamic-complete-command): Doc fix.
1181 (shell--command-completion-data): Shell completion now matches
1182 executable filenames from the current buffer's directory, on
1183 systems in which this behavior is the default (windows-nt, ms-dos).
1185 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1187 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1189 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1191 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1194 * electric.el: Move all electric-pair-* to elec-pair.el.
1195 * elec-pair.el: New file, split from electric.el.
1197 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1199 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1200 indentation level is larger than the width, because that will
1202 (shr-insert): Fill repeatedly long texts, so that Japanese is
1203 formatted correctly (bug#16263).
1204 (shr-find-fill-point): Off by one error in comparison with the
1207 2013-12-26 João Távora <joaotavora@gmail.com>
1209 * electric.el (electric-pair-mode): More flexible engine for skip-
1210 and inhibit predicates, new options for pairing-related functionality.
1211 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1212 if that keeps or improves their balance in buffers.
1213 (electric-pair-delete-adjacent-pairs): Delete the pair when
1214 backspacing over adjacent matched delimiters.
1215 (electric-pair-open-extra-newline): Open extra newline when
1216 inserting newlines between adjacent matched delimiters.
1217 (electric--sort-post-self-insertion-hook):
1218 Sort post-self-insert-hook according to priority values when
1219 minor-modes are activated.
1220 * simple.el (newline-and-indent): Call newline with interactive
1222 (blink-paren-post-self-insert-function): Set priority to 100.
1223 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1224 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1225 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1226 electric-pair-open-newline-between-pairs to nil.
1228 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1230 * progmodes/python.el: Use lexical-binding.
1231 (python-nav-beginning-of-defun): Stop searching ASAP.
1233 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1235 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1236 Fix interactive spec. Doc fix. (Bug#15754)
1238 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1240 * emacs-lisp/byte-run.el (eval-when-compile):
1241 * progmodes/cc-defs.el (cc-eval-when-compile):
1242 Fix edebug spec (bug#16184).
1244 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1246 * net/shr.el (shr-visit-file): Remove debugging function.
1247 (shr-insert): Don't infloop if we can't find a good place to break
1248 the line (bug#16256).
1250 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1252 * progmodes/python.el:
1253 (python-nav--lisp-forward-sexp): New function.
1254 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1255 python-nav-lisp-forward-sexp-safe.
1256 (python-nav--forward-sexp): New argument SAFE allows switching
1257 forward sexp movement behavior for parens.
1258 (python-nav-forward-sexp): Throw errors on unterminated parens
1260 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1261 (python-nav-backward-sexp-safe): New functions.
1262 (python-shell-buffer-substring):
1263 Use `python-nav-forward-sexp-safe'.
1265 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1267 * net/shr.el (shr-find-fill-point): Don't break lines before a
1269 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1270 (shr-find-fill-point): Remove the special checks for the quotation
1271 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1273 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1275 * net/eww.el (eww-form-textarea): Use a different face for
1276 textareas than text input since they have different keymaps
1279 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1281 * progmodes/python.el (python-nav-beginning-of-statement):
1282 Speed up (Bug#15295).
1284 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1286 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1287 the window configuration.
1289 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1291 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1292 we run on MS-Windows or MS-DOS.
1294 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1296 * window.el (balance-windows-area): Call window-size instead of
1297 window-height and window-width. Bug#16241.
1299 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1301 * net/eww.el (eww-bookmark-quit): Remove.
1302 (eww-bookmark-browse): Restore the window configuration when you
1303 choose a bookmark (bug#16144).
1305 2013-12-24 Daniel Colascione <dancol@dancol.org>
1307 * icomplete.el: Remove redundant :group arguments to `defcustom'
1309 (icomplete-show-matches-on-no-input): New customizable variable.
1310 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1311 we have something to show.
1312 (icomplete-exhibit): Compute completions even if we have no user input.
1314 2013-12-23 Daniel Colascione <dancol@dancol.org>
1316 * icomplete.el: Move `provide' to end of file.
1318 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1320 * net/gnutls.el (gnutls-verify-error): Add version tag.
1322 2013-12-23 Chong Yidong <cyd@gnu.org>
1324 * subr.el (set-transient-map): Rename from
1325 set-temporary-overlay-map. Doc fix.
1327 * face-remap.el (text-scale-adjust):
1328 * indent.el (indent-rigidly):
1329 * kmacro.el (kmacro-call-macro):
1330 * minibuffer.el (minibuffer-force-complete):
1331 * repeat.el (repeat):
1332 * simple.el (universal-argument--mode):
1333 * calendar/todo-mode.el (todo-insert-item--next-param):
1334 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1336 * indent.el (indent-rigidly): Use substitute-command-keys.
1338 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1340 * net/eww.el (eww-tag-select): Add text-property to jump to next
1342 (eww): Add non-supported ftp error.
1344 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1346 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1347 comments. Handle electric indent after typing `?' and `!'.
1349 2013-12-22 Chong Yidong <cyd@gnu.org>
1351 * faces.el (face-spec-recalc): If the theme specs are not
1352 applicable to a frame, fall back on the defface spec.
1353 This prevents themes from obliterating faces on low-color terminals.
1355 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1357 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1358 after `{'. We need it after block openers, and it doesn't seem
1359 to hurt after hash openers.
1361 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1363 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1364 extracted from `ruby-smie-rules'.
1365 (ruby--electric-indent-chars): New variable.
1366 (ruby--electric-indent-p): New function.
1367 (ruby-mode): Use `electric-indent-functions' instead of
1368 `electric-indent-chars'.
1370 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1372 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1374 (ruby-smie-rules): Indent plus one level after `=>'.
1376 2013-12-21 Richard Stallman <rms@gnu.org>
1378 * simple.el (newline): Doc fix.
1380 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1382 * net/eww.el (eww-list-histories, eww-list-histories)
1383 (eww-history-browse, eww-history-quit, eww-history-kill)
1384 (eww-history-mode-map, eww-history-mode): New command and
1385 functions to list browser histories.
1386 (eww-form-text): Support text form with disabled
1387 and readonly attributes.
1388 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1390 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1392 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1393 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1394 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1395 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1397 (eww-bookmark-mode-map): Add menu.
1398 (eww-render, eww-mode): Use `setq-local'.
1399 (eww-tool-bar-map): New variable.
1400 (eww-mode): Set `tool-bar-map'.
1401 (eww-view-source): Check for `html-mode' with `fboundp'.
1403 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1405 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1406 elements with text inside. Also remove debugging.
1408 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1410 * cus-start.el (all): Add ns-use-srgb-colorspace.
1412 2013-12-21 Chong Yidong <cyd@gnu.org>
1414 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1415 undefined. Thus, theme settings for undefined faces do not take
1416 effect until the faces are defined with defface, the same as with
1419 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1420 (face-spec-reset-face): Don't assign extra properties in temacs.
1421 (face-spec-recalc): Apply X resources too.
1423 2013-12-21 Chong Yidong <cyd@gnu.org>
1425 * faces.el (face-spec-set):
1426 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1427 * custom.el (defface): Doc fixes (Bug#16203).
1429 * indent.el (indent-rigidly-map): Add docstring, and move commands
1430 into named functions.
1431 (indent-rigidly-left, indent-rigidly-right)
1432 (indent-rigidly-left-to-tab-stop)
1433 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1434 indentation direction based on bidi direction, and accumulate
1435 sequential commands in a single undo boundary.
1436 (indent-rigidly--pop-undo): New utility function.
1438 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1440 * faces.el (read-face-name): Require crm.el when using crm-separator.
1442 2013-12-20 Daniel Colascione <dancol@dancol.org>
1444 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1445 so that we don't reflow comments into the shebang line.
1447 2013-12-20 Juri Linkov <juri@jurta.org>
1449 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1450 a position when `dired-directory' is non-nil. Check integer
1451 positions with `integerp'.
1452 (toggle-save-place, save-places-to-alist): Add check for
1454 (save-place-find-file-hook): Check integer positions with
1456 (save-place-dired-hook): Use `dired-goto-file' when
1457 `dired-filename' is found in the assoc list. Check integer
1458 positions with `integerp'.
1459 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1461 * dired.el (dired-initial-position-hook): Rename back from
1462 `dired-initial-point-hook'.
1463 (dired-initial-position): Rename `dired-initial-point-hook' to
1464 `dired-initial-position-hook'.
1465 (dired-file-name-at-point): Doc fix. (Bug#15329)
1467 2013-12-20 Juri Linkov <juri@jurta.org>
1469 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1470 (read-regexp-suggestions): New function.
1471 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1472 Use `read-regexp-suggestions'. Add non-empty default to history
1474 (occur-read-regexp-defaults-function): Remove function.
1475 (occur-read-primary-args): Use `regexp-history-last' instead of
1476 `occur-read-regexp-defaults-function'.
1478 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1479 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1480 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1481 `hi-lock-read-regexp-defaults-function'. Doc fix.
1482 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1483 with `find-tag-default-as-symbol-regexp'. Doc fix.
1484 (hi-lock-read-regexp-defaults): Remove function.
1485 (hi-lock-regexp-okay): Add check for null.
1487 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1488 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1490 * subr.el (find-tag-default-as-symbol-regexp): New function.
1491 (find-tag-default-as-regexp): Move symbol regexp formatting to
1492 `find-tag-default-as-symbol-regexp'.
1494 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1496 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1499 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1501 * calendar/todo-mode.el: New implementation of item insertion
1502 commands and key bindings.
1503 (todo-key-prompt): New face.
1504 (todo-insert-item): New command.
1505 (todo-insert-item--parameters): New defconst, replacing defvar
1506 todo-insertion-commands-args-genlist.
1507 (todo-insert-item--param-key-alist): New defconst, replacing
1508 defvar todo-insertion-commands-arg-key-list.
1509 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1510 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1511 (todo-insert-item--next-param): New functions.
1512 (todo-insert-item--args, todo-insert-item--argleft)
1513 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1515 (todo-key-bindings-t): Change binding of "i" from
1516 todo-insertion-map to todo-insert-item.
1517 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1518 (todo-insertion-command-name, todo-insertion-commands-names)
1519 (todo-define-insertion-command, todo-insertion-commands)
1520 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1522 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1524 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1525 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1527 (todo-move-category): Allow choosing a non-existing todo file to
1528 move the category to, and create that file.
1529 (todo-default-priority): New user option.
1530 (todo-set-item-priority): Use it.
1531 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1532 (desktop-restore-file-buffer): Declare.
1533 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1534 (todo-modes-set-2): Locally set desktop-save-buffer to
1535 todo-desktop-save-buffer.
1536 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1537 (auto-mode-alist): Add autoload cookie.
1539 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1541 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1542 helpers.el was a poor choice of name.
1543 (string-remove-prefix): New function.
1544 (string-remove-suffix): New function.
1546 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1548 Fix assignment for new window total sizes.
1549 * window.el (window--pixel-to-size): Remove function.
1550 (window--pixel-to-total-1, window--pixel-to-total):
1551 Fix calculation of new total sizes.
1553 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1555 * comint.el (comint-output-filter): Fix rear-nonsticky property
1556 placement (Bug#16010).
1558 2013-12-20 Chong Yidong <cyd@gnu.org>
1560 * faces.el (read-color): Minor fix for completion function.
1562 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1564 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1565 New option. (Bug#16182)
1566 (ruby-smie--indent-to-stmt-p): Use it.
1567 (ruby-smie-rules): Revert the logic in the handling of `when'.
1568 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1569 (ruby-deep-arglist, ruby-deep-indent-paren)
1570 (ruby-deep-indent-paren-style): Update docstrings to note that the
1571 vars don't have any effect with SMIE.
1573 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1575 * calc/calc.el (calc-enter, calc-pop): Use the variable
1576 `calc-context-sensitive-enter'.
1578 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1580 * net/shr.el (shr-insert): Protect against infloops in degenerate
1583 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1585 * progmodes/octave.el (octave): Add link to manual and octave
1587 (octave-mode-menu): Link to octave-mode manual.
1589 2013-12-20 Leo Liu <sdl.web@gmail.com>
1591 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1592 insertion using skeleton-end-newline. (Bug#16138)
1594 2013-12-20 Juri Linkov <juri@jurta.org>
1596 * replace.el (occur-engine): Use `add-face-text-property'
1597 to add the face property to matches and titles. (Bug#14645)
1599 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1600 the palette of other hi-lock colors.
1601 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1603 2013-12-19 Juri Linkov <juri@jurta.org>
1605 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1606 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1607 (minibuffer-history-symbol): Move variable declaration closer to
1610 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1613 2013-12-19 Juri Linkov <juri@jurta.org>
1615 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1617 (log-edit-hook): Add it to :options. (Bug#16170)
1619 2013-12-19 Juri Linkov <juri@jurta.org>
1621 * simple.el (eval-expression-print-format): Don't check for
1622 command names and the last command. Always display additional
1623 formats of the integer result in the echo area, and insert them
1624 to the current buffer only with a zero prefix arg.
1625 Display character when char-displayable-p is non-nil.
1626 (eval-expression): With a zero prefix arg, set `print-length' and
1627 `print-level' to nil, and insert the integer values from
1628 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1630 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1631 `eval-last-sexp-arg-internal'. Doc fix.
1632 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1633 `eval-last-sexp-print-value'. Doc fix.
1634 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1635 Set `print-length' and `print-level' to nil when arg is zero.
1636 (eval-last-sexp): Doc fix.
1637 (eval-defun-2): Print the integer values from
1638 `eval-expression-print-format' at the end.
1640 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1641 values from `eval-expression-print-format' at the end.
1643 * ielm.el (ielm-eval-input): Print the integer
1644 values from `eval-expression-print-format' at the end.
1646 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1648 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1649 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1651 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1653 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1654 (hl-line-highlight, global-hl-line-highlight): Use it.
1655 (hl-line-overlay): Use defvar-local.
1657 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1659 * term/ns-win.el: Require dnd.
1660 (global-map): Remove drag items.
1661 (ns-insert-text, ns-set-foreground-at-mouse)
1662 (ns-set-background-at-mouse):
1663 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1664 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1667 2013-12-19 Glenn Morris <rgm@gnu.org>
1669 * emacs-lisp/ert.el (ert-select-tests):
1670 Fix string/symbol mixup. (Bug#16121)
1672 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1674 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1675 keywords to their parent.
1677 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1679 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1680 first arg to be a string (fixed dead code), or an operator symbol.
1681 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1683 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1684 did nothing. Don't respond to `(:after ".")', it will be called
1685 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1686 change anything. Only return indentation for binary operators
1687 when they are hanging. De-dent opening paren when its parent is
1688 `.', otherwise it looks bad when the dot is not at bol or eol
1691 2013-12-19 Juri Linkov <juri@jurta.org>
1693 * replace.el (query-replace-read-args): Split a non-negative arg
1694 and a negative arg into separate elements.
1695 (query-replace, query-replace-regexp, replace-string)
1696 (replace-regexp): Add arg `backward'. Doc fix.
1697 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1698 move point to the beginning of the match.
1699 (replace-search, replace-highlight): Use new arg `backward'
1700 to set the value of `isearch-forward'.
1701 (perform-replace): Add arg `backward' and use it to perform
1702 replacement backward. (Bug#14979)
1704 * isearch.el (isearch-query-replace): Use a negative prefix arg
1705 to call `perform-replace' with a non-nil arg `backward'.
1707 2013-12-18 Juri Linkov <juri@jurta.org>
1709 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1710 to the default list. Move `log-edit-show-files' to the end.
1711 Add more available functions to options.
1712 (log-edit): Move default specific settings to
1713 `log-edit-insert-message-template'. Don't move point.
1714 (log-edit-insert-message-template): New function.
1715 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1718 2013-12-18 Juri Linkov <juri@jurta.org>
1720 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1721 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1723 2013-12-18 Leo Liu <sdl.web@gmail.com>
1725 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1728 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1730 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1731 formats for displaying file sizes when the -s switch is given.
1732 Instead, compute a separate format for displaying the size in
1733 blocks, which is displayed in addition to the "regular" size.
1734 When -h is given in addition to -s, produce size in blocks in
1735 human-readable form as well. (Bug#16179)
1737 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1739 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1740 Reference tables with ~\ref{...} instead of only \ref{...}.
1742 2013-12-18 Chong Yidong <cyd@gnu.org>
1744 * cus-edit.el (custom-magic-alist): Fix "themed" description
1747 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1748 is non-nil, do not create a new entry in the symbol's theme-value
1749 or theme-face property; update theme-settings only (Bug#14664).
1750 (custom-available-themes): Doc fix.
1752 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1755 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1757 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1759 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1762 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1764 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1766 2013-12-18 Glenn Morris <rgm@gnu.org>
1768 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1769 * cus-start.el (load-prefer-newer): New option.
1771 2013-12-18 Le Wang <l26wang@gmail.com>
1773 * comint.el (comint-previous-matching-input-from-input):
1774 Retain point (Bug#13404).
1776 2013-12-18 Chong Yidong <cyd@gnu.org>
1778 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1780 2013-12-18 Glenn Morris <rgm@gnu.org>
1782 * mail/emacsbug.el (report-emacs-bug):
1783 Only mention enable-multibyte-characters if non-standard.
1785 2013-12-17 Juri Linkov <juri@jurta.org>
1787 * arc-mode.el (archive-extract-by-file): Check if directory exists
1788 before deletion to not show irrelevant errors if it doesn't exist.
1790 2013-12-17 Juri Linkov <juri@jurta.org>
1792 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1795 * net/eww.el (browse-web): Add alias to `eww'.
1796 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1797 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1799 * net/browse-url.el (browse-url-browser-function): Move `eww'
1800 closer to similar functions.
1802 * startup.el (fancy-startup-screen, fancy-about-screen):
1803 Set browse-url-browser-function to eww-browse-url locally.
1806 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1808 * window.el (window--pixel-to-total): Remove unused `mini' var.
1809 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1810 (split-window): Remove unused `new' var.
1811 (window--display-buffer): Remove unused `frame' and `delta' vars.
1812 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1815 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1817 * dired.el (dired-mark-pop-up):
1818 * register.el (register-preview): Don't bind
1819 split-height-threshold here since it's now done in
1820 display-buffer-below-selected.
1822 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1824 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1825 xterm-rgb-convert-to-16bit.
1826 (rxvt-register-default-colors): Standardize with
1827 xterm-register-default-colors (Bug#14078).
1829 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1831 * simple.el (kill-region): Pass mark first, then point, so that
1832 kill-append works right (Bug#12819).
1833 (copy-region-as-kill, kill-ring-save): Likewise.
1835 2013-12-17 Leo Liu <sdl.web@gmail.com>
1837 * net/rcirc.el (rcirc-add-face):
1838 * eshell/em-prompt.el (eshell-emit-prompt):
1839 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1842 2013-12-17 Chong Yidong <cyd@gnu.org>
1844 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1845 Suggested by Xue Fuqiao.
1847 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1849 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1851 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1853 * net/shr.el (shr-insert-document): Remove unused var
1854 `shr-preliminary-table-render'.
1855 (shr-rescale-image): Remove unused arg `force'.
1856 (shr-put-image): Update calls accordingly.
1857 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1859 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1861 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1862 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1863 :close-all, to see which indentation method to use (Bug#16116).
1864 (smie-rules-function): Document the method :close-all.
1866 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1868 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1870 * net/eww.el (eww-display-html): If we can't find the anchor we're
1871 looking for, then go to point-min.
1873 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1875 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1876 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1877 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1878 Expand dir too, in case it's relative.
1880 2013-12-16 Juri Linkov <juri@jurta.org>
1882 * desktop.el (desktop-auto-save-timeout): Change default to
1883 `auto-save-timeout'. Doc fix.
1884 (desktop-save): Skip the timestamp in desktop-saved-frameset
1885 when checking for auto-save changes.
1886 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1887 `desktop-auto-save' is called repeatedly by the idle timer.
1888 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1889 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1892 2013-12-16 Juri Linkov <juri@jurta.org>
1894 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1896 (isearch-pre-command-hook): Check `this-command' for symbolp.
1898 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1900 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1902 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1904 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1905 (cfengine3--current-function): Bring in the current-function
1906 functionality from `cfengine3--current-word'.
1907 (cfengine3-completion-function): Bring in the
1908 bounds-of-current-word functionality from
1909 `cfengine3--current-word'.
1911 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1913 * window.el (display-buffer-below-selected):
1914 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1916 2013-12-16 Leo Liu <sdl.web@gmail.com>
1918 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1919 Remove NOMSG arg and all uses changed.
1921 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1924 (cua--deactivate-rectangle): Don't deactivate the mark.
1925 (cua-set-rectangle-mark): Don't set mark-active since
1926 cua--activate-rectangle already does it for us.
1927 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1928 non-rectangular region.
1930 * emulation/cua-base.el (cua-repeat-replace-region):
1931 Use with-current-buffer.
1933 * net/gnutls.el: Use cl-lib.
1934 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1936 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1938 * emacs-lisp/package.el (package-built-in-p): Support both
1939 built-in and the package.el converted package descriptions.
1940 (package-show-package-list): Allow keywords.
1941 (package-keyword-button-action): Use it instead of
1942 `finder-list-matches'.
1943 (package-menu-filter-interactive): Interactive filtering (by
1945 (package-menu--generate): Support keywords and change keymappings
1946 and headers when they are given.
1947 (package--has-keyword-p): Helper function.
1948 (package-menu--refresh): Use it.
1949 (package--mapc): Helper function.
1950 (package-all-keywords): Use it.
1951 (package-menu-mode-map): Set up menu items and keybindings to
1952 provide a filtering UI.
1954 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1956 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1957 the behavior when a certificate fails validation. Defaults to
1958 old behavior: never abort, just warn.
1959 (gnutls-negotiate): Use it.
1961 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1963 * window.el (display-buffer-below-selected): Never split window
1964 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1966 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1968 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1969 (package-buffer-info): Use it (bug#15108).
1971 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1973 * icomplete.el (icomplete-completions): Make sure the prefix is already
1974 displayed elsewhere before hiding it (bug#16219).
1976 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
1978 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
1979 open-paren tokens when preceded by a open-paren, too.
1980 (ruby-smie-rules): Handle virtual indentation after open-paren
1981 tokens specially. If there is code between it and eol, return the
1982 column where is starts (Bug#16118).
1984 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
1986 * progmodes/cfengine.el: Fix `add-hook' doc.
1987 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
1988 (cfengine3--current-word): Fix parameters.
1989 (cfengine3-make-syntax-cache): Simplify further.
1990 (cfengine3-completion-function, cfengine3--current-function):
1991 Use `assq' for symbols.
1992 (cfengine3--current-function): Fix `cfengine3--current-word' call.
1994 2013-12-13 Glenn Morris <rgm@gnu.org>
1996 * loadup.el (load-path): Warn if site-load or site-init changes it.
1997 No more need to reset it when bootstrapping.
1999 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2001 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2002 locations for cf-promises.
2003 (cfengine-mode-syntax-functions-regex): New caching variable.
2004 (cfengine3-fallback-syntax): Fallback syntax for cases where
2005 cf-promises doesn't run.
2006 (cfengine3--current-word): Reimplement using
2007 `cfengine-mode-syntax-functions-regex'.
2008 (cfengine3-completion-function, cfengine3--current-function):
2009 Use `cfengine3-make-syntax-cache' directly.
2010 (cfengine3-clear-syntax-cache): New function.
2011 (cfengine3-make-syntax-cache): Simplify and create
2012 `cfengine-mode-syntax-functions-regex' on demand.
2013 (cfengine3-format-function-docstring): Don't call
2014 `cfengine3-make-syntax-cache' explicitly.
2016 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2018 Fix windmove-find-other-window broken after pixelwise resizing
2020 * windmove.el (windmove-other-window-loc): Revert change from
2022 (windmove-find-other-window): Call window-in-direction.
2023 * window.el (window-in-direction): New arguments SIGN, WRAP and
2024 MINI to emulate original windmove-find-other-window behavior.
2026 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2028 * simple.el (blink-matching--overlay): New variable.
2029 (blink-matching-open): Instead of moving point, highlight the
2030 matching paren with an overlay
2031 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2033 * faces.el (paren-showing-faces, show-paren-match)
2034 (show-paren-mismatch): Move from paren.el.
2036 2013-12-13 Leo Liu <sdl.web@gmail.com>
2038 * indent.el (indent-region): Disable progress reporter in
2039 minibuffer. (Bug#16108)
2041 * bindings.el (visual-order-cursor-movement): Fix version.
2043 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2045 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2046 Also match after beginning of line.
2047 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2048 files. Thanks to Russell Sim. (Bug#15378)
2050 2013-12-13 Juri Linkov <juri@jurta.org>
2052 * simple.el <Keypad support>: Remove key bindings duplicated
2053 with bindings.el. (Bug#14397)
2055 2013-12-13 Juri Linkov <juri@jurta.org>
2057 * comint.el (comint-mode-map): Replace `delete-char' with
2058 `delete-forward-char'. (Bug#16109)
2060 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2062 * progmodes/python.el (python-indent-calculate-indentation):
2063 Fix de-denters cornercase. (Bug#15731)
2065 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2067 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2068 (advice--make): Pay attention to `depth'.
2069 (advice--make-1): Don't autoload commands eagerly.
2070 * emacs-lisp/elp.el (elp-instrument-function):
2071 * emacs-lisp/trace.el (trace-function-internal):
2072 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2074 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2076 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2078 * term/w32-win.el (w32-handle-dropped-file):
2079 * startup.el (normal-top-level):
2080 * net/browse-url.el (browse-url-file-url):
2081 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2082 decode file names using 'utf-8' rather than
2083 file-name-coding-system.
2085 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2087 * progmodes/python.el (python-indent-context)
2088 (python-indent-calculate-indentation): Fix auto-identation
2089 behavior for comment blocks. (Bug#15916)
2091 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2093 * progmodes/python.el (python-indent-calculate-indentation):
2094 When determining indentation, don't treat "return", "pass", etc., as
2095 operators when they are just string constituents. (Bug#15812)
2097 2013-12-12 Juri Linkov <juri@jurta.org>
2099 * uniquify.el (uniquify-buffer-name-style): Change default to
2100 `post-forward-angle-brackets'.
2102 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2103 `uniquify'. Change default to `post-forward-angle-brackets'.
2105 2013-12-11 Glenn Morris <rgm@gnu.org>
2107 * emacs-lisp/package.el (finder-list-matches):
2108 Autoload rather than falsely declaring.
2110 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2112 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2113 (eww-mode-map): Use them.
2115 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2117 * window.el (display-buffer-in-side-window): Fix doc-string
2120 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2122 * vc/vc-git.el: Silence byte-compiler warnings.
2123 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2124 (log-edit-set-header): Declare.
2126 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2128 * Makefile.in (custom-deps, finder-data): Run output file names
2129 through unmsys--file-name. (Bug#16099)
2131 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2133 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2134 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2136 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2137 instead of deleting the selection "by hand" (bug#16098).
2138 Rely on insert-for-yank to yank rectangles.
2139 (cua-highlight-region-shift-only): Mark obsolete.
2140 (cua-mode): Don't enable/disable transient-mark-mode,
2141 shift-select-mode (cua-mode works both with and without them), and
2142 pc-selection-mode (obsolete).
2143 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2144 (cua--deactivate-rectangle): Deactivate it.
2146 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2147 (delete-selection-helper): Make sure yank starts at the top of the
2149 (minibuffer-keyboard-quit): Use region-active-p.
2151 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2153 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2154 to `delete' (bug#16109).
2156 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2158 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2159 info manual and show keybindings and set `:group' keyword.
2161 2013-12-11 Juri Linkov <juri@jurta.org>
2163 * delsel.el (delete-active-region): Let-bind `this-command'
2164 to prevent `kill-region' from changing its original value.
2165 (delete-selection-helper): Handle `overwrite-mode' for the type
2166 `kill' exactly the same way as for the type `t'.
2167 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2168 Support more commands. (Bug#13312)
2170 2013-12-11 Juri Linkov <juri@jurta.org>
2172 * bindings.el: Map kp keys to non-kp keys systematically
2173 with basic modifiers control, meta and shift. (Bug#14397)
2175 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2177 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2178 "Close browser" menu items. Fix wrong function of "List
2181 2013-12-11 Juri Linkov <juri@jurta.org>
2183 * misearch.el (multi-isearch-buffers): Set the value of
2184 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2185 arg of isearch-forward to t.
2186 (multi-isearch-buffers-regexp): Set the value of
2187 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2188 arg of isearch-forward-regexp to t.
2189 (multi-isearch-files): Set the value of
2190 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2191 arg of isearch-forward to t.
2192 (multi-isearch-files-regexp): Set the value of
2193 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2194 arg of isearch-forward-regexp to t. (Bug#16035)
2196 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2197 arg of isearch-forward to t.
2198 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2199 arg of isearch-forward-regexp to t.
2200 (dired-isearch-filter-filenames): Remove unnecessary check for
2201 `dired-isearch-filenames'.
2203 * comint.el (comint-history-isearch-backward):
2204 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2205 (comint-history-isearch-backward-regexp):
2206 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2208 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2210 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2211 unmsys--file-name. (Bug#16099)
2213 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2215 * emacs-lisp/package.el (package-keyword-button-action):
2216 Remove finder.el require dependency.
2218 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2220 * emacs-lisp/package.el: Require finder.el.
2221 (describe-package-1): Add keyword buttons.
2222 (package-make-button): New convenience function.
2223 (package-keyword-button-action): Keyword button action using
2224 `finder-list-matches'.
2226 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2228 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2231 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2233 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2236 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2238 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2239 after the end of a percent literal.
2241 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2243 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2244 Handle caret-delimited strings (Bug#16079).
2246 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2248 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2249 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2250 `ruby-parse-partial' (Bug#16078).
2252 2013-12-09 Leo Liu <sdl.web@gmail.com>
2254 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2256 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2258 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2259 (js-switch-indent-offset): New option.
2260 (js--proper-indentation): Use it. And handle the case when
2261 "default" is actually a key in an object literal.
2262 (js--same-line): New function.
2263 (js--multi-line-declaration-indentation): Use it.
2264 (js--indent-in-array-comp, js--array-comp-indentation):
2266 (js--proper-indentation): Use them, to handle array comprehension
2269 2013-12-08 Leo Liu <sdl.web@gmail.com>
2271 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2272 (flymake-make-overlay): Remove arg MOUSE-FACE.
2273 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2275 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2277 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2279 (redisplay-highlight-region-function): Use it.
2281 * emulation/cua-base.el (cua--explicit-region-start)
2282 (cua--last-region-shifted): Remove.
2283 (cua--deactivate): Use deactivate-mark.
2284 (cua--pre-command-handler-1): Don't handle shift-selection.
2285 (cua--post-command-handler-1): Don't change transient-mark-mode.
2286 (cua--select-keymaps): Use region-active-p rather than
2287 cua--explicit-region-start or cua--last-region-shifted.
2288 (cua-mode): Enable shift-select-mode.
2290 2013-12-08 Leo Liu <sdl.web@gmail.com>
2292 * progmodes/flymake.el (flymake-popup-current-error-menu):
2293 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2294 (flymake-posn-at-point-as-event, flymake-popup-menu)
2295 (flymake-make-emacs-menu): Remove. (Bug#16077)
2297 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2299 * rect.el (rectangle-mark-mode): Activate mark even if
2300 transient-mark-mode is off (bug#16066).
2301 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2302 is > mark and at bolp.
2304 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2305 (region-extract-function): Use it.
2306 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2307 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2309 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2310 kill-ring-save, kill-region, delete-char, delete-forward-char.
2311 Ignore self-insert-iso.
2313 * emulation/cua-gmrk.el (cua--init-global-mark):
2314 Ignore `self-insert-iso'.
2316 * emulation/cua-base.el (cua--prefix-copy-handler)
2317 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2318 checking cua--rectangle.
2319 (cua-delete-region): Use region-extract-function.
2320 (cua-replace-region): Delete function.
2321 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2322 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2323 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2324 (cua--init-keymaps): Don't remap delete-selection commands.
2325 (cua-mode): Use delete-selection-mode instead of rolling our own
2328 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2329 Obey region-extract-function.
2331 Make registers and delete-selection-mode work on rectangles.
2332 * register.el (describe-register-1): Don't modify the register's value.
2333 (copy-to-register): Obey region-extract-function.
2334 * delsel.el (delete-active-region): Obey region-extract-function.
2336 2013-12-08 Leo Liu <sdl.web@gmail.com>
2338 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2339 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2340 (flymake-compilation-prevents-syntax-check)
2341 (flymake-start-syntax-check-on-newline)
2342 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2343 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2344 (flymake-xml-program, flymake-master-file-dirs)
2345 (flymake-master-file-count-limit)
2346 (flymake-allowed-file-name-masks): Relocate.
2347 (flymake-makehash, flymake-float-time)
2348 (flymake-replace-regexp-in-string, flymake-split-string)
2349 (flymake-get-temp-dir): Remove.
2350 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2351 (flymake-current-row, flymake-selected-frame)
2352 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2353 related functions. (Bug#16077)
2355 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2357 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2359 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2361 * help-fns.el (describe-function-1): Use new advice-* functions
2362 rather than old ad-* functions. Fix function type description and
2363 source links for advised functions and subrs.
2365 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2367 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2369 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2371 * progmodes/compile.el (compilation-start):
2372 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2374 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2375 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2377 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2379 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2380 Touch up the last change.
2382 2013-12-06 Leo Liu <sdl.web@gmail.com>
2384 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2385 (inferior-octave-startup): Always use "octave> " for prompt.
2386 (octave-goto-function-definition)
2387 (octave-sync-function-file-names)
2388 (octave-find-definition-default-filename): Remove redundant backquotes.
2390 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2392 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2394 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2395 where appropriate already.
2396 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2397 end of method names (Bug#15874).
2399 2013-12-06 Juri Linkov <juri@jurta.org>
2401 * isearch.el (isearch--saved-overriding-local-map):
2402 New internal variable.
2403 (isearch-mode): Set it to the initial value of
2404 `overriding-terminal-local-map'.
2405 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2406 with `isearch--saved-overriding-local-map'. (Bug#16035)
2408 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2410 * progmodes/octave.el (inferior-octave-completion-table):
2411 Turn back into function, use `completion-table-with-cache'
2412 (Bug#11906). Update all references.
2414 * minibuffer.el (completion-table-with-cache): New function.
2416 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2418 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2420 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2422 * net/eww.el (eww-current-source): New variable to store page
2424 (eww-display-html, eww-mode, eww-save-history)
2425 (eww-restore-history): Use it.
2426 (eww-view-source): New command to view page source.
2427 Opportunistically uses `html-mode' to highlight the buffer.
2428 (eww-mode-map): Install it.
2430 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2432 * net/dbus.el (dbus-unregister-service)
2433 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2435 (dbus-unregister-service): Skip :serial entries in
2436 `dbus-registered-objects-table'.
2437 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2439 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2441 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2442 around keywords with extra `split-string' argument.
2444 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2446 * windmove.el (windmove-other-window-loc): Handle navigation
2447 between windows (excluding the minibuffer window - Bug#16017).
2449 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2451 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2452 in D-Bus type syntax.
2453 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2454 preserve unibyte strings. (Bug#16048)
2456 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2458 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2459 Call force-mode-line-update is the proper buffer (bug#16042).
2461 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2463 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2464 `log-edit-remember-comment', make argument optional. Adjust all
2466 (log-edit-mode): Add `log-edit-remember-comment' to
2467 `kill-buffer-hook' locally.
2468 (log-edit-kill-buffer): Don't remember comment explicitly since
2469 the buffer is killed anyway.
2471 2013-12-04 Juri Linkov <juri@jurta.org>
2473 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2474 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2476 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2478 * notifications.el (notifications-close-notification): Call the
2479 D-Bus method with ID being a `:uint32'. (Bug#16030)
2481 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2483 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2485 2013-12-03 Juri Linkov <juri@jurta.org>
2487 * progmodes/compile.el (compilation-start): Rename window alist
2488 entry `no-display-ok' to `allow-no-window'.
2490 * simple.el (shell-command): Add window alist entry
2491 `allow-no-window' to `display-buffer'.
2492 (async-shell-command): Doc fix.
2494 * window.el (display-buffer-no-window): New action function.
2495 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2497 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2499 * vc/log-edit.el (log-edit-set-header): Extract from
2500 `log-edit-toggle-header'.
2501 (log-edit-extract-headers): Separate the summary, when extracted
2502 from header, from the rest of the message with an empty line.
2504 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2505 line, if present, to the Summary header.
2507 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2509 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2510 in current-buffer (bug#16029).
2512 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2514 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2515 (debugger-mode-map): Bind it.
2516 (debugger--backtrace-base): New function.
2517 (debugger-eval-expression): Use it.
2518 (debugger-frame-number): Skip local vars when present.
2519 (debugger--locals-visible-p, debugger--insert-locals)
2520 (debugger--show-locals, debugger--hide-locals): New functions.
2522 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2524 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2526 (tramp-get-remote-locale): New defun.
2527 (tramp-open-connection-setup-interactive-shell): Use it.
2529 2013-12-02 Leo Liu <sdl.web@gmail.com>
2531 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2533 * progmodes/sh-script.el (sh-shell-process):
2534 * progmodes/octave.el (inferior-octave-process-live-p):
2535 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2536 (gdb-inferior-io-sentinel):
2537 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2539 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2541 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2542 `save-selected-window' to `log-edit-hide-buf'. This makes
2543 `log-edit-show-files' idempotent.
2544 (log-edit-show-files): Mark the new window as dedicated.
2546 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2548 * vc/log-edit.el (log-edit-mode-map): Add binding for
2549 `log-edit-kill-biffer'.
2550 (log-edit-hide-buf): Add a FIXME comment.
2551 (log-edit-add-new-comment): New function, extracted from
2553 (log-edit-done, log-edit-add-to-changelog): Use it.
2554 (log-edit-kill-buffer): New command.
2556 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2558 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2559 instead of killing the buffer.
2561 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2563 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2565 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2567 * net/eww.el (eww-form-checkbox-selected-symbol)
2568 (eww-form-checkbox-symbol): New customizable variable.
2569 (eww-form-checkbox, eww-toggle-checkbox):
2570 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2572 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2573 (shr--get-media-pref, shr--extract-best-source): New function.
2574 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2575 no :src tag was specified.
2577 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2578 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2579 Use \\` to match beginning of string instead of ^.
2580 (eww-browse-with-external-browser): Provide optional URL parameter.
2581 (eww-render): Set `eww-current-title' back to "".
2583 * net/shr.el (shr-tag-video): Display content for video if no
2584 poster is available.
2585 (shr-tag-audio): Add support for <audio> tag.
2587 * net/eww.el (eww-text-input-types): New const.
2588 (eww-process-text-input): Treat input types in
2589 `eww-text-input-types' as text.
2591 * net/shr.el (shr-tag-table): Fix comment typo.
2593 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2595 * net/eww.el (eww-follow-link): New command to avoid reloading
2596 pages when we follow #target links (bug#15243).
2597 (eww-quit): Special mode buffers shouldn't query before exiting.
2599 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2601 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2604 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2606 * net/eww.el (eww-restore-history): Update the window title after
2607 moving in the history.
2608 (eww-current-dom): New variable used to save the current DOM.
2610 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2612 * vc/log-edit.el (log-edit-mode-map): Add binding for
2613 `log-edit-beginning-of-line'.
2614 (log-edit-setup-add-author): New user option.
2615 (log-edit-beginning-of-line): New command.
2616 (log-edit): Move major mode call above the contents setup so that
2617 the local variable values are already applied.
2618 (log-edit): Only insert "Author: " when
2619 `log-edit-setup-add-author' is non-nil.
2620 (log-edit): When SETUP is non-nil, position point after ": "
2621 instead of point-min.
2623 2013-12-01 Glenn Morris <rgm@gnu.org>
2625 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2627 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2629 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2630 redisplay to make sure the initial frame gets a chance to become
2631 visible. (Bug#16014)
2633 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2635 Support resizing frames and windows pixelwise.
2636 * cus-start.el (frame-resize-pixelwise)
2637 (window-resize-pixelwise): New entries.
2638 * emacs-lisp/debug.el (debug): Use window-total-height instead
2639 of window-total-size.
2640 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2641 * help.el (describe-bindings-internal): Call help-buffer
2642 (temp-buffer-max-width): New option.
2643 (resize-temp-buffer-window, help-window-setup)
2644 (with-help-window): Rewrite.
2645 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2647 * window.el (frame-char-size, window-min-pixel-height)
2648 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2649 (window-min-pixel-width, window-safe-min-pixel-size)
2650 (window-combination-p, window-safe-min-size)
2651 (window-resizable-p, window--size-to-pixel)
2652 (window--pixel-to-size, window--resize-apply-p): New functions.
2653 (window-safe-min-height): Fix doc-string.
2654 (window-size, window-min-size, window--min-size-1)
2655 (window-sizable, window-sizable-p, window--min-delta-1)
2656 (window-min-delta, window--max-delta-1, window-max-delta)
2657 (window--resizable, window--resizable-p, window-resizable)
2658 (window-full-height-p, window-full-width-p, window-at-side-p)
2659 (window--in-direction-2, window-in-direction)
2660 (window--resize-reset-1, window--resize-mini-window)
2661 (window-resize, window-resize-no-error)
2662 (window--resize-child-windows-normal)
2663 (window--resize-child-windows, window--resize-siblings)
2664 (window--resize-this-window, window--resize-root-window)
2665 (window--resize-root-window-vertically)
2666 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2667 (maximize-window, minimize-window, delete-window)
2668 (quit-restore-window, window-split-min-size, split-window)
2669 (balance-windows-2, balance-windows)
2670 (balance-windows-area-adjust, balance-windows-area)
2671 (window--state-get-1, window-state-get, window--state-put-1)
2672 (window--state-put-2, window-state-put)
2673 (display-buffer-record-window, window--display-buffer):
2674 Make functions handle pixelwise sizing of windows.
2675 (display-buffer--action-function-custom-type)
2676 (display-buffer-fallback-action):
2677 Add display-buffer-in-previous-window.
2678 (display-buffer-use-some-window): Resize window to height it had
2680 (fit-window-to-buffer-horizontally): New option.
2681 (fit-frame-to-buffer): Describe new values.
2682 (fit-frame-to-buffer-bottom-margin): Replace with
2683 fit-frame-to-buffer-margins.
2684 (window--sanitize-margin): New function.
2685 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2686 using window-text-pixel-size.
2688 2013-11-30 Glenn Morris <rgm@gnu.org>
2690 * emacs-lisp/bytecomp.el (byte-compile-form):
2691 Make the `interactive-only' warning like the `obsolete' one.
2692 * comint.el (comint-run):
2693 * files.el (insert-file-literally, insert-file):
2694 * replace.el (replace-string, replace-regexp):
2695 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2696 (goto-line, insert-buffer, next-line, previous-line):
2697 Tweak `interactive-only' spec.
2699 Stop keeping (most) generated cedet grammar files in the repository.
2700 * Makefile.in (semantic): New.
2701 (compile-main): Depend on semantic.
2703 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2706 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2708 * uniquify.el (uniquify-buffer-name-style): Change default.
2710 * loadup.el: Preload "uniquify".
2712 * time.el (display-time-update): Update all mode lines (bug#15999).
2714 * electric.el (electric-indent-mode): Enable by default.
2715 * loadup.el: Preload "electric".
2717 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2719 * emacs-lisp/helpers.el (string-empty-p): New function.
2720 (string-blank-p): New function.
2722 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2724 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2727 2013-11-29 Andreas Politz <politza@fh-trier.de>
2728 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2729 allow non-lambda lists as functions.
2730 (imenu--in-alist): Don't recurse into non-subalists.
2731 (imenu): Don't pass function itself as an argument (Bug#14029).
2733 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2735 * progmodes/python.el (python-mode-map): Remove binding for ":".
2736 (python-indent-electric-colon): Remove command.
2737 (python-indent-post-self-insert-function): Integrate the previous code
2738 of python-indent-electric-colon. Make it conditional on
2739 electric-indent-mode.
2740 (python-mode): Add ?: to electric-indent-chars.
2741 Move python-indent-post-self-insert-function to the end of
2742 post-self-insert-hook.
2744 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2746 * doc-view.el (doc-view-goto-page): Update mode-line.
2748 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2750 2013-11-27 Glenn Morris <rgm@gnu.org>
2752 * international/charprop.el, international/uni-bidi.el:
2753 * international/uni-category.el, international/uni-combining.el:
2754 * international/uni-comment.el, international/uni-decimal.el:
2755 * international/uni-decomposition.el, international/uni-digit.el:
2756 * international/uni-lowercase.el, international/uni-mirrored.el:
2757 * international/uni-name.el, international/uni-numeric.el:
2758 * international/uni-old-name.el, international/uni-titlecase.el:
2759 * international/uni-uppercase.el:
2760 Remove generated files from VCS repository.
2762 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2764 * filenotify.el (file-notify-add-watch): Don't special-case
2765 w32notify when computing the directory to watch.
2767 2013-11-27 Glenn Morris <rgm@gnu.org>
2769 Make bootstrap without generated uni-*.el files possible again.
2770 * loadup.el: Update command-line-args checking for unidata-gen.
2771 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2772 * composite.el, international/characters.el:
2773 Handle unicode tables being undefined.
2775 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2776 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2777 (compile-main): Depend on leim rule.
2779 * loadup.el: Move leim-list.el to leim/ subdirectory.
2780 * startup.el (normal-top-level): No more leim directory.
2781 * international/ja-dic-cnv.el (skkdic-convert):
2782 Disable version-control and autoloads in output files.
2783 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2784 Disable version-control and autoloads in output files.
2785 * leim/quail: Move here from ../leim.
2786 * leim/quail/hangul.el (hangul-input-method-activate):
2787 Add autoload cookie.
2788 (generated-autoload-load-name): Set file-local value.
2789 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2790 (generated-autoload-load-name): Set file-local value.
2792 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2794 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2795 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2796 (eww-quit): Ask confirmation before quitting eww.
2798 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2800 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2801 reading output from Diff on MS-Windows and MS-DOS.
2803 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2805 * emacs-lisp/helpers.el (string-reverse): New function.
2807 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2809 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2810 names on MS Windows, like "/[::1]:".
2812 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2815 2013-11-26 Glenn Morris <rgm@gnu.org>
2817 * progmodes/python.el (python-indent-guess-indent-offset):
2818 Avoid corner-case error. (Bug#15975)
2820 Preload leim-list.el. (Bug#4789)
2821 * loadup.el: Load leim-list.el when found.
2822 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2824 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2826 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2828 * emacs-lisp/helpers.el (string-join): New function.
2830 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2832 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2833 Mark as obsolete and replace it with a symbol property.
2834 (byte-compile-form): Use new 'interactive-only property.
2835 * comint.el, files.el, replace.el, simple.el:
2836 Apply new 'interactive-only properly.
2838 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2840 * window.el (display-buffer-at-bottom): Make sure that
2841 split-window-sensibly creates the new window on bottom
2844 2013-11-23 David Kastrup <dak@gnu.org>
2846 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2847 on the conflict markers when available.
2848 (smerge--get-marker): New function.
2849 (smerge-end-re, smerge-base-re): Add subgroup.
2851 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2853 * frame.el (handle-focus-in, handle-focus-out): Add missing
2856 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2858 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2859 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2861 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2863 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2864 (gomoku--last-pos): New var.
2865 (gomoku--intangible-chars): New const.
2866 (gomoku--intangible): New function.
2867 (gomoku-mode): Use it. Derive from special-mode.
2868 (gomoku-move-up): Adjust line count.
2869 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2870 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2871 Simplify accordingly.
2873 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2874 Remove blink-cursor code.
2875 (blink-cursor-timer-function, blink-cursor-suspend):
2876 Don't special-case GUIs.
2877 (blink-cursor-mode): Use focus-in/out-hook.
2879 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2881 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2882 work when annotation is invisible (Bug#13886).
2884 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2886 * json.el (json-alist-p): Only return non-nil if the alist has
2887 simple keys (Bug#13518).
2889 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2891 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2892 when control-statement is the first statement in a buffer (Bug#15956).
2894 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2896 * imenu.el (imenu-generic-skip-comments-and-strings):
2897 New option (Bug#15560).
2898 (imenu--generic-function): Use it.
2900 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2902 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2905 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2907 * emacs-lisp/helpers.el: Add some string helpers.
2908 (string-trim-left): Removes leading whitespace.
2909 (string-trim-right): Removes trailing whitespace.
2910 (string-trim): Removes leading and trailing whitespace.
2912 * subr.el (string-suffix-p): New function.
2914 2013-11-23 Glenn Morris <rgm@gnu.org>
2916 * progmodes/python.el (python-shell-send-file):
2917 Add option to delete file when done. (Bug#15647)
2918 (python-shell-send-string, python-shell-send-region): Use it.
2920 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2922 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2923 to set buffer-read-only to t, never to nil. (Bug#15938)
2925 * textmodes/tex-mode.el (latex-noindent-environments):
2926 Add safe-local-variable property. (Bug#15936)
2928 2013-11-23 Glenn Morris <rgm@gnu.org>
2930 * textmodes/enriched.el (enriched-mode): Doc fix.
2931 * emacs-lisp/authors.el (authors-renamed-files-alist):
2932 Add enriched.doc -> enriched.txt.
2934 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2936 2013-11-22 Leo Liu <sdl.web@gmail.com>
2938 * progmodes/octave.el (inferior-octave-startup): Spit out error
2941 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2943 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2946 (ruby-encoding-magic-comment-style): Add :version.
2948 2013-11-22 Leo Liu <sdl.web@gmail.com>
2950 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2952 (octave-help-mode): Adapt to change to help-mode-finish to use
2953 derived-mode-p on 2013-09-17.
2954 (inferior-octave-prompt): Also match octave-gui.
2955 (octave-kill-process): Don't ask twice. (Bug#10564)
2957 2013-11-22 Leo Liu <sdl.web@gmail.com>
2959 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2960 (inferior-octave-startup, inferior-octave-check-process)
2961 (inferior-octave-track-window-width-change)
2962 (octave-completion-at-point, octave-eldoc-function): Use it.
2963 (octave-kill-process): Provide confirmation. (Bug#10564)
2965 2013-11-21 Leo Liu <sdl.web@gmail.com>
2967 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2968 Fix obsolete variable comment-use-global-state.
2970 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2972 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2973 Add `octave-source-file'.
2974 (octave-source-file): New function. (Bug#15935)
2976 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
2978 * net/eww.el (eww-local-regex): New variable.
2979 (eww): Use it to detect localhost and similar.
2981 2013-11-21 Leo Liu <sdl.web@gmail.com>
2983 Add completion for command `ag'.
2984 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
2985 (pcomplete/ag): New function.
2986 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
2988 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
2990 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
2992 (make-obsolete): Remove interactive spec.
2994 2013-11-21 Glenn Morris <rgm@gnu.org>
2996 * startup.el (command-line-1): Use path-separator with -L.
2998 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3000 * emacs-lisp/package.el (describe-package-1): Add package archive
3003 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3005 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3006 Change default to "# encoding: %s" to differentiate it from the
3007 default Ruby encoding comment template.
3009 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3011 * ses.el (ses-mode): Doc fix. (Bug#14748)
3013 2013-11-20 Leo Liu <sdl.web@gmail.com>
3015 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3017 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3019 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3020 when rebase or bisect are in progress.
3022 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3024 * filenotify.el (file-notify-add-watch): Doc fix.
3026 2013-11-19 Leo Liu <sdl.web@gmail.com>
3028 * obsolete/rcompile.el: Mark obsolete.
3030 * progmodes/compile.el (compilation-start)
3031 (compilation-goto-locus, compilation-find-file):
3032 Pass no-display-ok and handle nil value from display-buffer.
3035 * window.el (display-buffer-alist, display-buffer): Document the
3036 new parameter no-display-ok. Return either a window or nil
3037 but never a non-window value.
3039 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3041 * electric.el (electric-indent-mode-map): Remove.
3042 (electric-indent-mode): Change the global-map instead (bug#15915).
3044 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3047 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3049 * emacs-lisp/nadvice.el (remove-function): Align with
3050 add-function's behavior.
3052 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3053 (gdb--string-regexp): New constant.
3054 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3055 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3056 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3058 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3059 Adjust use accordingly.
3060 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3062 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3064 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3065 interpolation curlies (Bug#15914).
3067 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3069 * calc/calc.el (calc-context-sensitive-enter): New variable.
3070 (calc-enter): Use `calc-context-sensitive-enter'.
3072 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3074 * progmodes/cfengine.el: Version bump.
3075 (cfengine-cf-promises): New defcustom to locate cf-promises.
3076 (cfengine3-vartypes): Add new "data" type.
3077 (cfengine3--current-word): New function to get current name-like
3079 (cfengine3--current-function): New function to look up a CFEngine
3080 function's definition.
3081 (cfengine3-format-function-docstring): New function.
3082 (cfengine3-make-syntax-cache): New function.
3083 (cfengine3-documentation-function): New function: ElDoc glue.
3084 (cfengine3-completion-function): New function: completion glue.
3085 (cfengine3-mode): Set `compile-command',
3086 `eldoc-documentation-function', and add to
3087 `completion-at-point-functions'.
3089 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3091 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3092 `tramp-current-connection'.
3094 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3096 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3097 nil/self/true/false with "end of symbol".
3099 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3101 * subr.el (version-regexp-alist): Fix a typo.
3103 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3105 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3106 "en_US.utf8" and "LC_CTYPE" to "".
3107 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3108 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3110 2013-11-15 Leo Liu <sdl.web@gmail.com>
3112 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3114 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * progmodes/gud.el (ctl-x-map):
3117 Remove C-x SPC binding. (Bug#12342)
3118 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3120 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3122 * subr.el (version-regexp-alist):
3123 Recognize hg, svn and darcs versions as snapshot versions.
3125 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3126 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3127 (ruby--encoding-comment-required-p): Extract from
3128 `ruby-mode-set-encoding'.
3129 (ruby-mode-set-encoding): Add the ability to always insert an
3130 utf-8 encoding comment. Fix and simplify coding comment update
3133 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3135 * net/tramp-gvfs.el (top): Run init code only when
3136 `tramp-gvfs-enabled' is not nil.
3137 (tramp-gvfs-enabled): Check also :system bus.
3139 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3141 Sync with upstream verilog-mode revision 78e66ba.
3142 * progmodes/verilog-mode.el (verilog-end-of-defun)
3143 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3144 (verilog-get-end-of-defun): Remove unused argument.
3145 (verilog-comment-depth): Remove unused local `e'.
3146 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3147 Don't pass arg to verilog-get-end-of-defun.
3149 2013-11-14 Glenn Morris <rgm@gnu.org>
3151 * obsolete/assoc.el (aget): Prefix dynamic variable.
3153 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3155 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3157 * widget.el, hfy-cmap.el: Remove bogus package version number.
3159 2013-11-13 Glenn Morris <rgm@gnu.org>
3161 * replace.el (replace-eval-replacement):
3162 Try to give more helpful error message. (Bug#15836)
3164 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3165 (archive-7z-update): Avoid custom type mismatches.
3167 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3169 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3171 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3172 address can be empty.
3174 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3175 Accept nil SWITCHES.
3176 (tramp-gvfs-handle-write-region): Implement APPEND.
3178 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3180 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3181 binary "|" operator and closing block args delimiter.
3182 Remove FIXME comment referring to Ruby 1.8-only syntax.
3183 (ruby-smie--implicit-semi-p): Not after "|" operator.
3184 (ruby-smie--closing-pipe-p): New function.
3185 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3186 (ruby-smie-rules): Indent after "|".
3188 2013-11-12 Glenn Morris <rgm@gnu.org>
3190 * ps-print.el (ps-face-attribute-list):
3191 Handle anonymous faces. (Bug#15827)
3193 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3195 * window.el (display-buffer-other-frame): Fix doc-string.
3198 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3200 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3202 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3204 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3205 (tramp-sh-handle-file-local-copy): Don't write a message when
3206 saving temporary files.
3208 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3209 both directories are remote.
3210 (tramp-smb-handle-directory-files): Do not return double entries.
3211 Do not expand full file names.
3212 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3213 (tramp-smb-handle-write-region): Implement APPEND.
3214 (tramp-smb-get-stat-capability): Fix a stupid bug.
3216 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3218 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3220 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3222 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3223 throwing error over malformed let/let* (bug#15814).
3225 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3227 * iswitchb.el (iswitchb-mode): Mark obsolete.
3229 2013-11-11 Glenn Morris <rgm@gnu.org>
3231 * international/uni-bidi.el, international/uni-category.el:
3232 * international/uni-name.el, international/uni-numeric.el:
3233 Regenerate for Unicode 6.3.0.
3235 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3237 * net/tramp.el (tramp-methods):
3238 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3239 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3241 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3243 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3244 Force highlighting text after Summary keyword in doc face for rpm.
3246 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3248 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3249 available and the word has no wildcards, append one to the grep pattern.
3250 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3251 (ispell-complete-word): Call `ispell-lookup-words' with the value
3252 independent of `ispell-look-p'.
3254 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3256 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3258 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3261 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3263 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3264 (ruby-font-lock-keywords): Use backquote.
3266 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3268 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3269 (ruby-smie--backward-token): Only consider full-string matches.
3271 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3273 * faces.el (describe-face): Add distant-foreground.
3275 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3277 * progmodes/ruby-mode.el: Improve encoding comment handling.
3278 (ruby-encoding-magic-comment-style): New option.
3279 (ruby-custom-encoding-magic-comment-template): New option.
3280 (ruby--insert-coding-comment, ruby--detect-encoding):
3281 New functions extracted from `ruby-mode-set-encoding'.
3282 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3283 to control the style of the auto-inserted encoding comment.
3285 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3287 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3288 Use `smie-backward-sexp' with token argument.
3290 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3292 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3293 Remove instrumentation code.
3295 2013-11-08 Glenn Morris <rgm@gnu.org>
3297 * progmodes/autoconf.el (autoconf-mode):
3298 Tweak comment-start-skip. (Bug#15822)
3300 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3303 at bobp (bug#15826).
3304 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3306 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3308 * man.el (Man-start-calling): New macro, extracted from
3309 Man-getpage-in-background.
3310 (Man-getpage-in-background): Use it.
3311 (Man-update-manpage): New command.
3312 (Man-mode-map): Bind it.
3314 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3316 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3317 of "and", "or", "&&" and "||".
3318 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3319 argument. Prohibit opening curly brace because it could only be a
3320 block opener in that position.
3321 (ruby-smie--forward-token, ruby-smie--backward-token):
3322 Separate "|" from "&" or "*" going after it. That can happen in block
3324 (ruby-smie--indent-to-stmt): New function, seeks the end of
3325 previous statement or beginning of buffer.
3326 (ruby-smie-rules): Use it.
3327 (ruby-smie-rules): Check if there's a ":" before a curly block
3328 opener candidate; if there is, it's a hash.
3330 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3332 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3333 (cl--block-wrapper): Fix last accidental change.
3335 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3337 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3338 Instrument, in order to hunt failure on hydra.
3340 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3342 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3343 malformed bindings form (bug#15814).
3345 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3347 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3348 "." compared to " @ ". This incidentally fixes some indentation
3350 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3351 (ruby-smie-grammar): New tokens: "and" and "or".
3352 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3353 Exclude "and" and "or". Remove "do" in order to work around token
3355 (ruby-smie-rules): Add all infix tokens. Handle the case of
3356 beginning-of-buffer.
3358 2013-11-06 Glenn Morris <rgm@gnu.org>
3360 * Makefile.in (setwins_almost, setwins_for_subdirs):
3361 Avoid accidental matches.
3363 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3365 * menu-bar.el (popup-menu): Use key-binding.
3367 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3369 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3370 menus, support also the menus produced by minor modes.
3373 2013-11-06 Leo Liu <sdl.web@gmail.com>
3375 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3376 DISTANCE to bound the search. All uses changed. (Bug#15808)
3378 2013-11-06 Glenn Morris <rgm@gnu.org>
3380 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3381 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3382 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3384 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3386 * electric.el (electric-indent-just-newline): New command.
3387 (electric-indent-mode-map): New keymap.
3388 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3389 Re-add :group which weren't redundant.
3391 * electric.el (electric-indent-local-mode): New minor mode.
3392 (electric-indent-functions-without-reindent): New var.
3393 (electric-indent-post-self-insert-function): Use it.
3394 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3396 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3398 * international/quail.el (quail-help): Be more explicit about the
3399 meaning of the labels shown on the keys. (Bug#15800)
3401 * startup.el (normal-top-level): Load the subdirs.el files before
3402 setting the locale environment. (Bug#15805)
3404 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3406 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3407 via arguments so as to get the right ones (bug#15418).
3409 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3411 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3413 Fix problems found while writing a test suite.
3415 * net/tramp-compat.el (tramp-compat-load): New defun.
3416 * net/tramp.el (tramp-handle-load): Use it.
3418 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3419 "(numberp ok-if-already-exists)" correctly.
3421 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3423 * international/characters.el (glyphless-char-display-control):
3426 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3428 * progmodes/python.el (python-mode):
3429 * progmodes/scheme.el (scheme-mode):
3430 * progmodes/prolog.el (prolog-mode):
3431 * progmodes/ruby-mode.el (ruby-mode):
3432 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3433 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3435 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3437 * rect.el (rectangle--highlight-for-redisplay):
3438 * emacs-lisp/smie.el (smie--next-indent-change):
3439 Use buffer-chars-modified-tick.
3441 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3443 * electric.el (electric-indent-post-self-insert-function):
3444 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3446 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3448 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3450 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3452 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3455 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3457 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3459 * progmodes/python.el: Fix up last change.
3460 (python-shell--save-temp-file): New function.
3461 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3462 `string' comes from the current buffer.
3463 (python-shell-send-string-no-output): Remove `msg' arg.
3464 (python--use-fake-loc): New var.
3465 (python-shell-buffer-substring): Obey it. Try to compensate for the
3466 extra coding line added by python-shell--save-temp-file.
3467 (python-shell-send-region): Use python-shell--save-temp-file and
3468 python-shell-send-file directly. Add `nomain' argument.
3469 (python-shell-send-buffer): Use python-shell-send-region.
3470 (python-electric-pair-string-delimiter): New function.
3471 (python-mode): Use it.
3473 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3475 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3476 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3477 environment and decoding all of the default-directory's to here
3479 (command-line): Decode also argv[0].
3481 * loadup.el: Error out if default-directory is a multibyte string
3482 when we are dumping.
3484 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3486 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3488 * emacs-lisp/package.el (package-menu-mode)
3489 (package-menu--print-info, package-menu--archive-predicate):
3490 Add Archive column to package list.
3492 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3494 Fix problems found while writing a test suite.
3496 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3497 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3498 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3499 to nil when running original file name handler. Otherwise,
3500 there are problems with constructs like "$$FOO".
3502 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3505 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3507 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3509 * subr.el (version<, version<=, version=):
3510 Update docstrings with information for snapshot versions.
3512 * helpers.el: New library for misc helper functions.
3513 (hash-table-keys): New function returning a list of hash keys.
3514 (hash-table-values): New function returning a list of hash values.
3516 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3518 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3519 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3521 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3523 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3524 checking whether point is after a 1-letter word.
3526 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3528 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3529 Don't infloop when expanding region over `multiline' syntax-type that
3530 begins a line (bug#15778).
3532 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3534 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3535 Make it into a proper minor mode.
3536 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3537 (rectangle-mark-mode-map): New keymap.
3538 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3540 2013-11-04 Glenn Morris <rgm@gnu.org>
3542 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3544 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3547 (ruby-smie-rules): Use smie-rule-parent instead.
3549 * emacs-lisp/smie.el (smie-rule-parent): Always call
3550 smie-indent-virtual rather than only for hanging tokens.
3551 (smie--next-indent-change): New helper command.
3553 2013-11-03 Glenn Morris <rgm@gnu.org>
3555 * Makefile.in (abs_srcdir): Remove.
3556 (emacs): Unset EMACSLOADPATH.
3558 2013-11-02 Glenn Morris <rgm@gnu.org>
3560 * Makefile.in (EMACS): Use a relative filename.
3561 (abs_top_builddir): Remove.
3562 (custom-deps, finder-data, autoloads): Use --chdir.
3564 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3566 Use relative filenames in TAGS files.
3567 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3568 (lisptagsfiles4, TAGS): Use relative file names.
3569 (TAGS-LISP): Remove.
3570 (maintainer-clean): No more TAGS-LISP file.
3572 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3573 (lisptagsfiles4): Use absolute filenames again.
3574 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3575 Remove all *loaddefs files, not just the first. Remove esh-groups.
3576 (maintainer-clean): Delete TAGS, TAGS-LISP.
3578 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3580 * emacs-lisp/package.el (package-version-join):
3581 Recognize snapshot versions.
3583 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3585 * subr.el (version-regexp-alist): Add support for snapshot versions.
3587 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3589 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3590 New function, replacement for `smie-rule-parent' for when we want to
3591 skip over our direct parent if it's an assignment token..
3592 (ruby-smie-rules): Use it.
3594 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3596 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3597 unconditionally. Remove now unnecessary forward declarations.
3598 Remove XEmacs-specific setup.
3599 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3600 (ruby-font-lock-syntactic-keywords)
3601 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3602 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3603 (ruby-here-doc-end-syntax): Remove.
3604 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3605 defined as function.
3607 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3609 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3611 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3613 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3614 table and abbrev table, `define-derived-mode' does that for us
3617 2013-11-01 Glenn Morris <rgm@gnu.org>
3619 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3620 files is atomic for some time, so no parallel compilation issues).
3622 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3624 * faces.el (face-x-resources): Add :distant-foreground.
3625 (region): Use :distant-foreground for gtk and ns.
3627 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3629 Allow multiple bibliographies when BibLaTeX is used rather than
3631 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3632 (reftex-locate-bibliography-files): Us it.
3634 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3636 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3637 allow comments in pbm files.
3639 * term/w32-win.el (dynamic-library-alist): Support newer versions
3640 of libjpeg starting with v7: look only for the DLL from the
3641 version against which Emacs was built.
3642 Support versions of libpng beyond 1.4.x.
3643 Support libtiff v4.x.
3645 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3647 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3648 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3650 (ruby-deep-arglist): Add property :type.
3652 2013-10-31 Glenn Morris <rgm@gnu.org>
3654 * Makefile.in (custom-deps, finder-data): No need to setq the target
3655 variables, we are in the right directory and the defaults work fine.
3657 2013-10-30 Glenn Morris <rgm@gnu.org>
3659 * Makefile.in (autoloads): Do not use abs_lisp.
3661 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3662 `newline' does not respect `standard-output', so use `princ'.
3664 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3666 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3667 * buff-menu.el (Buffer-menu--unmark): New function.
3668 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3670 2013-10-30 Glenn Morris <rgm@gnu.org>
3672 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3674 * emacs-lisp/package.el (lm-homepage): Declare.
3676 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3679 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3681 * Makefile.in (finder-data, autoloads, update-subdirs)
3682 (compile-main, compile-clean, compile-always, bootstrap-clean):
3683 Check return value of cd.
3684 (compile-calc): Remove.
3686 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3688 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3690 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3691 (byte-compile-and-folded): New function.
3692 (=, <, >, <=, >=): Use it.
3694 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3695 (path-separator, null-device, buffer-file-coding-system)
3696 (lpr-headers-switches): Check system-type before modifying them.
3697 (find-buffer-file-type-coding-system): Mark obsolete.
3698 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3699 find-file-not-found-set-buffer-file-coding-system.
3700 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3701 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3702 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3703 (w32-direct-print-region-helper, w32-direct-print-region-function)
3704 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3705 * startup.el (normal-top-level-add-subdirs-to-load-path):
3706 * ps-print.el (ps-print-region-function):
3707 * lpr.el (print-region-function): Use new name.
3709 * subr.el (custom-declare-variable-early): Remove function.
3710 (custom-declare-variable-list): Remove var.
3711 (error, user-error): Remove `while' loop.
3712 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3713 (user-emacs-directory-warning, locate-user-emacs-file):
3715 * simple.el (read-quoted-char-radix, read-quoted-char):
3716 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3718 * custom.el (custom-declare-variable-list): Don't process
3719 custom-declare-variable-list.
3721 * progmodes/python.el (python-shell-get-buffer): New function.
3722 (python-shell-get-process): Use it.
3723 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3724 Python which encoding was used. Don't split-string since we only care
3725 about the first line. Return the temp-file, if applicable.
3726 (python-shell-send-region): Tell compile.el how to turn locations in
3727 the temp-file into locations in the source buffer.
3729 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3731 * subr.el (undefined): Add missing behavior from the C code for
3734 * rect.el: Use lexical-binding. Add new rectangular region support.
3735 (rectangle-mark): New command.
3736 (rectangle--region): New var.
3737 (deactivate-mark-hook): Reset rectangle--region.
3738 (rectangle--extract-region, rectangle--insert-for-yank)
3739 (rectangle--highlight-for-redisplay)
3740 (rectangle--unhighlight-for-redisplay): New functions.
3741 (region-extract-function, redisplay-unhighlight-region-function)
3742 (redisplay-highlight-region-function): Use them to handle
3744 * simple.el (region-extract-function): New var.
3745 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3746 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3747 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3748 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3749 (redisplay-unhighlight-region-function)
3750 (redisplay-highlight-region-function): New vars.
3751 (redisplay--update-region-highlight): New function.
3752 (pre-redisplay-function): Use it.
3753 (exchange-point-and-mark): Don't deactivate the mark before
3754 reactivate-it anyway.
3755 * comint.el (comint-kill-region): Remove yank-handler argument.
3756 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3757 (delete-char): Remove property, since it's now part of their
3759 (self-insert-iso): Remove property since this command doesn't exist.
3761 * emacs-lisp/package.el (package--download-one-archive)
3762 (describe-package-1): Don't query the user about final newline.
3764 2013-10-29 Daniel Colascione <dancol@dancol.org>
3766 * net/tramp.el (tramp-methods): Document new functionality.
3767 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3768 tramp-hostname-checker if method provides one instead of scanning
3769 argument list for "%h" to decide hostname acceptability.
3771 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3773 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3774 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3775 Handle COPY-CONTENTS. (Bug#15737)
3777 2013-10-28 Daiki Ueno <ueno@gnu.org>
3780 (epa-file-cache-passphrase-for-symmetric-encryption):
3781 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3783 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3785 * image.el (defimage):
3786 (image-load-path): Doc fixes.
3788 2013-10-27 Alan Mackenzie <acm@muc.de>
3790 Indent statements in macros following "##" correctly.
3791 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3792 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3794 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3796 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3798 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3800 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3801 after `=' is probably a new expression.
3803 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3805 * man.el (man-imenu-title): New option.
3806 (Man-mode-map): Add menu. (Bug#15722)
3807 (Man-mode): Add imenu to menu.
3809 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3811 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3812 specific in what the first arg can be: a non-keyword word,
3813 string/regexp/percent literal opener, opening paren, or unary
3814 operator followed directly by word.
3816 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3818 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3819 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3820 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3821 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3822 Remove vars, they do not apply any more.
3823 (prolog-mode-abbrev-table): Remove redundant declaration.
3824 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3825 (prolog-use-smie): Remove.
3826 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3827 supported by prolog-electric-if-then-else-flag.
3828 (prolog-mode-variables, prolog-menu): Use setq-local.
3829 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3830 Remove binding to `Backspace' since this key doesn't exist anyway.
3831 Remove bindings for electric self-inserting keys.
3832 (prog-mode): Assume it's defined.
3833 (prolog-post-self-insert): New function.
3834 (prolog-mode): Use it.
3835 (prolog-indent-line, prolog-indent-level)
3836 (prolog-find-indent-of-matching-paren)
3837 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3838 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3839 (prolog-goto-next-paren, prolog-in-string-or-comment)
3840 (prolog-tokenize, prolog-inside-mline-comment)
3841 (prolog-find-start-of-mline-comment): Remove functions.
3842 (prolog-find-unmatched-paren, prolog-clause-end)
3843 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3844 (prolog-electric--if-then-else): Rename from
3845 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3846 (prolog-tokenize-searchkey): Remove const.
3847 (prolog-clause-info): Use forward-sexp.
3848 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3849 (prolog-electric-if-then-else): Remove commands.
3850 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3851 for use in post-self-insert-hook.
3852 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3853 for use in post-self-insert-hook.
3854 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3855 for use in post-self-insert-hook.
3856 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3857 adapt it for use in post-self-insert-hook.
3859 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3861 * emacs-lisp/ert.el (ert-run-tests-interactively):
3862 Use `completing-read'. (Bug#9756)
3864 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3866 * simple.el (line-move): Call line-move-1 instead of
3867 line-move-visual when the current window hscroll is zero, but
3868 temporary-goal-column indicates we will need to hscroll as result
3869 of the movement. (Bug#15712)
3871 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3873 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3874 capitalization. Use :visible instead of :active.
3875 Fix `ruby-indent-exp' reference. Add menu items for the generic
3876 commands that are used with SMIE.
3877 (ruby-do-end-to-brace): Insert space after `{'.
3879 2013-10-25 John Anthony <john@jo.hnanthony.com>
3881 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3883 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3885 2013-10-25 Glenn Morris <rgm@gnu.org>
3887 * vc/vc.el (vc-print-log): Don't use a working revision unless
3888 one was explicitly specified. (Bug#15322)
3890 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * subr.el (add-to-list): Preserve return value in compiler-macro
3895 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3897 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3898 result. Ask user to retry using '-all' flag. (Bug#15701)
3900 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3902 * emacs-lisp/smie.el: New smie-config system.
3903 (smie-config): New defcustom.
3904 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3905 (smie-config-guess, smie-config-save): New commands.
3906 (smie-config--mode-local, smie-config--buffer-local)
3907 (smie-config--trace, smie-config--modefuns): New vars.
3908 (smie-config--advice, smie-config--mode-hook)
3909 (smie-config--setter, smie-config-local, smie-config--get-trace)
3910 (smie-config--guess-value, smie-config--guess): New functions.
3911 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3912 text properties. Treat "string fence" syntax like string syntax.
3914 * progmodes/sh-script.el (sh-use-smie): Change default.
3915 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3916 (sh-var-value): Simplify by CSE.
3917 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3918 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3920 (sh-guess-basic-offset): Use cl-incf.
3921 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3923 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3925 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3928 2013-10-24 Glenn Morris <rgm@gnu.org>
3930 * Makefile.in (abs_top_srcdir): Remove.
3931 (update-subdirs): Use relative path to update-subdirs.
3933 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3935 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3936 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3937 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3938 Call unmsys--file-name before expand-file-name, not after it.
3940 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3942 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3943 (ert-test-skipped): New error.
3944 (ert-skip, ert-stats-skipped): New defuns.
3945 (ert--skip-unless): New macro.
3946 (ert-test-skipped): New struct.
3947 (ert--run-test-debugger, ert-test-result-type-p)
3948 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3949 (ert--stats-set-test-and-result, ert-char-for-test-result)
3950 (ert-string-for-test-result, ert-run-tests-batch)
3951 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3952 Handle skipped tests. (Bug#9803)
3954 2013-10-24 Glenn Morris <rgm@gnu.org>
3956 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3958 * Makefile.in (abs_top_srcdir): New, set by configure.
3959 (update-subdirs): Correct build-aux location.
3961 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3963 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3964 value, whether we could auto-deduce `backend', or not.
3966 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3967 with parameters" example. Simplify the "is it block or is it
3968 hash" check, but also make it more thorough.
3970 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3972 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3974 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3976 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
3979 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
3982 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
3984 * progmodes/compile.el (compilation-directory-matcher)
3985 (compilation-page-delimiter):
3986 Support GNU Make-4.0 directory quoting. (Bug#15678)
3988 2013-10-23 Leo Liu <sdl.web@gmail.com>
3990 * ido.el (ido-tidy): Handle read-only text.
3992 2013-10-23 Glenn Morris <rgm@gnu.org>
3994 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
3995 (emacs, compile, compile-always):
3996 Quote entities that might contain whitespace.
3997 (custom-deps, finder-data, autoloads): Use abs_lisp.
3998 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
3999 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4000 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4002 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4004 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4005 Use `following-char'.
4007 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4009 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4010 * progmodes/ruby-mode.el (ruby-smie-rules):
4011 Remove corresponding workaround. Fix indentation rule of ";" so it
4012 also applies when ";" is the parent.
4014 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4016 * frame.el (display-screens, display-pixel-height)
4017 (display-pixel-width, display-mm-width, display-backing-store)
4018 (display-save-under, display-planes, display-color-cells)
4019 (display-visual-class, display-monitor-attributes-list):
4020 Mention the optional ‘display’ argument in doc strings.
4022 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4024 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4025 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4027 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4029 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4030 TODO. Add "." after " @ ".
4031 (ruby-smie--at-dot-call): New function. Checks if point at method
4032 call with explicit target.
4033 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4034 to the method name tokens when it precedes them.
4035 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4036 (ruby-smie-rules): Add rule for indentation before and after "."
4039 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4041 * textmodes/remember.el (remember-diary-extract-entries):
4044 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4047 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4049 * progmodes/ruby-mode.el (ruby-smie-grammar):
4050 Add (almost) all infix operators.
4051 (ruby-smie--implicit-semi-p): Add new operator chars.
4053 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4055 (ruby-smie--args-separator-p): Check that there's no newline
4056 between method call and its arguments.
4058 2013-10-20 Alan Mackenzie <acm@muc.de>
4060 Allow comma separated lists after Java "implements".
4062 * progmodes/cc-engine.el (c-backward-over-enum-header):
4064 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4065 from a "disallowed" list in enum fontification.
4067 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4069 * startup.el (default-frame-background-mode): Remove unused defvar.
4071 * progmodes/verilog-mode.el (verilog-mode): Don't set
4072 comment-indent-function globally.
4074 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4076 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4077 Move Info menu item creation to ns-win.el.
4079 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4082 * menu-bar.el: Move GNUstep specific menus...
4084 * term/ns-win.el (ns-initialize-window-system): ... to here.
4086 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * simple.el (newline): Only run post-self-insert-hook when
4089 called interactively.
4091 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4093 * icomplete.el (icomplete-with-completion-tables): Add :version.
4095 2013-10-19 Alan Mackenzie <acm@muc.de>
4097 Fix fontification bugs with constructors and const.
4099 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4100 CASE 2) Remove the check for the absence of a suffix construct
4101 after a function declaration with only types (no identifiers) in
4102 the parentheses. Also, accept a function declaration with just a
4103 type inside the parentheses, if this type can be positively
4104 recognised as such, or if a prefix keyword like "explicit" nails
4105 down the construct as a declaration.
4107 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4109 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4110 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4111 the problem whereby selecting a menu item that leads to a
4112 minibuffer prompt moves the cursor out of the minibuffer window,
4113 making it hard to type at the prompt. Suggested by Stefan Monnier
4114 <monnier@iro.umontreal.ca>.
4116 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4118 * menu-bar.el: Don't make Services menu.
4120 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4122 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4123 (ffap-alist): Use ffap-c++-mode for c++-mode.
4124 (ffap-c++-path): New variable.
4125 (ffap-c++-mode): New function.
4127 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4129 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4131 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4133 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4134 introduced on 2013-09-08, which results in an infinite loop
4135 requesting a password.
4137 2013-10-18 Glenn Morris <rgm@gnu.org>
4139 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4141 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4143 Sync with upstream verilog-mode revision 1a6ecec7.
4144 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4145 (verilog-mode-release-date): Remove.
4146 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4147 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4148 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4149 (verilog-auto-tieoff-ignore-regexp)
4150 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4151 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4152 (verilog-signals-with, verilog-dir-cache-preserving)
4153 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4155 (verilog-case-fold): New option, to control case folding in
4156 regexp searches, bug597.
4157 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4158 (verilog-string-match-fold, verilog-in-paren-count)
4159 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4160 (verilog-at-close-struct-p): New functions.
4161 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4162 (verilog-forward-sexp, verilog-set-auto-endcomments):
4163 (verilog-leap-to-case-head): Handle "unique0" case.
4164 (verilog-in-constraint-re): New constant.
4165 (verilog-keywords, verilog-type-font-keywords):
4166 Add some SystemVerilog 1800-2012 keywords.
4167 (verilog-label-be): Remove unimplemented argument, bug669.
4168 (verilog-batch-execute-func): When batch expanding clear
4169 create-lockfiles to prevent spurious user locks when a file ends
4171 (verilog-calculate-indent, verilog-calc-1)
4172 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4173 (verilog-do-indent): Fix indentation of nested constraints
4175 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4176 (verilog-auto-inst-param): Use verilog-string-match-fold.
4177 (verilog-read-inst-module-matcher):
4178 Fix AUTOINST on gate primitives with #1.
4179 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4180 Reads all user-defined typed variables.
4181 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4182 (verilog-signals-matching-regexp)
4183 (verilog-signals-not-matching-regexp, verilog-auto):
4184 Respect verilog-case-fold.
4185 (verilog-diff-report): Fix line count.
4186 (verilog-auto-assign-modport): Remove unused local `modi'.
4187 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4188 better handle multidimensional arrays.
4189 Fix packed array ports misadding bit index in AUTOINST, bug637.
4190 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4191 to not double-declare existing outputs and inputs, respectively.
4192 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4193 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4194 (verilog-sk-uvm-component): New skeleton.
4195 (verilog-submit-bug-report): Add verilog-case-fold,
4196 remove verilog-mode-release-date.
4198 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4200 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4203 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4205 * textmodes/remember.el (remember): Set buffer-offer-save in
4206 remember buffers (bug#13566).
4208 2013-10-18 Daniel Colascione <dancol@dancol.org>
4210 When evaluating forms in ielm, direct standard output to ielm
4211 buffer. Add new ielm-return-for-effect command. Remove trailing
4212 whitespace throughout.
4214 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4215 (ielm-return-for-effect): New command.
4216 (ielm-send-input): Accept optional `for-effect' parameter.
4217 (ielm-eval-input): Accept optional `for-effect' parameter.
4218 Bind `standard-output' to stream we create using
4219 `ielm-standard-output-impl'. Suppress printing result when
4221 (ielm-standard-output-impl): New function.
4222 (inferior-emacs-lisp-mode): Explain new features in documentation.
4224 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4228 * net/tramp.el (tramp-debug-message): Do not check for connection
4230 (tramp-message): Use "vector" connection property.
4232 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4233 (tramp-equal-remote, tramp-eshell-directory-change)
4234 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4235 (tramp-adb-handle-rename-file)
4236 * net/tramp-cmds.el (tramp-list-remote-buffers)
4237 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4238 * net/tramp-compat.el (tramp-compat-process-running-p)
4239 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4240 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4241 (tramp-gvfs-handle-rename-file)
4242 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4243 (tramp-set-file-uid-gid)
4244 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4245 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4248 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4249 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4250 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4251 (tramp-gw-open-network-stream): Suppress unrelated traces.
4253 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4254 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4255 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4256 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4257 connection property.
4259 * net/tramp-cache.el (top): Suppress traces when reading
4262 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4263 Refactor common code. Improve debug message.
4264 (tramp-maybe-open-connection)
4265 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4266 connection buffer too early.
4268 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4269 from `tramp-smb-actions-with-acl'.
4270 (tramp-smb-actions-set-acl): New defconst.
4271 (tramp-smb-handle-copy-directory)
4272 (tramp-smb-action-get-acl): New defun, renamed from
4273 `tramp-smb-action-with-acl'.
4274 (tramp-smb-action-set-acl): New defun.
4275 (tramp-smb-handle-set-file-acl): Rewrite.
4277 2013-10-17 Glenn Morris <rgm@gnu.org>
4279 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4281 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4283 * skeleton.el (skeleton-newline): Remove.
4284 (skeleton-internal-1): Use (insert "\n") instead.
4286 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4289 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4290 forward-sexp-function while we redo its job (bug#15613).
4292 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4294 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4295 represented by lists.
4297 2013-10-16 Glenn Morris <rgm@gnu.org>
4299 * tmm.el (tmm--history): New dynamic variable.
4300 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4302 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4304 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4305 (tramp-smb-errors): Add error messages.
4306 (tramp-smb-actions-with-acl): New defconst.
4307 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4308 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4309 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4310 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4311 (tramp-smb-get-stat-capability): Fix tests.
4313 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4315 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4318 2013-10-16 Glenn Morris <rgm@gnu.org>
4320 * ansi-color.el (ansi-color-drop-regexp):
4321 Add 1J, 1K, 2K. (Bug#15617)
4323 * files.el (hack-local-variables--warned-lexical): New.
4324 (hack-local-variables):
4325 Warn about misplaced lexical-binding. (Bug#15616)
4327 * net/eww.el (eww-render): Always set eww-current-url,
4328 and update header line. (Bug#15622)
4329 (eww-display-html): ... Rather than just doing it here.
4331 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4333 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4334 menu navigations commands.
4336 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4338 * progmodes/subword.el (subword-capitalize): Be careful when
4339 the search for [[:alpha:]] fails (bug#15580).
4341 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4343 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4344 to commands that scroll the menu.
4346 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4348 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4349 Handle methods ending with `?' and `!'.
4351 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4353 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4354 `japanese-cp932' to `cp932' to fix the problem where saving a
4355 source file written in Shift_JIS twice would end up having
4356 `coding: japanese-cp932' which Ruby could not recognize.
4357 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4358 in `ruby-encoding-map'.
4359 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4360 doesn't need to be explicitly declared in magic comment.
4361 (ruby-encoding-map): Add type declaration for better customize UI.
4363 2013-10-13 Glenn Morris <rgm@gnu.org>
4365 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4366 Occur buffers are read-only. http://bugs.debian.org/720775
4368 * emacs-lisp/authors.el (authors-fixed-entries):
4369 Comment out old alpha stuff.
4371 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4373 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4374 to `after-save-hook' instead of `before-save-hook'.
4375 (ruby-mode-set-encoding): Use the value of coding system used to
4376 write the file. Call `basic-save-buffer-1' after modifying the
4379 2013-10-13 Alan Mackenzie <acm@muc.de>
4381 Fix indentation/fontification of Java enum with
4382 "implements"/generic.
4384 * progmodes/cc-engine.el (c-backward-over-enum-header):
4385 Extracted from the three other places and enhanced to handle generics.
4386 (c-inside-bracelist-p): Uses new function above.
4387 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4389 (c-font-lock-enum-tail): Uses new function above.
4391 2013-10-13 Kenichi Handa <handa@gnu.org>
4393 * international/mule-cmds.el (select-safe-coding-system): Remove a
4394 superfluous condition in chekcing whether a coding system is safe
4397 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4399 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4401 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4403 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4405 2013-10-13 Glenn Morris <rgm@gnu.org>
4407 * menu-bar.el (menu-bar-update-buffers):
4408 Unify Buffers menu prompt string. (Bug#15576)
4410 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4412 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4414 (authors-fixed-entries): Use accented form of name.
4416 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4418 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4419 method calls (bug#15594).
4420 (ruby-smie--args-separator-p): New function.
4421 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4422 recognize paren-free method calls.
4424 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4425 internals of universal-argument.
4427 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4429 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4430 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4431 dropped menu on second mouse click on the menu bar.
4433 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4435 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4436 (explicit-shell-file-name): Declare.
4437 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4438 (sh-completion-at-point-function): New function.
4440 (sh-smie--keyword-p): Remove unused argument.
4441 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4443 (sh-set-shell): Always setup SMIE, even if we use the
4444 old indentation code.
4446 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4448 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4450 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4451 predicate would return nil are almost non-existent.
4452 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4454 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4455 cache also after commands that modify the buffer but don't move
4458 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4460 * env.el (substitute-env-in-file-name): New function.
4461 (substitute-env-vars): Extend the meaning of the optional arg.
4463 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4465 * term/w32-win.el (dynamic-library-alist): Define separate lists
4466 of GIF DLLs for versions before and after 5.0.0 of giflib.
4469 2013-10-10 João Távora <joaotavora@gmail.com>
4471 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4472 not locked, use last revision and current source as
4473 defaults. (Bug#15569)
4475 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4477 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4480 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4482 * window.el (pop-to-buffer-same-window): Fix doc-string.
4485 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4487 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4489 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4491 * calendar/icalendar.el (icalendar-import-file):
4492 Fix interactive spec. (Bug#15482)
4494 2013-10-10 Glenn Morris <rgm@gnu.org>
4496 * desktop.el (desktop-save): Default to saving in .emacs.d,
4497 since PWD is no longer in desktop-path by default. (Bug#15319)
4499 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4500 now that text mode has a menu with the same entry.
4501 (menu-bar-text-mode-auto-fill): Remove now unused func.
4502 * textmodes/text-mode.el (text-mode-map):
4503 Use auto-fill help text from menu-bar.el.
4505 2013-10-10 John Anthony <john@jo.hnanthony.com>
4507 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4509 2013-10-09 Juri Linkov <juri@jurta.org>
4511 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4512 instead of this-command-keys. Add universal-argument-more and
4513 universal-argument-minus to the list of prefix commands. (Bug#15568)
4515 2013-10-09 Glenn Morris <rgm@gnu.org>
4517 * vc/vc-svn.el (vc-svn-create-repo):
4518 Expand paths in file://... url. (Bug#15446)
4520 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4522 (authors): Remove unused local variables.
4524 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4526 * profiler.el: Create a more coherent calltree from partial backtraces.
4527 (profiler-format): Hide the tail with `invisible' so that C-s can still
4528 find the hidden elements.
4529 (profiler-calltree-depth): Don't recurse so enthusiastically.
4530 (profiler-function-equal): New hash-table-test.
4531 (profiler-calltree-build-unified): New function.
4532 (profiler-calltree-build): Use it.
4533 (profiler-report-make-name-part): Indent the calltree less.
4534 (profiler-report-mode): Add visibility specs for profiler-format.
4535 (profiler-report-expand-entry, profiler-report-toggle-entry):
4536 Expand the whole subtree when provided with a prefix arg.
4538 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4540 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4542 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4543 hanging iuwu-mod token.
4544 (ruby-smie--forward-token): Do not include a dot after a token in
4546 (ruby-smie--backward-token): Likewise.
4548 2013-10-08 Juri Linkov <juri@jurta.org>
4550 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4551 to isearch-other-control-char.
4552 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4553 and isearch-post-command-hook to post-command-hook.
4554 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4555 and isearch-post-command-hook from post-command-hook.
4556 (isearch-unread-key-sequence)
4557 (isearch-reread-key-sequence-naturally)
4558 (isearch-lookup-scroll-key, isearch-other-control-char)
4559 (isearch-other-meta-char): Remove functions.
4560 (isearch-pre-command-hook, isearch-post-command-hook):
4561 New functions based on isearch-other-meta-char rewritten
4562 relying on the new behavior of overriding-terminal-local-map
4563 that does not replace the local keymaps any more. (Bug#15200)
4565 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4567 Support menus on text-mode terminals.
4568 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4571 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4573 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4574 Move here from mouse.el.
4575 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4577 (tty-menu-navigation-map): New map for TTY menu navigation.
4579 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4581 * frame.el (display-mouse-p): Report text-mode mouse as available
4583 (display-popup-menus-p): Report availability if mouse is
4584 available; don't condition on window-system.
4586 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4587 (tty-menu-selected-face): New faces.
4589 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4591 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4592 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4593 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4594 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4596 (lisp-mode-variables): New `elisp' argument.
4597 (emacs-lisp-mode): Use it.
4598 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4599 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4601 * indent.el: Use lexical-binding.
4602 (indent-region): Add progress reporter.
4603 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4605 (indent--next-tab-stop): New function to implement this behavior.
4606 (tab-to-tab-stop, move-to-tab-stop): Use it.
4608 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4610 * indent.el (indent-rigidly--current-indentation): New function.
4611 (indent-rigidly-map): New var.
4612 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4614 2013-10-08 Bastien Guerry <bzg@gnu.org>
4616 * register.el (insert-register): Fix 2013-10-07 change.
4618 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4620 * progmodes/perl-mode.el: Use lexical-binding.
4621 Remove redundant :group args.
4622 (perl-nochange): Change default to be closer to other major modes's
4624 (perl-indent-line): Don't consider text on current line as a
4625 valid beginning of function from which to indent.
4627 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4628 with more than one argument (bug#15538).
4630 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4632 * vc/pcvs.el: Use lexical-binding.
4633 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4634 environment of `eval'.
4635 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4636 than a list of expressions. Adjust callers.
4637 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4639 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4641 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4642 case of the dot in a chained method call being on the following line.
4644 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4646 * electric.el (electric-indent-inhibit): New var.
4647 (electric-indent-post-self-insert-function): Use it.
4648 * progmodes/python.el (python-mode): Set it.
4650 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4653 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4655 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4656 (css-mode): Use electric-indent-chars.
4658 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4659 (font-lock-beg, font-lock-end): Move before first use.
4660 (nxml-mode): Use syntax-propertize-function.
4661 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4662 (nxml-extend-after-change-region): Remove.
4663 * nxml/xmltok.el: Use lexical-binding.
4664 (xmltok-save): Use `declare'.
4665 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4666 * nxml/nxml-util.el: Use lexical-binding.
4667 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4669 * nxml/nxml-ns.el: Use lexical-binding.
4670 (nxml-ns-save): Use `declare'.
4671 (nxml-ns-prefixes-for): Avoid add-to-list.
4672 * nxml/rng-match.el: Use lexical-binding.
4673 (rng--ipattern): Use cl-defstruct.
4674 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4675 (rng-cons-group-after, rng-subst-group-after)
4676 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4677 Use closures instead of `(lambda...).
4679 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4681 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4684 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4685 Use `tramp-handle-insert-file-contents'.
4686 (tramp-gvfs-handle-insert-file-contents): Remove function.
4688 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4689 Use `save-restriction' in order to keep markers.
4691 * net/trampver.el: Update release number.
4693 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4695 * progmodes/compile.el (compilation-parse-errors):
4696 Use compilation--put-prop.
4697 (compilation--ensure-parse): Check compilation-multiline.
4699 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4701 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4704 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4706 * progmodes/ruby-mode.el: Fix recently added tests.
4707 (ruby-smie-grammar): Add - and +.
4708 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4709 (ruby-smie--backward-id): New functions.
4710 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4711 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4714 2013-10-07 Leo Liu <sdl.web@gmail.com>
4716 * register.el (register-preview-delay)
4717 (register-preview-functions): New variables.
4718 (register-read-with-preview, register-preview)
4719 (register-describe-oneline): New functions.
4720 (point-to-register, window-configuration-to-register)
4721 (frame-configuration-to-register, jump-to-register)
4722 (number-to-register, view-register, insert-register)
4723 (copy-to-register, append-to-register, prepend-to-register)
4724 (copy-rectangle-to-register): Use register-read-with-preview to
4725 read register. (Bug#15525)
4727 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4729 * net/network-stream.el (network-stream-open-starttls): Don't add
4730 --insecure if it's already present, because that gnutls-cli
4731 rejects getting that parameter twice.
4733 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4735 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4738 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4740 * newcomment.el (comment-use-global-state): Change default value
4741 to t, mark obsolete (Bug#15251).
4742 (comment-beginning): In addition to `comment-to-syntax', check the
4743 value of `comment-use-global-state'.
4745 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4747 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4748 (ruby-comment-column): Follow the global default, by default.
4749 (ruby-smie-grammar): Add assignment syntax.
4750 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4751 open-paren, a comma, or a \.
4752 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4753 and line continuations.
4754 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4755 followed by implicit semi-colons. Add rule for string concatenation
4756 and for indentation at BOB.
4757 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4759 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4760 calling next-sexp, since next-token may have skipped chars which
4761 next-sexp doesn't know should be skipped!
4763 2013-10-05 Leo Liu <sdl.web@gmail.com>
4765 * progmodes/octave.el (octave-send-region):
4766 Call compilation-forget-errors.
4768 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4770 * vc/vc-svn.el (vc-svn-find-admin-dir):
4771 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4772 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4773 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4774 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4776 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4778 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4780 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4782 * subr.el (read-passwd): Hide chars even when called within a context
4783 where after-change-functions is disabled (bug#15501).
4784 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4785 until we removed ourself from overriding-terminal-local-map.
4787 2013-10-04 Leo Liu <sdl.web@gmail.com>
4789 * progmodes/octave.el (inferior-octave-mode):
4790 Call compilation-forget-errors.
4792 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4794 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4796 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4798 * net/secrets.el (secrets-create-collection): Add optional
4799 argument ALIAS. Use proper Label keyword. Append ALIAS as
4800 dbus-call-method argument. (Bug#15516)
4802 2013-10-04 Leo Liu <sdl.web@gmail.com>
4804 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4805 (inferior-octave-compilation-font-lock-keywords): New variables.
4806 (compilation-error-regexp-alist)
4807 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4808 (inferior-octave-mode): Use compilation-shell-minor-mode.
4810 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4812 * minibuffer.el (completion--replace): Be careful that `end' might be
4815 2013-10-03 Daiki Ueno <ueno@gnu.org>
4817 Add support for package signature checking.
4818 * emacs-lisp/package.el (url-http-file-exists-p)
4819 (epg-make-context, epg-context-set-home-directory)
4820 (epg-verify-string, epg-context-result-for)
4821 (epg-signature-status, epg-signature-to-string)
4822 (epg-check-configuration, epg-configuration)
4823 (epg-import-keys-from-file): Declare.
4824 (package-check-signature): New user option.
4825 (package-unsigned-archives): New user option.
4826 (package-desc): Add `signed' field.
4827 (package-load-descriptor): Set `signed' field if .signed file exists.
4828 (package--archive-file-exists-p): New function.
4829 (package--check-signature): New function.
4830 (package-install-from-archive): Check package signature.
4831 (package--download-one-archive): Check archive signature.
4832 (package-delete): Remove .signed file.
4833 (package-import-keyring): New command.
4834 (package-refresh-contents): Import default keyring.
4835 (package-desc-status): Add "unsigned" status.
4836 (describe-package-1, package-menu--print-info)
4837 (package-menu-mark-delete, package-menu--find-upgrades)
4838 (package-menu--status-predicate): Support "unsigned" status.
4840 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4842 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4843 the new compilation scheme using the new byte-codes.
4845 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4846 (byte-pophandler): New byte codes.
4847 (byte-goto-ops): Adjust accordingly.
4848 (byte-compile--use-old-handlers): New var.
4849 (byte-compile-catch): Use new byte codes depending on
4850 byte-compile--use-old-handlers.
4851 (byte-compile-condition-case--old): Rename from
4852 byte-compile-condition-case.
4853 (byte-compile-condition-case--new): New function.
4854 (byte-compile-condition-case): New function that dispatches depending
4855 on byte-compile--use-old-handlers.
4856 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4859 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4860 Optimize under `condition-case' and `catch' if
4861 byte-compile--use-old-handlers is nil.
4862 (disassemble-offset): Handle new bytecodes.
4864 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4866 * subr.el (error): Use `declare'.
4867 (decode-char, encode-char): Use advertised-calling-convention instead
4868 of the docstring to discourage use of the `restriction' arg.
4870 2013-10-03 Daiki Ueno <ueno@gnu.org>
4872 * epg.el (epg-verify-file): Add a comment saying that it does not
4873 notify verification error as a return value nor a signal.
4874 (epg-verify-string): Ditto.
4876 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4878 * progmodes/compile.el (compilation-start): Try globbing the arg to
4881 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4883 Sync with Tramp 2.2.8.
4885 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4886 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4887 * net/trampver.el: Update release number.
4889 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4891 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4892 and default-process-coding-system for darwin only.
4894 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4896 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4898 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4900 * vc/vc-git.el (vc-git-grep): Disable pager.
4902 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4904 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4905 Use :url instead of :homepage, as per
4906 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4908 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4909 non-nil, use `syntax-ppss' (Bug#15251).
4911 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4913 * progmodes/octave.el (inferior-octave-startup-file):
4914 Prefer ~/.emacs.d/init_octave.m.
4916 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4918 * emacs-lisp/package.el (package-desc-from-define):
4919 Accept additional arguments as plist, convert them to an alist and store
4920 them in the `extras' slot.
4921 (package-generate-description-file): Convert extras alist back to
4922 plist and append to the `define-package' form arguments.
4923 (package--alist-to-plist): New function.
4924 (package--ac-desc): Add `extras' slot.
4925 (package--add-to-archive-contents): Check if the archive-contents
4926 vector is long enough, and if it is, pass its `extras' slot value
4927 to `package-desc-create'.
4928 (package-buffer-info): Call `lm-homepage', pass the returned value
4929 to `package-desc-from-define'.
4930 (describe-package-1): Render the homepage button (Bug#13291).
4932 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4933 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4935 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4937 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4938 and default-process-coding-system to utf-8-unix (Bug#15402).
4940 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4942 * subr.el (looking-back): Do not recommend using looking-back.
4944 2013-09-28 Alan Mackenzie <acm@muc.de>
4946 Fix indentation/fontification of Java enum with "implements".
4948 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4949 regexp which matches "implements", etc., in Java.
4950 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4951 specifier clauses coming after "enum".
4952 * progmodes/cc-fonts.el (c-font-lock-declarations)
4953 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4956 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4958 * faces.el (region): Change ns_selection_color to
4959 ns_selection_fg_color, add ns_selection_bg_color.
4961 2013-09-28 Leo Liu <sdl.web@gmail.com>
4963 * progmodes/octave.el (inferior-octave-completion-table)
4964 (inferior-octave-completion-at-point): Minor tweaks.
4966 * textmodes/ispell.el (ispell-lookup-words): Rename from
4967 lookup-words. (Bug#15460)
4968 (lookup-words): Obsolete.
4969 (ispell-complete-word, ispell-command-loop): All uses changed.
4971 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4973 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4974 (octave-mode-menu): Add octave-send-buffer.
4975 (octave-send-buffer): New function.
4977 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4979 * progmodes/octave.el (octave-mode-map): Add key binding for
4981 (octave-mode-menu): Add octave-lookfor.
4982 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
4984 (octave-lookfor): New function.
4986 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
4988 * emacs-lisp/cl-macs.el:
4989 (cl--loop-destr-temps): Remove.
4990 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
4992 (cl--loop-set-iterator-function): New function.
4993 (cl-loop): Adjust accordingly, so as not to use cl-subst.
4994 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
4995 Bind `it' with `let' instead of substituting it with `cl-subst'.
4996 (cl--unused-var-p): New function.
4997 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
4998 Eliminate some unused variable warnings (bug#15326).
5000 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5002 * doc-view.el (doc-view-scale-reset): Rename from
5003 `doc-view-reset-zoom-level'.
5004 (doc-view-scale-adjust): New command.
5005 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5006 `doc-view-scale-adjust'.
5008 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5010 * doc-view.el (doc-view-reset-zoom-level): New command.
5011 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5012 zoom commands (bug#15466).
5014 2013-09-26 Kenichi Handa <handa@gnu.org>
5016 * international/quail.el (quail-help): Make it not a command.
5018 2013-09-26 Leo Liu <sdl.web@gmail.com>
5020 * minibuffer.el (completion-all-sorted-completions): Make args
5021 optional as they are.
5023 2013-09-25 Daniel Colascione <dancol@dancol.org>
5025 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5026 specs are and that they're not evaluated.
5028 2013-09-24 Sam Steingold <sds@gnu.org>
5030 * midnight.el (clean-buffer-list-kill-regexps)
5031 (clean-buffer-list-kill-buffer-names): Update for the new Man
5032 buffer naming which includes the object name.
5034 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5036 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5037 (eshell-parse-command, eshell-parse-pipeline): Use it since
5038 eshell-separate-commands requires a dynamic scoped var.
5039 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5041 2013-09-23 Leo Liu <sdl.web@gmail.com>
5043 * autoinsert.el (auto-insert-alist): Make the value of
5044 lexical-binding match its file setting.
5046 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5048 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5050 * autoarg.el (autoarg-kp-digit-argument):
5051 * electric.el (Electric-command-loop):
5052 * kmacro.el (kmacro-step-edit-insert):
5053 Do not set universal-argument-num-events.
5055 2013-09-22 Leo Liu <sdl.web@gmail.com>
5057 * files.el (interpreter-mode-alist): Add octave.
5059 2013-09-21 Alan Mackenzie <acm@muc.de>
5061 C++: fontify identifier in declaration following "public:" correctly.
5062 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5063 to match "public", etc.
5064 (c-decl-prefix-re): Add ":" into the C++ value.
5065 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5066 bit. Add a check for a ":" preceded by "public", etc.
5068 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5070 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5071 recognized by GDB 7.5 and later.
5073 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5075 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5077 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5079 * subr.el (internal--call-interactively): New const.
5080 (called-interactively-p): Use it (bug#3984).
5082 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5084 * vc/pcvs.el (cvs-mode-ignore):
5085 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5086 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5088 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5090 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5091 (eshell-ls-orig-insert-directory): Remove.
5092 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5093 (eshell-ls-use-in-dired): Use advice-add/remove.
5094 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5095 Add `orig-fun' arg for use in :around advice.
5096 Make it check (redundantly) eshell-ls-use-in-dired.
5098 2013-09-19 Glenn Morris <rgm@gnu.org>
5100 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5102 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5104 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5106 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5108 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5109 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5110 (tramp-get-remote-python): New defuns.
5111 (tramp-get-remote-uid-with-perl)
5112 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5113 contributed by yary <not.com@gmail.com> (tiny change).
5114 (tramp-get-remote-uid-with-python)
5115 (tramp-get-remote-gid-with-python): New defuns. Python code
5116 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5117 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5119 2013-09-19 Glenn Morris <rgm@gnu.org>
5121 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5123 * eshell/em-unix.el (eshell-remove-entries):
5124 Rename argument to avoid name-clash with global `top-level'.
5126 * eshell/esh-proc.el (eshell-kill-process-function):
5127 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5128 (eshell-reset-after-proc): Remove unused arg `proc'.
5130 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5131 (directory-files-and-attributes): Mark unused arg.
5133 * eshell/em-unix.el (eshell-remove-entries):
5134 Remove unused arg `path'. Update callers.
5136 * eshell/em-hist.el (eshell-hist-parse-arguments):
5137 Remove unused arg `silent'. Update callers.
5139 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5140 Fix (f)boundp mix-up.
5142 * eshell/em-smart.el (eshell-smart-scroll-window)
5143 (eshell-disable-after-change):
5144 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5146 2013-09-18 Alan Mackenzie <acm@muc.de>
5148 Fix fontification of type when followed by "const".
5149 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5150 "known" types from fontification.
5152 2013-09-18 Glenn Morris <rgm@gnu.org>
5154 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5155 (chart-face-list): Drop Emacsen without display-color-p.
5157 * net/eww.el (libxml-parse-html-region): Declare.
5158 (eww-display-html): Explicit error if no libxml2 support.
5160 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5162 * image.el (image-type-from-buffer, image-multi-frame-p):
5163 Remove --without-x warning/error.
5165 * mouse.el (mouse-yank-primary):
5166 * term.el (term-mouse-paste):
5167 Reorder to silence --without-x compilation.
5169 * mpc.el (doc-view-mode): Silence --without-x compilation.
5171 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5172 Silence --without-x compilation.
5174 * progmodes/gud.el (gud-find-file, gud-mode):
5175 Silence --without-x compilation.
5176 (tooltip-mode): Declare.
5178 * wdired.el (dired-backup-overwrite): Remove declaration.
5179 (wdired-mode-map): Add doc string.
5181 * custom.el (x-get-resource): Declare.
5183 * eshell/em-glob.el (ange-cache):
5184 * eshell/em-unix.el (ange-cache): Declare.
5186 * faces.el (x-display-list, x-open-connection, x-get-resource):
5189 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5190 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5193 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5195 * net/gnutls.el (gnutls-log-level): Declare.
5197 * net/shr.el (image-size, image-animate): Declare.
5199 * simple.el (font-info): Declare.
5201 * subr.el (x-popup-dialog): Declare.
5203 * term/common-win.el (x-select-enable-primary)
5204 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5207 * term/ns-win.el (x-handle-args): Declare.
5209 * term/x-win.el (x-select-enable-clipboard): Declare.
5211 * term/w32-win.el (create-default-fontset): Declare.
5213 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5216 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5217 (fit-frame-to-buffer): Explicit error if --without-x.
5218 (mouse-autoselect-window-select): Silence compiler.
5220 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5222 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5223 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5224 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5225 * eshell/esh-util.el (eshell-sublist):
5226 Remove unused local variables.
5228 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5230 * textmodes/two-column.el: Make 2C-split work for --without-x.
5231 (scroll-bar-columns): Autoload.
5232 (top-level): Require fringe when compiling.
5234 2013-09-18 Leo Liu <sdl.web@gmail.com>
5236 * subr.el (add-hook): Robustify to handle closure as well.
5238 2013-09-17 Glenn Morris <rgm@gnu.org>
5240 * simple.el (messages-buffer-mode-map): Unbind "g".
5242 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5244 * help-mode.el (help-mode-finish): Use derived-mode-p.
5245 Remove obsolete highlighting.
5247 * play/life.el (life-mode): Use define-derived-mode. Derive from
5249 (life): Let-bind inhibit-read-only.
5250 (life-setup): Avoid `setq'. Use `life-mode'.
5252 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5253 which should not be needed any more.
5254 (package-menu-refresh, package-menu-describe-package): Use user-error.
5256 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5257 (eshell-post-rewrite-command-hook): Make obsolete.
5258 (eshell-parse-command): Simplify.
5259 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5260 (eshell--cmd): Declare.
5261 (eshell-parse-pipeline): Remove unused var `final-p'.
5262 Pass a dynvar to eshell-post-rewrite-command-hook.
5263 Implement the new eshell-post-rewrite-command-function.
5264 (eshell-invoke-directly): Remove unused arg `input'.
5265 * eshell/esh-io.el (eshell-io-initialize):
5266 Use eshell-post-rewrite-command-function (bug#15399).
5267 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5268 adjust to new calling convention.
5269 (eshell-create-handles): Rename args to avoid clashing with dynvar
5272 2013-09-17 Glenn Morris <rgm@gnu.org>
5274 * simple.el (messages-buffer-mode): New major mode.
5275 (messages-buffer): New function.
5276 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5277 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5278 (ert-run-test): Use `messages-buffer' function.
5279 (ert--force-message-log-buffer-truncation): Ignore read-only.
5280 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5281 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5283 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5287 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5289 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5291 * icomplete.el (icomplete-in-buffer): New var.
5292 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5293 vars and replace them with functions.
5294 (icomplete-minibuffer-setup): Adjust accordingly.
5295 (icomplete--completion-table, icomplete--completion-predicate)
5296 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5298 (icomplete-forward-completions, icomplete-backward-completions)
5299 (icomplete-simple-completing-p, icomplete-exhibit)
5300 (icomplete-completions): Use them.
5301 (icomplete--in-region-buffer): New var.
5302 (icomplete--in-region-setup): New function.
5303 (icomplete-mode): Use it.
5305 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5307 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5308 return args and options.
5309 (eshell-eval-using-options): Use the new return value of
5310 eshell--do-opts to set the options's vars in their scope.
5311 (eshell--set-option): Rename from eshell-set-option.
5313 (eshell--process-option): Rename from eshell-process-option.
5315 (eshell--process-args): Use an `opt-vals' alist to store the options's
5316 values during their processing and return them additionally to the
5319 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5321 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5322 continuation character an operator, as far as indentation is
5323 concerned (Bug#15369).
5325 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5327 * window.el (window--state-put-2): Don't process buffer state
5328 when buffer doesn't exist any more (Bug#15382).
5330 2013-09-15 Glenn Morris <rgm@gnu.org>
5332 * eshell/em-unix.el (eshell/rm):
5333 Make -f ignore missing files. (Bug#15373)
5335 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5336 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5337 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5339 2013-09-14 Glenn Morris <rgm@gnu.org>
5341 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5343 2013-09-13 Glenn Morris <rgm@gnu.org>
5345 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5346 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5348 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5350 * frame.el (x-focus-frame): Mark as declared in frame.c.
5352 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5354 * ls-lisp.el: Use advice-add.
5355 (original-insert-directory): Remove.
5356 (ls-lisp--insert-directory): Rename from insert-directory; add
5357 `orig-fun' argument.
5358 (insert-directory): Advise.
5360 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5362 * term.el (term-emulate-terminal): Decode the command string
5363 before passing it to term-command-hook. (Bug#15337)
5365 2013-09-13 Glenn Morris <rgm@gnu.org>
5367 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5369 * eshell/esh-ext.el (eshell-search-path): Declare.
5371 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5372 Otherwise an error occurs if eshell-dirs module not loaded.
5374 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5376 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5378 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5379 `tramp-check-proper-host'. Check for a valid method name.
5381 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5382 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5383 * net/tramp-sh.el (tramp-maybe-open-connection):
5384 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5386 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5387 also for hash values.
5389 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5391 * term/ns-win.el (parameters): Don't declare as dynamic.
5392 (before-make-frame-hook): Don't add ineffective function.
5394 * eshell/*.el: Use lexical-binding (bug#15231).
5396 2013-09-12 Kenichi Handa <handa@gnu.org>
5398 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5400 2013-09-12 Glenn Morris <rgm@gnu.org>
5402 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5403 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5405 * subr.el (do-after-load-evaluation): Also give compiler warnings
5406 when obsolete files are used (except by obsolete files).
5408 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5409 in the status output, assume `filename' is the first. (Bug#15322)
5411 * vc/vc.el (vc-deduce-fileset): Doc fix.
5413 * calc/calc-help.el (Info-goto-node):
5414 * progmodes/cperl-mode.el (Info-find-node):
5415 * vc/ediff.el (Info-goto-node): Update declarations.
5417 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5419 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5420 (vc-bzr-pull): Require vc-dispatcher.
5421 * vc/vc-git.el (vc-compilation-mode): Declare.
5422 (vc-git-pull): Require vc-dispatcher.
5424 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5426 * progmodes/octave.el (help-button-action): Declare.
5428 * shell.el (shell-directory-tracker): Output error as a message
5429 rather than just returning it as a string.
5430 (shell-process-pushd): Remove useless use of message.
5432 * dframe.el (dframe-timer-fn):
5433 * files.el (dir-locals-read-from-file):
5434 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5436 * reveal.el (reveal-post-command):
5437 * saveplace.el (load-save-place-alist-from-file):
5438 * shell.el (shell-resync-dirs):
5439 * w32-common-fns.el (x-get-selection-value):
5440 * emacs-lisp/copyright.el (copyright-find-copyright):
5441 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5442 * emulation/tpu-edt.el (tpu-copy-keyfile):
5443 * play/bubbles.el (bubbles--mark-neighbourhood):
5444 * progmodes/executable.el
5445 (executable-make-buffer-file-executable-if-script-p):
5446 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5448 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5450 Cleanup Eshell to rely less on dynamic scoping.
5451 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5452 last-value, and ext-command here. Bind `args' closer to `body'.
5453 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5454 (eshell--args): Declare new dynamic var.
5455 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5456 last-value, and ext-command. Pass `args' to `body'.
5457 (eshell-process-args): Bind eshell--args.
5458 (eshell-set-option): Use eshell--args.
5459 * eshell/eshell.el (eshell): Use derived-mode-p.
5460 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5461 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5462 (eshell-glob-function): Declare.
5463 * eshell/esh-util.el: Require cl-lib.
5464 (eshell-read-hosts-file): Avoid add-to-list.
5465 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5467 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5469 (eshell/diff): Remove unused var `err'.
5470 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5472 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5473 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5475 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5476 Move declaration before first use.
5477 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5478 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5481 2013-09-12 Glenn Morris <rgm@gnu.org>
5483 * term/ns-win.el (global-map): Remove binding for ispell-next,
5484 deleted 1999-05-29. (Bug#15357)
5486 2013-09-11 Glenn Morris <rgm@gnu.org>
5488 * echistory.el (electric-command-history): Remove call to deleted func.
5490 * play/landmark.el (landmark-mode): Fix typos.
5492 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5493 Check cvs-sort-ignore-file is bound.
5495 * savehist.el: No need for cl when compiling on Emacs.
5497 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5499 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5501 (eshell-self-insert-command, eshell-send-invisible):
5502 Remove unused argument.
5503 (eshell-handle-control-codes): Remove unused var `orig'.
5504 Avoid delete-backward-char.
5506 * files.el (set-auto-mode): Simplify a bit further.
5508 2013-09-11 Glenn Morris <rgm@gnu.org>
5510 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5511 (set-auto-mode): Don't regexp-quote elements.
5512 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5513 * progmodes/cc-mode.el (interpreter-mode-alist):
5514 * progmodes/ruby-mode.el (interpreter-mode-alist):
5515 Revert previous change.
5517 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5519 * play/snake.el (snake-mode):
5520 * play/mpuz.el (mpuz-mode):
5521 * play/landmark.el (lm-mode):
5522 * play/blackbox.el (blackbox-mode):
5523 * play/5x5.el (5x5-mode):
5524 * obsolete/options.el (Edit-options-mode):
5525 * net/quickurl.el (quickurl-list-mode):
5526 * net/newst-treeview.el (newsticker-treeview-mode):
5527 * mail/rmailsum.el (rmail-summary-mode):
5528 * mail/mspools.el (mspools-mode):
5529 * locate.el (locate-mode):
5530 * ibuffer.el (ibuffer-mode):
5531 * emulation/ws-mode.el (wordstar-mode):
5532 * emacs-lisp/debug.el (debugger-mode):
5533 * array.el (array-mode):
5534 * net/eudc.el (eudc-mode): Use define-derived-mode.
5535 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5536 Move initialization into declaration.
5537 (mairix-searches-mode): Use define-derived-mode.
5538 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5539 (eudc-edit-hotlist): Use dolist.
5540 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5541 (Man-mode): Use define-derived-mode.
5542 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5543 (Info-edit-mode): Use define-derived-mode.
5544 (Info-cease-edit): Use Info-mode.
5545 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5547 (eshell-mode): Use define-derived-mode.
5548 * chistory.el (command-history-mode-map): Rename from
5549 command-history-map.
5550 (command-history-mode): Use define-derived-mode.
5551 (Command-history-setup): Remove function.
5552 * calc/calc.el (calc-trail-mode-map): New var.
5553 (calc-trail-mode): Use define-derived-mode.
5554 (calc-trail-buffer): Set calc-main-buffer manually.
5555 * bookmark.el (bookmark-insert-annotation): New function.
5556 (bookmark-edit-annotation): Use it.
5557 (bookmark-edit-annotation-mode): Make it a proper major mode.
5558 (bookmark-send-edited-annotation): Use derived-mode-p.
5559 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5560 closer to its ideal place. Use \' to match EOS.
5562 * profiler.el (profiler-calltree-find): Use function-equal.
5564 2013-09-10 Glenn Morris <rgm@gnu.org>
5566 * files.el (interpreter-mode-alist): Convert to regexps.
5567 (set-auto-mode): Adapt for this. (Bug#15306)
5568 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5569 Comment out unused variable.
5570 * progmodes/cc-mode.el (interpreter-mode-alist):
5571 * progmodes/python.el (interpreter-mode-alist):
5572 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5573 * progmodes/sh-script.el (sh-set-shell):
5574 No longer use interpreter-mode-alist to get list of shells.
5576 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5578 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5580 * simple.el: Use set-temporary-overlay-map for universal-argument.
5581 (universal-argument-map): Don't use default-bindings (bug#15317).
5582 Bind switch-frame explicitly. Replace universal-argument-minus with
5583 a conditional binding.
5584 (universal-argument-num-events, saved-overriding-map): Remove.
5585 (restore-overriding-map): Remove.
5586 (universal-argument--mode): Rename from save&set-overriding-map,
5588 (universal-argument, universal-argument-more, negative-argument)
5589 (digit-argument): Adjust accordingly.
5590 (universal-argument-minus): Remove.
5591 (universal-argument-other-key): Remove.
5593 * subr.el (with-demoted-errors): Add `format' argument.
5595 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5597 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5598 `tramp-cleanup-connection'.
5600 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5601 parameters KEEP-DEBUG and KEEP-PASSWORD.
5603 * net/tramp.el (tramp-file-name-handler):
5604 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5605 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5606 (tramp-maybe-open-connection):
5607 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5608 Use `tramp-cleanup-connection'.
5610 * net/tramp-sh.el (tramp-maybe-open-connection):
5611 Catch 'uname-changed inside the progress reporter.
5613 2013-09-10 Glenn Morris <rgm@gnu.org>
5615 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5617 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5618 returns "alternate access method" in mode (eg "-rw-r--r--.").
5620 2013-09-08 Glenn Morris <rgm@gnu.org>
5622 * saveplace.el (load-save-place-alist-from-file):
5623 Demote errors. (Bug#15305)
5625 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5627 Improve compatibility with older Emacsen, and XEmacs.
5629 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5630 only if it is bound. It isn't for XEmacs.
5631 (with-tramp-progress-reporter): Do not let-bind `result'.
5632 This yields to scoping errors in XEmacs.
5633 (tramp-handle-make-auto-save-file-name): New function, moved from
5636 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5637 for `make-auto-save-file-name'.
5638 (tramp-adb--gnu-switches-to-ash):
5639 Use `tramp-compat-replace-regexp-in-string'.
5641 * net/tramp-cache.el (tramp-cache-print): Call
5642 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5644 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5645 bound. It isn't for XEmacs.
5647 * net/tramp-compat.el (tramp-compat-copy-file):
5648 Catch `wrong-number-of-arguments' error.
5649 (tramp-compat-replace-regexp-in-string): New defun.
5651 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5652 for `make-auto-save-file-name'.
5653 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5655 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5656 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5657 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5659 * net/tramp-gw.el (tramp-gw-open-network-stream):
5660 Use `tramp-compat-replace-regexp-in-string'.
5662 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5663 Call `tramp-handle-make-auto-save-file-name'.
5664 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5665 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5666 (tramp-sh-file-inotifywait-process-filter):
5667 Use `tramp-compat-replace-regexp-in-string'.
5668 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5670 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5671 for `make-auto-save-file-name'.
5672 (tramp-smb-handle-copy-directory):
5673 Call `tramp-compat-replace-regexp-in-string'.
5674 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5675 (tramp-smb-handle-copy-file): Improve error message.
5676 (tramp-smb-handle-rename-file): Rename directly only in case
5677 `newname' does not exist yet. This is a restriction of smbclient.
5678 (tramp-smb-maybe-open-connection): Rerun the function only when
5679 `auth-sources' is non-nil.
5681 2013-09-08 Kenichi Handa <handa@gnu.org>
5683 * international/characters.el: Set category "^" (Combining) for
5686 2013-09-07 Alan Mackenzie <acm@muc.de>
5688 Correctly fontify Java class constructors.
5689 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5691 (c-recognize-typeless-decls): Set the Java value to t.
5692 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5693 While handling a "(", add a check for, effectively, Java, and handle a
5694 "typeless" declaration there.
5696 2013-09-07 Roland Winkler <winkler@gnu.org>
5698 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5699 field subtitle for entry type book.
5701 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5703 * minibuffer.el: Make minibuffer-complete call completion-in-region
5704 rather than other way around.
5705 (completion--some, completion-pcm--find-all-completions):
5706 Don't delay signals when debugging.
5707 (minibuffer-completion-contents): Beware fields within the
5708 minibuffer contents.
5709 (completion-all-sorted-completions): Use defvar-local.
5710 (completion--do-completion, completion--cache-all-sorted-completions)
5711 (completion-all-sorted-completions, minibuffer-force-complete):
5712 Add args `beg' and `end'.
5713 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5714 (minibuffer-complete): Use completion-in-region.
5715 (completion-complete-and-exit): New fun, extracted from
5716 minibuffer-complete-and-exit.
5717 (minibuffer-complete-and-exit): Use it.
5718 (completion--complete-and-exit): Rename from
5719 minibuffer--complete-and-exit.
5720 (completion-in-region--single-word): New function, extracted from
5721 minibuffer-complete-word.
5722 (minibuffer-complete-word): Use it.
5723 (display-completion-list): Make `common-substring' argument obsolete.
5724 (completion--in-region): Call completion--in-region-1 instead of
5725 minibuffer-complete.
5726 (completion-help-at-point): Pass boundaries to
5727 minibuffer-completion-help as args rather than via an overlay.
5728 (completion-pcm--string->pattern): Use `any-delim'.
5729 (completion-pcm--optimize-pattern): New function.
5730 (completion-pcm--pattern->regex): Handle `any-delim'.
5731 * icomplete.el (icomplete-forward-completions)
5732 (icomplete-backward-completions, icomplete-completions):
5733 Adjust calls to completion-all-sorted-completions and
5734 completion--cache-all-sorted-completions.
5735 (icomplete-with-completion-tables): Default to t.
5736 * emacs-lisp/crm.el (crm--current-element): Rename from
5737 crm--select-current-element. Don't put an overlay but return the
5739 (crm--completion-command): Take two new args to bind to the boundaries.
5740 (crm-completion-help): Adjust accordingly.
5741 (crm-complete): Use completion-in-region.
5742 (crm-complete-word): Use completion-in-region--single-word.
5743 (crm-complete-and-exit): Use completion-complete-and-exit.
5745 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5747 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5750 2013-09-06 Juri Linkov <juri@jurta.org>
5752 * info.el (Info-display-images-node): When image file doesn't exist
5753 display text version of the image if it's provided in the Info file.
5754 Otherwise, display the location of missing image from SRC attribute.
5755 Add help-echo text property from ALT attribute. (Bug#15279)
5757 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5759 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5760 (edit-abbrevs-mode): Use define-derived-mode.
5762 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5763 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5765 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5766 Use define-derived-mode.
5768 * epg.el (epg-start-encrypt): Minor CSE simplification.
5770 2013-09-06 William Xu <william.xwl@gmail.com>
5772 * arc-mode.el: Add support for 7za (bug#15264).
5773 (archive-7z-program): New var.
5774 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5775 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5776 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5778 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5782 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5783 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5784 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5785 (tramp-postfix-host-format, tramp-file-name-regexp)
5786 (tramp-completion-file-name-regexp)
5787 (tramp-completion-dissect-file-name)
5788 (tramp-handle-substitute-in-file-name): Remove 'url case.
5789 (tramp-file-name-regexp-url)
5790 (tramp-completion-file-name-regexp-url): Remove constants.
5792 2013-09-06 Glenn Morris <rgm@gnu.org>
5794 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5796 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5798 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5799 keywords" below "here-doc beginnings" (Bug#15270).
5801 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5803 * subr.el (pop): Use `car-safe'.
5804 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5805 to detect unused `pop' return value.
5807 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5809 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5810 (python-fill-string): Remove unused var `marker'.
5811 (python-skeleton-add-menu-items): Remove unused var `items'.
5813 * international/mule-cmds.el: Require CL.
5814 (find-coding-systems-for-charsets): Avoid add-to-list.
5815 (sanitize-coding-system-list): New function, extracted from
5816 select-safe-coding-system-interactively.
5817 (select-safe-coding-system-interactively): Use it.
5818 (read-input-method-name): Accept symbols for `default'.
5820 * emacs-lisp/advice.el (defadvice): Add indent rule.
5822 2013-09-05 Daniel Hackney <dan@haxney.org>
5826 * net/browse-url.el:
5829 * net/eudcb-ldap.el:
5842 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5843 byte compiler. Remove some unused let-bound variables.
5845 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5847 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5848 a "ref-cell", since it gets better optimized (bug#14883).
5850 2013-09-05 Glenn Morris <rgm@gnu.org>
5852 * progmodes/cc-awk.el (c-forward-sws): Declare.
5854 2013-09-04 Glenn Morris <rgm@gnu.org>
5856 * generic-x.el [rul-generic-mode]: Require cc-mode.
5857 (c++-mode-syntax-table): Declare.
5858 (rul-generic-mode-syntax-table): Init in the defvar.
5860 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5862 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5863 (vc-do-command, vc-set-async-update):
5864 * vc/vc-mtn.el (vc-mtn-dir-status):
5865 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5866 (vc-hg-pull, vc-hg-merge-branch):
5867 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5868 (vc-git-merge-branch):
5869 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5870 (vc-cvs-dir-status-files):
5871 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5872 (vc-bzr-dir-status-files):
5873 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5874 * vc/vc-annotate.el: Use lexical-binding.
5875 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5876 (vc-sentinel-movepoint): Declare.
5877 (vc-annotate): Don't use `goto-line'.
5878 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5879 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5880 (vc-sentinel-movepoint): Declare.
5881 * vc/vc-svn.el: Use lexical-binding.
5882 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5884 * vc/vc-rcs.el: Use lexical-binding.
5886 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5887 `deleted'. Don't drop errors silently.
5889 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5891 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5893 * vc/vc.el (vc-ignore): Rewrite.
5894 (vc-default-ignore): New function.
5895 (vc-default-ignore-completion-table): Use find-ignore-file.
5897 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5898 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5899 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5900 Remove. Most code moved to vc.el.
5902 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5904 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5905 * net/tramp-smb.el (tramp-smb-get-file-entries):
5906 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5907 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5909 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5911 (eww-change-select): Remove unused var `properties'.
5912 (eww-make-unique-file-name): Remove unused var `base'.
5914 * finder.el (finder-compile-keywords): Don't mess with windows.
5916 * calculator.el (calculator-funcall): Fix typo in last change.
5918 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5920 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5921 <pkg>-autoloads.el file stop us.
5923 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5924 warnings, and factor out common code.
5926 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5928 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5929 two-character operators and whether the character preceding them
5930 changes their meaning (Bug#15208).
5932 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5934 Format code sent to Python shell for robustness.
5935 * progmodes/python.el (python-shell-buffer-substring):
5937 (python-shell-send-region, python-shell-send-buffer): Use it.
5939 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5941 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5942 * net/tramp.el (tramp-user-error): ... here.
5943 (tramp-find-method, tramp-check-proper-host)
5944 (tramp-dissect-file-name, tramp-debug-message)
5945 (tramp-handle-shell-command):
5946 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5947 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5949 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5951 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5953 * avoid.el (mouse-avoidance-point-position)
5954 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5957 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5959 * progmodes/python.el (python-shell-completion-get-completions):
5960 Drop use of deleted `comint-last-prompt-overlay'.
5961 (python-nav-if-name-main): New command.
5963 2013-09-01 Glenn Morris <rgm@gnu.org>
5965 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5966 Avoid leading space in $wins. Otherwise the sed command used by
5967 eg compile-main ends up containing "/*.el". (Bug#15170)
5969 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5971 2013-08-30 Glenn Morris <rgm@gnu.org>
5973 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5974 Fix is-this-a-directory logic. (Bug#15220)
5976 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
5978 * textmodes/css-mode.el: Use SMIE.
5979 (css-smie-grammar): New var.
5980 (css-smie--forward-token, css-smie--backward-token)
5981 (css-smie-rules): New functions.
5982 (css-mode): Use them.
5983 (css-navigation-syntax-table): Remove var.
5984 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
5985 (css-indent-calculate, css-indent-line): Remove functions.
5987 Misc changes to reduce use of `(lambda...); and other cleanups.
5988 * cus-edit.el: Use lexical-binding.
5989 (customize-push-and-save, customize-apropos)
5990 (custom-buffer-create-internal): Use closures.
5991 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
5992 * progmodes/ada-xref.el: Use setq.
5993 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
5994 * dframe.el: Use lexical-binding.
5995 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
5996 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
5997 * descr-text.el: Use lexical-binding.
5998 (describe-text-widget, describe-text-sexp, describe-property-list):
6000 * comint.el (comint-history-isearch-push-state): Use a closure.
6001 * calculator.el: Use lexical-binding.
6002 (calculator-number-to-string): Make it work with lexical-binding.
6003 (calculator-funcall): Same and use cl-letf.
6005 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6006 (lisp--company-doc-string, lisp--company-location): New functions.
6007 (lisp-completion-at-point): Use them to improve Company support.
6009 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6010 params of lambda expressions.
6011 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6012 (ruby-smie--opening-pipe-p): New function.
6013 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6014 symbols and matched |...| for formal params.
6015 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6016 from being treated as hanging. Handle "rescue".
6018 2013-08-29 Glenn Morris <rgm@gnu.org>
6020 * progmodes/cc-engine.el (c-pull-open-brace):
6021 Move definition before use.
6023 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6025 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6026 are immutable. Don't use `unsafe' any more.
6027 (cl--defsubst-expand): Don't substitute at the same time as keeping
6028 a residual unused let-binding. Don't use `unsafe' any more.
6030 2013-08-29 Glenn Morris <rgm@gnu.org>
6032 * calendar/cal-china.el (calendar-chinese-year-cache):
6035 * nxml/nxml-util.el (nxml-debug-clear-inside):
6036 Use cl-loop rather than loop.
6038 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6040 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6042 2013-08-28 Glenn Morris <rgm@gnu.org>
6044 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6046 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6048 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6050 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6052 * simple.el (repeat-complex-command--called-interactively-skip):
6054 (repeat-complex-command): Use it (bug#14136).
6056 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6057 (c-define-abbrev-table): Add `doc' argument.
6058 (c-mode-abbrev-table, c++-mode-abbrev-table)
6059 (objc-mode-abbrev-table, java-mode-abbrev-table)
6060 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6061 (awk-mode-abbrev-table): Use it.
6062 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6063 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6064 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6065 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6066 Move initialization into the declaration; and remove any
6069 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6070 and dynamic let binding.
6072 * vc/smerge-mode.el: Remove redundant :group args.
6074 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6077 2013-08-28 Juri Linkov <juri@jurta.org>
6079 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6080 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6081 (isearch-other-meta-char): Handle an undefined shifted printing
6082 character by downshifting it. (Bug#15200)
6084 2013-08-28 Juri Linkov <juri@jurta.org>
6086 * isearch.el (isearch-search): Change regexp error message for
6087 non-regexp searches. (Bug#15166)
6089 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6091 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6092 for portability to hosts where /bin/sh has problems.
6094 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6096 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6098 2013-08-27 Juri Linkov <juri@jurta.org>
6100 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6101 in the keyboard macro. (Bug#15126)
6103 2013-08-27 Juri Linkov <juri@jurta.org>
6105 * isearch.el (isearch-quote-char): Comment out converting unibyte
6106 to multibyte, thus syncing with its `quoted-insert' counterpart.
6109 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6111 * window.el (display-buffer-use-some-window): Add missing
6112 argument in call of get-largest-window (Bug#15185).
6113 Reported by Stephen Leake.
6115 2013-08-27 Glenn Morris <rgm@gnu.org>
6117 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6119 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6121 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6122 from a matcher-function unless there's no more matches (bug#15161).
6124 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6126 * minibuffer.el: Revert change from 2013-08-20.
6128 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6129 with text property `tramp-default', if appropriate.
6130 (tramp-check-proper-host): New defun.
6131 (tramp-dissect-file-name): Do not check hostname. Revert change
6133 (tramp-backtrace): Make VEC-OR-PROC optional.
6135 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6136 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6137 * net/tramp-sh.el (tramp-maybe-open-connection):
6138 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6139 Apply `tramp-check-proper-host'.
6141 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6143 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6144 lambda expression in order to have `describe-variable' display it.
6146 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6148 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6149 BUF can be optional. (Bug#15186)
6151 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6153 * progmodes/flymake.el (flymake-get-real-file-name-function):
6154 Fix broken customization. (Bug#15184)
6156 2013-08-25 Alan Mackenzie <acm@muc.de>
6158 Improve indentation of bracelists defined by macros (without "=").
6160 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6161 expansion begins with "{", regard it as bracelist when it doesn't
6164 Parse C++ inher-intro when there's a template split over 2 lines.
6166 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6167 rigorously the search for "class" etc. followed by ":".
6169 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6170 random languages a regexp which never matches rather than nil.
6172 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6174 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6175 (c-awk-regexp-one-line-possibly-open-char-list-re)
6176 (c-awk-one-line-possibly-open-regexp-re)
6177 (c-awk-one-line-non-syn-ws*-re): Remove.
6178 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6179 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6180 (c-awk-space*-unclosed-regexp-/-re): New constants.
6181 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6182 aren't regexp delimiters.
6184 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6185 handling for a rare situation in AWK Mode involving unterminated
6188 2013-08-23 Glenn Morris <rgm@gnu.org>
6190 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6192 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6194 * files.el (create-file-buffer): If the result would begin with
6195 spaces, prepend a "|" instead of removing them. (Bug#15162)
6197 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6200 text-properties (bug#15155).
6202 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6204 (calc-keypad-redraw): Remove unused var `pad'.
6205 (calc-keypad-press): Remove unused var `menu'.
6207 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6209 * window.el (display-buffer-pop-up-frame):
6210 Call pop-up-frame-function with BUFFER current so `make-frame' will
6211 use it as the new frame's buffer (Bug#15133).
6213 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6215 * calendar/timeclock.el: Minor cleanups.
6216 (timeclock-ask-before-exiting, timeclock-use-display-time):
6218 (timeclock-modeline-display): Define as alias before the
6220 (timeclock-mode-line-display): Use define-minor-mode.
6221 (timeclock-day-list-template): Make it a function, add an argument.
6222 (timeclock-day-list-required, timeclock-day-list-length)
6223 (timeclock-day-list-debt, timeclock-day-list-span)
6224 (timeclock-day-list-break): Adjust calls accordingly.
6226 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6228 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6229 Use read--expression so that completion works again.
6231 2013-08-21 Sam Steingold <sds@gnu.org>
6233 Add rudimentary inferior shell interaction
6234 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6235 (sh-set-shell): Reset it.
6236 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6237 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6239 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6241 * align.el: Use lexical-binding.
6242 (align-region): Simplify accordingly.
6244 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6246 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6248 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6251 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6255 * net/tramp-cmds.el:
6257 * net/tramp-gvfs.el:
6259 * net/tramp-sh.el: Don't wrap external variable declarations by
6260 `eval-when-compile'.
6262 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6264 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6265 now that Emacs supports ImageMagick animations.
6267 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6269 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6270 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6272 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6274 * window.el (mouse-autoselect-window-select): Do autoselect when
6275 mouse pointer is on margin.
6277 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6279 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6281 2013-08-16 Glenn Morris <rgm@gnu.org>
6283 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6284 Handle "Remote Directory" response of some clients. (Bug#15058)
6286 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6287 Tweak warning. (Bug#14926)
6289 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6290 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6292 * image-mode.el (image-mode-map): Add menu items to reverse,
6293 increase, decrease, reset animation speed.
6294 (image--set-speed, image-increase-speed, image-decrease-speed)
6295 (image-reverse-speed, image-reset-speed): New functions.
6296 (image-mode-map): Add bindings for speed commands.
6298 * image.el (image-animate-get-speed, image-animate-set-speed):
6300 (image-animate-timeout): Respect image :speed property.
6302 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6304 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6305 previous line (bug#15101).
6306 (debugger-eval-expression, debugger-record-expression):
6307 Use read--expression (bug#15102).
6309 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6311 Remove byte compiler warnings, visible when compiling with
6312 `byte-compile-force-lexical-warnings' set to t.
6314 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6315 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6316 (tramp-handle-unhandled-file-name-directory)
6317 (tramp-handle-file-notify-add-watch, tramp-action-login)
6318 (tramp-action-succeed, tramp-action-permission-denied)
6319 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6322 * net/tramp-adb.el (tramp-adb-parse-device-names)
6323 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6324 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6325 (tramp-adb-handle-file-truename): Remove unused arguments.
6327 * net/tramp-cache.el (tramp-flush-directory-property)
6328 (tramp-flush-connection-property, tramp-list-connections)
6329 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6331 * net/tramp-compat.el (tramp-compat-make-temp-file):
6332 Rename FILENAME to F.
6334 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6335 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6336 (tramp-zeroconf-parse-workstation-device-names)
6337 (tramp-zeroconf-parse-webdav-device-names)
6338 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6340 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6341 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6343 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6345 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6346 (tramp-sh-handle-insert-file-contents-literally)
6347 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6349 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6350 Remove unused variables.
6352 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6353 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6354 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6356 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6357 Make them a defconst.
6358 (tramp-uuencode-region): Remove unused variable.
6360 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6362 * frameset.el (frameset--prop-setter): New function.
6363 (frameset-prop): Add gv-setter declaration.
6364 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6365 parameter was already set in FILTERED. Doc fix.
6366 (frameset--record-minibuffer-relationships): Allow saving a
6367 minibufferless frame without its corresponding minibuffer frame.
6368 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6369 frame, if the frame id matches.
6370 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6371 frames before orphaned ones.
6372 (frameset-restore): Warn about orphaned windows, instead of error out.
6374 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6376 * window.el (window-make-atom): Don't overwrite parameter
6378 (display-buffer-in-atom-window): Handle special case where we
6379 split an already atomic window.
6380 (window--major-non-side-window, display-buffer-in-side-window)
6381 (window--side-check): Ignore minibuffer window when walking
6383 (window-deletable-p): Return 'frame only if no other frame uses
6384 our minibuffer window.
6385 (record-window-buffer): Run buffer-list-update-hook.
6386 (split-window): Make sure window--check-frame won't destroy an
6387 existing atomic window in case the new window gets nested
6389 (display-buffer-at-bottom): Ignore minibuffer window when
6390 walking window tree. Don't split a side window.
6391 (pop-to-buffer): Don't set-buffer here, the select-window call
6393 (mouse-autoselect-window-select): Autoselect only if we are in the
6394 text portion of the window.
6396 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6398 * net/shr.el (shr-parse-image-data): New function to grab both the
6399 data itself and the Content-Type.
6400 (shr-put-image): Use it.
6402 * net/eww.el (eww-display-image): Ditto.
6404 * image.el (image-content-type-suffixes): New variable.
6406 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6408 * progmodes/python.el (python-imenu--build-tree)
6409 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6411 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6413 * simple.el (backward-word): Mention the optional argument.
6415 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6417 * frameset.el (frameset--make): Rename constructor from make-frameset.
6418 (frameset-p, frameset-valid-p): Don't autoload.
6419 (frameset-valid-p): Use normal accessors.
6421 2013-08-13 Glenn Morris <rgm@gnu.org>
6423 * progmodes/compile.el (compile-command): Tweak example in doc.
6424 * obsolete/scribe.el (scribe-mode):
6425 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6427 * mail/feedmail.el (feedmail-confirm-outgoing)
6428 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6430 * cus-start.el (truncate-partial-width-windows): Fix type.
6432 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6434 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6436 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6438 * emacs-lisp/timer.el (timer--time-setter): New function.
6439 (timer--time): Use it as gv-setter.
6441 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6442 setter is not a symbol.
6444 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6446 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6447 if sending fails. This makes debugging easier.
6449 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6451 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6452 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6453 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6455 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6457 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6459 2013-08-12 Glenn Morris <rgm@gnu.org>
6461 * format.el (format-annotate-function):
6462 Handle read-only text properties in the source. (Bug#14887)
6464 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6466 * net/eww.el (eww-display-html): Ignore coding system errors.
6467 One web site uses "utf-8lias" as the coding system.
6469 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6471 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6473 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6475 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6476 (tutorial--detailed-help): Remove unused local variables.
6477 (tutorial--save-tutorial-to): Use ignore-errors.
6478 (help-with-tutorial): Use looking-at-p.
6480 * view.el (view-buffer-other-window, view-buffer-other-frame):
6481 Mark unused arguments.
6483 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6484 (woman-select-symbol-fonts, woman, woman-find-file)
6485 (woman-insert-file-contents, woman-non-underline-faces):
6487 (woman1-unquote): Move declaration.
6489 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6490 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6491 argument. Remove unused local variable.
6492 (xml-parse-elem-type): Use string-match-p.
6493 (xml-substitute-numeric-entities): Use ignore-errors.
6495 * calculator.el (calculator): Mark unused argument.
6496 (calculator-paste, calculator-quit, calculator-integer-p):
6498 (calculator-string-to-number, calculator-decimal, calculator-exp)
6499 (calculator-op-or-exp): Use string-match-p.
6501 * dired.el (dired-buffer-more-recently-used-p): Declare.
6502 (dired-insert-set-properties, dired-insert-old-subdirs):
6505 * dired-aux.el (dired-compress): Use ignore-errors.
6506 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6507 (dired-do-async-shell-command, dired-do-shell-command)
6508 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6509 (dired-insert-subdir-validate): Use string-match-p.
6510 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6511 (dired-add-entry): Use string-match-p, looking-at-p.
6512 (dired-insert-subdir-newpos): Remove unused local variable.
6514 * filenotify.el (file-notify-callback): Remove unused local variable.
6516 * filesets.el (filesets-error): Mark unused argument.
6517 (filesets-which-command-p, filesets-filter-dir-names)
6518 (filesets-directory-files, filesets-get-external-viewer)
6519 (filesets-ingroup-get-data): Use string-match-p.
6521 * find-file.el (ff-other-file-name, ff-other-file-name)
6522 (ff-find-the-other-file, ff-cc-hh-converter):
6523 Remove unused local variables.
6524 (ff-get-file-name): Use string-match-p.
6525 (ff-all-dirs-under): Use ignore-errors.
6527 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6528 (follow-select-if-visible): Remove unused local variable.
6530 * forms.el (read-file-filter): Move declaration.
6531 (forms--make-format, forms--make-parser, forms-insert-record):
6532 Quote function with #'.
6533 (forms--update): Use string-match-p. Quote function with #'.
6535 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6536 (help-make-xrefs): Use looking-at-p.
6537 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6539 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6540 (ibuffer-confirm-operation-on): Use string-match-p.
6542 * msb.el (msb-item-handler, msb-dired-item-handler):
6543 Mark unused arguments.
6545 * ses.el (ses-decode-cell-symbol)
6546 (ses-kill-override): Remove unused local variable.
6547 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6548 (ses-load): Use ignore-errors, looking-at-p.
6549 (ses-jump-safe): Use ignore-errors.
6550 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6552 * tabify.el (untabify, tabify): Mark unused arguments.
6554 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6555 Mark unused argument.
6556 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6557 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6559 * emacs-lisp/timer.el (timer--time): Define setter with
6560 gv-define-setter to avoid deprecation warning.
6562 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6563 (*record-cmpl-statistics-p*): Remove (was commented out).
6564 (cmpl-statistics-block): Remove (body was commented out).
6565 All callers changed.
6566 (add-completions-from-buffer, load-completions-from-file):
6567 Remove unused variables.
6569 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6571 * filecache.el (file-cache-delete-file-list):
6572 Print message only when told so.
6573 (file-cache-files-matching): Use #' in mapconcat argument.
6575 * ffap.el (ffap-url-at-point): Fix reference to variable
6576 thing-at-point-default-mail-uri-scheme.
6578 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6580 * subr.el (define-error): New function.
6581 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6582 error-file-not-found and define with define-error.
6583 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6584 and define with define-error.
6585 * userlock.el (file-locked, file-supersession):
6586 * simple.el (mark-inactive):
6587 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6588 * progmodes/ada-mode.el (ada-mode-errors):
6589 * play/life.el (life-extinct):
6590 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6591 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6592 * nxml/rng-util.el (rng-error):
6593 * nxml/rng-uri.el (rng-uri-error):
6594 * nxml/rng-match.el (rng-compile-error):
6595 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6596 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6597 * nxml/nxml-rap.el (nxml-scan-error):
6598 * nxml/nxml-outln.el (nxml-outline-error):
6599 * net/soap-client.el (soap-error):
6600 * net/gnutls.el (gnutls-error):
6601 * net/ange-ftp.el (ftp-error):
6602 * mpc.el (mpc-proc-error):
6603 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6604 (json-number-format, json-string-escape, json-string-format)
6605 (json-key-format, json-object-format):
6606 * jka-compr.el (compression-error):
6607 * international/quail.el (quail-error):
6608 * international/kkc.el (kkc-error):
6609 * emacs-lisp/ert.el (ert-test-failed):
6610 * calc/calc.el (calc-error, inexact-result, math-overflow)
6612 * bookmark.el (bookmark-error-no-filename):
6613 * epg.el (epg-error): Define with define-error.
6615 * time.el (display-time-event-handler)
6616 (display-time-next-load-average): Don't call sit-for since it seems
6617 unnecessary (bug#15045).
6619 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6620 Use #' instead of ' to quote functions.
6621 (checkdoc-output-mode): Use setq-local.
6622 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6623 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6624 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6625 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6626 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6627 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6628 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6629 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6631 * ido.el (ido-completion-help): Fix up compiler warning.
6633 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6635 * frameset.el (frameset-p): Add autoload cookie.
6636 (frameset--jump-to-register): New function, based on code moved from
6638 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6640 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6641 (frameset-restore, frameset-save, frameset-session-filter-alist):
6642 Remove declarations.
6643 (register-alist): Doc fix.
6644 (frameset-to-register): Move to frameset.el.
6645 (jump-to-register, describe-register-1): Remove frameset-specific code.
6647 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6649 * allout-widgets.el (allout-widgets-pre-command-business)
6650 (allout-widgets-post-command-business)
6651 (allout-widgets-after-change-handler)
6652 (allout-decorate-item-and-context, allout-set-boundary-marker)
6653 (allout-body-modification-handler)
6654 (allout-graphics-modification-handler): Mark ignored arguments.
6655 (allout-widgets-post-command-business)
6656 (allout-widgets-exposure-change-processor)
6657 (allout-widgets-exposure-undo-processor)
6658 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6659 (allout-parse-item-at-point, allout-decorate-item-guides)
6660 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6661 * allout.el (epa-passphrase-callback-function): Declare.
6662 (allout-overlay-insert-in-front-handler)
6663 (allout-overlay-interior-modification-handler)
6664 (allout-isearch-end-handler, allout-chart-siblings)
6665 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6666 (allout-yank-processing, allout-process-exposed)
6667 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6668 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6669 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6670 (lisp-indent-defform): Mark ignored arguments.
6671 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6672 (calculate-lisp-indent): Remove unused variables.
6673 * international/characters.el (indian-2-column, arabic-2-column)
6674 (tibetan): Mark ignored arguments.
6675 (use-cjk-char-width-table): Mark ignored arguments.
6676 Remove unused variables.
6677 * international/fontset.el (build-default-fontset-data)
6678 (x-compose-font-name, create-fontset-from-fontset-spec):
6679 Mark ignored arguments.
6680 (fontset-plain-name): Remove unused variables.
6681 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6682 (keyboard-coding-system): Mark ignored arguments.
6683 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6684 * help.el (resize-temp-buffer-window):
6685 * window.el (display-buffer-in-major-side-window)
6686 (display-buffer-in-side-window, display-buffer-in-previous-window):
6687 Remove unused variables.
6688 * isearch.el (isearch-forward-symbol):
6689 * version.el (emacs-bzr-version-bzr):
6690 * international/mule-cmds.el (current-language-environment):
6691 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6693 * term/pc-win.el (x-list-fonts, x-display-planes)
6694 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6695 (x-server-version, x-display-screens, x-display-mm-height)
6696 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6697 (x-selection-owner-p, x-own-selection-internal)
6698 (x-disown-selection-internal, x-get-selection-internal)
6699 (msdos-initialize-window-system):
6700 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6701 * term/x-win.el (x-handle-no-bitmap-icon):
6702 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6703 (vc-default-find-file-hook, vc-default-extra-menu):
6704 Mark ignored arguments.
6706 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6708 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6709 break-condition in the context of the debugged code (bug#12685).
6711 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6714 Do not use an overlay to highlight the last prompt. (Bug#14744)
6715 (comint-mode): Make comint-last-prompt buffer local.
6716 (comint-last-prompt): New variable.
6717 (comint-last-prompt-overlay): Remove. Superseded by
6719 (comint-snapshot-last-prompt, comint-output-filter):
6720 Use comint-last-prompt.
6722 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6724 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6725 (frameset-save): Check validity of the resulting frameset.
6727 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6729 * ido.el (ido-record-command): Add doc string.
6731 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6733 * frameset.el (frameset): Do not disable creation of the default
6734 frameset-p predicate. Doc fix.
6735 (frameset-valid-p): New function, copied from the old predicate-p.
6736 Add additional checks.
6737 (frameset-restore): Check with frameset-valid-p.
6738 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6739 (frameset-name, frameset-description, frameset-properties)
6740 (frameset-states): Add docstring.
6741 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6742 (frameset-filter-alist): Doc fixes.
6744 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6746 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6748 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6750 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6751 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6752 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6753 (byte-compile-normal-call): Remove obsolescence check.
6755 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6757 * frameset.el (frameset-restore): Doc fix.
6759 * register.el (frameset-frame-id, frameset-frame-with-id)
6760 (frameset-p, frameset-restore, frameset-save): Declare.
6761 (register-alist): Document framesets.
6762 (frameset-session-filter-alist): Declare.
6763 (frameset-to-register): New function.
6764 (jump-to-register): Implement jumping to framesets. Doc fix.
6765 (describe-register-1): Describe framesets.
6767 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6769 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6771 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6772 Use lexical-binding.
6774 * frameset.el (frameset): Use type vector, not list (incompatible
6775 change). Do not declare a new constructor, use the default one.
6776 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6777 `name' and `description', respectively, and add read-only slot
6778 `timestamp'. Doc fixes.
6779 (frameset-copy, frameset-persistent-filter-alist)
6780 (frameset-filter-alist, frameset-switch-to-gui-p)
6781 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6782 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6783 (frameset-filter-iconified, frameset-keep-original-display-p):
6785 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6786 Rename from frameset-filter-(save|restore)-param. All callers changed.
6788 (frameset-p): Adapt to change to vector and be more thorough.
6789 Change arg name to OBJECT. Doc fix.
6790 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6791 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6792 All callers changed.
6793 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6794 All callers changed.
6795 (frameset--record-minibuffer-relationships): Rename from
6796 frameset--process-minibuffer-frames. All callers changed.
6797 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6798 Use new default constructor (again). Doc fix.
6799 (frameset--find-frame-if): Rename from `frameset--find-frame.
6800 All callers changed.
6801 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6802 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6804 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6805 PARAMETERS and WINDOW-STATE, respectively.
6806 (frameset-restore): Add new keyword argument PREDICATE.
6807 Reset frameset--target-display to nil. Doc fix.
6809 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6811 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6813 (bat-mode-syntax-table): Mark \n as end-of-comment.
6814 (bat-font-lock-keywords): Remove comment rule.
6816 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6817 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6819 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6820 (byte-compile-callargs-warn): Use `push'.
6821 (byte-compile-arglist-warn): Ignore higher-order "calls".
6822 (byte-compile-file-form-autoload): Use `pcase'.
6823 (byte-compile-function-form): If quoting a symbol, check that it exists.
6825 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6827 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6828 and add a few popular commands found in batch files.
6829 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6830 (dos-mode): Doc fixes.
6832 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6834 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6835 (dos-mode): Use setq-local. Add space after "rem".
6836 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6837 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6839 2013-08-07 Arni Magnusson <arnima@hafro.is>
6841 * progmodes/dos.el: New file.
6842 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6845 2013-08-06 Glenn Morris <rgm@gnu.org>
6847 * calendar/calendar.el: Add new faces, and day-header-array.
6848 (calendar-weekday-header, calendar-weekend-header)
6849 (calendar-month-header): New faces.
6850 (calendar-day-header-construct): New function.
6851 (calendar-day-header-width): Also :set calendar-day-header-array.
6852 (calendar-american-month-header, calendar-european-month-header)
6853 (calendar-iso-month-header): Use calendar- faces.
6854 (calendar-generate-month):
6855 Use calendar-day-header-array for day headers; apply faces to them.
6856 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6857 (calendar-abbrev-construct): Add optional maxlen argument.
6858 (calendar-day-name-array): Doc fix.
6859 (calendar-day-name-array, calendar-abbrev-length)
6860 (calendar-day-abbrev-array):
6861 Also :set calendar-day-header-array, and maybe redraw.
6862 (calendar-day-header-array): New option. (Bug#15007)
6863 (calendar-font-lock-keywords): Set to nil and make obsolete.
6864 (calendar-day-name): Add option to use header array.
6866 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6868 * net/shr.el (shr-render-td): Remove debugging.
6869 (shr-render-td): Make width computation consistent by defaulting
6870 all zero-width columns to 10 characters. This may not be optimal,
6871 but it's at least consistent.
6872 (shr-make-table-1): Redo last change to fix the real problem in
6875 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6877 * files.el (cache-long-line-scans):
6878 Make obsolete alias to `cache-long-scans'.
6880 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6882 * frameset.el (frameset, frameset-filter-alist)
6883 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6884 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6885 (frameset-compute-pos): Rename from frameset--compute-pos,
6887 (frameset-move-onscreen): Use frameset-compute-pos.
6888 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6890 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6891 Fix typos in docstrings.
6893 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6895 * frame.el (get-other-frame): Tiny cleanup.
6897 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6899 * vc/vc.el (vc-default-ignore-completion-table):
6900 Silence byte-compiler warning.
6902 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6903 slot, which can indeed be nil.
6904 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6905 Move entry for `left' from persistent to live filter alist.
6906 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6908 (frameset-filter-params): When restoring a frame, copy items added to
6909 `filtered', to avoid unwittingly modifying the original parameters.
6910 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6911 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6913 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6914 to use looking-at-p instead of looking-at. (Bug#15028)
6916 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6918 Revert introduction of isearch-filter-predicates (bug#14714).
6919 Rely on add-function instead.
6920 * isearch.el (isearch-filter-predicates): Rename it back to
6921 isearch-filter-predicate.
6922 (isearch-message-prefix): Use advice-function-mapc and advice
6923 properties to get the isearch-message-prefix.
6924 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6925 instead of run-hook-with-args-until-failure.
6926 (isearch-filter-visible): Not obsolete any more.
6927 * loadup.el: Preload nadvice.
6928 * replace.el (perform-replace): Revert to funcall
6929 instead of run-hook-with-args-until-failure.
6930 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6931 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6932 dired-isearch-filenames-toggle; make it into a proper minor mode.
6933 Use add/remove-function.
6934 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6935 Call the minor-mode rather than add/remove-hook.
6936 (dired-isearch-filter-filenames):
6937 Remove isearch-message-prefix property.
6938 * info.el (Info--search-loop): New function, extracted from Info-search.
6939 Funcall isearch-filter-predicate instead of
6940 run-hook-with-args-until-failure isearch-filter-predicates.
6941 (Info-search): Use it.
6942 (Info-mode): Use isearch-filter-predicate instead of
6943 isearch-filter-predicates.
6945 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6947 Do not call to `selected-window' where it is assumed by default.
6948 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6949 `window-hscroll', `window-width', `window-height', `window-buffer',
6950 `window-frame', `window-start', `window-point', `next-window'
6951 and `window-display-table'.
6952 * abbrev.el (abbrev--default-expand):
6953 * bs.el (bs--show-with-configuration):
6954 * buff-menu.el (Buffer-menu-mouse-select):
6955 * calc/calc.el (calc):
6956 * calendar/calendar.el (calendar-generate-window):
6957 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6959 * comint.el (send-invisible, comint-dynamic-complete-filename)
6960 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6961 * completion.el (complete):
6962 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6963 * disp-table.el (describe-current-display-table):
6964 * doc-view.el (doc-view-insert-image):
6965 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6966 * ehelp.el (with-electric-help):
6967 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6968 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6969 * emacs-lisp/helper.el (Helper-help-scroller):
6970 * emulation/cua-base.el (cua--post-command-handler-1):
6971 * eshell/esh-mode.el (eshell-output-filter):
6972 * ffap.el (ffap-gnus-wrapper):
6973 * help-macro.el (make-help-screen):
6974 * hilit-chg.el (highlight-compare-buffers):
6975 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6976 * hl-line.el (global-hl-line-highlight):
6977 * icomplete.el (icomplete-simple-completing-p):
6978 * isearch.el (isearch-done):
6979 * jit-lock.el (jit-lock-stealth-fontify):
6980 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
6981 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
6982 * mpc.el (mpc-tagbrowser, mpc):
6983 * net/rcirc.el (rcirc-any-buffer):
6984 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
6985 * play/landmark.el (landmark-max-width, landmark-max-height):
6986 * play/zone.el (zone):
6987 * progmodes/compile.el (compilation-goto-locus):
6988 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
6989 * progmodes/etags.el (find-tag-other-window):
6990 * progmodes/fortran.el (fortran-column-ruler):
6991 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
6992 * progmodes/verilog-mode.el (verilog-point-text):
6993 * reposition.el (reposition-window):
6994 * rot13.el (toggle-rot13-mode):
6995 * server.el (server-switch-buffer):
6996 * shell.el (shell-dynamic-complete-command)
6997 (shell-dynamic-complete-environment-variable):
6998 * simple.el (insert-buffer, set-selective-display)
6999 (delete-completion-window):
7000 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7001 (speedbar-recenter):
7002 * startup.el (fancy-splash-head):
7003 * textmodes/ispell.el (ispell-command-loop):
7004 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7005 * tutorial.el (help-with-tutorial):
7006 * vc/add-log.el (add-change-log-entry):
7007 * vc/compare-w.el (compare-windows):
7008 * vc/ediff-help.el (ediff-indent-help-message):
7009 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7010 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7011 (ediff-setup-control-frame):
7012 * vc/emerge.el (emerge-position-region):
7013 * vc/pcvs-util.el (cvs-bury-buffer):
7014 * window.el (walk-windows, mouse-autoselect-window-select):
7015 * winner.el (winner-set-conf, winner-undo): Related users changed.
7017 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7019 * frameset.el (frameset--set-id): Doc fix.
7020 (frameset-frame-id, frameset-frame-id-equal-p)
7021 (frameset-locate-frame-id): New functions.
7022 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7023 (frameset-restore): Use them.
7025 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7027 Do not call to `selected-frame' where it is assumed by default.
7028 Affected functions are `raise-frame', `redraw-frame',
7029 `frame-first-window', `frame-terminal' and `delete-frame'.
7030 * calendar/appt.el (appt-disp-window):
7031 * epg.el (epg-wait-for-completion):
7032 * follow.el (follow-delete-other-windows-and-split)
7033 (follow-avoid-tail-recenter):
7034 * international/mule.el (set-terminal-coding-system):
7035 * mail/rmail.el (rmail-mail-return):
7036 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7037 * progmodes/f90.el (f90-add-imenu-menu):
7038 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7039 * server.el (server-switch-buffer):
7040 * simple.el (delete-completion-window):
7042 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7043 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7044 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7045 * vc/ediff.el (ediff-documentation): Related users changed.
7046 * frame.el (selected-terminal): Remove the leftover.
7048 2013-08-05 Glenn Morris <rgm@gnu.org>
7050 * calendar/calendar.el (calendar-generate-month):
7051 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7052 (calendar-generate-month, calendar-font-lock-keywords):
7053 Fix for calendar-day-header-width > length of any day name.
7055 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7057 * desktop.el (desktop-clear): Use new name of sort predicate.
7059 * frameset.el (frameset): Add docstring. Move :version property to its
7061 (frameset-copy): Rename from copy-frameset.
7062 (frameset-p): Check more thoroughly.
7063 (frameset-prop): Do not check for :version, which is no longer a prop.
7064 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7065 Use new :never value instead of t.
7066 (frameset-filter-alist): Expand and clarify docstring.
7067 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7068 (frameset-filter-minibuffer, frameset-filter-save-param)
7069 (frameset-filter-restore-param, frameset-filter-iconified):
7070 Add pointer to docstring of frameset-filter-alist.
7071 (frameset-filter-params): Rename filter values to be more meaningful:
7072 :never instead of t, and reverse the meanings of :save and :restore.
7073 (frameset--process-minibuffer-frames): Clarify error message.
7074 (frameset-save): Avoid unnecessary and confusing call to framep.
7075 Use new BOA constructor for framesets.
7076 (frameset--reuse-list): Doc fix.
7077 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7078 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7079 (frameset-minibufferless-first-p): Doc fix.
7080 Rename from frameset-sort-frames-for-deletion.
7081 (frameset-restore): Doc fixes. Use new function names.
7082 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7084 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7086 * desktop.el (desktop-restore-forces-onscreen)
7087 (desktop-restore-reuses-frames): Document :keyword constant values.
7088 (desktop-filter-parameters-alist): Remove, now identical to
7089 frameset-filter-alist.
7090 (desktop--filter-tty*): Remove, moved to frameset.el.
7091 (desktop-save-frameset, desktop-restore-frameset):
7092 Do not pass :filters argument.
7094 * frameset.el (frameset-live-filter-alist)
7095 (frameset-persistent-filter-alist): New variables.
7096 (frameset-filter-alist): Use them. Add autoload cookie.
7097 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7098 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7099 `frameset--id' (it's supposed to be internal to frameset.el).
7100 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7101 (frameset--initial-params): New function.
7102 (frameset--get-frame): Use it. Doc fix.
7103 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7104 Accept :all, not 'all.
7105 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7106 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7107 with fbound symbols. Fix frame id matching, and remove matching ids if
7108 the frame being restored is deleted. Obey :delete.
7110 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7112 * subr.el (macrop): New function.
7113 (text-clone--maintaining): New var.
7114 (text-clone--maintain): Rename from text-clone-maintain. Use it
7115 instead of inhibit-modification-hooks.
7117 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7118 a proxy, so as handle autoloads and redefinitions of the target.
7119 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7121 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7122 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7123 (pcase--mutually-exclusive-p): New function.
7124 (pcase--split-consp): Use it.
7125 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7126 mutually exclusive with the current predicate.
7128 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7129 (edebug-macrop): Remove. Use `macrop' instead.
7130 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7132 * eshell/esh-cmd.el (eshell-macrop):
7133 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7135 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7137 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7138 (advice-mapc): New function, using it.
7139 (advice-function-member-p): New function.
7140 (advice--normalize): Store the cdr in advice--saved-rewrite since
7141 that's the part that will be changed.
7142 (advice--symbol-function): New function.
7143 (advice-remove): Handle removal before the function is defined.
7144 Adjust to new advice--saved-rewrite.
7145 (advice-member-p): Use advice-function-member-p and
7146 advice--symbol-function.
7148 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7150 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7151 (frameset-filter-minibuffer): Doc fix.
7152 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7153 (frameset--set-id, frameset--process-minibuffer-frames)
7154 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7155 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7157 * desktop.el (desktop-clear): Only delete frames when called
7158 interactively and desktop-restore-frames is non-nil. Doc fix.
7159 (desktop-read): Set desktop-saved-frameset to nil.
7161 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7163 * vc/vc.el (vc-ignore): Rewrite.
7164 (vc-default-ignore-completion-table):
7166 (vc--add-line, vc--remove-regexp): New functions.
7168 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7169 (vc-svn-ignore-completion-table): New function.
7171 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7172 (vc-hg-ignore-completion-table):
7173 (vc-hg-find-ignore-file): New functions.
7175 * vc/vc-git.el (vc-git-ignore): Rewrite.
7176 (vc-git-ignore-completion-table):
7177 (vc-git-find-ignore-file): New functions.
7179 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7181 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7182 (vc-bzr-ignore-completion-table):
7183 (vc-bzr-find-ignore-file): New functions.
7185 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7187 * frameset.el (frameset-prop): New function and setter.
7188 (frameset-save): Do not modify frame list passed by the caller.
7190 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7192 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7194 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7196 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7197 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7199 * custom.el (custom-initialize-default, custom-initialize-set)
7200 (custom-initialize-reset, custom-initialize-changed): Affect the
7201 toplevel-default-value (bug#6275, bug#14586).
7202 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7205 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7207 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7208 Add cl-def* expressions.
7210 * frameset.el (frameset-filter-params): Fix order of arguments.
7212 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7214 Move code related to saving frames to frameset.el.
7215 * desktop.el: Require frameset.
7216 (desktop-restore-frames): Doc fix.
7217 (desktop-restore-reuses-frames): Rename from
7218 desktop-restoring-reuses-frames.
7219 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7220 (desktop-clear): Clear frames too.
7221 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7222 (desktop--filter-tty*, desktop-save, desktop-read):
7223 Use frameset functions.
7224 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7225 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7226 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7227 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7228 (desktop--process-minibuffer-frames, desktop-save-frames)
7229 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7230 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7231 (desktop--sort-states, desktop-restoring-frames-p)
7232 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7233 (desktop-restoring-frameset-p, desktop-restore-frameset)
7234 (desktop--check-dont-save, desktop-save-frameset): New functions.
7235 (desktop--app-id): New constant.
7236 (desktop-first-buffer, desktop-buffer-ok-count)
7237 (desktop-buffer-fail-count): Move before first use.
7238 * frameset.el: New file.
7240 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7242 * files.el: Use lexical-binding.
7243 (dir-locals-read-from-file): Remove unused `err' variable.
7244 (hack-dir-local-variables--warned-coding): New var.
7245 (hack-dir-local-variables): Use it to avoid repeated warnings.
7246 (make-backup-file-name--default-function): New function.
7247 (make-backup-file-name-function): Use it as default.
7248 (buffer-stale--default-function): New function.
7249 (buffer-stale-function): Use it as default.
7250 (revert-buffer-insert-file-contents--default-function): New function.
7251 (revert-buffer-insert-file-contents-function): Use it as default.
7252 (insert-directory): Avoid add-to-list.
7254 * autorevert.el (auto-revert-handler): Simplify.
7255 Use buffer-stale--default-function.
7257 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7259 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7261 * whitespace.el (whitespace-ensure-local-variables): New function.
7262 (whitespace-cleanup-region): Call it.
7263 (whitespace-turn-on): Call it.
7265 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7267 Complete file name handlers.
7269 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7270 (tramp-handle-verify-visited-file-modtime)
7271 (tramp-handle-file-notify-rm-watch): New functions.
7272 (tramp-call-process): Do not bind `default-directory'.
7274 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7275 Order alphabetically.
7276 [access-file, add-name-to-file, dired-call-process]:
7277 [dired-compress-file, file-acl, file-notify-rm-watch]:
7278 [file-ownership-preserved-p, file-selinux-context]:
7279 [make-directory-internal, make-symbolic-link, set-file-acl]:
7280 [set-file-selinux-context, set-visited-file-modtime]:
7281 [verify-visited-file-modtime]: Add handler.
7282 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7284 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7285 [file-notify-add-watch, file-notify-rm-watch]:
7286 [set-file-times, set-visited-file-modtime]:
7287 [verify-visited-file-modtime]: Add handler.
7288 (with-tramp-gvfs-error-message)
7289 (tramp-gvfs-handle-set-visited-file-modtime)
7290 (tramp-gvfs-fuse-file-name): Remove.
7291 (tramp-gvfs-handle-file-notify-add-watch)
7292 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7293 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7295 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7296 Order alphabetically.
7297 [file-notify-rm-watch ]: Use default Tramp handler.
7298 [executable-find]: Remove private handler.
7299 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7300 `default-directory'.
7301 (tramp-sh-handle-executable-find)
7302 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7303 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7304 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7305 Do not use `format' in `tramp-message'.
7307 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7308 [file-notify-rm-watch, set-visited-file-modtime]:
7309 [verify-visited-file-modtime]: Add handler.
7310 (tramp-smb-call-winexe): Do not bind `default-directory'.
7312 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7314 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7316 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7318 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7320 (log-view-diff-changeset): Same.
7321 (log-view-diff-common): Call backend command `previous-revision'
7322 to find out the previous revision, in both cases. Swap the
7323 variables `to' and `fr', so that `fr' usually refers to the
7324 earlier revision (Bug#14989).
7326 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7328 * ibuf-ext.el (ibuffer-filter-by-filename):
7329 Make it work with dired buffers too.
7331 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7333 * emacs-lisp/re-builder.el (reb-color-display-p):
7334 * files.el (save-buffers-kill-terminal):
7335 * net/browse-url.el (browse-url):
7336 * server.el (server-save-buffers-kill-terminal):
7337 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7338 Prefer nil to selected-frame for the first arg of frame-parameter.
7340 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7342 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7344 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7346 * minibuffer.el (completion--twq-all): Try and preserve each
7347 completion's case choice (bug#14907).
7349 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7351 * net/network-stream.el (open-network-stream): Mention the new
7352 :nogreeting parameter.
7353 (network-stream-open-starttls): Use the :nogreeting parameter
7356 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7358 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7359 more natural than popping.
7361 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7362 (shr-urlify): Highlight under mouse.
7364 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7366 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7368 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7370 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7373 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7374 point-min==1. Fix search string. Fix parentheses missing.
7376 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7377 assume point-min==1. Fix search string. Fix parentheses missing.
7379 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7381 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7384 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7386 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7387 initial frame is minibuffer-less. (Bug#14841)
7389 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7391 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7394 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7395 (tramp-maybe-open-connection): Use it.
7397 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7399 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7400 minimal set of parameters passed when creating a frame, because
7401 the minibuffer status of a frame cannot be changed later.
7403 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7405 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7406 replace-regexp-in-string and inadvertent omissions in previous change.
7407 (todo-filter-items): Ensure only file names are comma-separated in
7408 name of filtered items buffer.
7410 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7412 * desktop.el: Optionally force offscreen frames back onscreen.
7413 (desktop-restoring-reuses-frames): New option.
7414 (desktop--compute-pos, desktop--move-onscreen): New functions.
7415 (desktop--make-frame): Use desktop--move-onscreen.
7417 2013-07-27 Alan Mackenzie <acm@muc.de>
7419 Fontify a Java generic method as a function.
7420 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7423 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7425 * calendar/todo-mode.el: Add command to rename todo files.
7426 (todo-rename-file): New command.
7427 (todo-key-bindings-t): Add key binding for it. Change the
7428 bindings of todo-filter-regexp-items(-multifile) to use `x'
7429 instead of `r', since the latter is better suited to the new
7432 2013-07-27 Alan Mackenzie <acm@muc.de>
7434 Make Java try-with-resources statement parse properly.
7435 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7436 (c-block-stmt-1-2-key): New language constants/variables.
7437 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7438 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7439 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7440 with c-block-stmt-1-2-key.
7442 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7444 * desktop.el (desktop--make-frame): Apply most frame parameters after
7445 creating the frame to force (partially or totally) offscreen frames to
7446 be restored as such.
7448 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7450 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7453 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7455 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7456 `base' arg of backtrace-frame.
7458 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7460 * simple.el (list-processes): Doc fix.
7462 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7464 * desktop.el (desktop--select-frame):
7465 Try harder to reuse existing frames.
7467 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7469 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7470 (edebug-eval): Use backtrace-eval.
7471 (edebug--display, edebug--recursive-edit): Don't let-bind the
7472 edebug-outer-* vars that keep track of variables we locally let-bind.
7473 (edebug-outside-excursion): Don't restore outside values of locally
7475 (edebug--display): Use user-error.
7476 (cl-lexical-debug, cl-debug-env): Remove.
7478 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7480 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7481 are restored to be sure that they are visible before deleting any
7484 2013-07-26 Matthias Meulien <orontee@gmail.com>
7486 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7487 vc-print-root-log. (Bug#14948)
7489 2013-07-26 Richard Stallman <rms@gnu.org>
7491 Add aliases for encrypting mail.
7492 * epa.el (epa-mail-aliases): New option.
7493 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7494 Bind inhibit-read-only so read-only text doesn't ruin everything.
7495 (epa-mail-default-recipients): New subroutine broken out.
7496 Handle epa-mail-aliases.
7498 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7500 Add support for lexical variables to the debugger's `e' command.
7501 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7502 vars, except for debugger-outer-match-data.
7503 (debugger-frame-number): Move check for "on a function call" from
7504 callers into it. Add `skip-base' argument.
7505 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7506 (debugger-env-macro): Only reset the state stored in non-variables,
7507 i.e. current-buffer and match-data.
7508 (debugger-eval-expression): Rewrite using backtrace-eval.
7509 * subr.el (internal--called-interactively-p--get-frame): Remove.
7510 (called-interactively-p):
7511 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7512 `base' arg of backtrace-frame instead.
7514 2013-07-26 Glenn Morris <rgm@gnu.org>
7516 * align.el (align-regexp): Doc fix. (Bug#14857)
7517 (align-region): Explicit error if subexpression missing/does not match.
7519 * simple.el (global-visual-line-mode):
7520 Do not duplicate the mode lighter. (Bug#14858)
7522 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7524 * window.el (display-buffer): In display-buffer bind
7525 split-window-keep-point to t, bug#14829.
7527 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7529 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7530 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7531 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7532 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7534 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7535 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7537 2013-07-25 Glenn Morris <rgm@gnu.org>
7539 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7541 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7543 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7544 parameter to modify-frame-parameters if the value has not changed;
7545 this is a workaround for bug#14949.
7546 (desktop--make-frame): On cl-delete-if call, check parameter name,
7549 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7551 * vc/vc.el (vc-ignore): New function.
7553 * vc/vc-svn.el (vc-svn-ignore): New function.
7555 * vc/vc-hg.el (vc-hg-ignore): New function.
7557 * vc/vc-git.el (vc-git-ignore): New function.
7559 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7560 (vc-dir-ignore): New function.
7562 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7563 (cvs-append-to-ignore): Move here from pcvs.el.
7565 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7567 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7569 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7571 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7572 (desktop-restore-frames): Warn when deleting an existing frame failed.
7574 2013-07-24 Glenn Morris <rgm@gnu.org>
7576 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7578 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7580 * filenotify.el (file-notify-supported-p):
7581 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7584 * autorevert.el (auto-revert-use-notify):
7585 (auto-revert-notify-add-watch):
7586 * net/tramp.el (tramp-file-name-for-operation):
7587 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7588 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7589 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7590 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7591 Remove `file-notify-supported-p' entry.
7593 2013-07-24 Glenn Morris <rgm@gnu.org>
7595 * printing.el: Replace all uses of deleted ps-windows-system,
7596 ps-lp-system, ps-flatten-list with lpr- versions.
7598 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7600 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7601 checked with memq (bug#14935).
7603 * files.el (revert-buffer-function): Use a non-nil default.
7604 (revert-buffer-preserve-modes): Declare var to
7605 provide access to the `preserve-modes' argument.
7606 (revert-buffer): Let-bind it.
7607 (revert-buffer--default): New function, extracted from revert-buffer.
7609 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7611 * lpr.el: Signal print errors more prominently.
7612 (print-region-function): Don't default to nil.
7613 (lpr-print-region): New function, extracted from print-region-1.
7614 Check lpr's return value and signal an error in case of problem.
7615 (print-region-1): Use it.
7616 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7618 (ps-printer-name): Default to nil.
7619 (ps-printer-name-option): Default to lpr-printer-switch.
7620 (ps-print-region-function): Don't default to nil.
7621 (ps-postscript-code-directory): Simplify default.
7622 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7623 (ps-string-list, ps-eval-switch, ps-flatten-list)
7624 (ps-flatten-list-1): Remove.
7625 (ps-multibyte-buffer): Avoid setq.
7626 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7627 (print-region-function, ps-print-region-function): Don't set them here.
7629 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7631 * ido.el (ido-fractionp):
7632 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7633 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7634 (ido-max-directory-size, ido-max-dir-file-cache)
7635 (ido-decorations): Doc fix.
7637 * ansi-color.el: Fix old URL.
7639 2013-07-23 Michael R. Mauger <michael@mauger.com>
7641 * progmodes/sql.el: Version 3.3
7642 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7643 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7644 (sql-interactive-remove-continuation-prompt): Rewrite, use
7645 functions above. Fix continuation prompt and complete output line
7647 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7648 redirected output buffer.
7649 (sql-mode): Restore deleted code (Bug#13591).
7651 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7653 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7655 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7657 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7660 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7661 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7663 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7665 * desktop.el (desktop-clear): Simplify; remove useless checks
7666 against invalid buffer names.
7667 (desktop-list*): Use cl-list*.
7668 (desktop-buffer-info, desktop-create-buffer): Simplify.
7670 2013-07-23 Leo Liu <sdl.web@gmail.com>
7672 * bookmark.el (bookmark-make-record): Restore NAME as a default
7675 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7677 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7678 extracted from autoload--insert-text.
7679 (autoload--insert-text): Remove.
7680 (autoload--print-cookie-text): New function, extracted from
7681 autoload--insert-cookie-text.
7682 (autoload--insert-cookie-text): Remove.
7683 (autoload-generate-file-autoloads): Adjust calls accordingly.
7685 * winner.el (winner-hook-installed-p): Remove.
7686 (winner-mode): Simplify accordingly.
7688 * subr.el (add-to-list): Fix compiler-macro when `append' is
7689 not constant. Don't use `cl-member' for the base case.
7691 * progmodes/subword.el: Fix boundary case (bug#13758).
7692 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7694 (subword-backward-regexp): Make it a constant.
7695 (subword-forward-internal): Don't treat a trailing capital as the
7696 beginning of a word.
7698 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7700 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7701 global value of tabulated-list-revert-hook (bug#14930).
7703 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7705 * desktop.el: Require 'cl-lib.
7706 (desktop-before-saving-frames-functions): New hook.
7707 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7708 for frames being saved. Rename from desktop--save-minibuffer-frames.
7709 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7710 Do not save frames with non-nil `desktop-dont-save' parameter.
7711 Filter out deleted frames.
7712 (desktop--find-frame): Use cl-find-if.
7713 (desktop--select-frame): Use cl-(first|second|third) to access values
7715 (desktop--make-frame): Use cl-delete-if.
7716 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7717 (desktop-restore-frames): Use cl-(first|second|third) to access values
7718 of desktop-mini. Look for visible frame at the end, not while
7721 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7722 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7723 Use string-match-p, looking-at-p (bug#14927).
7725 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7727 * desktop.el (desktop-saved-frame-states):
7728 Rename from desktop--saved-states; all users changed.
7729 (desktop-save-frames): Rename from desktop--save-frames.
7730 Do not save state to desktop file.
7731 (desktop-save): Save desktop-saved-frame-states to desktop file
7733 (desktop-restoring-frames-p): New function.
7734 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7735 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7736 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7738 * desktop.el: Correctly restore iconified frames.
7739 (desktop--filter-iconified-position): New function.
7740 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7742 2013-07-20 Glenn Morris <rgm@gnu.org>
7744 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7745 Let `message' do the formatting.
7746 (def-gdb-preempt-display-buffer): Add explicit format.
7748 * image-dired.el (image-dired-track-original-file):
7749 Use with-current-buffer.
7750 (image-dired-track-thumbnail): Use with-current-buffer.
7751 Avoid changing point of wrong window.
7753 * image-dired.el (image-dired-track-original-file):
7754 Avoid changing point of wrong window. (Bug#14909)
7756 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7758 * progmodes/gdb-mi.el (gdb-done-or-error):
7759 Guard against "%" in gdb output. (Bug#14127)
7761 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7763 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7766 * international/mule.el (coding-system-iso-2022-flags): Fix last
7769 2013-07-20 Kenichi Handa <handa@gnu.org>
7771 * international/mule.el (coding-system-iso-2022-flags):
7772 Add `8-bit-level-4'. (Bug#8522)
7774 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7776 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7779 * net/eww.el (eww-process-text-input): Allow inputting when the
7780 point is at the start of the line, as the properties aren't
7783 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7786 2013-07-19 Richard Stallman <rms@gnu.org>
7788 * epa.el (epa-popup-info-window): Doc fix.
7790 * subr.el (split-string): New arg TRIM.
7792 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7794 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7795 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7797 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7799 * filenotify.el (file-notify--library): Rename from
7800 `file-notify-support'. Do not autoload. Adapt all uses.
7801 (file-notify-supported-p): New defun.
7803 * autorevert.el (auto-revert-use-notify):
7804 Use `file-notify-supported-p' instead of `file-notify-support'.
7806 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7808 * net/tramp.el (tramp-file-name-for-operation):
7809 Add `file-notify-supported-p'.
7811 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7813 (tramp-sh-file-name-handler-alist): Add it as handler for
7814 `file-notify-supported-p '.
7816 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7817 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7818 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7819 Add `ignore' as handler for `file-notify-*' functions.
7821 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7823 * simple.el (line-move-partial, line-move): Don't start vscroll or
7824 scroll-up if the current line is not taller than the window.
7827 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7829 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7830 highlight question marks in the method names as strings.
7831 (ruby-block-beg-keywords): Inline.
7832 (ruby-font-lock-keyword-beg-re): Extract from
7833 `ruby-font-lock-keywords'.
7835 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7837 * frame.el (blink-cursor-blinks): New defcustom.
7838 (blink-cursor-blinks-done): New defvar.
7839 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7840 (blink-cursor-timer-function): Check if number of blinks has been
7842 (blink-cursor-suspend, blink-cursor-check): New defuns.
7844 2013-07-15 Glenn Morris <rgm@gnu.org>
7846 * edmacro.el (edmacro-format-keys): Fix previous change.
7848 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7850 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7851 The hack didn't work outside English locales anyway.
7853 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7855 * simple.el (define-alternatives): Rename from alternatives-define,
7856 per RMS' suggestion.
7858 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7860 * desktop.el (desktop-restore-frames): Change default to t.
7861 (desktop-restore-in-current-display): Now offer more options.
7862 (desktop-restoring-reuses-frames): New customization option.
7863 (desktop--saved-states): Doc fix.
7864 (desktop-filter-parameters-alist): New variable, renamed and expanded
7865 from desktop--excluded-frame-parameters.
7866 (desktop--target-display): New variable.
7867 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7868 (desktop--filter-tty*, desktop--filter-*-color)
7869 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7870 (desktop--filter-save-desktop-parm)
7871 (desktop-restore-in-original-display-p): New functions.
7872 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7873 (desktop--save-minibuffer-frames): New function, inspired by a similar
7874 function from Martin Rudalics.
7875 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7876 (desktop--restore-in-this-display-p): Remove.
7877 (desktop--find-frame): Rename from desktop--find-frame-in-display
7878 and add predicate argument.
7879 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7880 (desktop--reuse-list): New variable.
7881 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7883 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7885 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7887 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7889 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7891 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7892 Highlight conversion methods on Kernel.
7894 2013-07-13 Alan Mackenzie <acm@muc.de>
7896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7897 and comment it out. This out-commenting enables certain C++
7898 declarations to be parsed correctly.
7900 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7902 * international/mule.el (define-coding-system): Doc fix.
7904 * simple.el (default-font-height): Don't call font-info if the
7905 frame's default font didn't change since the frame was created.
7908 2013-07-13 Leo Liu <sdl.web@gmail.com>
7910 * ido.el (ido-read-file-name): Guard against non-symbol value.
7912 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7914 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7917 2013-07-13 Leo Liu <sdl.web@gmail.com>
7919 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7920 ido-set-matches call. (Bug#6852)
7922 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7924 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7925 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7927 (ruby-font-lock-keywords): Distinguish calls to functions with
7928 module-like names from module references. Highlight character
7931 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7933 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7934 (gdb-send): Handle continued commands. (Bug#14847)
7936 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7938 * desktop.el (desktop--v2s): Remove unused local variable.
7939 (desktop-save-buffer): Make defvar-local; adjust docstring.
7940 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7941 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7943 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7945 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7947 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7949 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7952 2013-07-12 Glenn Morris <rgm@gnu.org>
7954 * doc-view.el: Require cl-lib at runtime too.
7955 (doc-view-remove-if): Remove.
7956 (doc-view-search-next-match, doc-view-search-previous-match):
7959 * edmacro.el: Require cl-lib at runtime too.
7960 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7961 (edmacro-mismatch, edmacro-subseq): Remove.
7963 * shadowfile.el: Require cl-lib.
7964 (shadow-remove-if): Remove.
7965 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7968 * wid-edit.el: Require cl-lib.
7969 (widget-choose): Use cl-remove-if.
7970 (widget-remove-if): Remove.
7972 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7973 (ebrowse-delete-if-not): Remove.
7974 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7975 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7976 Use cl-delete-if-not.
7978 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7980 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
7981 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
7983 2013-07-12 Leo Liu <sdl.web@gmail.com>
7985 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
7987 2013-07-11 Glenn Morris <rgm@gnu.org>
7989 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
7990 (edebug-gensym-index, edebug-gensym):
7991 Remove reimplementation of cl-gensym.
7992 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
7994 * thumbs.el: Require cl-lib at run-time too.
7995 (thumbs-gensym-counter, thumbs-gensym):
7996 Remove reimplementation of cl-gensym.
7997 (thumbs-temp-file): Use cl-gensym.
7999 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8000 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8001 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8002 (ert--union, ert--gensym-counter, ert--gensym-counter)
8003 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8004 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8005 (ert-make-test-unbound, ert--expand-should-1)
8006 (ert--expand-should, ert--should-error-handle-error)
8007 (should-error, ert--explain-equal-rec)
8008 (ert--plist-difference-explanation, ert-select-tests)
8009 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8010 Use cl-lib functions rather than reimplementations.
8012 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8014 * net/tramp.el (tramp-methods): Extend docstring.
8015 (tramp-connection-timeout): New defcustom.
8016 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8017 (with-tramp-progress-reporter): Simplify.
8018 (tramp-process-actions): Improve messages.
8020 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8021 * net/tramp-sh.el (tramp-maybe-open-connection):
8022 Use `tramp-connection-timeout'.
8023 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8026 2013-07-11 Leo Liu <sdl.web@gmail.com>
8028 * ido.el (ido-read-file-name): Conform to the requirements of
8029 read-file-name. (Bug#11861)
8030 (ido-read-directory-name): Conform to the requirements of
8031 read-directory-name.
8033 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8035 * subr.el (delay-warning): New function.
8037 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8039 * simple.el (default-line-height): New function.
8040 (line-move-partial, line-move): Use it instead of computing the
8042 (line-move-partial): Always compute ROWH. If the last line is
8043 partially-visible, but its text is completely visible, allow
8044 cursor to enter such a partially-visible line.
8046 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8048 Improve error messages. (Bug#14808)
8050 * net/tramp.el (tramp-current-connection): New defvar, moved from
8052 (tramp-message-show-progress-reporter-message): Remove, not
8054 (tramp-error-with-buffer): Show message in minibuffer.
8055 Discard input before waiting. Reset connection timestamp.
8056 (with-tramp-progress-reporter): Improve messages.
8057 (tramp-process-actions): Use progress reporter. Delete process in
8058 case of error. Improve messages.
8060 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8061 Call `tramp-error-with-buffer' with vector and buffer.
8062 (tramp-current-connection): Remove.
8063 (tramp-maybe-open-connection): The car of
8064 `tramp-current-connection' are the first 3 slots of the vector.
8066 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8068 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8069 inside continued strings.
8071 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8073 Timestamp fixes for undo (Bug#14824).
8074 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8076 2013-07-10 Leo Liu <sdl.web@gmail.com>
8078 * files.el (require-final-newline): Allow safe local value.
8081 2013-07-09 Leo Liu <sdl.web@gmail.com>
8083 * ido.el (ido-read-directory-name): Handle fallback.
8084 (ido-read-file-name): Update DIR to ido-current-directory.
8086 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8088 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8090 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8091 "autoload". Remove "warn lower camel case" section, previously
8092 commented out. Highlight negation char. Do not highlight the
8093 target in singleton method definitions.
8095 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8097 * faces.el (tty-setup-hook): Declare the hook.
8099 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8100 and detect when a guard/pred depends on local vars (bug#14773).
8101 (pcase--u1): Adjust caller.
8103 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8105 * simple.el (line-move-partial, line-move): Account for
8107 (line-move-partial): Avoid setting vscroll when the last
8108 partially-visible line in window is of default height.
8110 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8112 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8115 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8117 * subr.el (read-quoted-char): Remove unused local variable `char'.
8119 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8121 * ediff.el (ediff-version): Version update.
8122 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8123 (ediff-merge-with-ancestor-command, ediff-directories-command)
8124 (ediff-directories3-command, ediff-merge-directories-command)
8125 (ediff-merge-directories-with-ancestor-command): New functions.
8126 All are command-line interfaces to ediff: to facilitate calling
8127 Emacs with the appropriate ediff functions invoked.
8129 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8130 (viper-save-kill-buffer): Check if buffer is modified.
8132 * viper.el (viper-version): Version update.
8133 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8135 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8137 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8138 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8139 (viper-intercept-ESC-key): Simplify.
8140 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8141 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8142 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8143 (viper-setup-ESC-to-escape): New functions.
8144 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8145 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8147 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8149 * simple.el (default-font-height, window-screen-lines):
8151 (line-move, line-move-partial): Use them instead of
8152 frame-char-height and window-text-height. This makes scrolling
8153 text smoother when the buffer's default face uses a font that is
8154 different from the frame's default font.
8156 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8158 * files.el (write-file): Do not display confirm dialog for NS,
8159 it does its own dialog, which can't be canceled (Bug#14578).
8161 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8163 * simple.el (line-move-partial): Adjust the row returned by
8164 posn-at-point for the current window-vscroll. (Bug#14567)
8166 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8168 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8169 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8172 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8174 * window.el (window-state-put-stale-windows): New variable.
8175 (window--state-put-2): Save list of windows without matching buffer.
8176 (window-state-put): Remove "bufferless" windows if possible.
8178 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8180 * simple.el (alternatives-define): Remove leftover :group keyword.
8183 2013-07-06 Leo Liu <sdl.web@gmail.com>
8185 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8186 (ido-enable-virtual-buffers): New variable.
8187 (ido-buffer-internal, ido-toggle-virtual-buffers)
8188 (ido-make-buffer-list): Use it.
8189 (ido-exhibit): Support turning on and off virtual buffers
8192 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8194 * simple.el (alternatives-define): New macro.
8196 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8198 * subr.el (read-quoted-char): Use read-key.
8199 (sit-for): Let read-event decode tty input (bug#14782).
8201 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8203 * calendar/todo-mode.el: Add handling of file deletion, both by
8204 mode command and externally. Fix various related bugs.
8205 Clarify Commentary and improve some documentation strings and code.
8206 (todo-delete-file): New command.
8207 (todo-check-file): New function.
8208 (todo-show): Handle external deletion of the file we're trying to
8209 show (bug#14688). Replace called-interactively-p by an optional
8210 prefix argument to avoid problematic interaction with catch form
8211 when byte compiled (bug#14702).
8212 (todo-quit): Handle external deletion of the archive's todo file.
8213 Make sure the buffer that was visiting the archive file is still
8214 live before trying to bury it.
8215 (todo-category-completions): Handle external deletion of any
8216 category completion files.
8217 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8218 of todo files, in case of external deletion.
8219 (todo-add-file): Replace unnecessary setq by let-binding.
8220 (todo-find-archive): Check whether there are any archives.
8221 Replace unnecessary setq by let-binding.
8222 (todo-archive-done-item): Use find-file-noselect to get the
8223 archive buffer whether or not the archive already exists.
8224 Remove superfluous code. Use file size instead of buffer-file-name to
8225 check if the archive is new; if it is, update list of archives.
8226 (todo-default-todo-file): Allow nil to be a valid value for when
8227 there are no todo files.
8228 (todo-reevaluate-default-file-defcustom): Use corrected definition
8229 of todo-default-todo-file.
8230 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8231 (todo-delete-category, todo-show-categories-table)
8232 (todo-category-number): Clarify comment.
8233 (todo-filter-items): Clarify documentation string.
8234 (todo-show-current-file, todo-display-as-todo-file)
8235 (todo-reset-and-enable-done-separator): Tweak documentation string.
8236 (todo-done-separator): Make separator length window-width, since
8237 bug#2749 is now fixed.
8239 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8241 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8242 Support both "gvfs-monitor-dir" and "inotifywait".
8243 (tramp-sh-file-inotifywait-process-filter): Rename from
8244 `tramp-sh-file-notify-process-filter'.
8245 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8246 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8248 2013-07-05 Leo Liu <sdl.web@gmail.com>
8250 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8252 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8254 * frame.el (display-pixel-height, display-pixel-width)
8255 (display-mm-height, display-mm-width): Mention behavior on
8256 multi-monitor setups in docstrings.
8257 (w32-display-monitor-attributes-list): Declare function.
8258 (display-monitor-attributes-list): Use it.
8260 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8262 * filenotify.el: New package.
8264 * autorevert.el (top): Require filenotify.el.
8265 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8267 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8268 (auto-revert-notify-handler): Use `file-notify-*' functions.
8270 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8272 * net/tramp.el (tramp-file-name-for-operation):
8273 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8275 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8276 for `file-notify-add-watch' and `file-notify-rm-watch'.
8277 (tramp-process-sentinel): Improve trace.
8278 (tramp-sh-handle-file-notify-add-watch)
8279 (tramp-sh-file-notify-process-filter)
8280 (tramp-sh-handle-file-notify-rm-watch)
8281 (tramp-get-remote-inotifywait): New defuns.
8283 2013-07-03 Juri Linkov <juri@jurta.org>
8285 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8286 call of `occur-read-primary-args' to interactive spec.
8288 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8289 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8291 2013-07-03 Matthias Meulien <orontee@gmail.com>
8293 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8294 `Buffer-menu-multi-occur'. Add it to the menu.
8295 (Buffer-menu-mode): Document it in docstring.
8296 (Buffer-menu-multi-occur): New command. (Bug#14673)
8298 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8300 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8301 keywords and built-ins.
8303 2013-07-03 Glenn Morris <rgm@gnu.org>
8305 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8307 Make info-xref checks case-sensitive by default
8308 * info.el (Info-find-node, Info-find-in-tag-table)
8309 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8310 Add option for exact case matching of nodes.
8311 * info-xref.el (info-xref): New custom group.
8312 (info-xref-case-fold): New option.
8313 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8315 2013-07-03 Leo Liu <sdl.web@gmail.com>
8317 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8319 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8321 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8322 middle of block statement initially, lower the depth. Remove
8323 FIXME comment, not longer valid. Remove middle of block statement
8324 detection, no need to do that anymore since we've been using
8325 `ruby-parse-region' here.
8327 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8329 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8331 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8333 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8335 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8337 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8338 (desktop-restore-in-current-display): New customization option.
8339 (desktop--excluded-frame-parameters): Add `font'.
8340 (desktop--save-frames): Rename from desktop--save-windows.
8341 (desktop--restore-in-this-display-p): New function.
8342 (desktop--make-full-frame): Remove unwanted width/height from
8343 full(width|height) frames.
8344 (desktop--restore-frames): Rename from desktop--restore-windows.
8345 Obey desktop-restore-current-display. Do not delete old frames or
8346 select a new frame unless we were able to restore at least one frame.
8348 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8350 * files.el (find-file-noselect): Simplify conditional expression.
8352 * textmodes/remember.el (remember-append-to-file):
8353 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8355 Add `remember-notes' function to store random notes across Emacs
8357 * textmodes/remember.el (remember-data-file): Add :set callback to
8358 affect notes buffer (if any).
8359 (remember-notes): New command.
8360 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8361 New defcustoms for the `remember-notes' function.
8362 (remember-notes-save-and-bury-buffer): New command.
8363 (remember-notes-mode-map): New variable.
8364 (remember-mode): New minor mode.
8365 (remember-notes--kill-buffer-query): New function.
8366 * startup.el (initial-buffer-choice): Add notes to custom type.
8368 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8370 * bindings.el (right-char, left-char): Don't call sit-for, this is
8371 no longer needed. Use arithmetic comparison only for numerical
8374 * international/mule-cmds.el (select-safe-coding-system):
8375 Handle the case of FROM being a string correctly. (Bug#14755)
8377 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8379 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8380 progression on degenerate tables.
8381 (shr-rescale-image): ImageMagick animated images currently don't work.
8383 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8385 Some fixes and improvements for desktop frame restoration.
8386 It is still experimental and disabled by default.
8387 * desktop.el (desktop--save-windows): Put the selected frame at
8388 the head of the list.
8389 (desktop--make-full-frame): New function.
8390 (desktop--restore-windows): Try to re-select the frame that was
8391 selected upon saving. Do not abort if some frames fail to restore,
8392 just show an error message and continue. Set up maximized frames
8393 so they have default non-maximized dimensions.
8395 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8397 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8398 Don't start heredoc inside a string or comment.
8400 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8402 * bindings.el (visual-order-cursor-movement): New defcustom.
8403 (right-char, left-char): Provide visual-order cursor motion by
8404 calling move-point-visually. Update the doc strings.
8406 2013-06-28 Kenichi Handa <handa@gnu.org>
8408 * international/mule.el (define-coding-system): New coding system
8409 properties :inhibit-null-byte-detection,
8410 :inhibit-iso-escape-detection, and :prefer-utf-8.
8411 (set-buffer-file-coding-system): If :charset-list property of
8412 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8413 appropriate for setting.
8415 * international/mule-cmds.el (select-safe-coding-system):
8416 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8417 multibyte characters, return utf-8 (or one of its siblings).
8419 * international/mule-conf.el (prefer-utf-8): New coding system.
8420 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8423 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8425 * net/shr.el (shr-render-region): New function.
8427 * net/eww.el: Autoload `eww-browse-url'.
8429 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8431 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8432 Adapt to `package-desc-version' being a list.
8433 Use `package--ac-desc-version' to retrieve version from a package
8436 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8438 New experimental feature to save&restore window and frame setup.
8439 * desktop.el (desktop-save-windows): New defcustom.
8440 (desktop--saved-states): New var.
8441 (desktop--excluded-frame-parameters): New defconst.
8442 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8443 (desktop--restore-windows, desktop--save-windows): New functions.
8444 (desktop-save): Call `desktop--save-windows'.
8445 (desktop-read): Call `desktop--restore-windows'.
8447 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8449 * net/shr.el (add-face-text-property): Remove compat definition.
8451 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8453 * info.el (Info-try-follow-nearest-node): Move search for footnote
8454 above search for node name to prevent missing a footnote (bug#14717).
8456 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8458 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8460 2013-06-27 Leo Liu <sdl.web@gmail.com>
8462 * net/eww.el (eww-read-bookmarks): Check file size.
8464 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8466 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8467 advice--pending if newdef is nil or an autoload (bug#13820).
8468 (advice-mapc): New function.
8470 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8474 (eww-mode-map): Add a menu bar.
8475 (eww-add-bookmark): New command.
8476 (eww-bookmark-mode): New mode and commands.
8477 (eww-add-bookmark): Remove newlines from the title.
8478 (eww-bookmark-browse): Don't bug out if it's the only window.
8480 2013-06-26 Glenn Morris <rgm@gnu.org>
8482 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8483 (hfy-size): Handle ttys. (Bug#14668)
8485 * info-xref.el: Update for Texinfo 5 change in *note format.
8486 (info-xref-node-re, info-xref-note-re): New constants.
8487 (info-xref-check-buffer): Use info-xref-note-re.
8489 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8491 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8493 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8494 nil terminate the loop (bug#14718).
8496 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8498 * net/eww.el: Rework history traversal. When going forward/back,
8499 put these actions into the history, too, so that they can be
8501 (eww-render): Move the history reset to the correct buffer.
8503 2013-06-25 Juri Linkov <juri@jurta.org>
8505 * files-x.el (modify-dir-local-variable): Change the header comment
8506 in the file with directory local variables. (Bug#14692)
8508 * files-x.el (read-file-local-variable-value): Add `default'.
8511 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8513 * net/eww.el (eww-make-unique-file-name): Create a unique file
8514 name before saving to entering `y' accidentally asynchronously.
8516 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8518 * net/eww.el (eww-download): New command and keystroke.
8520 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8522 * net/eww.el (eww-copy-page-url): Change name of command.
8524 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8525 be more consistent with Info and dired.
8527 * net/eww.el (eww-mode-map): Ditto.
8529 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8531 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8532 packages from archives.
8533 (package-archive-contents): Change format; include obsolete packages.
8534 (package-desc): Use `dir' to mark builtin packages.
8535 (package--from-builtin): Set the `dir' field to `builtin'.
8536 (generated-autoload-file, version-control): Declare.
8537 (package-compute-transaction): Change first arg and return value to be
8538 lists of package-descs. Adjust to new package-archive-contents format.
8539 (package--add-to-archive-contents): Adjust to new
8540 package-archive-contents format.
8541 (package-download-transaction): Arg is now a list of package-descs.
8542 (package-install): If `pkg' is a package name, pass it as
8543 a requirement, so it is subject to the usual (e.g. disabled) checks.
8544 (describe-package): Accept package-desc as well.
8545 (describe-package-1): Describe a specific package-desc. Add links to
8546 other package-descs for the same package name.
8547 (package-menu-describe-package): Pass the actual package-desc.
8548 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8550 (package-desc-status): New function.
8551 (package-menu--refresh): New function, extracted
8552 from package-menu--generate.
8553 (package-menu--generate): Use it.
8554 (package-delete): Update package-alist.
8555 (package-menu-execute): Don't call package-initialize.
8557 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8558 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8559 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8560 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8561 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8562 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8564 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8566 * window.el (window--state-get-1): Workaround for bug#14527.
8567 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8569 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8571 * net/eww.el (eww-back-url): Implement the history by stashing all
8572 the data into a list.
8573 (eww-forward-url): Allow going forward in the history, too.
8575 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8577 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8578 for values and use read--expression for expressions (bug#14710).
8579 (read-file-local-variable): Avoid setq.
8580 (read-file-local-variable-mode): Use minor-mode-list.
8582 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8584 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8587 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8589 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8590 Update imenu-support when dialect changes.
8592 2013-06-25 Leo Liu <sdl.web@gmail.com>
8594 * ido.el (ido-read-internal): Allow forward slash on windows.
8596 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8598 * net/eww.el (eww): Start of strings is \\`, not ^.
8600 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8602 * net/shr.el (shr-browse-url): Fix interactive spec.
8604 * net/eww.el (eww): Add a trailing slash to domain names.
8606 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8608 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8610 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8612 * net/shr.el (shr-browse-url): Use an external browser if given a
8615 * net/eww.el (eww-external-browser): Move to shr.
8617 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8619 * net/eww.el (eww): Work more correctly for file: URLs.
8620 (eww-detect-charset): Allow quoted charsets.
8621 (eww-yank-page-url): New command and keystroke.
8623 2013-06-24 Daiki Ueno <ueno@gnu.org>
8625 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8626 file name of gpg executable.
8627 (epg-context-program): New function.
8628 (epg-context-home-directory): New function.
8629 (epg-context-set-program): New function.
8630 (epg-context-set-home-directory): New function.
8631 (epg--start): Use `epg-context-program' instead of
8633 (epg--list-keys-1): Likewise.
8635 2013-06-24 Leo Liu <sdl.web@gmail.com>
8637 * ido.el (ido-read-internal): Fix bug#14620.
8639 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8641 * faces.el (face-documentation): Simplify.
8642 (read-face-attribute, tty-find-type, x-resolve-font-name):
8643 Use `string-match-p'.
8644 (list-faces-display): Use `string-match-p'. Simplify.
8645 (face-spec-recalc): Check face to avoid face alias loops.
8646 (read-color): Use `string-match-p' and non-capturing parenthesis.
8648 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8650 * net/shr.el (shr-rescale-image): Use the new
8651 :max-width/:max-height functionality.
8653 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8655 * net/eww.el (eww-search-prefix): New variable.
8657 (eww-external-browser): New variable.
8658 (eww-mode-map): New keystroke.
8659 (eww-browse-with-external-browser): New command.
8661 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8663 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8665 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8666 Don't skip aligning the next header field when padding is 0;
8667 otherwise, field width is not respected unless the title is as
8670 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8672 * emacs-lisp/package.el (package-el-version): Remove.
8673 (package-process-define-package): Fix inf-loop.
8674 (package-install): Allow symbols as arguments again.
8676 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8678 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8679 add some more keyword-like methods.
8680 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8682 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8684 * bs.el (bs-buffer-show-mark): Make defvar-local.
8685 (bs-mode): Use setq-local.
8687 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8688 (emacs-lock--try-unlocking): Make defvar-local.
8690 2013-06-22 Glenn Morris <rgm@gnu.org>
8692 * play/cookie1.el (cookie-apropos): Minor simplification.
8694 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8696 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8698 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8699 `regexp-opt', it breaks the build during dumping.
8701 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8703 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8704 Highlight keyword-like methods on Kernel and Module with
8705 font-lock-builtin-face.
8706 (auto-mode-alist): Consolidate different entries into one regexp
8707 and add more *file-s.
8709 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8711 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8713 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8714 (diary-entry): Use it in the action of this button type instead of
8717 * calendar/todo-mode.el: New version.
8718 (todo-add-category): Append new category to end of file and give
8719 it the highest number, instead of putting it at the beginning and
8720 giving it 0. Incorporate noninteractive functionality.
8721 (todo-forward-category): Adapt to 1-based category numbering.
8722 Allow skipping over archived categories.
8723 (todo-backward-category): Derive from todo-forward-category.
8724 (todo-backward-item, todo-forward-item): Make noninteractive and
8725 delegate interactive part to new commands. Make sensitive to done items.
8726 (todo-categories): Make value an alist of category names and
8727 vectors of item counts.
8728 (todo-category-beg): Make a defconst.
8729 (todo-category-number): Use 1 instead of 0 as initial value.
8730 (todo-category-select): Make sensitive to overlays, optional item
8731 highlighting and done items.
8732 (todo-delete-item): Make sensitive to overlays and marked and done items.
8733 (todo-edit-item): Make sensitive to overlays and editing of
8734 date/time header optional. Add format checks.
8735 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8736 no-op if point is not on an item. Advertise using todo-edit-quit.
8737 (todo-edit-mode): Make sensitive to new format, font-locking, and
8738 multiple todo files.
8739 (todo-insert-item, todo-insert-item-here): Derive from
8740 todo-basic-insert-item and extend functionality.
8741 (todo-item-end, todo-item-start): Make sensitive to done items.
8742 (todo-item-string): Don't return text properties. Restore point.
8743 (todo-jump-to-category): Make sensitive to multiple todo files and
8744 todo archives. Use extended category completion.
8745 (todo-lower-item, todo-raise-item): Rename to *-priority and
8746 derive from todo-set-item-priority.
8747 (todo-mode): Derive from special-mode. Make sensitive to new
8748 format, font-locking and multiple todo files. Make read-only.
8749 (todo-mode-map): Don't suppress digit keys, so they can supply
8750 prefix arguments. Add many new key bindings.
8751 (todo-prefix): Insert as an overlay instead of file text.
8752 Change semantics from diary date expression to purely visual mark.
8753 (todo-print): Rename to todo-print-buffer. Make buffer display
8754 features printable. Remove option to restrict number of items
8755 printed. Add option to print to file.
8756 (todo-print-function): Rename to todo-print-buffer-function.
8757 (todo-quit): Extend to handle exiting new todo modes.
8758 (todo-remove-item): Make sensitive to overlays.
8759 (todo-save): Extend to buffers of filtered items.
8760 (todo-show): Make sensitive to done items, multiple todo files and
8761 new todo modes. Offer to convert legacy todo file before creating
8762 first new todo file.
8763 (todo-show-priorities): Rename to todo-top-priorities.
8764 Change semantics of value 0.
8765 (todo-top-priorities): Rename to todo-filter-top-priorities,
8766 derive from todo-filter-items and extend functionality.
8767 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8768 and extend functionality to other types of filtered items.
8769 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8770 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8771 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8772 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8773 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8774 (todo-edit-mode-hook, todo-entry-prefix-function)
8775 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8776 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8777 (todo-initials, todo-insert-threshold, todo-item-string-start)
8778 (todo-line-string, todo-menu, todo-mode-hook)
8779 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8780 (todo-print-priorities, todo-remove-separator)
8781 (todo-save-top-priorities-too, todo-string-count-lines)
8782 (todo-string-multiline-p, todo-time-string-format)
8783 (todo-tmp-buffer-name): Remove.
8784 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8785 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8786 (todo-edit-category-diary-inclusion)
8787 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8788 (todo-edit-file, todo-edit-item-date-day)
8789 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8790 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8791 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8792 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8793 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8794 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8795 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8796 (todo-filter-top-priorities-multifile, todo-find-archive)
8797 (todo-find-filtered-items-file, todo-go-to-source-item)
8798 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8799 (todo-jump-to-archive-category, todo-lower-category)
8800 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8801 (todo-move-category, todo-move-item, todo-next-button)
8802 (todo-next-item, todo-padded-string, todo-powerset)
8803 (todo-previous-button, todo-previous-item)
8804 (todo-print-buffer-to-file, todo-raise-category)
8805 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8806 (todo-set-category-number, todo-set-item-priority)
8807 (todo-set-top-priorities-in-category)
8808 (todo-set-top-priorities-in-file, todo-show-categories-table)
8809 (todo-sort-categories-alphabetically-or-numerically)
8810 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8811 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8812 (todo-toggle-item-header, todo-toggle-item-highlighting)
8813 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8814 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8815 (todo-unarchive-items, todo-unmark-category): New commands.
8816 (todo-absolute-file-name, todo-add-to-buffer-list)
8817 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8818 (todo-basic-insert-item, todo-category-completions)
8819 (todo-category-number, todo-category-string-matcher-1)
8820 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8821 (todo-check-format, todo-clear-matches)
8822 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8823 (todo-current-category, todo-date-string-matcher)
8824 (todo-define-insertion-command, todo-diary-expired-matcher)
8825 (todo-diary-goto-entry, todo-diary-item-p)
8826 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8827 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8828 (todo-done-item-section-p, todo-done-separator)
8829 (todo-done-string-matcher, todo-files, todo-filter-items)
8830 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8831 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8832 (todo-insert-category-line, todo-insert-item-from-calendar)
8833 (todo-insert-sort-button, todo-insert-with-overlays)
8834 (todo-insertion-command-name, todo-insertion-key-bindings)
8835 (todo-label-to-key, todo-longest-category-name-length)
8836 (todo-make-categories-list, todo-mode-external-set)
8837 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8838 (todo-modes-set-3, todo-multiple-filter-files)
8839 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8840 (todo-read-category, todo-read-date, todo-read-dayname)
8841 (todo-read-file-name, todo-read-time)
8842 (todo-reevaluate-category-completions-files-defcustom)
8843 (todo-reevaluate-default-file-defcustom)
8844 (todo-reevaluate-filelist-defcustoms)
8845 (todo-reevaluate-filter-files-defcustom)
8846 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8847 (todo-reset-done-separator, todo-reset-done-separator-string)
8848 (todo-reset-done-string, todo-reset-global-current-todo-file)
8849 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8850 (todo-reset-prefix, todo-set-categories)
8851 (todo-set-date-from-calendar, todo-set-show-current-file)
8852 (todo-set-top-priorities, todo-short-file-name)
8853 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8854 (todo-total-item-counts, todo-update-buffer-list)
8855 (todo-update-categories-display, todo-update-categories-sexp)
8856 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8858 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8860 (todo-categories, todo-display, todo-edit, todo-faces)
8861 (todo-filtered): New defgroups.
8862 (todo-archived-only, todo-button, todo-category-string, todo-date)
8863 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8864 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8865 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8866 (todo-add-item-if-new-category, todo-always-add-time-string)
8867 (todo-categories-align, todo-categories-archived-label)
8868 (todo-categories-category-label, todo-categories-diary-label)
8869 (todo-categories-done-label, todo-categories-number-separator)
8870 (todo-categories-todo-label, todo-categories-totals-label)
8871 (todo-category-completions-files, todo-completion-ignore-case)
8872 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8873 (todo-done-separator-string, todo-done-string)
8874 (todo-files-function, todo-filter-done-items, todo-filter-files)
8875 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8876 (todo-initial-category, todo-initial-file, todo-item-mark)
8877 (todo-legacy-date-time-regexp, todo-mode-line-function)
8878 (todo-nondiary-marker, todo-number-prefix)
8879 (todo-print-buffer-function, todo-show-current-file)
8880 (todo-show-done-only, todo-show-first, todo-show-with-done)
8881 (todo-skip-archived-categories, todo-top-priorities-overrides)
8882 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8883 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8885 (todo-category-done, todo-date-pattern, todo-date-string-start)
8886 (todo-diary-items-buffer, todo-done-string-start)
8887 (todo-filtered-items-buffer, todo-item-start)
8888 (todo-month-abbrev-array, todo-month-name-array)
8889 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8890 (todo-top-priorities-buffer): New defconsts.
8891 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8892 (todo-categories-with-marks, todo-category-string-face)
8893 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8894 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8895 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8896 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8897 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8898 (todo-font-lock-keywords, todo-global-current-todo-file)
8899 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8900 (todo-insertion-commands-args)
8901 (todo-insertion-commands-args-genlist)
8902 (todo-insertion-commands-names, todo-insertion-map)
8903 (todo-key-bindings-t, todo-key-bindings-t+a)
8904 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8905 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8906 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8907 (todo-visited): New variables.
8909 2013-06-21 Glenn Morris <rgm@gnu.org>
8911 * play/cookie1.el (cookie-apropos): Add optional display argument.
8912 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8913 (psychoanalyze-pinhead): Use cookie-doctor.
8915 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8917 * emacs-lisp/package.el (tar-get-file-descriptor)
8918 (tar--extract): Declare.
8920 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8922 Extend flymake's warning predicate to be a function (bug#14217).
8923 * progmodes/flymake.el (flymake-warning-predicate): New.
8924 (flymake-parse-line): Use it.
8925 (flymake-warning-re): Make obsolete alias to
8926 `flymake-warning-predicate'.
8928 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8930 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8931 (package-obsolete-list): Remove.
8932 (package-activate): Remove min-version argument. Add `force' argument.
8933 Adjust to new package-alist format.
8934 (package-mark-obsolete): Remove.
8935 (package-unpack): Force reload of the package's autoloads.
8936 (package-installed-p): Check builtins if the installed package is not
8938 (package-initialize): Don't reset package-obsolete-list.
8939 Don't specify which package version to activate.
8940 (package-process-define-package, describe-package-1)
8941 (package-menu--generate): Adjust to new package-alist format.
8943 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8945 * allout-widgets.el (allout-widgets-mode-off)
8946 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8947 (allout-widgets-post-command-business)
8948 (allout-widgets-after-copy-or-kill-function)
8949 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8950 (allout-decorate-item-and-context)
8951 (allout-graphics-modification-handler): Fix typos in docstrings.
8952 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8954 * cmuscheme.el (scheme-start-file): Doc fix.
8955 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8956 (scheme-input-filter): Use `string-match-p'.
8958 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8960 * dired-x.el: Use Dired consistently in docstrings.
8962 * dired.el: Use Dired consistently in docstrings.
8963 (dired-readin, dired-mode): Use `setq-local'.
8964 (dired-switches-alist): Make defvar-local.
8965 (dired-buffers-for-dir): Use `zerop'.
8966 (dired-safe-switches-p, dired-switches-escape-p)
8967 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8968 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8969 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8970 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8971 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8972 (dired-toggle-marks, dired-mark-files-containing-regexp)
8973 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8974 (dired-flag-auto-save-files, dired-flag-backup-files):
8976 (dired-mark-files-regexp, dired-build-subdir-alist):
8977 Use `string-match-p', `looking-at-p'.
8979 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
8980 (direct-print-region-helper): Use `string-match-p'.
8982 2013-06-21 Leo Liu <sdl.web@gmail.com>
8984 * comint.el (comint-redirect-results-list-from-process):
8987 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8989 * net/eww.el (eww-update-header-line-format): Quote % characters.
8991 2013-06-21 Glenn Morris <rgm@gnu.org>
8993 * play/cookie1.el (cookie): New custom group.
8994 (cookie-file): New option.
8995 (cookie-check-file): New function.
8996 (cookie): Make it interactive. Make start and end messages optional.
8997 Interactively, display the result. Default to cookie-file.
8998 (cookie-insert): Default to cookie-file.
8999 (cookie-snarf): Make start and end messages optional.
9000 Default to cookie-file. Use with-temp-buffer.
9001 (cookie-read): Rename from read-cookie.
9002 Make start and end messages optional. Default to cookie-file.
9003 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9005 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9006 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9008 2013-06-21 Leo Liu <sdl.web@gmail.com>
9010 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9012 2013-06-21 Glenn Morris <rgm@gnu.org>
9014 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9016 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9017 Daniel Hackney <dan@haxney.org>
9019 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9020 Consolidate the single-file vs tarball code.
9021 (package-desc-suffix): New function.
9022 (package-desc-full-name): Don't bother inlining it.
9023 (package-load-descriptor): Return the new package-desc.
9024 (package-mark-obsolete): Remove unused arg `package'.
9025 (package-unpack): Make it work for single files as well.
9026 Make it update package-alist.
9027 (package--make-autoloads-and-stuff): Rename from
9028 package--make-autoloads-and-compile. Don't compile any more.
9029 (package--compile): New function.
9030 (package-generate-description-file): New function, extracted from
9031 package-unpack-single.
9032 (package-unpack-single): Remove.
9033 (package--with-work-buffer): Add indentation and debugging info.
9034 (package-download-single): Remove.
9035 (package-install-from-archive): Rename from package-download-tar, make
9036 it take a pkg-desc, and make it work for single files as well.
9037 (package-download-transaction): Simplify.
9038 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9039 external tar program.
9040 (package-install-from-buffer): Remove `pkg-desc' argument.
9041 Use package-tar-file-info for tar-mode buffers.
9042 (package-install-file): Simplify accordingly.
9043 (package-archive-base): Change to take a pkg-desc.
9044 * tar-mode.el (tar--check-descriptor): New function, extracted from
9046 (tar-get-descriptor): Use it.
9047 (tar-get-file-descriptor): New function.
9048 (tar--extract): New function, extracted from tar-extract.
9049 (tar--extract): Use it.
9050 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9051 case the summary uses non-ascii. Adjust to new calling convention of
9052 package-tar-file-info.
9054 2013-06-21 Leo Liu <sdl.web@gmail.com>
9056 * comint.el (comint-redirect-results-list-from-process):
9057 Fix random delay. (Bug#14681)
9059 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9061 * profiler.el (profiler-format-number): Use log, not log10.
9063 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9065 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9067 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9069 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9070 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9072 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9073 (AUTOGENEL): ... here.
9074 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9075 (cl--defsubst-expand): Use it.
9077 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9079 * subr.el (log10): Move here from C code, and declare as obsolete.
9080 All uses of (log10 X) replaced with (log X 10).
9082 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9084 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9085 Declare with `defvar-local'.
9086 (tabulated-list-use-header-line, tabulated-list-entries)
9087 (tabulated-list-padding, tabulated-list-printer)
9088 (tabulated-list-sort-key): Declare with `defvar-local'.
9089 (tabulated-list-init-header, tabulated-list-print-fake-header):
9092 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9094 * arc-mode.el (archive-mode): Add `archive-write-file' to
9095 `write-contents-functions' also for remote files. (Bug#14652)
9097 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9099 * cus-edit.el (custom-commands): Fix typos.
9100 (custom-display): Fix tooltip text.
9101 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9102 Fix typos in docstrings.
9103 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9104 (custom-unlispify-menu-entry, custom-magic-value-create)
9105 (custom-add-see-also, custom-group-value-create): Use ?\s.
9106 (custom-guess-type, customize-apropos, editable-field)
9107 (custom-face-value-create): Use `string-match-p'.
9108 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9110 * custom.el (custom-load-symbol): Use `string-match-p'.
9112 * ansi-color.el: Convert to lexical binding.
9113 (ansi-colors): Fix URL.
9114 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9115 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9116 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9118 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9120 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9122 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9124 2013-06-19 Tom Tromey <tromey@redhat.com>
9126 * net/eww.el (eww-top-url): Remove.
9127 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9128 (eww-render): Set new variables. Don't set eww-top-url.
9129 (eww-handle-link): Handle "prev", "home", and "contents".
9130 Downcase the rel text.
9131 (eww-top-url): Choose best top URL.
9133 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9135 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9136 relying in widget.el. Using widget.el leads to too many
9137 user interface inconsistencies.
9138 (eww-self-insert): Implement entering commands in text fields.
9139 (eww-process-text-input): New function to make text input field editing
9141 (eww-submit): Rewrite to use the new-style form methods.
9142 (eww-select-display): Display the correct selected item.
9143 (eww-change-select): Implement changing the select value.
9144 (eww-toggle-checkbox): Implement radio/checkboxes.
9145 (eww-update-field): Fix compilation error.
9146 (eww-tag-textarea): Implement <textarea>.
9148 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9149 we don't shadow mode-specific bindings.
9151 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9154 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9156 2013-06-19 Glenn Morris <rgm@gnu.org>
9158 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9160 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9162 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9165 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9167 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9169 * net/browse-url.el (browse-url-browser-function):
9170 `eww-browse-url' has the right calling signature, `eww' does not.
9172 2013-06-19 Glenn Morris <rgm@gnu.org>
9174 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9175 Only eval autoloaded macros.
9176 (byte-compile-autoload): Only give the macro warning for macros.
9178 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9179 (ps-underlined-faces): Declare.
9181 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9182 (speedbar-add-supported-extension): Declare.
9184 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9185 Don't include a date stamp in the header of the generated file;
9186 it leads to needless differences between output files.
9188 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9190 * net/secrets.el (secrets-struct-secret-content-type):
9191 Replace check of introspection data by a test call of "CreateItem".
9192 Some servers do not offer introspection.
9194 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9196 * electric.el (electric-pair-mode): Improve interaction with
9197 electric-layout-mode.
9198 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9199 (electric-pair-syntax): Use text-mode-syntax-table in comments
9201 (electric-pair--insert): New function.
9202 (electric-pair-post-self-insert-function): Use it and
9203 electric--after-char-pos.
9205 2013-06-19 Leo Liu <sdl.web@gmail.com>
9207 * progmodes/octave.el (octave-help): Fix regexp.
9209 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9211 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9212 (shr-table-horizontal-line): Allow nil as a value, and change the
9214 (shr-insert-table-ruler): Respect the nil value.
9216 2013-06-18 Tom Tromey <tromey@barimba>
9218 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9220 (eww-open-file): New defun.
9221 (eww-render): Initialize new variables.
9222 (eww-display-html): Handle "link" and "a".
9223 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9224 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9225 (eww-back-url): Rename from eww-previous-url.
9226 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9229 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9231 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9232 Distinguish ternary operator tokens from slash symbol and slash
9235 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9237 Convert symbol prettification into minor mode and global minor mode.
9239 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9240 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9241 (prettify-symbols--keywords): Rename from
9242 `prog-prettify-symbols-alist' and make a local defvar.
9243 (prettify-symbols--compose-symbol): Rename from
9244 `prog--prettify-font-lock-compose-symbol'.
9245 (prettify-symbols--make-keywords): Rename from
9246 `prog-prettify-font-lock-symbols-keywords' and simplify.
9247 (prog-prettify-install): Remove.
9248 (prettify-symbols-mode): New minor mode, based on
9249 `prog-prettify-install'.
9250 (turn-on-prettify-symbols-mode): New function.
9251 (global-prettify-symbols-mode): New globalized minor mode.
9253 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9254 * progmodes/cfengine.el (cfengine3-mode):
9255 * progmodes/perl-mode.el (perl-mode): Don't call
9256 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9258 2013-06-18 Juri Linkov <juri@jurta.org>
9260 * files-x.el (modify-file-local-variable-message): New function.
9261 (modify-file-local-variable)
9262 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9263 and call `modify-file-local-variable-message' when it's non-nil.
9264 (add-file-local-variable, delete-file-local-variable)
9265 (add-file-local-variable-prop-line)
9266 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9267 and use it. (Bug#9820)
9269 2013-06-18 Juri Linkov <juri@jurta.org>
9271 * emulation/vi.el (vi-shell-op):
9272 * emulation/vip.el (vip-execute-com, ex-command):
9273 * emulation/viper-cmd.el (viper-exec-bang):
9274 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9275 the call of `shell-command-on-region'. (Bug#14637)
9277 * simple.el (shell-command-on-region): Doc fix.
9279 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9281 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9284 2013-06-18 Glenn Morris <rgm@gnu.org>
9286 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9288 * newcomment.el (comment-search-forward, comment-search-backward):
9289 Doc fix. (Bug#14376)
9291 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9293 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9294 (buffer-face-mode-invoke): Doc fix.
9296 2013-06-18 Matthias Meulien <orontee@gmail.com>
9298 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9299 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9301 2013-06-18 Glenn Morris <rgm@gnu.org>
9303 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9304 Replace obsolete function generic-make-keywords with its expansion.
9306 * progmodes/python.el (ffap-alist): Declare.
9308 * textmodes/reftex.el (bibtex-mode-map): Declare.
9310 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9312 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9313 (package-unpack, package-unpack-single): Return the pkg-dir.
9314 (package-download-transaction): Use it to update package-alist.
9316 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9318 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9321 2013-06-17 Juri Linkov <juri@jurta.org>
9323 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9325 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9327 * emacs-lisp/package.el (package-load-descriptor):
9328 Remove `with-syntax-table' call, `read' doesn't need it.
9329 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9331 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9333 * startup.el (command-line): Expand package name returned by
9334 `package--description-file' (bug#14639).
9336 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9338 * emacs-lisp/package.el (package-load-descriptor): Do not call
9339 `emacs-lisp-mode', just use its syntax table.
9341 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9343 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9344 `font-lock-extra-managed-props' if any prettifying keyword is added.
9345 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9346 (prog-mode): Use `setq-local'.
9348 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9350 * international/characters.el (standard-case-table): Set syntax of ?»
9351 and ?« to punctuation.
9353 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9355 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9356 Save relevant match data before calling `syntax-ppss' (bug#14595).
9358 2013-06-15 Juri Linkov <juri@jurta.org>
9360 * files-x.el (modify-file-local-variable-prop-line): Add local
9361 variables to the end of the existing comment on the first line.
9362 Use `file-auto-mode-skip' to skip interpreter magic line,
9363 and also skip XML declaration.
9365 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9367 * startup.el (package--builtin-versions): New var.
9368 (package-subdirectory-regexp): Remove.
9369 (package--description-file): Hard code its value instead.
9371 * emacs-lisp/package.el: Don't activate packages older than builtin.
9372 (package-obsolete-list): Rename from package-obsolete-alist, and make
9373 it into a simple list of package-desc.
9374 (package-strip-version): Remove.
9375 (package-built-in-p): Use package--builtin-versions.
9376 (package-mark-obsolete): Simplify.
9377 (package-process-define-package): Mark it obsolete if older than the
9379 (package-handle-response): Use line-end-position.
9380 (package-read-archive-contents, package--download-one-archive):
9382 (package--add-to-archive-contents): Skip if older than the builtin or
9384 (package-menu-describe-package): Fix last change.
9385 (package-list-unversioned): New var.
9386 (package-menu--generate): Use it.
9388 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9389 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9390 (autoload-builtin-package-versions): New variable.
9391 (autoload-generate-file-autoloads): Use them.
9392 Remove the list of autoloaded functions/macros from the
9393 (autoload...) comments.
9395 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9397 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9399 * simple.el (line-move-partial): Don't jump to the next screen
9400 line as soon as it becomes visible. Instead, continue enlarging
9401 the vscroll until the portion of a tall screen line that's left on
9402 display is about the height of the frame's default font.
9405 2013-06-15 Glenn Morris <rgm@gnu.org>
9407 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9408 compilation-error-regexp-alist void, or local while let-bound.
9410 * progmodes/make-mode.el (makefile-mode-syntax-table):
9411 Treat "=" as punctuation. (Bug#14614)
9413 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9415 * help-fns.el (describe-variable):
9416 Add extra line for permanent-local variables.
9418 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9420 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9421 Add export, import, library. (Bug#9164)
9422 (library): Set indent function.
9424 2013-06-14 Glenn Morris <rgm@gnu.org>
9426 * term/xterm.el (xterm--query):
9427 Stop after first matching handler. (Bug#14615)
9429 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9431 Add support for dired in saveplace.
9432 * dired.el (dired-initial-position-hook): New variable.
9433 (dired-initial-position): Call hook to place cursor position.
9434 * saveplace.el (save-place-to-alist): Add dired position.
9435 (save-place-dired-hook): New function.
9437 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9440 through a symbol rather than letrec.
9442 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9443 (package-desc): Add `dir' field.
9444 (package-desc-full-name): New function.
9445 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9446 (package-maybe-load-descriptor): Remove.
9447 (package-load-all-descriptors): Just call package-load-descriptor.
9448 (package--disabled-p): New function.
9449 (package-desc-vers, package-desc-doc): Remove aliases.
9450 (package--dir): Remove function.
9451 (package-activate): Check if a package is disabled.
9452 (package-process-define-package): New function, extracted from
9454 (define-package): Turn into a place holder.
9455 (package-unpack-single, package-tar-file-info):
9456 Use package--description-file.
9457 (package-compute-transaction): Use package--disabled-p.
9458 (package-download-transaction): Don't call
9459 package-maybe-load-descriptor since they're all loaded anyway.
9460 (package-install): Change argument to be a pkg-desc.
9461 (package-delete): Use a single pkg-desc argument.
9462 (describe-package-1): Use package-desc-dir instead of package--dir.
9463 Use package-desc property instead of package-symbol.
9464 (package-install-button-action): Adjust accordingly.
9465 (package--push): Rewrite.
9466 (package-menu--print-info): Adjust accordingly. Change the ID format
9468 (package-menu-describe-package, package-menu-get-status)
9469 (package-menu--find-upgrades, package-menu-mark-upgrades)
9470 (package-menu-execute, package-menu--name-predicate):
9472 * startup.el (package--description-file): New function.
9473 (command-line): Use it.
9474 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9475 Use package-desc-version.
9477 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9478 (byte-compile-preprocess): Use it.
9479 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9480 can't quite recognize.
9481 (byte-compile-add-to-list): Remove.
9482 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9483 (cconv-closure-convert): Add assertion.
9485 * emacs-lisp/map-ynp.el: Use lexical-binding.
9486 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9487 Factor out some repeated code.
9489 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9491 * subr.el (with-eval-after-load): New macro.
9492 (eval-after-load): Allow form to be a function.
9493 take advantage of lexical-binding.
9494 (do-after-load-evaluation): Use dolist and adjust to new format.
9495 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9497 2013-06-13 Juri Linkov <juri@jurta.org>
9499 * replace.el (perform-replace): Display "symbol " and other search
9500 modes from `isearch-message-prefix' in the *Help* buffer.
9502 * isearch.el (isearch-query-replace): Add " symbol" and other
9503 possible search modes from `isearch-message-prefix' to the prompt.
9504 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9505 when reading a regexp to collect.
9507 2013-06-13 Juri Linkov <juri@jurta.org>
9509 * isearch.el (word-search-regexp): Match whitespace if the search
9510 string begins or ends in whitespace. The LAX arg is applied to
9511 both ends of the search string. Use `regexp-quote' and explicit
9512 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9513 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9514 boundaries are replaced with symbol boundaries, and characters
9515 between symbols match non-word non-symbol syntax. (Bug#14602)
9517 2013-06-13 Juri Linkov <juri@jurta.org>
9519 * isearch.el (isearch-del-char): Don't exceed the length of
9520 `isearch-string' by the prefix arg. (Bug#14563)
9522 2013-06-13 Juri Linkov <juri@jurta.org>
9524 * isearch.el (isearch-yank-word, isearch-yank-line)
9525 (isearch-char-by-name, isearch-quote-char)
9526 (isearch-printing-char, isearch-process-search-char):
9527 Add optional count prefix arg. (Bug#14563)
9529 * international/isearch-x.el
9530 (isearch-process-search-multibyte-characters):
9531 Add optional count prefix arg.
9533 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9535 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9536 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9539 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9541 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9543 2013-06-13 Glenn Morris <rgm@gnu.org>
9545 * startup.el (tty-handle-args):
9546 Don't just discard "--" and anything after. (Bug#14608)
9548 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9550 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9552 Implement changes in Secret Service API. Make it backward compatible.
9553 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9554 (secrets-create-item): Use it. Prefix properties with interface.
9556 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9558 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9559 (term-emulate-terminal): Respect term-suppress-hard-newline.
9561 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9563 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9564 Only remove a `thumb-file' overlay. (Bug#14548)
9566 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9568 * mail/reporter.el (reporter-submit-bug-report):
9569 Handle missing package-name. (Bug#14600)
9571 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9573 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9574 (reftex-citation-prompt, reftex-default-bibliography)
9575 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9576 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9577 (reftex-bib-sort-author, reftex-bib-sort-year)
9578 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9579 (reftex-extract-bib-entries-from-thebibliography)
9580 (reftex-get-bibkey-default, reftex-get-bib-names)
9581 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9582 (reftex-format-bib-entry, reftex-parse-bibitem)
9583 (reftex-format-bibitem, reftex-do-citation)
9584 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9585 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9586 (reftex-insert-bib-matches, reftex-format-citation)
9587 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9588 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9589 existing comments into docstrings.
9591 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9593 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9595 2013-06-12 Andreas Schwab <schwab@suse.de>
9597 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9598 for auto-save files.
9600 2013-06-12 Glenn Morris <rgm@gnu.org>
9602 * ido.el (ido-delete-ignored-files): Remove.
9603 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9604 Go back to calling ido-ignore-item-p directly.
9606 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9608 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9610 * ido.el (ido-delete-ignored-files): New function,
9611 split from ido-make-file-list-1.
9612 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9613 (ido-make-file-list-1): Use ido-delete-ignored-files.
9615 2013-06-12 Leo Liu <sdl.web@gmail.com>
9617 * progmodes/octave.el (inferior-octave-startup)
9618 (inferior-octave-completion-table)
9619 (inferior-octave-track-window-width-change)
9620 (octave-eldoc-function-signatures, octave-help)
9621 (octave-find-definition): Use single quoted strings.
9622 (inferior-octave-startup-args): Change default value.
9623 (inferior-octave-startup): Do not hard code "-i" and
9624 "--no-line-editing".
9625 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9626 (inferior-octave-directory-tracker): Use it.
9627 (octave-goto-function-definition): Robustify.
9628 (octave-help): Support highlighting operators in 'See also'.
9629 (octave-find-definition): Find subfunctions only in Octave mode.
9631 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * help-fns.el (help-fns--compiler-macro): If the handler function is
9634 named, then put a link to it.
9635 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9636 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9638 (cl-eval-when): Simplify debug spec.
9639 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9640 compiler-macro function instead of setting `compiler-macro-file'.
9642 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9644 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9645 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9647 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9648 Daniel Hackney <dan@haxney.org>
9650 First part of Daniel Hackney's patch to package.el.
9651 * emacs-lisp/package.el: Use defstruct.
9652 (package-desc): New, main struct.
9653 (package--bi-desc, package--ac-desc): New structs, used to describe the
9654 format in external files.
9655 (package-desc-vers): Replace with package-desc-version accessor.
9656 (package-desc-doc): Replace with package-desc-summary accessor.
9657 (package-activate-1): Remove `package' arg since the pkg-vec now
9659 (define-package): Use package-desc-from-define.
9660 (package-unpack-single): Change file-name arg to be a symbol.
9661 (package--add-to-archive-contents): Use package-desc-create and new
9662 accessor functions to package--ac-desc.
9663 (package-buffer-info, package-tar-file-info): Return a package-desc.
9664 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9665 arg to be a package-desc.
9666 (package-install-file): Adjust accordingly. Use \' to match EOS.
9667 (package--from-builtin): New function.
9668 (describe-package-1, package-menu--generate): Use it.
9669 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9670 (package-generate-autoloads): Idem and return the name of the file.
9671 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9672 Change pkg-info arg to be a package-desc.
9673 Use package-make-ac-desc.
9674 (package-upload-file): Use \' to match EOS.
9675 * finder.el (finder-compile-keywords): Use package-make-builtin.
9677 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9679 * vc/vc.el (vc-deduce-fileset): Change error message.
9680 (vc-read-backend): New function.
9681 (vc-next-action): Use it.
9683 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9685 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9686 (prolog-font-lock-keywords): Use regexp-opt instead.
9687 Don't manually highlight strings.
9688 (prolog-mode-variables): Simplify comment-start-skip.
9689 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9691 * emacs-lisp/generic.el (generic--normalise-comments)
9692 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9693 (generic-mode-set-comments): Use them.
9694 (generic-bracket-support): Use setq-local.
9695 (generic-make-keywords-list): Declare obsolete.
9697 2013-06-11 Glenn Morris <rgm@gnu.org>
9699 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9700 Prettify after setting font-lock-defaults. (Bug#14574)
9702 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9704 * replace.el (query-replace, occur-read-regexp-defaults-function)
9706 * subr.el (declare-function, number-sequence, local-set-key)
9707 (substitute-key-definition, locate-user-emacs-file)
9708 (with-silent-modifications, split-string, eval-after-load):
9709 Fix typos, remove unneeded backslashes and reflow some docstrings.
9711 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9713 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9714 default for Elisp files.
9716 2013-06-11 Glenn Morris <rgm@gnu.org>
9718 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9719 although define-derived-mode was doing this anyway. (Bug#14583)
9721 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9723 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9724 Fix make-variable-buffer-local call to refer to the correct variable.
9726 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9728 * eshell/em-term.el (eshell-visual-commands)
9729 (eshell-visual-subcommands, eshell-visual-options):
9730 Add summary line to docstrings. Add cross-references.
9732 2013-06-10 Glenn Morris <rgm@gnu.org>
9734 * epa.el (epa-read-file-name): New function. (Bug#14510)
9735 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9737 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9739 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9740 output redirection to be ignored with visual commands.
9742 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9744 * eshell/em-term.el (eshell-visual-command-p): New function.
9745 (eshell-term-initialize): Move long lambda to separate function
9746 eshell-visual-command-p.
9747 * eshell/em-dirs.el (eshell-dirs-initialise):
9748 * eshell/em-script.el (eshell-script-initialize):
9749 Add missing #' to lambda.
9751 2013-06-08 Leo Liu <sdl.web@gmail.com>
9753 * progmodes/octave.el (octave-add-log-current-defun): New function.
9754 (octave-mode): Set add-log-current-defun-function.
9755 (octave-goto-function-definition): Do not move point if not found.
9756 (octave-find-definition): Enhance to try subfunctions first.
9758 2013-06-08 Glenn Morris <rgm@gnu.org>
9760 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9761 (byte-compile-backward-char, byte-compile-backward-word):
9762 Improve previous change, to handle non-explicit nil.
9764 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9766 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9767 (smie--opener/closer-at-point): New function.
9768 (smie--matching-block-data): Use it. Don't match from right after an
9769 opener or right before a closer. Obey smie-blink-matching-inners.
9770 Don't signal a mismatch for repeated inners like "switch..case..case".
9772 2013-06-07 Leo Liu <sdl.web@gmail.com>
9774 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9776 (octave-function-header-regexp): Fix. (Bug#14570)
9777 (octave-help-mode-finish-hook, octave-help-mode-finish):
9778 Remove. Just use temp-buffer-show-hook.
9780 * newcomment.el (comment-search-backward): Revert last change.
9783 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9785 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9787 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9788 through xargs, to avoid failure due to MS-Windows limitations on
9789 command-line length.
9791 2013-06-06 Glenn Morris <rgm@gnu.org>
9793 * font-lock.el (lisp-font-lock-keywords-2):
9794 Treat user-error like error.
9796 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9797 (byte-compile-backward-char, byte-compile-backward-word):
9798 Handle explicit nil arguments. (Bug#14565)
9800 2013-06-05 Alan Mackenzie <acm@muc.de>
9802 * isearch.el (isearch-allow-prefix): New user option.
9803 (isearch-other-meta-char): Don't exit isearch when a prefix
9804 argument is typed whilst `isearch-allow-prefix' is non-nil.
9807 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9809 * autorevert.el (auto-revert-notify-handler): Use memq.
9810 Hide assertion failure.
9812 * skeleton.el: Use cl-lib.
9813 (skeleton-further-elements): Use defvar-local.
9814 (skeleton-insert): Use cl-progv.
9816 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9818 * progmodes/prog-mode.el (prog-prettify-symbols)
9819 (prog-prettify-install): Update docstrings.
9821 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9823 * simple.el: Move all the prog-mode code to prog-mode.el.
9824 * progmodes/prog-mode.el: New file.
9825 * loadup.el: Add prog-mode.el.
9827 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9829 * simple.el (prog-prettify-symbols): Add version.
9830 (prog-prettify-install): Add convenience function to prettify symbols.
9832 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9833 (perl--augmented-font-lock-keywords-1)
9834 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9835 variables and use it.
9837 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9838 (cfengine3-mode): Remove unneeded variable and use it.
9840 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9841 (lisp--augmented-font-lock-keywords-1)
9842 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9843 Remove unneeded variables and use it.
9845 2013-06-05 João Távora <joaotavora@gmail.com>
9847 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9848 to point when opening the connection. (Bug#14380)
9850 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9852 * subr.el (load-history-regexp, load-history-filename-element)
9853 (eval-after-load, after-load-functions, do-after-load-evaluation)
9854 (eval-next-after-load, display-delayed-warnings)
9855 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9856 definition of save-match-data.
9857 (overriding-local-map): Remove accidental obsolescence declaration.
9859 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9861 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9863 Generalize symbol prettify support to prog-mode and implement it
9864 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9865 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9866 (prog--prettify-font-lock-compose-symbol)
9867 (prog-prettify-font-lock-symbols-keywords): New variables and
9868 functions to support symbol prettification.
9869 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9870 (lisp--augmented-font-lock-keywords-1)
9871 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9872 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9873 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9874 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9875 Implement prettify of -> => :: strings.
9876 * progmodes/perl-mode.el (perl-prettify-symbols)
9877 (perl--font-lock-compose-symbol)
9878 (perl--font-lock-symbols-keywords): Move to prog-mode.
9879 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9880 (perl-font-lock-keywords-1)
9881 (perl-font-lock-keywords-2): Remove explicit prettify support.
9882 (perl--augmented-font-lock-keywords)
9883 (perl--augmented-font-lock-keywords-1)
9884 (perl--augmented-font-lock-keywords-2, perl-mode):
9885 Implement prettify support.
9887 2013-06-05 Leo Liu <sdl.web@gmail.com>
9889 Re-implement smie matching block highlight using
9890 show-paren-data-function. (Bug#14395)
9891 * emacs-lisp/smie.el (smie-matching-block-highlight)
9892 (smie--highlight-matching-block-overlay)
9893 (smie--highlight-matching-block-lastpos)
9894 (smie-highlight-matching-block)
9895 (smie-highlight-matching-block-mode): Remove.
9896 (smie--matching-block-data-cache): New variable.
9897 (smie--matching-block-data): New function.
9898 (smie-setup): Use smie--matching-block-data for
9899 show-paren-data-function.
9901 * progmodes/octave.el (octave-mode-menu): Fix.
9902 (octave-find-definition): Skip garbage lines.
9904 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9906 Fix compilation error with simultaneous dynamic+lexical scoping.
9907 Add warning when a defvar appears after the first let-binding.
9908 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9909 (byte-compile-close-variables): Initialize it.
9910 (byte-compile--declare-var): New function.
9911 (byte-compile-file-form-defvar)
9912 (byte-compile-file-form-define-abbrev-table)
9913 (byte-compile-file-form-custom-declare-variable): Use it.
9914 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9915 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9916 (byte-compile-bind): Handle dynamic bindings that shadow
9918 (byte-compile-unbind): Make arg non-optional.
9919 (byte-compile-let): Simplify.
9920 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9921 (cconv--analyse-function, cconv-analyse-form): Populate it.
9922 Protect byte-compile-bound-variables to limit the scope of defvars.
9923 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9924 Remove unneeded rule for `declare'.
9926 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9927 so as to avoid depending on cl-adjoin at run-time.
9928 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9930 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9931 (macroexp--warn-and-return): Use it.
9933 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9935 * subr.el: Convert to lexical binding.
9936 (overriding-local-map): Make obsolete.
9937 (add-to-list): Doc fix. Add compiler macro.
9938 (read-key): Swap values of local maps.
9940 2013-06-05 Leo Liu <sdl.web@gmail.com>
9942 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9944 2013-06-04 Leo Liu <sdl.web@gmail.com>
9946 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9947 (compilation-auto-jump): Suppress the "Mark set" message to give
9948 way to exit message.
9950 2013-06-04 Alan Mackenzie <acm@muc.de>
9952 Remove faulty optimisation from indentation calculation.
9953 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9954 search limit based on 2000 characters back from indent-point.
9956 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9958 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9960 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9962 * emacs-lisp/lisp.el: Use lexical-binding.
9963 (lisp--local-variables-1, lisp--local-variables): New functions.
9964 (lisp--local-variables-completion-table): New var.
9965 (lisp-completion-at-point): Use it complete let-bound vars.
9967 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9968 eagerly (bug#14422).
9970 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9972 * autorevert.el (auto-revert-notify-enabled)
9973 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9974 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9975 (auto-revert-notify-handler): Handle also gfilenotify.
9977 * subr.el (file-notify-handle-event): New defun. Replacing ...
9978 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
9981 2013-06-03 Juri Linkov <juri@jurta.org>
9983 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
9984 `M-s h .'. (Bug#14427)
9986 * hi-lock.el (highlight-symbol-at-point): New alias for the new
9987 command `hi-lock-face-symbol-at-point'.
9988 (hi-lock-face-symbol-at-point): New command.
9989 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
9990 (hi-lock-menu): Add `highlight-symbol-at-point'.
9991 (hi-lock-mode): Doc fix.
9993 * isearch.el (isearch-forward-symbol-at-point): New command.
9994 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
9995 (isearch-highlight-regexp): Add a regexp which matches
9996 words/symbols for word/symbol mode.
9998 * subr.el (find-tag-default-bounds): New function with the body
9999 mostly moved from `find-tag-default'.
10000 (find-tag-default): Move most code to `find-tag-default-bounds',
10001 call it and apply `buffer-substring-no-properties' afterwards.
10003 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10005 * eshell/em-term.el (eshell-term-initialize):
10006 Use `cl-intersection' rather than `intersection'.
10008 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10010 * vc/log-view.el: Doc fix.
10011 (log-view-mode-map): Copy keymap from `special-mode-map'.
10013 2013-06-02 Eric Ludlam <zappo@gnu.org>
10015 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10016 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10017 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10018 (eieio-unbound, eieio-default-superclass)
10019 (eieio--define-field-accessors, method-static, method-before)
10020 (method-primary, method-after, method-num-lists)
10021 (method-generic-before, method-generic-primary)
10022 (method-generic-after, method-num-slots)
10023 (eieio-specialized-key-to-generic-key)
10024 (eieio--check-type, class-v, class-p)
10025 (eieio-class-name, define-obsolete-function-alias)
10026 (eieio-class-parents-fast, eieio-class-children-fast)
10027 (same-class-fast-p, class-constructor, generic-p)
10028 (generic-primary-only-p, generic-primary-only-one-p)
10029 (class-option-assoc, class-option, eieio-object-p)
10030 (class-abstract-p, class-method-invocation-order)
10031 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10032 (eieio-class-un-autoload, eieio-defclass)
10033 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10034 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10035 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10036 (eieio-defgeneric-reset-generic-form)
10037 (eieio-defgeneric-form-primary-only)
10038 (eieio-defgeneric-reset-generic-form-primary-only)
10039 (eieio-defgeneric-form-primary-only-one)
10040 (eieio-defgeneric-reset-generic-form-primary-only-one)
10041 (eieio-unbind-method-implementations)
10042 (eieio--defmethod, eieio--typep)
10043 (eieio-perform-slot-validation, eieio-validate-slot-value)
10044 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10045 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10046 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10047 (eieio-slot-name-index, eieio-class-slot-name-index)
10048 (eieio-set-defaults, eieio-initarg-to-attribute)
10049 (eieio-attribute-to-initarg, eieio-c3-candidate)
10050 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10051 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10052 (eieio-class-precedence-list, eieio-generic-call-methodname)
10053 (eieio-generic-call-arglst, eieio-generic-call-key)
10054 (eieio-generic-call-next-method-list)
10055 (eieio-pre-method-execution-functions, eieio-generic-call)
10056 (eieio-generic-call-primary-only, eieiomt-method-list)
10057 (eieiomt-optimizing-obarray, eieiomt-install)
10058 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10059 (eieio-generic-form, eieio-defmethod, make-obsolete)
10060 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10061 (defclass): Remove `eval-and-compile' from macro.
10062 (call-next-method, shared-initialize): Instead of using
10063 `scoped-class' variable, use new eieio--scoped-class, and
10064 eieio--with-scoped-class.
10065 (initialize-instance): Rename local variable 'scoped-class' to
10066 'this-class' to remove ambiguitity from old global.
10068 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10070 (eieio--scoped-class-stack): New variable.
10071 (eieio--scoped-class): New fcn.
10072 (eieio--with-scoped-class): New scoping macro.
10073 (eieio-defclass): Use pushnew instead of add-to-list.
10074 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10075 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10076 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10077 `scoped-class' variable, use new eieio--scoped-class, and
10078 eieio--with-scoped-class.
10080 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10082 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10084 * eshell/esh-ext.el (eshell-external-command): Pass args to
10085 `eshell-find-interpreter'.
10086 (eshell-find-interpreter): Add new second parameter ARGS.
10088 * eshell/em-script.el (eshell-script-initialize): Add second arg
10089 to the function added as MATCH to `eshell-interpreter-alist'.
10091 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10092 the function added as MATCH to `eshell-interpreter-alist'.
10094 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10095 (eshell-visual-options): New defcustom.
10096 (eshell-escape-control-x): Adapt docstring.
10097 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10098 `eshell-visual-options' in addition to `eshell-visual-commands'.
10099 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10101 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10103 * progmodes/python.el (python-indent-block-enders): Add break,
10104 continue and raise keywords.
10106 2013-06-01 Glenn Morris <rgm@gnu.org>
10108 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10110 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10111 * progmodes/cc-cmds.el (delete-forward-p):
10112 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10113 * progmodes/cc-engine.el (buffer-syntactic-context):
10114 * progmodes/cc-fonts.el (face-property-instance):
10115 * progmodes/cc-mode.el (set-keymap-parents):
10116 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10117 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10118 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10119 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10120 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10122 * progmodes/cc-vars.el (other): Emacs has this widget since
10123 at least 21.1, so don't (re)define it.
10125 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10126 Replace the obsolete alias pcomplete-arg-quote-list.
10128 2013-06-01 Leo Liu <sdl.web@gmail.com>
10130 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10131 punctuation syntax.
10132 (inferior-octave-minimal-columns)
10133 (inferior-octave-last-column-width): New variables.
10134 (inferior-octave-track-window-width-change): New function.
10135 (inferior-octave-mode): Adjust column width so that Octave output,
10136 for example from 'ls', can fit into the window nicely.
10138 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10140 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10141 Highlight expansions inside regexp literals.
10143 2013-05-31 Glenn Morris <rgm@gnu.org>
10145 * obsolete/sym-comp.el (symbol-complete):
10146 Replace obsolete completion-annotate-function.
10148 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10150 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10152 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10153 New function, checks if point is inside a literal that allows
10154 expression expansion.
10155 (ruby-syntax-propertize-expansion): Use it.
10156 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10159 2013-05-30 Juri Linkov <juri@jurta.org>
10161 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10163 (isearch-invisible): New variable.
10164 (isearch-forward): Doc fix.
10165 (isearch-mode): Set `isearch-invisible'
10166 to the value of `search-invisible'.
10167 (isearch-toggle-case-fold): Doc fix.
10168 (isearch-toggle-invisible): New command.
10169 (isearch-query-replace): Let-bind `search-invisible'
10170 to the value of `isearch-invisible'.
10171 (isearch-search): Use `isearch-invisible' instead of
10172 `search-invisible'. Let-bind `search-invisible'
10173 to the value of `isearch-invisible'. (Bug#11378)
10175 2013-05-30 Juri Linkov <juri@jurta.org>
10177 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10178 call when `query-flag' is nil and `search-invisible' is non-nil.
10181 2013-05-30 Glenn Morris <rgm@gnu.org>
10183 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10185 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10186 (cc-require): Suppress spurious "noruntime" warnings.
10187 (cc-require-when-compile): Use fboundp, for sake of compiler.
10189 * progmodes/cc-mode.el: Move load of cc-vars before that of
10190 cc-langs (which in turn loads cc-vars), to quieten compiler.
10192 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * paren.el: Simplify the code.
10195 (show-paren-mode): Always start the timer.
10196 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10197 (show-paren--overlay, show-paren--overlay-1): Rename from
10198 show-paren-overlay and show-paren-overlay-1, and initialize to an
10199 overlay rather than to nil.
10200 (show-paren-function): Misc cleanup and simplifications.
10202 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * paren.el (show-paren-data-function): New hook.
10205 (show-paren--default): New function, extracted from show-paren-function.
10206 (show-paren-function): Use show-paren-data-function.
10208 2013-05-30 Glenn Morris <rgm@gnu.org>
10210 * ielm.el (ielm-map, ielm-complete-symbol):
10211 Use completion-at-point rather than obsolete functions.
10212 (inferior-emacs-lisp-mode): Doc fix.
10213 Set completion-at-point-functions, rather than
10214 comint-dynamic-complete-functions.
10216 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10217 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10218 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10220 * image.el (image-animated-p): Tweak definition.
10222 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10223 (rlogin-process-connection-type): Tweak default. Add set-after.
10224 (rlogin-host): Doc fix.
10225 (rlogin): Tweak prompt.
10226 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10228 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10229 * progmodes/tcl.el (inferior-tcl-mode-map):
10230 Use completion-at-point rather than obsolete alias.
10232 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10234 * minibuffer.el (read-file-name-completion-ignore-case):
10235 Move before completion--in-region, for eager macro expansion.
10237 2013-05-29 Juri Linkov <juri@jurta.org>
10239 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10240 for total count of matching lines. Add `global-matches' for total
10241 count of matches. Rename `matches' to `lines' for count of
10242 matching lines. Add `matches' for count of matches.
10243 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10244 to `prev-line' for line number of prev match endpt.
10245 Increment `matches' for every match. Print the number of
10246 matching lines in the header.
10247 (occur-context-lines): Rename `lines' to `curr-line'.
10248 Rename `prev-lines' to `prev-line'. (Bug#14017)
10250 2013-05-29 Juri Linkov <juri@jurta.org>
10252 * replace.el (perform-replace): Add `skip-read-only-count',
10253 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10254 Increment them for corresponding conditions and report the number
10255 of skipped occurrences in the final message. (Bug#11746)
10256 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10257 (replace-string, replace-regexp): Doc fix.
10259 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10261 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10263 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10264 prog-mode-map (bug#14504).
10266 2013-05-29 Leo Liu <sdl.web@gmail.com>
10268 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10269 (octave-help): Small simplification.
10271 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10272 off the highlight first.
10274 2013-05-29 Glenn Morris <rgm@gnu.org>
10276 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10277 Handle idlwave-last-system-routine-info-cons-cell being nil.
10279 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10280 (idlwave-write-paths): Simplify via with-temp-buffer.
10282 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10283 * emulation/cua-rect.el: Also load cua-base at run time.
10285 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10286 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10287 (cperl-imenu-on-info): Require imenu.
10289 2013-05-28 Alan Mackenzie <acm@muc.de>
10291 Handle "capitalised keywords" correctly.
10292 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10294 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10296 * eshell/em-unix.el: Add -r option to cp.
10298 2013-05-28 Glenn Morris <rgm@gnu.org>
10300 * vc/vc-arch.el (vc-exec-after): Declare.
10301 (vc-switches): Autoload.
10302 * vc/vc-bzr.el: No need to require vc when compiling.
10303 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10304 (vc-resynch-buffer, vc-dir-refresh): Declare.
10305 (vc-setup-buffer, vc-switches): Autoload.
10306 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10307 (vc-resynch-buffer): Declare.
10308 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10309 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10310 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10311 (grep-read-regexp, grep-read-files, grep-expand-template)
10312 (vc-dir-refresh): Declare.
10313 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10314 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10315 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10316 * vc/vc-mtn.el (vc-exec-after): Declare.
10317 (vc-switches): Autoload.
10318 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10319 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10320 (vc-file-tree-walk): Declare.
10321 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10322 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10323 (vc-tag-precondition, vc-rename-master): Autoload.
10324 * vc/vc-svn.el (vc-exec-after): Declare.
10325 (vc-switches, vc-setup-buffer): Autoload.
10326 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10328 (vc-resynch-buffer): Declare.
10330 * obsolete/fast-lock.el (byte-compile-warnings):
10331 Don't warn about obsolete features in this obsolete file.
10333 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10334 Move definition before use.
10336 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10337 (dun-unix-verbs): Remove dun-zippy.
10338 (dun-zippy): Remove function.
10340 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10342 2013-05-27 Juri Linkov <juri@jurta.org>
10344 * replace.el (replace-search): New function with code moved out
10345 from `perform-replace'.
10346 (replace-highlight, replace-dehighlight): Move function definitions
10347 up closer to `replace-search'. (Bug#11746)
10349 2013-05-27 Juri Linkov <juri@jurta.org>
10351 * replace.el (perform-replace): Ignore invisible matches.
10352 In addition to checking `query-replace-skip-read-only', also
10353 filter out matches by calling `run-hook-with-args-until-failure'
10354 on `isearch-filter-predicates', and also check `search-invisible'
10355 for t or call `isearch-range-invisible'.
10356 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10358 2013-05-27 Juri Linkov <juri@jurta.org>
10360 * isearch.el (isearch-filter-predicates): Rename from
10361 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10362 (isearch-message-prefix): Display text from the property
10363 `isearch-message-prefix' of the currently active filters.
10364 (isearch-search): Don't compare `isearch-filter-predicate' with
10365 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10366 on `isearch-filter-predicates'. Also check `search-invisible' for t
10367 or call `isearch-range-invisible'.
10368 (isearch-filter-visible): Make obsolete.
10369 (isearch-lazy-highlight-search):
10370 Call `run-hook-with-args-until-failure' on
10371 `isearch-filter-predicates' and use `isearch-range-invisible'.
10373 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10374 `isearch-filter-predicates' instead of `funcall'ing
10375 `isearch-filter-predicate'.
10376 (Info-mode): Set `Info-isearch-filter' to
10377 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10379 * dired-aux.el (dired-isearch-filter-predicate-orig):
10381 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10382 (dired-isearch-filenames-end): Add and remove
10383 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10384 instead of changing the value of `isearch-filter-predicate'.
10385 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10386 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10387 Put property `isearch-message-prefix' to "filename " on
10388 `dired-isearch-filter-filenames'.
10390 * wdired.el (wdired-change-to-wdired-mode):
10391 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10392 locally instead of changing `isearch-filter-predicate'.
10393 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10395 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10397 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10398 return the commit hash (Bug#14459). Also set the
10399 `vc-git-detached' property.
10400 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10401 (vc-git-mode-line-string): Use the same help-echo format whether
10402 in detached mode or not, because we know the actual revision now.
10403 When in detached mode, shorten the revision to 7 chars.
10405 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10407 * emacs-lisp/easy-mmode.el (define-minor-mode):
10408 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10409 mode hook and provide a docstring.
10411 2013-05-27 Alan Mackenzie <acm@muc.de>
10413 Remove spurious syntax-table text properties inserted by C-y.
10414 * progmodes/cc-mode.el (c-after-change): Also clear hard
10415 syntax-table property with value nil.
10417 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10419 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10420 when reading the events; the buffer layout shall not be changed.
10422 2013-05-27 Leo Liu <sdl.web@gmail.com>
10424 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10426 (inferior-octave-directory-tracker): Automatically re-sync
10428 (octave-help): Improve handling of 'See also'.
10430 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10432 * doc-view.el: Minor naming convention tweaks.
10433 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10435 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10436 even if there's no `display' property yet (bug#14435).
10438 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10440 * subr.el (unmsys--file-name): Rename from reveal-filename.
10442 * Makefile.in (custom-deps, finder-data, autoloads)
10443 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10444 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10445 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10447 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10449 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10450 error-completion on the first 2 args of condition-case (bug#14446).
10453 2013-05-25 Leo Liu <sdl.web@gmail.com>
10455 * comint.el (comint-previous-matching-input): Do not flood the
10456 *Messages* buffer with trivial messages.
10458 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10460 * progmodes/flymake.el (flymake-nop): Don't return a string.
10461 (flymake-set-at): Fix typo.
10463 * simple.el (read--expression): New function, extracted from
10464 eval-expression. Set completion-at-point-functions (bug#14465).
10465 (eval-expression, eval-minibuffer): Use it.
10467 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10469 * progmodes/flymake.el (flymake-save-buffer-in-file)
10470 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10471 (flymake-selected-frame, flymake-log, flymake-ins-after)
10472 (flymake-set-at, flymake-get-buildfile-from-cache)
10473 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10474 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10475 Refine the doc string.
10476 (flymake-get-file-name-mode-and-masks): Reformat.
10477 (flymake-get-real-file-name-function): Fix a minor bug.
10479 2013-05-24 Juri Linkov <juri@jurta.org>
10481 * progmodes/grep.el (grep-mode-font-lock-keywords):
10482 Support =linenumber= format used by git-grep for lines with
10483 function names. (Bug#13549)
10485 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10487 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10488 0 after a semi-colon; it works better for smie-auto-fill.
10489 (octave--indent-new-comment-line): New function.
10490 (octave-indent-new-comment-line): Use it (indirectly).
10491 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10492 modify comment-line-break-function.
10494 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10495 (smie-setup): Use add-function to set it.
10497 2013-05-24 Sam Steingold <sds@gnu.org>
10499 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10500 argument (before the `interactive' argument).
10502 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10504 * image-mode.el (image-mode-winprops): Add winprops to
10505 image-mode-winprops-alist before running
10506 image-mode-new-window-functions.
10507 * doc-view.el (doc-view-new-window-function): Don't delay
10508 doc-view-goto-page via timers (bug#14435).
10510 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10512 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10513 (doc-view-desktop-save-buffer): New function.
10514 (doc-view-restore-desktop-buffer): New function.
10515 (desktop-buffer-mode-handlers):
10516 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10518 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10519 `desktop-save-buffer' function.
10521 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10523 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10524 (tramp-gvfs-file-name-handler): Raise a user error when
10525 `tramp-gvfs-enabled' is nil.
10526 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10527 Do not raise a user error when loading package. (Bug#14447)
10529 * net/xesam.el: Move to obsolete/.
10531 2013-05-24 Glenn Morris <rgm@gnu.org>
10533 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10535 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10537 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10538 (Info-find-node, Man-getpage-in-background): Declare.
10540 * mail/unrmail.el (unrmail):
10541 Replace obsolete detect-coding-with-priority.
10543 * net/socks.el (socks-split-string): Use this rather than split-string.
10544 (socks-nslookup-host): Update for above change.
10545 (dynamic-choice, s5-dynamic-choice-match)
10546 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10547 Comment out unused code.
10549 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10550 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10551 (gud-tooltip-echo-area): Make obsolete.
10552 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10554 * progmodes/js.el (js--optimize-arglist): Declare.
10556 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10558 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10559 (ediff-window-C): Declare.
10561 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10562 Tweak requires to silence compiler.
10564 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10565 (he-search-string, he-tried-table, he-expand-list)
10566 (he-init-string, he-string-member, he-substitute-string)
10567 (he-reset-string): Declare.
10569 * obsolete/options.el (list-options): Use custom-variable-p,
10570 rather than obsolete alias.
10572 2013-05-23 Sam Steingold <sds@gnu.org>
10574 * simple.el (shell-command-on-region): Pass the `replace' argument
10575 down to `call-process-region' to comply with the doc as reported on
10576 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10578 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10580 * emacs-lisp/smie.el (smie-indent-forward-token)
10581 (smie-indent-backward-token): Handle string tokens (bug#14381).
10583 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10585 * ielm.el (ielm-menu): New menu.
10586 (inferior-emacs-lisp-mode): Set comment-start.
10588 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10590 * textmodes/reftex.el (reftex-ref-style-toggle):
10591 Fix deactivate action.
10593 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10594 Add cleveref macros.
10596 * textmodes/reftex-parse.el
10597 (reftex-locate-bibliography-files): Accept options for
10598 bibliography commands.
10599 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10600 Add addbibresource. Basic Biblatex support.
10602 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10604 * net/tramp-gvfs.el (top):
10605 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10606 when loading package. (Bug#14447)
10608 2013-05-23 Glenn Morris <rgm@gnu.org>
10610 * progmodes/js.el: No need to load comint when compiling.
10611 (ring-insert, comint-send-string, comint-send-input)
10612 (comint-last-input-end, ido-chop): Declare.
10614 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10615 * vc/ediff-mult.el: Adjust requires.
10616 (ediff-directories-internal, ediff-directory-revisions-internal)
10617 (ediff-patch-file-internal): Declare.
10618 * vc/ediff-ptch.el: Adjust requires.
10619 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10620 (ediff-find-file): Autoload.
10621 * vc/ediff-util.el: No need to load ediff when compiling.
10622 (ediff-regions-internal): Declare.
10623 * vc/ediff-wind.el: Adjust requires.
10624 (ediff-compute-toolbar-width): Define when compiling.
10625 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10626 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10627 (dired-get-filename, dired-get-marked-files)
10628 (ediff-last-dir-patch, ediff-patch-default-directory)
10629 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10630 (ediff-patch-buffer-internal): Declare.
10632 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10633 (ispell-process, ispell-buffer-local-words, lm-summary)
10634 (lm-section-start, lm-section-end): Declare.
10635 (checkdoc-ispell-init): Simplify.
10637 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10638 (he-string-member, he-reset-string, he-substitute-string): Declare.
10640 * eshell/em-ls.el: Adjust requires.
10641 (eshell-glob-regexp): Declare.
10642 * eshell/em-tramp.el: Adjust requires.
10643 (eshell-parse-command): Autoload.
10644 * eshell/em-xtra.el: Adjust requires.
10645 (eshell-parse-command): Autoload.
10646 * eshell/esh-ext.el: Adjust requires.
10647 (eshell-parse-command, eshell-close-handles): Autoload.
10648 * eshell/esh-io.el: Adjust requires.
10649 (eshell-output-filter): Autoload.
10650 * eshell/esh-util.el: No need to load tramp when compiling.
10651 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10653 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10654 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10655 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10656 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10657 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10658 * eshell/esh-opt.el, eshell/esh-proc.el:
10659 * eshell/esh-var.el: Adjust requires.
10660 * eshell/eshell.el: Do not require esh-util twice.
10661 (eshell-add-input-to-history): Declare.
10662 (eshell-command): Check history module is active before using it.
10664 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10666 2013-05-22 Leo Liu <sdl.web@gmail.com>
10668 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10670 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10672 * autorevert.el (auto-revert-notify-add-watch)
10673 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10674 it indicates changes in file modification time.
10676 2013-05-22 Glenn Morris <rgm@gnu.org>
10678 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10679 Always delete the autoloaded function from the noruntime and
10680 unresolved functions lists.
10682 * allout.el: No need to load epa, epg, overlay when compiling.
10683 (epg-context-set-passphrase-callback, epg-list-keys)
10684 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10685 (epg-key-user-id-list): Declare.
10687 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10688 (viper-set-parsing-style-toggling-macro)
10689 (viper-set-emacs-state-searchstyle-macros):
10690 Use called-interactively-p on Emacs.
10691 (viper-looking-back): Make it an obsolete alias. Update callers.
10692 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10693 Use looking-back rather than viper-looking-back.
10694 (viper-tmp-insert-at-eob, viper-enlarge-region)
10695 (viper-read-string-with-history, viper-register-to-point)
10696 (viper-append-to-register, viper-change-state-to-vi)
10697 (viper-backward-char-carefully, viper-forward-char-carefully)
10698 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10699 (viper-change-state-to-emacs): Declare.
10700 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10701 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10702 * emulation/viper-mous.el: Do not load viper-cmd.
10703 (viper-backward-char-carefully, viper-forward-char-carefully)
10704 (viper-forward-word, viper-adjust-window): Declare.
10706 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10708 * progmodes/idlw-help.el (idlwave-help-fontify):
10709 Use called-interactively-p.
10711 * term/w32console.el (w32-get-console-codepage)
10712 (w32-get-console-output-codepage): Declare.
10714 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10715 Remove unnecessary declarations.
10716 (dframe-message): Doc fix.
10718 * info.el (dframe-select-attached-frame, dframe-current-frame):
10721 * speedbar.el (speedbar-message): Make it an obsolete alias.
10722 Update all callers.
10723 (speedbar-with-attached-buffer)
10724 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10725 (speedbar-with-writable): Use backquote.
10726 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10727 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10728 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10729 rather than speedbar- aliases.
10730 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10731 (speedbar-make-specialized-keymap, speedbar-insert-button)
10732 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10733 (speedbar-do-function-pointer): Declare.
10734 (rmail-speedbar-button, rmail-speedbar-find-file)
10735 (rmail-speedbar-move-message):
10736 Use dframe-with-attached-buffer rather than speedbar- alias.
10737 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10738 (dframe-message, speedbar-make-specialized-keymap)
10739 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10740 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10741 (speedbar-insert-button, dframe-select-attached-frame)
10742 (dframe-maybee-jump-to-attached-frame)
10743 (speedbar-change-initial-expansion-list)
10744 (speedbar-previously-used-expansion-list-name): Declare.
10745 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10746 Use dframe-message, dframe-with-attached-buffer rather than
10748 (gud-sentinel): Silence compiler.
10749 * progmodes/vhdl-mode.el (speedbar-refresh)
10750 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10751 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10752 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10753 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10754 (speedbar-file-lists, speedbar-make-tag-line)
10755 (speedbar-line-directory, speedbar-goto-this-file)
10756 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10757 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10758 (speedbar-make-button, speedbar-reset-scanners)
10759 (speedbar-files-item-info, speedbar-line-text)
10760 (speedbar-find-file-in-frame, speedbar-set-timer)
10761 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10762 (speedbar-with-writable): Do not (re)define it.
10763 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10764 rather than speedbar- alias.
10766 2013-05-21 Leo Liu <sdl.web@gmail.com>
10768 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10770 (octave-mode): Tweak fill-nobreak-predicate.
10771 (inferior-octave-startup): Check process to avoid infinite loop.
10772 (inferior-octave): Pop to buffer first to show abornmal process
10775 2013-05-21 Glenn Morris <rgm@gnu.org>
10777 * printing.el (pr-menu-bar): Define when compiling.
10779 2013-05-21 Leo Liu <sdl.web@gmail.com>
10781 * progmodes/octave.el (octave-auto-fill): Remove.
10782 (octave-indent-new-comment-line): Improve.
10783 (octave-mode): Use auto fill mode through
10784 comment-line-break-function and fill-nobreak-predicate.
10785 (octave-goto-function-definition): Support DEFUN_DLD.
10786 (octave-beginning-of-defun): Small tweak.
10787 (octave-help): Show parent directory.
10789 2013-05-21 Glenn Morris <rgm@gnu.org>
10791 * files.el (dired-unmark):
10792 * progmodes/gud.el (gdb-input): Update declarations.
10794 * calculator.el (electric, ehelp): No need to load when compiling.
10795 (Electric-command-loop, electric-describe-mode): Declare.
10797 * doc-view.el (doc-view-current-converter-processes): Move before use.
10799 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10800 Move MODE-set-explicitly definition before use.
10802 * international/mule-diag.el (mule-diag):
10803 Don't use obsolete window-system-version.
10805 * mail/feedmail.el (smtpmail): No need to load when compiling.
10806 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10808 * mail/mail-utils.el (rfc822): No need to load when compiling.
10809 (rfc822-addresses): Autoload it.
10810 (mail-strip-quoted-names): Trivial simplification.
10812 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10813 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10815 * net/snmp-mode.el (tempo): Don't duplicate requires.
10817 * progmodes/prolog.el (info): No need to load when compiling.
10818 (comint): Require before shell requires it.
10819 (Info-goto-node): Autoload it.
10820 (Info-follow-nearest-node): Declare.
10821 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10823 * textmodes/artist.el (picture-mode-exit): Declare.
10825 * textmodes/reftex-parse.el (reftex-parse-from-file):
10826 Trivial rewrite so the compiler can parse it better.
10828 2013-05-20 Leo Liu <sdl.web@gmail.com>
10830 * progmodes/octave.el (octave-help-mode-map)
10831 (octave-help-mode-finish-hook): New variables.
10832 (octave-help-mode, octave-help-mode-finish): New functions.
10833 (octave-help): Use octave-help-mode.
10835 2013-05-20 Glenn Morris <rgm@gnu.org>
10837 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10839 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10841 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10842 start at point, so that expansion starting right after opening
10843 slash in a regexp is recognized.
10844 (ruby-syntax-before-regexp-re): New defvar, extracted from
10845 ruby-syntax-propertize-function. Since the value of this regexp
10846 is looked up at runtime now, we should be able to turn
10847 `ruby-syntax-methods-before-regexp' into a defcustom later.
10848 (ruby-syntax-propertize-function): Split regexp matching into two
10849 parts, for opening and closing slashes. That allows us to skip
10850 over string interpolations and support multiline regexps.
10851 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10852 for them, which calls `ruby-syntax-propertize-expansion'.
10853 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10854 call to `ruby-syntax-propertize-function'.
10855 (ruby-syntax-propertize-expansion): Extracted from
10856 `ruby-syntax-propertize-expansions'. Handles one expansion.
10857 (ruby-syntax-propertize-percent-literal): Leave point right after
10858 the percent symbol, so that the expression expansion rule can
10859 propertize the contents.
10860 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10862 (ruby-syntax-propertize-expansions): Remove.
10864 2013-05-18 Juri Linkov <juri@jurta.org>
10866 * man.el (Man-default-man-entry): Remove `-' from the end
10867 of the default value. (Bug#14400)
10869 2013-05-18 Glenn Morris <rgm@gnu.org>
10871 * comint.el (comint-password-prompt-regexp):
10872 Allow "password for XXX" where XXX contains colons (eg https://...).
10874 2013-05-18 Leo Liu <sdl.web@gmail.com>
10876 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10877 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10878 (octave-source-directories): Don't check process.
10879 (octave-source-directories, octave-find-definition): Doc fix.
10881 2013-05-18 Glenn Morris <rgm@gnu.org>
10883 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10884 Remove backspace/delete bindings. (Bug#14392)
10886 * cus-dep.el (custom-make-dependencies): Sort the output.
10887 (custom-versions-load-alist): Convert comment to doc.
10889 2013-05-17 Leo Liu <sdl.web@gmail.com>
10891 * newcomment.el (comment-search-backward): Stricter in finding
10892 comment start. (Bug#14303)
10894 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10895 (octave-comment-start-skip): Properly anchored.
10897 2013-05-17 Leo Liu <sdl.web@gmail.com>
10899 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10900 Clean up when turned off. (Bug#14395)
10901 (smie--highlight-matching-block-overlay): No longer buffer-local.
10902 (smie-highlight-matching-block): Adjust.
10904 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10906 Doc string fix for "nanoseconds" (Bug#14406).
10907 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10908 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10910 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10912 * calc/calc-units.el (math-extract-units): Preserve powers
10915 2013-05-17 Leo Liu <sdl.web@gmail.com>
10917 * subr.el (delete-consecutive-dups): New function.
10918 * ido.el (ido-set-matches-1): Use it.
10919 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10920 * ido.el (ido-remove-consecutive-dups): Remove.
10922 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10924 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10925 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10926 regexp-opt's `words'.
10928 2013-05-16 Leo Liu <sdl.web@gmail.com>
10930 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10931 (smie--highlight-matching-block-overlay)
10932 (smie--highlight-matching-block-lastpos)
10933 (smie--highlight-matching-block-timer): New variables.
10934 (smie-highlight-matching-block): New function.
10935 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10936 (smie-setup): Conditionally enable smie-blink-matching-open.
10938 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10940 Sync with upstream verilog-mode r840.
10941 * progmodes/verilog-mode.el (verilog-mode-version)
10942 (verilog-mode-release-date): Update.
10943 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10944 (verilog-sig-tieoff): Fix string error on
10945 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10946 (verilog-read-decls): Fix parameters confusing
10947 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10949 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10951 * subr.el (reveal-filename): New function.
10953 * loadup.el: Compute Emacs executable versions on MS-Windows,
10954 where executables have the .exe extension. Add a hard link
10955 emacs-XX.YY.ZZ.exe on MS-Windows.
10957 * Makefile.in (XARGS_LIMIT): New variable.
10958 (custom-deps, finder-data, autoloads)
10959 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10960 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10961 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10962 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10964 2013-05-16 Leo Liu <sdl.web@gmail.com>
10966 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10967 (octave-mode-menu, octave-mode-map): Remove its uses.
10969 2013-05-16 Reto Zimmermann <reto@gnu.org>
10971 Sync with upstream vhdl mode v3.34.2.
10972 * progmodes/vhdl-mode.el: Use `push' throughout.
10973 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10974 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10975 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10976 (vhdl-actual-generic-name): New option to derive actual generic name.
10977 (vhdl-port-paste-signals): Replace formal by actual generics.
10978 (vhdl-beautify): New name for old group vhdl-align. Update users.
10979 (vhdl-beautify-options): New option.
10980 (vhdl-last-input-event): New compat alias. Use throughout.
10981 (vhdl-goto-line): Replace user level function `goto-line'.
10982 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
10983 vhdl-fix-statement-buffer.
10984 (vhdl-create-mode-menu): Add some entries.
10985 (vhdl-align-region-groups): Respect vhdl-beautify-options.
10986 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
10987 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
10988 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
10989 to force statements on one line.
10990 (vhdl-remove-trailing-spaces-region):
10991 New, split from vhdl-remove-trailing-spaces.
10992 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
10993 Respect vhdl-beautify-options.
10994 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
10995 (vhdl-update-sensitivity-list): Not add with index if exists without.
10996 Not include array index with signal. Ignore keywords in comments.
10997 (vhdl-get-visible-signals): Regexp tweaks.
10998 (vhdl-template-component-inst): Handle empty library.
10999 (vhdl-template-type): Add template for 'enum' type.
11000 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11001 Use vhdl-replace-string.
11002 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11003 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11004 (vhdl-speedbar-initialize): Update for above name change.
11005 (vhdl-compose-wire-components): Fix in handling of constants.
11006 (vhdl-error-regexp-emacs-alist): New variable.
11007 (vhdl-error-regexp-add-emacs): New function;
11008 adds support for new compile.el (Emacs 22+)
11009 (vhdl-generate-makefile-1): Change target order for single lib. units.
11010 Allow use of absolute file names.
11012 2013-05-16 Leo Liu <sdl.web@gmail.com>
11014 * simple.el (prog-indent-sexp): Indent enclosing defun.
11016 2013-05-15 Glenn Morris <rgm@gnu.org>
11018 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11019 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11020 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11021 (whitespace-highlight): Move to whitespace group.
11023 * comint.el (comint-source):
11024 * pcmpl-linux.el (pcmpl-linux):
11025 * shell.el (shell-faces):
11026 * eshell/esh-opt.el (eshell-opt):
11027 * international/ccl.el (ccl): Remove empty custom groups.
11029 * completion.el (dynamic-completion-mode):
11030 * jit-lock.el (jit-lock-debug-mode):
11031 * minibuffer.el (completion-in-region-mode):
11032 * type-break.el (type-break-mode-line-message-mode)
11033 (type-break-query-mode):
11034 * emulation/tpu-edt.el (tpu-edt-mode):
11035 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11036 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11037 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11039 * term/xterm.el (xterm): Change parent group to terminals.
11041 * master.el (master): Remove empty custom group.
11042 (master-mode): Remove unused :group argument.
11043 * textmodes/refill.el (refill): Remove empty custom group.
11044 (refill-mode): Remove unused :group argument.
11046 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11048 * cus-dep.el: Provide a feature.
11049 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11050 Don't mistakenly ignore files whose basenames match a basename
11051 from preloaded-file-list (eg cedet/ede/simple.el).
11052 Add a fallback method for getting :group.
11054 2013-05-15 Juri Linkov <juri@jurta.org>
11056 * isearch.el (isearch-char-by-name): Rename from
11057 `isearch-insert-char-by-name'. Doc fix.
11058 (isearch-forward): Mention `isearch-char-by-name' in
11059 the docstring. (Bug#13348)
11061 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11062 `exit-minibuffer' instead of
11063 `isearch-nonincremental-exit-minibuffer'.
11064 (isearch-edit-string): Remove mention of
11065 `isearch-nonincremental-exit-minibuffer' from docstring.
11066 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11067 (isearch-forward-exit-minibuffer)
11068 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11070 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11072 * loadup.el: Just use unversioned DOC.
11074 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11075 literals as extending to EOB.
11076 (nxml-last-fontify-end): Remove unused variable.
11077 (nxml-after-change1): Use with-silent-modifications.
11078 (nxml-extend-after-change-region): Simplify.
11079 (nxml-extend-after-change-region1): Remove function.
11080 (nxml-after-change1): Don't adjust for dependent regions.
11081 (nxml-fontify-matcher): Simplify.
11082 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11083 (xmltok-add-dependent): Remove function.
11084 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11085 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11086 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11087 unclosed <[[, <?, comment, and other literals as extending to EOB.
11088 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11089 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11091 (rng-do-some-validation-1): Don't mark dependent regions.
11092 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11093 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11094 (nxml-clear-dependent-regions): Remove functions.
11095 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11096 (nxml-ensure-scan-up-to-date):
11097 Don't clear&mark dependent regions.
11099 2013-05-15 Leo Liu <sdl.web@gmail.com>
11101 * progmodes/octave.el (octave-goto-function-definition):
11102 Improve and fix callers.
11104 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11106 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11107 the setter (bug#14387).
11109 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11110 surrounding group (bug#14402).
11112 2013-05-14 Juri Linkov <juri@jurta.org>
11114 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11117 2013-05-14 Glenn Morris <rgm@gnu.org>
11119 * progmodes/f90.el (f90-imenu-generic-expression):
11120 Fix typo in 2013-05-08 change. (Bug#14402)
11122 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11124 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11125 Remove signals for which replies are never received.
11127 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11129 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11130 (gdb-handler-alist, gdb-handler-number): Remove variables.
11131 (gdb-handler-list): New variable.
11132 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11133 (gdb-pending-handler-p, gdb-handle-reply)
11134 (gdb-remove-all-pending-triggers): New functions.
11135 (gdb-discard-unordered-replies): New defcustom.
11136 (gdb-handler): New defstruct.
11137 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11138 instead of gdb-pending-triggers. Update docstring.
11139 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11140 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11141 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11142 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11143 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11144 (gdb-frame-handler): Pending triggers are now automatically managed.
11145 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11147 (gdb-input): Automatically handles pending triggers. Update docstring.
11148 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11149 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11151 (gdb-done-or-error): Now use gdb-handle-reply.
11153 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11155 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11158 2013-05-14 Glenn Morris <rgm@gnu.org>
11160 * subr.el (user-emacs-directory-warning): New option.
11161 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11163 2013-05-14 Leo Liu <sdl.web@gmail.com>
11165 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11167 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11168 (octave-font-lock-texinfo-comment): Fix invalid search bound
11169 error: wrong side of point.
11171 2013-05-14 Glenn Morris <rgm@gnu.org>
11173 * progmodes/flymake.el (flymake-xml-program): New option.
11174 (flymake-xml-init): Use it.
11176 * term/xterm.el: Provide a feature.
11178 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11180 2013-05-13 Glenn Morris <rgm@gnu.org>
11182 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11183 Add compat aliases as a hack workaround. (Bug#14384)
11185 2013-05-13 Leo Liu <sdl.web@gmail.com>
11187 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11189 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11191 (octave-comment-start-skip): Include %!.
11192 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11194 2013-05-12 Leo Liu <sdl.web@gmail.com>
11196 * progmodes/octave.el (inferior-octave-startup): Store the value
11197 of __octave_srcdir__ for octave-source-directories.
11198 (inferior-octave-check-process): New function refactored out of
11199 inferior-octave-send-list-and-digest.
11200 (octave-source-directories)
11201 (octave-find-definition-filename-function): New variables.
11202 (octave-source-directories)
11203 (octave-find-definition-default-filename): New functions.
11204 (octave-find-definition): Improve to find functions implemented in C++.
11206 2013-05-12 Glenn Morris <rgm@gnu.org>
11208 * calendar/diary-lib.el (diary-outlook-format-1):
11209 Don't include dayname in the output. (Bug#14349)
11211 2013-05-11 Glenn Morris <rgm@gnu.org>
11213 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11215 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11216 Treat cc-provide like provide.
11218 2013-05-11 Kevin Ryde <user42@zip.com.au>
11220 * cus-dep.el (custom-make-dependencies):
11221 Use generated-autoload-load-name for the sake of files such
11222 such cedet/semantic/bovine/c.el, where the base file name
11223 is not in load-path. (Bug#5277)
11225 2013-05-11 Glenn Morris <rgm@gnu.org>
11227 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11230 2013-05-11 Leo Liu <sdl.web@gmail.com>
11232 * progmodes/octave.el (octave-indent-comment): Improve.
11233 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11234 (octave-eldoc-function-signatures, octave-eldoc-function):
11236 (octave-mode, inferior-octave-mode): Add eldoc support.
11238 2013-05-11 Richard Stallman <rms@gnu.org>
11240 * epa.el (epa-decrypt-file): Take output file name as argument
11241 and read it using `interactive'.
11243 2013-05-11 Leo Liu <sdl.web@gmail.com>
11245 * progmodes/octave.el (octave-beginning-of-line)
11246 (octave-end-of-line): Check before using up-list because it jumps
11247 out of more syntactic contructs since moving to smie.
11248 (octave-indent-comment): New function.
11249 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11250 (octave-begin-keywords, octave-end-keywords)
11251 (octave-reserved-words, octave-smie-bnf-table)
11252 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11254 2013-05-11 Glenn Morris <rgm@gnu.org>
11256 * faces.el (internal-face-x-get-resource):
11257 * frame.el (ns-display-monitor-attributes-list):
11258 * calc/calc-aent.el (math-to-radians-2):
11259 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11262 * calc/calc-menu.el: Make it loadable in isolation.
11264 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11265 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11266 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11267 (eudc-bbdb-query-internal): Require 'bbdb.
11269 * lpr.el (lpr-headers-switches):
11270 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11272 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11274 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11276 * term.el (term-set-escape-char): Make it idempotent.
11278 2013-05-10 Leo Liu <sdl.web@gmail.com>
11280 * progmodes/octave.el (inferior-octave-completion-table):
11281 No longer a function and all uses changed. Use cache to speed up
11282 completion due to bug#11906.
11283 (octave-beginning-of-defun): Re-write to be more general.
11285 2013-05-10 Glenn Morris <rgm@gnu.org>
11287 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11289 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11291 * comint.el (comint-redirect-send-command-to-process): Use :around
11292 rather than :override for comint-redirect-filter.
11293 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11294 Call it instead of comint-redirect-original-filter-function (which
11295 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11297 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11299 * frame.el (display-monitor-attributes-list): Add NS case.
11300 (ns-display-monitor-attributes-list): Declare.
11302 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11304 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11306 2013-05-09 Glenn Morris <rgm@gnu.org>
11308 * international/fontset.el (vertical-centering-font-regexp):
11309 Set standard-value.
11311 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11313 * bookmark.el (bookmark-search-delay):
11314 * cus-start.el (vertical-centering-font-regexp):
11315 * ps-mule.el (ps-mule-font-info-database-default):
11316 * ps-print.el (ps-default-fg, ps-default-bg):
11317 * type-break.el (type-break-good-break-interval):
11318 * whitespace.el (whitespace-indentation-regexp)
11319 (whitespace-space-after-tab-regexp):
11320 * emacs-lisp/testcover.el (testcover-1value-functions)
11321 (testcover-noreturn-functions, testcover-progn-functions)
11322 (testcover-prog1-functions):
11323 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11324 * eshell/em-glob.el (eshell-glob-translate-alist):
11325 * play/tetris.el (tetris-tty-colors):
11326 * progmodes/cpp.el (cpp-face-default-list):
11327 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11328 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11329 (idlwave-help-browser-generic-args):
11330 * progmodes/make-mode.el (makefile-special-targets-list):
11331 * progmodes/python.el (python-shell-virtualenv-path):
11332 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11333 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11334 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11335 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11336 * textmodes/reftex-vars.el (reftex-format-label-function):
11337 * textmodes/remember.el (remember-diary-file): Fix custom types.
11339 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11342 2013-05-09 Leo Liu <sdl.web@gmail.com>
11344 * progmodes/octave.el (inferior-octave-completion-at-point):
11345 Restore file completion. (Bug#14300)
11346 (inferior-octave-startup): Fix incorrect highlighting for the
11349 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11351 * progmodes/ruby-mode.el: First cut at SMIE support.
11352 (ruby-use-smie): New var.
11353 (ruby-smie-grammar): New constant.
11354 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11355 (ruby-smie--forward-token, ruby-smie--backward-token)
11356 (ruby-smie-rules): New functions.
11357 (ruby-mode-variables): Setup SMIE if applicable.
11359 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11361 * simple.el (line-move-visual): Signal beginning/end of buffer
11362 only if vertical-motion moved less than it was requested. Avoids
11363 silly incorrect error messages when there are display strings with
11364 multiple newlines at EOL.
11366 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11368 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11369 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11370 (prolog-char-quote-workaround):
11371 * progmodes/cperl-mode.el (cperl-under-as-char):
11372 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11374 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11376 (vhdl-mode-syntax-table-init): Remove.
11378 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11381 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11383 (ld-script-font-lock-keywords):
11384 Change regexps to use things like \_< and \_>.
11386 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11387 Change all regexps to use things like \_< and \_>.
11389 * progmodes/autoconf.el (autoconf-definition-regexp)
11390 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11391 Handle a _ with symbol syntax.
11392 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11394 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11395 Consolidate declaration.
11396 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11398 (ada-create-syntax-table): Remove.
11399 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11400 already has the right syntax nowadays.
11401 (ada-goto-next-word): Don't change the syntax of "_".
11403 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11406 2013-05-08 Sam Steingold <sds@gnu.org>
11408 * thingatpt.el (thing-at-point): Accept optional second argument
11409 NO-PROPERTIES to strip the text properties from the return value.
11410 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11411 to `thing-at-point' instead of stripping the properties ourselves.
11412 Also, when `thing-at-point' fails to find a url, prepend "http://"
11413 to the filename at point on the assumption that the user is
11414 pointing at something like gnu.org/gnu.
11416 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11418 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11419 * faces.el (crm-separator):
11420 Silence byte-compiler.
11422 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11423 (tool-bar-map): Remove unneeded defvars.
11425 2013-05-08 Leo Liu <sdl.web@gmail.com>
11427 Re-work a fix for bug#10994 based on Le Wang's patch.
11428 * ido.el (ido-remove-consecutive-dups): New helper.
11429 (ido-completing-read): Use it.
11430 (ido-chop): Revert fix for bug#10994.
11432 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11434 * cus-edit.el (custom-save-variables):
11435 Pretty-print long values. (Bug#14187)
11437 2013-05-08 Glenn Morris <rgm@gnu.org>
11439 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11440 (m4-mode-syntax-table): Init in the defvar.
11441 (m4-mode-abbrev-table): Let define-derived-mode define it.
11443 2013-05-08 Tom Tromey <tromey@redhat.com>
11445 * progmodes/m4-mode.el (m4-mode-syntax-table):
11446 Do not treat "_" as word constituent. (Bug#14167)
11448 2013-05-07 Glenn Morris <rgm@gnu.org>
11450 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11451 Remove explicit eshell-isearch-cancel-map.
11453 * progmodes/f90.el (f90-smart-end-names): New option.
11454 (f90-smart-end): Doc fix.
11455 (f90-end-block-optional-name): New constant.
11456 (f90-block-match): Respect f90-smart-end-names.
11458 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11460 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11461 about implicit semi-colons (bug#14218).
11463 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11465 * frame.el (display-monitor-attributes-list)
11466 (frame-monitor-attributes): New functions.
11468 2013-05-06 Leo Liu <sdl.web@gmail.com>
11470 * progmodes/octave.el (octave-syntax-propertize-function): Change
11471 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11472 (octave-font-lock-keywords): Use octave-operator-regexp.
11473 (octave-completion-at-point): Rename from
11474 octave-completion-at-point-function.
11475 (inferior-octave-directory-tracker): Robustify.
11476 (octave-text-functions): Remove and fix its uses. No such things
11479 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11481 * emacs-lisp/trace.el (trace--display-buffer): New function.
11482 (trace-make-advice): Use it.
11484 2013-05-06 Juri Linkov <juri@jurta.org>
11486 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11487 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11489 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11490 in the help string. (Bug#12985)
11492 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11494 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11496 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11498 * progmodes/perl-mode.el: Add support for here documents.
11499 (perl-syntax-propertize-function): Match here-doc markers.
11500 (perl-syntax-propertize-special-constructs): Find their end.
11501 (perl-imenu-generic-expression): Use [:alnum:].
11503 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11504 (advice--add-function): Refresh the advice if already present
11507 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11509 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11511 2013-05-06 Glenn Morris <rgm@gnu.org>
11513 * w32-fns.el (w32-charset-info-alist): Declare.
11515 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11516 of its defcustom properties.
11517 (eshell-cmpl-initialize): No need to load pcomplete.
11519 * generic-x.el: No need to require comint when compiling.
11521 * net/eudc-export.el: Make it loadable without bbdb.
11522 (top-level): Use require rather than load-library.
11523 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11524 (eudc-batch-export-records-to-bbdb)
11525 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11528 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11530 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11531 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11532 some tweaks, instead.
11534 2013-05-05 Leo Liu <sdl.web@gmail.com>
11536 * progmodes/octave.el (octave-font-lock-keywords)
11537 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11538 (inferior-octave-send-list-and-digest): Improve error message.
11539 (octave-mode, inferior-octave-mode): Use setq-local.
11540 (octave-help): Set info-lookup-mode.
11542 2013-05-05 Richard Stallman <rms@gnu.org>
11544 * vc/compare-w.el (compare-windows-whitespace):
11545 Treat no-break space as whitespace.
11547 * mail/rmailsum.el (rmail-summary-rmail-update):
11548 Detect empty summary and don't change selected message.
11549 (rmail-summary-goto-msg): Likewise.
11551 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11552 Doc fixes, rename args.
11554 2013-05-05 Alan Mackenzie <acm@muc.de>
11556 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11558 2013-05-05 Juri Linkov <juri@jurta.org>
11560 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11561 to not add the length of the summary segment to the return value.
11564 2013-05-05 Leo Liu <sdl.web@gmail.com>
11566 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11567 (inferior-octave-output-filter): Remove.
11568 (octave-send-region, inferior-octave-startup): Fix callers.
11569 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11570 (octave-binary-file-extensions): New user variable.
11571 (octave-find-definition): Confirm if opening binary files.
11572 (octave-help-file): Use octave-find-definition to get the binary
11574 (octave-help): Adjust for octave-help-file change.
11576 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11578 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11579 Merge the two entries that handle function definitions.
11580 (pascal--syntax-propertize): New const.
11581 (pascal-mode): Use it. Use setq-local.
11583 2013-05-04 Glenn Morris <rgm@gnu.org>
11585 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11586 (diary-from-outlook): Respect diary-from-outlook-function.
11588 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11590 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11591 Move the declaration from C.
11592 (read-minibuffer, eval-minibuffer): Move from C.
11593 (completion-setup-function): Avoid minibuffer-completion-contents.
11595 2013-05-03 Leo Liu <sdl.web@gmail.com>
11597 * progmodes/octave.el (octave-font-lock-keywords): Do not
11598 dehighlight 'end' in comments or strings.
11599 (octave-completing-read, octave-goto-function-definition):
11601 (octave-help-buffer): New user variable.
11602 (octave-help-file, octave-help-function): New button types.
11603 (octave-help): New command and bind it to C-h ;.
11604 (octave-find-definition): New command and bind it to M-.
11605 (user-error): Alias to error if not defined.
11607 2013-05-02 Leo Liu <sdl.web@gmail.com>
11609 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11611 (octave-font-lock-keywords): Include [ and {.
11613 2013-05-02 Leo Liu <sdl.web@gmail.com>
11615 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11616 (inferior-octave): Remove calling comint-mode and return the buffer.
11617 (inferior-octave-startup): Cosmetic changes.
11619 2013-05-02 Leo Liu <sdl.web@gmail.com>
11621 * progmodes/octave.el (octave-syntax-propertize-function):
11622 Include the case when ' is at line beginning. (Bug#14336)
11624 2013-05-02 Glenn Morris <rgm@gnu.org>
11626 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11627 * desktop.el (vc-dir-mode): Just autoload it here.
11629 2013-05-02 Alan Mackenzie <acm@muc.de>
11631 Eliminate variable c-standard-font-lock-fontify-region-function.
11632 * progmodes/cc-mode.el
11633 (c-standard-font-lock-fontify-region-function): Remove.
11634 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11636 2013-05-01 Leo Liu <sdl.web@gmail.com>
11638 * progmodes/octave.el: Compatible with older emacs-24 releases.
11639 (inferior-octave-has-built-in-variables): Remove. Built-in
11640 variables were removed from Octave in 2007.
11641 (inferior-octave-startup): Fix uses.
11642 (comint-line-beginning-position): Remove compatibility code for
11645 2013-05-01 Juri Linkov <juri@jurta.org>
11647 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11649 2013-05-01 Juri Linkov <juri@jurta.org>
11651 * comint.el (comint-previous-matching-input): Don't print message
11652 "History item: %d" when `isearch-mode' is active.
11653 (comint-history-isearch-message): Print message "History item: %d"
11654 when `comint-input-ring-index' is not empty and this function is
11655 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11657 2013-05-01 Leo Liu <sdl.web@gmail.com>
11659 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11660 definitions. Use completion-at-point to insert keywords.
11661 (octave-abbrev-start): Remove.
11662 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11664 2013-04-30 Leo Liu <sdl.web@gmail.com>
11666 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11669 2013-04-30 Alan Mackenzie <acm@muc.de>
11671 Handle arbitrarily long C++ member initialisation lists.
11672 * progmodes/cc-engine.el (c-back-over-member-initializers):
11674 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11675 (most) member init lists.
11677 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11679 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11682 2013-04-30 Leo Liu <sdl.web@gmail.com>
11684 * progmodes/octave.el (octave-variables): Remove. No builtin
11685 variables any more. All converted to functions.
11686 (octave-font-lock-keywords, octave-completion-at-point-function):
11688 (octave-font-lock-texinfo-comment): New user variable.
11689 (octave-texinfo-font-lock-keywords): New variable for texinfo
11691 (octave-function-comment-block): New face.
11692 (octave-font-lock-texinfo-comment): New function.
11693 (octave-mode): Font lock texinfo comment block.
11695 2013-04-29 Leo Liu <sdl.web@gmail.com>
11697 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11698 indexing expression.
11699 (octave-continuation-string): Do not use \.
11700 (inferior-octave-complete-impossible): Remove.
11701 (inferior-octave-completion-table)
11702 (inferior-octave-completion-at-point): Remove its uses.
11703 (inferior-octave-startup): completion_matches was introduced to
11704 Octave in 1996 so safe to assume it.
11705 (octave-function-file-comment): Improve to follow how Octave does it.
11706 (octave-update-function-file-comment): Tweak.
11708 2013-04-29 Leo Liu <sdl.web@gmail.com>
11710 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11711 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11712 (octave-function-file-comment): Fix typo.
11713 (octave-sync-function-file-names): Use read-char-choice.
11715 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11717 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11718 to t for the less important warnings.
11720 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11722 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11724 2013-04-27 Glenn Morris <rgm@gnu.org>
11726 * vc/log-view.el (log-view-current-entry):
11727 Treat "---" separator lines as part of the following rev. (Bug#14169)
11729 2013-04-27 Juri Linkov <juri@jurta.org>
11731 * subr.el (read-number): Doc fix about using it by interactive
11732 code letter `n'. (Bug#14254)
11734 2013-04-27 Juri Linkov <juri@jurta.org>
11736 * desktop.el (desktop-auto-save-timeout): New option.
11737 (desktop-file-checksum): New variable.
11738 (desktop-save): Add optional arg `auto-save' and don't auto-save
11739 if nothing changed.
11740 (desktop-auto-save-timer): New variable.
11741 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11742 (after-init-hook): Call `desktop-auto-save-set-timer'.
11743 Suggested by Reuben Thomas <rrt@sc3d.org> in
11744 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11746 2013-04-27 Leo Liu <sdl.web@gmail.com>
11748 * progmodes/octave.el (octave-function-file-p)
11749 (octave-skip-comment-forward, octave-function-file-comment)
11750 (octave-update-function-file-comment): New functions.
11751 (octave-mode-map): Bind C-c ; to
11752 octave-update-function-file-comment.
11753 (octave-mode-menu): Add octave-update-function-file-comment.
11754 (octave-mode, inferior-octave-mode): Fix doc-string.
11755 (octave-insert-defun): Conform to Octave's coding convention.
11758 * files.el (basic-save-buffer): Don't let errors in
11759 before-save-hook prevent saving buffer.
11761 2013-04-20 Roland Winkler <winkler@gnu.org>
11763 * faces.el (read-face-name): Use completing-read if arg multiple
11766 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11768 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11769 displayed, move point to after the totals line.
11770 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11773 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11775 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11776 Add current dir to the load-path.
11777 (package-generate-autoloads): Don't rely on
11778 autoload-ensure-default-file.
11780 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11782 * textmodes/remember.el (remember-store-in-files): Document that
11783 the file name format is passed to `format-time-string'.
11785 2013-04-26 Leo Liu <sdl.web@gmail.com>
11787 * progmodes/octave.el (octave-sync-function-file-names): New function.
11788 (octave-mode): Use it in before-save-hook.
11790 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11792 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11795 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11796 \n and comment, even if it's not an implicit ; (bug#14218).
11798 2013-04-26 Glenn Morris <rgm@gnu.org>
11800 * subr.el (read-number): Once more use `read' rather than
11801 `string-to-number', to trap non-numeric input. (Bug#14254)
11803 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11805 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11806 Use `syntax-multiline' text property consistently instead of
11807 `font-lock-multiline'. (Bug#14237)
11809 2013-04-26 Glenn Morris <rgm@gnu.org>
11811 * emacs-lisp/shadow.el (list-load-path-shadows):
11812 No longer necessary to check for duplicate simple.el, since
11813 2012-07-07 change to init_lread to not include installation lisp
11814 directories in load-path when running uninstalled. (Bug#14270)
11816 2013-04-26 Leo Liu <sdl.web@gmail.com>
11818 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11819 (octave-mode, inferior-octave-mode): Use setq-local.
11820 (octave-not-in-string-or-comment-p): Rename to
11821 octave-in-string-or-comment-p.
11822 (octave-in-comment-p, octave-in-string-p)
11823 (octave-in-string-or-comment-p): Replace defsubst with defun.
11825 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11827 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11829 2013-04-25 Bastien Guerry <bzg@gnu.org>
11831 * textmodes/remember.el (remember-data-directory)
11832 (remember-directory-file-name-format): Fix custom types.
11834 2013-04-25 Leo Liu <sdl.web@gmail.com>
11836 * progmodes/octave.el (octave-completion-at-point-function):
11837 Make use of inferior octave process.
11838 (octave-initialize-completions): Remove.
11839 (inferior-octave-completion-table): New function.
11840 (inferior-octave-completion-at-point): Use it.
11841 (octave-completion-alist): Remove.
11843 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11845 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11846 (opascal-mode-syntax-table): New var.
11847 (opascal-literal-kind, opascal-is-literal-end)
11848 (opascal-literal-token-at): Rewrite.
11849 (opascal--literal-start-re, opascal-font-lock-keywords)
11850 (opascal--syntax-propertize): New constants.
11851 (opascal-font-lock-defaults): Adjust.
11852 (opascal-mode): Use them. Set comment-<foo> variables as well.
11853 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11854 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11855 (delphi-other-face, opascal-other-face): Remove face variables.
11856 (opascal-save-state): Remove macro.
11857 (opascal-fontifying-progress-step): Remove constant.
11858 (opascal--ignore-changes): Remove var.
11859 (opascal-set-token-property, opascal-parse-next-literal)
11860 (opascal-is-stable-literal, opascal-complete-literal)
11861 (opascal-is-literal-start, opascal-face-of)
11862 (opascal-parse-region, opascal-parse-region-until-stable)
11863 (opascal-fontify-region, opascal-after-change)
11864 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11865 (opascal-debug-parse-region, opascal-debug-parse-window)
11866 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11867 (opascal-debug-fontify-buffer): Remove.
11868 (opascal-debug-mode-map): Adjust accordingly.
11870 2013-04-25 Leo Liu <sdl.web@gmail.com>
11872 Merge octave-mod.el and octave-inf.el into octave.el with some
11874 * progmodes/octave.el: New file renamed from octave-mod.el.
11875 * progmodes/octave-inf.el: Merged into octave.el.
11876 * progmodes/octave-mod.el: Renamed to octave.el.
11878 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11880 * textmodes/reftex-vars.el
11881 (reftex-label-ignored-macros-and-environments): New defcustom.
11883 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11885 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11887 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11888 (smie-indent-keyword): Improve the check to ensure that the next
11889 comment is really on the same line.
11890 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11892 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11893 semi-colons if the line is not otherwise empty (bug#14218).
11895 2013-04-25 Glenn Morris <rgm@gnu.org>
11897 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11899 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11901 * progmodes/opascal.el (opascal-set-token-property): Rename from
11902 opascal-set-text-properties and only set `token' (bug#14134).
11903 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11904 (opascal-literal-text-properties): Remove.
11905 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11908 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11910 * textmodes/remember.el (remember-handler-functions): Add an
11911 option for a new handler `remember-store-in-files'.
11912 (remember-data-directory, remember-directory-file-name-format):
11914 (remember-store-in-files): New function to store remember notes
11915 as separate files within a directory.
11917 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11919 * progmodes/compile.el (compilation-next-error-function):
11920 Pass "formats" to compilation-find-file (bug#11777).
11922 2013-04-24 Glenn Morris <rgm@gnu.org>
11924 * vc/vc-bzr.el (vc-bzr-print-log):
11925 * vc/vc-hg.el (vc-hg-print-log):
11926 * vc/vc-svn.el (vc-svn-print-log):
11927 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11929 * vc/vc-bzr.el (vc-bzr-print-log):
11930 * vc/vc-cvs.el (vc-cvs-print-log):
11931 * vc/vc-git.el (vc-git-print-log):
11932 * vc/vc-hg.el (vc-hg-print-log):
11933 * vc/vc-mtn.el (vc-mtn-print-log):
11934 * vc/vc-rcs.el (vc-rcs-print-log):
11935 * vc/vc-sccs.el (vc-sccs-print-log):
11936 * vc/vc-svn.el (vc-svn-print-log):
11937 * vc/vc.el (vc-print-log-internal): Doc fixes.
11939 2013-04-23 Glenn Morris <rgm@gnu.org>
11941 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11942 Remove venerable code attempting to avoid substitute-command-keys.
11944 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11946 * textmodes/reftex-vars.el (reftex-label-regexps):
11947 Call `reftex-compile-variables' after changes to this variable.
11949 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11951 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11952 Use lexical-binding.
11953 (jit-lock-force-redisplay): Use markers, check buffer's continued
11954 existence and beware narrowed buffers.
11955 (jit-lock-fontify-now): Adjust call accordingly.
11957 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11959 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11960 to avoid misleading the user.
11962 2013-04-22 Leo Liu <sdl.web@gmail.com>
11964 * info-look.el: Prefer latex2e.info. (Bug#14240)
11966 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11968 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11970 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11971 * net/tramp.el (tramp-call-process): ... here.
11972 (tramp-set-completion-function, tramp-parse-putty):
11973 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11974 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11975 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11976 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
11977 (tramp-call-local-coding-command): Use `tramp-call-process'
11978 instead of `tramp-compat-call-process'.
11980 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
11981 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
11982 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
11983 (tramp-find-inline-compress): Improve traces.
11984 (tramp-maybe-send-script): Check for Perl binary.
11985 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
11987 2013-04-22 Daiki Ueno <ueno@gnu.org>
11989 * epg.el (epg-context-pinentry-mode): New function.
11990 (epg-context-set-pinentry-mode): New function.
11991 (epg--start): Pass --pinentry-mode option to gpg command.
11993 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
11995 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
11996 `comint-dynamic-complete' is obsolete since 24.1, replaced by
11997 `completion-at-point'. (Bug#13774)
11999 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12000 default key binding for `describe-distribution' has been moved to
12001 `C-h C-o'. (Bug#13970)
12003 2013-04-21 Glenn Morris <rgm@gnu.org>
12005 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12007 (vc-print-log): Clarify interactive prompt.
12009 2013-04-20 Glenn Morris <rgm@gnu.org>
12011 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12012 No longer include timestamp etc information.
12014 2013-04-20 Roland Winkler <winkler@gnu.org>
12016 * faces.el (read-face-name): Bug fix, return just one face if arg
12017 multiple is nil. (Bug#14209)
12019 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12021 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12022 (remove-function): Autoload.
12024 * comint.el (comint-redirect-original-filter-function): Remove.
12025 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12026 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12027 (vc-cvs-annotate-command):
12028 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12029 * progmodes/prolog.el (prolog-consult-compile):
12030 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12031 Use add/remove-function instead.
12032 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12033 (gud-tooltip-process-output, gud-tooltip-tips):
12034 Use add/remove-function instead.
12035 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12036 (scheme-interaction-mode, exit-scheme-interaction-mode):
12037 Use add/remove-function instead.
12039 * vc/vc-dispatcher.el: Use lexical-binding.
12040 (vc--process-sentinel): Rename from vc-process-sentinel.
12041 Change last arg to be the code to run. Don't use vc-previous-sentinel
12042 and vc-sentinel-commands any more.
12043 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12044 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12046 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12048 * progmodes/sh-script.el (sh-imenu-generic-expression):
12049 Handle function names with a single character. (Bug#14111)
12051 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12053 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12054 for subroutines defined in an eval (bug#14182).
12056 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12058 * bookmark.el (bookmark-completing-read): Improve handling of empty
12059 string (bug#14176).
12061 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12063 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12065 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12067 New faster Imenu implementation (bug#14058).
12068 * progmodes/python.el:
12069 (python-imenu-prev-index-position):
12070 (python-imenu-format-item-label-function)
12071 (python-imenu-format-parent-item-label-function)
12072 (python-imenu-format-parent-item-jump-label-function):
12074 (python-imenu-format-item-label)
12075 (python-imenu-format-parent-item-label)
12076 (python-imenu-format-parent-item-jump-label)
12077 (python-imenu--put-parent, python-imenu--build-tree)
12078 (python-imenu-create-index, python-imenu-create-flat-index)
12079 (python-util-popn): New functions.
12080 (python-mode): Set imenu-create-index-function to
12081 python-imenu-create-index.
12083 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12085 * winner.el (winner-active-region): Use region-active-p, activate-mark
12086 and deactivate-mark (bug#14225).
12088 * simple.el (deactivate-mark): Don't inline it.
12090 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12092 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12094 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12096 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12097 file extensions from the archive-mode entry in order to prefer
12098 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12100 2013-04-18 Leo Liu <sdl.web@gmail.com>
12102 * bindings.el (help-event-list): Add ?\?.
12104 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12106 * subr.el (with-wrapper-hook): Declare obsolete.
12107 * simple.el (filter-buffer-substring-function): New hook.
12108 (filter-buffer-substring): Use it.
12109 (filter-buffer-substring-functions): Mark obsolete.
12110 * minibuffer.el (completion-in-region-function): New hook.
12111 (completion-in-region): Use it.
12112 (completion-in-region-functions): Mark obsolete.
12113 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12114 * abbrev.el (abbrev-expand-function): New hook.
12115 (expand-abbrev): Use it.
12116 (abbrev-expand-functions): Mark obsolete.
12117 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12118 and :filter-return.
12120 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12122 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12123 and do not care about match data.
12125 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12128 completion tables when completing error conditions and
12129 `declare' arguments.
12130 (lisp-complete-symbol, field-complete): Mark as obsolete.
12131 (check-parens): Unmatched parens are user errors.
12132 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12134 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12136 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12137 command changed buffer (ie. `flyspell-pre-buffer' is not current
12138 buffer), which prevents making decisions based on invalid value of
12139 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12140 cause an error when `flyspell-pre-point' was nil after switching
12142 (flyspell-post-command-hook): No longer needs to change buffers when
12143 checking pre-word. While at it remove unnecessary progn.
12145 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12147 * textmodes/ispell.el (ispell-add-per-file-word-list):
12148 Fix `flyspell-correct-word-before-point' error when accepting
12149 words and `coment-padding' is an integer by using
12150 `comment-normalize-vars' (Bug #14214).
12152 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12154 New defun movement commands.
12155 * progmodes/python.el (python-nav--syntactically)
12156 (python-nav--forward-defun, python-nav-backward-defun)
12157 (python-nav-forward-defun): New functions.
12159 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12161 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12162 (python-syntax-context): Use named compiler-macro for backwards
12163 compatibility with Emacs 24.x.
12165 2013-04-17 Leo Liu <sdl.web@gmail.com>
12167 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12168 octave-hide-process-buffer.
12170 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12172 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12175 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12177 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12178 Fix adjustment of offset when receiving incomplete responses from GDB
12181 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12183 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12184 python-mode-abbrev-table.
12185 (python-skeleton-define): Adjust accordingly.
12186 (python-mode-abbrev-table): New table that inherits from it so that
12187 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12189 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12190 (abbrev-symbol): Use it.
12191 (abbrev--before-point): Use it since we already handle inheritance.
12193 2013-04-16 Leo Liu <sdl.web@gmail.com>
12195 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12196 binding to info-lookup-symbol.
12198 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12200 * minibuffer.el (completion--twq-all):
12201 * term/ns-win.el (ns-initialize-window-system):
12202 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12204 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12209 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12211 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12213 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12214 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12216 (ruby-end-of-defun): Remove the unused arg, change the docstring
12217 to reflect that this function is only used as the value of
12218 `end-of-defun-function'.
12219 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12220 to reflect an earlier change that beginning/end-of-defun functions
12221 jump between methods in a class definition, as well as top-level
12224 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12226 * minibuffer.el (minibuffer-complete): Don't just scroll
12227 a *Completions* that's been iconified.
12228 (minibuffer-force-complete): Make sure repetitions do cycle when going
12229 through completion-in-region -> minibuffer-complete.
12231 2013-04-15 Alan Mackenzie <acm@muc.de>
12233 Correct the placement of c-cpp-delimiters when there're #s not at
12236 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12237 place a submatch around the #.
12238 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12239 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12242 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12244 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12245 (advice--member-p): New arg `name'.
12246 (advice--add-function, advice-member-p): Use it (bug#14202).
12248 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12250 Reformulate java imenu-generic-expression.
12251 The old expression contained ill formed regexps.
12253 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12254 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12255 (cc-imenu-java-method-arg-regexp): New defconsts.
12256 (cc-imenu-java-build-type-args-regex): New defun.
12257 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12258 handling of spaces in the regexp.
12260 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12262 * textmodes/ispell.el (ispell-command-loop): Remove
12263 flyspell highlight of a word when ispell accepts it (bug #14178).
12265 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12267 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12268 uses code from the previous `ange-ftp-run-real-handler'.
12269 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12270 only in case that function exist. This is needed for proper
12271 unloading of Tramp.
12273 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12275 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12277 * textmodes/reftex.el (reftex-compile-variables): Use it.
12279 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12281 * files.el (normal-mode): Only use default major-mode if no other mode
12284 * emacs-lisp/trace.el (trace-values): New function.
12286 * files.el: Allow : in local variables (bug#14089).
12287 (hack-local-variable-regexp): New var.
12288 (hack-local-variables-prop-line, hack-local-variables): Use it.
12290 2013-04-13 Roland Winkler <winkler@gnu.org>
12292 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12293 data before it gets modified by bibtex-beginning-of-entry.
12295 2013-04-13 Roland Winkler <winkler@gnu.org>
12297 * textmodes/bibtex.el (bibtex-url): Doc fix.
12299 2013-04-13 Roland Winkler <winkler@gnu.org>
12301 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12302 does not visit a BibTeX file, exclude it from the list of buffers
12303 returned by bibtex-initialize.
12305 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12307 * window.el (split-window): Remove interactive form, since as a
12308 command this function is a special case of split-window-below.
12309 Correct doc string.
12311 2013-04-12 Roland Winkler <winkler@gnu.org>
12313 * faces.el (read-face-name): Do not override value of arg default.
12314 Allow single faces and strings as default values. Remove those
12315 elements from return value that are not faces.
12316 (describe-face): Simplify.
12317 (face-at-point): New optional args thing and multiple so that this
12318 function can provide the same functionality previously provided by
12320 (make-face-bold, make-face-unbold, make-face-italic)
12321 (make-face-unitalic, make-face-bold-italic, invert-face)
12322 (modify-face, read-face-and-attribute): Use face-at-point.
12324 * cus-edit.el (customize-face, customize-face-other-window)
12325 * cus-theme.el (custom-theme-add-face)
12326 * face-remap.el (buffer-face-set)
12327 * facemenu.el (facemenu-set-face): Use face-at-point.
12329 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12331 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12333 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12335 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12336 off leading { and trailing } from field values.
12338 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12340 * emacs-lisp/timer.el (timer--check): New function.
12341 (timer--time, timer-set-function, timer-event-handler): Use it.
12342 (timer-set-idle-time): Simplify.
12343 (timer--activate): CSE.
12344 (timer-event-handler): Give more info in error message.
12345 (internal-timer-start-idle): New function, moved from C.
12347 * mpc.el (mpc-proc): Add `restart' argument.
12348 (mpc-proc-cmd): Use it.
12349 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12350 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12353 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12355 * progmodes/sh-script.el: Implement `sh-mode' own
12356 `add-log-current-defun-function' (bug#14112).
12357 (sh-current-defun-name): New function.
12358 (sh-mode): Use the function.
12360 2013-04-09 Bastien Guerry <bzg@gnu.org>
12362 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12364 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12366 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12368 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12371 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12373 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12376 2013-04-07 Leo Liu <sdl.web@gmail.com>
12378 * pcmpl-x.el: New file.
12380 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12382 Do not set x-display-name until X connection is established.
12383 This is needed to prevent from weird situation described at
12384 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12385 * frame.el (make-frame): Set x-display-name after call to
12386 window system initialization function, not before.
12387 * term/x-win.el (x-initialize-window-system): Add optional
12388 display argument and use it.
12389 * term/w32-win.el (w32-initialize-window-system):
12390 * term/ns-win.el (ns-initialize-window-system):
12391 * term/pc-win.el (msdos-initialize-window-system):
12392 Add compatible optional display argument.
12394 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12396 * files.el (normal-backup-enable-predicate): On MS-Windows and
12397 MS-DOS compare truenames of temporary-file-directory and of the
12398 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12399 don't fail comparison by compare-strings. Also, compare file
12400 names case-insensitively on MS-Windows and MS-DOS.
12402 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12404 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12405 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12407 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12409 * whitespace.el (whitespace-color-on, whitespace-color-off):
12410 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12412 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12414 * ispell.el (ispell-set-spellchecker-params):
12415 Really set `ispell-args' for all equivs.
12417 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12419 * ido.el (ido-completions): Use extra elements of ido-decorations
12421 (ido-decorations): Update docstring.
12423 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12425 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12426 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12427 nil during initialization, in order not to miss changes since the
12428 file was opened. (Bug#14140)
12430 2013-04-05 Leo Liu <sdl.web@gmail.com>
12432 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12434 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12436 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12438 2013-04-04 Glenn Morris <rgm@gnu.org>
12440 * electric.el (electric-pair-inhibit-predicate): Add :version.
12442 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12444 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12445 when a package is required several times (bug#14082).
12447 2013-04-04 Roland Winkler <winkler@gnu.org>
12449 * faces.el (read-face-name): Behave as promised by the docstring.
12450 Assume that arg default is a list of faces.
12451 (describe-face): Call read-face-name with list of default faces.
12453 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12455 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12456 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12457 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12459 (bookmark-exit-hook-internal): Save even if list is empty.
12461 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12463 * emacs-lisp/package.el (package-pinned-packages): New var.
12464 (package--add-to-archive-contents): Obey it (bug#14118).
12466 2013-04-03 Alan Mackenzie <acm@muc.de>
12468 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12469 Also adapt to the new values of element 7 of a parse state.
12471 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12472 parameter `not-in-delimiter'. Handle being inside comment opener.
12473 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12474 character in case we're typing a '*' after a '/'.
12475 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12476 instead by passing the parameter to c-state-pp-to-literal.
12478 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12479 for elt. 7 of a parse state.
12481 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12483 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12484 * international/latin1-disp.el, international/mule-util.el:
12485 * language/cyril-util.el, language/european.el, language/ind-util.el:
12486 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12487 * language/tibetan.el, language/viet-util.el:
12488 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12490 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12492 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12493 (electric-pair-post-self-insert-function): Use it.
12494 (electric-pair-default-inhibit): New function, extracted from
12495 electric-pair-post-self-insert-function.
12497 2013-03-31 Roland Winkler <winkler@gnu.org>
12499 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12501 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12503 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12505 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12507 Un-indent after "pass" and "return" statements (Bug#13888)
12508 * progmodes/python.el (python-indent-block-enders): New var.
12509 (python-indent-calculate-indentation): Use it.
12511 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12513 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12514 defun. Defining it as defalias could introduce too eager
12515 byte-compiler optimization. (Bug#14030)
12517 2013-03-30 Chong Yidong <cyd@gnu.org>
12519 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12521 2013-03-30 Leo Liu <sdl.web@gmail.com>
12523 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12524 (kmacro-execute-from-register): Pass the keyboard macro to
12525 kmacro-call-macro or repeating won't work correctly.
12527 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12529 * progmodes/subword.el: Back to using `forward-symbol'.
12531 * subr.el (forward-whitespace, forward-symbol)
12532 (forward-same-syntax): Move from thingatpt.el.
12534 2013-03-29 Leo Liu <sdl.web@gmail.com>
12536 * kmacro.el (kmacro-to-register): New command.
12537 (kmacro-execute-from-register): New function.
12538 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12540 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12542 * mpc.el: Use defvar-local and setq-local.
12543 (mpc--proc-connect): Connection failures are not bugs.
12544 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12545 (mpc-volume-map): Bind to the up-events.
12547 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12549 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12550 instead of `forward-symbol'.
12552 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12554 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12555 (edebug--recursive-edit): Use it.
12556 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12557 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12559 2013-03-28 Leo Liu <sdl.web@gmail.com>
12561 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12563 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12565 * facemenu.el (list-colors-callback): New defvar.
12566 (list-colors-redisplay): New function.
12567 (list-colors-display): Install list-colors-redisplay as the
12568 revert-buffer-function. (Bug#14063)
12570 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12572 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12573 and suffixes don't overlap (bug#14061).
12575 * case-table.el: Use lexical-binding.
12576 (case-table-get-table): New function.
12577 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12579 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12581 * progmodes/subword.el: Add `superword-mode' to do word motion
12582 over symbol_words (parallels and leverages `subword-mode' which
12583 does word motion inside MixedCaseWords).
12585 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12587 * eshell/em-unix.el: Move su and sudo to...
12588 * eshell/em-tramp.el: ...Eshell tramp module.
12590 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12592 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12593 Change return value to be a sexp. Delay `get-buffer' to after
12594 restoring the desktop (bug#13951).
12596 2013-03-26 Leo Liu <sdl.web@gmail.com>
12598 * register.el: Move semantic tag handling back to
12599 cedet/semantic/senator.el. (Bug#14052)
12601 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12603 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12604 into the prompt either (bug#13963).
12606 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12608 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12609 part of "(error-foo)".
12611 2013-03-24 Juri Linkov <juri@jurta.org>
12613 * replace.el (list-matching-lines-prefix-face): New defcustom.
12614 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12615 `occur-engine' if `face-differs-from-default-p' returns t.
12616 (occur-engine): Add `,' inside backquote construct to evaluate
12617 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12618 Pass `prefix-face' to the functions `occur-context-lines' and
12619 `occur-engine-add-prefix'.
12620 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12621 `prefix-face' and propertize the prefix with `prefix-face'.
12624 2013-03-24 Leo Liu <sdl.web@gmail.com>
12626 * nxml/rng-valid.el (rng-validate-while-idle)
12627 (rng-validate-quick-while-idle): Guard against deleted buffer.
12630 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12631 is the last entry in kill-buffer-hook.
12633 * files.el (kill-buffer-hook): Doc fix.
12635 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12637 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12638 Make it safe-local.
12640 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12642 2013-03-23 Leo Liu <sdl.web@gmail.com>
12644 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12647 * nxml/rng-valid.el (rng-validate-mode)
12648 (rng-after-change-function, rng-do-some-validation):
12649 * nxml/rng-maint.el (rng-validate-buffer):
12650 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12651 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12652 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12653 (nxml-extend-after-change-region): Use with-silent-modifications.
12655 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12658 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12659 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12660 timer-idle-list. (Bug#13999)
12662 2013-03-23 Juri Linkov <juri@jurta.org>
12664 * info.el (info-index-match): New face.
12665 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12666 main pattern and add text properties with the new face to matches
12667 in index entries relative to the beginning of the index entry.
12670 2013-03-21 Eric Ludlam <zappo@gnu.org>
12672 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12673 Inhibit read only while inserting objects.
12675 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12677 * progmodes/cfengine.el: Update docs to mention
12678 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12679 symbol motion. Remove "_" from the word syntax.
12681 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12683 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12684 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12686 2013-03-20 Juri Linkov <juri@jurta.org>
12688 * info.el (Info-next-reference-or-link)
12689 (Info-prev-reference-or-link): New functions.
12690 (Info-next-reference, Info-prev-reference): Use them.
12691 (Info-try-follow-nearest-node): Handle footnote navigation.
12692 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12694 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12696 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12697 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12699 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12701 Suppress unnecessary non-ASCII chatter during build process.
12702 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12703 (batch-skkdic-convert): Suppress most of the chatter.
12704 It's not needed so much now that machines are faster,
12705 and its non-ASCII component was confusing; see Dmitry Gutov in
12706 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12708 2013-03-20 Leo Liu <sdl.web@gmail.com>
12710 * ido.el (ido-chop): Fix bug#10994.
12712 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12714 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12716 (whitespace-color-on, whitespace-color-off):
12717 Use `font-lock-fontify-buffer' (Bug#13817).
12719 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12721 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12722 remapping in mode-line.
12723 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12725 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12727 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12728 value for `whitespace-line' face (Bug#13875).
12729 (whitespace-font-lock-keywords): Change description.
12730 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12731 the constructed keywords instead.
12732 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12734 2013-03-19 Leo Liu <sdl.web@gmail.com>
12736 * progmodes/compile.el (compilation-display-error): New command.
12737 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12740 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12742 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12744 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12746 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12748 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12750 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12752 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12753 * net/tramp-gvfs.el (top):
12754 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12755 (tramp-handle-shell-command): Use it.
12756 (tramp-dissect-file-name): Raise an error when hostname is a
12757 method name, and neither method nor user is specified.
12759 * net/trampver.el: Update release number.
12761 2013-03-18 Leo Liu <sdl.web@gmail.com>
12763 Make sure eldoc can be turned off properly.
12764 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12766 (eldoc-display-message-p): Revert last change.
12767 (eldoc-display-message-no-interference-p)
12768 (eldoc-print-current-symbol-info): Tweak.
12770 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12772 * doc-view.el (doc-view-new-window-function): Check the new window
12773 overlay's display property instead the char property of the
12774 buffer's first char. Use `with-selected-window' instead of
12775 `save-window-excursion' with `select-window'.
12776 (doc-view-document->bitmap): Check the current doc-view overlay's
12777 display property instead the char property of the buffer's first char.
12779 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12781 Automate the build of ja-dic.el (Bug#13984).
12782 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12783 from the input, rather than assume that it's been done for us by the
12784 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12785 the current date into a ja-dic.el comment, as that complicates
12786 regression testing.
12788 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12790 * whitespace.el: Fix double evaluation.
12791 (whitespace-space, whitespace-hspace, whitespace-tab)
12792 (whitespace-newline, whitespace-trailing, whitespace-line)
12793 (whitespace-space-before-tab, whitespace-indentation)
12794 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12796 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12797 (whitespace-color-on): Use a single font-lock-add-keywords call.
12798 Fix double-evaluation of face variables.
12800 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12802 * net/tramp-adb.el (tramp-adb-parse-device-names):
12803 Use `start-process' instead of `call-process'. Otherwise, the
12804 function might be blocked under MS Windows. (Bug#13299)
12806 2013-03-17 Leo Liu <sdl.web@gmail.com>
12808 Extend eldoc to display info in the mode-line. (Bug#13978)
12809 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12810 (eldoc-mode-line-string): New variable.
12811 (eldoc-minibuffer-message): New function.
12812 (eldoc-message-function): New variable.
12813 (eldoc-message): Use it.
12814 (eldoc-display-message-p)
12815 (eldoc-display-message-no-interference-p):
12816 Support eldoc-post-insert-mode.
12818 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12819 (eval-expression): Run it.
12821 2013-03-17 Roland Winkler <winkler@gnu.org>
12823 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12824 strings in the list of return values.
12826 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12828 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12829 radix before checking for HMS forms.
12831 2013-03-16 Leo Liu <sdl.web@gmail.com>
12833 * progmodes/scheme.el: Add indentation and font-locking for λ.
12836 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12838 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12839 token before point (bug#13942).
12841 2013-03-16 Leo Liu <sdl.web@gmail.com>
12843 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12845 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12847 * startup.el (command-line-normalize-file-name): Fix handling of
12848 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12849 <xfq.free@gmail.com> in
12850 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12852 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12854 Sync with Tramp 2.2.7.
12856 * net/trampver.el: Update release number.
12858 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12860 * doc-view.el: Fix bug#13887.
12861 (doc-view-insert-image): Don't modify overlay associated to
12862 non-live windows, and implement horizontal centering of image in
12863 case it's smaller than the window.
12864 (doc-view-new-window-function): Force redisplay of new windows on
12867 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12869 * saveplace.el (save-place-alist-to-file): Don't sort
12870 `save-place-alist', just pretty-print it (bug#13882).
12872 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12874 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12875 Check whether `default-file-name-coding-system' is bound.
12876 It isn't in XEmacs.
12878 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12880 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12881 backquotes for `obsolete' (bug#13929).
12883 * international/mule.el (find-auto-coding): Include file name in
12884 obsolescence warning (bug#13922).
12886 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12888 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12889 for CFEngine 3-specific indentation.
12890 (cfengine3-indent-line): Use it. Fix up category regex.
12891 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12893 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12895 * type-break.el (type-break-file-name):
12896 * textmodes/remember.el (remember-data-file):
12897 * strokes.el (strokes-file):
12898 * shadowfile.el (shadow-initialize):
12899 * saveplace.el (save-place-file):
12900 * ps-bdf.el (bdf-cache-file):
12901 * progmodes/idlwave.el (idlwave-config-directory):
12902 * net/quickurl.el (quickurl-url-file):
12903 * international/kkc.el (kkc-init-file-name):
12904 * ido.el (ido-save-directory-list-file):
12905 * emulation/viper.el (viper-custom-file-name):
12906 * emulation/vip.el (vip-startup-file):
12907 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12908 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12910 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12912 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12913 * language/thai-word.el: Switch to UTF-8.
12915 See ChangeLog.16 for earlier changes.
12917 ;; Local Variables:
12921 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12923 This file is part of GNU Emacs.
12925 GNU Emacs is free software: you can redistribute it and/or modify
12926 it under the terms of the GNU General Public License as published by
12927 the Free Software Foundation, either version 3 of the License, or
12928 (at your option) any later version.
12930 GNU Emacs is distributed in the hope that it will be useful,
12931 but WITHOUT ANY WARRANTY; without even the implied warranty of
12932 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12933 GNU General Public License for more details.
12935 You should have received a copy of the GNU General Public License
12936 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.