1 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
3 * find-dired.el (find-name-dired): Doc fix (bug#14290).
5 2014-02-08 Juri Linkov <juri@jurta.org>
7 * isearch.el (isearch-quote-char): Check character validity
8 like in `quoted-insert' (bug#16677).
10 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
12 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
14 * isearch.el (isearch-hide-immediately): Doc clarification
17 * simple.el (line-move): Document utility function used many
18 places in the Emacs sources (bug#14843).
20 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
21 (dired-prev-marked-file): Doc fix (bug#14855).
22 (dired-up-directory): Doc fix (bug#14848).
24 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
26 * files.el (file-relative-name): Doc fix (bug#15159).
28 * fringe.el (fringe-styles): Doc fix (bug#15239).
30 * isearch.el (isearch-filter-predicate): Documentation typo fix
33 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
35 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
37 * replace.el (replace-match-maybe-edit): Doc clarification
40 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
42 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
44 2014-02-08 Glenn Morris <rgm@gnu.org>
46 * help-fns.el (describe-variable):
47 Check {file,dir}-local-variables-alist, and buffer-file-name,
48 in the correct buffer.
50 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
52 * help-fns.el (describe-variable): Fix the case where
53 a value is directory-local with no dir-locals file. (Bug#16635)
55 2014-02-08 Glenn Morris <rgm@gnu.org>
57 * abbrev.el (edit-abbrevs-mode):
58 Derive from fundamental-mode. (Bug#16682)
60 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
62 * simple.el (quoted-insert): Check character validity (bug#16677).
64 2014-02-07 Juri Linkov <juri@jurta.org>
66 * desktop.el (desktop-read): Claim the lock when the owner is not
67 the current process. (Bug#16157)
69 2014-02-07 Juri Linkov <juri@jurta.org>
71 * desktop.el (desktop-buffers-not-to-save): Change default from nil
72 to "\\` ". (Bug#16651)
74 2014-02-07 Juri Linkov <juri@jurta.org>
76 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
77 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
78 (desktop-auto-save-cancel-timer): New function with some code from
79 `desktop-auto-save-set-timer'.
80 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
81 Instead of setting `desktop-save-mode' to nil, call
82 `desktop-save-mode' with arg 0. (Bug#16630)
84 2014-02-07 Glenn Morris <rgm@gnu.org>
86 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
87 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
88 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
90 * obsolete/iswitchb.el: Move to obsolete/.
91 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
92 since obsolete/ is not scanned for autoloads.
93 * emacs-lisp/authors.el (authors-valid-file-names):
96 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
97 Disable now non-functional find-file-hook.
99 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
101 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
102 instead of ";" in order to avoid additional prompts. Let heredoc
103 scripts read from tty. (Bug#16582)
104 (tramp-send-command): No special handling of heredocs, it isn't
107 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
109 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
110 with a space (bug#16664). Limit the symbols considered to the ones
111 that are bound or fbound (bug#16646).
113 2014-02-06 Glenn Morris <rgm@gnu.org>
115 * epa.el (epa-mail-aliases): Doc fix.
117 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
119 * emacs-lisp/lisp.el (lisp-completion-at-point):
120 Use `completion-table-merge' instead of `completion-table-in-turn'
123 * minibuffer.el (completion-table-merge): New function.
125 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
127 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
128 (tramp-sh-handle-set-file-acl)
129 (tramp-sh-handle-start-file-process)
130 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
131 (tramp-find-executable, tramp-send-command): Use it.
133 2014-02-05 Glenn Morris <rgm@gnu.org>
135 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
137 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
139 * progmodes/python.el (python-shell-send-string):
140 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
142 2014-02-04 Anders Lindgren <andlind@gmail.com>
144 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
145 the names (bug#16620).
147 2014-02-03 Martin Rudalics <rudalics@gmx.at>
149 * faces.el (window-divider): New default value. Rewrite doc-string.
150 (window-divider-first-pixel, window-divider-last-pixel): New faces.
152 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
154 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
155 `protected' and `public' can also be called without arguments.
157 2014-02-03 Glenn Morris <rgm@gnu.org>
159 * register.el (window-configuration-to-register)
160 (frame-configuration-to-register): Unadvertise unused argument.
161 * frameset.el (frameset-to-register): Remove unused argument.
163 * frameset.el (frameset-to-register):
164 * kmacro.el (kmacro-to-register):
165 * register.el (increment-register):
166 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
167 (calc-append-to-register, calc-prepend-to-register):
168 * play/gametree.el (gametree-layout-to-register)
169 (gametree-apply-register-layout):
170 * textmodes/picture.el (picture-clear-rectangle-to-register)
171 (picture-yank-rectangle-from-register):
172 * vc/emerge.el (emerge-combine-versions-register):
173 Use register-read-with-preview to read registers.
175 2014-02-03 João Távora <joaotavora@gmail.com>
177 * elec-pair.el (electric-pair-backward-delete-char): Don't error
178 when at beginning of (possibly narrowed) buffer.
180 2014-02-02 Daniel Colascione <dancol@dancol.org>
182 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
183 Also try to display local help from just before point.
185 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
187 c-parse-state. Don't "append-lower-brace-pair" in certain
188 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
189 recognised as a comment.
191 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
192 as well as normal comment starter.
193 (c-parse-state-get-strategy): Extra return possibility
195 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
196 return value list to indicate replacement of a brace-pair cons
198 (c-parse-state-1): With 'back-and-forward, only call
199 c-append-lower-brace-pair-to state-cache when cons-separated.
201 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
203 * term/ns-win.el (ns-suspend-error): New function.
204 (ns-initialize-window-system): Add ns-suspend-error to
205 suspend-hook (Bug#16612).
207 2014-02-02 Daniel Colascione <dancol@dancol.org>
209 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
211 2014-02-02 Daniel Colascione <dancol@dancol.org>
213 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
215 2014-02-02 Glenn Morris <rgm@gnu.org>
217 * register.el (register-read-with-preview, point-to-register)
218 (window-configuration-to-register, frame-configuration-to-register)
219 (jump-to-register, number-to-register, view-register, insert-register)
220 (copy-to-register, append-to-register, prepend-to-register)
221 (copy-rectangle-to-register): Doc fixes.
223 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
225 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
226 * emacs-lisp/find-func.el (find-function-C-source): Idem.
227 * emacs-lisp/nadvice.el (advice--cd*r): New function.
228 * help-fns.el (describe-function-1): Use it.
230 2014-02-02 Glenn Morris <rgm@gnu.org>
232 * register.el (register-preview-default): New function,
233 split from register-preview.
234 (register-preview-function): Rename from register-preview-functions,
236 (register-preview): Use register-preview-function.
237 (register-read-with-preview): Error on non-character event. (Bug#16595)
239 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
241 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
242 `:' before binary operators (bug#16609). Don't check for `:'
243 before `[' and `(', or their syntax status. A percent literal
244 can't end with either.
245 (ruby-font-lock-keywords): For built-ins that require arguments,
246 check that they're followed by something that looks like argument
249 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
251 * subr.el (butlast): Document what an omitted N means (bug#13437).
254 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
256 * net/shr.el (shr-generic): Make into a defsubst to make the stack
257 depth shallower (bug#16587).
258 (shr-tag-svg): Respect `shr-inhibit-images'.
259 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
261 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
263 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
264 (ruby-smie-grammar): Make "." right-associative. Make its priority
265 lower than the ternary and all binary operators.
266 (ruby-smie-rules): Indent "(" relative to the first non-"."
267 parent, or the first "." parent at indentation.
268 Use `ruby-align-chained-calls' for indentation of "." tokens.
271 2014-01-31 Juri Linkov <juri@jurta.org>
273 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
274 from `make-hash-table'.
276 * textmodes/ispell.el (ispell-init-process): Change message format
277 to be consistent with other messages.
279 2014-01-31 Glenn Morris <rgm@gnu.org>
281 * delsel.el (delete-selection-mode): Doc fix.
283 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
284 (trace-function-background): Doc fixes.
286 * ido.el (ido-use-virtual-buffers): Doc fix.
287 Reset :version, since the default value has not changed.
289 * register.el (register-preview-delay, register-read-with-preview):
292 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
293 do not mess with mail-buffer position (fixes 2009-11-03 change).
294 * progmodes/cc-mode.el (c-submit-bug-report):
295 Check auto-fill-mode is bound. (Bug#16592)
297 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
299 * startup.el (fancy-splash-image-file): New function,
300 split from fancy-splash-head.
301 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
302 so that we are both using the same image. (Bug#16574)
304 2014-01-30 Glenn Morris <rgm@gnu.org>
306 * simple.el (eval-expression): Doc fix.
308 * hexl.el (hexl-mode-hook):
309 * ielm.el (ielm-mode-hook):
310 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
311 (lisp-interaction-mode-hook):
312 * progmodes/cfengine.e (cfengine3-documentation-function):
313 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
315 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
317 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
318 is a symbol (bug#16584).
320 2014-01-30 Glenn Morris <rgm@gnu.org>
322 * help.el (help-for-help-internal): Add "P" to text.
324 2014-01-29 Glenn Morris <rgm@gnu.org>
326 * simple.el (just-one-space, cycle-spacing): Doc fixes.
328 2014-01-28 Martin Rudalics <rudalics@gmx.at>
330 * window.el (fit-frame-to-buffer): Fix calculations for margins and
333 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
335 * progmodes/hideif.el: Extend to full CPP expression syntax.
336 (hif-token-alist): Add missing tokens.
337 (hif-token-regexp): Add support for float/octal/hex immediates.
338 (hif-string-literal-regexp): New const.
339 (hif-tokenize): Recognize strings and float/octal/hex immediates.
340 (hif-exprlist): New function.
341 (hif-parse-if-exp): Use it.
342 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
343 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
344 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
345 (hif-logxor, hif-comma): New functions.
347 2014-01-28 Glenn Morris <rgm@gnu.org>
349 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
351 * indent.el (tab-stop-list): Doc fix. Add :version.
353 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
354 (cvs-append-to-ignore): Add compatibility alias.
356 2014-01-27 Glenn Morris <rgm@gnu.org>
358 * dired.el (dired-hide-details-mode): Don't autoload it,
359 since it cannot be used outside Dired buffers anyway.
361 * emulation/cua-base.el (cua-mode): Doc fix.
363 * dired.el (dired-hide-details-hide-symlink-targets)
364 (dired-hide-details-hide-information-lines)
365 (dired-hide-details-mode): Doc fixes.
367 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
368 * strokes.el (strokes-file): Doc fix. Bump :version.
369 (strokes-help): Doc fix.
370 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
371 * emulation/viper.el (viper): Doc fix for custom group.
372 (top-level): Remove oh-so-no-longer-relevant text about vip.
373 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
375 * ido.el (ido-save-directory-list-file):
376 * saveplace.el (save-place-file):
377 * calendar/timeclock.el (timeclock-file):
378 * net/quickurl.el (quickurl-url-file):
379 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
380 * progmodes/idlwave.el (idlwave-config-directory):
381 * textmodes/remember.el (remember-data-file):
384 2014-01-26 Glenn Morris <rgm@gnu.org>
386 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
387 Doc fix. Make obsolete.
388 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
390 * sort.el (delete-duplicate-lines): Doc fix.
392 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
394 * progmodes/ada-mode.el (ada):
395 * woman.el (woman): Link to info manual and Commentary section.
397 * progmodes/flymake.el (flymake):
398 * nxml/nxml-mode.el (nxml):
400 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
401 * htmlfontify.el (htmlfontify):
404 * ido.el (ido): Link to info manual.
406 2014-01-25 Leo Liu <sdl.web@gmail.com>
408 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
410 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
412 * net/shr.el (shr-tag-img): Prefer the title over the alt text
415 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
417 * net/eww.el (eww-download-callback):
418 Fix reference to eww-download-directory.
420 * emacs-lisp/bytecomp.el (byte-compile-file):
421 Remove unused local variable `file-name'.
423 2014-01-24 Glenn Morris <rgm@gnu.org>
425 * woman.el (woman-default-faces, woman-monochrome-faces):
426 Fix obsolescence specification.
428 * subr.el (with-demoted-errors): Doc fix.
430 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
432 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
433 (cl--macroexp-fboundp): New function.
434 (cl--make-type-test): Use it.
436 2014-01-23 Glenn Morris <rgm@gnu.org>
438 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
439 * simple.el (eval-expression): Doc fixes.
441 2014-01-22 Glenn Morris <rgm@gnu.org>
443 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
445 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
447 * emacs-lisp/package.el: Write files silently.
448 (package-autoload-ensure-default-file, package--write-file-no-coding)
449 (package-generate-description-file, package--download-one-archive)
450 (package-install-from-archive): Tell `write-region' to stay quiet.
451 (package-menu-mode, package-menu--print-info): Omit the Archive column
452 if there's only one archive.
453 (package-all-keywords, package--has-keyword-p): Remove dead code.
455 2014-01-22 Glenn Morris <rgm@gnu.org>
457 * version.el (emacs-bzr-version-bzr): Fix typo.
459 * version.el (emacs-repository-get-version):
460 Check either .bzr or .git, but not both.
461 Make the git case actually use the DIR argument, and return nil
462 rather than the empty string.
463 Avoid error if .git exists but the git executable is not found.
465 2014-01-22 Martin Rudalics <rudalics@gmx.at>
467 Fixes in window size functions around Bug#16430 and Bug#16470.
468 * window.el (window-total-size, window-size): New argument ROUND.
469 (window--min-delta-1, window-min-delta, window--max-delta-1):
470 Be more conservative when calculating the numbers of lines or
471 columns a window can shrink (Bug#16430).
472 (fit-window-to-buffer): Simplify code.
473 * term.el (term-window-width): Call window-body-width again.
475 2014-01-22 Glenn Morris <rgm@gnu.org>
477 * image.el (image-format-suffixes): Doc fix.
479 * international/quail.el (quail-define-package): Doc fix.
481 * emacs-lisp/authors.el (authors-valid-file-names):
482 (authors-renamed-files-alist): Additions.
484 * vc/vc-git.el (vc-git-print-log): Remove --follow;
485 reverts 2014-01-09 change. (Bug#16422)
487 * calc/calc-embed.el (thing-at-point-looking-at):
488 * emacs-lisp/map-ynp.el (x-popup-dialog):
489 * obsolete/lmenu.el (x-popup-dialog):
490 * emacs-lisp/package.el (url-recreate-url):
491 * mail/mailclient.el (clipboard-kill-ring-save):
492 * subr.el (x-popup-dialog): Update declaration.
493 * mail/rmail.el (rmail-mime-message-p):
494 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
496 2014-01-21 Daniel Colascione <dancol@dancol.org>
498 * progmodes/sh-script.el (sh--inside-noncommand-expression):
499 Correctly detect when we're inside an arithmetic expansion form
500 containing nested parenthesis.
501 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
502 to detect cases where we shouldn't expand "<<" to a heredoc
505 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
507 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
508 (eldoc--message-command-p): New function.
509 (eldoc-display-message-p): Use it.
510 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
511 message is not automatically erased for us.
512 (eldoc-print-current-symbol-info): Erase previous message, if any.
514 2014-01-21 Tassilo Horn <tsdh@gnu.org>
516 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
517 specify it's an interactive function.
519 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
520 Fix regex used for scanning for citation keys which failed for
521 citations with optional arguments.
523 2014-01-21 Leo Liu <sdl.web@gmail.com>
525 * simple.el (read--expression): Don't enable eldoc-mode.
527 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
529 * simple.el (move-beginning-of-line): Make sure we don't move forward
532 2014-01-20 Juri Linkov <juri@jurta.org>
534 * saveplace.el (toggle-save-place, save-place-to-alist)
535 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
536 'dired-mode) before checking for dired-directory. (Bug#16477)
538 2014-01-20 Juri Linkov <juri@jurta.org>
540 * indent.el (indent-line-to): Use backward-to-indentation
541 instead of back-to-indentation. (Bug#16461)
543 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
545 Revert some of the CANNOT_DUMP fix (Bug#16494).
546 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
547 but fixing this can wait until after the next release.
548 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
550 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
552 * eshell/esh-mode.el (eshell-password-prompt-regexp):
553 Use `password-word-equivalents'.
554 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
555 to t. (Bug#5664, Bug#13124)
557 2014-01-19 Alan Mackenzie <acm@muc.de>
559 Bind open-paren-in-column-0-is-defun-start to nil at some entry
561 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
562 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
563 * progmodes/cc-mode.el (c-before-change, c-after-change)
564 (c-font-lock-fontify-region): Bind it here.
566 2014-01-19 Martin Rudalics <rudalics@gmx.at>
568 * term.el (term-window-width): Call window-text-width instead of
569 window-width (Bug#16470).
571 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
573 * simple.el (password-word-equivalents): Remove duplicates.
574 Sort, to make this easier next time.
575 Downcase. Omit ": " after "jelszó".
577 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
579 * term/common-win.el (saved-region-selection): Defvar it.
580 (x-select-text): Set saved-region-selection (Bug#16382).
582 2014-01-18 Glenn Morris <rgm@gnu.org>
584 * emacs-lisp/authors.el (authors-aliases)
585 (authors-renamed-files-alist): Add some entries.
587 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
589 * net/tramp.el (tramp-password-prompt-regexp):
590 Use `password-word-equivalents' if available.
591 (tramp-action-password, tramp-process-one-action)
592 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
594 2014-01-17 Chong Yidong <cyd@gnu.org>
596 * simple.el (password-word-equivalents): New defcustom.
597 * comint.el (comint-password-prompt-regexp): Use it. Bump version
599 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
602 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
604 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
605 (ruby-align-to-stmt-keywords): Change the default value.
606 Use `ruby-alignable-keywords' to generate the possible customization
608 (ruby-smie-rules): Instead of using a hardcoded list of alignable
609 keywords, check against the value of `ruby-alignable-keywords'
610 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
612 2014-01-17 Glenn Morris <rgm@gnu.org>
614 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
616 Make M-x authors return zero *Authors Errors* from current logs.
617 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
618 (authors-ignored-files): Add some entries, remove others.
619 (authors-ambiguous-files, authors-valid-file-names):
621 (authors-renamed-files-alist): Add, remove, and adjust entries.
622 (authors-renamed-files-regexps): Add some entries.
623 Remove some very broad ones. Make some entries `lax'.
624 (authors-lax-changelogs): New constant.
625 (authors-disambiguate-file-name): Treat top-level specially.
626 (authors-lax-changelog-p): New function.
627 (authors-canonical-file-name): Check file as written against
628 authors-valid-file-names. Do not special-case etc/.
629 Handle `lax' logs and authors-renamed-files-regexps elements.
631 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
633 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
634 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
637 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
639 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
640 Assume we're already in the proper buffer.
641 Inspired by Anders Lindgren <andlind@gmail.com>.
642 (follow-post-command-hook): Call it from the right buffer.
643 (follow-comint-scroll-to-bottom): Adjust call.
644 (follow-all-followers): Use get-buffer-window-list.
646 2014-01-15 Daniel Colascione <dancol@dancol.org>
648 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
649 `buffer-file-name' in interactive-form so that we don't leave
650 pathless file names in `file-name-history'.
652 2014-01-15 Juri Linkov <juri@jurta.org>
654 * indent.el (indent-rigidly): Set deactivate-mark to nil
655 in transient indentation mode. (Bug#16438)
657 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
659 * emacs-lisp/package.el (package-desc-keywords): New function
661 (describe-package-1, package-all-keywords)
662 (package--has-keyword-p): Use it.
664 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
666 * simple.el (define-alternatives): When creating the
667 COMMAND-alternatives variable, assign COMMAND as its definition
668 name so that `describe-variable' can relocate it.
670 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
672 * font-lock.el (font-lock-keywords): Fix typo in docstring
675 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
677 * ispell.el (ispell-region): Reset `in-comment' for new line
678 instead of wrongly reset `add-coment' (bug#13577).
680 2014-01-14 Daiki Ueno <ueno@gnu.org>
682 * epa-file.el (epa-file-write-region): Encode the region according
683 to `buffer-file-format'. Problem reported at:
684 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
686 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
688 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
689 so it applies in the right buffer (bug#16410).
691 2014-01-13 Daniel Colascione <dancol@dancol.org>
693 * textmodes/rst.el (rst-define-key): Provide deprecated
694 keybindings through named functions instead of anonymous ones so
695 that "??" doesn't appear in describe-mode output.
697 2014-01-13 Bastien Guerry <bzg@gnu.org>
699 * simple.el (define-alternatives): Call the selected command
700 interactively. When setting `COMMAND--implementation' for the
701 first time, tell the user how to chose another implementation.
702 Enhance the docstring.
704 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
706 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
707 (log-edit--match-first-line): New function.
708 (log-edit-font-lock-keywords): Use it.
709 (log-edit-mode): Make jit-lock-defer-multiline work.
711 2014-01-13 Bastien Guerry <bzg@gnu.org>
713 * rect.el (rectangle-mark-mode): When the region is not active,
714 display a message saying that the mark as been set and that
715 rectangle mode is in use.
716 (rectangle--highlight-for-redisplay): Only put an overlay with a
717 visible vertical bar when (display-graphic-p) is non-nil.
718 This partially fixes Bug#16403.
720 2014-01-13 Juri Linkov <juri@jurta.org>
722 * info.el (Info-find-file): Go to DIR before displaying the error
723 about a nonexistent file if no previous Info file is visited.
724 Use `user-error' instead of `error' for "Info file %s does not exist".
725 (Info-find-node-2): In case of a nonexistent node in unwind forms
726 go to the Top node if there is no previous node to revert to.
729 2014-01-13 Martin Rudalics <rudalics@gmx.at>
731 fit-frame/window-to-buffer code fixes including one for Bug#14096.
732 * window.el (fit-frame-to-buffer): Fix doc-string.
733 Respect window-min-height/-width. Fit pixelwise when
734 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
735 when avoiding that frame goes partially off-screen.
736 (fit-window-to-buffer): Respect window-min-height/-width
739 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
741 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
744 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
746 * net/shr.el (shr-render-region): Autoload.
748 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
750 * net/eww.el (eww-download-directory): Rename from
751 `eww-download-path' (Bug#16419).
753 2014-01-12 Leo Liu <sdl.web@gmail.com>
755 * dired-x.el (dired-mode-map): Fix last change.
757 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
759 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
762 * emacs-lisp/generic.el (generic--normalize-comments):
763 Rename from generic--normalise-comments. All uses changed.
764 * play/bubbles.el (bubbles--neighborhood-score):
765 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
766 (bubbles--neighborhood-available)
767 (bubbles--update-neighborhood-score):
768 Rename from names with 'neighbourhood'. All uses changed.
770 2014-01-12 Leo Liu <sdl.web@gmail.com>
772 Re-implement the feature of showing eldoc info after editing.
773 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
774 (eldoc-edit-message-commands): New function.
775 (eldoc-print-after-edit): New variable.
776 (eldoc-pre-command-refresh-echo-area): Emit message only by
777 eldoc-message-commands.
778 (eldoc-mode): Restrict eldoc-message-commands to editing commands
779 if eldoc-print-after-edit is set. (Bug#16346)
780 * simple.el (read--expression): Enable eldoc-mode.
781 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
783 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
784 Eric S. Raymond <esr@thyrsus.com>
786 * version.el (emacs-repository-get-version): Enhance so the
787 function works correctly in either a Bazaar or Git repo.
789 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
791 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
792 Goes with removal of the joke manpages from /etc.
794 2014-01-10 K. Handa <handa@gnu.org>
796 * mail/rmail.el (rmail-get-coding-system):
797 Check rmail-get-coding-function before "funcall"ing it.
799 2014-01-10 Glenn Morris <rgm@gnu.org>
801 * emacs-lisp/authors.el (authors-fixed-entries):
802 Update for files that no longer exist.
804 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
806 * version.el (emacs-bzr-get-version): Restore compatibilty with
809 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
811 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
814 2014-01-10 Eli Zaretskii <eliz@gnu.org>
816 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
818 2014-01-10 Chong Yidong <cyd@gnu.org>
820 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
822 2014-01-10 Anders Lindgren <andlind@gmail.com>
824 * follow.el (follow-cache-command-list): Include right-char and
827 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
830 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
831 * woman.el (woman-mark-horizontal-position):
832 Rename from woman-mark-horizonal-position. Use changed.
834 2014-01-10 Glenn Morris <rgm@gnu.org>
836 * info.el (info-initialize): If running uninstalled, ensure our
837 own info files are always found first, even if INFOPATH is set.
839 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
841 2014-01-09 David Engster <deng@randomsample.de>
843 * emacs-lisp/eieio-custom.el:
844 * emacs-lisp/eieio-opt.el: Set generated autoload file to
845 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
846 * emacs-lisp/eieio.el: Regenerate autoloads.
848 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
850 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
851 following renames. (Bug#8756)
853 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
855 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
857 (activate-mark): Add `no-tmm' argument.
858 (set-mark, push-mark-command): Use it instead of running
859 activate-mark-hook by hand.
861 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
863 In preparation for the move to git, sanitize out some
864 Bazaar-specific names.
866 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
868 * version.el (emacs-bzr-version): Name changed to
869 emacs-repository-version. Obsolete-variable alias made.
870 * loadup.el: Follow through on this name change.
871 * mail/emacsbug.el (report-emacs-bug): Factor out any
872 assumption about the version control system in use.
874 2014-01-08 David Engster <deng@randomsample.de>
876 * help-fns.el (help-fns-describe-function-functions):
877 New variable to call functions for augmenting help buffers.
878 (describe-function-1): Remove explicit calls to
879 `help-fns--compiler-macro', `help-fns--parent-mode' and
880 `help-fns--obsolete'. Put them in above new variable instead, and
881 call them through `run-hook-with-args'.
882 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
883 `eieio-describe-class'. Not meant for interactive use anymore,
884 but to augment existing help buffers. Remove optional second
885 argument. Create proper button for file location.
886 Rewrite function to use `insert' instead of `princ' and `prin1' where
888 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
889 (eieio-method-def, eieio-class-def): Move further up.
890 (describe-method, describe-generic, eieio-describe-method):
892 (eieio-help-constructor, eieio-help-generic): Rename from
893 `eieio-describe-constructor' and `eieio-describe-generic', resp.
894 Rewrite to use `insert' in the current buffer and use proper help
896 (eieio-help-find-method-definition)
897 (eieio-help-find-class-definition): Also accept symbols as
899 (eieio-help-mode-augmentation-maybee): Remove.
900 (eieio-describe-class-sb): Use `describe-function'.
901 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
902 Add `eieio-help-generic' and `eieio-help-constructor'.
904 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
907 * language/china-util.el (hz-ascii-designation):
908 Rename from hz-ascii-designnation.
909 (hz-ascii-designation): Rename from hz-ascii-designnation.
912 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
914 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
917 2014-01-08 Bastien Guerry <bzg@gnu.org>
919 * emacs-lisp/package.el (package-delete):
920 Correctly delete the package from package-alist.
922 2014-01-08 Daiki Ueno <ueno@gnu.org>
924 * emacs-lisp/package.el (url-recreate-url): Declare.
925 (url-http-target-url): Declare.
926 (package-handle-response): Include requested URL in the error message.
927 (package--check-signature): Don't re-signal errors from
928 package--with-work-buffer. Suggested by Stefan Monnier.
930 2014-01-07 Bastien Guerry <bzg@gnu.org>
932 * minibuffer.el (completion--try-word-completion): When both a
933 hyphen and a space are possible candidates for the character
934 following a word, display both candidates. (Bug#15980)
936 2014-01-07 Martin Rudalics <rudalics@gmx.at>
938 * window.el (balance-windows-2): While rounding don't give a
939 window more than the remainder. Bug#16351, Bug#16383.
941 2014-01-07 Glenn Morris <rgm@gnu.org>
943 * menu-bar.el (menu-bar-help-extra-packages): Remove.
944 (menu-bar-help-menu): Use view-external-packages instead.
946 2014-01-07 Bastien Guerry <bzg@gnu.org>
948 * emacs-lisp/package.el (package-delete): Also delete the package
949 name from `package-alist', not its description only.
951 2014-01-07 Glenn Morris <rgm@gnu.org>
953 * help.el (view-external-packages):
954 * menu-bar.el (menu-bar-help-extra-packages):
955 Visit efaq.info rather than etc/MORE.STUFF.
957 2014-01-07 Juri Linkov <juri@jurta.org>
959 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
960 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
962 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
963 that shadows RET. (Bug#16342)
965 2014-01-07 Chong Yidong <cyd@gnu.org>
967 * isearch.el (isearch-yank-char, isearch-yank-word)
968 (isearch-yank-line): Doc fix.
970 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
972 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
973 * emacs-lisp/elint.el (elint-find-builtins):
974 * emacs-lisp/eldoc.el (eldoc-symbol-function):
975 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
976 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
977 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
978 * apropos.el (apropos-safe-documentation):
979 * subr.el (symbol-file): Remove redundant fboundp.
980 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
982 2014-01-06 Bastien Guerry <bzg@gnu.org>
984 * hl-line.el (global-hl-line-overlay): Make a local variable.
985 (global-hl-line-overlays): New variable to store all overlays.
986 (global-hl-line-mode): Don't delete overlays from the current
987 buffer when `global-hl-line-sticky-flag' is non-nil.
988 (global-hl-line-highlight): Add new overlays to
989 `global-hl-line-overlays'.
990 (global-hl-line-unhighlight-all): New function to delete all
991 overlays when turning off `global-hl-line-mode'.
992 This fixes Bug#16183.
994 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
996 * subr.el (set-transient-map): Fix nested case and docstring.
998 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1000 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1003 2014-01-06 Daniel Colascione <dancol@dancol.org>
1005 Fix defun navigation in vc log view.
1007 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1008 like `beginning-of-defun'.
1009 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1010 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1011 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1012 (log-view-extract-comment): Call `log-view-current-entry' directly
1013 instead of relying on broken `log-view-beginning-of-defun' behavior.
1015 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1018 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1019 * emacs-lisp/debug.el (cancel-debug-on-entry):
1020 * epg.el (epg-error-to-string):
1021 * files.el (recover-file):
1022 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1023 * mail/emacsbug.el (report-emacs-bug-hook):
1024 * mail/sendmail.el (mail-recover):
1025 * ses.el (ses-yank-resize):
1026 * term/ns-win.el (ns-print-buffer):
1027 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1028 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1030 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1032 2014-01-06 Leo Liu <sdl.web@gmail.com>
1034 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1035 to avoid shadowing global key. (Bug#16354)
1037 2014-01-06 Daniel Colascione <dancol@dancol.org>
1039 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1042 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1044 * window.el (balance-windows): Add mising t to fix Bug#16351.
1046 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1048 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1050 (shr-insert): If we have a word that's longer than `shr-width',
1051 break after it anyway. Otherwise we'll do no breaking once we get
1054 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1056 * net/eww.el (eww): Support single/double quote for search.
1057 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1058 (eww-history-quit): Delete and use quit-window.
1059 (eww-history-kill): Delete, because it doesn't work well and
1061 (eww-history-mode-map): Delete some keys and add easy-menu.
1063 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1065 Fix misspelling of 'chinese' in rx (Bug#16237).
1066 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1069 Change subword regexps back to vars (Bug#16296).
1070 * progmodes/subword.el (subword-forward-regexp)
1071 (subword-backward-regexp): Change these back to variables.
1073 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1076 syntax-begin-function (bug#16247).
1078 2014-01-03 Chong Yidong <cyd@gnu.org>
1080 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1081 (advice--docstring): Delete variable.
1082 (advice--make-1): Leave the docstring empty.
1083 (advice-add): Use function-documentation for advised docstring.
1085 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1086 Ignore function-documentation property when getting documentation.
1087 (ad-activate-advised-definition): Use function-documentation
1088 generate the docstring.
1089 (ad-make-advised-definition): Don't call
1090 ad-make-advised-definition-docstring.
1091 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1094 * progmodes/sql.el (sql-help): Use function-documentation instead
1095 of dynamic-docstring-function property. No need to autoload now.
1096 (sql--help-docstring): New variable.
1097 (sql--make-help-docstring): Use it.
1099 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1101 * ielm.el (ielm-tab): Retarget.
1102 (ielm-map): Use ielm-tab for tab.
1103 (ielm-complete-filename): Use comint-filename-completion.
1104 (ielm-complete-symbol): Remove.
1105 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1106 remove ielm-tab from completion-at-point-functions (bug#16224).
1108 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1109 Beware signals raised by predicates (bug#16201).
1111 2014-01-02 Richard Stallman <rms@gnu.org>
1113 * dired-aux.el (dired-do-print): Handle printer-name.
1115 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1116 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1117 (rmail-epa-decrypt): Turn off mime processing.
1119 * mail/rmail.el (rmail-make-in-reply-to-field):
1120 Add parens in message-id.
1122 * mail/rmail.el (rmail-get-coding-function): Variable.
1123 (rmail-get-coding-system): Use it.
1125 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1127 * international/mule-conf.el: Unify the charset indian-is13194.
1128 (indian-is13194): Specify unify-map.
1130 2013-12-31 Leo Liu <sdl.web@gmail.com>
1132 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1134 2013-12-30 Daniel Colascione <dancol@dancol.org>
1136 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1137 of printing a useless when we resume from sleep.
1139 * progmodes/sh-script.el
1140 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1141 in indentation code. (Bug#16233)
1143 2013-12-28 João Távora <joaotavora@gmail.com>
1145 * elec-pair.el (electric-pair-post-self-insert-function):
1146 Don't open extra newlines at beginning of buffer. (Bug#16272)
1148 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1150 * frame.el (window-system-for-display): Don't allow to create a
1151 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1153 2013-12-28 Glenn Morris <rgm@gnu.org>
1155 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1158 * apropos.el (apropos-match-face):
1159 * calculator.el (calculator-displayer):
1160 * dabbrev.el (dabbrev-search-these-buffers-only):
1161 * face-remap.el (buffer-face-mode-face):
1162 * simple.el (yank-handled-properties):
1163 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1164 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1165 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1166 (hashcash-double-spend-database):
1167 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1168 (ruby-deep-indent-paren-style):
1169 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1170 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1171 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1172 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1173 Specify custom types.
1175 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1176 * bookmark.el (bookmark-bmenu-use-header-line):
1177 * doc-view.el (doc-view-scale-internally):
1178 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1179 * register.el (register-preview-delay):
1180 * net/shr.el (shr-bullet):
1181 * progmodes/cfengine.el (cfengine-cf-promises)
1182 (cfengine-parameters-indent):
1183 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1184 * textmodes/reftex-vars.el (reftex-label-regexps):
1185 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1187 * net/tls.el (tls-certtool-program): Fix default value.
1189 * desktop.el (desktop-restore-in-current-display):
1190 * newcomment.el (comment-empty-lines):
1191 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1192 (idlwave-pad-keyword):
1193 * progmodes/tcl.el (tcl-tab-always-indent):
1194 * textmodes/reftex-vars.el (reftex-index-default-tag):
1195 * elec-pair.el (electric-pair-skip-whitespace):
1196 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1198 * emacs-lisp/authors.el (authors-ignored-files)
1199 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1201 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1203 * shell.el (shell-dynamic-complete-command): Doc fix.
1204 (shell--command-completion-data): Shell completion now matches
1205 executable filenames from the current buffer's directory, on
1206 systems in which this behavior is the default (windows-nt, ms-dos).
1208 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1210 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1212 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1214 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1217 * electric.el: Move all electric-pair-* to elec-pair.el.
1218 * elec-pair.el: New file, split from electric.el.
1220 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1222 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1223 indentation level is larger than the width, because that will
1225 (shr-insert): Fill repeatedly long texts, so that Japanese is
1226 formatted correctly (bug#16263).
1227 (shr-find-fill-point): Off by one error in comparison with the
1230 2013-12-26 João Távora <joaotavora@gmail.com>
1232 * electric.el (electric-pair-mode): More flexible engine for skip-
1233 and inhibit predicates, new options for pairing-related functionality.
1234 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1235 if that keeps or improves their balance in buffers.
1236 (electric-pair-delete-adjacent-pairs): Delete the pair when
1237 backspacing over adjacent matched delimiters.
1238 (electric-pair-open-extra-newline): Open extra newline when
1239 inserting newlines between adjacent matched delimiters.
1240 (electric--sort-post-self-insertion-hook):
1241 Sort post-self-insert-hook according to priority values when
1242 minor-modes are activated.
1243 * simple.el (newline-and-indent): Call newline with interactive
1245 (blink-paren-post-self-insert-function): Set priority to 100.
1246 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1247 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1248 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1249 electric-pair-open-newline-between-pairs to nil.
1251 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1253 * progmodes/python.el: Use lexical-binding.
1254 (python-nav-beginning-of-defun): Stop searching ASAP.
1256 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1258 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1259 Fix interactive spec. Doc fix. (Bug#15754)
1261 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1263 * emacs-lisp/byte-run.el (eval-when-compile):
1264 * progmodes/cc-defs.el (cc-eval-when-compile):
1265 Fix edebug spec (bug#16184).
1267 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1269 * net/shr.el (shr-visit-file): Remove debugging function.
1270 (shr-insert): Don't infloop if we can't find a good place to break
1271 the line (bug#16256).
1273 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1275 * progmodes/python.el:
1276 (python-nav--lisp-forward-sexp): New function.
1277 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1278 python-nav-lisp-forward-sexp-safe.
1279 (python-nav--forward-sexp): New argument SAFE allows switching
1280 forward sexp movement behavior for parens.
1281 (python-nav-forward-sexp): Throw errors on unterminated parens
1283 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1284 (python-nav-backward-sexp-safe): New functions.
1285 (python-shell-buffer-substring):
1286 Use `python-nav-forward-sexp-safe'.
1288 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1290 * net/shr.el (shr-find-fill-point): Don't break lines before a
1292 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1293 (shr-find-fill-point): Remove the special checks for the quotation
1294 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1296 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1298 * net/eww.el (eww-form-textarea): Use a different face for
1299 textareas than text input since they have different keymaps
1302 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1304 * progmodes/python.el (python-nav-beginning-of-statement):
1305 Speed up (Bug#15295).
1307 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1309 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1310 the window configuration.
1312 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1314 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1315 we run on MS-Windows or MS-DOS.
1317 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1319 * window.el (balance-windows-area): Call window-size instead of
1320 window-height and window-width. Bug#16241.
1322 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1324 * net/eww.el (eww-bookmark-quit): Remove.
1325 (eww-bookmark-browse): Restore the window configuration when you
1326 choose a bookmark (bug#16144).
1328 2013-12-24 Daniel Colascione <dancol@dancol.org>
1330 * icomplete.el: Remove redundant :group arguments to `defcustom'
1332 (icomplete-show-matches-on-no-input): New customizable variable.
1333 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1334 we have something to show.
1335 (icomplete-exhibit): Compute completions even if we have no user input.
1337 2013-12-23 Daniel Colascione <dancol@dancol.org>
1339 * icomplete.el: Move `provide' to end of file.
1341 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1343 * net/gnutls.el (gnutls-verify-error): Add version tag.
1345 2013-12-23 Chong Yidong <cyd@gnu.org>
1347 * subr.el (set-transient-map): Rename from
1348 set-temporary-overlay-map. Doc fix.
1350 * face-remap.el (text-scale-adjust):
1351 * indent.el (indent-rigidly):
1352 * kmacro.el (kmacro-call-macro):
1353 * minibuffer.el (minibuffer-force-complete):
1354 * repeat.el (repeat):
1355 * simple.el (universal-argument--mode):
1356 * calendar/todo-mode.el (todo-insert-item--next-param):
1357 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1359 * indent.el (indent-rigidly): Use substitute-command-keys.
1361 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1363 * net/eww.el (eww-tag-select): Add text-property to jump to next
1365 (eww): Add non-supported ftp error.
1367 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1369 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1370 comments. Handle electric indent after typing `?' and `!'.
1372 2013-12-22 Chong Yidong <cyd@gnu.org>
1374 * faces.el (face-spec-recalc): If the theme specs are not
1375 applicable to a frame, fall back on the defface spec.
1376 This prevents themes from obliterating faces on low-color terminals.
1378 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1380 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1381 after `{'. We need it after block openers, and it doesn't seem
1382 to hurt after hash openers.
1384 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1386 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1387 extracted from `ruby-smie-rules'.
1388 (ruby--electric-indent-chars): New variable.
1389 (ruby--electric-indent-p): New function.
1390 (ruby-mode): Use `electric-indent-functions' instead of
1391 `electric-indent-chars'.
1393 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1395 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1397 (ruby-smie-rules): Indent plus one level after `=>'.
1399 2013-12-21 Richard Stallman <rms@gnu.org>
1401 * simple.el (newline): Doc fix.
1403 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1405 * net/eww.el (eww-list-histories, eww-list-histories)
1406 (eww-history-browse, eww-history-quit, eww-history-kill)
1407 (eww-history-mode-map, eww-history-mode): New command and
1408 functions to list browser histories.
1409 (eww-form-text): Support text form with disabled
1410 and readonly attributes.
1411 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1413 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1415 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1416 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1417 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1418 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1420 (eww-bookmark-mode-map): Add menu.
1421 (eww-render, eww-mode): Use `setq-local'.
1422 (eww-tool-bar-map): New variable.
1423 (eww-mode): Set `tool-bar-map'.
1424 (eww-view-source): Check for `html-mode' with `fboundp'.
1426 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1428 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1429 elements with text inside. Also remove debugging.
1431 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1433 * cus-start.el (all): Add ns-use-srgb-colorspace.
1435 2013-12-21 Chong Yidong <cyd@gnu.org>
1437 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1438 undefined. Thus, theme settings for undefined faces do not take
1439 effect until the faces are defined with defface, the same as with
1442 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1443 (face-spec-reset-face): Don't assign extra properties in temacs.
1444 (face-spec-recalc): Apply X resources too.
1446 2013-12-21 Chong Yidong <cyd@gnu.org>
1448 * faces.el (face-spec-set):
1449 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1450 * custom.el (defface): Doc fixes (Bug#16203).
1452 * indent.el (indent-rigidly-map): Add docstring, and move commands
1453 into named functions.
1454 (indent-rigidly-left, indent-rigidly-right)
1455 (indent-rigidly-left-to-tab-stop)
1456 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1457 indentation direction based on bidi direction, and accumulate
1458 sequential commands in a single undo boundary.
1459 (indent-rigidly--pop-undo): New utility function.
1461 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1463 * faces.el (read-face-name): Require crm.el when using crm-separator.
1465 2013-12-20 Daniel Colascione <dancol@dancol.org>
1467 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1468 so that we don't reflow comments into the shebang line.
1470 2013-12-20 Juri Linkov <juri@jurta.org>
1472 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1473 a position when `dired-directory' is non-nil. Check integer
1474 positions with `integerp'.
1475 (toggle-save-place, save-places-to-alist): Add check for
1477 (save-place-find-file-hook): Check integer positions with
1479 (save-place-dired-hook): Use `dired-goto-file' when
1480 `dired-filename' is found in the assoc list. Check integer
1481 positions with `integerp'.
1482 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1484 * dired.el (dired-initial-position-hook): Rename back from
1485 `dired-initial-point-hook'.
1486 (dired-initial-position): Rename `dired-initial-point-hook' to
1487 `dired-initial-position-hook'.
1488 (dired-file-name-at-point): Doc fix. (Bug#15329)
1490 2013-12-20 Juri Linkov <juri@jurta.org>
1492 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1493 (read-regexp-suggestions): New function.
1494 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1495 Use `read-regexp-suggestions'. Add non-empty default to history
1497 (occur-read-regexp-defaults-function): Remove function.
1498 (occur-read-primary-args): Use `regexp-history-last' instead of
1499 `occur-read-regexp-defaults-function'.
1501 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1502 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1503 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1504 `hi-lock-read-regexp-defaults-function'. Doc fix.
1505 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1506 with `find-tag-default-as-symbol-regexp'. Doc fix.
1507 (hi-lock-read-regexp-defaults): Remove function.
1508 (hi-lock-regexp-okay): Add check for null.
1510 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1511 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1513 * subr.el (find-tag-default-as-symbol-regexp): New function.
1514 (find-tag-default-as-regexp): Move symbol regexp formatting to
1515 `find-tag-default-as-symbol-regexp'.
1517 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1519 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1522 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1524 * calendar/todo-mode.el: New implementation of item insertion
1525 commands and key bindings.
1526 (todo-key-prompt): New face.
1527 (todo-insert-item): New command.
1528 (todo-insert-item--parameters): New defconst, replacing defvar
1529 todo-insertion-commands-args-genlist.
1530 (todo-insert-item--param-key-alist): New defconst, replacing
1531 defvar todo-insertion-commands-arg-key-list.
1532 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1533 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1534 (todo-insert-item--next-param): New functions.
1535 (todo-insert-item--args, todo-insert-item--argleft)
1536 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1538 (todo-key-bindings-t): Change binding of "i" from
1539 todo-insertion-map to todo-insert-item.
1540 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1541 (todo-insertion-command-name, todo-insertion-commands-names)
1542 (todo-define-insertion-command, todo-insertion-commands)
1543 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1545 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1547 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1548 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1550 (todo-move-category): Allow choosing a non-existing todo file to
1551 move the category to, and create that file.
1552 (todo-default-priority): New user option.
1553 (todo-set-item-priority): Use it.
1554 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1555 (desktop-restore-file-buffer): Declare.
1556 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1557 (todo-modes-set-2): Locally set desktop-save-buffer to
1558 todo-desktop-save-buffer.
1559 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1560 (auto-mode-alist): Add autoload cookie.
1562 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1564 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1565 helpers.el was a poor choice of name.
1566 (string-remove-prefix): New function.
1567 (string-remove-suffix): New function.
1569 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1571 Fix assignment for new window total sizes.
1572 * window.el (window--pixel-to-size): Remove function.
1573 (window--pixel-to-total-1, window--pixel-to-total):
1574 Fix calculation of new total sizes.
1576 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1578 * comint.el (comint-output-filter): Fix rear-nonsticky property
1579 placement (Bug#16010).
1581 2013-12-20 Chong Yidong <cyd@gnu.org>
1583 * faces.el (read-color): Minor fix for completion function.
1585 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1587 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1588 New option. (Bug#16182)
1589 (ruby-smie--indent-to-stmt-p): Use it.
1590 (ruby-smie-rules): Revert the logic in the handling of `when'.
1591 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1592 (ruby-deep-arglist, ruby-deep-indent-paren)
1593 (ruby-deep-indent-paren-style): Update docstrings to note that the
1594 vars don't have any effect with SMIE.
1596 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1598 * calc/calc.el (calc-enter, calc-pop): Use the variable
1599 `calc-context-sensitive-enter'.
1601 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1603 * net/shr.el (shr-insert): Protect against infloops in degenerate
1606 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1608 * progmodes/octave.el (octave): Add link to manual and octave
1610 (octave-mode-menu): Link to octave-mode manual.
1612 2013-12-20 Leo Liu <sdl.web@gmail.com>
1614 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1615 insertion using skeleton-end-newline. (Bug#16138)
1617 2013-12-20 Juri Linkov <juri@jurta.org>
1619 * replace.el (occur-engine): Use `add-face-text-property'
1620 to add the face property to matches and titles. (Bug#14645)
1622 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1623 the palette of other hi-lock colors.
1624 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1626 2013-12-19 Juri Linkov <juri@jurta.org>
1628 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1629 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1630 (minibuffer-history-symbol): Move variable declaration closer to
1633 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1636 2013-12-19 Juri Linkov <juri@jurta.org>
1638 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1640 (log-edit-hook): Add it to :options. (Bug#16170)
1642 2013-12-19 Juri Linkov <juri@jurta.org>
1644 * simple.el (eval-expression-print-format): Don't check for
1645 command names and the last command. Always display additional
1646 formats of the integer result in the echo area, and insert them
1647 to the current buffer only with a zero prefix arg.
1648 Display character when char-displayable-p is non-nil.
1649 (eval-expression): With a zero prefix arg, set `print-length' and
1650 `print-level' to nil, and insert the integer values from
1651 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1653 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1654 `eval-last-sexp-arg-internal'. Doc fix.
1655 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1656 `eval-last-sexp-print-value'. Doc fix.
1657 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1658 Set `print-length' and `print-level' to nil when arg is zero.
1659 (eval-last-sexp): Doc fix.
1660 (eval-defun-2): Print the integer values from
1661 `eval-expression-print-format' at the end.
1663 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1664 values from `eval-expression-print-format' at the end.
1666 * ielm.el (ielm-eval-input): Print the integer
1667 values from `eval-expression-print-format' at the end.
1669 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1671 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1672 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1674 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1676 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1677 (hl-line-highlight, global-hl-line-highlight): Use it.
1678 (hl-line-overlay): Use defvar-local.
1680 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1682 * term/ns-win.el: Require dnd.
1683 (global-map): Remove drag items.
1684 (ns-insert-text, ns-set-foreground-at-mouse)
1685 (ns-set-background-at-mouse):
1686 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1687 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1690 2013-12-19 Glenn Morris <rgm@gnu.org>
1692 * emacs-lisp/ert.el (ert-select-tests):
1693 Fix string/symbol mixup. (Bug#16121)
1695 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1697 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1698 keywords to their parent.
1700 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1702 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1703 first arg to be a string (fixed dead code), or an operator symbol.
1704 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1706 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1707 did nothing. Don't respond to `(:after ".")', it will be called
1708 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1709 change anything. Only return indentation for binary operators
1710 when they are hanging. De-dent opening paren when its parent is
1711 `.', otherwise it looks bad when the dot is not at bol or eol
1714 2013-12-19 Juri Linkov <juri@jurta.org>
1716 * replace.el (query-replace-read-args): Split a non-negative arg
1717 and a negative arg into separate elements.
1718 (query-replace, query-replace-regexp, replace-string)
1719 (replace-regexp): Add arg `backward'. Doc fix.
1720 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1721 move point to the beginning of the match.
1722 (replace-search, replace-highlight): Use new arg `backward'
1723 to set the value of `isearch-forward'.
1724 (perform-replace): Add arg `backward' and use it to perform
1725 replacement backward. (Bug#14979)
1727 * isearch.el (isearch-query-replace): Use a negative prefix arg
1728 to call `perform-replace' with a non-nil arg `backward'.
1730 2013-12-18 Juri Linkov <juri@jurta.org>
1732 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1733 to the default list. Move `log-edit-show-files' to the end.
1734 Add more available functions to options.
1735 (log-edit): Move default specific settings to
1736 `log-edit-insert-message-template'. Don't move point.
1737 (log-edit-insert-message-template): New function.
1738 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1741 2013-12-18 Juri Linkov <juri@jurta.org>
1743 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1744 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1746 2013-12-18 Leo Liu <sdl.web@gmail.com>
1748 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1751 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1753 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1754 formats for displaying file sizes when the -s switch is given.
1755 Instead, compute a separate format for displaying the size in
1756 blocks, which is displayed in addition to the "regular" size.
1757 When -h is given in addition to -s, produce size in blocks in
1758 human-readable form as well. (Bug#16179)
1760 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1762 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1763 Reference tables with ~\ref{...} instead of only \ref{...}.
1765 2013-12-18 Chong Yidong <cyd@gnu.org>
1767 * cus-edit.el (custom-magic-alist): Fix "themed" description
1770 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1771 is non-nil, do not create a new entry in the symbol's theme-value
1772 or theme-face property; update theme-settings only (Bug#14664).
1773 (custom-available-themes): Doc fix.
1775 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1778 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1780 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1782 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1785 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1787 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1789 2013-12-18 Glenn Morris <rgm@gnu.org>
1791 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1792 * cus-start.el (load-prefer-newer): New option.
1794 2013-12-18 Le Wang <l26wang@gmail.com>
1796 * comint.el (comint-previous-matching-input-from-input):
1797 Retain point (Bug#13404).
1799 2013-12-18 Chong Yidong <cyd@gnu.org>
1801 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1803 2013-12-18 Glenn Morris <rgm@gnu.org>
1805 * mail/emacsbug.el (report-emacs-bug):
1806 Only mention enable-multibyte-characters if non-standard.
1808 2013-12-17 Juri Linkov <juri@jurta.org>
1810 * arc-mode.el (archive-extract-by-file): Check if directory exists
1811 before deletion to not show irrelevant errors if it doesn't exist.
1813 2013-12-17 Juri Linkov <juri@jurta.org>
1815 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1818 * net/eww.el (browse-web): Add alias to `eww'.
1819 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1820 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1822 * net/browse-url.el (browse-url-browser-function): Move `eww'
1823 closer to similar functions.
1825 * startup.el (fancy-startup-screen, fancy-about-screen):
1826 Set browse-url-browser-function to eww-browse-url locally.
1829 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1831 * window.el (window--pixel-to-total): Remove unused `mini' var.
1832 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1833 (split-window): Remove unused `new' var.
1834 (window--display-buffer): Remove unused `frame' and `delta' vars.
1835 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1838 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1840 * dired.el (dired-mark-pop-up):
1841 * register.el (register-preview): Don't bind
1842 split-height-threshold here since it's now done in
1843 display-buffer-below-selected.
1845 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1847 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1848 xterm-rgb-convert-to-16bit.
1849 (rxvt-register-default-colors): Standardize with
1850 xterm-register-default-colors (Bug#14078).
1852 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1854 * simple.el (kill-region): Pass mark first, then point, so that
1855 kill-append works right (Bug#12819).
1856 (copy-region-as-kill, kill-ring-save): Likewise.
1858 2013-12-17 Leo Liu <sdl.web@gmail.com>
1860 * net/rcirc.el (rcirc-add-face):
1861 * eshell/em-prompt.el (eshell-emit-prompt):
1862 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1865 2013-12-17 Chong Yidong <cyd@gnu.org>
1867 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1868 Suggested by Xue Fuqiao.
1870 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1872 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1874 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1876 * net/shr.el (shr-insert-document): Remove unused var
1877 `shr-preliminary-table-render'.
1878 (shr-rescale-image): Remove unused arg `force'.
1879 (shr-put-image): Update calls accordingly.
1880 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1882 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1884 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1885 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1886 :close-all, to see which indentation method to use (Bug#16116).
1887 (smie-rules-function): Document the method :close-all.
1889 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1891 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1893 * net/eww.el (eww-display-html): If we can't find the anchor we're
1894 looking for, then go to point-min.
1896 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1898 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1899 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1900 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1901 Expand dir too, in case it's relative.
1903 2013-12-16 Juri Linkov <juri@jurta.org>
1905 * desktop.el (desktop-auto-save-timeout): Change default to
1906 `auto-save-timeout'. Doc fix.
1907 (desktop-save): Skip the timestamp in desktop-saved-frameset
1908 when checking for auto-save changes.
1909 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1910 `desktop-auto-save' is called repeatedly by the idle timer.
1911 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1912 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1915 2013-12-16 Juri Linkov <juri@jurta.org>
1917 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
1919 (isearch-pre-command-hook): Check `this-command' for symbolp.
1921 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1923 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
1925 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
1927 * progmodes/cfengine.el (cfengine3--current-word): Remove.
1928 (cfengine3--current-function): Bring in the current-function
1929 functionality from `cfengine3--current-word'.
1930 (cfengine3-completion-function): Bring in the
1931 bounds-of-current-word functionality from
1932 `cfengine3--current-word'.
1934 2013-12-16 Martin Rudalics <rudalics@gmx.at>
1936 * window.el (display-buffer-below-selected):
1937 Bind split-height-threshold to 0 as suggested by Juri Linkov.
1939 2013-12-16 Leo Liu <sdl.web@gmail.com>
1941 * progmodes/compile.el (compile-goto-error): Do not push-mark.
1942 Remove NOMSG arg and all uses changed.
1944 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
1946 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
1947 (cua--deactivate-rectangle): Don't deactivate the mark.
1948 (cua-set-rectangle-mark): Don't set mark-active since
1949 cua--activate-rectangle already does it for us.
1950 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
1951 non-rectangular region.
1953 * emulation/cua-base.el (cua-repeat-replace-region):
1954 Use with-current-buffer.
1956 * net/gnutls.el: Use cl-lib.
1957 (gnutls-negotiate): `mapcan' -> cl-mapcan.
1959 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1961 * emacs-lisp/package.el (package-built-in-p): Support both
1962 built-in and the package.el converted package descriptions.
1963 (package-show-package-list): Allow keywords.
1964 (package-keyword-button-action): Use it instead of
1965 `finder-list-matches'.
1966 (package-menu-filter-interactive): Interactive filtering (by
1968 (package-menu--generate): Support keywords and change keymappings
1969 and headers when they are given.
1970 (package--has-keyword-p): Helper function.
1971 (package-menu--refresh): Use it.
1972 (package--mapc): Helper function.
1973 (package-all-keywords): Use it.
1974 (package-menu-mode-map): Set up menu items and keybindings to
1975 provide a filtering UI.
1977 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
1979 * net/gnutls.el (gnutls-verify-error): New defcustom to control
1980 the behavior when a certificate fails validation. Defaults to
1981 old behavior: never abort, just warn.
1982 (gnutls-negotiate): Use it.
1984 2013-12-14 Martin Rudalics <rudalics@gmx.at>
1986 * window.el (display-buffer-below-selected): Never split window
1987 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
1989 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
1991 * emacs-lisp/package.el (package--prepare-dependencies): New function.
1992 (package-buffer-info): Use it (bug#15108).
1994 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
1996 * icomplete.el (icomplete-completions): Make sure the prefix is already
1997 displayed elsewhere before hiding it (bug#16219).
1999 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2001 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2002 open-paren tokens when preceded by a open-paren, too.
2003 (ruby-smie-rules): Handle virtual indentation after open-paren
2004 tokens specially. If there is code between it and eol, return the
2005 column where is starts (Bug#16118).
2007 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2009 * progmodes/cfengine.el: Fix `add-hook' doc.
2010 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2011 (cfengine3--current-word): Fix parameters.
2012 (cfengine3-make-syntax-cache): Simplify further.
2013 (cfengine3-completion-function, cfengine3--current-function):
2014 Use `assq' for symbols.
2015 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2017 2013-12-13 Glenn Morris <rgm@gnu.org>
2019 * loadup.el (load-path): Warn if site-load or site-init changes it.
2020 No more need to reset it when bootstrapping.
2022 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2024 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2025 locations for cf-promises.
2026 (cfengine-mode-syntax-functions-regex): New caching variable.
2027 (cfengine3-fallback-syntax): Fallback syntax for cases where
2028 cf-promises doesn't run.
2029 (cfengine3--current-word): Reimplement using
2030 `cfengine-mode-syntax-functions-regex'.
2031 (cfengine3-completion-function, cfengine3--current-function):
2032 Use `cfengine3-make-syntax-cache' directly.
2033 (cfengine3-clear-syntax-cache): New function.
2034 (cfengine3-make-syntax-cache): Simplify and create
2035 `cfengine-mode-syntax-functions-regex' on demand.
2036 (cfengine3-format-function-docstring): Don't call
2037 `cfengine3-make-syntax-cache' explicitly.
2039 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2041 Fix windmove-find-other-window broken after pixelwise resizing
2043 * windmove.el (windmove-other-window-loc): Revert change from
2045 (windmove-find-other-window): Call window-in-direction.
2046 * window.el (window-in-direction): New arguments SIGN, WRAP and
2047 MINI to emulate original windmove-find-other-window behavior.
2049 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2051 * simple.el (blink-matching--overlay): New variable.
2052 (blink-matching-open): Instead of moving point, highlight the
2053 matching paren with an overlay
2054 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2056 * faces.el (paren-showing-faces, show-paren-match)
2057 (show-paren-mismatch): Move from paren.el.
2059 2013-12-13 Leo Liu <sdl.web@gmail.com>
2061 * indent.el (indent-region): Disable progress reporter in
2062 minibuffer. (Bug#16108)
2064 * bindings.el (visual-order-cursor-movement): Fix version.
2066 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2068 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2069 Also match after beginning of line.
2070 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2071 files. Thanks to Russell Sim. (Bug#15378)
2073 2013-12-13 Juri Linkov <juri@jurta.org>
2075 * simple.el <Keypad support>: Remove key bindings duplicated
2076 with bindings.el. (Bug#14397)
2078 2013-12-13 Juri Linkov <juri@jurta.org>
2080 * comint.el (comint-mode-map): Replace `delete-char' with
2081 `delete-forward-char'. (Bug#16109)
2083 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2085 * progmodes/python.el (python-indent-calculate-indentation):
2086 Fix de-denters cornercase. (Bug#15731)
2088 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2090 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2091 (advice--make): Pay attention to `depth'.
2092 (advice--make-1): Don't autoload commands eagerly.
2093 * emacs-lisp/elp.el (elp-instrument-function):
2094 * emacs-lisp/trace.el (trace-function-internal):
2095 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2097 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2099 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2101 * term/w32-win.el (w32-handle-dropped-file):
2102 * startup.el (normal-top-level):
2103 * net/browse-url.el (browse-url-file-url):
2104 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2105 decode file names using 'utf-8' rather than
2106 file-name-coding-system.
2108 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2110 * progmodes/python.el (python-indent-context)
2111 (python-indent-calculate-indentation): Fix auto-identation
2112 behavior for comment blocks. (Bug#15916)
2114 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2116 * progmodes/python.el (python-indent-calculate-indentation):
2117 When determining indentation, don't treat "return", "pass", etc., as
2118 operators when they are just string constituents. (Bug#15812)
2120 2013-12-12 Juri Linkov <juri@jurta.org>
2122 * uniquify.el (uniquify-buffer-name-style): Change default to
2123 `post-forward-angle-brackets'.
2125 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2126 `uniquify'. Change default to `post-forward-angle-brackets'.
2128 2013-12-11 Glenn Morris <rgm@gnu.org>
2130 * emacs-lisp/package.el (finder-list-matches):
2131 Autoload rather than falsely declaring.
2133 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2135 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2136 (eww-mode-map): Use them.
2138 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2140 * window.el (display-buffer-in-side-window): Fix doc-string
2143 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2145 * vc/vc-git.el: Silence byte-compiler warnings.
2146 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2147 (log-edit-set-header): Declare.
2149 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2151 * Makefile.in (custom-deps, finder-data): Run output file names
2152 through unmsys--file-name. (Bug#16099)
2154 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2156 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2157 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2159 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2160 instead of deleting the selection "by hand" (bug#16098).
2161 Rely on insert-for-yank to yank rectangles.
2162 (cua-highlight-region-shift-only): Mark obsolete.
2163 (cua-mode): Don't enable/disable transient-mark-mode,
2164 shift-select-mode (cua-mode works both with and without them), and
2165 pc-selection-mode (obsolete).
2166 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2167 (cua--deactivate-rectangle): Deactivate it.
2169 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2170 (delete-selection-helper): Make sure yank starts at the top of the
2172 (minibuffer-keyboard-quit): Use region-active-p.
2174 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2176 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2177 to `delete' (bug#16109).
2179 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2181 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2182 info manual and show keybindings and set `:group' keyword.
2184 2013-12-11 Juri Linkov <juri@jurta.org>
2186 * delsel.el (delete-active-region): Let-bind `this-command'
2187 to prevent `kill-region' from changing its original value.
2188 (delete-selection-helper): Handle `overwrite-mode' for the type
2189 `kill' exactly the same way as for the type `t'.
2190 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2191 Support more commands. (Bug#13312)
2193 2013-12-11 Juri Linkov <juri@jurta.org>
2195 * bindings.el: Map kp keys to non-kp keys systematically
2196 with basic modifiers control, meta and shift. (Bug#14397)
2198 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2200 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2201 "Close browser" menu items. Fix wrong function of "List
2204 2013-12-11 Juri Linkov <juri@jurta.org>
2206 * misearch.el (multi-isearch-buffers): Set the value of
2207 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2208 arg of isearch-forward to t.
2209 (multi-isearch-buffers-regexp): Set the value of
2210 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2211 arg of isearch-forward-regexp to t.
2212 (multi-isearch-files): Set the value of
2213 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2214 arg of isearch-forward to t.
2215 (multi-isearch-files-regexp): Set the value of
2216 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2217 arg of isearch-forward-regexp to t. (Bug#16035)
2219 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2220 arg of isearch-forward to t.
2221 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2222 arg of isearch-forward-regexp to t.
2223 (dired-isearch-filter-filenames): Remove unnecessary check for
2224 `dired-isearch-filenames'.
2226 * comint.el (comint-history-isearch-backward):
2227 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2228 (comint-history-isearch-backward-regexp):
2229 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2231 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2233 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2234 unmsys--file-name. (Bug#16099)
2236 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2238 * emacs-lisp/package.el (package-keyword-button-action):
2239 Remove finder.el require dependency.
2241 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2243 * emacs-lisp/package.el: Require finder.el.
2244 (describe-package-1): Add keyword buttons.
2245 (package-make-button): New convenience function.
2246 (package-keyword-button-action): Keyword button action using
2247 `finder-list-matches'.
2249 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2251 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2254 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2256 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2259 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2261 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2262 after the end of a percent literal.
2264 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2266 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2267 Handle caret-delimited strings (Bug#16079).
2269 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2271 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2272 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2273 `ruby-parse-partial' (Bug#16078).
2275 2013-12-09 Leo Liu <sdl.web@gmail.com>
2277 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2279 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2281 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2282 (js-switch-indent-offset): New option.
2283 (js--proper-indentation): Use it. And handle the case when
2284 "default" is actually a key in an object literal.
2285 (js--same-line): New function.
2286 (js--multi-line-declaration-indentation): Use it.
2287 (js--indent-in-array-comp, js--array-comp-indentation):
2289 (js--proper-indentation): Use them, to handle array comprehension
2292 2013-12-08 Leo Liu <sdl.web@gmail.com>
2294 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2295 (flymake-make-overlay): Remove arg MOUSE-FACE.
2296 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2298 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2300 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2302 (redisplay-highlight-region-function): Use it.
2304 * emulation/cua-base.el (cua--explicit-region-start)
2305 (cua--last-region-shifted): Remove.
2306 (cua--deactivate): Use deactivate-mark.
2307 (cua--pre-command-handler-1): Don't handle shift-selection.
2308 (cua--post-command-handler-1): Don't change transient-mark-mode.
2309 (cua--select-keymaps): Use region-active-p rather than
2310 cua--explicit-region-start or cua--last-region-shifted.
2311 (cua-mode): Enable shift-select-mode.
2313 2013-12-08 Leo Liu <sdl.web@gmail.com>
2315 * progmodes/flymake.el (flymake-popup-current-error-menu):
2316 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2317 (flymake-posn-at-point-as-event, flymake-popup-menu)
2318 (flymake-make-emacs-menu): Remove. (Bug#16077)
2320 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2322 * rect.el (rectangle-mark-mode): Activate mark even if
2323 transient-mark-mode is off (bug#16066).
2324 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2325 is > mark and at bolp.
2327 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2328 (region-extract-function): Use it.
2329 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2330 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2332 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2333 kill-ring-save, kill-region, delete-char, delete-forward-char.
2334 Ignore self-insert-iso.
2336 * emulation/cua-gmrk.el (cua--init-global-mark):
2337 Ignore `self-insert-iso'.
2339 * emulation/cua-base.el (cua--prefix-copy-handler)
2340 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2341 checking cua--rectangle.
2342 (cua-delete-region): Use region-extract-function.
2343 (cua-replace-region): Delete function.
2344 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2345 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2346 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2347 (cua--init-keymaps): Don't remap delete-selection commands.
2348 (cua-mode): Use delete-selection-mode instead of rolling our own
2351 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2352 Obey region-extract-function.
2354 Make registers and delete-selection-mode work on rectangles.
2355 * register.el (describe-register-1): Don't modify the register's value.
2356 (copy-to-register): Obey region-extract-function.
2357 * delsel.el (delete-active-region): Obey region-extract-function.
2359 2013-12-08 Leo Liu <sdl.web@gmail.com>
2361 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2362 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2363 (flymake-compilation-prevents-syntax-check)
2364 (flymake-start-syntax-check-on-newline)
2365 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2366 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2367 (flymake-xml-program, flymake-master-file-dirs)
2368 (flymake-master-file-count-limit)
2369 (flymake-allowed-file-name-masks): Relocate.
2370 (flymake-makehash, flymake-float-time)
2371 (flymake-replace-regexp-in-string, flymake-split-string)
2372 (flymake-get-temp-dir): Remove.
2373 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2374 (flymake-current-row, flymake-selected-frame)
2375 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2376 related functions. (Bug#16077)
2378 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2380 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2382 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2384 * help-fns.el (describe-function-1): Use new advice-* functions
2385 rather than old ad-* functions. Fix function type description and
2386 source links for advised functions and subrs.
2388 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2390 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2392 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2394 * progmodes/compile.el (compilation-start):
2395 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2397 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2398 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2400 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2402 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2403 Touch up the last change.
2405 2013-12-06 Leo Liu <sdl.web@gmail.com>
2407 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2408 (inferior-octave-startup): Always use "octave> " for prompt.
2409 (octave-goto-function-definition)
2410 (octave-sync-function-file-names)
2411 (octave-find-definition-default-filename): Remove redundant backquotes.
2413 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2415 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2417 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2418 where appropriate already.
2419 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2420 end of method names (Bug#15874).
2422 2013-12-06 Juri Linkov <juri@jurta.org>
2424 * isearch.el (isearch--saved-overriding-local-map):
2425 New internal variable.
2426 (isearch-mode): Set it to the initial value of
2427 `overriding-terminal-local-map'.
2428 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2429 with `isearch--saved-overriding-local-map'. (Bug#16035)
2431 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2433 * progmodes/octave.el (inferior-octave-completion-table):
2434 Turn back into function, use `completion-table-with-cache'
2435 (Bug#11906). Update all references.
2437 * minibuffer.el (completion-table-with-cache): New function.
2439 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2441 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2443 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2445 * net/eww.el (eww-current-source): New variable to store page
2447 (eww-display-html, eww-mode, eww-save-history)
2448 (eww-restore-history): Use it.
2449 (eww-view-source): New command to view page source.
2450 Opportunistically uses `html-mode' to highlight the buffer.
2451 (eww-mode-map): Install it.
2453 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2455 * net/dbus.el (dbus-unregister-service)
2456 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2458 (dbus-unregister-service): Skip :serial entries in
2459 `dbus-registered-objects-table'.
2460 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2462 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2464 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2465 around keywords with extra `split-string' argument.
2467 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2469 * windmove.el (windmove-other-window-loc): Handle navigation
2470 between windows (excluding the minibuffer window - Bug#16017).
2472 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2474 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2475 in D-Bus type syntax.
2476 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2477 preserve unibyte strings. (Bug#16048)
2479 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2482 Call force-mode-line-update is the proper buffer (bug#16042).
2484 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2486 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2487 `log-edit-remember-comment', make argument optional. Adjust all
2489 (log-edit-mode): Add `log-edit-remember-comment' to
2490 `kill-buffer-hook' locally.
2491 (log-edit-kill-buffer): Don't remember comment explicitly since
2492 the buffer is killed anyway.
2494 2013-12-04 Juri Linkov <juri@jurta.org>
2496 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2497 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2499 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2501 * notifications.el (notifications-close-notification): Call the
2502 D-Bus method with ID being a `:uint32'. (Bug#16030)
2504 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2506 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2508 2013-12-03 Juri Linkov <juri@jurta.org>
2510 * progmodes/compile.el (compilation-start): Rename window alist
2511 entry `no-display-ok' to `allow-no-window'.
2513 * simple.el (shell-command): Add window alist entry
2514 `allow-no-window' to `display-buffer'.
2515 (async-shell-command): Doc fix.
2517 * window.el (display-buffer-no-window): New action function.
2518 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2520 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2522 * vc/log-edit.el (log-edit-set-header): Extract from
2523 `log-edit-toggle-header'.
2524 (log-edit-extract-headers): Separate the summary, when extracted
2525 from header, from the rest of the message with an empty line.
2527 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2528 line, if present, to the Summary header.
2530 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2532 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2533 in current-buffer (bug#16029).
2535 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2537 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2538 (debugger-mode-map): Bind it.
2539 (debugger--backtrace-base): New function.
2540 (debugger-eval-expression): Use it.
2541 (debugger-frame-number): Skip local vars when present.
2542 (debugger--locals-visible-p, debugger--insert-locals)
2543 (debugger--show-locals, debugger--hide-locals): New functions.
2545 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2547 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2549 (tramp-get-remote-locale): New defun.
2550 (tramp-open-connection-setup-interactive-shell): Use it.
2552 2013-12-02 Leo Liu <sdl.web@gmail.com>
2554 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2556 * progmodes/sh-script.el (sh-shell-process):
2557 * progmodes/octave.el (inferior-octave-process-live-p):
2558 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2559 (gdb-inferior-io-sentinel):
2560 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2562 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2564 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2565 `save-selected-window' to `log-edit-hide-buf'. This makes
2566 `log-edit-show-files' idempotent.
2567 (log-edit-show-files): Mark the new window as dedicated.
2569 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2571 * vc/log-edit.el (log-edit-mode-map): Add binding for
2572 `log-edit-kill-biffer'.
2573 (log-edit-hide-buf): Add a FIXME comment.
2574 (log-edit-add-new-comment): New function, extracted from
2576 (log-edit-done, log-edit-add-to-changelog): Use it.
2577 (log-edit-kill-buffer): New command.
2579 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2581 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2582 instead of killing the buffer.
2584 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2586 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2588 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2590 * net/eww.el (eww-form-checkbox-selected-symbol)
2591 (eww-form-checkbox-symbol): New customizable variable.
2592 (eww-form-checkbox, eww-toggle-checkbox):
2593 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2595 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2596 (shr--get-media-pref, shr--extract-best-source): New function.
2597 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2598 no :src tag was specified.
2600 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2601 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2602 Use \\` to match beginning of string instead of ^.
2603 (eww-browse-with-external-browser): Provide optional URL parameter.
2604 (eww-render): Set `eww-current-title' back to "".
2606 * net/shr.el (shr-tag-video): Display content for video if no
2607 poster is available.
2608 (shr-tag-audio): Add support for <audio> tag.
2610 * net/eww.el (eww-text-input-types): New const.
2611 (eww-process-text-input): Treat input types in
2612 `eww-text-input-types' as text.
2614 * net/shr.el (shr-tag-table): Fix comment typo.
2616 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2618 * net/eww.el (eww-follow-link): New command to avoid reloading
2619 pages when we follow #target links (bug#15243).
2620 (eww-quit): Special mode buffers shouldn't query before exiting.
2622 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2624 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2627 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2629 * net/eww.el (eww-restore-history): Update the window title after
2630 moving in the history.
2631 (eww-current-dom): New variable used to save the current DOM.
2633 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2635 * vc/log-edit.el (log-edit-mode-map): Add binding for
2636 `log-edit-beginning-of-line'.
2637 (log-edit-setup-add-author): New user option.
2638 (log-edit-beginning-of-line): New command.
2639 (log-edit): Move major mode call above the contents setup so that
2640 the local variable values are already applied.
2641 (log-edit): Only insert "Author: " when
2642 `log-edit-setup-add-author' is non-nil.
2643 (log-edit): When SETUP is non-nil, position point after ": "
2644 instead of point-min.
2646 2013-12-01 Glenn Morris <rgm@gnu.org>
2648 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2650 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2652 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2653 redisplay to make sure the initial frame gets a chance to become
2654 visible. (Bug#16014)
2656 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2658 Support resizing frames and windows pixelwise.
2659 * cus-start.el (frame-resize-pixelwise)
2660 (window-resize-pixelwise): New entries.
2661 * emacs-lisp/debug.el (debug): Use window-total-height instead
2662 of window-total-size.
2663 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2664 * help.el (describe-bindings-internal): Call help-buffer
2665 (temp-buffer-max-width): New option.
2666 (resize-temp-buffer-window, help-window-setup)
2667 (with-help-window): Rewrite.
2668 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2670 * window.el (frame-char-size, window-min-pixel-height)
2671 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2672 (window-min-pixel-width, window-safe-min-pixel-size)
2673 (window-combination-p, window-safe-min-size)
2674 (window-resizable-p, window--size-to-pixel)
2675 (window--pixel-to-size, window--resize-apply-p): New functions.
2676 (window-safe-min-height): Fix doc-string.
2677 (window-size, window-min-size, window--min-size-1)
2678 (window-sizable, window-sizable-p, window--min-delta-1)
2679 (window-min-delta, window--max-delta-1, window-max-delta)
2680 (window--resizable, window--resizable-p, window-resizable)
2681 (window-full-height-p, window-full-width-p, window-at-side-p)
2682 (window--in-direction-2, window-in-direction)
2683 (window--resize-reset-1, window--resize-mini-window)
2684 (window-resize, window-resize-no-error)
2685 (window--resize-child-windows-normal)
2686 (window--resize-child-windows, window--resize-siblings)
2687 (window--resize-this-window, window--resize-root-window)
2688 (window--resize-root-window-vertically)
2689 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2690 (maximize-window, minimize-window, delete-window)
2691 (quit-restore-window, window-split-min-size, split-window)
2692 (balance-windows-2, balance-windows)
2693 (balance-windows-area-adjust, balance-windows-area)
2694 (window--state-get-1, window-state-get, window--state-put-1)
2695 (window--state-put-2, window-state-put)
2696 (display-buffer-record-window, window--display-buffer):
2697 Make functions handle pixelwise sizing of windows.
2698 (display-buffer--action-function-custom-type)
2699 (display-buffer-fallback-action):
2700 Add display-buffer-in-previous-window.
2701 (display-buffer-use-some-window): Resize window to height it had
2703 (fit-window-to-buffer-horizontally): New option.
2704 (fit-frame-to-buffer): Describe new values.
2705 (fit-frame-to-buffer-bottom-margin): Replace with
2706 fit-frame-to-buffer-margins.
2707 (window--sanitize-margin): New function.
2708 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2709 using window-text-pixel-size.
2711 2013-11-30 Glenn Morris <rgm@gnu.org>
2713 * emacs-lisp/bytecomp.el (byte-compile-form):
2714 Make the `interactive-only' warning like the `obsolete' one.
2715 * comint.el (comint-run):
2716 * files.el (insert-file-literally, insert-file):
2717 * replace.el (replace-string, replace-regexp):
2718 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2719 (goto-line, insert-buffer, next-line, previous-line):
2720 Tweak `interactive-only' spec.
2722 Stop keeping (most) generated cedet grammar files in the repository.
2723 * Makefile.in (semantic): New.
2724 (compile-main): Depend on semantic.
2726 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2728 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2729 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2731 * uniquify.el (uniquify-buffer-name-style): Change default.
2733 * loadup.el: Preload "uniquify".
2735 * time.el (display-time-update): Update all mode lines (bug#15999).
2737 * electric.el (electric-indent-mode): Enable by default.
2738 * loadup.el: Preload "electric".
2740 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2742 * emacs-lisp/helpers.el (string-empty-p): New function.
2743 (string-blank-p): New function.
2745 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2747 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2750 2013-11-29 Andreas Politz <politza@fh-trier.de>
2751 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2752 allow non-lambda lists as functions.
2753 (imenu--in-alist): Don't recurse into non-subalists.
2754 (imenu): Don't pass function itself as an argument (Bug#14029).
2756 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2758 * progmodes/python.el (python-mode-map): Remove binding for ":".
2759 (python-indent-electric-colon): Remove command.
2760 (python-indent-post-self-insert-function): Integrate the previous code
2761 of python-indent-electric-colon. Make it conditional on
2762 electric-indent-mode.
2763 (python-mode): Add ?: to electric-indent-chars.
2764 Move python-indent-post-self-insert-function to the end of
2765 post-self-insert-hook.
2767 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2769 * doc-view.el (doc-view-goto-page): Update mode-line.
2771 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2773 2013-11-27 Glenn Morris <rgm@gnu.org>
2775 * international/charprop.el, international/uni-bidi.el:
2776 * international/uni-category.el, international/uni-combining.el:
2777 * international/uni-comment.el, international/uni-decimal.el:
2778 * international/uni-decomposition.el, international/uni-digit.el:
2779 * international/uni-lowercase.el, international/uni-mirrored.el:
2780 * international/uni-name.el, international/uni-numeric.el:
2781 * international/uni-old-name.el, international/uni-titlecase.el:
2782 * international/uni-uppercase.el:
2783 Remove generated files from VCS repository.
2785 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2787 * filenotify.el (file-notify-add-watch): Don't special-case
2788 w32notify when computing the directory to watch.
2790 2013-11-27 Glenn Morris <rgm@gnu.org>
2792 Make bootstrap without generated uni-*.el files possible again.
2793 * loadup.el: Update command-line-args checking for unidata-gen.
2794 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2795 * composite.el, international/characters.el:
2796 Handle unicode tables being undefined.
2798 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2799 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2800 (compile-main): Depend on leim rule.
2802 * loadup.el: Move leim-list.el to leim/ subdirectory.
2803 * startup.el (normal-top-level): No more leim directory.
2804 * international/ja-dic-cnv.el (skkdic-convert):
2805 Disable version-control and autoloads in output files.
2806 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2807 Disable version-control and autoloads in output files.
2808 * leim/quail: Move here from ../leim.
2809 * leim/quail/hangul.el (hangul-input-method-activate):
2810 Add autoload cookie.
2811 (generated-autoload-load-name): Set file-local value.
2812 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2813 (generated-autoload-load-name): Set file-local value.
2815 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2817 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2818 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2819 (eww-quit): Ask confirmation before quitting eww.
2821 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2823 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2824 reading output from Diff on MS-Windows and MS-DOS.
2826 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2828 * emacs-lisp/helpers.el (string-reverse): New function.
2830 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2832 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2833 names on MS Windows, like "/[::1]:".
2835 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2838 2013-11-26 Glenn Morris <rgm@gnu.org>
2840 * progmodes/python.el (python-indent-guess-indent-offset):
2841 Avoid corner-case error. (Bug#15975)
2843 Preload leim-list.el. (Bug#4789)
2844 * loadup.el: Load leim-list.el when found.
2845 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2847 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2849 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2851 * emacs-lisp/helpers.el (string-join): New function.
2853 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2855 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2856 Mark as obsolete and replace it with a symbol property.
2857 (byte-compile-form): Use new 'interactive-only property.
2858 * comint.el, files.el, replace.el, simple.el:
2859 Apply new 'interactive-only properly.
2861 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2863 * window.el (display-buffer-at-bottom): Make sure that
2864 split-window-sensibly creates the new window on bottom
2867 2013-11-23 David Kastrup <dak@gnu.org>
2869 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2870 on the conflict markers when available.
2871 (smerge--get-marker): New function.
2872 (smerge-end-re, smerge-base-re): Add subgroup.
2874 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2876 * frame.el (handle-focus-in, handle-focus-out): Add missing
2879 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2881 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2882 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2884 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2886 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2887 (gomoku--last-pos): New var.
2888 (gomoku--intangible-chars): New const.
2889 (gomoku--intangible): New function.
2890 (gomoku-mode): Use it. Derive from special-mode.
2891 (gomoku-move-up): Adjust line count.
2892 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2893 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2894 Simplify accordingly.
2896 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2897 Remove blink-cursor code.
2898 (blink-cursor-timer-function, blink-cursor-suspend):
2899 Don't special-case GUIs.
2900 (blink-cursor-mode): Use focus-in/out-hook.
2902 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2904 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2905 work when annotation is invisible (Bug#13886).
2907 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2909 * json.el (json-alist-p): Only return non-nil if the alist has
2910 simple keys (Bug#13518).
2912 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2914 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2915 when control-statement is the first statement in a buffer (Bug#15956).
2917 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
2919 * imenu.el (imenu-generic-skip-comments-and-strings):
2920 New option (Bug#15560).
2921 (imenu--generic-function): Use it.
2923 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
2925 * minibuffer.el (completion--in-region-1): Scroll the correct window.
2928 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
2930 * emacs-lisp/helpers.el: Add some string helpers.
2931 (string-trim-left): Removes leading whitespace.
2932 (string-trim-right): Removes trailing whitespace.
2933 (string-trim): Removes leading and trailing whitespace.
2935 * subr.el (string-suffix-p): New function.
2937 2013-11-23 Glenn Morris <rgm@gnu.org>
2939 * progmodes/python.el (python-shell-send-file):
2940 Add option to delete file when done. (Bug#15647)
2941 (python-shell-send-string, python-shell-send-region): Use it.
2943 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
2945 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
2946 to set buffer-read-only to t, never to nil. (Bug#15938)
2948 * textmodes/tex-mode.el (latex-noindent-environments):
2949 Add safe-local-variable property. (Bug#15936)
2951 2013-11-23 Glenn Morris <rgm@gnu.org>
2953 * textmodes/enriched.el (enriched-mode): Doc fix.
2954 * emacs-lisp/authors.el (authors-renamed-files-alist):
2955 Add enriched.doc -> enriched.txt.
2957 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
2959 2013-11-22 Leo Liu <sdl.web@gmail.com>
2961 * progmodes/octave.el (inferior-octave-startup): Spit out error
2964 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
2966 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
2969 (ruby-encoding-magic-comment-style): Add :version.
2971 2013-11-22 Leo Liu <sdl.web@gmail.com>
2973 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
2975 (octave-help-mode): Adapt to change to help-mode-finish to use
2976 derived-mode-p on 2013-09-17.
2977 (inferior-octave-prompt): Also match octave-gui.
2978 (octave-kill-process): Don't ask twice. (Bug#10564)
2980 2013-11-22 Leo Liu <sdl.web@gmail.com>
2982 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
2983 (inferior-octave-startup, inferior-octave-check-process)
2984 (inferior-octave-track-window-width-change)
2985 (octave-completion-at-point, octave-eldoc-function): Use it.
2986 (octave-kill-process): Provide confirmation. (Bug#10564)
2988 2013-11-21 Leo Liu <sdl.web@gmail.com>
2990 * progmodes/octave.el (octave-mode, inferior-octave-mode):
2991 Fix obsolete variable comment-use-global-state.
2993 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2995 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
2996 Add `octave-source-file'.
2997 (octave-source-file): New function. (Bug#15935)
2999 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3001 * net/eww.el (eww-local-regex): New variable.
3002 (eww): Use it to detect localhost and similar.
3004 2013-11-21 Leo Liu <sdl.web@gmail.com>
3006 Add completion for command `ag'.
3007 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3008 (pcomplete/ag): New function.
3009 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3011 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3013 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3015 (make-obsolete): Remove interactive spec.
3017 2013-11-21 Glenn Morris <rgm@gnu.org>
3019 * startup.el (command-line-1): Use path-separator with -L.
3021 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3023 * emacs-lisp/package.el (describe-package-1): Add package archive
3026 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3028 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3029 Change default to "# encoding: %s" to differentiate it from the
3030 default Ruby encoding comment template.
3032 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3034 * ses.el (ses-mode): Doc fix. (Bug#14748)
3036 2013-11-20 Leo Liu <sdl.web@gmail.com>
3038 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3040 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3042 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3043 when rebase or bisect are in progress.
3045 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3047 * filenotify.el (file-notify-add-watch): Doc fix.
3049 2013-11-19 Leo Liu <sdl.web@gmail.com>
3051 * obsolete/rcompile.el: Mark obsolete.
3053 * progmodes/compile.el (compilation-start)
3054 (compilation-goto-locus, compilation-find-file):
3055 Pass no-display-ok and handle nil value from display-buffer.
3058 * window.el (display-buffer-alist, display-buffer): Document the
3059 new parameter no-display-ok. Return either a window or nil
3060 but never a non-window value.
3062 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3064 * electric.el (electric-indent-mode-map): Remove.
3065 (electric-indent-mode): Change the global-map instead (bug#15915).
3067 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3070 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3072 * emacs-lisp/nadvice.el (remove-function): Align with
3073 add-function's behavior.
3075 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3076 (gdb--string-regexp): New constant.
3077 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3078 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3079 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3081 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3082 Adjust use accordingly.
3083 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3085 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3087 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3088 interpolation curlies (Bug#15914).
3090 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3092 * calc/calc.el (calc-context-sensitive-enter): New variable.
3093 (calc-enter): Use `calc-context-sensitive-enter'.
3095 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3097 * progmodes/cfengine.el: Version bump.
3098 (cfengine-cf-promises): New defcustom to locate cf-promises.
3099 (cfengine3-vartypes): Add new "data" type.
3100 (cfengine3--current-word): New function to get current name-like
3102 (cfengine3--current-function): New function to look up a CFEngine
3103 function's definition.
3104 (cfengine3-format-function-docstring): New function.
3105 (cfengine3-make-syntax-cache): New function.
3106 (cfengine3-documentation-function): New function: ElDoc glue.
3107 (cfengine3-completion-function): New function: completion glue.
3108 (cfengine3-mode): Set `compile-command',
3109 `eldoc-documentation-function', and add to
3110 `completion-at-point-functions'.
3112 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3114 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3115 `tramp-current-connection'.
3117 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3119 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3120 nil/self/true/false with "end of symbol".
3122 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3124 * subr.el (version-regexp-alist): Fix a typo.
3126 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3128 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3129 "en_US.utf8" and "LC_CTYPE" to "".
3130 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3131 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3133 2013-11-15 Leo Liu <sdl.web@gmail.com>
3135 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3137 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3139 * progmodes/gud.el (ctl-x-map):
3140 Remove C-x SPC binding. (Bug#12342)
3141 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3143 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3145 * subr.el (version-regexp-alist):
3146 Recognize hg, svn and darcs versions as snapshot versions.
3148 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3149 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3150 (ruby--encoding-comment-required-p): Extract from
3151 `ruby-mode-set-encoding'.
3152 (ruby-mode-set-encoding): Add the ability to always insert an
3153 utf-8 encoding comment. Fix and simplify coding comment update
3156 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3158 * net/tramp-gvfs.el (top): Run init code only when
3159 `tramp-gvfs-enabled' is not nil.
3160 (tramp-gvfs-enabled): Check also :system bus.
3162 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3164 Sync with upstream verilog-mode revision 78e66ba.
3165 * progmodes/verilog-mode.el (verilog-end-of-defun)
3166 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3167 (verilog-get-end-of-defun): Remove unused argument.
3168 (verilog-comment-depth): Remove unused local `e'.
3169 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3170 Don't pass arg to verilog-get-end-of-defun.
3172 2013-11-14 Glenn Morris <rgm@gnu.org>
3174 * obsolete/assoc.el (aget): Prefix dynamic variable.
3176 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3178 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3180 * widget.el, hfy-cmap.el: Remove bogus package version number.
3182 2013-11-13 Glenn Morris <rgm@gnu.org>
3184 * replace.el (replace-eval-replacement):
3185 Try to give more helpful error message. (Bug#15836)
3187 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3188 (archive-7z-update): Avoid custom type mismatches.
3190 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3192 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3194 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3195 address can be empty.
3197 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3198 Accept nil SWITCHES.
3199 (tramp-gvfs-handle-write-region): Implement APPEND.
3201 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3203 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3204 binary "|" operator and closing block args delimiter.
3205 Remove FIXME comment referring to Ruby 1.8-only syntax.
3206 (ruby-smie--implicit-semi-p): Not after "|" operator.
3207 (ruby-smie--closing-pipe-p): New function.
3208 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3209 (ruby-smie-rules): Indent after "|".
3211 2013-11-12 Glenn Morris <rgm@gnu.org>
3213 * ps-print.el (ps-face-attribute-list):
3214 Handle anonymous faces. (Bug#15827)
3216 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3218 * window.el (display-buffer-other-frame): Fix doc-string.
3221 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3223 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3225 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3227 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3228 (tramp-sh-handle-file-local-copy): Don't write a message when
3229 saving temporary files.
3231 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3232 both directories are remote.
3233 (tramp-smb-handle-directory-files): Do not return double entries.
3234 Do not expand full file names.
3235 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3236 (tramp-smb-handle-write-region): Implement APPEND.
3237 (tramp-smb-get-stat-capability): Fix a stupid bug.
3239 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3241 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3243 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3245 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3246 throwing error over malformed let/let* (bug#15814).
3248 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * iswitchb.el (iswitchb-mode): Mark obsolete.
3252 2013-11-11 Glenn Morris <rgm@gnu.org>
3254 * international/uni-bidi.el, international/uni-category.el:
3255 * international/uni-name.el, international/uni-numeric.el:
3256 Regenerate for Unicode 6.3.0.
3258 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3260 * net/tramp.el (tramp-methods):
3261 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3262 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3264 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3266 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3267 Force highlighting text after Summary keyword in doc face for rpm.
3269 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3271 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3272 available and the word has no wildcards, append one to the grep pattern.
3273 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3274 (ispell-complete-word): Call `ispell-lookup-words' with the value
3275 independent of `ispell-look-p'.
3277 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3279 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3281 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3284 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3287 (ruby-font-lock-keywords): Use backquote.
3289 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3291 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3292 (ruby-smie--backward-token): Only consider full-string matches.
3294 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3296 * faces.el (describe-face): Add distant-foreground.
3298 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3300 * progmodes/ruby-mode.el: Improve encoding comment handling.
3301 (ruby-encoding-magic-comment-style): New option.
3302 (ruby-custom-encoding-magic-comment-template): New option.
3303 (ruby--insert-coding-comment, ruby--detect-encoding):
3304 New functions extracted from `ruby-mode-set-encoding'.
3305 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3306 to control the style of the auto-inserted encoding comment.
3308 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3310 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3311 Use `smie-backward-sexp' with token argument.
3313 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3315 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3316 Remove instrumentation code.
3318 2013-11-08 Glenn Morris <rgm@gnu.org>
3320 * progmodes/autoconf.el (autoconf-mode):
3321 Tweak comment-start-skip. (Bug#15822)
3323 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3325 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3326 at bobp (bug#15826).
3327 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3329 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3331 * man.el (Man-start-calling): New macro, extracted from
3332 Man-getpage-in-background.
3333 (Man-getpage-in-background): Use it.
3334 (Man-update-manpage): New command.
3335 (Man-mode-map): Bind it.
3337 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3339 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3340 of "and", "or", "&&" and "||".
3341 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3342 argument. Prohibit opening curly brace because it could only be a
3343 block opener in that position.
3344 (ruby-smie--forward-token, ruby-smie--backward-token):
3345 Separate "|" from "&" or "*" going after it. That can happen in block
3347 (ruby-smie--indent-to-stmt): New function, seeks the end of
3348 previous statement or beginning of buffer.
3349 (ruby-smie-rules): Use it.
3350 (ruby-smie-rules): Check if there's a ":" before a curly block
3351 opener candidate; if there is, it's a hash.
3353 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3355 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3356 (cl--block-wrapper): Fix last accidental change.
3358 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3360 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3361 Instrument, in order to hunt failure on hydra.
3363 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3365 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3366 malformed bindings form (bug#15814).
3368 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3370 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3371 "." compared to " @ ". This incidentally fixes some indentation
3373 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3374 (ruby-smie-grammar): New tokens: "and" and "or".
3375 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3376 Exclude "and" and "or". Remove "do" in order to work around token
3378 (ruby-smie-rules): Add all infix tokens. Handle the case of
3379 beginning-of-buffer.
3381 2013-11-06 Glenn Morris <rgm@gnu.org>
3383 * Makefile.in (setwins_almost, setwins_for_subdirs):
3384 Avoid accidental matches.
3386 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3388 * menu-bar.el (popup-menu): Use key-binding.
3390 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3392 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3393 menus, support also the menus produced by minor modes.
3396 2013-11-06 Leo Liu <sdl.web@gmail.com>
3398 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3399 DISTANCE to bound the search. All uses changed. (Bug#15808)
3401 2013-11-06 Glenn Morris <rgm@gnu.org>
3403 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3404 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3405 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3407 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3409 * electric.el (electric-indent-just-newline): New command.
3410 (electric-indent-mode-map): New keymap.
3411 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3412 Re-add :group which weren't redundant.
3414 * electric.el (electric-indent-local-mode): New minor mode.
3415 (electric-indent-functions-without-reindent): New var.
3416 (electric-indent-post-self-insert-function): Use it.
3417 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3419 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3421 * international/quail.el (quail-help): Be more explicit about the
3422 meaning of the labels shown on the keys. (Bug#15800)
3424 * startup.el (normal-top-level): Load the subdirs.el files before
3425 setting the locale environment. (Bug#15805)
3427 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3429 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3430 via arguments so as to get the right ones (bug#15418).
3432 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3434 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3436 Fix problems found while writing a test suite.
3438 * net/tramp-compat.el (tramp-compat-load): New defun.
3439 * net/tramp.el (tramp-handle-load): Use it.
3441 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3442 "(numberp ok-if-already-exists)" correctly.
3444 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3446 * international/characters.el (glyphless-char-display-control):
3449 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3451 * progmodes/python.el (python-mode):
3452 * progmodes/scheme.el (scheme-mode):
3453 * progmodes/prolog.el (prolog-mode):
3454 * progmodes/ruby-mode.el (ruby-mode):
3455 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3456 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3458 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3460 * rect.el (rectangle--highlight-for-redisplay):
3461 * emacs-lisp/smie.el (smie--next-indent-change):
3462 Use buffer-chars-modified-tick.
3464 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3466 * electric.el (electric-indent-post-self-insert-function):
3467 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3469 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3471 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3473 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3475 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3478 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3482 * progmodes/python.el: Fix up last change.
3483 (python-shell--save-temp-file): New function.
3484 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3485 `string' comes from the current buffer.
3486 (python-shell-send-string-no-output): Remove `msg' arg.
3487 (python--use-fake-loc): New var.
3488 (python-shell-buffer-substring): Obey it. Try to compensate for the
3489 extra coding line added by python-shell--save-temp-file.
3490 (python-shell-send-region): Use python-shell--save-temp-file and
3491 python-shell-send-file directly. Add `nomain' argument.
3492 (python-shell-send-buffer): Use python-shell-send-region.
3493 (python-electric-pair-string-delimiter): New function.
3494 (python-mode): Use it.
3496 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3498 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3499 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3500 environment and decoding all of the default-directory's to here
3502 (command-line): Decode also argv[0].
3504 * loadup.el: Error out if default-directory is a multibyte string
3505 when we are dumping.
3507 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3509 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3511 * emacs-lisp/package.el (package-menu-mode)
3512 (package-menu--print-info, package-menu--archive-predicate):
3513 Add Archive column to package list.
3515 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3517 Fix problems found while writing a test suite.
3519 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3520 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3521 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3522 to nil when running original file name handler. Otherwise,
3523 there are problems with constructs like "$$FOO".
3525 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3528 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3530 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3532 * subr.el (version<, version<=, version=):
3533 Update docstrings with information for snapshot versions.
3535 * helpers.el: New library for misc helper functions.
3536 (hash-table-keys): New function returning a list of hash keys.
3537 (hash-table-values): New function returning a list of hash values.
3539 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3541 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3542 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3544 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3546 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3547 checking whether point is after a 1-letter word.
3549 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3551 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3552 Don't infloop when expanding region over `multiline' syntax-type that
3553 begins a line (bug#15778).
3555 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3558 Make it into a proper minor mode.
3559 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3560 (rectangle-mark-mode-map): New keymap.
3561 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3563 2013-11-04 Glenn Morris <rgm@gnu.org>
3565 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3567 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3569 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3570 (ruby-smie-rules): Use smie-rule-parent instead.
3572 * emacs-lisp/smie.el (smie-rule-parent): Always call
3573 smie-indent-virtual rather than only for hanging tokens.
3574 (smie--next-indent-change): New helper command.
3576 2013-11-03 Glenn Morris <rgm@gnu.org>
3578 * Makefile.in (abs_srcdir): Remove.
3579 (emacs): Unset EMACSLOADPATH.
3581 2013-11-02 Glenn Morris <rgm@gnu.org>
3583 * Makefile.in (EMACS): Use a relative filename.
3584 (abs_top_builddir): Remove.
3585 (custom-deps, finder-data, autoloads): Use --chdir.
3587 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3589 Use relative filenames in TAGS files.
3590 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3591 (lisptagsfiles4, TAGS): Use relative file names.
3592 (TAGS-LISP): Remove.
3593 (maintainer-clean): No more TAGS-LISP file.
3595 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3596 (lisptagsfiles4): Use absolute filenames again.
3597 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3598 Remove all *loaddefs files, not just the first. Remove esh-groups.
3599 (maintainer-clean): Delete TAGS, TAGS-LISP.
3601 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3603 * emacs-lisp/package.el (package-version-join):
3604 Recognize snapshot versions.
3606 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3608 * subr.el (version-regexp-alist): Add support for snapshot versions.
3610 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3612 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3613 New function, replacement for `smie-rule-parent' for when we want to
3614 skip over our direct parent if it's an assignment token..
3615 (ruby-smie-rules): Use it.
3617 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3619 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3620 unconditionally. Remove now unnecessary forward declarations.
3621 Remove XEmacs-specific setup.
3622 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3623 (ruby-font-lock-syntactic-keywords)
3624 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3625 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3626 (ruby-here-doc-end-syntax): Remove.
3627 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3628 defined as function.
3630 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3632 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3634 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3636 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3637 table and abbrev table, `define-derived-mode' does that for us
3640 2013-11-01 Glenn Morris <rgm@gnu.org>
3642 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3643 files is atomic for some time, so no parallel compilation issues).
3645 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3647 * faces.el (face-x-resources): Add :distant-foreground.
3648 (region): Use :distant-foreground for gtk and ns.
3650 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3652 Allow multiple bibliographies when BibLaTeX is used rather than
3654 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3655 (reftex-locate-bibliography-files): Us it.
3657 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3659 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3660 allow comments in pbm files.
3662 * term/w32-win.el (dynamic-library-alist): Support newer versions
3663 of libjpeg starting with v7: look only for the DLL from the
3664 version against which Emacs was built.
3665 Support versions of libpng beyond 1.4.x.
3666 Support libtiff v4.x.
3668 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3670 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3671 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3673 (ruby-deep-arglist): Add property :type.
3675 2013-10-31 Glenn Morris <rgm@gnu.org>
3677 * Makefile.in (custom-deps, finder-data): No need to setq the target
3678 variables, we are in the right directory and the defaults work fine.
3680 2013-10-30 Glenn Morris <rgm@gnu.org>
3682 * Makefile.in (autoloads): Do not use abs_lisp.
3684 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3685 `newline' does not respect `standard-output', so use `princ'.
3687 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3689 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3690 * buff-menu.el (Buffer-menu--unmark): New function.
3691 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3693 2013-10-30 Glenn Morris <rgm@gnu.org>
3695 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3697 * emacs-lisp/package.el (lm-homepage): Declare.
3699 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3702 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3704 * Makefile.in (finder-data, autoloads, update-subdirs)
3705 (compile-main, compile-clean, compile-always, bootstrap-clean):
3706 Check return value of cd.
3707 (compile-calc): Remove.
3709 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3711 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3713 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3714 (byte-compile-and-folded): New function.
3715 (=, <, >, <=, >=): Use it.
3717 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3718 (path-separator, null-device, buffer-file-coding-system)
3719 (lpr-headers-switches): Check system-type before modifying them.
3720 (find-buffer-file-type-coding-system): Mark obsolete.
3721 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3722 find-file-not-found-set-buffer-file-coding-system.
3723 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3724 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3725 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3726 (w32-direct-print-region-helper, w32-direct-print-region-function)
3727 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3728 * startup.el (normal-top-level-add-subdirs-to-load-path):
3729 * ps-print.el (ps-print-region-function):
3730 * lpr.el (print-region-function): Use new name.
3732 * subr.el (custom-declare-variable-early): Remove function.
3733 (custom-declare-variable-list): Remove var.
3734 (error, user-error): Remove `while' loop.
3735 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3736 (user-emacs-directory-warning, locate-user-emacs-file):
3738 * simple.el (read-quoted-char-radix, read-quoted-char):
3739 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3741 * custom.el (custom-declare-variable-list): Don't process
3742 custom-declare-variable-list.
3744 * progmodes/python.el (python-shell-get-buffer): New function.
3745 (python-shell-get-process): Use it.
3746 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3747 Python which encoding was used. Don't split-string since we only care
3748 about the first line. Return the temp-file, if applicable.
3749 (python-shell-send-region): Tell compile.el how to turn locations in
3750 the temp-file into locations in the source buffer.
3752 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3754 * subr.el (undefined): Add missing behavior from the C code for
3757 * rect.el: Use lexical-binding. Add new rectangular region support.
3758 (rectangle-mark): New command.
3759 (rectangle--region): New var.
3760 (deactivate-mark-hook): Reset rectangle--region.
3761 (rectangle--extract-region, rectangle--insert-for-yank)
3762 (rectangle--highlight-for-redisplay)
3763 (rectangle--unhighlight-for-redisplay): New functions.
3764 (region-extract-function, redisplay-unhighlight-region-function)
3765 (redisplay-highlight-region-function): Use them to handle
3767 * simple.el (region-extract-function): New var.
3768 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3769 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3770 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3771 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3772 (redisplay-unhighlight-region-function)
3773 (redisplay-highlight-region-function): New vars.
3774 (redisplay--update-region-highlight): New function.
3775 (pre-redisplay-function): Use it.
3776 (exchange-point-and-mark): Don't deactivate the mark before
3777 reactivate-it anyway.
3778 * comint.el (comint-kill-region): Remove yank-handler argument.
3779 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3780 (delete-char): Remove property, since it's now part of their
3782 (self-insert-iso): Remove property since this command doesn't exist.
3784 * emacs-lisp/package.el (package--download-one-archive)
3785 (describe-package-1): Don't query the user about final newline.
3787 2013-10-29 Daniel Colascione <dancol@dancol.org>
3789 * net/tramp.el (tramp-methods): Document new functionality.
3790 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3791 tramp-hostname-checker if method provides one instead of scanning
3792 argument list for "%h" to decide hostname acceptability.
3794 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3796 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3797 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3798 Handle COPY-CONTENTS. (Bug#15737)
3800 2013-10-28 Daiki Ueno <ueno@gnu.org>
3803 (epa-file-cache-passphrase-for-symmetric-encryption):
3804 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3806 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3808 * image.el (defimage):
3809 (image-load-path): Doc fixes.
3811 2013-10-27 Alan Mackenzie <acm@muc.de>
3813 Indent statements in macros following "##" correctly.
3814 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3815 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3817 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3819 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3821 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3823 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3824 after `=' is probably a new expression.
3826 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3828 * man.el (man-imenu-title): New option.
3829 (Man-mode-map): Add menu. (Bug#15722)
3830 (Man-mode): Add imenu to menu.
3832 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3834 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3835 specific in what the first arg can be: a non-keyword word,
3836 string/regexp/percent literal opener, opening paren, or unary
3837 operator followed directly by word.
3839 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3841 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3842 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3843 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3844 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3845 Remove vars, they do not apply any more.
3846 (prolog-mode-abbrev-table): Remove redundant declaration.
3847 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3848 (prolog-use-smie): Remove.
3849 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3850 supported by prolog-electric-if-then-else-flag.
3851 (prolog-mode-variables, prolog-menu): Use setq-local.
3852 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3853 Remove binding to `Backspace' since this key doesn't exist anyway.
3854 Remove bindings for electric self-inserting keys.
3855 (prog-mode): Assume it's defined.
3856 (prolog-post-self-insert): New function.
3857 (prolog-mode): Use it.
3858 (prolog-indent-line, prolog-indent-level)
3859 (prolog-find-indent-of-matching-paren)
3860 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3861 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3862 (prolog-goto-next-paren, prolog-in-string-or-comment)
3863 (prolog-tokenize, prolog-inside-mline-comment)
3864 (prolog-find-start-of-mline-comment): Remove functions.
3865 (prolog-find-unmatched-paren, prolog-clause-end)
3866 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3867 (prolog-electric--if-then-else): Rename from
3868 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3869 (prolog-tokenize-searchkey): Remove const.
3870 (prolog-clause-info): Use forward-sexp.
3871 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3872 (prolog-electric-if-then-else): Remove commands.
3873 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3874 for use in post-self-insert-hook.
3875 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3876 for use in post-self-insert-hook.
3877 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3878 for use in post-self-insert-hook.
3879 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3880 adapt it for use in post-self-insert-hook.
3882 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3884 * emacs-lisp/ert.el (ert-run-tests-interactively):
3885 Use `completing-read'. (Bug#9756)
3887 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3889 * simple.el (line-move): Call line-move-1 instead of
3890 line-move-visual when the current window hscroll is zero, but
3891 temporary-goal-column indicates we will need to hscroll as result
3892 of the movement. (Bug#15712)
3894 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3896 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3897 capitalization. Use :visible instead of :active.
3898 Fix `ruby-indent-exp' reference. Add menu items for the generic
3899 commands that are used with SMIE.
3900 (ruby-do-end-to-brace): Insert space after `{'.
3902 2013-10-25 John Anthony <john@jo.hnanthony.com>
3904 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3906 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3908 2013-10-25 Glenn Morris <rgm@gnu.org>
3910 * vc/vc.el (vc-print-log): Don't use a working revision unless
3911 one was explicitly specified. (Bug#15322)
3913 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3915 * subr.el (add-to-list): Preserve return value in compiler-macro
3918 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3920 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
3921 result. Ask user to retry using '-all' flag. (Bug#15701)
3923 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
3925 * emacs-lisp/smie.el: New smie-config system.
3926 (smie-config): New defcustom.
3927 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
3928 (smie-config-guess, smie-config-save): New commands.
3929 (smie-config--mode-local, smie-config--buffer-local)
3930 (smie-config--trace, smie-config--modefuns): New vars.
3931 (smie-config--advice, smie-config--mode-hook)
3932 (smie-config--setter, smie-config-local, smie-config--get-trace)
3933 (smie-config--guess-value, smie-config--guess): New functions.
3934 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
3935 text properties. Treat "string fence" syntax like string syntax.
3937 * progmodes/sh-script.el (sh-use-smie): Change default.
3938 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
3939 (sh-var-value): Simplify by CSE.
3940 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
3941 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
3943 (sh-guess-basic-offset): Use cl-incf.
3944 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
3946 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
3948 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
3951 2013-10-24 Glenn Morris <rgm@gnu.org>
3953 * Makefile.in (abs_top_srcdir): Remove.
3954 (update-subdirs): Use relative path to update-subdirs.
3956 2013-10-24 Eli Zaretskii <eliz@gnu.org>
3958 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
3959 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
3960 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
3961 Call unmsys--file-name before expand-file-name, not after it.
3963 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
3965 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
3966 (ert-test-skipped): New error.
3967 (ert-skip, ert-stats-skipped): New defuns.
3968 (ert--skip-unless): New macro.
3969 (ert-test-skipped): New struct.
3970 (ert--run-test-debugger, ert-test-result-type-p)
3971 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
3972 (ert--stats-set-test-and-result, ert-char-for-test-result)
3973 (ert-string-for-test-result, ert-run-tests-batch)
3974 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
3975 Handle skipped tests. (Bug#9803)
3977 2013-10-24 Glenn Morris <rgm@gnu.org>
3979 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
3981 * Makefile.in (abs_top_srcdir): New, set by configure.
3982 (update-subdirs): Correct build-aux location.
3984 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
3986 * vc/vc.el (vc-print-root-log): Always set `default-directory'
3987 value, whether we could auto-deduce `backend', or not.
3989 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
3990 with parameters" example. Simplify the "is it block or is it
3991 hash" check, but also make it more thorough.
3993 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
3995 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
3997 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4002 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4005 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4007 * progmodes/compile.el (compilation-directory-matcher)
4008 (compilation-page-delimiter):
4009 Support GNU Make-4.0 directory quoting. (Bug#15678)
4011 2013-10-23 Leo Liu <sdl.web@gmail.com>
4013 * ido.el (ido-tidy): Handle read-only text.
4015 2013-10-23 Glenn Morris <rgm@gnu.org>
4017 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4018 (emacs, compile, compile-always):
4019 Quote entities that might contain whitespace.
4020 (custom-deps, finder-data, autoloads): Use abs_lisp.
4021 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4022 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4023 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4025 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4027 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4028 Use `following-char'.
4030 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4032 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4033 * progmodes/ruby-mode.el (ruby-smie-rules):
4034 Remove corresponding workaround. Fix indentation rule of ";" so it
4035 also applies when ";" is the parent.
4037 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4039 * frame.el (display-screens, display-pixel-height)
4040 (display-pixel-width, display-mm-width, display-backing-store)
4041 (display-save-under, display-planes, display-color-cells)
4042 (display-visual-class, display-monitor-attributes-list):
4043 Mention the optional ‘display’ argument in doc strings.
4045 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4047 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4048 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4050 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4052 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4053 TODO. Add "." after " @ ".
4054 (ruby-smie--at-dot-call): New function. Checks if point at method
4055 call with explicit target.
4056 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4057 to the method name tokens when it precedes them.
4058 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4059 (ruby-smie-rules): Add rule for indentation before and after "."
4062 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4064 * textmodes/remember.el (remember-diary-extract-entries):
4067 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4070 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4072 * progmodes/ruby-mode.el (ruby-smie-grammar):
4073 Add (almost) all infix operators.
4074 (ruby-smie--implicit-semi-p): Add new operator chars.
4076 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4078 (ruby-smie--args-separator-p): Check that there's no newline
4079 between method call and its arguments.
4081 2013-10-20 Alan Mackenzie <acm@muc.de>
4083 Allow comma separated lists after Java "implements".
4085 * progmodes/cc-engine.el (c-backward-over-enum-header):
4087 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4088 from a "disallowed" list in enum fontification.
4090 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4092 * startup.el (default-frame-background-mode): Remove unused defvar.
4094 * progmodes/verilog-mode.el (verilog-mode): Don't set
4095 comment-indent-function globally.
4097 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4099 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4100 Move Info menu item creation to ns-win.el.
4102 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4105 * menu-bar.el: Move GNUstep specific menus...
4107 * term/ns-win.el (ns-initialize-window-system): ... to here.
4109 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4111 * simple.el (newline): Only run post-self-insert-hook when
4112 called interactively.
4114 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4116 * icomplete.el (icomplete-with-completion-tables): Add :version.
4118 2013-10-19 Alan Mackenzie <acm@muc.de>
4120 Fix fontification bugs with constructors and const.
4122 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4123 CASE 2) Remove the check for the absence of a suffix construct
4124 after a function declaration with only types (no identifiers) in
4125 the parentheses. Also, accept a function declaration with just a
4126 type inside the parentheses, if this type can be positively
4127 recognised as such, or if a prefix keyword like "explicit" nails
4128 down the construct as a declaration.
4130 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4132 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4133 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4134 the problem whereby selecting a menu item that leads to a
4135 minibuffer prompt moves the cursor out of the minibuffer window,
4136 making it hard to type at the prompt. Suggested by Stefan Monnier
4137 <monnier@iro.umontreal.ca>.
4139 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4141 * menu-bar.el: Don't make Services menu.
4143 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4145 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4146 (ffap-alist): Use ffap-c++-mode for c++-mode.
4147 (ffap-c++-path): New variable.
4148 (ffap-c++-mode): New function.
4150 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4152 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4154 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4156 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4157 introduced on 2013-09-08, which results in an infinite loop
4158 requesting a password.
4160 2013-10-18 Glenn Morris <rgm@gnu.org>
4162 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4164 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4166 Sync with upstream verilog-mode revision 1a6ecec7.
4167 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4168 (verilog-mode-release-date): Remove.
4169 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4170 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4171 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4172 (verilog-auto-tieoff-ignore-regexp)
4173 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4174 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4175 (verilog-signals-with, verilog-dir-cache-preserving)
4176 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4178 (verilog-case-fold): New option, to control case folding in
4179 regexp searches, bug597.
4180 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4181 (verilog-string-match-fold, verilog-in-paren-count)
4182 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4183 (verilog-at-close-struct-p): New functions.
4184 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4185 (verilog-forward-sexp, verilog-set-auto-endcomments):
4186 (verilog-leap-to-case-head): Handle "unique0" case.
4187 (verilog-in-constraint-re): New constant.
4188 (verilog-keywords, verilog-type-font-keywords):
4189 Add some SystemVerilog 1800-2012 keywords.
4190 (verilog-label-be): Remove unimplemented argument, bug669.
4191 (verilog-batch-execute-func): When batch expanding clear
4192 create-lockfiles to prevent spurious user locks when a file ends
4194 (verilog-calculate-indent, verilog-calc-1)
4195 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4196 (verilog-do-indent): Fix indentation of nested constraints
4198 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4199 (verilog-auto-inst-param): Use verilog-string-match-fold.
4200 (verilog-read-inst-module-matcher):
4201 Fix AUTOINST on gate primitives with #1.
4202 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4203 Reads all user-defined typed variables.
4204 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4205 (verilog-signals-matching-regexp)
4206 (verilog-signals-not-matching-regexp, verilog-auto):
4207 Respect verilog-case-fold.
4208 (verilog-diff-report): Fix line count.
4209 (verilog-auto-assign-modport): Remove unused local `modi'.
4210 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4211 better handle multidimensional arrays.
4212 Fix packed array ports misadding bit index in AUTOINST, bug637.
4213 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4214 to not double-declare existing outputs and inputs, respectively.
4215 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4216 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4217 (verilog-sk-uvm-component): New skeleton.
4218 (verilog-submit-bug-report): Add verilog-case-fold,
4219 remove verilog-mode-release-date.
4221 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4223 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4226 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4228 * textmodes/remember.el (remember): Set buffer-offer-save in
4229 remember buffers (bug#13566).
4231 2013-10-18 Daniel Colascione <dancol@dancol.org>
4233 When evaluating forms in ielm, direct standard output to ielm
4234 buffer. Add new ielm-return-for-effect command. Remove trailing
4235 whitespace throughout.
4237 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4238 (ielm-return-for-effect): New command.
4239 (ielm-send-input): Accept optional `for-effect' parameter.
4240 (ielm-eval-input): Accept optional `for-effect' parameter.
4241 Bind `standard-output' to stream we create using
4242 `ielm-standard-output-impl'. Suppress printing result when
4244 (ielm-standard-output-impl): New function.
4245 (inferior-emacs-lisp-mode): Explain new features in documentation.
4247 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4251 * net/tramp.el (tramp-debug-message): Do not check for connection
4253 (tramp-message): Use "vector" connection property.
4255 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4256 (tramp-equal-remote, tramp-eshell-directory-change)
4257 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4258 (tramp-adb-handle-rename-file)
4259 * net/tramp-cmds.el (tramp-list-remote-buffers)
4260 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4261 * net/tramp-compat.el (tramp-compat-process-running-p)
4262 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4263 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4264 (tramp-gvfs-handle-rename-file)
4265 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4266 (tramp-set-file-uid-gid)
4267 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4268 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4271 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4272 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4273 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4274 (tramp-gw-open-network-stream): Suppress unrelated traces.
4276 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4277 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4278 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4279 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4280 connection property.
4282 * net/tramp-cache.el (top): Suppress traces when reading
4285 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4286 Refactor common code. Improve debug message.
4287 (tramp-maybe-open-connection)
4288 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4289 connection buffer too early.
4291 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4292 from `tramp-smb-actions-with-acl'.
4293 (tramp-smb-actions-set-acl): New defconst.
4294 (tramp-smb-handle-copy-directory)
4295 (tramp-smb-action-get-acl): New defun, renamed from
4296 `tramp-smb-action-with-acl'.
4297 (tramp-smb-action-set-acl): New defun.
4298 (tramp-smb-handle-set-file-acl): Rewrite.
4300 2013-10-17 Glenn Morris <rgm@gnu.org>
4302 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4304 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4306 * skeleton.el (skeleton-newline): Remove.
4307 (skeleton-internal-1): Use (insert "\n") instead.
4309 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4312 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4313 forward-sexp-function while we redo its job (bug#15613).
4315 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4317 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4318 represented by lists.
4320 2013-10-16 Glenn Morris <rgm@gnu.org>
4322 * tmm.el (tmm--history): New dynamic variable.
4323 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4325 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4327 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4328 (tramp-smb-errors): Add error messages.
4329 (tramp-smb-actions-with-acl): New defconst.
4330 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4331 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4332 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4333 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4334 (tramp-smb-get-stat-capability): Fix tests.
4336 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4338 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4341 2013-10-16 Glenn Morris <rgm@gnu.org>
4343 * ansi-color.el (ansi-color-drop-regexp):
4344 Add 1J, 1K, 2K. (Bug#15617)
4346 * files.el (hack-local-variables--warned-lexical): New.
4347 (hack-local-variables):
4348 Warn about misplaced lexical-binding. (Bug#15616)
4350 * net/eww.el (eww-render): Always set eww-current-url,
4351 and update header line. (Bug#15622)
4352 (eww-display-html): ... Rather than just doing it here.
4354 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4356 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4357 menu navigations commands.
4359 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4361 * progmodes/subword.el (subword-capitalize): Be careful when
4362 the search for [[:alpha:]] fails (bug#15580).
4364 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4366 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4367 to commands that scroll the menu.
4369 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4371 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4372 Handle methods ending with `?' and `!'.
4374 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4376 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4377 `japanese-cp932' to `cp932' to fix the problem where saving a
4378 source file written in Shift_JIS twice would end up having
4379 `coding: japanese-cp932' which Ruby could not recognize.
4380 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4381 in `ruby-encoding-map'.
4382 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4383 doesn't need to be explicitly declared in magic comment.
4384 (ruby-encoding-map): Add type declaration for better customize UI.
4386 2013-10-13 Glenn Morris <rgm@gnu.org>
4388 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4389 Occur buffers are read-only. http://bugs.debian.org/720775
4391 * emacs-lisp/authors.el (authors-fixed-entries):
4392 Comment out old alpha stuff.
4394 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4396 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4397 to `after-save-hook' instead of `before-save-hook'.
4398 (ruby-mode-set-encoding): Use the value of coding system used to
4399 write the file. Call `basic-save-buffer-1' after modifying the
4402 2013-10-13 Alan Mackenzie <acm@muc.de>
4404 Fix indentation/fontification of Java enum with
4405 "implements"/generic.
4407 * progmodes/cc-engine.el (c-backward-over-enum-header):
4408 Extracted from the three other places and enhanced to handle generics.
4409 (c-inside-bracelist-p): Uses new function above.
4410 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4412 (c-font-lock-enum-tail): Uses new function above.
4414 2013-10-13 Kenichi Handa <handa@gnu.org>
4416 * international/mule-cmds.el (select-safe-coding-system): Remove a
4417 superfluous condition in chekcing whether a coding system is safe
4420 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4422 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4424 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4426 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4428 2013-10-13 Glenn Morris <rgm@gnu.org>
4430 * menu-bar.el (menu-bar-update-buffers):
4431 Unify Buffers menu prompt string. (Bug#15576)
4433 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4435 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4437 (authors-fixed-entries): Use accented form of name.
4439 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4441 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4442 method calls (bug#15594).
4443 (ruby-smie--args-separator-p): New function.
4444 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4445 recognize paren-free method calls.
4447 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4448 internals of universal-argument.
4450 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4452 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4453 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4454 dropped menu on second mouse click on the menu bar.
4456 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4458 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4459 (explicit-shell-file-name): Declare.
4460 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4461 (sh-completion-at-point-function): New function.
4463 (sh-smie--keyword-p): Remove unused argument.
4464 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4466 (sh-set-shell): Always setup SMIE, even if we use the
4467 old indentation code.
4469 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4471 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4473 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4474 predicate would return nil are almost non-existent.
4475 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4477 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4478 cache also after commands that modify the buffer but don't move
4481 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4483 * env.el (substitute-env-in-file-name): New function.
4484 (substitute-env-vars): Extend the meaning of the optional arg.
4486 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4488 * term/w32-win.el (dynamic-library-alist): Define separate lists
4489 of GIF DLLs for versions before and after 5.0.0 of giflib.
4492 2013-10-10 João Távora <joaotavora@gmail.com>
4494 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4495 not locked, use last revision and current source as
4496 defaults. (Bug#15569)
4498 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4500 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4503 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4505 * window.el (pop-to-buffer-same-window): Fix doc-string.
4508 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4510 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4512 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4514 * calendar/icalendar.el (icalendar-import-file):
4515 Fix interactive spec. (Bug#15482)
4517 2013-10-10 Glenn Morris <rgm@gnu.org>
4519 * desktop.el (desktop-save): Default to saving in .emacs.d,
4520 since PWD is no longer in desktop-path by default. (Bug#15319)
4522 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4523 now that text mode has a menu with the same entry.
4524 (menu-bar-text-mode-auto-fill): Remove now unused func.
4525 * textmodes/text-mode.el (text-mode-map):
4526 Use auto-fill help text from menu-bar.el.
4528 2013-10-10 John Anthony <john@jo.hnanthony.com>
4530 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4532 2013-10-09 Juri Linkov <juri@jurta.org>
4534 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4535 instead of this-command-keys. Add universal-argument-more and
4536 universal-argument-minus to the list of prefix commands. (Bug#15568)
4538 2013-10-09 Glenn Morris <rgm@gnu.org>
4540 * vc/vc-svn.el (vc-svn-create-repo):
4541 Expand paths in file://... url. (Bug#15446)
4543 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4545 (authors): Remove unused local variables.
4547 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4549 * profiler.el: Create a more coherent calltree from partial backtraces.
4550 (profiler-format): Hide the tail with `invisible' so that C-s can still
4551 find the hidden elements.
4552 (profiler-calltree-depth): Don't recurse so enthusiastically.
4553 (profiler-function-equal): New hash-table-test.
4554 (profiler-calltree-build-unified): New function.
4555 (profiler-calltree-build): Use it.
4556 (profiler-report-make-name-part): Indent the calltree less.
4557 (profiler-report-mode): Add visibility specs for profiler-format.
4558 (profiler-report-expand-entry, profiler-report-toggle-entry):
4559 Expand the whole subtree when provided with a prefix arg.
4561 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4563 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4565 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4566 hanging iuwu-mod token.
4567 (ruby-smie--forward-token): Do not include a dot after a token in
4569 (ruby-smie--backward-token): Likewise.
4571 2013-10-08 Juri Linkov <juri@jurta.org>
4573 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4574 to isearch-other-control-char.
4575 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4576 and isearch-post-command-hook to post-command-hook.
4577 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4578 and isearch-post-command-hook from post-command-hook.
4579 (isearch-unread-key-sequence)
4580 (isearch-reread-key-sequence-naturally)
4581 (isearch-lookup-scroll-key, isearch-other-control-char)
4582 (isearch-other-meta-char): Remove functions.
4583 (isearch-pre-command-hook, isearch-post-command-hook):
4584 New functions based on isearch-other-meta-char rewritten
4585 relying on the new behavior of overriding-terminal-local-map
4586 that does not replace the local keymaps any more. (Bug#15200)
4588 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4590 Support menus on text-mode terminals.
4591 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4594 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4596 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4597 Move here from mouse.el.
4598 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4600 (tty-menu-navigation-map): New map for TTY menu navigation.
4602 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4604 * frame.el (display-mouse-p): Report text-mode mouse as available
4606 (display-popup-menus-p): Report availability if mouse is
4607 available; don't condition on window-system.
4609 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4610 (tty-menu-selected-face): New faces.
4612 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4614 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4615 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4616 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4617 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4619 (lisp-mode-variables): New `elisp' argument.
4620 (emacs-lisp-mode): Use it.
4621 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4622 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4624 * indent.el: Use lexical-binding.
4625 (indent-region): Add progress reporter.
4626 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4628 (indent--next-tab-stop): New function to implement this behavior.
4629 (tab-to-tab-stop, move-to-tab-stop): Use it.
4631 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4633 * indent.el (indent-rigidly--current-indentation): New function.
4634 (indent-rigidly-map): New var.
4635 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4637 2013-10-08 Bastien Guerry <bzg@gnu.org>
4639 * register.el (insert-register): Fix 2013-10-07 change.
4641 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4643 * progmodes/perl-mode.el: Use lexical-binding.
4644 Remove redundant :group args.
4645 (perl-nochange): Change default to be closer to other major modes's
4647 (perl-indent-line): Don't consider text on current line as a
4648 valid beginning of function from which to indent.
4650 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4651 with more than one argument (bug#15538).
4653 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4655 * vc/pcvs.el: Use lexical-binding.
4656 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4657 environment of `eval'.
4658 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4659 than a list of expressions. Adjust callers.
4660 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4662 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4664 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4665 case of the dot in a chained method call being on the following line.
4667 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4669 * electric.el (electric-indent-inhibit): New var.
4670 (electric-indent-post-self-insert-function): Use it.
4671 * progmodes/python.el (python-mode): Set it.
4673 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4676 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4678 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4679 (css-mode): Use electric-indent-chars.
4681 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4682 (font-lock-beg, font-lock-end): Move before first use.
4683 (nxml-mode): Use syntax-propertize-function.
4684 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4685 (nxml-extend-after-change-region): Remove.
4686 * nxml/xmltok.el: Use lexical-binding.
4687 (xmltok-save): Use `declare'.
4688 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4689 * nxml/nxml-util.el: Use lexical-binding.
4690 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4692 * nxml/nxml-ns.el: Use lexical-binding.
4693 (nxml-ns-save): Use `declare'.
4694 (nxml-ns-prefixes-for): Avoid add-to-list.
4695 * nxml/rng-match.el: Use lexical-binding.
4696 (rng--ipattern): Use cl-defstruct.
4697 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4698 (rng-cons-group-after, rng-subst-group-after)
4699 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4700 Use closures instead of `(lambda...).
4702 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4704 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4707 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4708 Use `tramp-handle-insert-file-contents'.
4709 (tramp-gvfs-handle-insert-file-contents): Remove function.
4711 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4712 Use `save-restriction' in order to keep markers.
4714 * net/trampver.el: Update release number.
4716 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4718 * progmodes/compile.el (compilation-parse-errors):
4719 Use compilation--put-prop.
4720 (compilation--ensure-parse): Check compilation-multiline.
4722 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4724 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4727 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4729 * progmodes/ruby-mode.el: Fix recently added tests.
4730 (ruby-smie-grammar): Add - and +.
4731 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4732 (ruby-smie--backward-id): New functions.
4733 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4734 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4737 2013-10-07 Leo Liu <sdl.web@gmail.com>
4739 * register.el (register-preview-delay)
4740 (register-preview-functions): New variables.
4741 (register-read-with-preview, register-preview)
4742 (register-describe-oneline): New functions.
4743 (point-to-register, window-configuration-to-register)
4744 (frame-configuration-to-register, jump-to-register)
4745 (number-to-register, view-register, insert-register)
4746 (copy-to-register, append-to-register, prepend-to-register)
4747 (copy-rectangle-to-register): Use register-read-with-preview to
4748 read register. (Bug#15525)
4750 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4752 * net/network-stream.el (network-stream-open-starttls): Don't add
4753 --insecure if it's already present, because that gnutls-cli
4754 rejects getting that parameter twice.
4756 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4758 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4761 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4763 * newcomment.el (comment-use-global-state): Change default value
4764 to t, mark obsolete (Bug#15251).
4765 (comment-beginning): In addition to `comment-to-syntax', check the
4766 value of `comment-use-global-state'.
4768 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4771 (ruby-comment-column): Follow the global default, by default.
4772 (ruby-smie-grammar): Add assignment syntax.
4773 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4774 open-paren, a comma, or a \.
4775 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4776 and line continuations.
4777 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4778 followed by implicit semi-colons. Add rule for string concatenation
4779 and for indentation at BOB.
4780 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4782 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4783 calling next-sexp, since next-token may have skipped chars which
4784 next-sexp doesn't know should be skipped!
4786 2013-10-05 Leo Liu <sdl.web@gmail.com>
4788 * progmodes/octave.el (octave-send-region):
4789 Call compilation-forget-errors.
4791 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4793 * vc/vc-svn.el (vc-svn-find-admin-dir):
4794 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4795 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4796 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4797 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4799 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4803 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4805 * subr.el (read-passwd): Hide chars even when called within a context
4806 where after-change-functions is disabled (bug#15501).
4807 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4808 until we removed ourself from overriding-terminal-local-map.
4810 2013-10-04 Leo Liu <sdl.web@gmail.com>
4812 * progmodes/octave.el (inferior-octave-mode):
4813 Call compilation-forget-errors.
4815 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4817 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4819 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4821 * net/secrets.el (secrets-create-collection): Add optional
4822 argument ALIAS. Use proper Label keyword. Append ALIAS as
4823 dbus-call-method argument. (Bug#15516)
4825 2013-10-04 Leo Liu <sdl.web@gmail.com>
4827 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4828 (inferior-octave-compilation-font-lock-keywords): New variables.
4829 (compilation-error-regexp-alist)
4830 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4831 (inferior-octave-mode): Use compilation-shell-minor-mode.
4833 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4835 * minibuffer.el (completion--replace): Be careful that `end' might be
4838 2013-10-03 Daiki Ueno <ueno@gnu.org>
4840 Add support for package signature checking.
4841 * emacs-lisp/package.el (url-http-file-exists-p)
4842 (epg-make-context, epg-context-set-home-directory)
4843 (epg-verify-string, epg-context-result-for)
4844 (epg-signature-status, epg-signature-to-string)
4845 (epg-check-configuration, epg-configuration)
4846 (epg-import-keys-from-file): Declare.
4847 (package-check-signature): New user option.
4848 (package-unsigned-archives): New user option.
4849 (package-desc): Add `signed' field.
4850 (package-load-descriptor): Set `signed' field if .signed file exists.
4851 (package--archive-file-exists-p): New function.
4852 (package--check-signature): New function.
4853 (package-install-from-archive): Check package signature.
4854 (package--download-one-archive): Check archive signature.
4855 (package-delete): Remove .signed file.
4856 (package-import-keyring): New command.
4857 (package-refresh-contents): Import default keyring.
4858 (package-desc-status): Add "unsigned" status.
4859 (describe-package-1, package-menu--print-info)
4860 (package-menu-mark-delete, package-menu--find-upgrades)
4861 (package-menu--status-predicate): Support "unsigned" status.
4863 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4865 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4866 the new compilation scheme using the new byte-codes.
4868 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4869 (byte-pophandler): New byte codes.
4870 (byte-goto-ops): Adjust accordingly.
4871 (byte-compile--use-old-handlers): New var.
4872 (byte-compile-catch): Use new byte codes depending on
4873 byte-compile--use-old-handlers.
4874 (byte-compile-condition-case--old): Rename from
4875 byte-compile-condition-case.
4876 (byte-compile-condition-case--new): New function.
4877 (byte-compile-condition-case): New function that dispatches depending
4878 on byte-compile--use-old-handlers.
4879 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4882 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4883 Optimize under `condition-case' and `catch' if
4884 byte-compile--use-old-handlers is nil.
4885 (disassemble-offset): Handle new bytecodes.
4887 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4889 * subr.el (error): Use `declare'.
4890 (decode-char, encode-char): Use advertised-calling-convention instead
4891 of the docstring to discourage use of the `restriction' arg.
4893 2013-10-03 Daiki Ueno <ueno@gnu.org>
4895 * epg.el (epg-verify-file): Add a comment saying that it does not
4896 notify verification error as a return value nor a signal.
4897 (epg-verify-string): Ditto.
4899 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4901 * progmodes/compile.el (compilation-start): Try globbing the arg to
4904 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4906 Sync with Tramp 2.2.8.
4908 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4909 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4910 * net/trampver.el: Update release number.
4912 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4914 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4915 and default-process-coding-system for darwin only.
4917 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
4919 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
4921 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
4923 * vc/vc-git.el (vc-git-grep): Disable pager.
4925 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
4927 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
4928 Use :url instead of :homepage, as per
4929 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
4931 * newcomment.el (comment-beginning): When `comment-use-syntax' is
4932 non-nil, use `syntax-ppss' (Bug#15251).
4934 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4936 * progmodes/octave.el (inferior-octave-startup-file):
4937 Prefer ~/.emacs.d/init_octave.m.
4939 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
4941 * emacs-lisp/package.el (package-desc-from-define):
4942 Accept additional arguments as plist, convert them to an alist and store
4943 them in the `extras' slot.
4944 (package-generate-description-file): Convert extras alist back to
4945 plist and append to the `define-package' form arguments.
4946 (package--alist-to-plist): New function.
4947 (package--ac-desc): Add `extras' slot.
4948 (package--add-to-archive-contents): Check if the archive-contents
4949 vector is long enough, and if it is, pass its `extras' slot value
4950 to `package-desc-create'.
4951 (package-buffer-info): Call `lm-homepage', pass the returned value
4952 to `package-desc-from-define'.
4953 (describe-package-1): Render the homepage button (Bug#13291).
4955 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4956 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
4958 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
4960 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4961 and default-process-coding-system to utf-8-unix (Bug#15402).
4963 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
4965 * subr.el (looking-back): Do not recommend using looking-back.
4967 2013-09-28 Alan Mackenzie <acm@muc.de>
4969 Fix indentation/fontification of Java enum with "implements".
4971 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
4972 regexp which matches "implements", etc., in Java.
4973 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
4974 specifier clauses coming after "enum".
4975 * progmodes/cc-fonts.el (c-font-lock-declarations)
4976 (c-font-lock-enum-tail): Check for extra specifier clauses coming
4979 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
4981 * faces.el (region): Change ns_selection_color to
4982 ns_selection_fg_color, add ns_selection_bg_color.
4984 2013-09-28 Leo Liu <sdl.web@gmail.com>
4986 * progmodes/octave.el (inferior-octave-completion-table)
4987 (inferior-octave-completion-at-point): Minor tweaks.
4989 * textmodes/ispell.el (ispell-lookup-words): Rename from
4990 lookup-words. (Bug#15460)
4991 (lookup-words): Obsolete.
4992 (ispell-complete-word, ispell-command-loop): All uses changed.
4994 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4996 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
4997 (octave-mode-menu): Add octave-send-buffer.
4998 (octave-send-buffer): New function.
5000 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5002 * progmodes/octave.el (octave-mode-map): Add key binding for
5004 (octave-mode-menu): Add octave-lookfor.
5005 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5007 (octave-lookfor): New function.
5009 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5011 * emacs-lisp/cl-macs.el:
5012 (cl--loop-destr-temps): Remove.
5013 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5015 (cl--loop-set-iterator-function): New function.
5016 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5017 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5018 Bind `it' with `let' instead of substituting it with `cl-subst'.
5019 (cl--unused-var-p): New function.
5020 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5021 Eliminate some unused variable warnings (bug#15326).
5023 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5025 * doc-view.el (doc-view-scale-reset): Rename from
5026 `doc-view-reset-zoom-level'.
5027 (doc-view-scale-adjust): New command.
5028 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5029 `doc-view-scale-adjust'.
5031 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5033 * doc-view.el (doc-view-reset-zoom-level): New command.
5034 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5035 zoom commands (bug#15466).
5037 2013-09-26 Kenichi Handa <handa@gnu.org>
5039 * international/quail.el (quail-help): Make it not a command.
5041 2013-09-26 Leo Liu <sdl.web@gmail.com>
5043 * minibuffer.el (completion-all-sorted-completions): Make args
5044 optional as they are.
5046 2013-09-25 Daniel Colascione <dancol@dancol.org>
5048 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5049 specs are and that they're not evaluated.
5051 2013-09-24 Sam Steingold <sds@gnu.org>
5053 * midnight.el (clean-buffer-list-kill-regexps)
5054 (clean-buffer-list-kill-buffer-names): Update for the new Man
5055 buffer naming which includes the object name.
5057 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5059 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5060 (eshell-parse-command, eshell-parse-pipeline): Use it since
5061 eshell-separate-commands requires a dynamic scoped var.
5062 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5064 2013-09-23 Leo Liu <sdl.web@gmail.com>
5066 * autoinsert.el (auto-insert-alist): Make the value of
5067 lexical-binding match its file setting.
5069 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5071 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5073 * autoarg.el (autoarg-kp-digit-argument):
5074 * electric.el (Electric-command-loop):
5075 * kmacro.el (kmacro-step-edit-insert):
5076 Do not set universal-argument-num-events.
5078 2013-09-22 Leo Liu <sdl.web@gmail.com>
5080 * files.el (interpreter-mode-alist): Add octave.
5082 2013-09-21 Alan Mackenzie <acm@muc.de>
5084 C++: fontify identifier in declaration following "public:" correctly.
5085 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5086 to match "public", etc.
5087 (c-decl-prefix-re): Add ":" into the C++ value.
5088 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5089 bit. Add a check for a ":" preceded by "public", etc.
5091 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5093 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5094 recognized by GDB 7.5 and later.
5096 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5098 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5100 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5102 * subr.el (internal--call-interactively): New const.
5103 (called-interactively-p): Use it (bug#3984).
5105 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5107 * vc/pcvs.el (cvs-mode-ignore):
5108 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5109 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5111 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5113 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5114 (eshell-ls-orig-insert-directory): Remove.
5115 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5116 (eshell-ls-use-in-dired): Use advice-add/remove.
5117 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5118 Add `orig-fun' arg for use in :around advice.
5119 Make it check (redundantly) eshell-ls-use-in-dired.
5121 2013-09-19 Glenn Morris <rgm@gnu.org>
5123 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5125 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5127 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5129 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5131 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5132 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5133 (tramp-get-remote-python): New defuns.
5134 (tramp-get-remote-uid-with-perl)
5135 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5136 contributed by yary <not.com@gmail.com> (tiny change).
5137 (tramp-get-remote-uid-with-python)
5138 (tramp-get-remote-gid-with-python): New defuns. Python code
5139 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5140 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5142 2013-09-19 Glenn Morris <rgm@gnu.org>
5144 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5146 * eshell/em-unix.el (eshell-remove-entries):
5147 Rename argument to avoid name-clash with global `top-level'.
5149 * eshell/esh-proc.el (eshell-kill-process-function):
5150 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5151 (eshell-reset-after-proc): Remove unused arg `proc'.
5153 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5154 (directory-files-and-attributes): Mark unused arg.
5156 * eshell/em-unix.el (eshell-remove-entries):
5157 Remove unused arg `path'. Update callers.
5159 * eshell/em-hist.el (eshell-hist-parse-arguments):
5160 Remove unused arg `silent'. Update callers.
5162 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5163 Fix (f)boundp mix-up.
5165 * eshell/em-smart.el (eshell-smart-scroll-window)
5166 (eshell-disable-after-change):
5167 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5169 2013-09-18 Alan Mackenzie <acm@muc.de>
5171 Fix fontification of type when followed by "const".
5172 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5173 "known" types from fontification.
5175 2013-09-18 Glenn Morris <rgm@gnu.org>
5177 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5178 (chart-face-list): Drop Emacsen without display-color-p.
5180 * net/eww.el (libxml-parse-html-region): Declare.
5181 (eww-display-html): Explicit error if no libxml2 support.
5183 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5185 * image.el (image-type-from-buffer, image-multi-frame-p):
5186 Remove --without-x warning/error.
5188 * mouse.el (mouse-yank-primary):
5189 * term.el (term-mouse-paste):
5190 Reorder to silence --without-x compilation.
5192 * mpc.el (doc-view-mode): Silence --without-x compilation.
5194 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5195 Silence --without-x compilation.
5197 * progmodes/gud.el (gud-find-file, gud-mode):
5198 Silence --without-x compilation.
5199 (tooltip-mode): Declare.
5201 * wdired.el (dired-backup-overwrite): Remove declaration.
5202 (wdired-mode-map): Add doc string.
5204 * custom.el (x-get-resource): Declare.
5206 * eshell/em-glob.el (ange-cache):
5207 * eshell/em-unix.el (ange-cache): Declare.
5209 * faces.el (x-display-list, x-open-connection, x-get-resource):
5212 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5213 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5216 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5218 * net/gnutls.el (gnutls-log-level): Declare.
5220 * net/shr.el (image-size, image-animate): Declare.
5222 * simple.el (font-info): Declare.
5224 * subr.el (x-popup-dialog): Declare.
5226 * term/common-win.el (x-select-enable-primary)
5227 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5230 * term/ns-win.el (x-handle-args): Declare.
5232 * term/x-win.el (x-select-enable-clipboard): Declare.
5234 * term/w32-win.el (create-default-fontset): Declare.
5236 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5239 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5240 (fit-frame-to-buffer): Explicit error if --without-x.
5241 (mouse-autoselect-window-select): Silence compiler.
5243 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5245 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5246 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5247 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5248 * eshell/esh-util.el (eshell-sublist):
5249 Remove unused local variables.
5251 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5253 * textmodes/two-column.el: Make 2C-split work for --without-x.
5254 (scroll-bar-columns): Autoload.
5255 (top-level): Require fringe when compiling.
5257 2013-09-18 Leo Liu <sdl.web@gmail.com>
5259 * subr.el (add-hook): Robustify to handle closure as well.
5261 2013-09-17 Glenn Morris <rgm@gnu.org>
5263 * simple.el (messages-buffer-mode-map): Unbind "g".
5265 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * help-mode.el (help-mode-finish): Use derived-mode-p.
5268 Remove obsolete highlighting.
5270 * play/life.el (life-mode): Use define-derived-mode. Derive from
5272 (life): Let-bind inhibit-read-only.
5273 (life-setup): Avoid `setq'. Use `life-mode'.
5275 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5276 which should not be needed any more.
5277 (package-menu-refresh, package-menu-describe-package): Use user-error.
5279 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5280 (eshell-post-rewrite-command-hook): Make obsolete.
5281 (eshell-parse-command): Simplify.
5282 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5283 (eshell--cmd): Declare.
5284 (eshell-parse-pipeline): Remove unused var `final-p'.
5285 Pass a dynvar to eshell-post-rewrite-command-hook.
5286 Implement the new eshell-post-rewrite-command-function.
5287 (eshell-invoke-directly): Remove unused arg `input'.
5288 * eshell/esh-io.el (eshell-io-initialize):
5289 Use eshell-post-rewrite-command-function (bug#15399).
5290 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5291 adjust to new calling convention.
5292 (eshell-create-handles): Rename args to avoid clashing with dynvar
5295 2013-09-17 Glenn Morris <rgm@gnu.org>
5297 * simple.el (messages-buffer-mode): New major mode.
5298 (messages-buffer): New function.
5299 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5300 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5301 (ert-run-test): Use `messages-buffer' function.
5302 (ert--force-message-log-buffer-truncation): Ignore read-only.
5303 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5304 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5306 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5308 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5310 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5312 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5314 * icomplete.el (icomplete-in-buffer): New var.
5315 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5316 vars and replace them with functions.
5317 (icomplete-minibuffer-setup): Adjust accordingly.
5318 (icomplete--completion-table, icomplete--completion-predicate)
5319 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5321 (icomplete-forward-completions, icomplete-backward-completions)
5322 (icomplete-simple-completing-p, icomplete-exhibit)
5323 (icomplete-completions): Use them.
5324 (icomplete--in-region-buffer): New var.
5325 (icomplete--in-region-setup): New function.
5326 (icomplete-mode): Use it.
5328 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5330 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5331 return args and options.
5332 (eshell-eval-using-options): Use the new return value of
5333 eshell--do-opts to set the options's vars in their scope.
5334 (eshell--set-option): Rename from eshell-set-option.
5336 (eshell--process-option): Rename from eshell-process-option.
5338 (eshell--process-args): Use an `opt-vals' alist to store the options's
5339 values during their processing and return them additionally to the
5342 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5344 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5345 continuation character an operator, as far as indentation is
5346 concerned (Bug#15369).
5348 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5350 * window.el (window--state-put-2): Don't process buffer state
5351 when buffer doesn't exist any more (Bug#15382).
5353 2013-09-15 Glenn Morris <rgm@gnu.org>
5355 * eshell/em-unix.el (eshell/rm):
5356 Make -f ignore missing files. (Bug#15373)
5358 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5359 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5360 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5362 2013-09-14 Glenn Morris <rgm@gnu.org>
5364 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5366 2013-09-13 Glenn Morris <rgm@gnu.org>
5368 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5369 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5371 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5373 * frame.el (x-focus-frame): Mark as declared in frame.c.
5375 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5377 * ls-lisp.el: Use advice-add.
5378 (original-insert-directory): Remove.
5379 (ls-lisp--insert-directory): Rename from insert-directory; add
5380 `orig-fun' argument.
5381 (insert-directory): Advise.
5383 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5385 * term.el (term-emulate-terminal): Decode the command string
5386 before passing it to term-command-hook. (Bug#15337)
5388 2013-09-13 Glenn Morris <rgm@gnu.org>
5390 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5392 * eshell/esh-ext.el (eshell-search-path): Declare.
5394 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5395 Otherwise an error occurs if eshell-dirs module not loaded.
5397 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5399 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5401 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5402 `tramp-check-proper-host'. Check for a valid method name.
5404 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5405 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5406 * net/tramp-sh.el (tramp-maybe-open-connection):
5407 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5409 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5410 also for hash values.
5412 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5414 * term/ns-win.el (parameters): Don't declare as dynamic.
5415 (before-make-frame-hook): Don't add ineffective function.
5417 * eshell/*.el: Use lexical-binding (bug#15231).
5419 2013-09-12 Kenichi Handa <handa@gnu.org>
5421 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5423 2013-09-12 Glenn Morris <rgm@gnu.org>
5425 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5426 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5428 * subr.el (do-after-load-evaluation): Also give compiler warnings
5429 when obsolete files are used (except by obsolete files).
5431 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5432 in the status output, assume `filename' is the first. (Bug#15322)
5434 * vc/vc.el (vc-deduce-fileset): Doc fix.
5436 * calc/calc-help.el (Info-goto-node):
5437 * progmodes/cperl-mode.el (Info-find-node):
5438 * vc/ediff.el (Info-goto-node): Update declarations.
5440 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5442 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5443 (vc-bzr-pull): Require vc-dispatcher.
5444 * vc/vc-git.el (vc-compilation-mode): Declare.
5445 (vc-git-pull): Require vc-dispatcher.
5447 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5449 * progmodes/octave.el (help-button-action): Declare.
5451 * shell.el (shell-directory-tracker): Output error as a message
5452 rather than just returning it as a string.
5453 (shell-process-pushd): Remove useless use of message.
5455 * dframe.el (dframe-timer-fn):
5456 * files.el (dir-locals-read-from-file):
5457 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5459 * reveal.el (reveal-post-command):
5460 * saveplace.el (load-save-place-alist-from-file):
5461 * shell.el (shell-resync-dirs):
5462 * w32-common-fns.el (x-get-selection-value):
5463 * emacs-lisp/copyright.el (copyright-find-copyright):
5464 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5465 * emulation/tpu-edt.el (tpu-copy-keyfile):
5466 * play/bubbles.el (bubbles--mark-neighbourhood):
5467 * progmodes/executable.el
5468 (executable-make-buffer-file-executable-if-script-p):
5469 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5471 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5473 Cleanup Eshell to rely less on dynamic scoping.
5474 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5475 last-value, and ext-command here. Bind `args' closer to `body'.
5476 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5477 (eshell--args): Declare new dynamic var.
5478 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5479 last-value, and ext-command. Pass `args' to `body'.
5480 (eshell-process-args): Bind eshell--args.
5481 (eshell-set-option): Use eshell--args.
5482 * eshell/eshell.el (eshell): Use derived-mode-p.
5483 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5484 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5485 (eshell-glob-function): Declare.
5486 * eshell/esh-util.el: Require cl-lib.
5487 (eshell-read-hosts-file): Avoid add-to-list.
5488 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5490 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5492 (eshell/diff): Remove unused var `err'.
5493 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5495 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5496 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5498 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5499 Move declaration before first use.
5500 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5501 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5504 2013-09-12 Glenn Morris <rgm@gnu.org>
5506 * term/ns-win.el (global-map): Remove binding for ispell-next,
5507 deleted 1999-05-29. (Bug#15357)
5509 2013-09-11 Glenn Morris <rgm@gnu.org>
5511 * echistory.el (electric-command-history): Remove call to deleted func.
5513 * play/landmark.el (landmark-mode): Fix typos.
5515 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5516 Check cvs-sort-ignore-file is bound.
5518 * savehist.el: No need for cl when compiling on Emacs.
5520 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5522 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5524 (eshell-self-insert-command, eshell-send-invisible):
5525 Remove unused argument.
5526 (eshell-handle-control-codes): Remove unused var `orig'.
5527 Avoid delete-backward-char.
5529 * files.el (set-auto-mode): Simplify a bit further.
5531 2013-09-11 Glenn Morris <rgm@gnu.org>
5533 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5534 (set-auto-mode): Don't regexp-quote elements.
5535 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5536 * progmodes/cc-mode.el (interpreter-mode-alist):
5537 * progmodes/ruby-mode.el (interpreter-mode-alist):
5538 Revert previous change.
5540 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5542 * play/snake.el (snake-mode):
5543 * play/mpuz.el (mpuz-mode):
5544 * play/landmark.el (lm-mode):
5545 * play/blackbox.el (blackbox-mode):
5546 * play/5x5.el (5x5-mode):
5547 * obsolete/options.el (Edit-options-mode):
5548 * net/quickurl.el (quickurl-list-mode):
5549 * net/newst-treeview.el (newsticker-treeview-mode):
5550 * mail/rmailsum.el (rmail-summary-mode):
5551 * mail/mspools.el (mspools-mode):
5552 * locate.el (locate-mode):
5553 * ibuffer.el (ibuffer-mode):
5554 * emulation/ws-mode.el (wordstar-mode):
5555 * emacs-lisp/debug.el (debugger-mode):
5556 * array.el (array-mode):
5557 * net/eudc.el (eudc-mode): Use define-derived-mode.
5558 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5559 Move initialization into declaration.
5560 (mairix-searches-mode): Use define-derived-mode.
5561 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5562 (eudc-edit-hotlist): Use dolist.
5563 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5564 (Man-mode): Use define-derived-mode.
5565 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5566 (Info-edit-mode): Use define-derived-mode.
5567 (Info-cease-edit): Use Info-mode.
5568 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5570 (eshell-mode): Use define-derived-mode.
5571 * chistory.el (command-history-mode-map): Rename from
5572 command-history-map.
5573 (command-history-mode): Use define-derived-mode.
5574 (Command-history-setup): Remove function.
5575 * calc/calc.el (calc-trail-mode-map): New var.
5576 (calc-trail-mode): Use define-derived-mode.
5577 (calc-trail-buffer): Set calc-main-buffer manually.
5578 * bookmark.el (bookmark-insert-annotation): New function.
5579 (bookmark-edit-annotation): Use it.
5580 (bookmark-edit-annotation-mode): Make it a proper major mode.
5581 (bookmark-send-edited-annotation): Use derived-mode-p.
5582 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5583 closer to its ideal place. Use \' to match EOS.
5585 * profiler.el (profiler-calltree-find): Use function-equal.
5587 2013-09-10 Glenn Morris <rgm@gnu.org>
5589 * files.el (interpreter-mode-alist): Convert to regexps.
5590 (set-auto-mode): Adapt for this. (Bug#15306)
5591 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5592 Comment out unused variable.
5593 * progmodes/cc-mode.el (interpreter-mode-alist):
5594 * progmodes/python.el (interpreter-mode-alist):
5595 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5596 * progmodes/sh-script.el (sh-set-shell):
5597 No longer use interpreter-mode-alist to get list of shells.
5599 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5601 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * simple.el: Use set-temporary-overlay-map for universal-argument.
5604 (universal-argument-map): Don't use default-bindings (bug#15317).
5605 Bind switch-frame explicitly. Replace universal-argument-minus with
5606 a conditional binding.
5607 (universal-argument-num-events, saved-overriding-map): Remove.
5608 (restore-overriding-map): Remove.
5609 (universal-argument--mode): Rename from save&set-overriding-map,
5611 (universal-argument, universal-argument-more, negative-argument)
5612 (digit-argument): Adjust accordingly.
5613 (universal-argument-minus): Remove.
5614 (universal-argument-other-key): Remove.
5616 * subr.el (with-demoted-errors): Add `format' argument.
5618 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5620 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5621 `tramp-cleanup-connection'.
5623 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5624 parameters KEEP-DEBUG and KEEP-PASSWORD.
5626 * net/tramp.el (tramp-file-name-handler):
5627 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5628 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5629 (tramp-maybe-open-connection):
5630 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5631 Use `tramp-cleanup-connection'.
5633 * net/tramp-sh.el (tramp-maybe-open-connection):
5634 Catch 'uname-changed inside the progress reporter.
5636 2013-09-10 Glenn Morris <rgm@gnu.org>
5638 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5640 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5641 returns "alternate access method" in mode (eg "-rw-r--r--.").
5643 2013-09-08 Glenn Morris <rgm@gnu.org>
5645 * saveplace.el (load-save-place-alist-from-file):
5646 Demote errors. (Bug#15305)
5648 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5650 Improve compatibility with older Emacsen, and XEmacs.
5652 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5653 only if it is bound. It isn't for XEmacs.
5654 (with-tramp-progress-reporter): Do not let-bind `result'.
5655 This yields to scoping errors in XEmacs.
5656 (tramp-handle-make-auto-save-file-name): New function, moved from
5659 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5660 for `make-auto-save-file-name'.
5661 (tramp-adb--gnu-switches-to-ash):
5662 Use `tramp-compat-replace-regexp-in-string'.
5664 * net/tramp-cache.el (tramp-cache-print): Call
5665 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5667 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5668 bound. It isn't for XEmacs.
5670 * net/tramp-compat.el (tramp-compat-copy-file):
5671 Catch `wrong-number-of-arguments' error.
5672 (tramp-compat-replace-regexp-in-string): New defun.
5674 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5675 for `make-auto-save-file-name'.
5676 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5678 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5679 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5680 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5682 * net/tramp-gw.el (tramp-gw-open-network-stream):
5683 Use `tramp-compat-replace-regexp-in-string'.
5685 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5686 Call `tramp-handle-make-auto-save-file-name'.
5687 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5688 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5689 (tramp-sh-file-inotifywait-process-filter):
5690 Use `tramp-compat-replace-regexp-in-string'.
5691 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5693 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5694 for `make-auto-save-file-name'.
5695 (tramp-smb-handle-copy-directory):
5696 Call `tramp-compat-replace-regexp-in-string'.
5697 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5698 (tramp-smb-handle-copy-file): Improve error message.
5699 (tramp-smb-handle-rename-file): Rename directly only in case
5700 `newname' does not exist yet. This is a restriction of smbclient.
5701 (tramp-smb-maybe-open-connection): Rerun the function only when
5702 `auth-sources' is non-nil.
5704 2013-09-08 Kenichi Handa <handa@gnu.org>
5706 * international/characters.el: Set category "^" (Combining) for
5709 2013-09-07 Alan Mackenzie <acm@muc.de>
5711 Correctly fontify Java class constructors.
5712 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5714 (c-recognize-typeless-decls): Set the Java value to t.
5715 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5716 While handling a "(", add a check for, effectively, Java, and handle a
5717 "typeless" declaration there.
5719 2013-09-07 Roland Winkler <winkler@gnu.org>
5721 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5722 field subtitle for entry type book.
5724 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5726 * minibuffer.el: Make minibuffer-complete call completion-in-region
5727 rather than other way around.
5728 (completion--some, completion-pcm--find-all-completions):
5729 Don't delay signals when debugging.
5730 (minibuffer-completion-contents): Beware fields within the
5731 minibuffer contents.
5732 (completion-all-sorted-completions): Use defvar-local.
5733 (completion--do-completion, completion--cache-all-sorted-completions)
5734 (completion-all-sorted-completions, minibuffer-force-complete):
5735 Add args `beg' and `end'.
5736 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5737 (minibuffer-complete): Use completion-in-region.
5738 (completion-complete-and-exit): New fun, extracted from
5739 minibuffer-complete-and-exit.
5740 (minibuffer-complete-and-exit): Use it.
5741 (completion--complete-and-exit): Rename from
5742 minibuffer--complete-and-exit.
5743 (completion-in-region--single-word): New function, extracted from
5744 minibuffer-complete-word.
5745 (minibuffer-complete-word): Use it.
5746 (display-completion-list): Make `common-substring' argument obsolete.
5747 (completion--in-region): Call completion--in-region-1 instead of
5748 minibuffer-complete.
5749 (completion-help-at-point): Pass boundaries to
5750 minibuffer-completion-help as args rather than via an overlay.
5751 (completion-pcm--string->pattern): Use `any-delim'.
5752 (completion-pcm--optimize-pattern): New function.
5753 (completion-pcm--pattern->regex): Handle `any-delim'.
5754 * icomplete.el (icomplete-forward-completions)
5755 (icomplete-backward-completions, icomplete-completions):
5756 Adjust calls to completion-all-sorted-completions and
5757 completion--cache-all-sorted-completions.
5758 (icomplete-with-completion-tables): Default to t.
5759 * emacs-lisp/crm.el (crm--current-element): Rename from
5760 crm--select-current-element. Don't put an overlay but return the
5762 (crm--completion-command): Take two new args to bind to the boundaries.
5763 (crm-completion-help): Adjust accordingly.
5764 (crm-complete): Use completion-in-region.
5765 (crm-complete-word): Use completion-in-region--single-word.
5766 (crm-complete-and-exit): Use completion-complete-and-exit.
5768 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5770 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5773 2013-09-06 Juri Linkov <juri@jurta.org>
5775 * info.el (Info-display-images-node): When image file doesn't exist
5776 display text version of the image if it's provided in the Info file.
5777 Otherwise, display the location of missing image from SRC attribute.
5778 Add help-echo text property from ALT attribute. (Bug#15279)
5780 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5782 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5783 (edit-abbrevs-mode): Use define-derived-mode.
5785 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5786 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5788 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5789 Use define-derived-mode.
5791 * epg.el (epg-start-encrypt): Minor CSE simplification.
5793 2013-09-06 William Xu <william.xwl@gmail.com>
5795 * arc-mode.el: Add support for 7za (bug#15264).
5796 (archive-7z-program): New var.
5797 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5798 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5799 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5801 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5805 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5806 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5807 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5808 (tramp-postfix-host-format, tramp-file-name-regexp)
5809 (tramp-completion-file-name-regexp)
5810 (tramp-completion-dissect-file-name)
5811 (tramp-handle-substitute-in-file-name): Remove 'url case.
5812 (tramp-file-name-regexp-url)
5813 (tramp-completion-file-name-regexp-url): Remove constants.
5815 2013-09-06 Glenn Morris <rgm@gnu.org>
5817 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5819 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5821 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5822 keywords" below "here-doc beginnings" (Bug#15270).
5824 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5826 * subr.el (pop): Use `car-safe'.
5827 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5828 to detect unused `pop' return value.
5830 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5832 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5833 (python-fill-string): Remove unused var `marker'.
5834 (python-skeleton-add-menu-items): Remove unused var `items'.
5836 * international/mule-cmds.el: Require CL.
5837 (find-coding-systems-for-charsets): Avoid add-to-list.
5838 (sanitize-coding-system-list): New function, extracted from
5839 select-safe-coding-system-interactively.
5840 (select-safe-coding-system-interactively): Use it.
5841 (read-input-method-name): Accept symbols for `default'.
5843 * emacs-lisp/advice.el (defadvice): Add indent rule.
5845 2013-09-05 Daniel Hackney <dan@haxney.org>
5849 * net/browse-url.el:
5852 * net/eudcb-ldap.el:
5865 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5866 byte compiler. Remove some unused let-bound variables.
5868 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5870 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5871 a "ref-cell", since it gets better optimized (bug#14883).
5873 2013-09-05 Glenn Morris <rgm@gnu.org>
5875 * progmodes/cc-awk.el (c-forward-sws): Declare.
5877 2013-09-04 Glenn Morris <rgm@gnu.org>
5879 * generic-x.el [rul-generic-mode]: Require cc-mode.
5880 (c++-mode-syntax-table): Declare.
5881 (rul-generic-mode-syntax-table): Init in the defvar.
5883 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5885 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5886 (vc-do-command, vc-set-async-update):
5887 * vc/vc-mtn.el (vc-mtn-dir-status):
5888 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5889 (vc-hg-pull, vc-hg-merge-branch):
5890 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5891 (vc-git-merge-branch):
5892 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5893 (vc-cvs-dir-status-files):
5894 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5895 (vc-bzr-dir-status-files):
5896 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5897 * vc/vc-annotate.el: Use lexical-binding.
5898 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5899 (vc-sentinel-movepoint): Declare.
5900 (vc-annotate): Don't use `goto-line'.
5901 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5902 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5903 (vc-sentinel-movepoint): Declare.
5904 * vc/vc-svn.el: Use lexical-binding.
5905 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5907 * vc/vc-rcs.el: Use lexical-binding.
5909 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5910 `deleted'. Don't drop errors silently.
5912 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5914 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5916 * vc/vc.el (vc-ignore): Rewrite.
5917 (vc-default-ignore): New function.
5918 (vc-default-ignore-completion-table): Use find-ignore-file.
5920 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
5921 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
5922 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
5923 Remove. Most code moved to vc.el.
5925 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
5927 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
5928 * net/tramp-smb.el (tramp-smb-get-file-entries):
5929 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
5930 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
5932 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
5934 (eww-change-select): Remove unused var `properties'.
5935 (eww-make-unique-file-name): Remove unused var `base'.
5937 * finder.el (finder-compile-keywords): Don't mess with windows.
5939 * calculator.el (calculator-funcall): Fix typo in last change.
5941 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
5943 * emacs-lisp/package.el (package-activate-1): Don't let a missing
5944 <pkg>-autoloads.el file stop us.
5946 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
5947 warnings, and factor out common code.
5949 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
5951 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
5952 two-character operators and whether the character preceding them
5953 changes their meaning (Bug#15208).
5955 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5957 Format code sent to Python shell for robustness.
5958 * progmodes/python.el (python-shell-buffer-substring):
5960 (python-shell-send-region, python-shell-send-buffer): Use it.
5962 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
5964 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
5965 * net/tramp.el (tramp-user-error): ... here.
5966 (tramp-find-method, tramp-check-proper-host)
5967 (tramp-dissect-file-name, tramp-debug-message)
5968 (tramp-handle-shell-command):
5969 * net/tramp-adb.el (tramp-adb-handle-shell-command):
5970 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
5972 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
5974 2013-09-02 Martin Rudalics <rudalics@gmx.at>
5976 * avoid.el (mouse-avoidance-point-position)
5977 (mouse-avoidance-too-close-p): Handle case where posn-at-point
5980 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
5982 * progmodes/python.el (python-shell-completion-get-completions):
5983 Drop use of deleted `comint-last-prompt-overlay'.
5984 (python-nav-if-name-main): New command.
5986 2013-09-01 Glenn Morris <rgm@gnu.org>
5988 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
5989 Avoid leading space in $wins. Otherwise the sed command used by
5990 eg compile-main ends up containing "/*.el". (Bug#15170)
5992 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
5994 2013-08-30 Glenn Morris <rgm@gnu.org>
5996 * emacs-lisp/bytecomp.el (byte-recompile-directory):
5997 Fix is-this-a-directory logic. (Bug#15220)
5999 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6001 * textmodes/css-mode.el: Use SMIE.
6002 (css-smie-grammar): New var.
6003 (css-smie--forward-token, css-smie--backward-token)
6004 (css-smie-rules): New functions.
6005 (css-mode): Use them.
6006 (css-navigation-syntax-table): Remove var.
6007 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6008 (css-indent-calculate, css-indent-line): Remove functions.
6010 Misc changes to reduce use of `(lambda...); and other cleanups.
6011 * cus-edit.el: Use lexical-binding.
6012 (customize-push-and-save, customize-apropos)
6013 (custom-buffer-create-internal): Use closures.
6014 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6015 * progmodes/ada-xref.el: Use setq.
6016 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6017 * dframe.el: Use lexical-binding.
6018 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6019 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6020 * descr-text.el: Use lexical-binding.
6021 (describe-text-widget, describe-text-sexp, describe-property-list):
6023 * comint.el (comint-history-isearch-push-state): Use a closure.
6024 * calculator.el: Use lexical-binding.
6025 (calculator-number-to-string): Make it work with lexical-binding.
6026 (calculator-funcall): Same and use cl-letf.
6028 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6029 (lisp--company-doc-string, lisp--company-location): New functions.
6030 (lisp-completion-at-point): Use them to improve Company support.
6032 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6033 params of lambda expressions.
6034 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6035 (ruby-smie--opening-pipe-p): New function.
6036 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6037 symbols and matched |...| for formal params.
6038 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6039 from being treated as hanging. Handle "rescue".
6041 2013-08-29 Glenn Morris <rgm@gnu.org>
6043 * progmodes/cc-engine.el (c-pull-open-brace):
6044 Move definition before use.
6046 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6048 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6049 are immutable. Don't use `unsafe' any more.
6050 (cl--defsubst-expand): Don't substitute at the same time as keeping
6051 a residual unused let-binding. Don't use `unsafe' any more.
6053 2013-08-29 Glenn Morris <rgm@gnu.org>
6055 * calendar/cal-china.el (calendar-chinese-year-cache):
6058 * nxml/nxml-util.el (nxml-debug-clear-inside):
6059 Use cl-loop rather than loop.
6061 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6063 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6065 2013-08-28 Glenn Morris <rgm@gnu.org>
6067 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6069 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6071 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6073 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6075 * simple.el (repeat-complex-command--called-interactively-skip):
6077 (repeat-complex-command): Use it (bug#14136).
6079 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6080 (c-define-abbrev-table): Add `doc' argument.
6081 (c-mode-abbrev-table, c++-mode-abbrev-table)
6082 (objc-mode-abbrev-table, java-mode-abbrev-table)
6083 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6084 (awk-mode-abbrev-table): Use it.
6085 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6086 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6087 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6088 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6089 Move initialization into the declaration; and remove any
6092 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6093 and dynamic let binding.
6095 * vc/smerge-mode.el: Remove redundant :group args.
6097 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6100 2013-08-28 Juri Linkov <juri@jurta.org>
6102 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6103 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6104 (isearch-other-meta-char): Handle an undefined shifted printing
6105 character by downshifting it. (Bug#15200)
6107 2013-08-28 Juri Linkov <juri@jurta.org>
6109 * isearch.el (isearch-search): Change regexp error message for
6110 non-regexp searches. (Bug#15166)
6112 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6114 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6115 for portability to hosts where /bin/sh has problems.
6117 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6119 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6121 2013-08-27 Juri Linkov <juri@jurta.org>
6123 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6124 in the keyboard macro. (Bug#15126)
6126 2013-08-27 Juri Linkov <juri@jurta.org>
6128 * isearch.el (isearch-quote-char): Comment out converting unibyte
6129 to multibyte, thus syncing with its `quoted-insert' counterpart.
6132 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6134 * window.el (display-buffer-use-some-window): Add missing
6135 argument in call of get-largest-window (Bug#15185).
6136 Reported by Stephen Leake.
6138 2013-08-27 Glenn Morris <rgm@gnu.org>
6140 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6142 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6144 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6145 from a matcher-function unless there's no more matches (bug#15161).
6147 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6149 * minibuffer.el: Revert change from 2013-08-20.
6151 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6152 with text property `tramp-default', if appropriate.
6153 (tramp-check-proper-host): New defun.
6154 (tramp-dissect-file-name): Do not check hostname. Revert change
6156 (tramp-backtrace): Make VEC-OR-PROC optional.
6158 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6159 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6160 * net/tramp-sh.el (tramp-maybe-open-connection):
6161 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6162 Apply `tramp-check-proper-host'.
6164 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6166 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6167 lambda expression in order to have `describe-variable' display it.
6169 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6171 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6172 BUF can be optional. (Bug#15186)
6174 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6176 * progmodes/flymake.el (flymake-get-real-file-name-function):
6177 Fix broken customization. (Bug#15184)
6179 2013-08-25 Alan Mackenzie <acm@muc.de>
6181 Improve indentation of bracelists defined by macros (without "=").
6183 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6184 expansion begins with "{", regard it as bracelist when it doesn't
6187 Parse C++ inher-intro when there's a template split over 2 lines.
6189 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6190 rigorously the search for "class" etc. followed by ":".
6192 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6193 random languages a regexp which never matches rather than nil.
6195 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6197 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6198 (c-awk-regexp-one-line-possibly-open-char-list-re)
6199 (c-awk-one-line-possibly-open-regexp-re)
6200 (c-awk-one-line-non-syn-ws*-re): Remove.
6201 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6202 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6203 (c-awk-space*-unclosed-regexp-/-re): New constants.
6204 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6205 aren't regexp delimiters.
6207 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6208 handling for a rare situation in AWK Mode involving unterminated
6211 2013-08-23 Glenn Morris <rgm@gnu.org>
6213 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6215 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6217 * files.el (create-file-buffer): If the result would begin with
6218 spaces, prepend a "|" instead of removing them. (Bug#15162)
6220 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6222 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6223 text-properties (bug#15155).
6225 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6227 (calc-keypad-redraw): Remove unused var `pad'.
6228 (calc-keypad-press): Remove unused var `menu'.
6230 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6232 * window.el (display-buffer-pop-up-frame):
6233 Call pop-up-frame-function with BUFFER current so `make-frame' will
6234 use it as the new frame's buffer (Bug#15133).
6236 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6238 * calendar/timeclock.el: Minor cleanups.
6239 (timeclock-ask-before-exiting, timeclock-use-display-time):
6241 (timeclock-modeline-display): Define as alias before the
6243 (timeclock-mode-line-display): Use define-minor-mode.
6244 (timeclock-day-list-template): Make it a function, add an argument.
6245 (timeclock-day-list-required, timeclock-day-list-length)
6246 (timeclock-day-list-debt, timeclock-day-list-span)
6247 (timeclock-day-list-break): Adjust calls accordingly.
6249 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6251 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6252 Use read--expression so that completion works again.
6254 2013-08-21 Sam Steingold <sds@gnu.org>
6256 Add rudimentary inferior shell interaction
6257 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6258 (sh-set-shell): Reset it.
6259 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6260 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6262 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6264 * align.el: Use lexical-binding.
6265 (align-region): Simplify accordingly.
6267 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6269 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6271 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6274 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6278 * net/tramp-cmds.el:
6280 * net/tramp-gvfs.el:
6282 * net/tramp-sh.el: Don't wrap external variable declarations by
6283 `eval-when-compile'.
6285 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6287 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6288 now that Emacs supports ImageMagick animations.
6290 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6292 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6293 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6295 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6297 * window.el (mouse-autoselect-window-select): Do autoselect when
6298 mouse pointer is on margin.
6300 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6302 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6304 2013-08-16 Glenn Morris <rgm@gnu.org>
6306 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6307 Handle "Remote Directory" response of some clients. (Bug#15058)
6309 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6310 Tweak warning. (Bug#14926)
6312 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6313 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6315 * image-mode.el (image-mode-map): Add menu items to reverse,
6316 increase, decrease, reset animation speed.
6317 (image--set-speed, image-increase-speed, image-decrease-speed)
6318 (image-reverse-speed, image-reset-speed): New functions.
6319 (image-mode-map): Add bindings for speed commands.
6321 * image.el (image-animate-get-speed, image-animate-set-speed):
6323 (image-animate-timeout): Respect image :speed property.
6325 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6327 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6328 previous line (bug#15101).
6329 (debugger-eval-expression, debugger-record-expression):
6330 Use read--expression (bug#15102).
6332 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6334 Remove byte compiler warnings, visible when compiling with
6335 `byte-compile-force-lexical-warnings' set to t.
6337 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6338 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6339 (tramp-handle-unhandled-file-name-directory)
6340 (tramp-handle-file-notify-add-watch, tramp-action-login)
6341 (tramp-action-succeed, tramp-action-permission-denied)
6342 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6345 * net/tramp-adb.el (tramp-adb-parse-device-names)
6346 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6347 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6348 (tramp-adb-handle-file-truename): Remove unused arguments.
6350 * net/tramp-cache.el (tramp-flush-directory-property)
6351 (tramp-flush-connection-property, tramp-list-connections)
6352 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6354 * net/tramp-compat.el (tramp-compat-make-temp-file):
6355 Rename FILENAME to F.
6357 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6358 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6359 (tramp-zeroconf-parse-workstation-device-names)
6360 (tramp-zeroconf-parse-webdav-device-names)
6361 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6363 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6364 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6366 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6368 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6369 (tramp-sh-handle-insert-file-contents-literally)
6370 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6372 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6373 Remove unused variables.
6375 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6376 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6377 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6379 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6380 Make them a defconst.
6381 (tramp-uuencode-region): Remove unused variable.
6383 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6385 * frameset.el (frameset--prop-setter): New function.
6386 (frameset-prop): Add gv-setter declaration.
6387 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6388 parameter was already set in FILTERED. Doc fix.
6389 (frameset--record-minibuffer-relationships): Allow saving a
6390 minibufferless frame without its corresponding minibuffer frame.
6391 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6392 frame, if the frame id matches.
6393 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6394 frames before orphaned ones.
6395 (frameset-restore): Warn about orphaned windows, instead of error out.
6397 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6399 * window.el (window-make-atom): Don't overwrite parameter
6401 (display-buffer-in-atom-window): Handle special case where we
6402 split an already atomic window.
6403 (window--major-non-side-window, display-buffer-in-side-window)
6404 (window--side-check): Ignore minibuffer window when walking
6406 (window-deletable-p): Return 'frame only if no other frame uses
6407 our minibuffer window.
6408 (record-window-buffer): Run buffer-list-update-hook.
6409 (split-window): Make sure window--check-frame won't destroy an
6410 existing atomic window in case the new window gets nested
6412 (display-buffer-at-bottom): Ignore minibuffer window when
6413 walking window tree. Don't split a side window.
6414 (pop-to-buffer): Don't set-buffer here, the select-window call
6416 (mouse-autoselect-window-select): Autoselect only if we are in the
6417 text portion of the window.
6419 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421 * net/shr.el (shr-parse-image-data): New function to grab both the
6422 data itself and the Content-Type.
6423 (shr-put-image): Use it.
6425 * net/eww.el (eww-display-image): Ditto.
6427 * image.el (image-content-type-suffixes): New variable.
6429 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6431 * progmodes/python.el (python-imenu--build-tree)
6432 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6434 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6436 * simple.el (backward-word): Mention the optional argument.
6438 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6440 * frameset.el (frameset--make): Rename constructor from make-frameset.
6441 (frameset-p, frameset-valid-p): Don't autoload.
6442 (frameset-valid-p): Use normal accessors.
6444 2013-08-13 Glenn Morris <rgm@gnu.org>
6446 * progmodes/compile.el (compile-command): Tweak example in doc.
6447 * obsolete/scribe.el (scribe-mode):
6448 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6450 * mail/feedmail.el (feedmail-confirm-outgoing)
6451 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6453 * cus-start.el (truncate-partial-width-windows): Fix type.
6455 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6457 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6459 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6461 * emacs-lisp/timer.el (timer--time-setter): New function.
6462 (timer--time): Use it as gv-setter.
6464 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6465 setter is not a symbol.
6467 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6469 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6470 if sending fails. This makes debugging easier.
6472 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6474 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6475 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6476 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6478 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6480 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6482 2013-08-12 Glenn Morris <rgm@gnu.org>
6484 * format.el (format-annotate-function):
6485 Handle read-only text properties in the source. (Bug#14887)
6487 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6489 * net/eww.el (eww-display-html): Ignore coding system errors.
6490 One web site uses "utf-8lias" as the coding system.
6492 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6494 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6496 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6498 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6499 (tutorial--detailed-help): Remove unused local variables.
6500 (tutorial--save-tutorial-to): Use ignore-errors.
6501 (help-with-tutorial): Use looking-at-p.
6503 * view.el (view-buffer-other-window, view-buffer-other-frame):
6504 Mark unused arguments.
6506 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6507 (woman-select-symbol-fonts, woman, woman-find-file)
6508 (woman-insert-file-contents, woman-non-underline-faces):
6510 (woman1-unquote): Move declaration.
6512 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6513 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6514 argument. Remove unused local variable.
6515 (xml-parse-elem-type): Use string-match-p.
6516 (xml-substitute-numeric-entities): Use ignore-errors.
6518 * calculator.el (calculator): Mark unused argument.
6519 (calculator-paste, calculator-quit, calculator-integer-p):
6521 (calculator-string-to-number, calculator-decimal, calculator-exp)
6522 (calculator-op-or-exp): Use string-match-p.
6524 * dired.el (dired-buffer-more-recently-used-p): Declare.
6525 (dired-insert-set-properties, dired-insert-old-subdirs):
6528 * dired-aux.el (dired-compress): Use ignore-errors.
6529 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6530 (dired-do-async-shell-command, dired-do-shell-command)
6531 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6532 (dired-insert-subdir-validate): Use string-match-p.
6533 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6534 (dired-add-entry): Use string-match-p, looking-at-p.
6535 (dired-insert-subdir-newpos): Remove unused local variable.
6537 * filenotify.el (file-notify-callback): Remove unused local variable.
6539 * filesets.el (filesets-error): Mark unused argument.
6540 (filesets-which-command-p, filesets-filter-dir-names)
6541 (filesets-directory-files, filesets-get-external-viewer)
6542 (filesets-ingroup-get-data): Use string-match-p.
6544 * find-file.el (ff-other-file-name, ff-other-file-name)
6545 (ff-find-the-other-file, ff-cc-hh-converter):
6546 Remove unused local variables.
6547 (ff-get-file-name): Use string-match-p.
6548 (ff-all-dirs-under): Use ignore-errors.
6550 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6551 (follow-select-if-visible): Remove unused local variable.
6553 * forms.el (read-file-filter): Move declaration.
6554 (forms--make-format, forms--make-parser, forms-insert-record):
6555 Quote function with #'.
6556 (forms--update): Use string-match-p. Quote function with #'.
6558 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6559 (help-make-xrefs): Use looking-at-p.
6560 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6562 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6563 (ibuffer-confirm-operation-on): Use string-match-p.
6565 * msb.el (msb-item-handler, msb-dired-item-handler):
6566 Mark unused arguments.
6568 * ses.el (ses-decode-cell-symbol)
6569 (ses-kill-override): Remove unused local variable.
6570 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6571 (ses-load): Use ignore-errors, looking-at-p.
6572 (ses-jump-safe): Use ignore-errors.
6573 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6575 * tabify.el (untabify, tabify): Mark unused arguments.
6577 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6578 Mark unused argument.
6579 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6580 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6582 * emacs-lisp/timer.el (timer--time): Define setter with
6583 gv-define-setter to avoid deprecation warning.
6585 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6586 (*record-cmpl-statistics-p*): Remove (was commented out).
6587 (cmpl-statistics-block): Remove (body was commented out).
6588 All callers changed.
6589 (add-completions-from-buffer, load-completions-from-file):
6590 Remove unused variables.
6592 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6594 * filecache.el (file-cache-delete-file-list):
6595 Print message only when told so.
6596 (file-cache-files-matching): Use #' in mapconcat argument.
6598 * ffap.el (ffap-url-at-point): Fix reference to variable
6599 thing-at-point-default-mail-uri-scheme.
6601 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6603 * subr.el (define-error): New function.
6604 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6605 error-file-not-found and define with define-error.
6606 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6607 and define with define-error.
6608 * userlock.el (file-locked, file-supersession):
6609 * simple.el (mark-inactive):
6610 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6611 * progmodes/ada-mode.el (ada-mode-errors):
6612 * play/life.el (life-extinct):
6613 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6614 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6615 * nxml/rng-util.el (rng-error):
6616 * nxml/rng-uri.el (rng-uri-error):
6617 * nxml/rng-match.el (rng-compile-error):
6618 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6619 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6620 * nxml/nxml-rap.el (nxml-scan-error):
6621 * nxml/nxml-outln.el (nxml-outline-error):
6622 * net/soap-client.el (soap-error):
6623 * net/gnutls.el (gnutls-error):
6624 * net/ange-ftp.el (ftp-error):
6625 * mpc.el (mpc-proc-error):
6626 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6627 (json-number-format, json-string-escape, json-string-format)
6628 (json-key-format, json-object-format):
6629 * jka-compr.el (compression-error):
6630 * international/quail.el (quail-error):
6631 * international/kkc.el (kkc-error):
6632 * emacs-lisp/ert.el (ert-test-failed):
6633 * calc/calc.el (calc-error, inexact-result, math-overflow)
6635 * bookmark.el (bookmark-error-no-filename):
6636 * epg.el (epg-error): Define with define-error.
6638 * time.el (display-time-event-handler)
6639 (display-time-next-load-average): Don't call sit-for since it seems
6640 unnecessary (bug#15045).
6642 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6643 Use #' instead of ' to quote functions.
6644 (checkdoc-output-mode): Use setq-local.
6645 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6646 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6647 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6648 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6649 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6650 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6651 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6652 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6654 * ido.el (ido-completion-help): Fix up compiler warning.
6656 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6658 * frameset.el (frameset-p): Add autoload cookie.
6659 (frameset--jump-to-register): New function, based on code moved from
6661 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6663 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6664 (frameset-restore, frameset-save, frameset-session-filter-alist):
6665 Remove declarations.
6666 (register-alist): Doc fix.
6667 (frameset-to-register): Move to frameset.el.
6668 (jump-to-register, describe-register-1): Remove frameset-specific code.
6670 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6672 * allout-widgets.el (allout-widgets-pre-command-business)
6673 (allout-widgets-post-command-business)
6674 (allout-widgets-after-change-handler)
6675 (allout-decorate-item-and-context, allout-set-boundary-marker)
6676 (allout-body-modification-handler)
6677 (allout-graphics-modification-handler): Mark ignored arguments.
6678 (allout-widgets-post-command-business)
6679 (allout-widgets-exposure-change-processor)
6680 (allout-widgets-exposure-undo-processor)
6681 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6682 (allout-parse-item-at-point, allout-decorate-item-guides)
6683 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6684 * allout.el (epa-passphrase-callback-function): Declare.
6685 (allout-overlay-insert-in-front-handler)
6686 (allout-overlay-interior-modification-handler)
6687 (allout-isearch-end-handler, allout-chart-siblings)
6688 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6689 (allout-yank-processing, allout-process-exposed)
6690 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6691 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6692 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6693 (lisp-indent-defform): Mark ignored arguments.
6694 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6695 (calculate-lisp-indent): Remove unused variables.
6696 * international/characters.el (indian-2-column, arabic-2-column)
6697 (tibetan): Mark ignored arguments.
6698 (use-cjk-char-width-table): Mark ignored arguments.
6699 Remove unused variables.
6700 * international/fontset.el (build-default-fontset-data)
6701 (x-compose-font-name, create-fontset-from-fontset-spec):
6702 Mark ignored arguments.
6703 (fontset-plain-name): Remove unused variables.
6704 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6705 (keyboard-coding-system): Mark ignored arguments.
6706 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6707 * help.el (resize-temp-buffer-window):
6708 * window.el (display-buffer-in-major-side-window)
6709 (display-buffer-in-side-window, display-buffer-in-previous-window):
6710 Remove unused variables.
6711 * isearch.el (isearch-forward-symbol):
6712 * version.el (emacs-bzr-version-bzr):
6713 * international/mule-cmds.el (current-language-environment):
6714 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6716 * term/pc-win.el (x-list-fonts, x-display-planes)
6717 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6718 (x-server-version, x-display-screens, x-display-mm-height)
6719 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6720 (x-selection-owner-p, x-own-selection-internal)
6721 (x-disown-selection-internal, x-get-selection-internal)
6722 (msdos-initialize-window-system):
6723 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6724 * term/x-win.el (x-handle-no-bitmap-icon):
6725 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6726 (vc-default-find-file-hook, vc-default-extra-menu):
6727 Mark ignored arguments.
6729 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6731 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6732 break-condition in the context of the debugged code (bug#12685).
6734 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6737 Do not use an overlay to highlight the last prompt. (Bug#14744)
6738 (comint-mode): Make comint-last-prompt buffer local.
6739 (comint-last-prompt): New variable.
6740 (comint-last-prompt-overlay): Remove. Superseded by
6742 (comint-snapshot-last-prompt, comint-output-filter):
6743 Use comint-last-prompt.
6745 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6747 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6748 (frameset-save): Check validity of the resulting frameset.
6750 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6752 * ido.el (ido-record-command): Add doc string.
6754 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6756 * frameset.el (frameset): Do not disable creation of the default
6757 frameset-p predicate. Doc fix.
6758 (frameset-valid-p): New function, copied from the old predicate-p.
6759 Add additional checks.
6760 (frameset-restore): Check with frameset-valid-p.
6761 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6762 (frameset-name, frameset-description, frameset-properties)
6763 (frameset-states): Add docstring.
6764 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6765 (frameset-filter-alist): Doc fixes.
6767 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6769 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6771 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6773 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6774 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6775 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6776 (byte-compile-normal-call): Remove obsolescence check.
6778 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6780 * frameset.el (frameset-restore): Doc fix.
6782 * register.el (frameset-frame-id, frameset-frame-with-id)
6783 (frameset-p, frameset-restore, frameset-save): Declare.
6784 (register-alist): Document framesets.
6785 (frameset-session-filter-alist): Declare.
6786 (frameset-to-register): New function.
6787 (jump-to-register): Implement jumping to framesets. Doc fix.
6788 (describe-register-1): Describe framesets.
6790 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6792 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6794 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6795 Use lexical-binding.
6797 * frameset.el (frameset): Use type vector, not list (incompatible
6798 change). Do not declare a new constructor, use the default one.
6799 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6800 `name' and `description', respectively, and add read-only slot
6801 `timestamp'. Doc fixes.
6802 (frameset-copy, frameset-persistent-filter-alist)
6803 (frameset-filter-alist, frameset-switch-to-gui-p)
6804 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6805 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6806 (frameset-filter-iconified, frameset-keep-original-display-p):
6808 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6809 Rename from frameset-filter-(save|restore)-param. All callers changed.
6811 (frameset-p): Adapt to change to vector and be more thorough.
6812 Change arg name to OBJECT. Doc fix.
6813 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6814 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6815 All callers changed.
6816 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6817 All callers changed.
6818 (frameset--record-minibuffer-relationships): Rename from
6819 frameset--process-minibuffer-frames. All callers changed.
6820 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6821 Use new default constructor (again). Doc fix.
6822 (frameset--find-frame-if): Rename from `frameset--find-frame.
6823 All callers changed.
6824 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6825 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6827 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6828 PARAMETERS and WINDOW-STATE, respectively.
6829 (frameset-restore): Add new keyword argument PREDICATE.
6830 Reset frameset--target-display to nil. Doc fix.
6832 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6834 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6836 (bat-mode-syntax-table): Mark \n as end-of-comment.
6837 (bat-font-lock-keywords): Remove comment rule.
6839 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6840 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6842 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6843 (byte-compile-callargs-warn): Use `push'.
6844 (byte-compile-arglist-warn): Ignore higher-order "calls".
6845 (byte-compile-file-form-autoload): Use `pcase'.
6846 (byte-compile-function-form): If quoting a symbol, check that it exists.
6848 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6850 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6851 and add a few popular commands found in batch files.
6852 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6853 (dos-mode): Doc fixes.
6855 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6857 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6858 (dos-mode): Use setq-local. Add space after "rem".
6859 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6860 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6862 2013-08-07 Arni Magnusson <arnima@hafro.is>
6864 * progmodes/dos.el: New file.
6865 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6868 2013-08-06 Glenn Morris <rgm@gnu.org>
6870 * calendar/calendar.el: Add new faces, and day-header-array.
6871 (calendar-weekday-header, calendar-weekend-header)
6872 (calendar-month-header): New faces.
6873 (calendar-day-header-construct): New function.
6874 (calendar-day-header-width): Also :set calendar-day-header-array.
6875 (calendar-american-month-header, calendar-european-month-header)
6876 (calendar-iso-month-header): Use calendar- faces.
6877 (calendar-generate-month):
6878 Use calendar-day-header-array for day headers; apply faces to them.
6879 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6880 (calendar-abbrev-construct): Add optional maxlen argument.
6881 (calendar-day-name-array): Doc fix.
6882 (calendar-day-name-array, calendar-abbrev-length)
6883 (calendar-day-abbrev-array):
6884 Also :set calendar-day-header-array, and maybe redraw.
6885 (calendar-day-header-array): New option. (Bug#15007)
6886 (calendar-font-lock-keywords): Set to nil and make obsolete.
6887 (calendar-day-name): Add option to use header array.
6889 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6891 * net/shr.el (shr-render-td): Remove debugging.
6892 (shr-render-td): Make width computation consistent by defaulting
6893 all zero-width columns to 10 characters. This may not be optimal,
6894 but it's at least consistent.
6895 (shr-make-table-1): Redo last change to fix the real problem in
6898 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6900 * files.el (cache-long-line-scans):
6901 Make obsolete alias to `cache-long-scans'.
6903 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6905 * frameset.el (frameset, frameset-filter-alist)
6906 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6907 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6908 (frameset-compute-pos): Rename from frameset--compute-pos,
6910 (frameset-move-onscreen): Use frameset-compute-pos.
6911 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6913 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6914 Fix typos in docstrings.
6916 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6918 * frame.el (get-other-frame): Tiny cleanup.
6920 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6922 * vc/vc.el (vc-default-ignore-completion-table):
6923 Silence byte-compiler warning.
6925 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
6926 slot, which can indeed be nil.
6927 (frameset-live-filter-alist, frameset-persistent-filter-alist):
6928 Move entry for `left' from persistent to live filter alist.
6929 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
6931 (frameset-filter-params): When restoring a frame, copy items added to
6932 `filtered', to avoid unwittingly modifying the original parameters.
6933 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
6934 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
6936 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
6937 to use looking-at-p instead of looking-at. (Bug#15028)
6939 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
6941 Revert introduction of isearch-filter-predicates (bug#14714).
6942 Rely on add-function instead.
6943 * isearch.el (isearch-filter-predicates): Rename it back to
6944 isearch-filter-predicate.
6945 (isearch-message-prefix): Use advice-function-mapc and advice
6946 properties to get the isearch-message-prefix.
6947 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
6948 instead of run-hook-with-args-until-failure.
6949 (isearch-filter-visible): Not obsolete any more.
6950 * loadup.el: Preload nadvice.
6951 * replace.el (perform-replace): Revert to funcall
6952 instead of run-hook-with-args-until-failure.
6953 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
6954 * dired-aux.el (dired-isearch-filenames-mode): Rename from
6955 dired-isearch-filenames-toggle; make it into a proper minor mode.
6956 Use add/remove-function.
6957 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
6958 Call the minor-mode rather than add/remove-hook.
6959 (dired-isearch-filter-filenames):
6960 Remove isearch-message-prefix property.
6961 * info.el (Info--search-loop): New function, extracted from Info-search.
6962 Funcall isearch-filter-predicate instead of
6963 run-hook-with-args-until-failure isearch-filter-predicates.
6964 (Info-search): Use it.
6965 (Info-mode): Use isearch-filter-predicate instead of
6966 isearch-filter-predicates.
6968 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
6970 Do not call to `selected-window' where it is assumed by default.
6971 Affected functions are `window-minibuffer-p', `window-dedicated-p',
6972 `window-hscroll', `window-width', `window-height', `window-buffer',
6973 `window-frame', `window-start', `window-point', `next-window'
6974 and `window-display-table'.
6975 * abbrev.el (abbrev--default-expand):
6976 * bs.el (bs--show-with-configuration):
6977 * buff-menu.el (Buffer-menu-mouse-select):
6978 * calc/calc.el (calc):
6979 * calendar/calendar.el (calendar-generate-window):
6980 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
6982 * comint.el (send-invisible, comint-dynamic-complete-filename)
6983 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
6984 * completion.el (complete):
6985 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
6986 * disp-table.el (describe-current-display-table):
6987 * doc-view.el (doc-view-insert-image):
6988 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
6989 * ehelp.el (with-electric-help):
6990 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
6991 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
6992 * emacs-lisp/helper.el (Helper-help-scroller):
6993 * emulation/cua-base.el (cua--post-command-handler-1):
6994 * eshell/esh-mode.el (eshell-output-filter):
6995 * ffap.el (ffap-gnus-wrapper):
6996 * help-macro.el (make-help-screen):
6997 * hilit-chg.el (highlight-compare-buffers):
6998 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
6999 * hl-line.el (global-hl-line-highlight):
7000 * icomplete.el (icomplete-simple-completing-p):
7001 * isearch.el (isearch-done):
7002 * jit-lock.el (jit-lock-stealth-fontify):
7003 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7004 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7005 * mpc.el (mpc-tagbrowser, mpc):
7006 * net/rcirc.el (rcirc-any-buffer):
7007 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7008 * play/landmark.el (landmark-max-width, landmark-max-height):
7009 * play/zone.el (zone):
7010 * progmodes/compile.el (compilation-goto-locus):
7011 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7012 * progmodes/etags.el (find-tag-other-window):
7013 * progmodes/fortran.el (fortran-column-ruler):
7014 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7015 * progmodes/verilog-mode.el (verilog-point-text):
7016 * reposition.el (reposition-window):
7017 * rot13.el (toggle-rot13-mode):
7018 * server.el (server-switch-buffer):
7019 * shell.el (shell-dynamic-complete-command)
7020 (shell-dynamic-complete-environment-variable):
7021 * simple.el (insert-buffer, set-selective-display)
7022 (delete-completion-window):
7023 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7024 (speedbar-recenter):
7025 * startup.el (fancy-splash-head):
7026 * textmodes/ispell.el (ispell-command-loop):
7027 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7028 * tutorial.el (help-with-tutorial):
7029 * vc/add-log.el (add-change-log-entry):
7030 * vc/compare-w.el (compare-windows):
7031 * vc/ediff-help.el (ediff-indent-help-message):
7032 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7033 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7034 (ediff-setup-control-frame):
7035 * vc/emerge.el (emerge-position-region):
7036 * vc/pcvs-util.el (cvs-bury-buffer):
7037 * window.el (walk-windows, mouse-autoselect-window-select):
7038 * winner.el (winner-set-conf, winner-undo): Related users changed.
7040 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7042 * frameset.el (frameset--set-id): Doc fix.
7043 (frameset-frame-id, frameset-frame-id-equal-p)
7044 (frameset-locate-frame-id): New functions.
7045 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7046 (frameset-restore): Use them.
7048 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7050 Do not call to `selected-frame' where it is assumed by default.
7051 Affected functions are `raise-frame', `redraw-frame',
7052 `frame-first-window', `frame-terminal' and `delete-frame'.
7053 * calendar/appt.el (appt-disp-window):
7054 * epg.el (epg-wait-for-completion):
7055 * follow.el (follow-delete-other-windows-and-split)
7056 (follow-avoid-tail-recenter):
7057 * international/mule.el (set-terminal-coding-system):
7058 * mail/rmail.el (rmail-mail-return):
7059 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7060 * progmodes/f90.el (f90-add-imenu-menu):
7061 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7062 * server.el (server-switch-buffer):
7063 * simple.el (delete-completion-window):
7065 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7066 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7067 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7068 * vc/ediff.el (ediff-documentation): Related users changed.
7069 * frame.el (selected-terminal): Remove the leftover.
7071 2013-08-05 Glenn Morris <rgm@gnu.org>
7073 * calendar/calendar.el (calendar-generate-month):
7074 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7075 (calendar-generate-month, calendar-font-lock-keywords):
7076 Fix for calendar-day-header-width > length of any day name.
7078 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7080 * desktop.el (desktop-clear): Use new name of sort predicate.
7082 * frameset.el (frameset): Add docstring. Move :version property to its
7084 (frameset-copy): Rename from copy-frameset.
7085 (frameset-p): Check more thoroughly.
7086 (frameset-prop): Do not check for :version, which is no longer a prop.
7087 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7088 Use new :never value instead of t.
7089 (frameset-filter-alist): Expand and clarify docstring.
7090 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7091 (frameset-filter-minibuffer, frameset-filter-save-param)
7092 (frameset-filter-restore-param, frameset-filter-iconified):
7093 Add pointer to docstring of frameset-filter-alist.
7094 (frameset-filter-params): Rename filter values to be more meaningful:
7095 :never instead of t, and reverse the meanings of :save and :restore.
7096 (frameset--process-minibuffer-frames): Clarify error message.
7097 (frameset-save): Avoid unnecessary and confusing call to framep.
7098 Use new BOA constructor for framesets.
7099 (frameset--reuse-list): Doc fix.
7100 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7101 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7102 (frameset-minibufferless-first-p): Doc fix.
7103 Rename from frameset-sort-frames-for-deletion.
7104 (frameset-restore): Doc fixes. Use new function names.
7105 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7107 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7109 * desktop.el (desktop-restore-forces-onscreen)
7110 (desktop-restore-reuses-frames): Document :keyword constant values.
7111 (desktop-filter-parameters-alist): Remove, now identical to
7112 frameset-filter-alist.
7113 (desktop--filter-tty*): Remove, moved to frameset.el.
7114 (desktop-save-frameset, desktop-restore-frameset):
7115 Do not pass :filters argument.
7117 * frameset.el (frameset-live-filter-alist)
7118 (frameset-persistent-filter-alist): New variables.
7119 (frameset-filter-alist): Use them. Add autoload cookie.
7120 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7121 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7122 `frameset--id' (it's supposed to be internal to frameset.el).
7123 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7124 (frameset--initial-params): New function.
7125 (frameset--get-frame): Use it. Doc fix.
7126 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7127 Accept :all, not 'all.
7128 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7129 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7130 with fbound symbols. Fix frame id matching, and remove matching ids if
7131 the frame being restored is deleted. Obey :delete.
7133 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7135 * subr.el (macrop): New function.
7136 (text-clone--maintaining): New var.
7137 (text-clone--maintain): Rename from text-clone-maintain. Use it
7138 instead of inhibit-modification-hooks.
7140 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7141 a proxy, so as handle autoloads and redefinitions of the target.
7142 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7144 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7145 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7146 (pcase--mutually-exclusive-p): New function.
7147 (pcase--split-consp): Use it.
7148 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7149 mutually exclusive with the current predicate.
7151 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7152 (edebug-macrop): Remove. Use `macrop' instead.
7153 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7155 * eshell/esh-cmd.el (eshell-macrop):
7156 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7158 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7160 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7161 (advice-mapc): New function, using it.
7162 (advice-function-member-p): New function.
7163 (advice--normalize): Store the cdr in advice--saved-rewrite since
7164 that's the part that will be changed.
7165 (advice--symbol-function): New function.
7166 (advice-remove): Handle removal before the function is defined.
7167 Adjust to new advice--saved-rewrite.
7168 (advice-member-p): Use advice-function-member-p and
7169 advice--symbol-function.
7171 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7173 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7174 (frameset-filter-minibuffer): Doc fix.
7175 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7176 (frameset--set-id, frameset--process-minibuffer-frames)
7177 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7178 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7180 * desktop.el (desktop-clear): Only delete frames when called
7181 interactively and desktop-restore-frames is non-nil. Doc fix.
7182 (desktop-read): Set desktop-saved-frameset to nil.
7184 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7186 * vc/vc.el (vc-ignore): Rewrite.
7187 (vc-default-ignore-completion-table):
7189 (vc--add-line, vc--remove-regexp): New functions.
7191 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7192 (vc-svn-ignore-completion-table): New function.
7194 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7195 (vc-hg-ignore-completion-table):
7196 (vc-hg-find-ignore-file): New functions.
7198 * vc/vc-git.el (vc-git-ignore): Rewrite.
7199 (vc-git-ignore-completion-table):
7200 (vc-git-find-ignore-file): New functions.
7202 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7204 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7205 (vc-bzr-ignore-completion-table):
7206 (vc-bzr-find-ignore-file): New functions.
7208 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7210 * frameset.el (frameset-prop): New function and setter.
7211 (frameset-save): Do not modify frame list passed by the caller.
7213 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7215 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7217 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7219 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7220 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7222 * custom.el (custom-initialize-default, custom-initialize-set)
7223 (custom-initialize-reset, custom-initialize-changed): Affect the
7224 toplevel-default-value (bug#6275, bug#14586).
7225 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7228 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7230 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7231 Add cl-def* expressions.
7233 * frameset.el (frameset-filter-params): Fix order of arguments.
7235 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7237 Move code related to saving frames to frameset.el.
7238 * desktop.el: Require frameset.
7239 (desktop-restore-frames): Doc fix.
7240 (desktop-restore-reuses-frames): Rename from
7241 desktop-restoring-reuses-frames.
7242 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7243 (desktop-clear): Clear frames too.
7244 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7245 (desktop--filter-tty*, desktop-save, desktop-read):
7246 Use frameset functions.
7247 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7248 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7249 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7250 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7251 (desktop--process-minibuffer-frames, desktop-save-frames)
7252 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7253 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7254 (desktop--sort-states, desktop-restoring-frames-p)
7255 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7256 (desktop-restoring-frameset-p, desktop-restore-frameset)
7257 (desktop--check-dont-save, desktop-save-frameset): New functions.
7258 (desktop--app-id): New constant.
7259 (desktop-first-buffer, desktop-buffer-ok-count)
7260 (desktop-buffer-fail-count): Move before first use.
7261 * frameset.el: New file.
7263 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * files.el: Use lexical-binding.
7266 (dir-locals-read-from-file): Remove unused `err' variable.
7267 (hack-dir-local-variables--warned-coding): New var.
7268 (hack-dir-local-variables): Use it to avoid repeated warnings.
7269 (make-backup-file-name--default-function): New function.
7270 (make-backup-file-name-function): Use it as default.
7271 (buffer-stale--default-function): New function.
7272 (buffer-stale-function): Use it as default.
7273 (revert-buffer-insert-file-contents--default-function): New function.
7274 (revert-buffer-insert-file-contents-function): Use it as default.
7275 (insert-directory): Avoid add-to-list.
7277 * autorevert.el (auto-revert-handler): Simplify.
7278 Use buffer-stale--default-function.
7280 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7282 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7284 * whitespace.el (whitespace-ensure-local-variables): New function.
7285 (whitespace-cleanup-region): Call it.
7286 (whitespace-turn-on): Call it.
7288 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7290 Complete file name handlers.
7292 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7293 (tramp-handle-verify-visited-file-modtime)
7294 (tramp-handle-file-notify-rm-watch): New functions.
7295 (tramp-call-process): Do not bind `default-directory'.
7297 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7298 Order alphabetically.
7299 [access-file, add-name-to-file, dired-call-process]:
7300 [dired-compress-file, file-acl, file-notify-rm-watch]:
7301 [file-ownership-preserved-p, file-selinux-context]:
7302 [make-directory-internal, make-symbolic-link, set-file-acl]:
7303 [set-file-selinux-context, set-visited-file-modtime]:
7304 [verify-visited-file-modtime]: Add handler.
7305 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7307 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7308 [file-notify-add-watch, file-notify-rm-watch]:
7309 [set-file-times, set-visited-file-modtime]:
7310 [verify-visited-file-modtime]: Add handler.
7311 (with-tramp-gvfs-error-message)
7312 (tramp-gvfs-handle-set-visited-file-modtime)
7313 (tramp-gvfs-fuse-file-name): Remove.
7314 (tramp-gvfs-handle-file-notify-add-watch)
7315 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7316 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7318 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7319 Order alphabetically.
7320 [file-notify-rm-watch ]: Use default Tramp handler.
7321 [executable-find]: Remove private handler.
7322 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7323 `default-directory'.
7324 (tramp-sh-handle-executable-find)
7325 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7326 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7327 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7328 Do not use `format' in `tramp-message'.
7330 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7331 [file-notify-rm-watch, set-visited-file-modtime]:
7332 [verify-visited-file-modtime]: Add handler.
7333 (tramp-smb-call-winexe): Do not bind `default-directory'.
7335 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7337 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7339 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7341 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7343 (log-view-diff-changeset): Same.
7344 (log-view-diff-common): Call backend command `previous-revision'
7345 to find out the previous revision, in both cases. Swap the
7346 variables `to' and `fr', so that `fr' usually refers to the
7347 earlier revision (Bug#14989).
7349 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7351 * ibuf-ext.el (ibuffer-filter-by-filename):
7352 Make it work with dired buffers too.
7354 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7356 * emacs-lisp/re-builder.el (reb-color-display-p):
7357 * files.el (save-buffers-kill-terminal):
7358 * net/browse-url.el (browse-url):
7359 * server.el (server-save-buffers-kill-terminal):
7360 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7361 Prefer nil to selected-frame for the first arg of frame-parameter.
7363 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7365 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7367 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7369 * minibuffer.el (completion--twq-all): Try and preserve each
7370 completion's case choice (bug#14907).
7372 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7374 * net/network-stream.el (open-network-stream): Mention the new
7375 :nogreeting parameter.
7376 (network-stream-open-starttls): Use the :nogreeting parameter
7379 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7381 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7382 more natural than popping.
7384 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7385 (shr-urlify): Highlight under mouse.
7387 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7389 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7391 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7393 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7396 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7397 point-min==1. Fix search string. Fix parentheses missing.
7399 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7400 assume point-min==1. Fix search string. Fix parentheses missing.
7402 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7404 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7407 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7409 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7410 initial frame is minibuffer-less. (Bug#14841)
7412 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7414 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7417 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7418 (tramp-maybe-open-connection): Use it.
7420 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7422 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7423 minimal set of parameters passed when creating a frame, because
7424 the minibuffer status of a frame cannot be changed later.
7426 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7428 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7429 replace-regexp-in-string and inadvertent omissions in previous change.
7430 (todo-filter-items): Ensure only file names are comma-separated in
7431 name of filtered items buffer.
7433 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7435 * desktop.el: Optionally force offscreen frames back onscreen.
7436 (desktop-restoring-reuses-frames): New option.
7437 (desktop--compute-pos, desktop--move-onscreen): New functions.
7438 (desktop--make-frame): Use desktop--move-onscreen.
7440 2013-07-27 Alan Mackenzie <acm@muc.de>
7442 Fontify a Java generic method as a function.
7443 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7446 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7448 * calendar/todo-mode.el: Add command to rename todo files.
7449 (todo-rename-file): New command.
7450 (todo-key-bindings-t): Add key binding for it. Change the
7451 bindings of todo-filter-regexp-items(-multifile) to use `x'
7452 instead of `r', since the latter is better suited to the new
7455 2013-07-27 Alan Mackenzie <acm@muc.de>
7457 Make Java try-with-resources statement parse properly.
7458 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7459 (c-block-stmt-1-2-key): New language constants/variables.
7460 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7461 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7462 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7463 with c-block-stmt-1-2-key.
7465 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7467 * desktop.el (desktop--make-frame): Apply most frame parameters after
7468 creating the frame to force (partially or totally) offscreen frames to
7469 be restored as such.
7471 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7473 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7476 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7478 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7479 `base' arg of backtrace-frame.
7481 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7483 * simple.el (list-processes): Doc fix.
7485 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7487 * desktop.el (desktop--select-frame):
7488 Try harder to reuse existing frames.
7490 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7492 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7493 (edebug-eval): Use backtrace-eval.
7494 (edebug--display, edebug--recursive-edit): Don't let-bind the
7495 edebug-outer-* vars that keep track of variables we locally let-bind.
7496 (edebug-outside-excursion): Don't restore outside values of locally
7498 (edebug--display): Use user-error.
7499 (cl-lexical-debug, cl-debug-env): Remove.
7501 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7503 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7504 are restored to be sure that they are visible before deleting any
7507 2013-07-26 Matthias Meulien <orontee@gmail.com>
7509 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7510 vc-print-root-log. (Bug#14948)
7512 2013-07-26 Richard Stallman <rms@gnu.org>
7514 Add aliases for encrypting mail.
7515 * epa.el (epa-mail-aliases): New option.
7516 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7517 Bind inhibit-read-only so read-only text doesn't ruin everything.
7518 (epa-mail-default-recipients): New subroutine broken out.
7519 Handle epa-mail-aliases.
7521 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7523 Add support for lexical variables to the debugger's `e' command.
7524 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7525 vars, except for debugger-outer-match-data.
7526 (debugger-frame-number): Move check for "on a function call" from
7527 callers into it. Add `skip-base' argument.
7528 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7529 (debugger-env-macro): Only reset the state stored in non-variables,
7530 i.e. current-buffer and match-data.
7531 (debugger-eval-expression): Rewrite using backtrace-eval.
7532 * subr.el (internal--called-interactively-p--get-frame): Remove.
7533 (called-interactively-p):
7534 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7535 `base' arg of backtrace-frame instead.
7537 2013-07-26 Glenn Morris <rgm@gnu.org>
7539 * align.el (align-regexp): Doc fix. (Bug#14857)
7540 (align-region): Explicit error if subexpression missing/does not match.
7542 * simple.el (global-visual-line-mode):
7543 Do not duplicate the mode lighter. (Bug#14858)
7545 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7547 * window.el (display-buffer): In display-buffer bind
7548 split-window-keep-point to t, bug#14829.
7550 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7552 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7553 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7554 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7555 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7557 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7558 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7560 2013-07-25 Glenn Morris <rgm@gnu.org>
7562 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7564 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7566 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7567 parameter to modify-frame-parameters if the value has not changed;
7568 this is a workaround for bug#14949.
7569 (desktop--make-frame): On cl-delete-if call, check parameter name,
7572 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7574 * vc/vc.el (vc-ignore): New function.
7576 * vc/vc-svn.el (vc-svn-ignore): New function.
7578 * vc/vc-hg.el (vc-hg-ignore): New function.
7580 * vc/vc-git.el (vc-git-ignore): New function.
7582 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7583 (vc-dir-ignore): New function.
7585 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7586 (cvs-append-to-ignore): Move here from pcvs.el.
7588 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7590 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7592 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7594 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7595 (desktop-restore-frames): Warn when deleting an existing frame failed.
7597 2013-07-24 Glenn Morris <rgm@gnu.org>
7599 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7601 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7603 * filenotify.el (file-notify-supported-p):
7604 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7607 * autorevert.el (auto-revert-use-notify):
7608 (auto-revert-notify-add-watch):
7609 * net/tramp.el (tramp-file-name-for-operation):
7610 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7611 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7612 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7613 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7614 Remove `file-notify-supported-p' entry.
7616 2013-07-24 Glenn Morris <rgm@gnu.org>
7618 * printing.el: Replace all uses of deleted ps-windows-system,
7619 ps-lp-system, ps-flatten-list with lpr- versions.
7621 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7623 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7624 checked with memq (bug#14935).
7626 * files.el (revert-buffer-function): Use a non-nil default.
7627 (revert-buffer-preserve-modes): Declare var to
7628 provide access to the `preserve-modes' argument.
7629 (revert-buffer): Let-bind it.
7630 (revert-buffer--default): New function, extracted from revert-buffer.
7632 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7634 * lpr.el: Signal print errors more prominently.
7635 (print-region-function): Don't default to nil.
7636 (lpr-print-region): New function, extracted from print-region-1.
7637 Check lpr's return value and signal an error in case of problem.
7638 (print-region-1): Use it.
7639 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7641 (ps-printer-name): Default to nil.
7642 (ps-printer-name-option): Default to lpr-printer-switch.
7643 (ps-print-region-function): Don't default to nil.
7644 (ps-postscript-code-directory): Simplify default.
7645 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7646 (ps-string-list, ps-eval-switch, ps-flatten-list)
7647 (ps-flatten-list-1): Remove.
7648 (ps-multibyte-buffer): Avoid setq.
7649 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7650 (print-region-function, ps-print-region-function): Don't set them here.
7652 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7654 * ido.el (ido-fractionp):
7655 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7656 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7657 (ido-max-directory-size, ido-max-dir-file-cache)
7658 (ido-decorations): Doc fix.
7660 * ansi-color.el: Fix old URL.
7662 2013-07-23 Michael R. Mauger <michael@mauger.com>
7664 * progmodes/sql.el: Version 3.3
7665 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7666 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7667 (sql-interactive-remove-continuation-prompt): Rewrite, use
7668 functions above. Fix continuation prompt and complete output line
7670 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7671 redirected output buffer.
7672 (sql-mode): Restore deleted code (Bug#13591).
7674 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7676 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7678 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7680 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7682 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7683 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7684 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7686 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7688 * desktop.el (desktop-clear): Simplify; remove useless checks
7689 against invalid buffer names.
7690 (desktop-list*): Use cl-list*.
7691 (desktop-buffer-info, desktop-create-buffer): Simplify.
7693 2013-07-23 Leo Liu <sdl.web@gmail.com>
7695 * bookmark.el (bookmark-make-record): Restore NAME as a default
7698 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7700 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7701 extracted from autoload--insert-text.
7702 (autoload--insert-text): Remove.
7703 (autoload--print-cookie-text): New function, extracted from
7704 autoload--insert-cookie-text.
7705 (autoload--insert-cookie-text): Remove.
7706 (autoload-generate-file-autoloads): Adjust calls accordingly.
7708 * winner.el (winner-hook-installed-p): Remove.
7709 (winner-mode): Simplify accordingly.
7711 * subr.el (add-to-list): Fix compiler-macro when `append' is
7712 not constant. Don't use `cl-member' for the base case.
7714 * progmodes/subword.el: Fix boundary case (bug#13758).
7715 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7717 (subword-backward-regexp): Make it a constant.
7718 (subword-forward-internal): Don't treat a trailing capital as the
7719 beginning of a word.
7721 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7723 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7724 global value of tabulated-list-revert-hook (bug#14930).
7726 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7728 * desktop.el: Require 'cl-lib.
7729 (desktop-before-saving-frames-functions): New hook.
7730 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7731 for frames being saved. Rename from desktop--save-minibuffer-frames.
7732 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7733 Do not save frames with non-nil `desktop-dont-save' parameter.
7734 Filter out deleted frames.
7735 (desktop--find-frame): Use cl-find-if.
7736 (desktop--select-frame): Use cl-(first|second|third) to access values
7738 (desktop--make-frame): Use cl-delete-if.
7739 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7740 (desktop-restore-frames): Use cl-(first|second|third) to access values
7741 of desktop-mini. Look for visible frame at the end, not while
7744 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7745 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7746 Use string-match-p, looking-at-p (bug#14927).
7748 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7750 * desktop.el (desktop-saved-frame-states):
7751 Rename from desktop--saved-states; all users changed.
7752 (desktop-save-frames): Rename from desktop--save-frames.
7753 Do not save state to desktop file.
7754 (desktop-save): Save desktop-saved-frame-states to desktop file
7756 (desktop-restoring-frames-p): New function.
7757 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7758 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7759 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7761 * desktop.el: Correctly restore iconified frames.
7762 (desktop--filter-iconified-position): New function.
7763 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7765 2013-07-20 Glenn Morris <rgm@gnu.org>
7767 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7768 Let `message' do the formatting.
7769 (def-gdb-preempt-display-buffer): Add explicit format.
7771 * image-dired.el (image-dired-track-original-file):
7772 Use with-current-buffer.
7773 (image-dired-track-thumbnail): Use with-current-buffer.
7774 Avoid changing point of wrong window.
7776 * image-dired.el (image-dired-track-original-file):
7777 Avoid changing point of wrong window. (Bug#14909)
7779 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7781 * progmodes/gdb-mi.el (gdb-done-or-error):
7782 Guard against "%" in gdb output. (Bug#14127)
7784 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7786 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7789 * international/mule.el (coding-system-iso-2022-flags): Fix last
7792 2013-07-20 Kenichi Handa <handa@gnu.org>
7794 * international/mule.el (coding-system-iso-2022-flags):
7795 Add `8-bit-level-4'. (Bug#8522)
7797 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7799 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7802 * net/eww.el (eww-process-text-input): Allow inputting when the
7803 point is at the start of the line, as the properties aren't
7806 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7809 2013-07-19 Richard Stallman <rms@gnu.org>
7811 * epa.el (epa-popup-info-window): Doc fix.
7813 * subr.el (split-string): New arg TRIM.
7815 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7817 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7818 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7820 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7822 * filenotify.el (file-notify--library): Rename from
7823 `file-notify-support'. Do not autoload. Adapt all uses.
7824 (file-notify-supported-p): New defun.
7826 * autorevert.el (auto-revert-use-notify):
7827 Use `file-notify-supported-p' instead of `file-notify-support'.
7829 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7831 * net/tramp.el (tramp-file-name-for-operation):
7832 Add `file-notify-supported-p'.
7834 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7836 (tramp-sh-file-name-handler-alist): Add it as handler for
7837 `file-notify-supported-p '.
7839 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7840 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7841 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7842 Add `ignore' as handler for `file-notify-*' functions.
7844 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7846 * simple.el (line-move-partial, line-move): Don't start vscroll or
7847 scroll-up if the current line is not taller than the window.
7850 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7852 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7853 highlight question marks in the method names as strings.
7854 (ruby-block-beg-keywords): Inline.
7855 (ruby-font-lock-keyword-beg-re): Extract from
7856 `ruby-font-lock-keywords'.
7858 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7860 * frame.el (blink-cursor-blinks): New defcustom.
7861 (blink-cursor-blinks-done): New defvar.
7862 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7863 (blink-cursor-timer-function): Check if number of blinks has been
7865 (blink-cursor-suspend, blink-cursor-check): New defuns.
7867 2013-07-15 Glenn Morris <rgm@gnu.org>
7869 * edmacro.el (edmacro-format-keys): Fix previous change.
7871 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7873 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7874 The hack didn't work outside English locales anyway.
7876 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7878 * simple.el (define-alternatives): Rename from alternatives-define,
7879 per RMS' suggestion.
7881 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7883 * desktop.el (desktop-restore-frames): Change default to t.
7884 (desktop-restore-in-current-display): Now offer more options.
7885 (desktop-restoring-reuses-frames): New customization option.
7886 (desktop--saved-states): Doc fix.
7887 (desktop-filter-parameters-alist): New variable, renamed and expanded
7888 from desktop--excluded-frame-parameters.
7889 (desktop--target-display): New variable.
7890 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7891 (desktop--filter-tty*, desktop--filter-*-color)
7892 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7893 (desktop--filter-save-desktop-parm)
7894 (desktop-restore-in-original-display-p): New functions.
7895 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7896 (desktop--save-minibuffer-frames): New function, inspired by a similar
7897 function from Martin Rudalics.
7898 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7899 (desktop--restore-in-this-display-p): Remove.
7900 (desktop--find-frame): Rename from desktop--find-frame-in-display
7901 and add predicate argument.
7902 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7903 (desktop--reuse-list): New variable.
7904 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7906 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7908 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7910 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7912 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7914 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7915 Highlight conversion methods on Kernel.
7917 2013-07-13 Alan Mackenzie <acm@muc.de>
7919 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
7920 and comment it out. This out-commenting enables certain C++
7921 declarations to be parsed correctly.
7923 2013-07-13 Eli Zaretskii <eliz@gnu.org>
7925 * international/mule.el (define-coding-system): Doc fix.
7927 * simple.el (default-font-height): Don't call font-info if the
7928 frame's default font didn't change since the frame was created.
7931 2013-07-13 Leo Liu <sdl.web@gmail.com>
7933 * ido.el (ido-read-file-name): Guard against non-symbol value.
7935 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7937 * progmodes/python.el (python-imenu--build-tree): Fix corner case
7940 2013-07-13 Leo Liu <sdl.web@gmail.com>
7942 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
7943 ido-set-matches call. (Bug#6852)
7945 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
7947 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
7948 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
7950 (ruby-font-lock-keywords): Distinguish calls to functions with
7951 module-like names from module references. Highlight character
7954 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
7956 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
7957 (gdb-send): Handle continued commands. (Bug#14847)
7959 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
7961 * desktop.el (desktop--v2s): Remove unused local variable.
7962 (desktop-save-buffer): Make defvar-local; adjust docstring.
7963 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
7964 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
7966 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
7968 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
7970 2013-07-12 Eli Zaretskii <eliz@gnu.org>
7972 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
7975 2013-07-12 Glenn Morris <rgm@gnu.org>
7977 * doc-view.el: Require cl-lib at runtime too.
7978 (doc-view-remove-if): Remove.
7979 (doc-view-search-next-match, doc-view-search-previous-match):
7982 * edmacro.el: Require cl-lib at runtime too.
7983 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
7984 (edmacro-mismatch, edmacro-subseq): Remove.
7986 * shadowfile.el: Require cl-lib.
7987 (shadow-remove-if): Remove.
7988 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
7991 * wid-edit.el: Require cl-lib.
7992 (widget-choose): Use cl-remove-if.
7993 (widget-remove-if): Remove.
7995 * progmodes/ebrowse.el: Require cl-lib at runtime too.
7996 (ebrowse-delete-if-not): Remove.
7997 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
7998 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
7999 Use cl-delete-if-not.
8001 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8003 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8004 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8006 2013-07-12 Leo Liu <sdl.web@gmail.com>
8008 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8010 2013-07-11 Glenn Morris <rgm@gnu.org>
8012 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8013 (edebug-gensym-index, edebug-gensym):
8014 Remove reimplementation of cl-gensym.
8015 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8017 * thumbs.el: Require cl-lib at run-time too.
8018 (thumbs-gensym-counter, thumbs-gensym):
8019 Remove reimplementation of cl-gensym.
8020 (thumbs-temp-file): Use cl-gensym.
8022 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8023 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8024 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8025 (ert--union, ert--gensym-counter, ert--gensym-counter)
8026 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8027 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8028 (ert-make-test-unbound, ert--expand-should-1)
8029 (ert--expand-should, ert--should-error-handle-error)
8030 (should-error, ert--explain-equal-rec)
8031 (ert--plist-difference-explanation, ert-select-tests)
8032 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8033 Use cl-lib functions rather than reimplementations.
8035 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8037 * net/tramp.el (tramp-methods): Extend docstring.
8038 (tramp-connection-timeout): New defcustom.
8039 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8040 (with-tramp-progress-reporter): Simplify.
8041 (tramp-process-actions): Improve messages.
8043 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8044 * net/tramp-sh.el (tramp-maybe-open-connection):
8045 Use `tramp-connection-timeout'.
8046 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8049 2013-07-11 Leo Liu <sdl.web@gmail.com>
8051 * ido.el (ido-read-file-name): Conform to the requirements of
8052 read-file-name. (Bug#11861)
8053 (ido-read-directory-name): Conform to the requirements of
8054 read-directory-name.
8056 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8058 * subr.el (delay-warning): New function.
8060 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8062 * simple.el (default-line-height): New function.
8063 (line-move-partial, line-move): Use it instead of computing the
8065 (line-move-partial): Always compute ROWH. If the last line is
8066 partially-visible, but its text is completely visible, allow
8067 cursor to enter such a partially-visible line.
8069 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8071 Improve error messages. (Bug#14808)
8073 * net/tramp.el (tramp-current-connection): New defvar, moved from
8075 (tramp-message-show-progress-reporter-message): Remove, not
8077 (tramp-error-with-buffer): Show message in minibuffer.
8078 Discard input before waiting. Reset connection timestamp.
8079 (with-tramp-progress-reporter): Improve messages.
8080 (tramp-process-actions): Use progress reporter. Delete process in
8081 case of error. Improve messages.
8083 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8084 Call `tramp-error-with-buffer' with vector and buffer.
8085 (tramp-current-connection): Remove.
8086 (tramp-maybe-open-connection): The car of
8087 `tramp-current-connection' are the first 3 slots of the vector.
8089 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8091 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8092 inside continued strings.
8094 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8096 Timestamp fixes for undo (Bug#14824).
8097 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8099 2013-07-10 Leo Liu <sdl.web@gmail.com>
8101 * files.el (require-final-newline): Allow safe local value.
8104 2013-07-09 Leo Liu <sdl.web@gmail.com>
8106 * ido.el (ido-read-directory-name): Handle fallback.
8107 (ido-read-file-name): Update DIR to ido-current-directory.
8109 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8111 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8113 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8114 "autoload". Remove "warn lower camel case" section, previously
8115 commented out. Highlight negation char. Do not highlight the
8116 target in singleton method definitions.
8118 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8120 * faces.el (tty-setup-hook): Declare the hook.
8122 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8123 and detect when a guard/pred depends on local vars (bug#14773).
8124 (pcase--u1): Adjust caller.
8126 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8128 * simple.el (line-move-partial, line-move): Account for
8130 (line-move-partial): Avoid setting vscroll when the last
8131 partially-visible line in window is of default height.
8133 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8135 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8138 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8140 * subr.el (read-quoted-char): Remove unused local variable `char'.
8142 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8144 * ediff.el (ediff-version): Version update.
8145 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8146 (ediff-merge-with-ancestor-command, ediff-directories-command)
8147 (ediff-directories3-command, ediff-merge-directories-command)
8148 (ediff-merge-directories-with-ancestor-command): New functions.
8149 All are command-line interfaces to ediff: to facilitate calling
8150 Emacs with the appropriate ediff functions invoked.
8152 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8153 (viper-save-kill-buffer): Check if buffer is modified.
8155 * viper.el (viper-version): Version update.
8156 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8158 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8160 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8161 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8162 (viper-intercept-ESC-key): Simplify.
8163 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8164 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8165 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8166 (viper-setup-ESC-to-escape): New functions.
8167 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8168 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8170 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8172 * simple.el (default-font-height, window-screen-lines):
8174 (line-move, line-move-partial): Use them instead of
8175 frame-char-height and window-text-height. This makes scrolling
8176 text smoother when the buffer's default face uses a font that is
8177 different from the frame's default font.
8179 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8181 * files.el (write-file): Do not display confirm dialog for NS,
8182 it does its own dialog, which can't be canceled (Bug#14578).
8184 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8186 * simple.el (line-move-partial): Adjust the row returned by
8187 posn-at-point for the current window-vscroll. (Bug#14567)
8189 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8191 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8192 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8195 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8197 * window.el (window-state-put-stale-windows): New variable.
8198 (window--state-put-2): Save list of windows without matching buffer.
8199 (window-state-put): Remove "bufferless" windows if possible.
8201 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8203 * simple.el (alternatives-define): Remove leftover :group keyword.
8206 2013-07-06 Leo Liu <sdl.web@gmail.com>
8208 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8209 (ido-enable-virtual-buffers): New variable.
8210 (ido-buffer-internal, ido-toggle-virtual-buffers)
8211 (ido-make-buffer-list): Use it.
8212 (ido-exhibit): Support turning on and off virtual buffers
8215 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8217 * simple.el (alternatives-define): New macro.
8219 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8221 * subr.el (read-quoted-char): Use read-key.
8222 (sit-for): Let read-event decode tty input (bug#14782).
8224 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8226 * calendar/todo-mode.el: Add handling of file deletion, both by
8227 mode command and externally. Fix various related bugs.
8228 Clarify Commentary and improve some documentation strings and code.
8229 (todo-delete-file): New command.
8230 (todo-check-file): New function.
8231 (todo-show): Handle external deletion of the file we're trying to
8232 show (bug#14688). Replace called-interactively-p by an optional
8233 prefix argument to avoid problematic interaction with catch form
8234 when byte compiled (bug#14702).
8235 (todo-quit): Handle external deletion of the archive's todo file.
8236 Make sure the buffer that was visiting the archive file is still
8237 live before trying to bury it.
8238 (todo-category-completions): Handle external deletion of any
8239 category completion files.
8240 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8241 of todo files, in case of external deletion.
8242 (todo-add-file): Replace unnecessary setq by let-binding.
8243 (todo-find-archive): Check whether there are any archives.
8244 Replace unnecessary setq by let-binding.
8245 (todo-archive-done-item): Use find-file-noselect to get the
8246 archive buffer whether or not the archive already exists.
8247 Remove superfluous code. Use file size instead of buffer-file-name to
8248 check if the archive is new; if it is, update list of archives.
8249 (todo-default-todo-file): Allow nil to be a valid value for when
8250 there are no todo files.
8251 (todo-reevaluate-default-file-defcustom): Use corrected definition
8252 of todo-default-todo-file.
8253 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8254 (todo-delete-category, todo-show-categories-table)
8255 (todo-category-number): Clarify comment.
8256 (todo-filter-items): Clarify documentation string.
8257 (todo-show-current-file, todo-display-as-todo-file)
8258 (todo-reset-and-enable-done-separator): Tweak documentation string.
8259 (todo-done-separator): Make separator length window-width, since
8260 bug#2749 is now fixed.
8262 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8264 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8265 Support both "gvfs-monitor-dir" and "inotifywait".
8266 (tramp-sh-file-inotifywait-process-filter): Rename from
8267 `tramp-sh-file-notify-process-filter'.
8268 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8269 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8271 2013-07-05 Leo Liu <sdl.web@gmail.com>
8273 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8275 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8277 * frame.el (display-pixel-height, display-pixel-width)
8278 (display-mm-height, display-mm-width): Mention behavior on
8279 multi-monitor setups in docstrings.
8280 (w32-display-monitor-attributes-list): Declare function.
8281 (display-monitor-attributes-list): Use it.
8283 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8285 * filenotify.el: New package.
8287 * autorevert.el (top): Require filenotify.el.
8288 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8290 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8291 (auto-revert-notify-handler): Use `file-notify-*' functions.
8293 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8295 * net/tramp.el (tramp-file-name-for-operation):
8296 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8298 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8299 for `file-notify-add-watch' and `file-notify-rm-watch'.
8300 (tramp-process-sentinel): Improve trace.
8301 (tramp-sh-handle-file-notify-add-watch)
8302 (tramp-sh-file-notify-process-filter)
8303 (tramp-sh-handle-file-notify-rm-watch)
8304 (tramp-get-remote-inotifywait): New defuns.
8306 2013-07-03 Juri Linkov <juri@jurta.org>
8308 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8309 call of `occur-read-primary-args' to interactive spec.
8311 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8312 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8314 2013-07-03 Matthias Meulien <orontee@gmail.com>
8316 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8317 `Buffer-menu-multi-occur'. Add it to the menu.
8318 (Buffer-menu-mode): Document it in docstring.
8319 (Buffer-menu-multi-occur): New command. (Bug#14673)
8321 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8323 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8324 keywords and built-ins.
8326 2013-07-03 Glenn Morris <rgm@gnu.org>
8328 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8330 Make info-xref checks case-sensitive by default
8331 * info.el (Info-find-node, Info-find-in-tag-table)
8332 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8333 Add option for exact case matching of nodes.
8334 * info-xref.el (info-xref): New custom group.
8335 (info-xref-case-fold): New option.
8336 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8338 2013-07-03 Leo Liu <sdl.web@gmail.com>
8340 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8342 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8344 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8345 middle of block statement initially, lower the depth. Remove
8346 FIXME comment, not longer valid. Remove middle of block statement
8347 detection, no need to do that anymore since we've been using
8348 `ruby-parse-region' here.
8350 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8352 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8354 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8356 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8358 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8360 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8361 (desktop-restore-in-current-display): New customization option.
8362 (desktop--excluded-frame-parameters): Add `font'.
8363 (desktop--save-frames): Rename from desktop--save-windows.
8364 (desktop--restore-in-this-display-p): New function.
8365 (desktop--make-full-frame): Remove unwanted width/height from
8366 full(width|height) frames.
8367 (desktop--restore-frames): Rename from desktop--restore-windows.
8368 Obey desktop-restore-current-display. Do not delete old frames or
8369 select a new frame unless we were able to restore at least one frame.
8371 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8373 * files.el (find-file-noselect): Simplify conditional expression.
8375 * textmodes/remember.el (remember-append-to-file):
8376 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8378 Add `remember-notes' function to store random notes across Emacs
8380 * textmodes/remember.el (remember-data-file): Add :set callback to
8381 affect notes buffer (if any).
8382 (remember-notes): New command.
8383 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8384 New defcustoms for the `remember-notes' function.
8385 (remember-notes-save-and-bury-buffer): New command.
8386 (remember-notes-mode-map): New variable.
8387 (remember-mode): New minor mode.
8388 (remember-notes--kill-buffer-query): New function.
8389 * startup.el (initial-buffer-choice): Add notes to custom type.
8391 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8393 * bindings.el (right-char, left-char): Don't call sit-for, this is
8394 no longer needed. Use arithmetic comparison only for numerical
8397 * international/mule-cmds.el (select-safe-coding-system):
8398 Handle the case of FROM being a string correctly. (Bug#14755)
8400 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8402 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8403 progression on degenerate tables.
8404 (shr-rescale-image): ImageMagick animated images currently don't work.
8406 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8408 Some fixes and improvements for desktop frame restoration.
8409 It is still experimental and disabled by default.
8410 * desktop.el (desktop--save-windows): Put the selected frame at
8411 the head of the list.
8412 (desktop--make-full-frame): New function.
8413 (desktop--restore-windows): Try to re-select the frame that was
8414 selected upon saving. Do not abort if some frames fail to restore,
8415 just show an error message and continue. Set up maximized frames
8416 so they have default non-maximized dimensions.
8418 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8420 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8421 Don't start heredoc inside a string or comment.
8423 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8425 * bindings.el (visual-order-cursor-movement): New defcustom.
8426 (right-char, left-char): Provide visual-order cursor motion by
8427 calling move-point-visually. Update the doc strings.
8429 2013-06-28 Kenichi Handa <handa@gnu.org>
8431 * international/mule.el (define-coding-system): New coding system
8432 properties :inhibit-null-byte-detection,
8433 :inhibit-iso-escape-detection, and :prefer-utf-8.
8434 (set-buffer-file-coding-system): If :charset-list property of
8435 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8436 appropriate for setting.
8438 * international/mule-cmds.el (select-safe-coding-system):
8439 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8440 multibyte characters, return utf-8 (or one of its siblings).
8442 * international/mule-conf.el (prefer-utf-8): New coding system.
8443 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8446 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8448 * net/shr.el (shr-render-region): New function.
8450 * net/eww.el: Autoload `eww-browse-url'.
8452 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8454 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8455 Adapt to `package-desc-version' being a list.
8456 Use `package--ac-desc-version' to retrieve version from a package
8459 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8461 New experimental feature to save&restore window and frame setup.
8462 * desktop.el (desktop-save-windows): New defcustom.
8463 (desktop--saved-states): New var.
8464 (desktop--excluded-frame-parameters): New defconst.
8465 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8466 (desktop--restore-windows, desktop--save-windows): New functions.
8467 (desktop-save): Call `desktop--save-windows'.
8468 (desktop-read): Call `desktop--restore-windows'.
8470 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8472 * net/shr.el (add-face-text-property): Remove compat definition.
8474 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8476 * info.el (Info-try-follow-nearest-node): Move search for footnote
8477 above search for node name to prevent missing a footnote (bug#14717).
8479 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8481 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8483 2013-06-27 Leo Liu <sdl.web@gmail.com>
8485 * net/eww.el (eww-read-bookmarks): Check file size.
8487 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8489 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8490 advice--pending if newdef is nil or an autoload (bug#13820).
8491 (advice-mapc): New function.
8493 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8495 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8497 (eww-mode-map): Add a menu bar.
8498 (eww-add-bookmark): New command.
8499 (eww-bookmark-mode): New mode and commands.
8500 (eww-add-bookmark): Remove newlines from the title.
8501 (eww-bookmark-browse): Don't bug out if it's the only window.
8503 2013-06-26 Glenn Morris <rgm@gnu.org>
8505 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8506 (hfy-size): Handle ttys. (Bug#14668)
8508 * info-xref.el: Update for Texinfo 5 change in *note format.
8509 (info-xref-node-re, info-xref-note-re): New constants.
8510 (info-xref-check-buffer): Use info-xref-note-re.
8512 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8514 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8516 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8517 nil terminate the loop (bug#14718).
8519 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8521 * net/eww.el: Rework history traversal. When going forward/back,
8522 put these actions into the history, too, so that they can be
8524 (eww-render): Move the history reset to the correct buffer.
8526 2013-06-25 Juri Linkov <juri@jurta.org>
8528 * files-x.el (modify-dir-local-variable): Change the header comment
8529 in the file with directory local variables. (Bug#14692)
8531 * files-x.el (read-file-local-variable-value): Add `default'.
8534 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8536 * net/eww.el (eww-make-unique-file-name): Create a unique file
8537 name before saving to entering `y' accidentally asynchronously.
8539 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8541 * net/eww.el (eww-download): New command and keystroke.
8543 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545 * net/eww.el (eww-copy-page-url): Change name of command.
8547 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8548 be more consistent with Info and dired.
8550 * net/eww.el (eww-mode-map): Ditto.
8552 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8554 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8555 packages from archives.
8556 (package-archive-contents): Change format; include obsolete packages.
8557 (package-desc): Use `dir' to mark builtin packages.
8558 (package--from-builtin): Set the `dir' field to `builtin'.
8559 (generated-autoload-file, version-control): Declare.
8560 (package-compute-transaction): Change first arg and return value to be
8561 lists of package-descs. Adjust to new package-archive-contents format.
8562 (package--add-to-archive-contents): Adjust to new
8563 package-archive-contents format.
8564 (package-download-transaction): Arg is now a list of package-descs.
8565 (package-install): If `pkg' is a package name, pass it as
8566 a requirement, so it is subject to the usual (e.g. disabled) checks.
8567 (describe-package): Accept package-desc as well.
8568 (describe-package-1): Describe a specific package-desc. Add links to
8569 other package-descs for the same package name.
8570 (package-menu-describe-package): Pass the actual package-desc.
8571 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8573 (package-desc-status): New function.
8574 (package-menu--refresh): New function, extracted
8575 from package-menu--generate.
8576 (package-menu--generate): Use it.
8577 (package-delete): Update package-alist.
8578 (package-menu-execute): Don't call package-initialize.
8580 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8581 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8582 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8583 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8584 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8585 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8587 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8589 * window.el (window--state-get-1): Workaround for bug#14527.
8590 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8592 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594 * net/eww.el (eww-back-url): Implement the history by stashing all
8595 the data into a list.
8596 (eww-forward-url): Allow going forward in the history, too.
8598 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8600 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8601 for values and use read--expression for expressions (bug#14710).
8602 (read-file-local-variable): Avoid setq.
8603 (read-file-local-variable-mode): Use minor-mode-list.
8605 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8607 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8610 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8612 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8613 Update imenu-support when dialect changes.
8615 2013-06-25 Leo Liu <sdl.web@gmail.com>
8617 * ido.el (ido-read-internal): Allow forward slash on windows.
8619 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8621 * net/eww.el (eww): Start of strings is \\`, not ^.
8623 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8625 * net/shr.el (shr-browse-url): Fix interactive spec.
8627 * net/eww.el (eww): Add a trailing slash to domain names.
8629 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8631 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8633 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8635 * net/shr.el (shr-browse-url): Use an external browser if given a
8638 * net/eww.el (eww-external-browser): Move to shr.
8640 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8642 * net/eww.el (eww): Work more correctly for file: URLs.
8643 (eww-detect-charset): Allow quoted charsets.
8644 (eww-yank-page-url): New command and keystroke.
8646 2013-06-24 Daiki Ueno <ueno@gnu.org>
8648 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8649 file name of gpg executable.
8650 (epg-context-program): New function.
8651 (epg-context-home-directory): New function.
8652 (epg-context-set-program): New function.
8653 (epg-context-set-home-directory): New function.
8654 (epg--start): Use `epg-context-program' instead of
8656 (epg--list-keys-1): Likewise.
8658 2013-06-24 Leo Liu <sdl.web@gmail.com>
8660 * ido.el (ido-read-internal): Fix bug#14620.
8662 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8664 * faces.el (face-documentation): Simplify.
8665 (read-face-attribute, tty-find-type, x-resolve-font-name):
8666 Use `string-match-p'.
8667 (list-faces-display): Use `string-match-p'. Simplify.
8668 (face-spec-recalc): Check face to avoid face alias loops.
8669 (read-color): Use `string-match-p' and non-capturing parenthesis.
8671 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8673 * net/shr.el (shr-rescale-image): Use the new
8674 :max-width/:max-height functionality.
8676 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8678 * net/eww.el (eww-search-prefix): New variable.
8680 (eww-external-browser): New variable.
8681 (eww-mode-map): New keystroke.
8682 (eww-browse-with-external-browser): New command.
8684 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8686 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8688 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8689 Don't skip aligning the next header field when padding is 0;
8690 otherwise, field width is not respected unless the title is as
8693 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8695 * emacs-lisp/package.el (package-el-version): Remove.
8696 (package-process-define-package): Fix inf-loop.
8697 (package-install): Allow symbols as arguments again.
8699 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8701 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8702 add some more keyword-like methods.
8703 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8705 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8707 * bs.el (bs-buffer-show-mark): Make defvar-local.
8708 (bs-mode): Use setq-local.
8710 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8711 (emacs-lock--try-unlocking): Make defvar-local.
8713 2013-06-22 Glenn Morris <rgm@gnu.org>
8715 * play/cookie1.el (cookie-apropos): Minor simplification.
8717 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8719 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8721 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8722 `regexp-opt', it breaks the build during dumping.
8724 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8726 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8727 Highlight keyword-like methods on Kernel and Module with
8728 font-lock-builtin-face.
8729 (auto-mode-alist): Consolidate different entries into one regexp
8730 and add more *file-s.
8732 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8734 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8736 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8737 (diary-entry): Use it in the action of this button type instead of
8740 * calendar/todo-mode.el: New version.
8741 (todo-add-category): Append new category to end of file and give
8742 it the highest number, instead of putting it at the beginning and
8743 giving it 0. Incorporate noninteractive functionality.
8744 (todo-forward-category): Adapt to 1-based category numbering.
8745 Allow skipping over archived categories.
8746 (todo-backward-category): Derive from todo-forward-category.
8747 (todo-backward-item, todo-forward-item): Make noninteractive and
8748 delegate interactive part to new commands. Make sensitive to done items.
8749 (todo-categories): Make value an alist of category names and
8750 vectors of item counts.
8751 (todo-category-beg): Make a defconst.
8752 (todo-category-number): Use 1 instead of 0 as initial value.
8753 (todo-category-select): Make sensitive to overlays, optional item
8754 highlighting and done items.
8755 (todo-delete-item): Make sensitive to overlays and marked and done items.
8756 (todo-edit-item): Make sensitive to overlays and editing of
8757 date/time header optional. Add format checks.
8758 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8759 no-op if point is not on an item. Advertise using todo-edit-quit.
8760 (todo-edit-mode): Make sensitive to new format, font-locking, and
8761 multiple todo files.
8762 (todo-insert-item, todo-insert-item-here): Derive from
8763 todo-basic-insert-item and extend functionality.
8764 (todo-item-end, todo-item-start): Make sensitive to done items.
8765 (todo-item-string): Don't return text properties. Restore point.
8766 (todo-jump-to-category): Make sensitive to multiple todo files and
8767 todo archives. Use extended category completion.
8768 (todo-lower-item, todo-raise-item): Rename to *-priority and
8769 derive from todo-set-item-priority.
8770 (todo-mode): Derive from special-mode. Make sensitive to new
8771 format, font-locking and multiple todo files. Make read-only.
8772 (todo-mode-map): Don't suppress digit keys, so they can supply
8773 prefix arguments. Add many new key bindings.
8774 (todo-prefix): Insert as an overlay instead of file text.
8775 Change semantics from diary date expression to purely visual mark.
8776 (todo-print): Rename to todo-print-buffer. Make buffer display
8777 features printable. Remove option to restrict number of items
8778 printed. Add option to print to file.
8779 (todo-print-function): Rename to todo-print-buffer-function.
8780 (todo-quit): Extend to handle exiting new todo modes.
8781 (todo-remove-item): Make sensitive to overlays.
8782 (todo-save): Extend to buffers of filtered items.
8783 (todo-show): Make sensitive to done items, multiple todo files and
8784 new todo modes. Offer to convert legacy todo file before creating
8785 first new todo file.
8786 (todo-show-priorities): Rename to todo-top-priorities.
8787 Change semantics of value 0.
8788 (todo-top-priorities): Rename to todo-filter-top-priorities,
8789 derive from todo-filter-items and extend functionality.
8790 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8791 and extend functionality to other types of filtered items.
8792 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8793 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8794 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8795 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8796 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8797 (todo-edit-mode-hook, todo-entry-prefix-function)
8798 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8799 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8800 (todo-initials, todo-insert-threshold, todo-item-string-start)
8801 (todo-line-string, todo-menu, todo-mode-hook)
8802 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8803 (todo-print-priorities, todo-remove-separator)
8804 (todo-save-top-priorities-too, todo-string-count-lines)
8805 (todo-string-multiline-p, todo-time-string-format)
8806 (todo-tmp-buffer-name): Remove.
8807 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8808 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8809 (todo-edit-category-diary-inclusion)
8810 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8811 (todo-edit-file, todo-edit-item-date-day)
8812 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8813 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8814 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8815 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8816 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8817 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8818 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8819 (todo-filter-top-priorities-multifile, todo-find-archive)
8820 (todo-find-filtered-items-file, todo-go-to-source-item)
8821 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8822 (todo-jump-to-archive-category, todo-lower-category)
8823 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8824 (todo-move-category, todo-move-item, todo-next-button)
8825 (todo-next-item, todo-padded-string, todo-powerset)
8826 (todo-previous-button, todo-previous-item)
8827 (todo-print-buffer-to-file, todo-raise-category)
8828 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8829 (todo-set-category-number, todo-set-item-priority)
8830 (todo-set-top-priorities-in-category)
8831 (todo-set-top-priorities-in-file, todo-show-categories-table)
8832 (todo-sort-categories-alphabetically-or-numerically)
8833 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8834 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8835 (todo-toggle-item-header, todo-toggle-item-highlighting)
8836 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8837 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8838 (todo-unarchive-items, todo-unmark-category): New commands.
8839 (todo-absolute-file-name, todo-add-to-buffer-list)
8840 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8841 (todo-basic-insert-item, todo-category-completions)
8842 (todo-category-number, todo-category-string-matcher-1)
8843 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8844 (todo-check-format, todo-clear-matches)
8845 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8846 (todo-current-category, todo-date-string-matcher)
8847 (todo-define-insertion-command, todo-diary-expired-matcher)
8848 (todo-diary-goto-entry, todo-diary-item-p)
8849 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8850 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8851 (todo-done-item-section-p, todo-done-separator)
8852 (todo-done-string-matcher, todo-files, todo-filter-items)
8853 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8854 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8855 (todo-insert-category-line, todo-insert-item-from-calendar)
8856 (todo-insert-sort-button, todo-insert-with-overlays)
8857 (todo-insertion-command-name, todo-insertion-key-bindings)
8858 (todo-label-to-key, todo-longest-category-name-length)
8859 (todo-make-categories-list, todo-mode-external-set)
8860 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8861 (todo-modes-set-3, todo-multiple-filter-files)
8862 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8863 (todo-read-category, todo-read-date, todo-read-dayname)
8864 (todo-read-file-name, todo-read-time)
8865 (todo-reevaluate-category-completions-files-defcustom)
8866 (todo-reevaluate-default-file-defcustom)
8867 (todo-reevaluate-filelist-defcustoms)
8868 (todo-reevaluate-filter-files-defcustom)
8869 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8870 (todo-reset-done-separator, todo-reset-done-separator-string)
8871 (todo-reset-done-string, todo-reset-global-current-todo-file)
8872 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8873 (todo-reset-prefix, todo-set-categories)
8874 (todo-set-date-from-calendar, todo-set-show-current-file)
8875 (todo-set-top-priorities, todo-short-file-name)
8876 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8877 (todo-total-item-counts, todo-update-buffer-list)
8878 (todo-update-categories-display, todo-update-categories-sexp)
8879 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8881 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8883 (todo-categories, todo-display, todo-edit, todo-faces)
8884 (todo-filtered): New defgroups.
8885 (todo-archived-only, todo-button, todo-category-string, todo-date)
8886 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8887 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8888 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8889 (todo-add-item-if-new-category, todo-always-add-time-string)
8890 (todo-categories-align, todo-categories-archived-label)
8891 (todo-categories-category-label, todo-categories-diary-label)
8892 (todo-categories-done-label, todo-categories-number-separator)
8893 (todo-categories-todo-label, todo-categories-totals-label)
8894 (todo-category-completions-files, todo-completion-ignore-case)
8895 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8896 (todo-done-separator-string, todo-done-string)
8897 (todo-files-function, todo-filter-done-items, todo-filter-files)
8898 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8899 (todo-initial-category, todo-initial-file, todo-item-mark)
8900 (todo-legacy-date-time-regexp, todo-mode-line-function)
8901 (todo-nondiary-marker, todo-number-prefix)
8902 (todo-print-buffer-function, todo-show-current-file)
8903 (todo-show-done-only, todo-show-first, todo-show-with-done)
8904 (todo-skip-archived-categories, todo-top-priorities-overrides)
8905 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8906 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8908 (todo-category-done, todo-date-pattern, todo-date-string-start)
8909 (todo-diary-items-buffer, todo-done-string-start)
8910 (todo-filtered-items-buffer, todo-item-start)
8911 (todo-month-abbrev-array, todo-month-name-array)
8912 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8913 (todo-top-priorities-buffer): New defconsts.
8914 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8915 (todo-categories-with-marks, todo-category-string-face)
8916 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8917 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8918 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
8919 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
8920 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
8921 (todo-font-lock-keywords, todo-global-current-todo-file)
8922 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
8923 (todo-insertion-commands-args)
8924 (todo-insertion-commands-args-genlist)
8925 (todo-insertion-commands-names, todo-insertion-map)
8926 (todo-key-bindings-t, todo-key-bindings-t+a)
8927 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
8928 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
8929 (todo-nondiary-face, todo-print-buffer, todo-time-face)
8930 (todo-visited): New variables.
8932 2013-06-21 Glenn Morris <rgm@gnu.org>
8934 * play/cookie1.el (cookie-apropos): Add optional display argument.
8935 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
8936 (psychoanalyze-pinhead): Use cookie-doctor.
8938 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8940 * emacs-lisp/package.el (tar-get-file-descriptor)
8941 (tar--extract): Declare.
8943 2013-06-21 Eduard Wiebe <usenet@pusto.de>
8945 Extend flymake's warning predicate to be a function (bug#14217).
8946 * progmodes/flymake.el (flymake-warning-predicate): New.
8947 (flymake-parse-line): Use it.
8948 (flymake-warning-re): Make obsolete alias to
8949 `flymake-warning-predicate'.
8951 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
8953 * emacs-lisp/package.el (package-alist): Include obsolete packages.
8954 (package-obsolete-list): Remove.
8955 (package-activate): Remove min-version argument. Add `force' argument.
8956 Adjust to new package-alist format.
8957 (package-mark-obsolete): Remove.
8958 (package-unpack): Force reload of the package's autoloads.
8959 (package-installed-p): Check builtins if the installed package is not
8961 (package-initialize): Don't reset package-obsolete-list.
8962 Don't specify which package version to activate.
8963 (package-process-define-package, describe-package-1)
8964 (package-menu--generate): Adjust to new package-alist format.
8966 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
8968 * allout-widgets.el (allout-widgets-mode-off)
8969 (allout-widgets-mode-on, allout-widgets-pre-command-business)
8970 (allout-widgets-post-command-business)
8971 (allout-widgets-after-copy-or-kill-function)
8972 (allout-widgets-after-undo-function, allout-test-range-overlaps)
8973 (allout-decorate-item-and-context)
8974 (allout-graphics-modification-handler): Fix typos in docstrings.
8975 (allout-get-or-create-parent-widget): Use `looking-at-p'.
8977 * cmuscheme.el (scheme-start-file): Doc fix.
8978 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
8979 (scheme-input-filter): Use `string-match-p'.
8981 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
8983 * dired-x.el: Use Dired consistently in docstrings.
8985 * dired.el: Use Dired consistently in docstrings.
8986 (dired-readin, dired-mode): Use `setq-local'.
8987 (dired-switches-alist): Make defvar-local.
8988 (dired-buffers-for-dir): Use `zerop'.
8989 (dired-safe-switches-p, dired-switches-escape-p)
8990 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
8991 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
8992 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
8993 (dired-goto-next-nontrivial-file): Use `string-match-p'.
8994 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
8995 (dired-toggle-marks, dired-mark-files-containing-regexp)
8996 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
8997 (dired-flag-auto-save-files, dired-flag-backup-files):
8999 (dired-mark-files-regexp, dired-build-subdir-alist):
9000 Use `string-match-p', `looking-at-p'.
9002 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9003 (direct-print-region-helper): Use `string-match-p'.
9005 2013-06-21 Leo Liu <sdl.web@gmail.com>
9007 * comint.el (comint-redirect-results-list-from-process):
9010 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9012 * net/eww.el (eww-update-header-line-format): Quote % characters.
9014 2013-06-21 Glenn Morris <rgm@gnu.org>
9016 * play/cookie1.el (cookie): New custom group.
9017 (cookie-file): New option.
9018 (cookie-check-file): New function.
9019 (cookie): Make it interactive. Make start and end messages optional.
9020 Interactively, display the result. Default to cookie-file.
9021 (cookie-insert): Default to cookie-file.
9022 (cookie-snarf): Make start and end messages optional.
9023 Default to cookie-file. Use with-temp-buffer.
9024 (cookie-read): Rename from read-cookie.
9025 Make start and end messages optional. Default to cookie-file.
9026 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9028 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9029 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9031 2013-06-21 Leo Liu <sdl.web@gmail.com>
9033 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9035 2013-06-21 Glenn Morris <rgm@gnu.org>
9037 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9039 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9040 Daniel Hackney <dan@haxney.org>
9042 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9043 Consolidate the single-file vs tarball code.
9044 (package-desc-suffix): New function.
9045 (package-desc-full-name): Don't bother inlining it.
9046 (package-load-descriptor): Return the new package-desc.
9047 (package-mark-obsolete): Remove unused arg `package'.
9048 (package-unpack): Make it work for single files as well.
9049 Make it update package-alist.
9050 (package--make-autoloads-and-stuff): Rename from
9051 package--make-autoloads-and-compile. Don't compile any more.
9052 (package--compile): New function.
9053 (package-generate-description-file): New function, extracted from
9054 package-unpack-single.
9055 (package-unpack-single): Remove.
9056 (package--with-work-buffer): Add indentation and debugging info.
9057 (package-download-single): Remove.
9058 (package-install-from-archive): Rename from package-download-tar, make
9059 it take a pkg-desc, and make it work for single files as well.
9060 (package-download-transaction): Simplify.
9061 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9062 external tar program.
9063 (package-install-from-buffer): Remove `pkg-desc' argument.
9064 Use package-tar-file-info for tar-mode buffers.
9065 (package-install-file): Simplify accordingly.
9066 (package-archive-base): Change to take a pkg-desc.
9067 * tar-mode.el (tar--check-descriptor): New function, extracted from
9069 (tar-get-descriptor): Use it.
9070 (tar-get-file-descriptor): New function.
9071 (tar--extract): New function, extracted from tar-extract.
9072 (tar--extract): Use it.
9073 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9074 case the summary uses non-ascii. Adjust to new calling convention of
9075 package-tar-file-info.
9077 2013-06-21 Leo Liu <sdl.web@gmail.com>
9079 * comint.el (comint-redirect-results-list-from-process):
9080 Fix random delay. (Bug#14681)
9082 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9084 * profiler.el (profiler-format-number): Use log, not log10.
9086 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9088 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9090 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9092 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9093 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9095 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9096 (AUTOGENEL): ... here.
9097 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9098 (cl--defsubst-expand): Use it.
9100 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9102 * subr.el (log10): Move here from C code, and declare as obsolete.
9103 All uses of (log10 X) replaced with (log X 10).
9105 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9107 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9108 Declare with `defvar-local'.
9109 (tabulated-list-use-header-line, tabulated-list-entries)
9110 (tabulated-list-padding, tabulated-list-printer)
9111 (tabulated-list-sort-key): Declare with `defvar-local'.
9112 (tabulated-list-init-header, tabulated-list-print-fake-header):
9115 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9117 * arc-mode.el (archive-mode): Add `archive-write-file' to
9118 `write-contents-functions' also for remote files. (Bug#14652)
9120 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9122 * cus-edit.el (custom-commands): Fix typos.
9123 (custom-display): Fix tooltip text.
9124 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9125 Fix typos in docstrings.
9126 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9127 (custom-unlispify-menu-entry, custom-magic-value-create)
9128 (custom-add-see-also, custom-group-value-create): Use ?\s.
9129 (custom-guess-type, customize-apropos, editable-field)
9130 (custom-face-value-create): Use `string-match-p'.
9131 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9133 * custom.el (custom-load-symbol): Use `string-match-p'.
9135 * ansi-color.el: Convert to lexical binding.
9136 (ansi-colors): Fix URL.
9137 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9138 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9139 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9141 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9143 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9145 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9147 2013-06-19 Tom Tromey <tromey@redhat.com>
9149 * net/eww.el (eww-top-url): Remove.
9150 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9151 (eww-render): Set new variables. Don't set eww-top-url.
9152 (eww-handle-link): Handle "prev", "home", and "contents".
9153 Downcase the rel text.
9154 (eww-top-url): Choose best top URL.
9156 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9158 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9159 relying in widget.el. Using widget.el leads to too many
9160 user interface inconsistencies.
9161 (eww-self-insert): Implement entering commands in text fields.
9162 (eww-process-text-input): New function to make text input field editing
9164 (eww-submit): Rewrite to use the new-style form methods.
9165 (eww-select-display): Display the correct selected item.
9166 (eww-change-select): Implement changing the select value.
9167 (eww-toggle-checkbox): Implement radio/checkboxes.
9168 (eww-update-field): Fix compilation error.
9169 (eww-tag-textarea): Implement <textarea>.
9171 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9172 we don't shadow mode-specific bindings.
9174 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9177 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9179 2013-06-19 Glenn Morris <rgm@gnu.org>
9181 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9183 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9185 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9188 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9190 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9192 * net/browse-url.el (browse-url-browser-function):
9193 `eww-browse-url' has the right calling signature, `eww' does not.
9195 2013-06-19 Glenn Morris <rgm@gnu.org>
9197 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9198 Only eval autoloaded macros.
9199 (byte-compile-autoload): Only give the macro warning for macros.
9201 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9202 (ps-underlined-faces): Declare.
9204 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9205 (speedbar-add-supported-extension): Declare.
9207 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9208 Don't include a date stamp in the header of the generated file;
9209 it leads to needless differences between output files.
9211 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9213 * net/secrets.el (secrets-struct-secret-content-type):
9214 Replace check of introspection data by a test call of "CreateItem".
9215 Some servers do not offer introspection.
9217 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9219 * electric.el (electric-pair-mode): Improve interaction with
9220 electric-layout-mode.
9221 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9222 (electric-pair-syntax): Use text-mode-syntax-table in comments
9224 (electric-pair--insert): New function.
9225 (electric-pair-post-self-insert-function): Use it and
9226 electric--after-char-pos.
9228 2013-06-19 Leo Liu <sdl.web@gmail.com>
9230 * progmodes/octave.el (octave-help): Fix regexp.
9232 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9234 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9235 (shr-table-horizontal-line): Allow nil as a value, and change the
9237 (shr-insert-table-ruler): Respect the nil value.
9239 2013-06-18 Tom Tromey <tromey@barimba>
9241 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9243 (eww-open-file): New defun.
9244 (eww-render): Initialize new variables.
9245 (eww-display-html): Handle "link" and "a".
9246 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9247 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9248 (eww-back-url): Rename from eww-previous-url.
9249 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9252 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9254 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9255 Distinguish ternary operator tokens from slash symbol and slash
9258 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9260 Convert symbol prettification into minor mode and global minor mode.
9262 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9263 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9264 (prettify-symbols--keywords): Rename from
9265 `prog-prettify-symbols-alist' and make a local defvar.
9266 (prettify-symbols--compose-symbol): Rename from
9267 `prog--prettify-font-lock-compose-symbol'.
9268 (prettify-symbols--make-keywords): Rename from
9269 `prog-prettify-font-lock-symbols-keywords' and simplify.
9270 (prog-prettify-install): Remove.
9271 (prettify-symbols-mode): New minor mode, based on
9272 `prog-prettify-install'.
9273 (turn-on-prettify-symbols-mode): New function.
9274 (global-prettify-symbols-mode): New globalized minor mode.
9276 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9277 * progmodes/cfengine.el (cfengine3-mode):
9278 * progmodes/perl-mode.el (perl-mode): Don't call
9279 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9281 2013-06-18 Juri Linkov <juri@jurta.org>
9283 * files-x.el (modify-file-local-variable-message): New function.
9284 (modify-file-local-variable)
9285 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9286 and call `modify-file-local-variable-message' when it's non-nil.
9287 (add-file-local-variable, delete-file-local-variable)
9288 (add-file-local-variable-prop-line)
9289 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9290 and use it. (Bug#9820)
9292 2013-06-18 Juri Linkov <juri@jurta.org>
9294 * emulation/vi.el (vi-shell-op):
9295 * emulation/vip.el (vip-execute-com, ex-command):
9296 * emulation/viper-cmd.el (viper-exec-bang):
9297 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9298 the call of `shell-command-on-region'. (Bug#14637)
9300 * simple.el (shell-command-on-region): Doc fix.
9302 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9304 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9307 2013-06-18 Glenn Morris <rgm@gnu.org>
9309 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9311 * newcomment.el (comment-search-forward, comment-search-backward):
9312 Doc fix. (Bug#14376)
9314 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9316 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9317 (buffer-face-mode-invoke): Doc fix.
9319 2013-06-18 Matthias Meulien <orontee@gmail.com>
9321 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9322 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9324 2013-06-18 Glenn Morris <rgm@gnu.org>
9326 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9327 Replace obsolete function generic-make-keywords with its expansion.
9329 * progmodes/python.el (ffap-alist): Declare.
9331 * textmodes/reftex.el (bibtex-mode-map): Declare.
9333 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9335 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9336 (package-unpack, package-unpack-single): Return the pkg-dir.
9337 (package-download-transaction): Use it to update package-alist.
9339 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9341 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9344 2013-06-17 Juri Linkov <juri@jurta.org>
9346 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9348 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9350 * emacs-lisp/package.el (package-load-descriptor):
9351 Remove `with-syntax-table' call, `read' doesn't need it.
9352 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9354 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9356 * startup.el (command-line): Expand package name returned by
9357 `package--description-file' (bug#14639).
9359 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9361 * emacs-lisp/package.el (package-load-descriptor): Do not call
9362 `emacs-lisp-mode', just use its syntax table.
9364 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9366 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9367 `font-lock-extra-managed-props' if any prettifying keyword is added.
9368 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9369 (prog-mode): Use `setq-local'.
9371 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9373 * international/characters.el (standard-case-table): Set syntax of ?»
9374 and ?« to punctuation.
9376 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9378 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9379 Save relevant match data before calling `syntax-ppss' (bug#14595).
9381 2013-06-15 Juri Linkov <juri@jurta.org>
9383 * files-x.el (modify-file-local-variable-prop-line): Add local
9384 variables to the end of the existing comment on the first line.
9385 Use `file-auto-mode-skip' to skip interpreter magic line,
9386 and also skip XML declaration.
9388 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9390 * startup.el (package--builtin-versions): New var.
9391 (package-subdirectory-regexp): Remove.
9392 (package--description-file): Hard code its value instead.
9394 * emacs-lisp/package.el: Don't activate packages older than builtin.
9395 (package-obsolete-list): Rename from package-obsolete-alist, and make
9396 it into a simple list of package-desc.
9397 (package-strip-version): Remove.
9398 (package-built-in-p): Use package--builtin-versions.
9399 (package-mark-obsolete): Simplify.
9400 (package-process-define-package): Mark it obsolete if older than the
9402 (package-handle-response): Use line-end-position.
9403 (package-read-archive-contents, package--download-one-archive):
9405 (package--add-to-archive-contents): Skip if older than the builtin or
9407 (package-menu-describe-package): Fix last change.
9408 (package-list-unversioned): New var.
9409 (package-menu--generate): Use it.
9411 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9412 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9413 (autoload-builtin-package-versions): New variable.
9414 (autoload-generate-file-autoloads): Use them.
9415 Remove the list of autoloaded functions/macros from the
9416 (autoload...) comments.
9418 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9420 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9422 * simple.el (line-move-partial): Don't jump to the next screen
9423 line as soon as it becomes visible. Instead, continue enlarging
9424 the vscroll until the portion of a tall screen line that's left on
9425 display is about the height of the frame's default font.
9428 2013-06-15 Glenn Morris <rgm@gnu.org>
9430 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9431 compilation-error-regexp-alist void, or local while let-bound.
9433 * progmodes/make-mode.el (makefile-mode-syntax-table):
9434 Treat "=" as punctuation. (Bug#14614)
9436 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9438 * help-fns.el (describe-variable):
9439 Add extra line for permanent-local variables.
9441 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9443 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9444 Add export, import, library. (Bug#9164)
9445 (library): Set indent function.
9447 2013-06-14 Glenn Morris <rgm@gnu.org>
9449 * term/xterm.el (xterm--query):
9450 Stop after first matching handler. (Bug#14615)
9452 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9454 Add support for dired in saveplace.
9455 * dired.el (dired-initial-position-hook): New variable.
9456 (dired-initial-position): Call hook to place cursor position.
9457 * saveplace.el (save-place-to-alist): Add dired position.
9458 (save-place-dired-hook): New function.
9460 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9462 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9463 through a symbol rather than letrec.
9465 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9466 (package-desc): Add `dir' field.
9467 (package-desc-full-name): New function.
9468 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9469 (package-maybe-load-descriptor): Remove.
9470 (package-load-all-descriptors): Just call package-load-descriptor.
9471 (package--disabled-p): New function.
9472 (package-desc-vers, package-desc-doc): Remove aliases.
9473 (package--dir): Remove function.
9474 (package-activate): Check if a package is disabled.
9475 (package-process-define-package): New function, extracted from
9477 (define-package): Turn into a place holder.
9478 (package-unpack-single, package-tar-file-info):
9479 Use package--description-file.
9480 (package-compute-transaction): Use package--disabled-p.
9481 (package-download-transaction): Don't call
9482 package-maybe-load-descriptor since they're all loaded anyway.
9483 (package-install): Change argument to be a pkg-desc.
9484 (package-delete): Use a single pkg-desc argument.
9485 (describe-package-1): Use package-desc-dir instead of package--dir.
9486 Use package-desc property instead of package-symbol.
9487 (package-install-button-action): Adjust accordingly.
9488 (package--push): Rewrite.
9489 (package-menu--print-info): Adjust accordingly. Change the ID format
9491 (package-menu-describe-package, package-menu-get-status)
9492 (package-menu--find-upgrades, package-menu-mark-upgrades)
9493 (package-menu-execute, package-menu--name-predicate):
9495 * startup.el (package--description-file): New function.
9496 (command-line): Use it.
9497 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9498 Use package-desc-version.
9500 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9501 (byte-compile-preprocess): Use it.
9502 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9503 can't quite recognize.
9504 (byte-compile-add-to-list): Remove.
9505 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9506 (cconv-closure-convert): Add assertion.
9508 * emacs-lisp/map-ynp.el: Use lexical-binding.
9509 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9510 Factor out some repeated code.
9512 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9514 * subr.el (with-eval-after-load): New macro.
9515 (eval-after-load): Allow form to be a function.
9516 take advantage of lexical-binding.
9517 (do-after-load-evaluation): Use dolist and adjust to new format.
9518 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9520 2013-06-13 Juri Linkov <juri@jurta.org>
9522 * replace.el (perform-replace): Display "symbol " and other search
9523 modes from `isearch-message-prefix' in the *Help* buffer.
9525 * isearch.el (isearch-query-replace): Add " symbol" and other
9526 possible search modes from `isearch-message-prefix' to the prompt.
9527 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9528 when reading a regexp to collect.
9530 2013-06-13 Juri Linkov <juri@jurta.org>
9532 * isearch.el (word-search-regexp): Match whitespace if the search
9533 string begins or ends in whitespace. The LAX arg is applied to
9534 both ends of the search string. Use `regexp-quote' and explicit
9535 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9536 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9537 boundaries are replaced with symbol boundaries, and characters
9538 between symbols match non-word non-symbol syntax. (Bug#14602)
9540 2013-06-13 Juri Linkov <juri@jurta.org>
9542 * isearch.el (isearch-del-char): Don't exceed the length of
9543 `isearch-string' by the prefix arg. (Bug#14563)
9545 2013-06-13 Juri Linkov <juri@jurta.org>
9547 * isearch.el (isearch-yank-word, isearch-yank-line)
9548 (isearch-char-by-name, isearch-quote-char)
9549 (isearch-printing-char, isearch-process-search-char):
9550 Add optional count prefix arg. (Bug#14563)
9552 * international/isearch-x.el
9553 (isearch-process-search-multibyte-characters):
9554 Add optional count prefix arg.
9556 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9558 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9559 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9562 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9564 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9566 2013-06-13 Glenn Morris <rgm@gnu.org>
9568 * startup.el (tty-handle-args):
9569 Don't just discard "--" and anything after. (Bug#14608)
9571 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9573 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9575 Implement changes in Secret Service API. Make it backward compatible.
9576 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9577 (secrets-create-item): Use it. Prefix properties with interface.
9579 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9581 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9582 (term-emulate-terminal): Respect term-suppress-hard-newline.
9584 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9586 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9587 Only remove a `thumb-file' overlay. (Bug#14548)
9589 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9591 * mail/reporter.el (reporter-submit-bug-report):
9592 Handle missing package-name. (Bug#14600)
9594 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9596 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9597 (reftex-citation-prompt, reftex-default-bibliography)
9598 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9599 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9600 (reftex-bib-sort-author, reftex-bib-sort-year)
9601 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9602 (reftex-extract-bib-entries-from-thebibliography)
9603 (reftex-get-bibkey-default, reftex-get-bib-names)
9604 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9605 (reftex-format-bib-entry, reftex-parse-bibitem)
9606 (reftex-format-bibitem, reftex-do-citation)
9607 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9608 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9609 (reftex-insert-bib-matches, reftex-format-citation)
9610 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9611 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9612 existing comments into docstrings.
9614 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9616 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9618 2013-06-12 Andreas Schwab <schwab@suse.de>
9620 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9621 for auto-save files.
9623 2013-06-12 Glenn Morris <rgm@gnu.org>
9625 * ido.el (ido-delete-ignored-files): Remove.
9626 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9627 Go back to calling ido-ignore-item-p directly.
9629 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9631 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9633 * ido.el (ido-delete-ignored-files): New function,
9634 split from ido-make-file-list-1.
9635 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9636 (ido-make-file-list-1): Use ido-delete-ignored-files.
9638 2013-06-12 Leo Liu <sdl.web@gmail.com>
9640 * progmodes/octave.el (inferior-octave-startup)
9641 (inferior-octave-completion-table)
9642 (inferior-octave-track-window-width-change)
9643 (octave-eldoc-function-signatures, octave-help)
9644 (octave-find-definition): Use single quoted strings.
9645 (inferior-octave-startup-args): Change default value.
9646 (inferior-octave-startup): Do not hard code "-i" and
9647 "--no-line-editing".
9648 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9649 (inferior-octave-directory-tracker): Use it.
9650 (octave-goto-function-definition): Robustify.
9651 (octave-help): Support highlighting operators in 'See also'.
9652 (octave-find-definition): Find subfunctions only in Octave mode.
9654 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9656 * help-fns.el (help-fns--compiler-macro): If the handler function is
9657 named, then put a link to it.
9658 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9659 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9661 (cl-eval-when): Simplify debug spec.
9662 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9663 compiler-macro function instead of setting `compiler-macro-file'.
9665 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9667 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9668 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9670 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9671 Daniel Hackney <dan@haxney.org>
9673 First part of Daniel Hackney's patch to package.el.
9674 * emacs-lisp/package.el: Use defstruct.
9675 (package-desc): New, main struct.
9676 (package--bi-desc, package--ac-desc): New structs, used to describe the
9677 format in external files.
9678 (package-desc-vers): Replace with package-desc-version accessor.
9679 (package-desc-doc): Replace with package-desc-summary accessor.
9680 (package-activate-1): Remove `package' arg since the pkg-vec now
9682 (define-package): Use package-desc-from-define.
9683 (package-unpack-single): Change file-name arg to be a symbol.
9684 (package--add-to-archive-contents): Use package-desc-create and new
9685 accessor functions to package--ac-desc.
9686 (package-buffer-info, package-tar-file-info): Return a package-desc.
9687 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9688 arg to be a package-desc.
9689 (package-install-file): Adjust accordingly. Use \' to match EOS.
9690 (package--from-builtin): New function.
9691 (describe-package-1, package-menu--generate): Use it.
9692 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9693 (package-generate-autoloads): Idem and return the name of the file.
9694 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9695 Change pkg-info arg to be a package-desc.
9696 Use package-make-ac-desc.
9697 (package-upload-file): Use \' to match EOS.
9698 * finder.el (finder-compile-keywords): Use package-make-builtin.
9700 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * vc/vc.el (vc-deduce-fileset): Change error message.
9703 (vc-read-backend): New function.
9704 (vc-next-action): Use it.
9706 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9708 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9709 (prolog-font-lock-keywords): Use regexp-opt instead.
9710 Don't manually highlight strings.
9711 (prolog-mode-variables): Simplify comment-start-skip.
9712 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9714 * emacs-lisp/generic.el (generic--normalise-comments)
9715 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9716 (generic-mode-set-comments): Use them.
9717 (generic-bracket-support): Use setq-local.
9718 (generic-make-keywords-list): Declare obsolete.
9720 2013-06-11 Glenn Morris <rgm@gnu.org>
9722 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9723 Prettify after setting font-lock-defaults. (Bug#14574)
9725 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9727 * replace.el (query-replace, occur-read-regexp-defaults-function)
9729 * subr.el (declare-function, number-sequence, local-set-key)
9730 (substitute-key-definition, locate-user-emacs-file)
9731 (with-silent-modifications, split-string, eval-after-load):
9732 Fix typos, remove unneeded backslashes and reflow some docstrings.
9734 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9736 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9737 default for Elisp files.
9739 2013-06-11 Glenn Morris <rgm@gnu.org>
9741 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9742 although define-derived-mode was doing this anyway. (Bug#14583)
9744 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9746 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9747 Fix make-variable-buffer-local call to refer to the correct variable.
9749 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9751 * eshell/em-term.el (eshell-visual-commands)
9752 (eshell-visual-subcommands, eshell-visual-options):
9753 Add summary line to docstrings. Add cross-references.
9755 2013-06-10 Glenn Morris <rgm@gnu.org>
9757 * epa.el (epa-read-file-name): New function. (Bug#14510)
9758 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9760 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9762 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9763 output redirection to be ignored with visual commands.
9765 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9767 * eshell/em-term.el (eshell-visual-command-p): New function.
9768 (eshell-term-initialize): Move long lambda to separate function
9769 eshell-visual-command-p.
9770 * eshell/em-dirs.el (eshell-dirs-initialise):
9771 * eshell/em-script.el (eshell-script-initialize):
9772 Add missing #' to lambda.
9774 2013-06-08 Leo Liu <sdl.web@gmail.com>
9776 * progmodes/octave.el (octave-add-log-current-defun): New function.
9777 (octave-mode): Set add-log-current-defun-function.
9778 (octave-goto-function-definition): Do not move point if not found.
9779 (octave-find-definition): Enhance to try subfunctions first.
9781 2013-06-08 Glenn Morris <rgm@gnu.org>
9783 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9784 (byte-compile-backward-char, byte-compile-backward-word):
9785 Improve previous change, to handle non-explicit nil.
9787 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9789 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9790 (smie--opener/closer-at-point): New function.
9791 (smie--matching-block-data): Use it. Don't match from right after an
9792 opener or right before a closer. Obey smie-blink-matching-inners.
9793 Don't signal a mismatch for repeated inners like "switch..case..case".
9795 2013-06-07 Leo Liu <sdl.web@gmail.com>
9797 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9799 (octave-function-header-regexp): Fix. (Bug#14570)
9800 (octave-help-mode-finish-hook, octave-help-mode-finish):
9801 Remove. Just use temp-buffer-show-hook.
9803 * newcomment.el (comment-search-backward): Revert last change.
9806 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9808 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9810 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9811 through xargs, to avoid failure due to MS-Windows limitations on
9812 command-line length.
9814 2013-06-06 Glenn Morris <rgm@gnu.org>
9816 * font-lock.el (lisp-font-lock-keywords-2):
9817 Treat user-error like error.
9819 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9820 (byte-compile-backward-char, byte-compile-backward-word):
9821 Handle explicit nil arguments. (Bug#14565)
9823 2013-06-05 Alan Mackenzie <acm@muc.de>
9825 * isearch.el (isearch-allow-prefix): New user option.
9826 (isearch-other-meta-char): Don't exit isearch when a prefix
9827 argument is typed whilst `isearch-allow-prefix' is non-nil.
9830 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9832 * autorevert.el (auto-revert-notify-handler): Use memq.
9833 Hide assertion failure.
9835 * skeleton.el: Use cl-lib.
9836 (skeleton-further-elements): Use defvar-local.
9837 (skeleton-insert): Use cl-progv.
9839 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9841 * progmodes/prog-mode.el (prog-prettify-symbols)
9842 (prog-prettify-install): Update docstrings.
9844 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9846 * simple.el: Move all the prog-mode code to prog-mode.el.
9847 * progmodes/prog-mode.el: New file.
9848 * loadup.el: Add prog-mode.el.
9850 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9852 * simple.el (prog-prettify-symbols): Add version.
9853 (prog-prettify-install): Add convenience function to prettify symbols.
9855 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9856 (perl--augmented-font-lock-keywords-1)
9857 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9858 variables and use it.
9860 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9861 (cfengine3-mode): Remove unneeded variable and use it.
9863 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9864 (lisp--augmented-font-lock-keywords-1)
9865 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9866 Remove unneeded variables and use it.
9868 2013-06-05 João Távora <joaotavora@gmail.com>
9870 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9871 to point when opening the connection. (Bug#14380)
9873 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9875 * subr.el (load-history-regexp, load-history-filename-element)
9876 (eval-after-load, after-load-functions, do-after-load-evaluation)
9877 (eval-next-after-load, display-delayed-warnings)
9878 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9879 definition of save-match-data.
9880 (overriding-local-map): Remove accidental obsolescence declaration.
9882 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9884 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9886 Generalize symbol prettify support to prog-mode and implement it
9887 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9888 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9889 (prog--prettify-font-lock-compose-symbol)
9890 (prog-prettify-font-lock-symbols-keywords): New variables and
9891 functions to support symbol prettification.
9892 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9893 (lisp--augmented-font-lock-keywords-1)
9894 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9895 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9896 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9897 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9898 Implement prettify of -> => :: strings.
9899 * progmodes/perl-mode.el (perl-prettify-symbols)
9900 (perl--font-lock-compose-symbol)
9901 (perl--font-lock-symbols-keywords): Move to prog-mode.
9902 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9903 (perl-font-lock-keywords-1)
9904 (perl-font-lock-keywords-2): Remove explicit prettify support.
9905 (perl--augmented-font-lock-keywords)
9906 (perl--augmented-font-lock-keywords-1)
9907 (perl--augmented-font-lock-keywords-2, perl-mode):
9908 Implement prettify support.
9910 2013-06-05 Leo Liu <sdl.web@gmail.com>
9912 Re-implement smie matching block highlight using
9913 show-paren-data-function. (Bug#14395)
9914 * emacs-lisp/smie.el (smie-matching-block-highlight)
9915 (smie--highlight-matching-block-overlay)
9916 (smie--highlight-matching-block-lastpos)
9917 (smie-highlight-matching-block)
9918 (smie-highlight-matching-block-mode): Remove.
9919 (smie--matching-block-data-cache): New variable.
9920 (smie--matching-block-data): New function.
9921 (smie-setup): Use smie--matching-block-data for
9922 show-paren-data-function.
9924 * progmodes/octave.el (octave-mode-menu): Fix.
9925 (octave-find-definition): Skip garbage lines.
9927 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9929 Fix compilation error with simultaneous dynamic+lexical scoping.
9930 Add warning when a defvar appears after the first let-binding.
9931 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
9932 (byte-compile-close-variables): Initialize it.
9933 (byte-compile--declare-var): New function.
9934 (byte-compile-file-form-defvar)
9935 (byte-compile-file-form-define-abbrev-table)
9936 (byte-compile-file-form-custom-declare-variable): Use it.
9937 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
9938 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
9939 (byte-compile-bind): Handle dynamic bindings that shadow
9941 (byte-compile-unbind): Make arg non-optional.
9942 (byte-compile-let): Simplify.
9943 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
9944 (cconv--analyse-function, cconv-analyse-form): Populate it.
9945 Protect byte-compile-bound-variables to limit the scope of defvars.
9946 (cconv-analyse-form): Add missing rule for (defvar <foo>).
9947 Remove unneeded rule for `declare'.
9949 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
9950 so as to avoid depending on cl-adjoin at run-time.
9951 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
9953 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
9954 (macroexp--warn-and-return): Use it.
9956 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9958 * subr.el: Convert to lexical binding.
9959 (overriding-local-map): Make obsolete.
9960 (add-to-list): Doc fix. Add compiler macro.
9961 (read-key): Swap values of local maps.
9963 2013-06-05 Leo Liu <sdl.web@gmail.com>
9965 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
9967 2013-06-04 Leo Liu <sdl.web@gmail.com>
9969 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
9970 (compilation-auto-jump): Suppress the "Mark set" message to give
9971 way to exit message.
9973 2013-06-04 Alan Mackenzie <acm@muc.de>
9975 Remove faulty optimisation from indentation calculation.
9976 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
9977 search limit based on 2000 characters back from indent-point.
9979 2013-06-03 Tassilo Horn <tsdh@gnu.org>
9981 * eshell/em-term.el (cl-lib): Require `cl-lib'.
9983 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * emacs-lisp/lisp.el: Use lexical-binding.
9986 (lisp--local-variables-1, lisp--local-variables): New functions.
9987 (lisp--local-variables-completion-table): New var.
9988 (lisp-completion-at-point): Use it complete let-bound vars.
9990 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
9991 eagerly (bug#14422).
9993 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
9995 * autorevert.el (auto-revert-notify-enabled)
9996 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9997 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
9998 (auto-revert-notify-handler): Handle also gfilenotify.
10000 * subr.el (file-notify-handle-event): New defun. Replacing ...
10001 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10004 2013-06-03 Juri Linkov <juri@jurta.org>
10006 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10007 `M-s h .'. (Bug#14427)
10009 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10010 command `hi-lock-face-symbol-at-point'.
10011 (hi-lock-face-symbol-at-point): New command.
10012 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10013 (hi-lock-menu): Add `highlight-symbol-at-point'.
10014 (hi-lock-mode): Doc fix.
10016 * isearch.el (isearch-forward-symbol-at-point): New command.
10017 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10018 (isearch-highlight-regexp): Add a regexp which matches
10019 words/symbols for word/symbol mode.
10021 * subr.el (find-tag-default-bounds): New function with the body
10022 mostly moved from `find-tag-default'.
10023 (find-tag-default): Move most code to `find-tag-default-bounds',
10024 call it and apply `buffer-substring-no-properties' afterwards.
10026 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10028 * eshell/em-term.el (eshell-term-initialize):
10029 Use `cl-intersection' rather than `intersection'.
10031 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10033 * vc/log-view.el: Doc fix.
10034 (log-view-mode-map): Copy keymap from `special-mode-map'.
10036 2013-06-02 Eric Ludlam <zappo@gnu.org>
10038 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10039 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10040 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10041 (eieio-unbound, eieio-default-superclass)
10042 (eieio--define-field-accessors, method-static, method-before)
10043 (method-primary, method-after, method-num-lists)
10044 (method-generic-before, method-generic-primary)
10045 (method-generic-after, method-num-slots)
10046 (eieio-specialized-key-to-generic-key)
10047 (eieio--check-type, class-v, class-p)
10048 (eieio-class-name, define-obsolete-function-alias)
10049 (eieio-class-parents-fast, eieio-class-children-fast)
10050 (same-class-fast-p, class-constructor, generic-p)
10051 (generic-primary-only-p, generic-primary-only-one-p)
10052 (class-option-assoc, class-option, eieio-object-p)
10053 (class-abstract-p, class-method-invocation-order)
10054 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10055 (eieio-class-un-autoload, eieio-defclass)
10056 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10057 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10058 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10059 (eieio-defgeneric-reset-generic-form)
10060 (eieio-defgeneric-form-primary-only)
10061 (eieio-defgeneric-reset-generic-form-primary-only)
10062 (eieio-defgeneric-form-primary-only-one)
10063 (eieio-defgeneric-reset-generic-form-primary-only-one)
10064 (eieio-unbind-method-implementations)
10065 (eieio--defmethod, eieio--typep)
10066 (eieio-perform-slot-validation, eieio-validate-slot-value)
10067 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10068 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10069 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10070 (eieio-slot-name-index, eieio-class-slot-name-index)
10071 (eieio-set-defaults, eieio-initarg-to-attribute)
10072 (eieio-attribute-to-initarg, eieio-c3-candidate)
10073 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10074 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10075 (eieio-class-precedence-list, eieio-generic-call-methodname)
10076 (eieio-generic-call-arglst, eieio-generic-call-key)
10077 (eieio-generic-call-next-method-list)
10078 (eieio-pre-method-execution-functions, eieio-generic-call)
10079 (eieio-generic-call-primary-only, eieiomt-method-list)
10080 (eieiomt-optimizing-obarray, eieiomt-install)
10081 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10082 (eieio-generic-form, eieio-defmethod, make-obsolete)
10083 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10084 (defclass): Remove `eval-and-compile' from macro.
10085 (call-next-method, shared-initialize): Instead of using
10086 `scoped-class' variable, use new eieio--scoped-class, and
10087 eieio--with-scoped-class.
10088 (initialize-instance): Rename local variable 'scoped-class' to
10089 'this-class' to remove ambiguitity from old global.
10091 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10093 (eieio--scoped-class-stack): New variable.
10094 (eieio--scoped-class): New fcn.
10095 (eieio--with-scoped-class): New scoping macro.
10096 (eieio-defclass): Use pushnew instead of add-to-list.
10097 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10098 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10099 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10100 `scoped-class' variable, use new eieio--scoped-class, and
10101 eieio--with-scoped-class.
10103 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10105 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10107 * eshell/esh-ext.el (eshell-external-command): Pass args to
10108 `eshell-find-interpreter'.
10109 (eshell-find-interpreter): Add new second parameter ARGS.
10111 * eshell/em-script.el (eshell-script-initialize): Add second arg
10112 to the function added as MATCH to `eshell-interpreter-alist'.
10114 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10115 the function added as MATCH to `eshell-interpreter-alist'.
10117 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10118 (eshell-visual-options): New defcustom.
10119 (eshell-escape-control-x): Adapt docstring.
10120 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10121 `eshell-visual-options' in addition to `eshell-visual-commands'.
10122 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10124 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10126 * progmodes/python.el (python-indent-block-enders): Add break,
10127 continue and raise keywords.
10129 2013-06-01 Glenn Morris <rgm@gnu.org>
10131 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10133 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10134 * progmodes/cc-cmds.el (delete-forward-p):
10135 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10136 * progmodes/cc-engine.el (buffer-syntactic-context):
10137 * progmodes/cc-fonts.el (face-property-instance):
10138 * progmodes/cc-mode.el (set-keymap-parents):
10139 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10140 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10141 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10142 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10143 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10145 * progmodes/cc-vars.el (other): Emacs has this widget since
10146 at least 21.1, so don't (re)define it.
10148 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10149 Replace the obsolete alias pcomplete-arg-quote-list.
10151 2013-06-01 Leo Liu <sdl.web@gmail.com>
10153 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10154 punctuation syntax.
10155 (inferior-octave-minimal-columns)
10156 (inferior-octave-last-column-width): New variables.
10157 (inferior-octave-track-window-width-change): New function.
10158 (inferior-octave-mode): Adjust column width so that Octave output,
10159 for example from 'ls', can fit into the window nicely.
10161 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10163 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10164 Highlight expansions inside regexp literals.
10166 2013-05-31 Glenn Morris <rgm@gnu.org>
10168 * obsolete/sym-comp.el (symbol-complete):
10169 Replace obsolete completion-annotate-function.
10171 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10173 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10175 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10176 New function, checks if point is inside a literal that allows
10177 expression expansion.
10178 (ruby-syntax-propertize-expansion): Use it.
10179 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10182 2013-05-30 Juri Linkov <juri@jurta.org>
10184 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10186 (isearch-invisible): New variable.
10187 (isearch-forward): Doc fix.
10188 (isearch-mode): Set `isearch-invisible'
10189 to the value of `search-invisible'.
10190 (isearch-toggle-case-fold): Doc fix.
10191 (isearch-toggle-invisible): New command.
10192 (isearch-query-replace): Let-bind `search-invisible'
10193 to the value of `isearch-invisible'.
10194 (isearch-search): Use `isearch-invisible' instead of
10195 `search-invisible'. Let-bind `search-invisible'
10196 to the value of `isearch-invisible'. (Bug#11378)
10198 2013-05-30 Juri Linkov <juri@jurta.org>
10200 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10201 call when `query-flag' is nil and `search-invisible' is non-nil.
10204 2013-05-30 Glenn Morris <rgm@gnu.org>
10206 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10208 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10209 (cc-require): Suppress spurious "noruntime" warnings.
10210 (cc-require-when-compile): Use fboundp, for sake of compiler.
10212 * progmodes/cc-mode.el: Move load of cc-vars before that of
10213 cc-langs (which in turn loads cc-vars), to quieten compiler.
10215 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10217 * paren.el: Simplify the code.
10218 (show-paren-mode): Always start the timer.
10219 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10220 (show-paren--overlay, show-paren--overlay-1): Rename from
10221 show-paren-overlay and show-paren-overlay-1, and initialize to an
10222 overlay rather than to nil.
10223 (show-paren-function): Misc cleanup and simplifications.
10225 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10227 * paren.el (show-paren-data-function): New hook.
10228 (show-paren--default): New function, extracted from show-paren-function.
10229 (show-paren-function): Use show-paren-data-function.
10231 2013-05-30 Glenn Morris <rgm@gnu.org>
10233 * ielm.el (ielm-map, ielm-complete-symbol):
10234 Use completion-at-point rather than obsolete functions.
10235 (inferior-emacs-lisp-mode): Doc fix.
10236 Set completion-at-point-functions, rather than
10237 comint-dynamic-complete-functions.
10239 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10240 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10241 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10243 * image.el (image-animated-p): Tweak definition.
10245 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10246 (rlogin-process-connection-type): Tweak default. Add set-after.
10247 (rlogin-host): Doc fix.
10248 (rlogin): Tweak prompt.
10249 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10251 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10252 * progmodes/tcl.el (inferior-tcl-mode-map):
10253 Use completion-at-point rather than obsolete alias.
10255 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10257 * minibuffer.el (read-file-name-completion-ignore-case):
10258 Move before completion--in-region, for eager macro expansion.
10260 2013-05-29 Juri Linkov <juri@jurta.org>
10262 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10263 for total count of matching lines. Add `global-matches' for total
10264 count of matches. Rename `matches' to `lines' for count of
10265 matching lines. Add `matches' for count of matches.
10266 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10267 to `prev-line' for line number of prev match endpt.
10268 Increment `matches' for every match. Print the number of
10269 matching lines in the header.
10270 (occur-context-lines): Rename `lines' to `curr-line'.
10271 Rename `prev-lines' to `prev-line'. (Bug#14017)
10273 2013-05-29 Juri Linkov <juri@jurta.org>
10275 * replace.el (perform-replace): Add `skip-read-only-count',
10276 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10277 Increment them for corresponding conditions and report the number
10278 of skipped occurrences in the final message. (Bug#11746)
10279 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10280 (replace-string, replace-regexp): Doc fix.
10282 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10284 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10286 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10287 prog-mode-map (bug#14504).
10289 2013-05-29 Leo Liu <sdl.web@gmail.com>
10291 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10292 (octave-help): Small simplification.
10294 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10295 off the highlight first.
10297 2013-05-29 Glenn Morris <rgm@gnu.org>
10299 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10300 Handle idlwave-last-system-routine-info-cons-cell being nil.
10302 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10303 (idlwave-write-paths): Simplify via with-temp-buffer.
10305 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10306 * emulation/cua-rect.el: Also load cua-base at run time.
10308 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10309 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10310 (cperl-imenu-on-info): Require imenu.
10312 2013-05-28 Alan Mackenzie <acm@muc.de>
10314 Handle "capitalised keywords" correctly.
10315 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10317 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10319 * eshell/em-unix.el: Add -r option to cp.
10321 2013-05-28 Glenn Morris <rgm@gnu.org>
10323 * vc/vc-arch.el (vc-exec-after): Declare.
10324 (vc-switches): Autoload.
10325 * vc/vc-bzr.el: No need to require vc when compiling.
10326 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10327 (vc-resynch-buffer, vc-dir-refresh): Declare.
10328 (vc-setup-buffer, vc-switches): Autoload.
10329 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10330 (vc-resynch-buffer): Declare.
10331 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10332 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10333 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10334 (grep-read-regexp, grep-read-files, grep-expand-template)
10335 (vc-dir-refresh): Declare.
10336 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10337 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10338 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10339 * vc/vc-mtn.el (vc-exec-after): Declare.
10340 (vc-switches): Autoload.
10341 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10342 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10343 (vc-file-tree-walk): Declare.
10344 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10345 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10346 (vc-tag-precondition, vc-rename-master): Autoload.
10347 * vc/vc-svn.el (vc-exec-after): Declare.
10348 (vc-switches, vc-setup-buffer): Autoload.
10349 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10351 (vc-resynch-buffer): Declare.
10353 * obsolete/fast-lock.el (byte-compile-warnings):
10354 Don't warn about obsolete features in this obsolete file.
10356 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10357 Move definition before use.
10359 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10360 (dun-unix-verbs): Remove dun-zippy.
10361 (dun-zippy): Remove function.
10363 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10365 2013-05-27 Juri Linkov <juri@jurta.org>
10367 * replace.el (replace-search): New function with code moved out
10368 from `perform-replace'.
10369 (replace-highlight, replace-dehighlight): Move function definitions
10370 up closer to `replace-search'. (Bug#11746)
10372 2013-05-27 Juri Linkov <juri@jurta.org>
10374 * replace.el (perform-replace): Ignore invisible matches.
10375 In addition to checking `query-replace-skip-read-only', also
10376 filter out matches by calling `run-hook-with-args-until-failure'
10377 on `isearch-filter-predicates', and also check `search-invisible'
10378 for t or call `isearch-range-invisible'.
10379 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10381 2013-05-27 Juri Linkov <juri@jurta.org>
10383 * isearch.el (isearch-filter-predicates): Rename from
10384 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10385 (isearch-message-prefix): Display text from the property
10386 `isearch-message-prefix' of the currently active filters.
10387 (isearch-search): Don't compare `isearch-filter-predicate' with
10388 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10389 on `isearch-filter-predicates'. Also check `search-invisible' for t
10390 or call `isearch-range-invisible'.
10391 (isearch-filter-visible): Make obsolete.
10392 (isearch-lazy-highlight-search):
10393 Call `run-hook-with-args-until-failure' on
10394 `isearch-filter-predicates' and use `isearch-range-invisible'.
10396 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10397 `isearch-filter-predicates' instead of `funcall'ing
10398 `isearch-filter-predicate'.
10399 (Info-mode): Set `Info-isearch-filter' to
10400 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10402 * dired-aux.el (dired-isearch-filter-predicate-orig):
10404 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10405 (dired-isearch-filenames-end): Add and remove
10406 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10407 instead of changing the value of `isearch-filter-predicate'.
10408 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10409 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10410 Put property `isearch-message-prefix' to "filename " on
10411 `dired-isearch-filter-filenames'.
10413 * wdired.el (wdired-change-to-wdired-mode):
10414 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10415 locally instead of changing `isearch-filter-predicate'.
10416 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10418 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10420 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10421 return the commit hash (Bug#14459). Also set the
10422 `vc-git-detached' property.
10423 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10424 (vc-git-mode-line-string): Use the same help-echo format whether
10425 in detached mode or not, because we know the actual revision now.
10426 When in detached mode, shorten the revision to 7 chars.
10428 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10430 * emacs-lisp/easy-mmode.el (define-minor-mode):
10431 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10432 mode hook and provide a docstring.
10434 2013-05-27 Alan Mackenzie <acm@muc.de>
10436 Remove spurious syntax-table text properties inserted by C-y.
10437 * progmodes/cc-mode.el (c-after-change): Also clear hard
10438 syntax-table property with value nil.
10440 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10442 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10443 when reading the events; the buffer layout shall not be changed.
10445 2013-05-27 Leo Liu <sdl.web@gmail.com>
10447 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10449 (inferior-octave-directory-tracker): Automatically re-sync
10451 (octave-help): Improve handling of 'See also'.
10453 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * doc-view.el: Minor naming convention tweaks.
10456 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10458 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10459 even if there's no `display' property yet (bug#14435).
10461 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10463 * subr.el (unmsys--file-name): Rename from reveal-filename.
10465 * Makefile.in (custom-deps, finder-data, autoloads)
10466 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10467 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10468 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10470 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10472 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10473 error-completion on the first 2 args of condition-case (bug#14446).
10476 2013-05-25 Leo Liu <sdl.web@gmail.com>
10478 * comint.el (comint-previous-matching-input): Do not flood the
10479 *Messages* buffer with trivial messages.
10481 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10483 * progmodes/flymake.el (flymake-nop): Don't return a string.
10484 (flymake-set-at): Fix typo.
10486 * simple.el (read--expression): New function, extracted from
10487 eval-expression. Set completion-at-point-functions (bug#14465).
10488 (eval-expression, eval-minibuffer): Use it.
10490 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10492 * progmodes/flymake.el (flymake-save-buffer-in-file)
10493 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10494 (flymake-selected-frame, flymake-log, flymake-ins-after)
10495 (flymake-set-at, flymake-get-buildfile-from-cache)
10496 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10497 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10498 Refine the doc string.
10499 (flymake-get-file-name-mode-and-masks): Reformat.
10500 (flymake-get-real-file-name-function): Fix a minor bug.
10502 2013-05-24 Juri Linkov <juri@jurta.org>
10504 * progmodes/grep.el (grep-mode-font-lock-keywords):
10505 Support =linenumber= format used by git-grep for lines with
10506 function names. (Bug#13549)
10508 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10510 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10511 0 after a semi-colon; it works better for smie-auto-fill.
10512 (octave--indent-new-comment-line): New function.
10513 (octave-indent-new-comment-line): Use it (indirectly).
10514 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10515 modify comment-line-break-function.
10517 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10518 (smie-setup): Use add-function to set it.
10520 2013-05-24 Sam Steingold <sds@gnu.org>
10522 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10523 argument (before the `interactive' argument).
10525 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10527 * image-mode.el (image-mode-winprops): Add winprops to
10528 image-mode-winprops-alist before running
10529 image-mode-new-window-functions.
10530 * doc-view.el (doc-view-new-window-function): Don't delay
10531 doc-view-goto-page via timers (bug#14435).
10533 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10535 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10536 (doc-view-desktop-save-buffer): New function.
10537 (doc-view-restore-desktop-buffer): New function.
10538 (desktop-buffer-mode-handlers):
10539 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10541 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10542 `desktop-save-buffer' function.
10544 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10546 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10547 (tramp-gvfs-file-name-handler): Raise a user error when
10548 `tramp-gvfs-enabled' is nil.
10549 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10550 Do not raise a user error when loading package. (Bug#14447)
10552 * net/xesam.el: Move to obsolete/.
10554 2013-05-24 Glenn Morris <rgm@gnu.org>
10556 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10558 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10560 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10561 (Info-find-node, Man-getpage-in-background): Declare.
10563 * mail/unrmail.el (unrmail):
10564 Replace obsolete detect-coding-with-priority.
10566 * net/socks.el (socks-split-string): Use this rather than split-string.
10567 (socks-nslookup-host): Update for above change.
10568 (dynamic-choice, s5-dynamic-choice-match)
10569 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10570 Comment out unused code.
10572 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10573 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10574 (gud-tooltip-echo-area): Make obsolete.
10575 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10577 * progmodes/js.el (js--optimize-arglist): Declare.
10579 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10581 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10582 (ediff-window-C): Declare.
10584 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10585 Tweak requires to silence compiler.
10587 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10588 (he-search-string, he-tried-table, he-expand-list)
10589 (he-init-string, he-string-member, he-substitute-string)
10590 (he-reset-string): Declare.
10592 * obsolete/options.el (list-options): Use custom-variable-p,
10593 rather than obsolete alias.
10595 2013-05-23 Sam Steingold <sds@gnu.org>
10597 * simple.el (shell-command-on-region): Pass the `replace' argument
10598 down to `call-process-region' to comply with the doc as reported on
10599 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10601 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10603 * emacs-lisp/smie.el (smie-indent-forward-token)
10604 (smie-indent-backward-token): Handle string tokens (bug#14381).
10606 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10608 * ielm.el (ielm-menu): New menu.
10609 (inferior-emacs-lisp-mode): Set comment-start.
10611 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10613 * textmodes/reftex.el (reftex-ref-style-toggle):
10614 Fix deactivate action.
10616 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10617 Add cleveref macros.
10619 * textmodes/reftex-parse.el
10620 (reftex-locate-bibliography-files): Accept options for
10621 bibliography commands.
10622 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10623 Add addbibresource. Basic Biblatex support.
10625 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10627 * net/tramp-gvfs.el (top):
10628 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10629 when loading package. (Bug#14447)
10631 2013-05-23 Glenn Morris <rgm@gnu.org>
10633 * progmodes/js.el: No need to load comint when compiling.
10634 (ring-insert, comint-send-string, comint-send-input)
10635 (comint-last-input-end, ido-chop): Declare.
10637 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10638 * vc/ediff-mult.el: Adjust requires.
10639 (ediff-directories-internal, ediff-directory-revisions-internal)
10640 (ediff-patch-file-internal): Declare.
10641 * vc/ediff-ptch.el: Adjust requires.
10642 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10643 (ediff-find-file): Autoload.
10644 * vc/ediff-util.el: No need to load ediff when compiling.
10645 (ediff-regions-internal): Declare.
10646 * vc/ediff-wind.el: Adjust requires.
10647 (ediff-compute-toolbar-width): Define when compiling.
10648 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10649 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10650 (dired-get-filename, dired-get-marked-files)
10651 (ediff-last-dir-patch, ediff-patch-default-directory)
10652 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10653 (ediff-patch-buffer-internal): Declare.
10655 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10656 (ispell-process, ispell-buffer-local-words, lm-summary)
10657 (lm-section-start, lm-section-end): Declare.
10658 (checkdoc-ispell-init): Simplify.
10660 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10661 (he-string-member, he-reset-string, he-substitute-string): Declare.
10663 * eshell/em-ls.el: Adjust requires.
10664 (eshell-glob-regexp): Declare.
10665 * eshell/em-tramp.el: Adjust requires.
10666 (eshell-parse-command): Autoload.
10667 * eshell/em-xtra.el: Adjust requires.
10668 (eshell-parse-command): Autoload.
10669 * eshell/esh-ext.el: Adjust requires.
10670 (eshell-parse-command, eshell-close-handles): Autoload.
10671 * eshell/esh-io.el: Adjust requires.
10672 (eshell-output-filter): Autoload.
10673 * eshell/esh-util.el: No need to load tramp when compiling.
10674 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10676 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10677 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10678 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10679 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10680 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10681 * eshell/esh-opt.el, eshell/esh-proc.el:
10682 * eshell/esh-var.el: Adjust requires.
10683 * eshell/eshell.el: Do not require esh-util twice.
10684 (eshell-add-input-to-history): Declare.
10685 (eshell-command): Check history module is active before using it.
10687 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10689 2013-05-22 Leo Liu <sdl.web@gmail.com>
10691 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10693 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10695 * autorevert.el (auto-revert-notify-add-watch)
10696 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10697 it indicates changes in file modification time.
10699 2013-05-22 Glenn Morris <rgm@gnu.org>
10701 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10702 Always delete the autoloaded function from the noruntime and
10703 unresolved functions lists.
10705 * allout.el: No need to load epa, epg, overlay when compiling.
10706 (epg-context-set-passphrase-callback, epg-list-keys)
10707 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10708 (epg-key-user-id-list): Declare.
10710 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10711 (viper-set-parsing-style-toggling-macro)
10712 (viper-set-emacs-state-searchstyle-macros):
10713 Use called-interactively-p on Emacs.
10714 (viper-looking-back): Make it an obsolete alias. Update callers.
10715 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10716 Use looking-back rather than viper-looking-back.
10717 (viper-tmp-insert-at-eob, viper-enlarge-region)
10718 (viper-read-string-with-history, viper-register-to-point)
10719 (viper-append-to-register, viper-change-state-to-vi)
10720 (viper-backward-char-carefully, viper-forward-char-carefully)
10721 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10722 (viper-change-state-to-emacs): Declare.
10723 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10724 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10725 * emulation/viper-mous.el: Do not load viper-cmd.
10726 (viper-backward-char-carefully, viper-forward-char-carefully)
10727 (viper-forward-word, viper-adjust-window): Declare.
10729 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10731 * progmodes/idlw-help.el (idlwave-help-fontify):
10732 Use called-interactively-p.
10734 * term/w32console.el (w32-get-console-codepage)
10735 (w32-get-console-output-codepage): Declare.
10737 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10738 Remove unnecessary declarations.
10739 (dframe-message): Doc fix.
10741 * info.el (dframe-select-attached-frame, dframe-current-frame):
10744 * speedbar.el (speedbar-message): Make it an obsolete alias.
10745 Update all callers.
10746 (speedbar-with-attached-buffer)
10747 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10748 (speedbar-with-writable): Use backquote.
10749 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10750 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10751 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10752 rather than speedbar- aliases.
10753 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10754 (speedbar-make-specialized-keymap, speedbar-insert-button)
10755 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10756 (speedbar-do-function-pointer): Declare.
10757 (rmail-speedbar-button, rmail-speedbar-find-file)
10758 (rmail-speedbar-move-message):
10759 Use dframe-with-attached-buffer rather than speedbar- alias.
10760 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10761 (dframe-message, speedbar-make-specialized-keymap)
10762 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10763 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10764 (speedbar-insert-button, dframe-select-attached-frame)
10765 (dframe-maybee-jump-to-attached-frame)
10766 (speedbar-change-initial-expansion-list)
10767 (speedbar-previously-used-expansion-list-name): Declare.
10768 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10769 Use dframe-message, dframe-with-attached-buffer rather than
10771 (gud-sentinel): Silence compiler.
10772 * progmodes/vhdl-mode.el (speedbar-refresh)
10773 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10774 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10775 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10776 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10777 (speedbar-file-lists, speedbar-make-tag-line)
10778 (speedbar-line-directory, speedbar-goto-this-file)
10779 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10780 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10781 (speedbar-make-button, speedbar-reset-scanners)
10782 (speedbar-files-item-info, speedbar-line-text)
10783 (speedbar-find-file-in-frame, speedbar-set-timer)
10784 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10785 (speedbar-with-writable): Do not (re)define it.
10786 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10787 rather than speedbar- alias.
10789 2013-05-21 Leo Liu <sdl.web@gmail.com>
10791 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10793 (octave-mode): Tweak fill-nobreak-predicate.
10794 (inferior-octave-startup): Check process to avoid infinite loop.
10795 (inferior-octave): Pop to buffer first to show abornmal process
10798 2013-05-21 Glenn Morris <rgm@gnu.org>
10800 * printing.el (pr-menu-bar): Define when compiling.
10802 2013-05-21 Leo Liu <sdl.web@gmail.com>
10804 * progmodes/octave.el (octave-auto-fill): Remove.
10805 (octave-indent-new-comment-line): Improve.
10806 (octave-mode): Use auto fill mode through
10807 comment-line-break-function and fill-nobreak-predicate.
10808 (octave-goto-function-definition): Support DEFUN_DLD.
10809 (octave-beginning-of-defun): Small tweak.
10810 (octave-help): Show parent directory.
10812 2013-05-21 Glenn Morris <rgm@gnu.org>
10814 * files.el (dired-unmark):
10815 * progmodes/gud.el (gdb-input): Update declarations.
10817 * calculator.el (electric, ehelp): No need to load when compiling.
10818 (Electric-command-loop, electric-describe-mode): Declare.
10820 * doc-view.el (doc-view-current-converter-processes): Move before use.
10822 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10823 Move MODE-set-explicitly definition before use.
10825 * international/mule-diag.el (mule-diag):
10826 Don't use obsolete window-system-version.
10828 * mail/feedmail.el (smtpmail): No need to load when compiling.
10829 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10831 * mail/mail-utils.el (rfc822): No need to load when compiling.
10832 (rfc822-addresses): Autoload it.
10833 (mail-strip-quoted-names): Trivial simplification.
10835 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10836 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10838 * net/snmp-mode.el (tempo): Don't duplicate requires.
10840 * progmodes/prolog.el (info): No need to load when compiling.
10841 (comint): Require before shell requires it.
10842 (Info-goto-node): Autoload it.
10843 (Info-follow-nearest-node): Declare.
10844 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10846 * textmodes/artist.el (picture-mode-exit): Declare.
10848 * textmodes/reftex-parse.el (reftex-parse-from-file):
10849 Trivial rewrite so the compiler can parse it better.
10851 2013-05-20 Leo Liu <sdl.web@gmail.com>
10853 * progmodes/octave.el (octave-help-mode-map)
10854 (octave-help-mode-finish-hook): New variables.
10855 (octave-help-mode, octave-help-mode-finish): New functions.
10856 (octave-help): Use octave-help-mode.
10858 2013-05-20 Glenn Morris <rgm@gnu.org>
10860 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10862 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10864 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10865 start at point, so that expansion starting right after opening
10866 slash in a regexp is recognized.
10867 (ruby-syntax-before-regexp-re): New defvar, extracted from
10868 ruby-syntax-propertize-function. Since the value of this regexp
10869 is looked up at runtime now, we should be able to turn
10870 `ruby-syntax-methods-before-regexp' into a defcustom later.
10871 (ruby-syntax-propertize-function): Split regexp matching into two
10872 parts, for opening and closing slashes. That allows us to skip
10873 over string interpolations and support multiline regexps.
10874 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10875 for them, which calls `ruby-syntax-propertize-expansion'.
10876 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10877 call to `ruby-syntax-propertize-function'.
10878 (ruby-syntax-propertize-expansion): Extracted from
10879 `ruby-syntax-propertize-expansions'. Handles one expansion.
10880 (ruby-syntax-propertize-percent-literal): Leave point right after
10881 the percent symbol, so that the expression expansion rule can
10882 propertize the contents.
10883 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10885 (ruby-syntax-propertize-expansions): Remove.
10887 2013-05-18 Juri Linkov <juri@jurta.org>
10889 * man.el (Man-default-man-entry): Remove `-' from the end
10890 of the default value. (Bug#14400)
10892 2013-05-18 Glenn Morris <rgm@gnu.org>
10894 * comint.el (comint-password-prompt-regexp):
10895 Allow "password for XXX" where XXX contains colons (eg https://...).
10897 2013-05-18 Leo Liu <sdl.web@gmail.com>
10899 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10900 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10901 (octave-source-directories): Don't check process.
10902 (octave-source-directories, octave-find-definition): Doc fix.
10904 2013-05-18 Glenn Morris <rgm@gnu.org>
10906 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10907 Remove backspace/delete bindings. (Bug#14392)
10909 * cus-dep.el (custom-make-dependencies): Sort the output.
10910 (custom-versions-load-alist): Convert comment to doc.
10912 2013-05-17 Leo Liu <sdl.web@gmail.com>
10914 * newcomment.el (comment-search-backward): Stricter in finding
10915 comment start. (Bug#14303)
10917 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10918 (octave-comment-start-skip): Properly anchored.
10920 2013-05-17 Leo Liu <sdl.web@gmail.com>
10922 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
10923 Clean up when turned off. (Bug#14395)
10924 (smie--highlight-matching-block-overlay): No longer buffer-local.
10925 (smie-highlight-matching-block): Adjust.
10927 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
10929 Doc string fix for "nanoseconds" (Bug#14406).
10930 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
10931 Fix doc string typo that had "nanoseconds" instead of "microseconds".
10933 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
10935 * calc/calc-units.el (math-extract-units): Preserve powers
10938 2013-05-17 Leo Liu <sdl.web@gmail.com>
10940 * subr.el (delete-consecutive-dups): New function.
10941 * ido.el (ido-set-matches-1): Use it.
10942 * progmodes/octave.el (inferior-octave-completion-table): Use it.
10943 * ido.el (ido-remove-consecutive-dups): Remove.
10945 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
10947 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
10948 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
10949 regexp-opt's `words'.
10951 2013-05-16 Leo Liu <sdl.web@gmail.com>
10953 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
10954 (smie--highlight-matching-block-overlay)
10955 (smie--highlight-matching-block-lastpos)
10956 (smie--highlight-matching-block-timer): New variables.
10957 (smie-highlight-matching-block): New function.
10958 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
10959 (smie-setup): Conditionally enable smie-blink-matching-open.
10961 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
10963 Sync with upstream verilog-mode r840.
10964 * progmodes/verilog-mode.el (verilog-mode-version)
10965 (verilog-mode-release-date): Update.
10966 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
10967 (verilog-sig-tieoff): Fix string error on
10968 AUTORESET with colon define, bug594. Reported by Andrew Hou.
10969 (verilog-read-decls): Fix parameters confusing
10970 AUTOINST interfaces, bug565. Reported by Leith Johnson.
10972 2013-05-16 Eli Zaretskii <eliz@gnu.org>
10974 * subr.el (reveal-filename): New function.
10976 * loadup.el: Compute Emacs executable versions on MS-Windows,
10977 where executables have the .exe extension. Add a hard link
10978 emacs-XX.YY.ZZ.exe on MS-Windows.
10980 * Makefile.in (XARGS_LIMIT): New variable.
10981 (custom-deps, finder-data, autoloads)
10982 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10983 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10984 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
10985 (compile-main): Limit xargs according to $(XARGS_LIMIT).
10987 2013-05-16 Leo Liu <sdl.web@gmail.com>
10989 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
10990 (octave-mode-menu, octave-mode-map): Remove its uses.
10992 2013-05-16 Reto Zimmermann <reto@gnu.org>
10994 Sync with upstream vhdl mode v3.34.2.
10995 * progmodes/vhdl-mode.el: Use `push' throughout.
10996 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
10997 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
10998 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
10999 (vhdl-actual-generic-name): New option to derive actual generic name.
11000 (vhdl-port-paste-signals): Replace formal by actual generics.
11001 (vhdl-beautify): New name for old group vhdl-align. Update users.
11002 (vhdl-beautify-options): New option.
11003 (vhdl-last-input-event): New compat alias. Use throughout.
11004 (vhdl-goto-line): Replace user level function `goto-line'.
11005 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11006 vhdl-fix-statement-buffer.
11007 (vhdl-create-mode-menu): Add some entries.
11008 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11009 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11010 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11011 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11012 to force statements on one line.
11013 (vhdl-remove-trailing-spaces-region):
11014 New, split from vhdl-remove-trailing-spaces.
11015 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11016 Respect vhdl-beautify-options.
11017 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11018 (vhdl-update-sensitivity-list): Not add with index if exists without.
11019 Not include array index with signal. Ignore keywords in comments.
11020 (vhdl-get-visible-signals): Regexp tweaks.
11021 (vhdl-template-component-inst): Handle empty library.
11022 (vhdl-template-type): Add template for 'enum' type.
11023 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11024 Use vhdl-replace-string.
11025 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11026 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11027 (vhdl-speedbar-initialize): Update for above name change.
11028 (vhdl-compose-wire-components): Fix in handling of constants.
11029 (vhdl-error-regexp-emacs-alist): New variable.
11030 (vhdl-error-regexp-add-emacs): New function;
11031 adds support for new compile.el (Emacs 22+)
11032 (vhdl-generate-makefile-1): Change target order for single lib. units.
11033 Allow use of absolute file names.
11035 2013-05-16 Leo Liu <sdl.web@gmail.com>
11037 * simple.el (prog-indent-sexp): Indent enclosing defun.
11039 2013-05-15 Glenn Morris <rgm@gnu.org>
11041 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11042 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11043 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11044 (whitespace-highlight): Move to whitespace group.
11046 * comint.el (comint-source):
11047 * pcmpl-linux.el (pcmpl-linux):
11048 * shell.el (shell-faces):
11049 * eshell/esh-opt.el (eshell-opt):
11050 * international/ccl.el (ccl): Remove empty custom groups.
11052 * completion.el (dynamic-completion-mode):
11053 * jit-lock.el (jit-lock-debug-mode):
11054 * minibuffer.el (completion-in-region-mode):
11055 * type-break.el (type-break-mode-line-message-mode)
11056 (type-break-query-mode):
11057 * emulation/tpu-edt.el (tpu-edt-mode):
11058 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11059 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11060 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11062 * term/xterm.el (xterm): Change parent group to terminals.
11064 * master.el (master): Remove empty custom group.
11065 (master-mode): Remove unused :group argument.
11066 * textmodes/refill.el (refill): Remove empty custom group.
11067 (refill-mode): Remove unused :group argument.
11069 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11071 * cus-dep.el: Provide a feature.
11072 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11073 Don't mistakenly ignore files whose basenames match a basename
11074 from preloaded-file-list (eg cedet/ede/simple.el).
11075 Add a fallback method for getting :group.
11077 2013-05-15 Juri Linkov <juri@jurta.org>
11079 * isearch.el (isearch-char-by-name): Rename from
11080 `isearch-insert-char-by-name'. Doc fix.
11081 (isearch-forward): Mention `isearch-char-by-name' in
11082 the docstring. (Bug#13348)
11084 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11085 `exit-minibuffer' instead of
11086 `isearch-nonincremental-exit-minibuffer'.
11087 (isearch-edit-string): Remove mention of
11088 `isearch-nonincremental-exit-minibuffer' from docstring.
11089 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11090 (isearch-forward-exit-minibuffer)
11091 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11093 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11095 * loadup.el: Just use unversioned DOC.
11097 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11098 literals as extending to EOB.
11099 (nxml-last-fontify-end): Remove unused variable.
11100 (nxml-after-change1): Use with-silent-modifications.
11101 (nxml-extend-after-change-region): Simplify.
11102 (nxml-extend-after-change-region1): Remove function.
11103 (nxml-after-change1): Don't adjust for dependent regions.
11104 (nxml-fontify-matcher): Simplify.
11105 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11106 (xmltok-add-dependent): Remove function.
11107 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11108 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11109 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11110 unclosed <[[, <?, comment, and other literals as extending to EOB.
11111 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11112 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11114 (rng-do-some-validation-1): Don't mark dependent regions.
11115 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11116 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11117 (nxml-clear-dependent-regions): Remove functions.
11118 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11119 (nxml-ensure-scan-up-to-date):
11120 Don't clear&mark dependent regions.
11122 2013-05-15 Leo Liu <sdl.web@gmail.com>
11124 * progmodes/octave.el (octave-goto-function-definition):
11125 Improve and fix callers.
11127 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11129 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11130 the setter (bug#14387).
11132 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11133 surrounding group (bug#14402).
11135 2013-05-14 Juri Linkov <juri@jurta.org>
11137 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11140 2013-05-14 Glenn Morris <rgm@gnu.org>
11142 * progmodes/f90.el (f90-imenu-generic-expression):
11143 Fix typo in 2013-05-08 change. (Bug#14402)
11145 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11147 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11148 Remove signals for which replies are never received.
11150 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11152 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11153 (gdb-handler-alist, gdb-handler-number): Remove variables.
11154 (gdb-handler-list): New variable.
11155 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11156 (gdb-pending-handler-p, gdb-handle-reply)
11157 (gdb-remove-all-pending-triggers): New functions.
11158 (gdb-discard-unordered-replies): New defcustom.
11159 (gdb-handler): New defstruct.
11160 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11161 instead of gdb-pending-triggers. Update docstring.
11162 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11163 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11164 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11165 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11166 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11167 (gdb-frame-handler): Pending triggers are now automatically managed.
11168 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11170 (gdb-input): Automatically handles pending triggers. Update docstring.
11171 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11172 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11174 (gdb-done-or-error): Now use gdb-handle-reply.
11176 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11178 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11181 2013-05-14 Glenn Morris <rgm@gnu.org>
11183 * subr.el (user-emacs-directory-warning): New option.
11184 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11186 2013-05-14 Leo Liu <sdl.web@gmail.com>
11188 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11190 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11191 (octave-font-lock-texinfo-comment): Fix invalid search bound
11192 error: wrong side of point.
11194 2013-05-14 Glenn Morris <rgm@gnu.org>
11196 * progmodes/flymake.el (flymake-xml-program): New option.
11197 (flymake-xml-init): Use it.
11199 * term/xterm.el: Provide a feature.
11201 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11203 2013-05-13 Glenn Morris <rgm@gnu.org>
11205 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11206 Add compat aliases as a hack workaround. (Bug#14384)
11208 2013-05-13 Leo Liu <sdl.web@gmail.com>
11210 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11212 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11214 (octave-comment-start-skip): Include %!.
11215 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11217 2013-05-12 Leo Liu <sdl.web@gmail.com>
11219 * progmodes/octave.el (inferior-octave-startup): Store the value
11220 of __octave_srcdir__ for octave-source-directories.
11221 (inferior-octave-check-process): New function refactored out of
11222 inferior-octave-send-list-and-digest.
11223 (octave-source-directories)
11224 (octave-find-definition-filename-function): New variables.
11225 (octave-source-directories)
11226 (octave-find-definition-default-filename): New functions.
11227 (octave-find-definition): Improve to find functions implemented in C++.
11229 2013-05-12 Glenn Morris <rgm@gnu.org>
11231 * calendar/diary-lib.el (diary-outlook-format-1):
11232 Don't include dayname in the output. (Bug#14349)
11234 2013-05-11 Glenn Morris <rgm@gnu.org>
11236 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11238 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11239 Treat cc-provide like provide.
11241 2013-05-11 Kevin Ryde <user42@zip.com.au>
11243 * cus-dep.el (custom-make-dependencies):
11244 Use generated-autoload-load-name for the sake of files such
11245 such cedet/semantic/bovine/c.el, where the base file name
11246 is not in load-path. (Bug#5277)
11248 2013-05-11 Glenn Morris <rgm@gnu.org>
11250 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11253 2013-05-11 Leo Liu <sdl.web@gmail.com>
11255 * progmodes/octave.el (octave-indent-comment): Improve.
11256 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11257 (octave-eldoc-function-signatures, octave-eldoc-function):
11259 (octave-mode, inferior-octave-mode): Add eldoc support.
11261 2013-05-11 Richard Stallman <rms@gnu.org>
11263 * epa.el (epa-decrypt-file): Take output file name as argument
11264 and read it using `interactive'.
11266 2013-05-11 Leo Liu <sdl.web@gmail.com>
11268 * progmodes/octave.el (octave-beginning-of-line)
11269 (octave-end-of-line): Check before using up-list because it jumps
11270 out of more syntactic contructs since moving to smie.
11271 (octave-indent-comment): New function.
11272 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11273 (octave-begin-keywords, octave-end-keywords)
11274 (octave-reserved-words, octave-smie-bnf-table)
11275 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11277 2013-05-11 Glenn Morris <rgm@gnu.org>
11279 * faces.el (internal-face-x-get-resource):
11280 * frame.el (ns-display-monitor-attributes-list):
11281 * calc/calc-aent.el (math-to-radians-2):
11282 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11285 * calc/calc-menu.el: Make it loadable in isolation.
11287 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11288 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11289 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11290 (eudc-bbdb-query-internal): Require 'bbdb.
11292 * lpr.el (lpr-headers-switches):
11293 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11295 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11297 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11299 * term.el (term-set-escape-char): Make it idempotent.
11301 2013-05-10 Leo Liu <sdl.web@gmail.com>
11303 * progmodes/octave.el (inferior-octave-completion-table):
11304 No longer a function and all uses changed. Use cache to speed up
11305 completion due to bug#11906.
11306 (octave-beginning-of-defun): Re-write to be more general.
11308 2013-05-10 Glenn Morris <rgm@gnu.org>
11310 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11312 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11314 * comint.el (comint-redirect-send-command-to-process): Use :around
11315 rather than :override for comint-redirect-filter.
11316 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11317 Call it instead of comint-redirect-original-filter-function (which
11318 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11320 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11322 * frame.el (display-monitor-attributes-list): Add NS case.
11323 (ns-display-monitor-attributes-list): Declare.
11325 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11327 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11329 2013-05-09 Glenn Morris <rgm@gnu.org>
11331 * international/fontset.el (vertical-centering-font-regexp):
11332 Set standard-value.
11334 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11336 * bookmark.el (bookmark-search-delay):
11337 * cus-start.el (vertical-centering-font-regexp):
11338 * ps-mule.el (ps-mule-font-info-database-default):
11339 * ps-print.el (ps-default-fg, ps-default-bg):
11340 * type-break.el (type-break-good-break-interval):
11341 * whitespace.el (whitespace-indentation-regexp)
11342 (whitespace-space-after-tab-regexp):
11343 * emacs-lisp/testcover.el (testcover-1value-functions)
11344 (testcover-noreturn-functions, testcover-progn-functions)
11345 (testcover-prog1-functions):
11346 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11347 * eshell/em-glob.el (eshell-glob-translate-alist):
11348 * play/tetris.el (tetris-tty-colors):
11349 * progmodes/cpp.el (cpp-face-default-list):
11350 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11351 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11352 (idlwave-help-browser-generic-args):
11353 * progmodes/make-mode.el (makefile-special-targets-list):
11354 * progmodes/python.el (python-shell-virtualenv-path):
11355 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11356 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11357 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11358 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11359 * textmodes/reftex-vars.el (reftex-format-label-function):
11360 * textmodes/remember.el (remember-diary-file): Fix custom types.
11362 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11365 2013-05-09 Leo Liu <sdl.web@gmail.com>
11367 * progmodes/octave.el (inferior-octave-completion-at-point):
11368 Restore file completion. (Bug#14300)
11369 (inferior-octave-startup): Fix incorrect highlighting for the
11372 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11374 * progmodes/ruby-mode.el: First cut at SMIE support.
11375 (ruby-use-smie): New var.
11376 (ruby-smie-grammar): New constant.
11377 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11378 (ruby-smie--forward-token, ruby-smie--backward-token)
11379 (ruby-smie-rules): New functions.
11380 (ruby-mode-variables): Setup SMIE if applicable.
11382 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11384 * simple.el (line-move-visual): Signal beginning/end of buffer
11385 only if vertical-motion moved less than it was requested. Avoids
11386 silly incorrect error messages when there are display strings with
11387 multiple newlines at EOL.
11389 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11391 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11392 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11393 (prolog-char-quote-workaround):
11394 * progmodes/cperl-mode.el (cperl-under-as-char):
11395 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11397 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11399 (vhdl-mode-syntax-table-init): Remove.
11401 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11404 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11406 (ld-script-font-lock-keywords):
11407 Change regexps to use things like \_< and \_>.
11409 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11410 Change all regexps to use things like \_< and \_>.
11412 * progmodes/autoconf.el (autoconf-definition-regexp)
11413 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11414 Handle a _ with symbol syntax.
11415 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11417 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11418 Consolidate declaration.
11419 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11421 (ada-create-syntax-table): Remove.
11422 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11423 already has the right syntax nowadays.
11424 (ada-goto-next-word): Don't change the syntax of "_".
11426 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11429 2013-05-08 Sam Steingold <sds@gnu.org>
11431 * thingatpt.el (thing-at-point): Accept optional second argument
11432 NO-PROPERTIES to strip the text properties from the return value.
11433 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11434 to `thing-at-point' instead of stripping the properties ourselves.
11435 Also, when `thing-at-point' fails to find a url, prepend "http://"
11436 to the filename at point on the assumption that the user is
11437 pointing at something like gnu.org/gnu.
11439 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11441 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11442 * faces.el (crm-separator):
11443 Silence byte-compiler.
11445 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11446 (tool-bar-map): Remove unneeded defvars.
11448 2013-05-08 Leo Liu <sdl.web@gmail.com>
11450 Re-work a fix for bug#10994 based on Le Wang's patch.
11451 * ido.el (ido-remove-consecutive-dups): New helper.
11452 (ido-completing-read): Use it.
11453 (ido-chop): Revert fix for bug#10994.
11455 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11457 * cus-edit.el (custom-save-variables):
11458 Pretty-print long values. (Bug#14187)
11460 2013-05-08 Glenn Morris <rgm@gnu.org>
11462 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11463 (m4-mode-syntax-table): Init in the defvar.
11464 (m4-mode-abbrev-table): Let define-derived-mode define it.
11466 2013-05-08 Tom Tromey <tromey@redhat.com>
11468 * progmodes/m4-mode.el (m4-mode-syntax-table):
11469 Do not treat "_" as word constituent. (Bug#14167)
11471 2013-05-07 Glenn Morris <rgm@gnu.org>
11473 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11474 Remove explicit eshell-isearch-cancel-map.
11476 * progmodes/f90.el (f90-smart-end-names): New option.
11477 (f90-smart-end): Doc fix.
11478 (f90-end-block-optional-name): New constant.
11479 (f90-block-match): Respect f90-smart-end-names.
11481 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11483 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11484 about implicit semi-colons (bug#14218).
11486 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11488 * frame.el (display-monitor-attributes-list)
11489 (frame-monitor-attributes): New functions.
11491 2013-05-06 Leo Liu <sdl.web@gmail.com>
11493 * progmodes/octave.el (octave-syntax-propertize-function): Change
11494 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11495 (octave-font-lock-keywords): Use octave-operator-regexp.
11496 (octave-completion-at-point): Rename from
11497 octave-completion-at-point-function.
11498 (inferior-octave-directory-tracker): Robustify.
11499 (octave-text-functions): Remove and fix its uses. No such things
11502 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11504 * emacs-lisp/trace.el (trace--display-buffer): New function.
11505 (trace-make-advice): Use it.
11507 2013-05-06 Juri Linkov <juri@jurta.org>
11509 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11510 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11512 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11513 in the help string. (Bug#12985)
11515 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11517 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11519 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11521 * progmodes/perl-mode.el: Add support for here documents.
11522 (perl-syntax-propertize-function): Match here-doc markers.
11523 (perl-syntax-propertize-special-constructs): Find their end.
11524 (perl-imenu-generic-expression): Use [:alnum:].
11526 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11527 (advice--add-function): Refresh the advice if already present
11530 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11532 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11534 2013-05-06 Glenn Morris <rgm@gnu.org>
11536 * w32-fns.el (w32-charset-info-alist): Declare.
11538 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11539 of its defcustom properties.
11540 (eshell-cmpl-initialize): No need to load pcomplete.
11542 * generic-x.el: No need to require comint when compiling.
11544 * net/eudc-export.el: Make it loadable without bbdb.
11545 (top-level): Use require rather than load-library.
11546 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11547 (eudc-batch-export-records-to-bbdb)
11548 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11551 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11553 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11554 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11555 some tweaks, instead.
11557 2013-05-05 Leo Liu <sdl.web@gmail.com>
11559 * progmodes/octave.el (octave-font-lock-keywords)
11560 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11561 (inferior-octave-send-list-and-digest): Improve error message.
11562 (octave-mode, inferior-octave-mode): Use setq-local.
11563 (octave-help): Set info-lookup-mode.
11565 2013-05-05 Richard Stallman <rms@gnu.org>
11567 * vc/compare-w.el (compare-windows-whitespace):
11568 Treat no-break space as whitespace.
11570 * mail/rmailsum.el (rmail-summary-rmail-update):
11571 Detect empty summary and don't change selected message.
11572 (rmail-summary-goto-msg): Likewise.
11574 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11575 Doc fixes, rename args.
11577 2013-05-05 Alan Mackenzie <acm@muc.de>
11579 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11581 2013-05-05 Juri Linkov <juri@jurta.org>
11583 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11584 to not add the length of the summary segment to the return value.
11587 2013-05-05 Leo Liu <sdl.web@gmail.com>
11589 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11590 (inferior-octave-output-filter): Remove.
11591 (octave-send-region, inferior-octave-startup): Fix callers.
11592 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11593 (octave-binary-file-extensions): New user variable.
11594 (octave-find-definition): Confirm if opening binary files.
11595 (octave-help-file): Use octave-find-definition to get the binary
11597 (octave-help): Adjust for octave-help-file change.
11599 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11601 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11602 Merge the two entries that handle function definitions.
11603 (pascal--syntax-propertize): New const.
11604 (pascal-mode): Use it. Use setq-local.
11606 2013-05-04 Glenn Morris <rgm@gnu.org>
11608 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11609 (diary-from-outlook): Respect diary-from-outlook-function.
11611 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11613 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11614 Move the declaration from C.
11615 (read-minibuffer, eval-minibuffer): Move from C.
11616 (completion-setup-function): Avoid minibuffer-completion-contents.
11618 2013-05-03 Leo Liu <sdl.web@gmail.com>
11620 * progmodes/octave.el (octave-font-lock-keywords): Do not
11621 dehighlight 'end' in comments or strings.
11622 (octave-completing-read, octave-goto-function-definition):
11624 (octave-help-buffer): New user variable.
11625 (octave-help-file, octave-help-function): New button types.
11626 (octave-help): New command and bind it to C-h ;.
11627 (octave-find-definition): New command and bind it to M-.
11628 (user-error): Alias to error if not defined.
11630 2013-05-02 Leo Liu <sdl.web@gmail.com>
11632 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11634 (octave-font-lock-keywords): Include [ and {.
11636 2013-05-02 Leo Liu <sdl.web@gmail.com>
11638 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11639 (inferior-octave): Remove calling comint-mode and return the buffer.
11640 (inferior-octave-startup): Cosmetic changes.
11642 2013-05-02 Leo Liu <sdl.web@gmail.com>
11644 * progmodes/octave.el (octave-syntax-propertize-function):
11645 Include the case when ' is at line beginning. (Bug#14336)
11647 2013-05-02 Glenn Morris <rgm@gnu.org>
11649 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11650 * desktop.el (vc-dir-mode): Just autoload it here.
11652 2013-05-02 Alan Mackenzie <acm@muc.de>
11654 Eliminate variable c-standard-font-lock-fontify-region-function.
11655 * progmodes/cc-mode.el
11656 (c-standard-font-lock-fontify-region-function): Remove.
11657 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11659 2013-05-01 Leo Liu <sdl.web@gmail.com>
11661 * progmodes/octave.el: Compatible with older emacs-24 releases.
11662 (inferior-octave-has-built-in-variables): Remove. Built-in
11663 variables were removed from Octave in 2007.
11664 (inferior-octave-startup): Fix uses.
11665 (comint-line-beginning-position): Remove compatibility code for
11668 2013-05-01 Juri Linkov <juri@jurta.org>
11670 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11672 2013-05-01 Juri Linkov <juri@jurta.org>
11674 * comint.el (comint-previous-matching-input): Don't print message
11675 "History item: %d" when `isearch-mode' is active.
11676 (comint-history-isearch-message): Print message "History item: %d"
11677 when `comint-input-ring-index' is not empty and this function is
11678 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11680 2013-05-01 Leo Liu <sdl.web@gmail.com>
11682 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11683 definitions. Use completion-at-point to insert keywords.
11684 (octave-abbrev-start): Remove.
11685 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11687 2013-04-30 Leo Liu <sdl.web@gmail.com>
11689 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11692 2013-04-30 Alan Mackenzie <acm@muc.de>
11694 Handle arbitrarily long C++ member initialisation lists.
11695 * progmodes/cc-engine.el (c-back-over-member-initializers):
11697 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11698 (most) member init lists.
11700 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11702 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11705 2013-04-30 Leo Liu <sdl.web@gmail.com>
11707 * progmodes/octave.el (octave-variables): Remove. No builtin
11708 variables any more. All converted to functions.
11709 (octave-font-lock-keywords, octave-completion-at-point-function):
11711 (octave-font-lock-texinfo-comment): New user variable.
11712 (octave-texinfo-font-lock-keywords): New variable for texinfo
11714 (octave-function-comment-block): New face.
11715 (octave-font-lock-texinfo-comment): New function.
11716 (octave-mode): Font lock texinfo comment block.
11718 2013-04-29 Leo Liu <sdl.web@gmail.com>
11720 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11721 indexing expression.
11722 (octave-continuation-string): Do not use \.
11723 (inferior-octave-complete-impossible): Remove.
11724 (inferior-octave-completion-table)
11725 (inferior-octave-completion-at-point): Remove its uses.
11726 (inferior-octave-startup): completion_matches was introduced to
11727 Octave in 1996 so safe to assume it.
11728 (octave-function-file-comment): Improve to follow how Octave does it.
11729 (octave-update-function-file-comment): Tweak.
11731 2013-04-29 Leo Liu <sdl.web@gmail.com>
11733 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11734 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11735 (octave-function-file-comment): Fix typo.
11736 (octave-sync-function-file-names): Use read-char-choice.
11738 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11740 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11741 to t for the less important warnings.
11743 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11745 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11747 2013-04-27 Glenn Morris <rgm@gnu.org>
11749 * vc/log-view.el (log-view-current-entry):
11750 Treat "---" separator lines as part of the following rev. (Bug#14169)
11752 2013-04-27 Juri Linkov <juri@jurta.org>
11754 * subr.el (read-number): Doc fix about using it by interactive
11755 code letter `n'. (Bug#14254)
11757 2013-04-27 Juri Linkov <juri@jurta.org>
11759 * desktop.el (desktop-auto-save-timeout): New option.
11760 (desktop-file-checksum): New variable.
11761 (desktop-save): Add optional arg `auto-save' and don't auto-save
11762 if nothing changed.
11763 (desktop-auto-save-timer): New variable.
11764 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11765 (after-init-hook): Call `desktop-auto-save-set-timer'.
11766 Suggested by Reuben Thomas <rrt@sc3d.org> in
11767 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11769 2013-04-27 Leo Liu <sdl.web@gmail.com>
11771 * progmodes/octave.el (octave-function-file-p)
11772 (octave-skip-comment-forward, octave-function-file-comment)
11773 (octave-update-function-file-comment): New functions.
11774 (octave-mode-map): Bind C-c ; to
11775 octave-update-function-file-comment.
11776 (octave-mode-menu): Add octave-update-function-file-comment.
11777 (octave-mode, inferior-octave-mode): Fix doc-string.
11778 (octave-insert-defun): Conform to Octave's coding convention.
11781 * files.el (basic-save-buffer): Don't let errors in
11782 before-save-hook prevent saving buffer.
11784 2013-04-20 Roland Winkler <winkler@gnu.org>
11786 * faces.el (read-face-name): Use completing-read if arg multiple
11789 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11791 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11792 displayed, move point to after the totals line.
11793 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11796 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11798 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11799 Add current dir to the load-path.
11800 (package-generate-autoloads): Don't rely on
11801 autoload-ensure-default-file.
11803 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11805 * textmodes/remember.el (remember-store-in-files): Document that
11806 the file name format is passed to `format-time-string'.
11808 2013-04-26 Leo Liu <sdl.web@gmail.com>
11810 * progmodes/octave.el (octave-sync-function-file-names): New function.
11811 (octave-mode): Use it in before-save-hook.
11813 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11815 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11818 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11819 \n and comment, even if it's not an implicit ; (bug#14218).
11821 2013-04-26 Glenn Morris <rgm@gnu.org>
11823 * subr.el (read-number): Once more use `read' rather than
11824 `string-to-number', to trap non-numeric input. (Bug#14254)
11826 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11828 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11829 Use `syntax-multiline' text property consistently instead of
11830 `font-lock-multiline'. (Bug#14237)
11832 2013-04-26 Glenn Morris <rgm@gnu.org>
11834 * emacs-lisp/shadow.el (list-load-path-shadows):
11835 No longer necessary to check for duplicate simple.el, since
11836 2012-07-07 change to init_lread to not include installation lisp
11837 directories in load-path when running uninstalled. (Bug#14270)
11839 2013-04-26 Leo Liu <sdl.web@gmail.com>
11841 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11842 (octave-mode, inferior-octave-mode): Use setq-local.
11843 (octave-not-in-string-or-comment-p): Rename to
11844 octave-in-string-or-comment-p.
11845 (octave-in-comment-p, octave-in-string-p)
11846 (octave-in-string-or-comment-p): Replace defsubst with defun.
11848 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11850 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11852 2013-04-25 Bastien Guerry <bzg@gnu.org>
11854 * textmodes/remember.el (remember-data-directory)
11855 (remember-directory-file-name-format): Fix custom types.
11857 2013-04-25 Leo Liu <sdl.web@gmail.com>
11859 * progmodes/octave.el (octave-completion-at-point-function):
11860 Make use of inferior octave process.
11861 (octave-initialize-completions): Remove.
11862 (inferior-octave-completion-table): New function.
11863 (inferior-octave-completion-at-point): Use it.
11864 (octave-completion-alist): Remove.
11866 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11868 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11869 (opascal-mode-syntax-table): New var.
11870 (opascal-literal-kind, opascal-is-literal-end)
11871 (opascal-literal-token-at): Rewrite.
11872 (opascal--literal-start-re, opascal-font-lock-keywords)
11873 (opascal--syntax-propertize): New constants.
11874 (opascal-font-lock-defaults): Adjust.
11875 (opascal-mode): Use them. Set comment-<foo> variables as well.
11876 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11877 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11878 (delphi-other-face, opascal-other-face): Remove face variables.
11879 (opascal-save-state): Remove macro.
11880 (opascal-fontifying-progress-step): Remove constant.
11881 (opascal--ignore-changes): Remove var.
11882 (opascal-set-token-property, opascal-parse-next-literal)
11883 (opascal-is-stable-literal, opascal-complete-literal)
11884 (opascal-is-literal-start, opascal-face-of)
11885 (opascal-parse-region, opascal-parse-region-until-stable)
11886 (opascal-fontify-region, opascal-after-change)
11887 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11888 (opascal-debug-parse-region, opascal-debug-parse-window)
11889 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11890 (opascal-debug-fontify-buffer): Remove.
11891 (opascal-debug-mode-map): Adjust accordingly.
11893 2013-04-25 Leo Liu <sdl.web@gmail.com>
11895 Merge octave-mod.el and octave-inf.el into octave.el with some
11897 * progmodes/octave.el: New file renamed from octave-mod.el.
11898 * progmodes/octave-inf.el: Merged into octave.el.
11899 * progmodes/octave-mod.el: Renamed to octave.el.
11901 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11903 * textmodes/reftex-vars.el
11904 (reftex-label-ignored-macros-and-environments): New defcustom.
11906 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11908 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11910 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11911 (smie-indent-keyword): Improve the check to ensure that the next
11912 comment is really on the same line.
11913 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11915 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11916 semi-colons if the line is not otherwise empty (bug#14218).
11918 2013-04-25 Glenn Morris <rgm@gnu.org>
11920 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
11922 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
11924 * progmodes/opascal.el (opascal-set-token-property): Rename from
11925 opascal-set-text-properties and only set `token' (bug#14134).
11926 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
11927 (opascal-literal-text-properties): Remove.
11928 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
11931 2013-04-24 Reuben Thomas <rrt@sc3d.org>
11933 * textmodes/remember.el (remember-handler-functions): Add an
11934 option for a new handler `remember-store-in-files'.
11935 (remember-data-directory, remember-directory-file-name-format):
11937 (remember-store-in-files): New function to store remember notes
11938 as separate files within a directory.
11940 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
11942 * progmodes/compile.el (compilation-next-error-function):
11943 Pass "formats" to compilation-find-file (bug#11777).
11945 2013-04-24 Glenn Morris <rgm@gnu.org>
11947 * vc/vc-bzr.el (vc-bzr-print-log):
11948 * vc/vc-hg.el (vc-hg-print-log):
11949 * vc/vc-svn.el (vc-svn-print-log):
11950 Fix START-REVISION with LIMIT != 1. (Bug#14168)
11952 * vc/vc-bzr.el (vc-bzr-print-log):
11953 * vc/vc-cvs.el (vc-cvs-print-log):
11954 * vc/vc-git.el (vc-git-print-log):
11955 * vc/vc-hg.el (vc-hg-print-log):
11956 * vc/vc-mtn.el (vc-mtn-print-log):
11957 * vc/vc-rcs.el (vc-rcs-print-log):
11958 * vc/vc-sccs.el (vc-sccs-print-log):
11959 * vc/vc-svn.el (vc-svn-print-log):
11960 * vc/vc.el (vc-print-log-internal): Doc fixes.
11962 2013-04-23 Glenn Morris <rgm@gnu.org>
11964 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
11965 Remove venerable code attempting to avoid substitute-command-keys.
11967 2013-04-23 Tassilo Horn <tsdh@gnu.org>
11969 * textmodes/reftex-vars.el (reftex-label-regexps):
11970 Call `reftex-compile-variables' after changes to this variable.
11972 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
11974 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
11975 Use lexical-binding.
11976 (jit-lock-force-redisplay): Use markers, check buffer's continued
11977 existence and beware narrowed buffers.
11978 (jit-lock-fontify-now): Adjust call accordingly.
11980 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
11982 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
11983 to avoid misleading the user.
11985 2013-04-22 Leo Liu <sdl.web@gmail.com>
11987 * info-look.el: Prefer latex2e.info. (Bug#14240)
11989 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
11991 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
11993 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
11994 * net/tramp.el (tramp-call-process): ... here.
11995 (tramp-set-completion-function, tramp-parse-putty):
11996 * net/tramp-adb.el (tramp-adb-execute-adb-command):
11997 * net/tramp-gvfs.el (tramp-gvfs-send-command):
11998 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
11999 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12000 (tramp-call-local-coding-command): Use `tramp-call-process'
12001 instead of `tramp-compat-call-process'.
12003 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12004 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12005 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12006 (tramp-find-inline-compress): Improve traces.
12007 (tramp-maybe-send-script): Check for Perl binary.
12008 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12010 2013-04-22 Daiki Ueno <ueno@gnu.org>
12012 * epg.el (epg-context-pinentry-mode): New function.
12013 (epg-context-set-pinentry-mode): New function.
12014 (epg--start): Pass --pinentry-mode option to gpg command.
12016 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12018 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12019 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12020 `completion-at-point'. (Bug#13774)
12022 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12023 default key binding for `describe-distribution' has been moved to
12024 `C-h C-o'. (Bug#13970)
12026 2013-04-21 Glenn Morris <rgm@gnu.org>
12028 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12030 (vc-print-log): Clarify interactive prompt.
12032 2013-04-20 Glenn Morris <rgm@gnu.org>
12034 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12035 No longer include timestamp etc information.
12037 2013-04-20 Roland Winkler <winkler@gnu.org>
12039 * faces.el (read-face-name): Bug fix, return just one face if arg
12040 multiple is nil. (Bug#14209)
12042 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12044 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12045 (remove-function): Autoload.
12047 * comint.el (comint-redirect-original-filter-function): Remove.
12048 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12049 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12050 (vc-cvs-annotate-command):
12051 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12052 * progmodes/prolog.el (prolog-consult-compile):
12053 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12054 Use add/remove-function instead.
12055 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12056 (gud-tooltip-process-output, gud-tooltip-tips):
12057 Use add/remove-function instead.
12058 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12059 (scheme-interaction-mode, exit-scheme-interaction-mode):
12060 Use add/remove-function instead.
12062 * vc/vc-dispatcher.el: Use lexical-binding.
12063 (vc--process-sentinel): Rename from vc-process-sentinel.
12064 Change last arg to be the code to run. Don't use vc-previous-sentinel
12065 and vc-sentinel-commands any more.
12066 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12067 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12069 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12071 * progmodes/sh-script.el (sh-imenu-generic-expression):
12072 Handle function names with a single character. (Bug#14111)
12074 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12076 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12077 for subroutines defined in an eval (bug#14182).
12079 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12081 * bookmark.el (bookmark-completing-read): Improve handling of empty
12082 string (bug#14176).
12084 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12086 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12088 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12090 New faster Imenu implementation (bug#14058).
12091 * progmodes/python.el:
12092 (python-imenu-prev-index-position):
12093 (python-imenu-format-item-label-function)
12094 (python-imenu-format-parent-item-label-function)
12095 (python-imenu-format-parent-item-jump-label-function):
12097 (python-imenu-format-item-label)
12098 (python-imenu-format-parent-item-label)
12099 (python-imenu-format-parent-item-jump-label)
12100 (python-imenu--put-parent, python-imenu--build-tree)
12101 (python-imenu-create-index, python-imenu-create-flat-index)
12102 (python-util-popn): New functions.
12103 (python-mode): Set imenu-create-index-function to
12104 python-imenu-create-index.
12106 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12108 * winner.el (winner-active-region): Use region-active-p, activate-mark
12109 and deactivate-mark (bug#14225).
12111 * simple.el (deactivate-mark): Don't inline it.
12113 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12115 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12117 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12119 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12120 file extensions from the archive-mode entry in order to prefer
12121 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12123 2013-04-18 Leo Liu <sdl.web@gmail.com>
12125 * bindings.el (help-event-list): Add ?\?.
12127 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12129 * subr.el (with-wrapper-hook): Declare obsolete.
12130 * simple.el (filter-buffer-substring-function): New hook.
12131 (filter-buffer-substring): Use it.
12132 (filter-buffer-substring-functions): Mark obsolete.
12133 * minibuffer.el (completion-in-region-function): New hook.
12134 (completion-in-region): Use it.
12135 (completion-in-region-functions): Mark obsolete.
12136 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12137 * abbrev.el (abbrev-expand-function): New hook.
12138 (expand-abbrev): Use it.
12139 (abbrev-expand-functions): Mark obsolete.
12140 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12141 and :filter-return.
12143 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12145 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12146 and do not care about match data.
12148 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12150 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12151 completion tables when completing error conditions and
12152 `declare' arguments.
12153 (lisp-complete-symbol, field-complete): Mark as obsolete.
12154 (check-parens): Unmatched parens are user errors.
12155 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12157 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12159 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12160 command changed buffer (ie. `flyspell-pre-buffer' is not current
12161 buffer), which prevents making decisions based on invalid value of
12162 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12163 cause an error when `flyspell-pre-point' was nil after switching
12165 (flyspell-post-command-hook): No longer needs to change buffers when
12166 checking pre-word. While at it remove unnecessary progn.
12168 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12170 * textmodes/ispell.el (ispell-add-per-file-word-list):
12171 Fix `flyspell-correct-word-before-point' error when accepting
12172 words and `coment-padding' is an integer by using
12173 `comment-normalize-vars' (Bug #14214).
12175 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12177 New defun movement commands.
12178 * progmodes/python.el (python-nav--syntactically)
12179 (python-nav--forward-defun, python-nav-backward-defun)
12180 (python-nav-forward-defun): New functions.
12182 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12184 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12185 (python-syntax-context): Use named compiler-macro for backwards
12186 compatibility with Emacs 24.x.
12188 2013-04-17 Leo Liu <sdl.web@gmail.com>
12190 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12191 octave-hide-process-buffer.
12193 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12195 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12198 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12200 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12201 Fix adjustment of offset when receiving incomplete responses from GDB
12204 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12206 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12207 python-mode-abbrev-table.
12208 (python-skeleton-define): Adjust accordingly.
12209 (python-mode-abbrev-table): New table that inherits from it so that
12210 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12212 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12213 (abbrev-symbol): Use it.
12214 (abbrev--before-point): Use it since we already handle inheritance.
12216 2013-04-16 Leo Liu <sdl.web@gmail.com>
12218 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12219 binding to info-lookup-symbol.
12221 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12223 * minibuffer.el (completion--twq-all):
12224 * term/ns-win.el (ns-initialize-window-system):
12225 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12227 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12229 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12232 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12234 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12236 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12237 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12239 (ruby-end-of-defun): Remove the unused arg, change the docstring
12240 to reflect that this function is only used as the value of
12241 `end-of-defun-function'.
12242 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12243 to reflect an earlier change that beginning/end-of-defun functions
12244 jump between methods in a class definition, as well as top-level
12247 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12249 * minibuffer.el (minibuffer-complete): Don't just scroll
12250 a *Completions* that's been iconified.
12251 (minibuffer-force-complete): Make sure repetitions do cycle when going
12252 through completion-in-region -> minibuffer-complete.
12254 2013-04-15 Alan Mackenzie <acm@muc.de>
12256 Correct the placement of c-cpp-delimiters when there're #s not at
12259 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12260 place a submatch around the #.
12261 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12262 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12265 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12268 (advice--member-p): New arg `name'.
12269 (advice--add-function, advice-member-p): Use it (bug#14202).
12271 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12273 Reformulate java imenu-generic-expression.
12274 The old expression contained ill formed regexps.
12276 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12277 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12278 (cc-imenu-java-method-arg-regexp): New defconsts.
12279 (cc-imenu-java-build-type-args-regex): New defun.
12280 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12281 handling of spaces in the regexp.
12283 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12285 * textmodes/ispell.el (ispell-command-loop): Remove
12286 flyspell highlight of a word when ispell accepts it (bug #14178).
12288 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12290 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12291 uses code from the previous `ange-ftp-run-real-handler'.
12292 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12293 only in case that function exist. This is needed for proper
12294 unloading of Tramp.
12296 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12298 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12300 * textmodes/reftex.el (reftex-compile-variables): Use it.
12302 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12304 * files.el (normal-mode): Only use default major-mode if no other mode
12307 * emacs-lisp/trace.el (trace-values): New function.
12309 * files.el: Allow : in local variables (bug#14089).
12310 (hack-local-variable-regexp): New var.
12311 (hack-local-variables-prop-line, hack-local-variables): Use it.
12313 2013-04-13 Roland Winkler <winkler@gnu.org>
12315 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12316 data before it gets modified by bibtex-beginning-of-entry.
12318 2013-04-13 Roland Winkler <winkler@gnu.org>
12320 * textmodes/bibtex.el (bibtex-url): Doc fix.
12322 2013-04-13 Roland Winkler <winkler@gnu.org>
12324 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12325 does not visit a BibTeX file, exclude it from the list of buffers
12326 returned by bibtex-initialize.
12328 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12330 * window.el (split-window): Remove interactive form, since as a
12331 command this function is a special case of split-window-below.
12332 Correct doc string.
12334 2013-04-12 Roland Winkler <winkler@gnu.org>
12336 * faces.el (read-face-name): Do not override value of arg default.
12337 Allow single faces and strings as default values. Remove those
12338 elements from return value that are not faces.
12339 (describe-face): Simplify.
12340 (face-at-point): New optional args thing and multiple so that this
12341 function can provide the same functionality previously provided by
12343 (make-face-bold, make-face-unbold, make-face-italic)
12344 (make-face-unitalic, make-face-bold-italic, invert-face)
12345 (modify-face, read-face-and-attribute): Use face-at-point.
12347 * cus-edit.el (customize-face, customize-face-other-window)
12348 * cus-theme.el (custom-theme-add-face)
12349 * face-remap.el (buffer-face-set)
12350 * facemenu.el (facemenu-set-face): Use face-at-point.
12352 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12354 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12356 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12358 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12359 off leading { and trailing } from field values.
12361 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12363 * emacs-lisp/timer.el (timer--check): New function.
12364 (timer--time, timer-set-function, timer-event-handler): Use it.
12365 (timer-set-idle-time): Simplify.
12366 (timer--activate): CSE.
12367 (timer-event-handler): Give more info in error message.
12368 (internal-timer-start-idle): New function, moved from C.
12370 * mpc.el (mpc-proc): Add `restart' argument.
12371 (mpc-proc-cmd): Use it.
12372 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12373 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12376 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12378 * progmodes/sh-script.el: Implement `sh-mode' own
12379 `add-log-current-defun-function' (bug#14112).
12380 (sh-current-defun-name): New function.
12381 (sh-mode): Use the function.
12383 2013-04-09 Bastien Guerry <bzg@gnu.org>
12385 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12387 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12389 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12391 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12394 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12396 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12399 2013-04-07 Leo Liu <sdl.web@gmail.com>
12401 * pcmpl-x.el: New file.
12403 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12405 Do not set x-display-name until X connection is established.
12406 This is needed to prevent from weird situation described at
12407 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12408 * frame.el (make-frame): Set x-display-name after call to
12409 window system initialization function, not before.
12410 * term/x-win.el (x-initialize-window-system): Add optional
12411 display argument and use it.
12412 * term/w32-win.el (w32-initialize-window-system):
12413 * term/ns-win.el (ns-initialize-window-system):
12414 * term/pc-win.el (msdos-initialize-window-system):
12415 Add compatible optional display argument.
12417 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12419 * files.el (normal-backup-enable-predicate): On MS-Windows and
12420 MS-DOS compare truenames of temporary-file-directory and of the
12421 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12422 don't fail comparison by compare-strings. Also, compare file
12423 names case-insensitively on MS-Windows and MS-DOS.
12425 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12427 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12428 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12430 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12432 * whitespace.el (whitespace-color-on, whitespace-color-off):
12433 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12435 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12437 * ispell.el (ispell-set-spellchecker-params):
12438 Really set `ispell-args' for all equivs.
12440 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12442 * ido.el (ido-completions): Use extra elements of ido-decorations
12444 (ido-decorations): Update docstring.
12446 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12448 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12449 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12450 nil during initialization, in order not to miss changes since the
12451 file was opened. (Bug#14140)
12453 2013-04-05 Leo Liu <sdl.web@gmail.com>
12455 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12457 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12459 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12461 2013-04-04 Glenn Morris <rgm@gnu.org>
12463 * electric.el (electric-pair-inhibit-predicate): Add :version.
12465 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12467 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12468 when a package is required several times (bug#14082).
12470 2013-04-04 Roland Winkler <winkler@gnu.org>
12472 * faces.el (read-face-name): Behave as promised by the docstring.
12473 Assume that arg default is a list of faces.
12474 (describe-face): Call read-face-name with list of default faces.
12476 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12478 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12479 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12480 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12482 (bookmark-exit-hook-internal): Save even if list is empty.
12484 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12486 * emacs-lisp/package.el (package-pinned-packages): New var.
12487 (package--add-to-archive-contents): Obey it (bug#14118).
12489 2013-04-03 Alan Mackenzie <acm@muc.de>
12491 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12492 Also adapt to the new values of element 7 of a parse state.
12494 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12495 parameter `not-in-delimiter'. Handle being inside comment opener.
12496 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12497 character in case we're typing a '*' after a '/'.
12498 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12499 instead by passing the parameter to c-state-pp-to-literal.
12501 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12502 for elt. 7 of a parse state.
12504 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12506 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12507 * international/latin1-disp.el, international/mule-util.el:
12508 * language/cyril-util.el, language/european.el, language/ind-util.el:
12509 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12510 * language/tibetan.el, language/viet-util.el:
12511 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12513 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12515 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12516 (electric-pair-post-self-insert-function): Use it.
12517 (electric-pair-default-inhibit): New function, extracted from
12518 electric-pair-post-self-insert-function.
12520 2013-03-31 Roland Winkler <winkler@gnu.org>
12522 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12524 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12526 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12528 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12530 Un-indent after "pass" and "return" statements (Bug#13888)
12531 * progmodes/python.el (python-indent-block-enders): New var.
12532 (python-indent-calculate-indentation): Use it.
12534 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12536 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12537 defun. Defining it as defalias could introduce too eager
12538 byte-compiler optimization. (Bug#14030)
12540 2013-03-30 Chong Yidong <cyd@gnu.org>
12542 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12544 2013-03-30 Leo Liu <sdl.web@gmail.com>
12546 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12547 (kmacro-execute-from-register): Pass the keyboard macro to
12548 kmacro-call-macro or repeating won't work correctly.
12550 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12552 * progmodes/subword.el: Back to using `forward-symbol'.
12554 * subr.el (forward-whitespace, forward-symbol)
12555 (forward-same-syntax): Move from thingatpt.el.
12557 2013-03-29 Leo Liu <sdl.web@gmail.com>
12559 * kmacro.el (kmacro-to-register): New command.
12560 (kmacro-execute-from-register): New function.
12561 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12563 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12565 * mpc.el: Use defvar-local and setq-local.
12566 (mpc--proc-connect): Connection failures are not bugs.
12567 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12568 (mpc-volume-map): Bind to the up-events.
12570 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12572 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12573 instead of `forward-symbol'.
12575 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12577 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12578 (edebug--recursive-edit): Use it.
12579 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12580 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12582 2013-03-28 Leo Liu <sdl.web@gmail.com>
12584 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12586 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12588 * facemenu.el (list-colors-callback): New defvar.
12589 (list-colors-redisplay): New function.
12590 (list-colors-display): Install list-colors-redisplay as the
12591 revert-buffer-function. (Bug#14063)
12593 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12595 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12596 and suffixes don't overlap (bug#14061).
12598 * case-table.el: Use lexical-binding.
12599 (case-table-get-table): New function.
12600 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12602 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12604 * progmodes/subword.el: Add `superword-mode' to do word motion
12605 over symbol_words (parallels and leverages `subword-mode' which
12606 does word motion inside MixedCaseWords).
12608 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12610 * eshell/em-unix.el: Move su and sudo to...
12611 * eshell/em-tramp.el: ...Eshell tramp module.
12613 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12615 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12616 Change return value to be a sexp. Delay `get-buffer' to after
12617 restoring the desktop (bug#13951).
12619 2013-03-26 Leo Liu <sdl.web@gmail.com>
12621 * register.el: Move semantic tag handling back to
12622 cedet/semantic/senator.el. (Bug#14052)
12624 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12626 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12627 into the prompt either (bug#13963).
12629 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12631 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12632 part of "(error-foo)".
12634 2013-03-24 Juri Linkov <juri@jurta.org>
12636 * replace.el (list-matching-lines-prefix-face): New defcustom.
12637 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12638 `occur-engine' if `face-differs-from-default-p' returns t.
12639 (occur-engine): Add `,' inside backquote construct to evaluate
12640 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12641 Pass `prefix-face' to the functions `occur-context-lines' and
12642 `occur-engine-add-prefix'.
12643 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12644 `prefix-face' and propertize the prefix with `prefix-face'.
12647 2013-03-24 Leo Liu <sdl.web@gmail.com>
12649 * nxml/rng-valid.el (rng-validate-while-idle)
12650 (rng-validate-quick-while-idle): Guard against deleted buffer.
12653 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12654 is the last entry in kill-buffer-hook.
12656 * files.el (kill-buffer-hook): Doc fix.
12658 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12660 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12661 Make it safe-local.
12663 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12665 2013-03-23 Leo Liu <sdl.web@gmail.com>
12667 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12670 * nxml/rng-valid.el (rng-validate-mode)
12671 (rng-after-change-function, rng-do-some-validation):
12672 * nxml/rng-maint.el (rng-validate-buffer):
12673 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12674 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12675 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12676 (nxml-extend-after-change-region): Use with-silent-modifications.
12678 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12681 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12682 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12683 timer-idle-list. (Bug#13999)
12685 2013-03-23 Juri Linkov <juri@jurta.org>
12687 * info.el (info-index-match): New face.
12688 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12689 main pattern and add text properties with the new face to matches
12690 in index entries relative to the beginning of the index entry.
12693 2013-03-21 Eric Ludlam <zappo@gnu.org>
12695 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12696 Inhibit read only while inserting objects.
12698 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12700 * progmodes/cfengine.el: Update docs to mention
12701 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12702 symbol motion. Remove "_" from the word syntax.
12704 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12706 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12707 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12709 2013-03-20 Juri Linkov <juri@jurta.org>
12711 * info.el (Info-next-reference-or-link)
12712 (Info-prev-reference-or-link): New functions.
12713 (Info-next-reference, Info-prev-reference): Use them.
12714 (Info-try-follow-nearest-node): Handle footnote navigation.
12715 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12717 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12719 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12720 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12722 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12724 Suppress unnecessary non-ASCII chatter during build process.
12725 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12726 (batch-skkdic-convert): Suppress most of the chatter.
12727 It's not needed so much now that machines are faster,
12728 and its non-ASCII component was confusing; see Dmitry Gutov in
12729 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12731 2013-03-20 Leo Liu <sdl.web@gmail.com>
12733 * ido.el (ido-chop): Fix bug#10994.
12735 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12737 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12739 (whitespace-color-on, whitespace-color-off):
12740 Use `font-lock-fontify-buffer' (Bug#13817).
12742 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12744 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12745 remapping in mode-line.
12746 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12748 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12750 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12751 value for `whitespace-line' face (Bug#13875).
12752 (whitespace-font-lock-keywords): Change description.
12753 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12754 the constructed keywords instead.
12755 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12757 2013-03-19 Leo Liu <sdl.web@gmail.com>
12759 * progmodes/compile.el (compilation-display-error): New command.
12760 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12763 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12765 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12767 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12769 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12771 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12773 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12775 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12776 * net/tramp-gvfs.el (top):
12777 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12778 (tramp-handle-shell-command): Use it.
12779 (tramp-dissect-file-name): Raise an error when hostname is a
12780 method name, and neither method nor user is specified.
12782 * net/trampver.el: Update release number.
12784 2013-03-18 Leo Liu <sdl.web@gmail.com>
12786 Make sure eldoc can be turned off properly.
12787 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12789 (eldoc-display-message-p): Revert last change.
12790 (eldoc-display-message-no-interference-p)
12791 (eldoc-print-current-symbol-info): Tweak.
12793 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12795 * doc-view.el (doc-view-new-window-function): Check the new window
12796 overlay's display property instead the char property of the
12797 buffer's first char. Use `with-selected-window' instead of
12798 `save-window-excursion' with `select-window'.
12799 (doc-view-document->bitmap): Check the current doc-view overlay's
12800 display property instead the char property of the buffer's first char.
12802 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12804 Automate the build of ja-dic.el (Bug#13984).
12805 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12806 from the input, rather than assume that it's been done for us by the
12807 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12808 the current date into a ja-dic.el comment, as that complicates
12809 regression testing.
12811 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12813 * whitespace.el: Fix double evaluation.
12814 (whitespace-space, whitespace-hspace, whitespace-tab)
12815 (whitespace-newline, whitespace-trailing, whitespace-line)
12816 (whitespace-space-before-tab, whitespace-indentation)
12817 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12819 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12820 (whitespace-color-on): Use a single font-lock-add-keywords call.
12821 Fix double-evaluation of face variables.
12823 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12825 * net/tramp-adb.el (tramp-adb-parse-device-names):
12826 Use `start-process' instead of `call-process'. Otherwise, the
12827 function might be blocked under MS Windows. (Bug#13299)
12829 2013-03-17 Leo Liu <sdl.web@gmail.com>
12831 Extend eldoc to display info in the mode-line. (Bug#13978)
12832 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12833 (eldoc-mode-line-string): New variable.
12834 (eldoc-minibuffer-message): New function.
12835 (eldoc-message-function): New variable.
12836 (eldoc-message): Use it.
12837 (eldoc-display-message-p)
12838 (eldoc-display-message-no-interference-p):
12839 Support eldoc-post-insert-mode.
12841 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12842 (eval-expression): Run it.
12844 2013-03-17 Roland Winkler <winkler@gnu.org>
12846 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12847 strings in the list of return values.
12849 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12851 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12852 radix before checking for HMS forms.
12854 2013-03-16 Leo Liu <sdl.web@gmail.com>
12856 * progmodes/scheme.el: Add indentation and font-locking for λ.
12859 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12861 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12862 token before point (bug#13942).
12864 2013-03-16 Leo Liu <sdl.web@gmail.com>
12866 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12868 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12870 * startup.el (command-line-normalize-file-name): Fix handling of
12871 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12872 <xfq.free@gmail.com> in
12873 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12875 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12877 Sync with Tramp 2.2.7.
12879 * net/trampver.el: Update release number.
12881 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12883 * doc-view.el: Fix bug#13887.
12884 (doc-view-insert-image): Don't modify overlay associated to
12885 non-live windows, and implement horizontal centering of image in
12886 case it's smaller than the window.
12887 (doc-view-new-window-function): Force redisplay of new windows on
12890 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12892 * saveplace.el (save-place-alist-to-file): Don't sort
12893 `save-place-alist', just pretty-print it (bug#13882).
12895 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12897 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12898 Check whether `default-file-name-coding-system' is bound.
12899 It isn't in XEmacs.
12901 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12903 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12904 backquotes for `obsolete' (bug#13929).
12906 * international/mule.el (find-auto-coding): Include file name in
12907 obsolescence warning (bug#13922).
12909 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12911 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12912 for CFEngine 3-specific indentation.
12913 (cfengine3-indent-line): Use it. Fix up category regex.
12914 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12916 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12918 * type-break.el (type-break-file-name):
12919 * textmodes/remember.el (remember-data-file):
12920 * strokes.el (strokes-file):
12921 * shadowfile.el (shadow-initialize):
12922 * saveplace.el (save-place-file):
12923 * ps-bdf.el (bdf-cache-file):
12924 * progmodes/idlwave.el (idlwave-config-directory):
12925 * net/quickurl.el (quickurl-url-file):
12926 * international/kkc.el (kkc-init-file-name):
12927 * ido.el (ido-save-directory-list-file):
12928 * emulation/viper.el (viper-custom-file-name):
12929 * emulation/vip.el (vip-startup-file):
12930 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
12931 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
12933 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
12935 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
12936 * language/thai-word.el: Switch to UTF-8.
12938 See ChangeLog.16 for earlier changes.
12940 ;; Local Variables:
12944 Copyright (C) 2011-2014 Free Software Foundation, Inc.
12946 This file is part of GNU Emacs.
12948 GNU Emacs is free software: you can redistribute it and/or modify
12949 it under the terms of the GNU General Public License as published by
12950 the Free Software Foundation, either version 3 of the License, or
12951 (at your option) any later version.
12953 GNU Emacs is distributed in the hope that it will be useful,
12954 but WITHOUT ANY WARRANTY; without even the implied warranty of
12955 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12956 GNU General Public License for more details.
12958 You should have received a copy of the GNU General Public License
12959 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.