1 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
3 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
6 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
8 * progmodes/js.el (js-indent-line): Don't widen.
9 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
11 2014-02-12 Glenn Morris <rgm@gnu.org>
13 * icomplete.el (icomplete): Add info-link to defgroup.
14 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
15 (icomplete-minibuffer-map, icomplete-mode)
16 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
18 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
19 (package-menu-filter): Rename from package-menu-filter-interactive.
22 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
24 * frameset.el (frameset--jump-to-register): Select the required
25 window and buffer before restoring position (bug#16696).
27 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
29 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
31 2014-02-10 Glenn Morris <rgm@gnu.org>
33 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
35 2014-02-10 Eli Zaretskii <eliz@gnu.org>
37 * w32-common-fns.el (x-get-selection): Doc fix.
38 * select.el (x-get-selection): Doc fix. (Bug#15109)
40 * face-remap.el (face-remap-add-relative)
41 (face-remap-remove-relative, face-remap-reset-base)
42 (face-remap-set-base): Call force-mode-line-update to redisplay
43 the current buffer due to potential change in faces. (Bug#16709)
45 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
47 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
50 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
52 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
54 * simple.el (choose-completion): Doc fix (bug#14160).
56 * subr.el (event-start): Say what a nil EVENT value means.
58 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
61 * progmodes/grep.el (find-program): Doc fix (bug#14289).
63 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
65 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
67 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
68 predicate function (bug#15455).
70 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
72 * ielm.el (inferior-emacs-lisp-mode): Instead of
73 `comment-use-global-state', set `comment-use-syntax'.
75 2014-02-10 Glenn Morris <rgm@gnu.org>
77 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
79 2014-02-09 Alan Mackenzie <acm@muc.de>
81 Fix c-invalidate-state-cache on narrowed buffers.
82 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
83 Widen when setting and clearing the CPP delimiter properties.
85 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
87 * help.el (describe-bindings): Doc fix (bug#9888).
89 * files.el (save-buffer): Use ARG as the parameter name for
90 consistency (bug#10346).
91 (save-buffer): Clarify the 0 argument (bug#10346).
93 * cus-edit.el (customize-apropos): Fix error string.
94 (custom-buffer-create): Doc fix (bug#11122).
95 (custom-sort-items): Doc fix (bug#11121).
97 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
99 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
100 (icomplete-simple-completing-p): Mention the previous variable.
102 * font-lock.el (font-lock-value-in-major-mode): Clarify the
103 meaning of the parameter (bug#12282).
105 * files.el (find-file-noselect): Clarify prompt when changing
106 readedness (bug#13261).
107 (locate-file): Suffixes aren't returned, so don't say that they
109 (backup-inhibited): Doc clarification (bug#12525).
111 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
112 before we actually start to delete things (bug#16331).
114 * subr.el (event-start): Doc fix (bug#14228).
117 2014-02-09 Glenn Morris <rgm@gnu.org>
119 * emacs-lisp/warnings.el (lwarn):
120 Empower help-enable-auto-load. (Bug#15940)
122 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
124 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
127 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
129 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
130 Insert output at end of buffer. (Bug#16120)
132 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
134 * simple.el (choose-completion-string-functions): Document new
135 calling convention (bug#14153).
136 (execute-extended-command): Clarify doc string (bug#13373).
138 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
140 * find-dired.el (find-name-dired): Doc fix (bug#14290).
141 (find-grep-dired): Doc fix (bug#14288).
143 2014-02-08 Juri Linkov <juri@jurta.org>
145 * isearch.el (isearch-quote-char): Check character validity
146 like in `quoted-insert' (bug#16677).
148 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
150 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
152 * isearch.el (isearch-hide-immediately): Doc clarification
155 * simple.el (line-move): Document utility function used many
156 places in the Emacs sources (bug#14843).
158 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
159 (dired-prev-marked-file): Doc fix (bug#14855).
160 (dired-up-directory): Doc fix (bug#14848).
162 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
164 * files.el (file-relative-name): Doc fix (bug#15159).
166 * fringe.el (fringe-styles): Doc fix (bug#15239).
168 * isearch.el (isearch-filter-predicate): Documentation typo fix
171 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
173 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
175 * replace.el (replace-match-maybe-edit): Doc clarification
178 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
180 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
182 2014-02-08 Glenn Morris <rgm@gnu.org>
184 * help-fns.el (describe-variable):
185 Check {file,dir}-local-variables-alist, and buffer-file-name,
186 in the correct buffer.
188 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
190 * help-fns.el (describe-variable): Fix the case where
191 a value is directory-local with no dir-locals file. (Bug#16635)
193 2014-02-08 Glenn Morris <rgm@gnu.org>
195 * abbrev.el (edit-abbrevs-mode):
196 Derive from fundamental-mode. (Bug#16682)
198 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
200 * simple.el (quoted-insert): Check character validity (bug#16677).
202 2014-02-07 Juri Linkov <juri@jurta.org>
204 * desktop.el (desktop-read): Claim the lock when the owner is not
205 the current process. (Bug#16157)
207 2014-02-07 Juri Linkov <juri@jurta.org>
209 * desktop.el (desktop-buffers-not-to-save): Change default from nil
210 to "\\` ". (Bug#16651)
212 2014-02-07 Juri Linkov <juri@jurta.org>
214 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
215 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
216 (desktop-auto-save-cancel-timer): New function with some code from
217 `desktop-auto-save-set-timer'.
218 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
219 Instead of setting `desktop-save-mode' to nil, call
220 `desktop-save-mode' with arg 0. (Bug#16630)
222 2014-02-07 Glenn Morris <rgm@gnu.org>
224 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
225 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
226 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
228 * obsolete/iswitchb.el: Move to obsolete/.
229 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
230 since obsolete/ is not scanned for autoloads.
231 * emacs-lisp/authors.el (authors-valid-file-names):
234 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
235 Disable now non-functional find-file-hook.
237 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
239 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
240 instead of ";" in order to avoid additional prompts. Let heredoc
241 scripts read from tty. (Bug#16582)
242 (tramp-send-command): No special handling of heredocs, it isn't
245 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
247 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
248 with a space (bug#16664). Limit the symbols considered to the ones
249 that are bound or fbound (bug#16646).
251 2014-02-06 Glenn Morris <rgm@gnu.org>
253 * epa.el (epa-mail-aliases): Doc fix.
255 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
257 * emacs-lisp/lisp.el (lisp-completion-at-point):
258 Use `completion-table-merge' instead of `completion-table-in-turn'
261 * minibuffer.el (completion-table-merge): New function.
263 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
265 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
266 (tramp-sh-handle-set-file-acl)
267 (tramp-sh-handle-start-file-process)
268 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
269 (tramp-find-executable, tramp-send-command): Use it.
271 2014-02-05 Glenn Morris <rgm@gnu.org>
273 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
275 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
277 * progmodes/python.el (python-shell-send-string):
278 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
280 2014-02-04 Anders Lindgren <andlind@gmail.com>
282 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
283 the names (bug#16620).
285 2014-02-03 Martin Rudalics <rudalics@gmx.at>
287 * faces.el (window-divider): New default value. Rewrite doc-string.
288 (window-divider-first-pixel, window-divider-last-pixel): New faces.
290 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
292 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
293 `protected' and `public' can also be called without arguments.
295 2014-02-03 Glenn Morris <rgm@gnu.org>
297 * register.el (window-configuration-to-register)
298 (frame-configuration-to-register): Unadvertise unused argument.
299 * frameset.el (frameset-to-register): Remove unused argument.
301 * frameset.el (frameset-to-register):
302 * kmacro.el (kmacro-to-register):
303 * register.el (increment-register):
304 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
305 (calc-append-to-register, calc-prepend-to-register):
306 * play/gametree.el (gametree-layout-to-register)
307 (gametree-apply-register-layout):
308 * textmodes/picture.el (picture-clear-rectangle-to-register)
309 (picture-yank-rectangle-from-register):
310 * vc/emerge.el (emerge-combine-versions-register):
311 Use register-read-with-preview to read registers.
313 2014-02-03 João Távora <joaotavora@gmail.com>
315 * elec-pair.el (electric-pair-backward-delete-char): Don't error
316 when at beginning of (possibly narrowed) buffer.
318 2014-02-02 Daniel Colascione <dancol@dancol.org>
320 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
321 Also try to display local help from just before point.
323 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
325 c-parse-state. Don't "append-lower-brace-pair" in certain
326 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
327 recognised as a comment.
329 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
330 as well as normal comment starter.
331 (c-parse-state-get-strategy): Extra return possibility
333 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
334 return value list to indicate replacement of a brace-pair cons
336 (c-parse-state-1): With 'back-and-forward, only call
337 c-append-lower-brace-pair-to state-cache when cons-separated.
339 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
341 * term/ns-win.el (ns-suspend-error): New function.
342 (ns-initialize-window-system): Add ns-suspend-error to
343 suspend-hook (Bug#16612).
345 2014-02-02 Daniel Colascione <dancol@dancol.org>
347 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
349 2014-02-02 Daniel Colascione <dancol@dancol.org>
351 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
353 2014-02-02 Glenn Morris <rgm@gnu.org>
355 * register.el (register-read-with-preview, point-to-register)
356 (window-configuration-to-register, frame-configuration-to-register)
357 (jump-to-register, number-to-register, view-register, insert-register)
358 (copy-to-register, append-to-register, prepend-to-register)
359 (copy-rectangle-to-register): Doc fixes.
361 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
363 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
364 * emacs-lisp/find-func.el (find-function-C-source): Idem.
365 * emacs-lisp/nadvice.el (advice--cd*r): New function.
366 * help-fns.el (describe-function-1): Use it.
368 2014-02-02 Glenn Morris <rgm@gnu.org>
370 * register.el (register-preview-default): New function,
371 split from register-preview.
372 (register-preview-function): Rename from register-preview-functions,
374 (register-preview): Use register-preview-function.
375 (register-read-with-preview): Error on non-character event. (Bug#16595)
377 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
379 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
380 `:' before binary operators (bug#16609). Don't check for `:'
381 before `[' and `(', or their syntax status. A percent literal
382 can't end with either.
383 (ruby-font-lock-keywords): For built-ins that require arguments,
384 check that they're followed by something that looks like argument
387 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
389 * subr.el (butlast): Document what an omitted N means (bug#13437).
392 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
394 * net/shr.el (shr-generic): Make into a defsubst to make the stack
395 depth shallower (bug#16587).
396 (shr-tag-svg): Respect `shr-inhibit-images'.
397 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
399 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
401 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
402 (ruby-smie-grammar): Make "." right-associative. Make its priority
403 lower than the ternary and all binary operators.
404 (ruby-smie-rules): Indent "(" relative to the first non-"."
405 parent, or the first "." parent at indentation.
406 Use `ruby-align-chained-calls' for indentation of "." tokens.
409 2014-01-31 Juri Linkov <juri@jurta.org>
411 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
412 from `make-hash-table'.
414 * textmodes/ispell.el (ispell-init-process): Change message format
415 to be consistent with other messages.
417 2014-01-31 Glenn Morris <rgm@gnu.org>
419 * delsel.el (delete-selection-mode): Doc fix.
421 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
422 (trace-function-background): Doc fixes.
424 * ido.el (ido-use-virtual-buffers): Doc fix.
425 Reset :version, since the default value has not changed.
427 * register.el (register-preview-delay, register-read-with-preview):
430 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
431 do not mess with mail-buffer position (fixes 2009-11-03 change).
432 * progmodes/cc-mode.el (c-submit-bug-report):
433 Check auto-fill-mode is bound. (Bug#16592)
435 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
437 * startup.el (fancy-splash-image-file): New function,
438 split from fancy-splash-head.
439 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
440 so that we are both using the same image. (Bug#16574)
442 2014-01-30 Glenn Morris <rgm@gnu.org>
444 * simple.el (eval-expression): Doc fix.
446 * hexl.el (hexl-mode-hook):
447 * ielm.el (ielm-mode-hook):
448 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
449 (lisp-interaction-mode-hook):
450 * progmodes/cfengine.e (cfengine3-documentation-function):
451 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
453 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
455 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
456 is a symbol (bug#16584).
458 2014-01-30 Glenn Morris <rgm@gnu.org>
460 * help.el (help-for-help-internal): Add "P" to text.
462 2014-01-29 Glenn Morris <rgm@gnu.org>
464 * simple.el (just-one-space, cycle-spacing): Doc fixes.
466 2014-01-28 Martin Rudalics <rudalics@gmx.at>
468 * window.el (fit-frame-to-buffer): Fix calculations for margins and
471 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
473 * progmodes/hideif.el: Extend to full CPP expression syntax.
474 (hif-token-alist): Add missing tokens.
475 (hif-token-regexp): Add support for float/octal/hex immediates.
476 (hif-string-literal-regexp): New const.
477 (hif-tokenize): Recognize strings and float/octal/hex immediates.
478 (hif-exprlist): New function.
479 (hif-parse-if-exp): Use it.
480 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
481 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
482 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
483 (hif-logxor, hif-comma): New functions.
485 2014-01-28 Glenn Morris <rgm@gnu.org>
487 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
489 * indent.el (tab-stop-list): Doc fix. Add :version.
491 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
492 (cvs-append-to-ignore): Add compatibility alias.
494 2014-01-27 Glenn Morris <rgm@gnu.org>
496 * dired.el (dired-hide-details-mode): Don't autoload it,
497 since it cannot be used outside Dired buffers anyway.
499 * emulation/cua-base.el (cua-mode): Doc fix.
501 * dired.el (dired-hide-details-hide-symlink-targets)
502 (dired-hide-details-hide-information-lines)
503 (dired-hide-details-mode): Doc fixes.
505 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
506 * strokes.el (strokes-file): Doc fix. Bump :version.
507 (strokes-help): Doc fix.
508 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
509 * emulation/viper.el (viper): Doc fix for custom group.
510 (top-level): Remove oh-so-no-longer-relevant text about vip.
511 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
513 * ido.el (ido-save-directory-list-file):
514 * saveplace.el (save-place-file):
515 * calendar/timeclock.el (timeclock-file):
516 * net/quickurl.el (quickurl-url-file):
517 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
518 * progmodes/idlwave.el (idlwave-config-directory):
519 * textmodes/remember.el (remember-data-file):
522 2014-01-26 Glenn Morris <rgm@gnu.org>
524 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
525 Doc fix. Make obsolete.
526 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
528 * sort.el (delete-duplicate-lines): Doc fix.
530 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
532 * progmodes/ada-mode.el (ada):
533 * woman.el (woman): Link to info manual and Commentary section.
535 * progmodes/flymake.el (flymake):
536 * nxml/nxml-mode.el (nxml):
538 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
539 * htmlfontify.el (htmlfontify):
542 * ido.el (ido): Link to info manual.
544 2014-01-25 Leo Liu <sdl.web@gmail.com>
546 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
548 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
550 * net/shr.el (shr-tag-img): Prefer the title over the alt text
553 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
555 * net/eww.el (eww-download-callback):
556 Fix reference to eww-download-directory.
558 * emacs-lisp/bytecomp.el (byte-compile-file):
559 Remove unused local variable `file-name'.
561 2014-01-24 Glenn Morris <rgm@gnu.org>
563 * woman.el (woman-default-faces, woman-monochrome-faces):
564 Fix obsolescence specification.
566 * subr.el (with-demoted-errors): Doc fix.
568 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
570 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
571 (cl--macroexp-fboundp): New function.
572 (cl--make-type-test): Use it.
574 2014-01-23 Glenn Morris <rgm@gnu.org>
576 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
577 * simple.el (eval-expression): Doc fixes.
579 2014-01-22 Glenn Morris <rgm@gnu.org>
581 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
583 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
585 * emacs-lisp/package.el: Write files silently.
586 (package-autoload-ensure-default-file, package--write-file-no-coding)
587 (package-generate-description-file, package--download-one-archive)
588 (package-install-from-archive): Tell `write-region' to stay quiet.
589 (package-menu-mode, package-menu--print-info): Omit the Archive column
590 if there's only one archive.
591 (package-all-keywords, package--has-keyword-p): Remove dead code.
593 2014-01-22 Glenn Morris <rgm@gnu.org>
595 * version.el (emacs-bzr-version-bzr): Fix typo.
597 * version.el (emacs-repository-get-version):
598 Check either .bzr or .git, but not both.
599 Make the git case actually use the DIR argument, and return nil
600 rather than the empty string.
601 Avoid error if .git exists but the git executable is not found.
603 2014-01-22 Martin Rudalics <rudalics@gmx.at>
605 Fixes in window size functions around Bug#16430 and Bug#16470.
606 * window.el (window-total-size, window-size): New argument ROUND.
607 (window--min-delta-1, window-min-delta, window--max-delta-1):
608 Be more conservative when calculating the numbers of lines or
609 columns a window can shrink (Bug#16430).
610 (fit-window-to-buffer): Simplify code.
611 * term.el (term-window-width): Call window-body-width again.
613 2014-01-22 Glenn Morris <rgm@gnu.org>
615 * image.el (image-format-suffixes): Doc fix.
617 * international/quail.el (quail-define-package): Doc fix.
619 * emacs-lisp/authors.el (authors-valid-file-names):
620 (authors-renamed-files-alist): Additions.
622 * vc/vc-git.el (vc-git-print-log): Remove --follow;
623 reverts 2014-01-09 change. (Bug#16422)
625 * calc/calc-embed.el (thing-at-point-looking-at):
626 * emacs-lisp/map-ynp.el (x-popup-dialog):
627 * obsolete/lmenu.el (x-popup-dialog):
628 * emacs-lisp/package.el (url-recreate-url):
629 * mail/mailclient.el (clipboard-kill-ring-save):
630 * subr.el (x-popup-dialog): Update declaration.
631 * mail/rmail.el (rmail-mime-message-p):
632 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
634 2014-01-21 Daniel Colascione <dancol@dancol.org>
636 * progmodes/sh-script.el (sh--inside-noncommand-expression):
637 Correctly detect when we're inside an arithmetic expansion form
638 containing nested parenthesis.
639 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
640 to detect cases where we shouldn't expand "<<" to a heredoc
643 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
645 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
646 (eldoc--message-command-p): New function.
647 (eldoc-display-message-p): Use it.
648 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
649 message is not automatically erased for us.
650 (eldoc-print-current-symbol-info): Erase previous message, if any.
652 2014-01-21 Tassilo Horn <tsdh@gnu.org>
654 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
655 specify it's an interactive function.
657 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
658 Fix regex used for scanning for citation keys which failed for
659 citations with optional arguments.
661 2014-01-21 Leo Liu <sdl.web@gmail.com>
663 * simple.el (read--expression): Don't enable eldoc-mode.
665 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
667 * simple.el (move-beginning-of-line): Make sure we don't move forward
670 2014-01-20 Juri Linkov <juri@jurta.org>
672 * saveplace.el (toggle-save-place, save-place-to-alist)
673 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
674 'dired-mode) before checking for dired-directory. (Bug#16477)
676 2014-01-20 Juri Linkov <juri@jurta.org>
678 * indent.el (indent-line-to): Use backward-to-indentation
679 instead of back-to-indentation. (Bug#16461)
681 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
683 Revert some of the CANNOT_DUMP fix (Bug#16494).
684 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
685 but fixing this can wait until after the next release.
686 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
688 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
690 * eshell/esh-mode.el (eshell-password-prompt-regexp):
691 Use `password-word-equivalents'.
692 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
693 to t. (Bug#5664, Bug#13124)
695 2014-01-19 Alan Mackenzie <acm@muc.de>
697 Bind open-paren-in-column-0-is-defun-start to nil at some entry
699 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
700 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
701 * progmodes/cc-mode.el (c-before-change, c-after-change)
702 (c-font-lock-fontify-region): Bind it here.
704 2014-01-19 Martin Rudalics <rudalics@gmx.at>
706 * term.el (term-window-width): Call window-text-width instead of
707 window-width (Bug#16470).
709 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
711 * simple.el (password-word-equivalents): Remove duplicates.
712 Sort, to make this easier next time.
713 Downcase. Omit ": " after "jelszó".
715 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
717 * term/common-win.el (saved-region-selection): Defvar it.
718 (x-select-text): Set saved-region-selection (Bug#16382).
720 2014-01-18 Glenn Morris <rgm@gnu.org>
722 * emacs-lisp/authors.el (authors-aliases)
723 (authors-renamed-files-alist): Add some entries.
725 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
727 * net/tramp.el (tramp-password-prompt-regexp):
728 Use `password-word-equivalents' if available.
729 (tramp-action-password, tramp-process-one-action)
730 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
732 2014-01-17 Chong Yidong <cyd@gnu.org>
734 * simple.el (password-word-equivalents): New defcustom.
735 * comint.el (comint-password-prompt-regexp): Use it. Bump version
737 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
740 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
742 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
743 (ruby-align-to-stmt-keywords): Change the default value.
744 Use `ruby-alignable-keywords' to generate the possible customization
746 (ruby-smie-rules): Instead of using a hardcoded list of alignable
747 keywords, check against the value of `ruby-alignable-keywords'
748 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
750 2014-01-17 Glenn Morris <rgm@gnu.org>
752 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
754 Make M-x authors return zero *Authors Errors* from current logs.
755 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
756 (authors-ignored-files): Add some entries, remove others.
757 (authors-ambiguous-files, authors-valid-file-names):
759 (authors-renamed-files-alist): Add, remove, and adjust entries.
760 (authors-renamed-files-regexps): Add some entries.
761 Remove some very broad ones. Make some entries `lax'.
762 (authors-lax-changelogs): New constant.
763 (authors-disambiguate-file-name): Treat top-level specially.
764 (authors-lax-changelog-p): New function.
765 (authors-canonical-file-name): Check file as written against
766 authors-valid-file-names. Do not special-case etc/.
767 Handle `lax' logs and authors-renamed-files-regexps elements.
769 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
771 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
772 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
775 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
777 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
778 Assume we're already in the proper buffer.
779 Inspired by Anders Lindgren <andlind@gmail.com>.
780 (follow-post-command-hook): Call it from the right buffer.
781 (follow-comint-scroll-to-bottom): Adjust call.
782 (follow-all-followers): Use get-buffer-window-list.
784 2014-01-15 Daniel Colascione <dancol@dancol.org>
786 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
787 `buffer-file-name' in interactive-form so that we don't leave
788 pathless file names in `file-name-history'.
790 2014-01-15 Juri Linkov <juri@jurta.org>
792 * indent.el (indent-rigidly): Set deactivate-mark to nil
793 in transient indentation mode. (Bug#16438)
795 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
797 * emacs-lisp/package.el (package-desc-keywords): New function
799 (describe-package-1, package-all-keywords)
800 (package--has-keyword-p): Use it.
802 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
804 * simple.el (define-alternatives): When creating the
805 COMMAND-alternatives variable, assign COMMAND as its definition
806 name so that `describe-variable' can relocate it.
808 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
810 * font-lock.el (font-lock-keywords): Fix typo in docstring
813 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
815 * ispell.el (ispell-region): Reset `in-comment' for new line
816 instead of wrongly reset `add-coment' (bug#13577).
818 2014-01-14 Daiki Ueno <ueno@gnu.org>
820 * epa-file.el (epa-file-write-region): Encode the region according
821 to `buffer-file-format'. Problem reported at:
822 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
824 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
826 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
827 so it applies in the right buffer (bug#16410).
829 2014-01-13 Daniel Colascione <dancol@dancol.org>
831 * textmodes/rst.el (rst-define-key): Provide deprecated
832 keybindings through named functions instead of anonymous ones so
833 that "??" doesn't appear in describe-mode output.
835 2014-01-13 Bastien Guerry <bzg@gnu.org>
837 * simple.el (define-alternatives): Call the selected command
838 interactively. When setting `COMMAND--implementation' for the
839 first time, tell the user how to chose another implementation.
840 Enhance the docstring.
842 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
844 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
845 (log-edit--match-first-line): New function.
846 (log-edit-font-lock-keywords): Use it.
847 (log-edit-mode): Make jit-lock-defer-multiline work.
849 2014-01-13 Bastien Guerry <bzg@gnu.org>
851 * rect.el (rectangle-mark-mode): When the region is not active,
852 display a message saying that the mark as been set and that
853 rectangle mode is in use.
854 (rectangle--highlight-for-redisplay): Only put an overlay with a
855 visible vertical bar when (display-graphic-p) is non-nil.
856 This partially fixes Bug#16403.
858 2014-01-13 Juri Linkov <juri@jurta.org>
860 * info.el (Info-find-file): Go to DIR before displaying the error
861 about a nonexistent file if no previous Info file is visited.
862 Use `user-error' instead of `error' for "Info file %s does not exist".
863 (Info-find-node-2): In case of a nonexistent node in unwind forms
864 go to the Top node if there is no previous node to revert to.
867 2014-01-13 Martin Rudalics <rudalics@gmx.at>
869 fit-frame/window-to-buffer code fixes including one for Bug#14096.
870 * window.el (fit-frame-to-buffer): Fix doc-string.
871 Respect window-min-height/-width. Fit pixelwise when
872 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
873 when avoiding that frame goes partially off-screen.
874 (fit-window-to-buffer): Respect window-min-height/-width
877 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
879 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
882 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
884 * net/shr.el (shr-render-region): Autoload.
886 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
888 * net/eww.el (eww-download-directory): Rename from
889 `eww-download-path' (Bug#16419).
891 2014-01-12 Leo Liu <sdl.web@gmail.com>
893 * dired-x.el (dired-mode-map): Fix last change.
895 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
897 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
900 * emacs-lisp/generic.el (generic--normalize-comments):
901 Rename from generic--normalise-comments. All uses changed.
902 * play/bubbles.el (bubbles--neighborhood-score):
903 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
904 (bubbles--neighborhood-available)
905 (bubbles--update-neighborhood-score):
906 Rename from names with 'neighbourhood'. All uses changed.
908 2014-01-12 Leo Liu <sdl.web@gmail.com>
910 Re-implement the feature of showing eldoc info after editing.
911 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
912 (eldoc-edit-message-commands): New function.
913 (eldoc-print-after-edit): New variable.
914 (eldoc-pre-command-refresh-echo-area): Emit message only by
915 eldoc-message-commands.
916 (eldoc-mode): Restrict eldoc-message-commands to editing commands
917 if eldoc-print-after-edit is set. (Bug#16346)
918 * simple.el (read--expression): Enable eldoc-mode.
919 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
921 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
922 Eric S. Raymond <esr@thyrsus.com>
924 * version.el (emacs-repository-get-version): Enhance so the
925 function works correctly in either a Bazaar or Git repo.
927 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
929 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
930 Goes with removal of the joke manpages from /etc.
932 2014-01-10 K. Handa <handa@gnu.org>
934 * mail/rmail.el (rmail-get-coding-system):
935 Check rmail-get-coding-function before "funcall"ing it.
937 2014-01-10 Glenn Morris <rgm@gnu.org>
939 * emacs-lisp/authors.el (authors-fixed-entries):
940 Update for files that no longer exist.
942 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
944 * version.el (emacs-bzr-get-version): Restore compatibilty with
947 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
949 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
952 2014-01-10 Eli Zaretskii <eliz@gnu.org>
954 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
956 2014-01-10 Chong Yidong <cyd@gnu.org>
958 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
960 2014-01-10 Anders Lindgren <andlind@gmail.com>
962 * follow.el (follow-cache-command-list): Include right-char and
965 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
968 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
969 * woman.el (woman-mark-horizontal-position):
970 Rename from woman-mark-horizonal-position. Use changed.
972 2014-01-10 Glenn Morris <rgm@gnu.org>
974 * info.el (info-initialize): If running uninstalled, ensure our
975 own info files are always found first, even if INFOPATH is set.
977 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
979 2014-01-09 David Engster <deng@randomsample.de>
981 * emacs-lisp/eieio-custom.el:
982 * emacs-lisp/eieio-opt.el: Set generated autoload file to
983 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
984 * emacs-lisp/eieio.el: Regenerate autoloads.
986 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
988 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
989 following renames. (Bug#8756)
991 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
993 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
995 (activate-mark): Add `no-tmm' argument.
996 (set-mark, push-mark-command): Use it instead of running
997 activate-mark-hook by hand.
999 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1001 In preparation for the move to git, sanitize out some
1002 Bazaar-specific names.
1004 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1006 * version.el (emacs-bzr-version): Name changed to
1007 emacs-repository-version. Obsolete-variable alias made.
1008 * loadup.el: Follow through on this name change.
1009 * mail/emacsbug.el (report-emacs-bug): Factor out any
1010 assumption about the version control system in use.
1012 2014-01-08 David Engster <deng@randomsample.de>
1014 * help-fns.el (help-fns-describe-function-functions):
1015 New variable to call functions for augmenting help buffers.
1016 (describe-function-1): Remove explicit calls to
1017 `help-fns--compiler-macro', `help-fns--parent-mode' and
1018 `help-fns--obsolete'. Put them in above new variable instead, and
1019 call them through `run-hook-with-args'.
1020 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1021 `eieio-describe-class'. Not meant for interactive use anymore,
1022 but to augment existing help buffers. Remove optional second
1023 argument. Create proper button for file location.
1024 Rewrite function to use `insert' instead of `princ' and `prin1' where
1026 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1027 (eieio-method-def, eieio-class-def): Move further up.
1028 (describe-method, describe-generic, eieio-describe-method):
1030 (eieio-help-constructor, eieio-help-generic): Rename from
1031 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1032 Rewrite to use `insert' in the current buffer and use proper help
1034 (eieio-help-find-method-definition)
1035 (eieio-help-find-class-definition): Also accept symbols as
1037 (eieio-help-mode-augmentation-maybee): Remove.
1038 (eieio-describe-class-sb): Use `describe-function'.
1039 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1040 Add `eieio-help-generic' and `eieio-help-constructor'.
1042 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1045 * language/china-util.el (hz-ascii-designation):
1046 Rename from hz-ascii-designnation.
1047 (hz-ascii-designation): Rename from hz-ascii-designnation.
1050 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1052 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1055 2014-01-08 Bastien Guerry <bzg@gnu.org>
1057 * emacs-lisp/package.el (package-delete):
1058 Correctly delete the package from package-alist.
1060 2014-01-08 Daiki Ueno <ueno@gnu.org>
1062 * emacs-lisp/package.el (url-recreate-url): Declare.
1063 (url-http-target-url): Declare.
1064 (package-handle-response): Include requested URL in the error message.
1065 (package--check-signature): Don't re-signal errors from
1066 package--with-work-buffer. Suggested by Stefan Monnier.
1068 2014-01-07 Bastien Guerry <bzg@gnu.org>
1070 * minibuffer.el (completion--try-word-completion): When both a
1071 hyphen and a space are possible candidates for the character
1072 following a word, display both candidates. (Bug#15980)
1074 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1076 * window.el (balance-windows-2): While rounding don't give a
1077 window more than the remainder. Bug#16351, Bug#16383.
1079 2014-01-07 Glenn Morris <rgm@gnu.org>
1081 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1082 (menu-bar-help-menu): Use view-external-packages instead.
1084 2014-01-07 Bastien Guerry <bzg@gnu.org>
1086 * emacs-lisp/package.el (package-delete): Also delete the package
1087 name from `package-alist', not its description only.
1089 2014-01-07 Glenn Morris <rgm@gnu.org>
1091 * help.el (view-external-packages):
1092 * menu-bar.el (menu-bar-help-extra-packages):
1093 Visit efaq.info rather than etc/MORE.STUFF.
1095 2014-01-07 Juri Linkov <juri@jurta.org>
1097 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1098 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1100 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1101 that shadows RET. (Bug#16342)
1103 2014-01-07 Chong Yidong <cyd@gnu.org>
1105 * isearch.el (isearch-yank-char, isearch-yank-word)
1106 (isearch-yank-line): Doc fix.
1108 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1110 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1111 * emacs-lisp/elint.el (elint-find-builtins):
1112 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1113 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1114 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1115 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1116 * apropos.el (apropos-safe-documentation):
1117 * subr.el (symbol-file): Remove redundant fboundp.
1118 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1120 2014-01-06 Bastien Guerry <bzg@gnu.org>
1122 * hl-line.el (global-hl-line-overlay): Make a local variable.
1123 (global-hl-line-overlays): New variable to store all overlays.
1124 (global-hl-line-mode): Don't delete overlays from the current
1125 buffer when `global-hl-line-sticky-flag' is non-nil.
1126 (global-hl-line-highlight): Add new overlays to
1127 `global-hl-line-overlays'.
1128 (global-hl-line-unhighlight-all): New function to delete all
1129 overlays when turning off `global-hl-line-mode'.
1130 This fixes Bug#16183.
1132 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1134 * subr.el (set-transient-map): Fix nested case and docstring.
1136 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1138 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1141 2014-01-06 Daniel Colascione <dancol@dancol.org>
1143 Fix defun navigation in vc log view.
1145 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1146 like `beginning-of-defun'.
1147 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1148 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1149 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1150 (log-view-extract-comment): Call `log-view-current-entry' directly
1151 instead of relying on broken `log-view-beginning-of-defun' behavior.
1153 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1156 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1157 * emacs-lisp/debug.el (cancel-debug-on-entry):
1158 * epg.el (epg-error-to-string):
1159 * files.el (recover-file):
1160 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1161 * mail/emacsbug.el (report-emacs-bug-hook):
1162 * mail/sendmail.el (mail-recover):
1163 * ses.el (ses-yank-resize):
1164 * term/ns-win.el (ns-print-buffer):
1165 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1166 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1168 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1170 2014-01-06 Leo Liu <sdl.web@gmail.com>
1172 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1173 to avoid shadowing global key. (Bug#16354)
1175 2014-01-06 Daniel Colascione <dancol@dancol.org>
1177 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1180 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1182 * window.el (balance-windows): Add mising t to fix Bug#16351.
1184 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1186 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1188 (shr-insert): If we have a word that's longer than `shr-width',
1189 break after it anyway. Otherwise we'll do no breaking once we get
1192 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1194 * net/eww.el (eww): Support single/double quote for search.
1195 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1196 (eww-history-quit): Delete and use quit-window.
1197 (eww-history-kill): Delete, because it doesn't work well and
1199 (eww-history-mode-map): Delete some keys and add easy-menu.
1201 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1203 Fix misspelling of 'chinese' in rx (Bug#16237).
1204 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1207 Change subword regexps back to vars (Bug#16296).
1208 * progmodes/subword.el (subword-forward-regexp)
1209 (subword-backward-regexp): Change these back to variables.
1211 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1213 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1214 syntax-begin-function (bug#16247).
1216 2014-01-03 Chong Yidong <cyd@gnu.org>
1218 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1219 (advice--docstring): Delete variable.
1220 (advice--make-1): Leave the docstring empty.
1221 (advice-add): Use function-documentation for advised docstring.
1223 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1224 Ignore function-documentation property when getting documentation.
1225 (ad-activate-advised-definition): Use function-documentation
1226 generate the docstring.
1227 (ad-make-advised-definition): Don't call
1228 ad-make-advised-definition-docstring.
1229 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1232 * progmodes/sql.el (sql-help): Use function-documentation instead
1233 of dynamic-docstring-function property. No need to autoload now.
1234 (sql--help-docstring): New variable.
1235 (sql--make-help-docstring): Use it.
1237 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1239 * ielm.el (ielm-tab): Retarget.
1240 (ielm-map): Use ielm-tab for tab.
1241 (ielm-complete-filename): Use comint-filename-completion.
1242 (ielm-complete-symbol): Remove.
1243 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1244 remove ielm-tab from completion-at-point-functions (bug#16224).
1246 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1247 Beware signals raised by predicates (bug#16201).
1249 2014-01-02 Richard Stallman <rms@gnu.org>
1251 * dired-aux.el (dired-do-print): Handle printer-name.
1253 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1254 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1255 (rmail-epa-decrypt): Turn off mime processing.
1257 * mail/rmail.el (rmail-make-in-reply-to-field):
1258 Add parens in message-id.
1260 * mail/rmail.el (rmail-get-coding-function): Variable.
1261 (rmail-get-coding-system): Use it.
1263 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1265 * international/mule-conf.el: Unify the charset indian-is13194.
1266 (indian-is13194): Specify unify-map.
1268 2013-12-31 Leo Liu <sdl.web@gmail.com>
1270 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1272 2013-12-30 Daniel Colascione <dancol@dancol.org>
1274 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1275 of printing a useless when we resume from sleep.
1277 * progmodes/sh-script.el
1278 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1279 in indentation code. (Bug#16233)
1281 2013-12-28 João Távora <joaotavora@gmail.com>
1283 * elec-pair.el (electric-pair-post-self-insert-function):
1284 Don't open extra newlines at beginning of buffer. (Bug#16272)
1286 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1288 * frame.el (window-system-for-display): Don't allow to create a
1289 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1291 2013-12-28 Glenn Morris <rgm@gnu.org>
1293 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1296 * apropos.el (apropos-match-face):
1297 * calculator.el (calculator-displayer):
1298 * dabbrev.el (dabbrev-search-these-buffers-only):
1299 * face-remap.el (buffer-face-mode-face):
1300 * simple.el (yank-handled-properties):
1301 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1302 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1303 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1304 (hashcash-double-spend-database):
1305 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1306 (ruby-deep-indent-paren-style):
1307 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1308 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1309 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1310 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1311 Specify custom types.
1313 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1314 * bookmark.el (bookmark-bmenu-use-header-line):
1315 * doc-view.el (doc-view-scale-internally):
1316 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1317 * register.el (register-preview-delay):
1318 * net/shr.el (shr-bullet):
1319 * progmodes/cfengine.el (cfengine-cf-promises)
1320 (cfengine-parameters-indent):
1321 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1322 * textmodes/reftex-vars.el (reftex-label-regexps):
1323 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1325 * net/tls.el (tls-certtool-program): Fix default value.
1327 * desktop.el (desktop-restore-in-current-display):
1328 * newcomment.el (comment-empty-lines):
1329 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1330 (idlwave-pad-keyword):
1331 * progmodes/tcl.el (tcl-tab-always-indent):
1332 * textmodes/reftex-vars.el (reftex-index-default-tag):
1333 * elec-pair.el (electric-pair-skip-whitespace):
1334 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1336 * emacs-lisp/authors.el (authors-ignored-files)
1337 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1339 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1341 * shell.el (shell-dynamic-complete-command): Doc fix.
1342 (shell--command-completion-data): Shell completion now matches
1343 executable filenames from the current buffer's directory, on
1344 systems in which this behavior is the default (windows-nt, ms-dos).
1346 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1348 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1350 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1355 * electric.el: Move all electric-pair-* to elec-pair.el.
1356 * elec-pair.el: New file, split from electric.el.
1358 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1360 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1361 indentation level is larger than the width, because that will
1363 (shr-insert): Fill repeatedly long texts, so that Japanese is
1364 formatted correctly (bug#16263).
1365 (shr-find-fill-point): Off by one error in comparison with the
1368 2013-12-26 João Távora <joaotavora@gmail.com>
1370 * electric.el (electric-pair-mode): More flexible engine for skip-
1371 and inhibit predicates, new options for pairing-related functionality.
1372 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1373 if that keeps or improves their balance in buffers.
1374 (electric-pair-delete-adjacent-pairs): Delete the pair when
1375 backspacing over adjacent matched delimiters.
1376 (electric-pair-open-extra-newline): Open extra newline when
1377 inserting newlines between adjacent matched delimiters.
1378 (electric--sort-post-self-insertion-hook):
1379 Sort post-self-insert-hook according to priority values when
1380 minor-modes are activated.
1381 * simple.el (newline-and-indent): Call newline with interactive
1383 (blink-paren-post-self-insert-function): Set priority to 100.
1384 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1385 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1386 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1387 electric-pair-open-newline-between-pairs to nil.
1389 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1391 * progmodes/python.el: Use lexical-binding.
1392 (python-nav-beginning-of-defun): Stop searching ASAP.
1394 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1396 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1397 Fix interactive spec. Doc fix. (Bug#15754)
1399 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1401 * emacs-lisp/byte-run.el (eval-when-compile):
1402 * progmodes/cc-defs.el (cc-eval-when-compile):
1403 Fix edebug spec (bug#16184).
1405 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1407 * net/shr.el (shr-visit-file): Remove debugging function.
1408 (shr-insert): Don't infloop if we can't find a good place to break
1409 the line (bug#16256).
1411 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1413 * progmodes/python.el:
1414 (python-nav--lisp-forward-sexp): New function.
1415 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1416 python-nav-lisp-forward-sexp-safe.
1417 (python-nav--forward-sexp): New argument SAFE allows switching
1418 forward sexp movement behavior for parens.
1419 (python-nav-forward-sexp): Throw errors on unterminated parens
1421 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1422 (python-nav-backward-sexp-safe): New functions.
1423 (python-shell-buffer-substring):
1424 Use `python-nav-forward-sexp-safe'.
1426 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1428 * net/shr.el (shr-find-fill-point): Don't break lines before a
1430 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1431 (shr-find-fill-point): Remove the special checks for the quotation
1432 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1434 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1436 * net/eww.el (eww-form-textarea): Use a different face for
1437 textareas than text input since they have different keymaps
1440 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1442 * progmodes/python.el (python-nav-beginning-of-statement):
1443 Speed up (Bug#15295).
1445 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1447 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1448 the window configuration.
1450 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1452 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1453 we run on MS-Windows or MS-DOS.
1455 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1457 * window.el (balance-windows-area): Call window-size instead of
1458 window-height and window-width. Bug#16241.
1460 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1462 * net/eww.el (eww-bookmark-quit): Remove.
1463 (eww-bookmark-browse): Restore the window configuration when you
1464 choose a bookmark (bug#16144).
1466 2013-12-24 Daniel Colascione <dancol@dancol.org>
1468 * icomplete.el: Remove redundant :group arguments to `defcustom'
1470 (icomplete-show-matches-on-no-input): New customizable variable.
1471 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1472 we have something to show.
1473 (icomplete-exhibit): Compute completions even if we have no user input.
1475 2013-12-23 Daniel Colascione <dancol@dancol.org>
1477 * icomplete.el: Move `provide' to end of file.
1479 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1481 * net/gnutls.el (gnutls-verify-error): Add version tag.
1483 2013-12-23 Chong Yidong <cyd@gnu.org>
1485 * subr.el (set-transient-map): Rename from
1486 set-temporary-overlay-map. Doc fix.
1488 * face-remap.el (text-scale-adjust):
1489 * indent.el (indent-rigidly):
1490 * kmacro.el (kmacro-call-macro):
1491 * minibuffer.el (minibuffer-force-complete):
1492 * repeat.el (repeat):
1493 * simple.el (universal-argument--mode):
1494 * calendar/todo-mode.el (todo-insert-item--next-param):
1495 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1497 * indent.el (indent-rigidly): Use substitute-command-keys.
1499 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1501 * net/eww.el (eww-tag-select): Add text-property to jump to next
1503 (eww): Add non-supported ftp error.
1505 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1507 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1508 comments. Handle electric indent after typing `?' and `!'.
1510 2013-12-22 Chong Yidong <cyd@gnu.org>
1512 * faces.el (face-spec-recalc): If the theme specs are not
1513 applicable to a frame, fall back on the defface spec.
1514 This prevents themes from obliterating faces on low-color terminals.
1516 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1518 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1519 after `{'. We need it after block openers, and it doesn't seem
1520 to hurt after hash openers.
1522 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1524 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1525 extracted from `ruby-smie-rules'.
1526 (ruby--electric-indent-chars): New variable.
1527 (ruby--electric-indent-p): New function.
1528 (ruby-mode): Use `electric-indent-functions' instead of
1529 `electric-indent-chars'.
1531 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1533 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1535 (ruby-smie-rules): Indent plus one level after `=>'.
1537 2013-12-21 Richard Stallman <rms@gnu.org>
1539 * simple.el (newline): Doc fix.
1541 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1543 * net/eww.el (eww-list-histories, eww-list-histories)
1544 (eww-history-browse, eww-history-quit, eww-history-kill)
1545 (eww-history-mode-map, eww-history-mode): New command and
1546 functions to list browser histories.
1547 (eww-form-text): Support text form with disabled
1548 and readonly attributes.
1549 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1551 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1553 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1554 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1555 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1556 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1558 (eww-bookmark-mode-map): Add menu.
1559 (eww-render, eww-mode): Use `setq-local'.
1560 (eww-tool-bar-map): New variable.
1561 (eww-mode): Set `tool-bar-map'.
1562 (eww-view-source): Check for `html-mode' with `fboundp'.
1564 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1566 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1567 elements with text inside. Also remove debugging.
1569 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1571 * cus-start.el (all): Add ns-use-srgb-colorspace.
1573 2013-12-21 Chong Yidong <cyd@gnu.org>
1575 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1576 undefined. Thus, theme settings for undefined faces do not take
1577 effect until the faces are defined with defface, the same as with
1580 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1581 (face-spec-reset-face): Don't assign extra properties in temacs.
1582 (face-spec-recalc): Apply X resources too.
1584 2013-12-21 Chong Yidong <cyd@gnu.org>
1586 * faces.el (face-spec-set):
1587 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1588 * custom.el (defface): Doc fixes (Bug#16203).
1590 * indent.el (indent-rigidly-map): Add docstring, and move commands
1591 into named functions.
1592 (indent-rigidly-left, indent-rigidly-right)
1593 (indent-rigidly-left-to-tab-stop)
1594 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1595 indentation direction based on bidi direction, and accumulate
1596 sequential commands in a single undo boundary.
1597 (indent-rigidly--pop-undo): New utility function.
1599 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1601 * faces.el (read-face-name): Require crm.el when using crm-separator.
1603 2013-12-20 Daniel Colascione <dancol@dancol.org>
1605 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1606 so that we don't reflow comments into the shebang line.
1608 2013-12-20 Juri Linkov <juri@jurta.org>
1610 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1611 a position when `dired-directory' is non-nil. Check integer
1612 positions with `integerp'.
1613 (toggle-save-place, save-places-to-alist): Add check for
1615 (save-place-find-file-hook): Check integer positions with
1617 (save-place-dired-hook): Use `dired-goto-file' when
1618 `dired-filename' is found in the assoc list. Check integer
1619 positions with `integerp'.
1620 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1622 * dired.el (dired-initial-position-hook): Rename back from
1623 `dired-initial-point-hook'.
1624 (dired-initial-position): Rename `dired-initial-point-hook' to
1625 `dired-initial-position-hook'.
1626 (dired-file-name-at-point): Doc fix. (Bug#15329)
1628 2013-12-20 Juri Linkov <juri@jurta.org>
1630 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1631 (read-regexp-suggestions): New function.
1632 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1633 Use `read-regexp-suggestions'. Add non-empty default to history
1635 (occur-read-regexp-defaults-function): Remove function.
1636 (occur-read-primary-args): Use `regexp-history-last' instead of
1637 `occur-read-regexp-defaults-function'.
1639 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1640 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1641 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1642 `hi-lock-read-regexp-defaults-function'. Doc fix.
1643 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1644 with `find-tag-default-as-symbol-regexp'. Doc fix.
1645 (hi-lock-read-regexp-defaults): Remove function.
1646 (hi-lock-regexp-okay): Add check for null.
1648 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1649 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1651 * subr.el (find-tag-default-as-symbol-regexp): New function.
1652 (find-tag-default-as-regexp): Move symbol regexp formatting to
1653 `find-tag-default-as-symbol-regexp'.
1655 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1657 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1660 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1662 * calendar/todo-mode.el: New implementation of item insertion
1663 commands and key bindings.
1664 (todo-key-prompt): New face.
1665 (todo-insert-item): New command.
1666 (todo-insert-item--parameters): New defconst, replacing defvar
1667 todo-insertion-commands-args-genlist.
1668 (todo-insert-item--param-key-alist): New defconst, replacing
1669 defvar todo-insertion-commands-arg-key-list.
1670 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1671 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1672 (todo-insert-item--next-param): New functions.
1673 (todo-insert-item--args, todo-insert-item--argleft)
1674 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1676 (todo-key-bindings-t): Change binding of "i" from
1677 todo-insertion-map to todo-insert-item.
1678 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1679 (todo-insertion-command-name, todo-insertion-commands-names)
1680 (todo-define-insertion-command, todo-insertion-commands)
1681 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1683 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1685 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1686 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1688 (todo-move-category): Allow choosing a non-existing todo file to
1689 move the category to, and create that file.
1690 (todo-default-priority): New user option.
1691 (todo-set-item-priority): Use it.
1692 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1693 (desktop-restore-file-buffer): Declare.
1694 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1695 (todo-modes-set-2): Locally set desktop-save-buffer to
1696 todo-desktop-save-buffer.
1697 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1698 (auto-mode-alist): Add autoload cookie.
1700 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1702 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1703 helpers.el was a poor choice of name.
1704 (string-remove-prefix): New function.
1705 (string-remove-suffix): New function.
1707 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1709 Fix assignment for new window total sizes.
1710 * window.el (window--pixel-to-size): Remove function.
1711 (window--pixel-to-total-1, window--pixel-to-total):
1712 Fix calculation of new total sizes.
1714 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1716 * comint.el (comint-output-filter): Fix rear-nonsticky property
1717 placement (Bug#16010).
1719 2013-12-20 Chong Yidong <cyd@gnu.org>
1721 * faces.el (read-color): Minor fix for completion function.
1723 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1725 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1726 New option. (Bug#16182)
1727 (ruby-smie--indent-to-stmt-p): Use it.
1728 (ruby-smie-rules): Revert the logic in the handling of `when'.
1729 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1730 (ruby-deep-arglist, ruby-deep-indent-paren)
1731 (ruby-deep-indent-paren-style): Update docstrings to note that the
1732 vars don't have any effect with SMIE.
1734 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1736 * calc/calc.el (calc-enter, calc-pop): Use the variable
1737 `calc-context-sensitive-enter'.
1739 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1741 * net/shr.el (shr-insert): Protect against infloops in degenerate
1744 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1746 * progmodes/octave.el (octave): Add link to manual and octave
1748 (octave-mode-menu): Link to octave-mode manual.
1750 2013-12-20 Leo Liu <sdl.web@gmail.com>
1752 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1753 insertion using skeleton-end-newline. (Bug#16138)
1755 2013-12-20 Juri Linkov <juri@jurta.org>
1757 * replace.el (occur-engine): Use `add-face-text-property'
1758 to add the face property to matches and titles. (Bug#14645)
1760 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1761 the palette of other hi-lock colors.
1762 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1764 2013-12-19 Juri Linkov <juri@jurta.org>
1766 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1767 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1768 (minibuffer-history-symbol): Move variable declaration closer to
1771 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1774 2013-12-19 Juri Linkov <juri@jurta.org>
1776 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1778 (log-edit-hook): Add it to :options. (Bug#16170)
1780 2013-12-19 Juri Linkov <juri@jurta.org>
1782 * simple.el (eval-expression-print-format): Don't check for
1783 command names and the last command. Always display additional
1784 formats of the integer result in the echo area, and insert them
1785 to the current buffer only with a zero prefix arg.
1786 Display character when char-displayable-p is non-nil.
1787 (eval-expression): With a zero prefix arg, set `print-length' and
1788 `print-level' to nil, and insert the integer values from
1789 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1791 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1792 `eval-last-sexp-arg-internal'. Doc fix.
1793 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1794 `eval-last-sexp-print-value'. Doc fix.
1795 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1796 Set `print-length' and `print-level' to nil when arg is zero.
1797 (eval-last-sexp): Doc fix.
1798 (eval-defun-2): Print the integer values from
1799 `eval-expression-print-format' at the end.
1801 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1802 values from `eval-expression-print-format' at the end.
1804 * ielm.el (ielm-eval-input): Print the integer
1805 values from `eval-expression-print-format' at the end.
1807 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1809 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1810 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1812 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1814 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1815 (hl-line-highlight, global-hl-line-highlight): Use it.
1816 (hl-line-overlay): Use defvar-local.
1818 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1820 * term/ns-win.el: Require dnd.
1821 (global-map): Remove drag items.
1822 (ns-insert-text, ns-set-foreground-at-mouse)
1823 (ns-set-background-at-mouse):
1824 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1825 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1828 2013-12-19 Glenn Morris <rgm@gnu.org>
1830 * emacs-lisp/ert.el (ert-select-tests):
1831 Fix string/symbol mixup. (Bug#16121)
1833 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1835 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1836 keywords to their parent.
1838 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1840 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1841 first arg to be a string (fixed dead code), or an operator symbol.
1842 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1844 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1845 did nothing. Don't respond to `(:after ".")', it will be called
1846 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1847 change anything. Only return indentation for binary operators
1848 when they are hanging. De-dent opening paren when its parent is
1849 `.', otherwise it looks bad when the dot is not at bol or eol
1852 2013-12-19 Juri Linkov <juri@jurta.org>
1854 * replace.el (query-replace-read-args): Split a non-negative arg
1855 and a negative arg into separate elements.
1856 (query-replace, query-replace-regexp, replace-string)
1857 (replace-regexp): Add arg `backward'. Doc fix.
1858 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1859 move point to the beginning of the match.
1860 (replace-search, replace-highlight): Use new arg `backward'
1861 to set the value of `isearch-forward'.
1862 (perform-replace): Add arg `backward' and use it to perform
1863 replacement backward. (Bug#14979)
1865 * isearch.el (isearch-query-replace): Use a negative prefix arg
1866 to call `perform-replace' with a non-nil arg `backward'.
1868 2013-12-18 Juri Linkov <juri@jurta.org>
1870 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1871 to the default list. Move `log-edit-show-files' to the end.
1872 Add more available functions to options.
1873 (log-edit): Move default specific settings to
1874 `log-edit-insert-message-template'. Don't move point.
1875 (log-edit-insert-message-template): New function.
1876 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1879 2013-12-18 Juri Linkov <juri@jurta.org>
1881 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1882 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1884 2013-12-18 Leo Liu <sdl.web@gmail.com>
1886 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1889 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1891 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1892 formats for displaying file sizes when the -s switch is given.
1893 Instead, compute a separate format for displaying the size in
1894 blocks, which is displayed in addition to the "regular" size.
1895 When -h is given in addition to -s, produce size in blocks in
1896 human-readable form as well. (Bug#16179)
1898 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1900 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1901 Reference tables with ~\ref{...} instead of only \ref{...}.
1903 2013-12-18 Chong Yidong <cyd@gnu.org>
1905 * cus-edit.el (custom-magic-alist): Fix "themed" description
1908 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1909 is non-nil, do not create a new entry in the symbol's theme-value
1910 or theme-face property; update theme-settings only (Bug#14664).
1911 (custom-available-themes): Doc fix.
1913 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1916 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1918 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1920 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1923 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1925 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1927 2013-12-18 Glenn Morris <rgm@gnu.org>
1929 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1930 * cus-start.el (load-prefer-newer): New option.
1932 2013-12-18 Le Wang <l26wang@gmail.com>
1934 * comint.el (comint-previous-matching-input-from-input):
1935 Retain point (Bug#13404).
1937 2013-12-18 Chong Yidong <cyd@gnu.org>
1939 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1941 2013-12-18 Glenn Morris <rgm@gnu.org>
1943 * mail/emacsbug.el (report-emacs-bug):
1944 Only mention enable-multibyte-characters if non-standard.
1946 2013-12-17 Juri Linkov <juri@jurta.org>
1948 * arc-mode.el (archive-extract-by-file): Check if directory exists
1949 before deletion to not show irrelevant errors if it doesn't exist.
1951 2013-12-17 Juri Linkov <juri@jurta.org>
1953 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1956 * net/eww.el (browse-web): Add alias to `eww'.
1957 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1958 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1960 * net/browse-url.el (browse-url-browser-function): Move `eww'
1961 closer to similar functions.
1963 * startup.el (fancy-startup-screen, fancy-about-screen):
1964 Set browse-url-browser-function to eww-browse-url locally.
1967 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1969 * window.el (window--pixel-to-total): Remove unused `mini' var.
1970 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1971 (split-window): Remove unused `new' var.
1972 (window--display-buffer): Remove unused `frame' and `delta' vars.
1973 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1976 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1978 * dired.el (dired-mark-pop-up):
1979 * register.el (register-preview): Don't bind
1980 split-height-threshold here since it's now done in
1981 display-buffer-below-selected.
1983 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1985 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1986 xterm-rgb-convert-to-16bit.
1987 (rxvt-register-default-colors): Standardize with
1988 xterm-register-default-colors (Bug#14078).
1990 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1992 * simple.el (kill-region): Pass mark first, then point, so that
1993 kill-append works right (Bug#12819).
1994 (copy-region-as-kill, kill-ring-save): Likewise.
1996 2013-12-17 Leo Liu <sdl.web@gmail.com>
1998 * net/rcirc.el (rcirc-add-face):
1999 * eshell/em-prompt.el (eshell-emit-prompt):
2000 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2003 2013-12-17 Chong Yidong <cyd@gnu.org>
2005 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2006 Suggested by Xue Fuqiao.
2008 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2010 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2012 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2014 * net/shr.el (shr-insert-document): Remove unused var
2015 `shr-preliminary-table-render'.
2016 (shr-rescale-image): Remove unused arg `force'.
2017 (shr-put-image): Update calls accordingly.
2018 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2020 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2022 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2023 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2024 :close-all, to see which indentation method to use (Bug#16116).
2025 (smie-rules-function): Document the method :close-all.
2027 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2029 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2031 * net/eww.el (eww-display-html): If we can't find the anchor we're
2032 looking for, then go to point-min.
2034 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2036 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2037 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2038 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2039 Expand dir too, in case it's relative.
2041 2013-12-16 Juri Linkov <juri@jurta.org>
2043 * desktop.el (desktop-auto-save-timeout): Change default to
2044 `auto-save-timeout'. Doc fix.
2045 (desktop-save): Skip the timestamp in desktop-saved-frameset
2046 when checking for auto-save changes.
2047 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2048 `desktop-auto-save' is called repeatedly by the idle timer.
2049 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2050 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2053 2013-12-16 Juri Linkov <juri@jurta.org>
2055 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2057 (isearch-pre-command-hook): Check `this-command' for symbolp.
2059 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2061 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2063 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2065 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2066 (cfengine3--current-function): Bring in the current-function
2067 functionality from `cfengine3--current-word'.
2068 (cfengine3-completion-function): Bring in the
2069 bounds-of-current-word functionality from
2070 `cfengine3--current-word'.
2072 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2074 * window.el (display-buffer-below-selected):
2075 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2077 2013-12-16 Leo Liu <sdl.web@gmail.com>
2079 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2080 Remove NOMSG arg and all uses changed.
2082 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2084 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2085 (cua--deactivate-rectangle): Don't deactivate the mark.
2086 (cua-set-rectangle-mark): Don't set mark-active since
2087 cua--activate-rectangle already does it for us.
2088 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2089 non-rectangular region.
2091 * emulation/cua-base.el (cua-repeat-replace-region):
2092 Use with-current-buffer.
2094 * net/gnutls.el: Use cl-lib.
2095 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2097 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2099 * emacs-lisp/package.el (package-built-in-p): Support both
2100 built-in and the package.el converted package descriptions.
2101 (package-show-package-list): Allow keywords.
2102 (package-keyword-button-action): Use it instead of
2103 `finder-list-matches'.
2104 (package-menu-filter-interactive): Interactive filtering (by
2106 (package-menu--generate): Support keywords and change keymappings
2107 and headers when they are given.
2108 (package--has-keyword-p): Helper function.
2109 (package-menu--refresh): Use it.
2110 (package--mapc): Helper function.
2111 (package-all-keywords): Use it.
2112 (package-menu-mode-map): Set up menu items and keybindings to
2113 provide a filtering UI.
2115 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2117 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2118 the behavior when a certificate fails validation. Defaults to
2119 old behavior: never abort, just warn.
2120 (gnutls-negotiate): Use it.
2122 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2124 * window.el (display-buffer-below-selected): Never split window
2125 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2127 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2129 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2130 (package-buffer-info): Use it (bug#15108).
2132 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * icomplete.el (icomplete-completions): Make sure the prefix is already
2135 displayed elsewhere before hiding it (bug#16219).
2137 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2139 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2140 open-paren tokens when preceded by a open-paren, too.
2141 (ruby-smie-rules): Handle virtual indentation after open-paren
2142 tokens specially. If there is code between it and eol, return the
2143 column where is starts (Bug#16118).
2145 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2147 * progmodes/cfengine.el: Fix `add-hook' doc.
2148 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2149 (cfengine3--current-word): Fix parameters.
2150 (cfengine3-make-syntax-cache): Simplify further.
2151 (cfengine3-completion-function, cfengine3--current-function):
2152 Use `assq' for symbols.
2153 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2155 2013-12-13 Glenn Morris <rgm@gnu.org>
2157 * loadup.el (load-path): Warn if site-load or site-init changes it.
2158 No more need to reset it when bootstrapping.
2160 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2162 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2163 locations for cf-promises.
2164 (cfengine-mode-syntax-functions-regex): New caching variable.
2165 (cfengine3-fallback-syntax): Fallback syntax for cases where
2166 cf-promises doesn't run.
2167 (cfengine3--current-word): Reimplement using
2168 `cfengine-mode-syntax-functions-regex'.
2169 (cfengine3-completion-function, cfengine3--current-function):
2170 Use `cfengine3-make-syntax-cache' directly.
2171 (cfengine3-clear-syntax-cache): New function.
2172 (cfengine3-make-syntax-cache): Simplify and create
2173 `cfengine-mode-syntax-functions-regex' on demand.
2174 (cfengine3-format-function-docstring): Don't call
2175 `cfengine3-make-syntax-cache' explicitly.
2177 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2179 Fix windmove-find-other-window broken after pixelwise resizing
2181 * windmove.el (windmove-other-window-loc): Revert change from
2183 (windmove-find-other-window): Call window-in-direction.
2184 * window.el (window-in-direction): New arguments SIGN, WRAP and
2185 MINI to emulate original windmove-find-other-window behavior.
2187 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2189 * simple.el (blink-matching--overlay): New variable.
2190 (blink-matching-open): Instead of moving point, highlight the
2191 matching paren with an overlay
2192 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2194 * faces.el (paren-showing-faces, show-paren-match)
2195 (show-paren-mismatch): Move from paren.el.
2197 2013-12-13 Leo Liu <sdl.web@gmail.com>
2199 * indent.el (indent-region): Disable progress reporter in
2200 minibuffer. (Bug#16108)
2202 * bindings.el (visual-order-cursor-movement): Fix version.
2204 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2206 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2207 Also match after beginning of line.
2208 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2209 files. Thanks to Russell Sim. (Bug#15378)
2211 2013-12-13 Juri Linkov <juri@jurta.org>
2213 * simple.el <Keypad support>: Remove key bindings duplicated
2214 with bindings.el. (Bug#14397)
2216 2013-12-13 Juri Linkov <juri@jurta.org>
2218 * comint.el (comint-mode-map): Replace `delete-char' with
2219 `delete-forward-char'. (Bug#16109)
2221 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2223 * progmodes/python.el (python-indent-calculate-indentation):
2224 Fix de-denters cornercase. (Bug#15731)
2226 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2228 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2229 (advice--make): Pay attention to `depth'.
2230 (advice--make-1): Don't autoload commands eagerly.
2231 * emacs-lisp/elp.el (elp-instrument-function):
2232 * emacs-lisp/trace.el (trace-function-internal):
2233 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2235 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2237 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2239 * term/w32-win.el (w32-handle-dropped-file):
2240 * startup.el (normal-top-level):
2241 * net/browse-url.el (browse-url-file-url):
2242 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2243 decode file names using 'utf-8' rather than
2244 file-name-coding-system.
2246 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2248 * progmodes/python.el (python-indent-context)
2249 (python-indent-calculate-indentation): Fix auto-identation
2250 behavior for comment blocks. (Bug#15916)
2252 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2254 * progmodes/python.el (python-indent-calculate-indentation):
2255 When determining indentation, don't treat "return", "pass", etc., as
2256 operators when they are just string constituents. (Bug#15812)
2258 2013-12-12 Juri Linkov <juri@jurta.org>
2260 * uniquify.el (uniquify-buffer-name-style): Change default to
2261 `post-forward-angle-brackets'.
2263 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2264 `uniquify'. Change default to `post-forward-angle-brackets'.
2266 2013-12-11 Glenn Morris <rgm@gnu.org>
2268 * emacs-lisp/package.el (finder-list-matches):
2269 Autoload rather than falsely declaring.
2271 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2273 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2274 (eww-mode-map): Use them.
2276 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2278 * window.el (display-buffer-in-side-window): Fix doc-string
2281 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2283 * vc/vc-git.el: Silence byte-compiler warnings.
2284 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2285 (log-edit-set-header): Declare.
2287 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2289 * Makefile.in (custom-deps, finder-data): Run output file names
2290 through unmsys--file-name. (Bug#16099)
2292 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2294 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2295 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2297 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2298 instead of deleting the selection "by hand" (bug#16098).
2299 Rely on insert-for-yank to yank rectangles.
2300 (cua-highlight-region-shift-only): Mark obsolete.
2301 (cua-mode): Don't enable/disable transient-mark-mode,
2302 shift-select-mode (cua-mode works both with and without them), and
2303 pc-selection-mode (obsolete).
2304 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2305 (cua--deactivate-rectangle): Deactivate it.
2307 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2308 (delete-selection-helper): Make sure yank starts at the top of the
2310 (minibuffer-keyboard-quit): Use region-active-p.
2312 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2314 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2315 to `delete' (bug#16109).
2317 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2319 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2320 info manual and show keybindings and set `:group' keyword.
2322 2013-12-11 Juri Linkov <juri@jurta.org>
2324 * delsel.el (delete-active-region): Let-bind `this-command'
2325 to prevent `kill-region' from changing its original value.
2326 (delete-selection-helper): Handle `overwrite-mode' for the type
2327 `kill' exactly the same way as for the type `t'.
2328 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2329 Support more commands. (Bug#13312)
2331 2013-12-11 Juri Linkov <juri@jurta.org>
2333 * bindings.el: Map kp keys to non-kp keys systematically
2334 with basic modifiers control, meta and shift. (Bug#14397)
2336 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2338 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2339 "Close browser" menu items. Fix wrong function of "List
2342 2013-12-11 Juri Linkov <juri@jurta.org>
2344 * misearch.el (multi-isearch-buffers): Set the value of
2345 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2346 arg of isearch-forward to t.
2347 (multi-isearch-buffers-regexp): Set the value of
2348 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2349 arg of isearch-forward-regexp to t.
2350 (multi-isearch-files): Set the value of
2351 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2352 arg of isearch-forward to t.
2353 (multi-isearch-files-regexp): Set the value of
2354 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2355 arg of isearch-forward-regexp to t. (Bug#16035)
2357 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2358 arg of isearch-forward to t.
2359 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2360 arg of isearch-forward-regexp to t.
2361 (dired-isearch-filter-filenames): Remove unnecessary check for
2362 `dired-isearch-filenames'.
2364 * comint.el (comint-history-isearch-backward):
2365 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2366 (comint-history-isearch-backward-regexp):
2367 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2369 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2371 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2372 unmsys--file-name. (Bug#16099)
2374 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2376 * emacs-lisp/package.el (package-keyword-button-action):
2377 Remove finder.el require dependency.
2379 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2381 * emacs-lisp/package.el: Require finder.el.
2382 (describe-package-1): Add keyword buttons.
2383 (package-make-button): New convenience function.
2384 (package-keyword-button-action): Keyword button action using
2385 `finder-list-matches'.
2387 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2389 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2392 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2394 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2397 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2399 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2400 after the end of a percent literal.
2402 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2404 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2405 Handle caret-delimited strings (Bug#16079).
2407 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2409 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2410 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2411 `ruby-parse-partial' (Bug#16078).
2413 2013-12-09 Leo Liu <sdl.web@gmail.com>
2415 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2417 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2419 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2420 (js-switch-indent-offset): New option.
2421 (js--proper-indentation): Use it. And handle the case when
2422 "default" is actually a key in an object literal.
2423 (js--same-line): New function.
2424 (js--multi-line-declaration-indentation): Use it.
2425 (js--indent-in-array-comp, js--array-comp-indentation):
2427 (js--proper-indentation): Use them, to handle array comprehension
2430 2013-12-08 Leo Liu <sdl.web@gmail.com>
2432 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2433 (flymake-make-overlay): Remove arg MOUSE-FACE.
2434 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2436 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2438 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2440 (redisplay-highlight-region-function): Use it.
2442 * emulation/cua-base.el (cua--explicit-region-start)
2443 (cua--last-region-shifted): Remove.
2444 (cua--deactivate): Use deactivate-mark.
2445 (cua--pre-command-handler-1): Don't handle shift-selection.
2446 (cua--post-command-handler-1): Don't change transient-mark-mode.
2447 (cua--select-keymaps): Use region-active-p rather than
2448 cua--explicit-region-start or cua--last-region-shifted.
2449 (cua-mode): Enable shift-select-mode.
2451 2013-12-08 Leo Liu <sdl.web@gmail.com>
2453 * progmodes/flymake.el (flymake-popup-current-error-menu):
2454 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2455 (flymake-posn-at-point-as-event, flymake-popup-menu)
2456 (flymake-make-emacs-menu): Remove. (Bug#16077)
2458 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2460 * rect.el (rectangle-mark-mode): Activate mark even if
2461 transient-mark-mode is off (bug#16066).
2462 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2463 is > mark and at bolp.
2465 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2466 (region-extract-function): Use it.
2467 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2468 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2470 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2471 kill-ring-save, kill-region, delete-char, delete-forward-char.
2472 Ignore self-insert-iso.
2474 * emulation/cua-gmrk.el (cua--init-global-mark):
2475 Ignore `self-insert-iso'.
2477 * emulation/cua-base.el (cua--prefix-copy-handler)
2478 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2479 checking cua--rectangle.
2480 (cua-delete-region): Use region-extract-function.
2481 (cua-replace-region): Delete function.
2482 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2483 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2484 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2485 (cua--init-keymaps): Don't remap delete-selection commands.
2486 (cua-mode): Use delete-selection-mode instead of rolling our own
2489 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2490 Obey region-extract-function.
2492 Make registers and delete-selection-mode work on rectangles.
2493 * register.el (describe-register-1): Don't modify the register's value.
2494 (copy-to-register): Obey region-extract-function.
2495 * delsel.el (delete-active-region): Obey region-extract-function.
2497 2013-12-08 Leo Liu <sdl.web@gmail.com>
2499 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2500 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2501 (flymake-compilation-prevents-syntax-check)
2502 (flymake-start-syntax-check-on-newline)
2503 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2504 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2505 (flymake-xml-program, flymake-master-file-dirs)
2506 (flymake-master-file-count-limit)
2507 (flymake-allowed-file-name-masks): Relocate.
2508 (flymake-makehash, flymake-float-time)
2509 (flymake-replace-regexp-in-string, flymake-split-string)
2510 (flymake-get-temp-dir): Remove.
2511 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2512 (flymake-current-row, flymake-selected-frame)
2513 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2514 related functions. (Bug#16077)
2516 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2518 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2520 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2522 * help-fns.el (describe-function-1): Use new advice-* functions
2523 rather than old ad-* functions. Fix function type description and
2524 source links for advised functions and subrs.
2526 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2528 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2530 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2532 * progmodes/compile.el (compilation-start):
2533 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2535 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2536 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2538 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2540 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2541 Touch up the last change.
2543 2013-12-06 Leo Liu <sdl.web@gmail.com>
2545 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2546 (inferior-octave-startup): Always use "octave> " for prompt.
2547 (octave-goto-function-definition)
2548 (octave-sync-function-file-names)
2549 (octave-find-definition-default-filename): Remove redundant backquotes.
2551 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2553 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2555 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2556 where appropriate already.
2557 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2558 end of method names (Bug#15874).
2560 2013-12-06 Juri Linkov <juri@jurta.org>
2562 * isearch.el (isearch--saved-overriding-local-map):
2563 New internal variable.
2564 (isearch-mode): Set it to the initial value of
2565 `overriding-terminal-local-map'.
2566 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2567 with `isearch--saved-overriding-local-map'. (Bug#16035)
2569 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2571 * progmodes/octave.el (inferior-octave-completion-table):
2572 Turn back into function, use `completion-table-with-cache'
2573 (Bug#11906). Update all references.
2575 * minibuffer.el (completion-table-with-cache): New function.
2577 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2579 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2581 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2583 * net/eww.el (eww-current-source): New variable to store page
2585 (eww-display-html, eww-mode, eww-save-history)
2586 (eww-restore-history): Use it.
2587 (eww-view-source): New command to view page source.
2588 Opportunistically uses `html-mode' to highlight the buffer.
2589 (eww-mode-map): Install it.
2591 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2593 * net/dbus.el (dbus-unregister-service)
2594 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2596 (dbus-unregister-service): Skip :serial entries in
2597 `dbus-registered-objects-table'.
2598 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2600 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2602 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2603 around keywords with extra `split-string' argument.
2605 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2607 * windmove.el (windmove-other-window-loc): Handle navigation
2608 between windows (excluding the minibuffer window - Bug#16017).
2610 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2612 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2613 in D-Bus type syntax.
2614 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2615 preserve unibyte strings. (Bug#16048)
2617 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2619 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2620 Call force-mode-line-update is the proper buffer (bug#16042).
2622 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2624 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2625 `log-edit-remember-comment', make argument optional. Adjust all
2627 (log-edit-mode): Add `log-edit-remember-comment' to
2628 `kill-buffer-hook' locally.
2629 (log-edit-kill-buffer): Don't remember comment explicitly since
2630 the buffer is killed anyway.
2632 2013-12-04 Juri Linkov <juri@jurta.org>
2634 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2635 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2637 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2639 * notifications.el (notifications-close-notification): Call the
2640 D-Bus method with ID being a `:uint32'. (Bug#16030)
2642 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2644 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2646 2013-12-03 Juri Linkov <juri@jurta.org>
2648 * progmodes/compile.el (compilation-start): Rename window alist
2649 entry `no-display-ok' to `allow-no-window'.
2651 * simple.el (shell-command): Add window alist entry
2652 `allow-no-window' to `display-buffer'.
2653 (async-shell-command): Doc fix.
2655 * window.el (display-buffer-no-window): New action function.
2656 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2658 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2660 * vc/log-edit.el (log-edit-set-header): Extract from
2661 `log-edit-toggle-header'.
2662 (log-edit-extract-headers): Separate the summary, when extracted
2663 from header, from the rest of the message with an empty line.
2665 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2666 line, if present, to the Summary header.
2668 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2670 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2671 in current-buffer (bug#16029).
2673 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2675 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2676 (debugger-mode-map): Bind it.
2677 (debugger--backtrace-base): New function.
2678 (debugger-eval-expression): Use it.
2679 (debugger-frame-number): Skip local vars when present.
2680 (debugger--locals-visible-p, debugger--insert-locals)
2681 (debugger--show-locals, debugger--hide-locals): New functions.
2683 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2685 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2687 (tramp-get-remote-locale): New defun.
2688 (tramp-open-connection-setup-interactive-shell): Use it.
2690 2013-12-02 Leo Liu <sdl.web@gmail.com>
2692 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2694 * progmodes/sh-script.el (sh-shell-process):
2695 * progmodes/octave.el (inferior-octave-process-live-p):
2696 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2697 (gdb-inferior-io-sentinel):
2698 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2700 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2702 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2703 `save-selected-window' to `log-edit-hide-buf'. This makes
2704 `log-edit-show-files' idempotent.
2705 (log-edit-show-files): Mark the new window as dedicated.
2707 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2709 * vc/log-edit.el (log-edit-mode-map): Add binding for
2710 `log-edit-kill-biffer'.
2711 (log-edit-hide-buf): Add a FIXME comment.
2712 (log-edit-add-new-comment): New function, extracted from
2714 (log-edit-done, log-edit-add-to-changelog): Use it.
2715 (log-edit-kill-buffer): New command.
2717 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2719 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2720 instead of killing the buffer.
2722 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2724 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2726 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2728 * net/eww.el (eww-form-checkbox-selected-symbol)
2729 (eww-form-checkbox-symbol): New customizable variable.
2730 (eww-form-checkbox, eww-toggle-checkbox):
2731 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2733 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2734 (shr--get-media-pref, shr--extract-best-source): New function.
2735 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2736 no :src tag was specified.
2738 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2739 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2740 Use \\` to match beginning of string instead of ^.
2741 (eww-browse-with-external-browser): Provide optional URL parameter.
2742 (eww-render): Set `eww-current-title' back to "".
2744 * net/shr.el (shr-tag-video): Display content for video if no
2745 poster is available.
2746 (shr-tag-audio): Add support for <audio> tag.
2748 * net/eww.el (eww-text-input-types): New const.
2749 (eww-process-text-input): Treat input types in
2750 `eww-text-input-types' as text.
2752 * net/shr.el (shr-tag-table): Fix comment typo.
2754 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2756 * net/eww.el (eww-follow-link): New command to avoid reloading
2757 pages when we follow #target links (bug#15243).
2758 (eww-quit): Special mode buffers shouldn't query before exiting.
2760 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2762 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2765 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2767 * net/eww.el (eww-restore-history): Update the window title after
2768 moving in the history.
2769 (eww-current-dom): New variable used to save the current DOM.
2771 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2773 * vc/log-edit.el (log-edit-mode-map): Add binding for
2774 `log-edit-beginning-of-line'.
2775 (log-edit-setup-add-author): New user option.
2776 (log-edit-beginning-of-line): New command.
2777 (log-edit): Move major mode call above the contents setup so that
2778 the local variable values are already applied.
2779 (log-edit): Only insert "Author: " when
2780 `log-edit-setup-add-author' is non-nil.
2781 (log-edit): When SETUP is non-nil, position point after ": "
2782 instead of point-min.
2784 2013-12-01 Glenn Morris <rgm@gnu.org>
2786 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2788 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2790 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2791 redisplay to make sure the initial frame gets a chance to become
2792 visible. (Bug#16014)
2794 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2796 Support resizing frames and windows pixelwise.
2797 * cus-start.el (frame-resize-pixelwise)
2798 (window-resize-pixelwise): New entries.
2799 * emacs-lisp/debug.el (debug): Use window-total-height instead
2800 of window-total-size.
2801 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2802 * help.el (describe-bindings-internal): Call help-buffer
2803 (temp-buffer-max-width): New option.
2804 (resize-temp-buffer-window, help-window-setup)
2805 (with-help-window): Rewrite.
2806 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2808 * window.el (frame-char-size, window-min-pixel-height)
2809 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2810 (window-min-pixel-width, window-safe-min-pixel-size)
2811 (window-combination-p, window-safe-min-size)
2812 (window-resizable-p, window--size-to-pixel)
2813 (window--pixel-to-size, window--resize-apply-p): New functions.
2814 (window-safe-min-height): Fix doc-string.
2815 (window-size, window-min-size, window--min-size-1)
2816 (window-sizable, window-sizable-p, window--min-delta-1)
2817 (window-min-delta, window--max-delta-1, window-max-delta)
2818 (window--resizable, window--resizable-p, window-resizable)
2819 (window-full-height-p, window-full-width-p, window-at-side-p)
2820 (window--in-direction-2, window-in-direction)
2821 (window--resize-reset-1, window--resize-mini-window)
2822 (window-resize, window-resize-no-error)
2823 (window--resize-child-windows-normal)
2824 (window--resize-child-windows, window--resize-siblings)
2825 (window--resize-this-window, window--resize-root-window)
2826 (window--resize-root-window-vertically)
2827 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2828 (maximize-window, minimize-window, delete-window)
2829 (quit-restore-window, window-split-min-size, split-window)
2830 (balance-windows-2, balance-windows)
2831 (balance-windows-area-adjust, balance-windows-area)
2832 (window--state-get-1, window-state-get, window--state-put-1)
2833 (window--state-put-2, window-state-put)
2834 (display-buffer-record-window, window--display-buffer):
2835 Make functions handle pixelwise sizing of windows.
2836 (display-buffer--action-function-custom-type)
2837 (display-buffer-fallback-action):
2838 Add display-buffer-in-previous-window.
2839 (display-buffer-use-some-window): Resize window to height it had
2841 (fit-window-to-buffer-horizontally): New option.
2842 (fit-frame-to-buffer): Describe new values.
2843 (fit-frame-to-buffer-bottom-margin): Replace with
2844 fit-frame-to-buffer-margins.
2845 (window--sanitize-margin): New function.
2846 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2847 using window-text-pixel-size.
2849 2013-11-30 Glenn Morris <rgm@gnu.org>
2851 * emacs-lisp/bytecomp.el (byte-compile-form):
2852 Make the `interactive-only' warning like the `obsolete' one.
2853 * comint.el (comint-run):
2854 * files.el (insert-file-literally, insert-file):
2855 * replace.el (replace-string, replace-regexp):
2856 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2857 (goto-line, insert-buffer, next-line, previous-line):
2858 Tweak `interactive-only' spec.
2860 Stop keeping (most) generated cedet grammar files in the repository.
2861 * Makefile.in (semantic): New.
2862 (compile-main): Depend on semantic.
2864 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2867 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2869 * uniquify.el (uniquify-buffer-name-style): Change default.
2871 * loadup.el: Preload "uniquify".
2873 * time.el (display-time-update): Update all mode lines (bug#15999).
2875 * electric.el (electric-indent-mode): Enable by default.
2876 * loadup.el: Preload "electric".
2878 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2880 * emacs-lisp/helpers.el (string-empty-p): New function.
2881 (string-blank-p): New function.
2883 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2885 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2888 2013-11-29 Andreas Politz <politza@fh-trier.de>
2889 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2890 allow non-lambda lists as functions.
2891 (imenu--in-alist): Don't recurse into non-subalists.
2892 (imenu): Don't pass function itself as an argument (Bug#14029).
2894 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2896 * progmodes/python.el (python-mode-map): Remove binding for ":".
2897 (python-indent-electric-colon): Remove command.
2898 (python-indent-post-self-insert-function): Integrate the previous code
2899 of python-indent-electric-colon. Make it conditional on
2900 electric-indent-mode.
2901 (python-mode): Add ?: to electric-indent-chars.
2902 Move python-indent-post-self-insert-function to the end of
2903 post-self-insert-hook.
2905 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2907 * doc-view.el (doc-view-goto-page): Update mode-line.
2909 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2911 2013-11-27 Glenn Morris <rgm@gnu.org>
2913 * international/charprop.el, international/uni-bidi.el:
2914 * international/uni-category.el, international/uni-combining.el:
2915 * international/uni-comment.el, international/uni-decimal.el:
2916 * international/uni-decomposition.el, international/uni-digit.el:
2917 * international/uni-lowercase.el, international/uni-mirrored.el:
2918 * international/uni-name.el, international/uni-numeric.el:
2919 * international/uni-old-name.el, international/uni-titlecase.el:
2920 * international/uni-uppercase.el:
2921 Remove generated files from VCS repository.
2923 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2925 * filenotify.el (file-notify-add-watch): Don't special-case
2926 w32notify when computing the directory to watch.
2928 2013-11-27 Glenn Morris <rgm@gnu.org>
2930 Make bootstrap without generated uni-*.el files possible again.
2931 * loadup.el: Update command-line-args checking for unidata-gen.
2932 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2933 * composite.el, international/characters.el:
2934 Handle unicode tables being undefined.
2936 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2937 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2938 (compile-main): Depend on leim rule.
2940 * loadup.el: Move leim-list.el to leim/ subdirectory.
2941 * startup.el (normal-top-level): No more leim directory.
2942 * international/ja-dic-cnv.el (skkdic-convert):
2943 Disable version-control and autoloads in output files.
2944 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2945 Disable version-control and autoloads in output files.
2946 * leim/quail: Move here from ../leim.
2947 * leim/quail/hangul.el (hangul-input-method-activate):
2948 Add autoload cookie.
2949 (generated-autoload-load-name): Set file-local value.
2950 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2951 (generated-autoload-load-name): Set file-local value.
2953 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2955 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2956 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2957 (eww-quit): Ask confirmation before quitting eww.
2959 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2961 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2962 reading output from Diff on MS-Windows and MS-DOS.
2964 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2966 * emacs-lisp/helpers.el (string-reverse): New function.
2968 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2970 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2971 names on MS Windows, like "/[::1]:".
2973 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2976 2013-11-26 Glenn Morris <rgm@gnu.org>
2978 * progmodes/python.el (python-indent-guess-indent-offset):
2979 Avoid corner-case error. (Bug#15975)
2981 Preload leim-list.el. (Bug#4789)
2982 * loadup.el: Load leim-list.el when found.
2983 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2985 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2987 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2989 * emacs-lisp/helpers.el (string-join): New function.
2991 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2993 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2994 Mark as obsolete and replace it with a symbol property.
2995 (byte-compile-form): Use new 'interactive-only property.
2996 * comint.el, files.el, replace.el, simple.el:
2997 Apply new 'interactive-only properly.
2999 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3001 * window.el (display-buffer-at-bottom): Make sure that
3002 split-window-sensibly creates the new window on bottom
3005 2013-11-23 David Kastrup <dak@gnu.org>
3007 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3008 on the conflict markers when available.
3009 (smerge--get-marker): New function.
3010 (smerge-end-re, smerge-base-re): Add subgroup.
3012 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3014 * frame.el (handle-focus-in, handle-focus-out): Add missing
3017 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3019 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3020 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3022 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3025 (gomoku--last-pos): New var.
3026 (gomoku--intangible-chars): New const.
3027 (gomoku--intangible): New function.
3028 (gomoku-mode): Use it. Derive from special-mode.
3029 (gomoku-move-up): Adjust line count.
3030 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3031 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3032 Simplify accordingly.
3034 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3035 Remove blink-cursor code.
3036 (blink-cursor-timer-function, blink-cursor-suspend):
3037 Don't special-case GUIs.
3038 (blink-cursor-mode): Use focus-in/out-hook.
3040 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3042 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3043 work when annotation is invisible (Bug#13886).
3045 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3047 * json.el (json-alist-p): Only return non-nil if the alist has
3048 simple keys (Bug#13518).
3050 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3052 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3053 when control-statement is the first statement in a buffer (Bug#15956).
3055 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3057 * imenu.el (imenu-generic-skip-comments-and-strings):
3058 New option (Bug#15560).
3059 (imenu--generic-function): Use it.
3061 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3063 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3066 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3068 * emacs-lisp/helpers.el: Add some string helpers.
3069 (string-trim-left): Removes leading whitespace.
3070 (string-trim-right): Removes trailing whitespace.
3071 (string-trim): Removes leading and trailing whitespace.
3073 * subr.el (string-suffix-p): New function.
3075 2013-11-23 Glenn Morris <rgm@gnu.org>
3077 * progmodes/python.el (python-shell-send-file):
3078 Add option to delete file when done. (Bug#15647)
3079 (python-shell-send-string, python-shell-send-region): Use it.
3081 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3083 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3084 to set buffer-read-only to t, never to nil. (Bug#15938)
3086 * textmodes/tex-mode.el (latex-noindent-environments):
3087 Add safe-local-variable property. (Bug#15936)
3089 2013-11-23 Glenn Morris <rgm@gnu.org>
3091 * textmodes/enriched.el (enriched-mode): Doc fix.
3092 * emacs-lisp/authors.el (authors-renamed-files-alist):
3093 Add enriched.doc -> enriched.txt.
3095 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3097 2013-11-22 Leo Liu <sdl.web@gmail.com>
3099 * progmodes/octave.el (inferior-octave-startup): Spit out error
3102 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3104 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3107 (ruby-encoding-magic-comment-style): Add :version.
3109 2013-11-22 Leo Liu <sdl.web@gmail.com>
3111 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3113 (octave-help-mode): Adapt to change to help-mode-finish to use
3114 derived-mode-p on 2013-09-17.
3115 (inferior-octave-prompt): Also match octave-gui.
3116 (octave-kill-process): Don't ask twice. (Bug#10564)
3118 2013-11-22 Leo Liu <sdl.web@gmail.com>
3120 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3121 (inferior-octave-startup, inferior-octave-check-process)
3122 (inferior-octave-track-window-width-change)
3123 (octave-completion-at-point, octave-eldoc-function): Use it.
3124 (octave-kill-process): Provide confirmation. (Bug#10564)
3126 2013-11-21 Leo Liu <sdl.web@gmail.com>
3128 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3129 Fix obsolete variable comment-use-global-state.
3131 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3133 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3134 Add `octave-source-file'.
3135 (octave-source-file): New function. (Bug#15935)
3137 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3139 * net/eww.el (eww-local-regex): New variable.
3140 (eww): Use it to detect localhost and similar.
3142 2013-11-21 Leo Liu <sdl.web@gmail.com>
3144 Add completion for command `ag'.
3145 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3146 (pcomplete/ag): New function.
3147 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3149 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3151 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3153 (make-obsolete): Remove interactive spec.
3155 2013-11-21 Glenn Morris <rgm@gnu.org>
3157 * startup.el (command-line-1): Use path-separator with -L.
3159 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3161 * emacs-lisp/package.el (describe-package-1): Add package archive
3164 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3166 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3167 Change default to "# encoding: %s" to differentiate it from the
3168 default Ruby encoding comment template.
3170 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3172 * ses.el (ses-mode): Doc fix. (Bug#14748)
3174 2013-11-20 Leo Liu <sdl.web@gmail.com>
3176 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3178 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3180 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3181 when rebase or bisect are in progress.
3183 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3185 * filenotify.el (file-notify-add-watch): Doc fix.
3187 2013-11-19 Leo Liu <sdl.web@gmail.com>
3189 * obsolete/rcompile.el: Mark obsolete.
3191 * progmodes/compile.el (compilation-start)
3192 (compilation-goto-locus, compilation-find-file):
3193 Pass no-display-ok and handle nil value from display-buffer.
3196 * window.el (display-buffer-alist, display-buffer): Document the
3197 new parameter no-display-ok. Return either a window or nil
3198 but never a non-window value.
3200 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3202 * electric.el (electric-indent-mode-map): Remove.
3203 (electric-indent-mode): Change the global-map instead (bug#15915).
3205 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3208 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * emacs-lisp/nadvice.el (remove-function): Align with
3211 add-function's behavior.
3213 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3214 (gdb--string-regexp): New constant.
3215 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3216 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3217 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3219 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3220 Adjust use accordingly.
3221 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3223 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3225 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3226 interpolation curlies (Bug#15914).
3228 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3230 * calc/calc.el (calc-context-sensitive-enter): New variable.
3231 (calc-enter): Use `calc-context-sensitive-enter'.
3233 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3235 * progmodes/cfengine.el: Version bump.
3236 (cfengine-cf-promises): New defcustom to locate cf-promises.
3237 (cfengine3-vartypes): Add new "data" type.
3238 (cfengine3--current-word): New function to get current name-like
3240 (cfengine3--current-function): New function to look up a CFEngine
3241 function's definition.
3242 (cfengine3-format-function-docstring): New function.
3243 (cfengine3-make-syntax-cache): New function.
3244 (cfengine3-documentation-function): New function: ElDoc glue.
3245 (cfengine3-completion-function): New function: completion glue.
3246 (cfengine3-mode): Set `compile-command',
3247 `eldoc-documentation-function', and add to
3248 `completion-at-point-functions'.
3250 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3252 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3253 `tramp-current-connection'.
3255 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3257 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3258 nil/self/true/false with "end of symbol".
3260 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3262 * subr.el (version-regexp-alist): Fix a typo.
3264 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3266 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3267 "en_US.utf8" and "LC_CTYPE" to "".
3268 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3269 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3271 2013-11-15 Leo Liu <sdl.web@gmail.com>
3273 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3275 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3277 * progmodes/gud.el (ctl-x-map):
3278 Remove C-x SPC binding. (Bug#12342)
3279 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3281 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3283 * subr.el (version-regexp-alist):
3284 Recognize hg, svn and darcs versions as snapshot versions.
3286 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3287 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3288 (ruby--encoding-comment-required-p): Extract from
3289 `ruby-mode-set-encoding'.
3290 (ruby-mode-set-encoding): Add the ability to always insert an
3291 utf-8 encoding comment. Fix and simplify coding comment update
3294 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3296 * net/tramp-gvfs.el (top): Run init code only when
3297 `tramp-gvfs-enabled' is not nil.
3298 (tramp-gvfs-enabled): Check also :system bus.
3300 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3302 Sync with upstream verilog-mode revision 78e66ba.
3303 * progmodes/verilog-mode.el (verilog-end-of-defun)
3304 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3305 (verilog-get-end-of-defun): Remove unused argument.
3306 (verilog-comment-depth): Remove unused local `e'.
3307 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3308 Don't pass arg to verilog-get-end-of-defun.
3310 2013-11-14 Glenn Morris <rgm@gnu.org>
3312 * obsolete/assoc.el (aget): Prefix dynamic variable.
3314 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3316 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3318 * widget.el, hfy-cmap.el: Remove bogus package version number.
3320 2013-11-13 Glenn Morris <rgm@gnu.org>
3322 * replace.el (replace-eval-replacement):
3323 Try to give more helpful error message. (Bug#15836)
3325 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3326 (archive-7z-update): Avoid custom type mismatches.
3328 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3330 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3332 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3333 address can be empty.
3335 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3336 Accept nil SWITCHES.
3337 (tramp-gvfs-handle-write-region): Implement APPEND.
3339 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3341 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3342 binary "|" operator and closing block args delimiter.
3343 Remove FIXME comment referring to Ruby 1.8-only syntax.
3344 (ruby-smie--implicit-semi-p): Not after "|" operator.
3345 (ruby-smie--closing-pipe-p): New function.
3346 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3347 (ruby-smie-rules): Indent after "|".
3349 2013-11-12 Glenn Morris <rgm@gnu.org>
3351 * ps-print.el (ps-face-attribute-list):
3352 Handle anonymous faces. (Bug#15827)
3354 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3356 * window.el (display-buffer-other-frame): Fix doc-string.
3359 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3361 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3363 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3365 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3366 (tramp-sh-handle-file-local-copy): Don't write a message when
3367 saving temporary files.
3369 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3370 both directories are remote.
3371 (tramp-smb-handle-directory-files): Do not return double entries.
3372 Do not expand full file names.
3373 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3374 (tramp-smb-handle-write-region): Implement APPEND.
3375 (tramp-smb-get-stat-capability): Fix a stupid bug.
3377 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3379 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3381 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3383 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3384 throwing error over malformed let/let* (bug#15814).
3386 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3388 * iswitchb.el (iswitchb-mode): Mark obsolete.
3390 2013-11-11 Glenn Morris <rgm@gnu.org>
3392 * international/uni-bidi.el, international/uni-category.el:
3393 * international/uni-name.el, international/uni-numeric.el:
3394 Regenerate for Unicode 6.3.0.
3396 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3398 * net/tramp.el (tramp-methods):
3399 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3400 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3402 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3404 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3405 Force highlighting text after Summary keyword in doc face for rpm.
3407 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3409 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3410 available and the word has no wildcards, append one to the grep pattern.
3411 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3412 (ispell-complete-word): Call `ispell-lookup-words' with the value
3413 independent of `ispell-look-p'.
3415 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3417 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3419 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3422 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3424 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3425 (ruby-font-lock-keywords): Use backquote.
3427 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3429 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3430 (ruby-smie--backward-token): Only consider full-string matches.
3432 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3434 * faces.el (describe-face): Add distant-foreground.
3436 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3438 * progmodes/ruby-mode.el: Improve encoding comment handling.
3439 (ruby-encoding-magic-comment-style): New option.
3440 (ruby-custom-encoding-magic-comment-template): New option.
3441 (ruby--insert-coding-comment, ruby--detect-encoding):
3442 New functions extracted from `ruby-mode-set-encoding'.
3443 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3444 to control the style of the auto-inserted encoding comment.
3446 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3448 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3449 Use `smie-backward-sexp' with token argument.
3451 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3453 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3454 Remove instrumentation code.
3456 2013-11-08 Glenn Morris <rgm@gnu.org>
3458 * progmodes/autoconf.el (autoconf-mode):
3459 Tweak comment-start-skip. (Bug#15822)
3461 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3463 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3464 at bobp (bug#15826).
3465 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3467 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3469 * man.el (Man-start-calling): New macro, extracted from
3470 Man-getpage-in-background.
3471 (Man-getpage-in-background): Use it.
3472 (Man-update-manpage): New command.
3473 (Man-mode-map): Bind it.
3475 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3477 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3478 of "and", "or", "&&" and "||".
3479 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3480 argument. Prohibit opening curly brace because it could only be a
3481 block opener in that position.
3482 (ruby-smie--forward-token, ruby-smie--backward-token):
3483 Separate "|" from "&" or "*" going after it. That can happen in block
3485 (ruby-smie--indent-to-stmt): New function, seeks the end of
3486 previous statement or beginning of buffer.
3487 (ruby-smie-rules): Use it.
3488 (ruby-smie-rules): Check if there's a ":" before a curly block
3489 opener candidate; if there is, it's a hash.
3491 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3493 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3494 (cl--block-wrapper): Fix last accidental change.
3496 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3498 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3499 Instrument, in order to hunt failure on hydra.
3501 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3503 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3504 malformed bindings form (bug#15814).
3506 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3508 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3509 "." compared to " @ ". This incidentally fixes some indentation
3511 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3512 (ruby-smie-grammar): New tokens: "and" and "or".
3513 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3514 Exclude "and" and "or". Remove "do" in order to work around token
3516 (ruby-smie-rules): Add all infix tokens. Handle the case of
3517 beginning-of-buffer.
3519 2013-11-06 Glenn Morris <rgm@gnu.org>
3521 * Makefile.in (setwins_almost, setwins_for_subdirs):
3522 Avoid accidental matches.
3524 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3526 * menu-bar.el (popup-menu): Use key-binding.
3528 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3530 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3531 menus, support also the menus produced by minor modes.
3534 2013-11-06 Leo Liu <sdl.web@gmail.com>
3536 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3537 DISTANCE to bound the search. All uses changed. (Bug#15808)
3539 2013-11-06 Glenn Morris <rgm@gnu.org>
3541 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3542 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3543 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3545 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3547 * electric.el (electric-indent-just-newline): New command.
3548 (electric-indent-mode-map): New keymap.
3549 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3550 Re-add :group which weren't redundant.
3552 * electric.el (electric-indent-local-mode): New minor mode.
3553 (electric-indent-functions-without-reindent): New var.
3554 (electric-indent-post-self-insert-function): Use it.
3555 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3557 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3559 * international/quail.el (quail-help): Be more explicit about the
3560 meaning of the labels shown on the keys. (Bug#15800)
3562 * startup.el (normal-top-level): Load the subdirs.el files before
3563 setting the locale environment. (Bug#15805)
3565 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3567 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3568 via arguments so as to get the right ones (bug#15418).
3570 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3572 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3574 Fix problems found while writing a test suite.
3576 * net/tramp-compat.el (tramp-compat-load): New defun.
3577 * net/tramp.el (tramp-handle-load): Use it.
3579 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3580 "(numberp ok-if-already-exists)" correctly.
3582 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3584 * international/characters.el (glyphless-char-display-control):
3587 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3589 * progmodes/python.el (python-mode):
3590 * progmodes/scheme.el (scheme-mode):
3591 * progmodes/prolog.el (prolog-mode):
3592 * progmodes/ruby-mode.el (ruby-mode):
3593 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3594 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3596 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3598 * rect.el (rectangle--highlight-for-redisplay):
3599 * emacs-lisp/smie.el (smie--next-indent-change):
3600 Use buffer-chars-modified-tick.
3602 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3604 * electric.el (electric-indent-post-self-insert-function):
3605 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3607 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3609 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3611 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3613 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3616 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3618 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3620 * progmodes/python.el: Fix up last change.
3621 (python-shell--save-temp-file): New function.
3622 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3623 `string' comes from the current buffer.
3624 (python-shell-send-string-no-output): Remove `msg' arg.
3625 (python--use-fake-loc): New var.
3626 (python-shell-buffer-substring): Obey it. Try to compensate for the
3627 extra coding line added by python-shell--save-temp-file.
3628 (python-shell-send-region): Use python-shell--save-temp-file and
3629 python-shell-send-file directly. Add `nomain' argument.
3630 (python-shell-send-buffer): Use python-shell-send-region.
3631 (python-electric-pair-string-delimiter): New function.
3632 (python-mode): Use it.
3634 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3636 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3637 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3638 environment and decoding all of the default-directory's to here
3640 (command-line): Decode also argv[0].
3642 * loadup.el: Error out if default-directory is a multibyte string
3643 when we are dumping.
3645 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3647 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3649 * emacs-lisp/package.el (package-menu-mode)
3650 (package-menu--print-info, package-menu--archive-predicate):
3651 Add Archive column to package list.
3653 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3655 Fix problems found while writing a test suite.
3657 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3658 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3659 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3660 to nil when running original file name handler. Otherwise,
3661 there are problems with constructs like "$$FOO".
3663 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3666 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3668 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3670 * subr.el (version<, version<=, version=):
3671 Update docstrings with information for snapshot versions.
3673 * helpers.el: New library for misc helper functions.
3674 (hash-table-keys): New function returning a list of hash keys.
3675 (hash-table-values): New function returning a list of hash values.
3677 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3679 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3680 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3682 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3684 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3685 checking whether point is after a 1-letter word.
3687 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3689 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3690 Don't infloop when expanding region over `multiline' syntax-type that
3691 begins a line (bug#15778).
3693 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3695 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3696 Make it into a proper minor mode.
3697 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3698 (rectangle-mark-mode-map): New keymap.
3699 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3701 2013-11-04 Glenn Morris <rgm@gnu.org>
3703 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3705 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3707 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3708 (ruby-smie-rules): Use smie-rule-parent instead.
3710 * emacs-lisp/smie.el (smie-rule-parent): Always call
3711 smie-indent-virtual rather than only for hanging tokens.
3712 (smie--next-indent-change): New helper command.
3714 2013-11-03 Glenn Morris <rgm@gnu.org>
3716 * Makefile.in (abs_srcdir): Remove.
3717 (emacs): Unset EMACSLOADPATH.
3719 2013-11-02 Glenn Morris <rgm@gnu.org>
3721 * Makefile.in (EMACS): Use a relative filename.
3722 (abs_top_builddir): Remove.
3723 (custom-deps, finder-data, autoloads): Use --chdir.
3725 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3727 Use relative filenames in TAGS files.
3728 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3729 (lisptagsfiles4, TAGS): Use relative file names.
3730 (TAGS-LISP): Remove.
3731 (maintainer-clean): No more TAGS-LISP file.
3733 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3734 (lisptagsfiles4): Use absolute filenames again.
3735 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3736 Remove all *loaddefs files, not just the first. Remove esh-groups.
3737 (maintainer-clean): Delete TAGS, TAGS-LISP.
3739 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3741 * emacs-lisp/package.el (package-version-join):
3742 Recognize snapshot versions.
3744 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3746 * subr.el (version-regexp-alist): Add support for snapshot versions.
3748 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3750 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3751 New function, replacement for `smie-rule-parent' for when we want to
3752 skip over our direct parent if it's an assignment token..
3753 (ruby-smie-rules): Use it.
3755 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3757 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3758 unconditionally. Remove now unnecessary forward declarations.
3759 Remove XEmacs-specific setup.
3760 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3761 (ruby-font-lock-syntactic-keywords)
3762 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3763 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3764 (ruby-here-doc-end-syntax): Remove.
3765 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3766 defined as function.
3768 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3770 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3772 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3774 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3775 table and abbrev table, `define-derived-mode' does that for us
3778 2013-11-01 Glenn Morris <rgm@gnu.org>
3780 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3781 files is atomic for some time, so no parallel compilation issues).
3783 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3785 * faces.el (face-x-resources): Add :distant-foreground.
3786 (region): Use :distant-foreground for gtk and ns.
3788 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3790 Allow multiple bibliographies when BibLaTeX is used rather than
3792 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3793 (reftex-locate-bibliography-files): Us it.
3795 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3797 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3798 allow comments in pbm files.
3800 * term/w32-win.el (dynamic-library-alist): Support newer versions
3801 of libjpeg starting with v7: look only for the DLL from the
3802 version against which Emacs was built.
3803 Support versions of libpng beyond 1.4.x.
3804 Support libtiff v4.x.
3806 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3808 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3809 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3811 (ruby-deep-arglist): Add property :type.
3813 2013-10-31 Glenn Morris <rgm@gnu.org>
3815 * Makefile.in (custom-deps, finder-data): No need to setq the target
3816 variables, we are in the right directory and the defaults work fine.
3818 2013-10-30 Glenn Morris <rgm@gnu.org>
3820 * Makefile.in (autoloads): Do not use abs_lisp.
3822 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3823 `newline' does not respect `standard-output', so use `princ'.
3825 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3827 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3828 * buff-menu.el (Buffer-menu--unmark): New function.
3829 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3831 2013-10-30 Glenn Morris <rgm@gnu.org>
3833 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3835 * emacs-lisp/package.el (lm-homepage): Declare.
3837 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3840 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3842 * Makefile.in (finder-data, autoloads, update-subdirs)
3843 (compile-main, compile-clean, compile-always, bootstrap-clean):
3844 Check return value of cd.
3845 (compile-calc): Remove.
3847 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3849 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3851 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3852 (byte-compile-and-folded): New function.
3853 (=, <, >, <=, >=): Use it.
3855 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3856 (path-separator, null-device, buffer-file-coding-system)
3857 (lpr-headers-switches): Check system-type before modifying them.
3858 (find-buffer-file-type-coding-system): Mark obsolete.
3859 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3860 find-file-not-found-set-buffer-file-coding-system.
3861 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3862 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3863 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3864 (w32-direct-print-region-helper, w32-direct-print-region-function)
3865 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3866 * startup.el (normal-top-level-add-subdirs-to-load-path):
3867 * ps-print.el (ps-print-region-function):
3868 * lpr.el (print-region-function): Use new name.
3870 * subr.el (custom-declare-variable-early): Remove function.
3871 (custom-declare-variable-list): Remove var.
3872 (error, user-error): Remove `while' loop.
3873 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3874 (user-emacs-directory-warning, locate-user-emacs-file):
3876 * simple.el (read-quoted-char-radix, read-quoted-char):
3877 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3879 * custom.el (custom-declare-variable-list): Don't process
3880 custom-declare-variable-list.
3882 * progmodes/python.el (python-shell-get-buffer): New function.
3883 (python-shell-get-process): Use it.
3884 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3885 Python which encoding was used. Don't split-string since we only care
3886 about the first line. Return the temp-file, if applicable.
3887 (python-shell-send-region): Tell compile.el how to turn locations in
3888 the temp-file into locations in the source buffer.
3890 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * subr.el (undefined): Add missing behavior from the C code for
3895 * rect.el: Use lexical-binding. Add new rectangular region support.
3896 (rectangle-mark): New command.
3897 (rectangle--region): New var.
3898 (deactivate-mark-hook): Reset rectangle--region.
3899 (rectangle--extract-region, rectangle--insert-for-yank)
3900 (rectangle--highlight-for-redisplay)
3901 (rectangle--unhighlight-for-redisplay): New functions.
3902 (region-extract-function, redisplay-unhighlight-region-function)
3903 (redisplay-highlight-region-function): Use them to handle
3905 * simple.el (region-extract-function): New var.
3906 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3907 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3908 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3909 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3910 (redisplay-unhighlight-region-function)
3911 (redisplay-highlight-region-function): New vars.
3912 (redisplay--update-region-highlight): New function.
3913 (pre-redisplay-function): Use it.
3914 (exchange-point-and-mark): Don't deactivate the mark before
3915 reactivate-it anyway.
3916 * comint.el (comint-kill-region): Remove yank-handler argument.
3917 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3918 (delete-char): Remove property, since it's now part of their
3920 (self-insert-iso): Remove property since this command doesn't exist.
3922 * emacs-lisp/package.el (package--download-one-archive)
3923 (describe-package-1): Don't query the user about final newline.
3925 2013-10-29 Daniel Colascione <dancol@dancol.org>
3927 * net/tramp.el (tramp-methods): Document new functionality.
3928 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3929 tramp-hostname-checker if method provides one instead of scanning
3930 argument list for "%h" to decide hostname acceptability.
3932 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3934 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3935 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3936 Handle COPY-CONTENTS. (Bug#15737)
3938 2013-10-28 Daiki Ueno <ueno@gnu.org>
3941 (epa-file-cache-passphrase-for-symmetric-encryption):
3942 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3944 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3946 * image.el (defimage):
3947 (image-load-path): Doc fixes.
3949 2013-10-27 Alan Mackenzie <acm@muc.de>
3951 Indent statements in macros following "##" correctly.
3952 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3953 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3955 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3957 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3959 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3961 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3962 after `=' is probably a new expression.
3964 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3966 * man.el (man-imenu-title): New option.
3967 (Man-mode-map): Add menu. (Bug#15722)
3968 (Man-mode): Add imenu to menu.
3970 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3972 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3973 specific in what the first arg can be: a non-keyword word,
3974 string/regexp/percent literal opener, opening paren, or unary
3975 operator followed directly by word.
3977 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3980 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3981 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3982 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3983 Remove vars, they do not apply any more.
3984 (prolog-mode-abbrev-table): Remove redundant declaration.
3985 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3986 (prolog-use-smie): Remove.
3987 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3988 supported by prolog-electric-if-then-else-flag.
3989 (prolog-mode-variables, prolog-menu): Use setq-local.
3990 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3991 Remove binding to `Backspace' since this key doesn't exist anyway.
3992 Remove bindings for electric self-inserting keys.
3993 (prog-mode): Assume it's defined.
3994 (prolog-post-self-insert): New function.
3995 (prolog-mode): Use it.
3996 (prolog-indent-line, prolog-indent-level)
3997 (prolog-find-indent-of-matching-paren)
3998 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3999 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4000 (prolog-goto-next-paren, prolog-in-string-or-comment)
4001 (prolog-tokenize, prolog-inside-mline-comment)
4002 (prolog-find-start-of-mline-comment): Remove functions.
4003 (prolog-find-unmatched-paren, prolog-clause-end)
4004 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4005 (prolog-electric--if-then-else): Rename from
4006 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4007 (prolog-tokenize-searchkey): Remove const.
4008 (prolog-clause-info): Use forward-sexp.
4009 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4010 (prolog-electric-if-then-else): Remove commands.
4011 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4012 for use in post-self-insert-hook.
4013 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4014 for use in post-self-insert-hook.
4015 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4016 for use in post-self-insert-hook.
4017 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4018 adapt it for use in post-self-insert-hook.
4020 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4022 * emacs-lisp/ert.el (ert-run-tests-interactively):
4023 Use `completing-read'. (Bug#9756)
4025 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4027 * simple.el (line-move): Call line-move-1 instead of
4028 line-move-visual when the current window hscroll is zero, but
4029 temporary-goal-column indicates we will need to hscroll as result
4030 of the movement. (Bug#15712)
4032 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4034 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4035 capitalization. Use :visible instead of :active.
4036 Fix `ruby-indent-exp' reference. Add menu items for the generic
4037 commands that are used with SMIE.
4038 (ruby-do-end-to-brace): Insert space after `{'.
4040 2013-10-25 John Anthony <john@jo.hnanthony.com>
4042 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4044 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4046 2013-10-25 Glenn Morris <rgm@gnu.org>
4048 * vc/vc.el (vc-print-log): Don't use a working revision unless
4049 one was explicitly specified. (Bug#15322)
4051 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4053 * subr.el (add-to-list): Preserve return value in compiler-macro
4056 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4058 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4059 result. Ask user to retry using '-all' flag. (Bug#15701)
4061 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4063 * emacs-lisp/smie.el: New smie-config system.
4064 (smie-config): New defcustom.
4065 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4066 (smie-config-guess, smie-config-save): New commands.
4067 (smie-config--mode-local, smie-config--buffer-local)
4068 (smie-config--trace, smie-config--modefuns): New vars.
4069 (smie-config--advice, smie-config--mode-hook)
4070 (smie-config--setter, smie-config-local, smie-config--get-trace)
4071 (smie-config--guess-value, smie-config--guess): New functions.
4072 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4073 text properties. Treat "string fence" syntax like string syntax.
4075 * progmodes/sh-script.el (sh-use-smie): Change default.
4076 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4077 (sh-var-value): Simplify by CSE.
4078 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4079 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4081 (sh-guess-basic-offset): Use cl-incf.
4082 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4084 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4086 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4089 2013-10-24 Glenn Morris <rgm@gnu.org>
4091 * Makefile.in (abs_top_srcdir): Remove.
4092 (update-subdirs): Use relative path to update-subdirs.
4094 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4096 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4097 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4098 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4099 Call unmsys--file-name before expand-file-name, not after it.
4101 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4103 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4104 (ert-test-skipped): New error.
4105 (ert-skip, ert-stats-skipped): New defuns.
4106 (ert--skip-unless): New macro.
4107 (ert-test-skipped): New struct.
4108 (ert--run-test-debugger, ert-test-result-type-p)
4109 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4110 (ert--stats-set-test-and-result, ert-char-for-test-result)
4111 (ert-string-for-test-result, ert-run-tests-batch)
4112 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4113 Handle skipped tests. (Bug#9803)
4115 2013-10-24 Glenn Morris <rgm@gnu.org>
4117 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4119 * Makefile.in (abs_top_srcdir): New, set by configure.
4120 (update-subdirs): Correct build-aux location.
4122 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4124 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4125 value, whether we could auto-deduce `backend', or not.
4127 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4128 with parameters" example. Simplify the "is it block or is it
4129 hash" check, but also make it more thorough.
4131 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4133 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4135 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4140 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4143 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4145 * progmodes/compile.el (compilation-directory-matcher)
4146 (compilation-page-delimiter):
4147 Support GNU Make-4.0 directory quoting. (Bug#15678)
4149 2013-10-23 Leo Liu <sdl.web@gmail.com>
4151 * ido.el (ido-tidy): Handle read-only text.
4153 2013-10-23 Glenn Morris <rgm@gnu.org>
4155 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4156 (emacs, compile, compile-always):
4157 Quote entities that might contain whitespace.
4158 (custom-deps, finder-data, autoloads): Use abs_lisp.
4159 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4160 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4161 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4163 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4165 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4166 Use `following-char'.
4168 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4171 * progmodes/ruby-mode.el (ruby-smie-rules):
4172 Remove corresponding workaround. Fix indentation rule of ";" so it
4173 also applies when ";" is the parent.
4175 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4177 * frame.el (display-screens, display-pixel-height)
4178 (display-pixel-width, display-mm-width, display-backing-store)
4179 (display-save-under, display-planes, display-color-cells)
4180 (display-visual-class, display-monitor-attributes-list):
4181 Mention the optional ‘display’ argument in doc strings.
4183 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4185 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4186 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4188 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4190 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4191 TODO. Add "." after " @ ".
4192 (ruby-smie--at-dot-call): New function. Checks if point at method
4193 call with explicit target.
4194 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4195 to the method name tokens when it precedes them.
4196 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4197 (ruby-smie-rules): Add rule for indentation before and after "."
4200 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4202 * textmodes/remember.el (remember-diary-extract-entries):
4205 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4208 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4210 * progmodes/ruby-mode.el (ruby-smie-grammar):
4211 Add (almost) all infix operators.
4212 (ruby-smie--implicit-semi-p): Add new operator chars.
4214 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4216 (ruby-smie--args-separator-p): Check that there's no newline
4217 between method call and its arguments.
4219 2013-10-20 Alan Mackenzie <acm@muc.de>
4221 Allow comma separated lists after Java "implements".
4223 * progmodes/cc-engine.el (c-backward-over-enum-header):
4225 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4226 from a "disallowed" list in enum fontification.
4228 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4230 * startup.el (default-frame-background-mode): Remove unused defvar.
4232 * progmodes/verilog-mode.el (verilog-mode): Don't set
4233 comment-indent-function globally.
4235 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4237 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4238 Move Info menu item creation to ns-win.el.
4240 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4243 * menu-bar.el: Move GNUstep specific menus...
4245 * term/ns-win.el (ns-initialize-window-system): ... to here.
4247 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4249 * simple.el (newline): Only run post-self-insert-hook when
4250 called interactively.
4252 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4254 * icomplete.el (icomplete-with-completion-tables): Add :version.
4256 2013-10-19 Alan Mackenzie <acm@muc.de>
4258 Fix fontification bugs with constructors and const.
4260 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4261 CASE 2) Remove the check for the absence of a suffix construct
4262 after a function declaration with only types (no identifiers) in
4263 the parentheses. Also, accept a function declaration with just a
4264 type inside the parentheses, if this type can be positively
4265 recognised as such, or if a prefix keyword like "explicit" nails
4266 down the construct as a declaration.
4268 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4270 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4271 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4272 the problem whereby selecting a menu item that leads to a
4273 minibuffer prompt moves the cursor out of the minibuffer window,
4274 making it hard to type at the prompt. Suggested by Stefan Monnier
4275 <monnier@iro.umontreal.ca>.
4277 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4279 * menu-bar.el: Don't make Services menu.
4281 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4283 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4284 (ffap-alist): Use ffap-c++-mode for c++-mode.
4285 (ffap-c++-path): New variable.
4286 (ffap-c++-mode): New function.
4288 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4290 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4292 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4294 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4295 introduced on 2013-09-08, which results in an infinite loop
4296 requesting a password.
4298 2013-10-18 Glenn Morris <rgm@gnu.org>
4300 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4302 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4304 Sync with upstream verilog-mode revision 1a6ecec7.
4305 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4306 (verilog-mode-release-date): Remove.
4307 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4308 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4309 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4310 (verilog-auto-tieoff-ignore-regexp)
4311 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4312 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4313 (verilog-signals-with, verilog-dir-cache-preserving)
4314 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4316 (verilog-case-fold): New option, to control case folding in
4317 regexp searches, bug597.
4318 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4319 (verilog-string-match-fold, verilog-in-paren-count)
4320 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4321 (verilog-at-close-struct-p): New functions.
4322 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4323 (verilog-forward-sexp, verilog-set-auto-endcomments):
4324 (verilog-leap-to-case-head): Handle "unique0" case.
4325 (verilog-in-constraint-re): New constant.
4326 (verilog-keywords, verilog-type-font-keywords):
4327 Add some SystemVerilog 1800-2012 keywords.
4328 (verilog-label-be): Remove unimplemented argument, bug669.
4329 (verilog-batch-execute-func): When batch expanding clear
4330 create-lockfiles to prevent spurious user locks when a file ends
4332 (verilog-calculate-indent, verilog-calc-1)
4333 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4334 (verilog-do-indent): Fix indentation of nested constraints
4336 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4337 (verilog-auto-inst-param): Use verilog-string-match-fold.
4338 (verilog-read-inst-module-matcher):
4339 Fix AUTOINST on gate primitives with #1.
4340 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4341 Reads all user-defined typed variables.
4342 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4343 (verilog-signals-matching-regexp)
4344 (verilog-signals-not-matching-regexp, verilog-auto):
4345 Respect verilog-case-fold.
4346 (verilog-diff-report): Fix line count.
4347 (verilog-auto-assign-modport): Remove unused local `modi'.
4348 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4349 better handle multidimensional arrays.
4350 Fix packed array ports misadding bit index in AUTOINST, bug637.
4351 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4352 to not double-declare existing outputs and inputs, respectively.
4353 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4354 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4355 (verilog-sk-uvm-component): New skeleton.
4356 (verilog-submit-bug-report): Add verilog-case-fold,
4357 remove verilog-mode-release-date.
4359 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4361 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4364 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4366 * textmodes/remember.el (remember): Set buffer-offer-save in
4367 remember buffers (bug#13566).
4369 2013-10-18 Daniel Colascione <dancol@dancol.org>
4371 When evaluating forms in ielm, direct standard output to ielm
4372 buffer. Add new ielm-return-for-effect command. Remove trailing
4373 whitespace throughout.
4375 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4376 (ielm-return-for-effect): New command.
4377 (ielm-send-input): Accept optional `for-effect' parameter.
4378 (ielm-eval-input): Accept optional `for-effect' parameter.
4379 Bind `standard-output' to stream we create using
4380 `ielm-standard-output-impl'. Suppress printing result when
4382 (ielm-standard-output-impl): New function.
4383 (inferior-emacs-lisp-mode): Explain new features in documentation.
4385 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4389 * net/tramp.el (tramp-debug-message): Do not check for connection
4391 (tramp-message): Use "vector" connection property.
4393 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4394 (tramp-equal-remote, tramp-eshell-directory-change)
4395 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4396 (tramp-adb-handle-rename-file)
4397 * net/tramp-cmds.el (tramp-list-remote-buffers)
4398 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4399 * net/tramp-compat.el (tramp-compat-process-running-p)
4400 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4401 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4402 (tramp-gvfs-handle-rename-file)
4403 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4404 (tramp-set-file-uid-gid)
4405 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4406 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4409 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4410 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4411 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4412 (tramp-gw-open-network-stream): Suppress unrelated traces.
4414 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4415 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4416 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4417 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4418 connection property.
4420 * net/tramp-cache.el (top): Suppress traces when reading
4423 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4424 Refactor common code. Improve debug message.
4425 (tramp-maybe-open-connection)
4426 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4427 connection buffer too early.
4429 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4430 from `tramp-smb-actions-with-acl'.
4431 (tramp-smb-actions-set-acl): New defconst.
4432 (tramp-smb-handle-copy-directory)
4433 (tramp-smb-action-get-acl): New defun, renamed from
4434 `tramp-smb-action-with-acl'.
4435 (tramp-smb-action-set-acl): New defun.
4436 (tramp-smb-handle-set-file-acl): Rewrite.
4438 2013-10-17 Glenn Morris <rgm@gnu.org>
4440 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4442 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4444 * skeleton.el (skeleton-newline): Remove.
4445 (skeleton-internal-1): Use (insert "\n") instead.
4447 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4450 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4451 forward-sexp-function while we redo its job (bug#15613).
4453 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4455 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4456 represented by lists.
4458 2013-10-16 Glenn Morris <rgm@gnu.org>
4460 * tmm.el (tmm--history): New dynamic variable.
4461 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4463 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4465 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4466 (tramp-smb-errors): Add error messages.
4467 (tramp-smb-actions-with-acl): New defconst.
4468 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4469 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4470 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4471 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4472 (tramp-smb-get-stat-capability): Fix tests.
4474 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4476 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4479 2013-10-16 Glenn Morris <rgm@gnu.org>
4481 * ansi-color.el (ansi-color-drop-regexp):
4482 Add 1J, 1K, 2K. (Bug#15617)
4484 * files.el (hack-local-variables--warned-lexical): New.
4485 (hack-local-variables):
4486 Warn about misplaced lexical-binding. (Bug#15616)
4488 * net/eww.el (eww-render): Always set eww-current-url,
4489 and update header line. (Bug#15622)
4490 (eww-display-html): ... Rather than just doing it here.
4492 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4494 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4495 menu navigations commands.
4497 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4499 * progmodes/subword.el (subword-capitalize): Be careful when
4500 the search for [[:alpha:]] fails (bug#15580).
4502 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4504 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4505 to commands that scroll the menu.
4507 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4509 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4510 Handle methods ending with `?' and `!'.
4512 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4514 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4515 `japanese-cp932' to `cp932' to fix the problem where saving a
4516 source file written in Shift_JIS twice would end up having
4517 `coding: japanese-cp932' which Ruby could not recognize.
4518 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4519 in `ruby-encoding-map'.
4520 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4521 doesn't need to be explicitly declared in magic comment.
4522 (ruby-encoding-map): Add type declaration for better customize UI.
4524 2013-10-13 Glenn Morris <rgm@gnu.org>
4526 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4527 Occur buffers are read-only. http://bugs.debian.org/720775
4529 * emacs-lisp/authors.el (authors-fixed-entries):
4530 Comment out old alpha stuff.
4532 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4534 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4535 to `after-save-hook' instead of `before-save-hook'.
4536 (ruby-mode-set-encoding): Use the value of coding system used to
4537 write the file. Call `basic-save-buffer-1' after modifying the
4540 2013-10-13 Alan Mackenzie <acm@muc.de>
4542 Fix indentation/fontification of Java enum with
4543 "implements"/generic.
4545 * progmodes/cc-engine.el (c-backward-over-enum-header):
4546 Extracted from the three other places and enhanced to handle generics.
4547 (c-inside-bracelist-p): Uses new function above.
4548 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4550 (c-font-lock-enum-tail): Uses new function above.
4552 2013-10-13 Kenichi Handa <handa@gnu.org>
4554 * international/mule-cmds.el (select-safe-coding-system): Remove a
4555 superfluous condition in chekcing whether a coding system is safe
4558 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4560 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4562 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4564 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4566 2013-10-13 Glenn Morris <rgm@gnu.org>
4568 * menu-bar.el (menu-bar-update-buffers):
4569 Unify Buffers menu prompt string. (Bug#15576)
4571 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4573 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4575 (authors-fixed-entries): Use accented form of name.
4577 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4579 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4580 method calls (bug#15594).
4581 (ruby-smie--args-separator-p): New function.
4582 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4583 recognize paren-free method calls.
4585 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4586 internals of universal-argument.
4588 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4590 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4591 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4592 dropped menu on second mouse click on the menu bar.
4594 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4596 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4597 (explicit-shell-file-name): Declare.
4598 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4599 (sh-completion-at-point-function): New function.
4601 (sh-smie--keyword-p): Remove unused argument.
4602 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4604 (sh-set-shell): Always setup SMIE, even if we use the
4605 old indentation code.
4607 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4609 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4611 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4612 predicate would return nil are almost non-existent.
4613 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4615 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4616 cache also after commands that modify the buffer but don't move
4619 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4621 * env.el (substitute-env-in-file-name): New function.
4622 (substitute-env-vars): Extend the meaning of the optional arg.
4624 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4626 * term/w32-win.el (dynamic-library-alist): Define separate lists
4627 of GIF DLLs for versions before and after 5.0.0 of giflib.
4630 2013-10-10 João Távora <joaotavora@gmail.com>
4632 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4633 not locked, use last revision and current source as
4634 defaults. (Bug#15569)
4636 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4638 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4641 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4643 * window.el (pop-to-buffer-same-window): Fix doc-string.
4646 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4648 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4650 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4652 * calendar/icalendar.el (icalendar-import-file):
4653 Fix interactive spec. (Bug#15482)
4655 2013-10-10 Glenn Morris <rgm@gnu.org>
4657 * desktop.el (desktop-save): Default to saving in .emacs.d,
4658 since PWD is no longer in desktop-path by default. (Bug#15319)
4660 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4661 now that text mode has a menu with the same entry.
4662 (menu-bar-text-mode-auto-fill): Remove now unused func.
4663 * textmodes/text-mode.el (text-mode-map):
4664 Use auto-fill help text from menu-bar.el.
4666 2013-10-10 John Anthony <john@jo.hnanthony.com>
4668 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4670 2013-10-09 Juri Linkov <juri@jurta.org>
4672 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4673 instead of this-command-keys. Add universal-argument-more and
4674 universal-argument-minus to the list of prefix commands. (Bug#15568)
4676 2013-10-09 Glenn Morris <rgm@gnu.org>
4678 * vc/vc-svn.el (vc-svn-create-repo):
4679 Expand paths in file://... url. (Bug#15446)
4681 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4683 (authors): Remove unused local variables.
4685 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4687 * profiler.el: Create a more coherent calltree from partial backtraces.
4688 (profiler-format): Hide the tail with `invisible' so that C-s can still
4689 find the hidden elements.
4690 (profiler-calltree-depth): Don't recurse so enthusiastically.
4691 (profiler-function-equal): New hash-table-test.
4692 (profiler-calltree-build-unified): New function.
4693 (profiler-calltree-build): Use it.
4694 (profiler-report-make-name-part): Indent the calltree less.
4695 (profiler-report-mode): Add visibility specs for profiler-format.
4696 (profiler-report-expand-entry, profiler-report-toggle-entry):
4697 Expand the whole subtree when provided with a prefix arg.
4699 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4701 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4703 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4704 hanging iuwu-mod token.
4705 (ruby-smie--forward-token): Do not include a dot after a token in
4707 (ruby-smie--backward-token): Likewise.
4709 2013-10-08 Juri Linkov <juri@jurta.org>
4711 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4712 to isearch-other-control-char.
4713 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4714 and isearch-post-command-hook to post-command-hook.
4715 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4716 and isearch-post-command-hook from post-command-hook.
4717 (isearch-unread-key-sequence)
4718 (isearch-reread-key-sequence-naturally)
4719 (isearch-lookup-scroll-key, isearch-other-control-char)
4720 (isearch-other-meta-char): Remove functions.
4721 (isearch-pre-command-hook, isearch-post-command-hook):
4722 New functions based on isearch-other-meta-char rewritten
4723 relying on the new behavior of overriding-terminal-local-map
4724 that does not replace the local keymaps any more. (Bug#15200)
4726 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4728 Support menus on text-mode terminals.
4729 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4732 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4734 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4735 Move here from mouse.el.
4736 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4738 (tty-menu-navigation-map): New map for TTY menu navigation.
4740 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4742 * frame.el (display-mouse-p): Report text-mode mouse as available
4744 (display-popup-menus-p): Report availability if mouse is
4745 available; don't condition on window-system.
4747 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4748 (tty-menu-selected-face): New faces.
4750 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4752 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4753 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4754 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4755 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4757 (lisp-mode-variables): New `elisp' argument.
4758 (emacs-lisp-mode): Use it.
4759 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4760 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4762 * indent.el: Use lexical-binding.
4763 (indent-region): Add progress reporter.
4764 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4766 (indent--next-tab-stop): New function to implement this behavior.
4767 (tab-to-tab-stop, move-to-tab-stop): Use it.
4769 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4771 * indent.el (indent-rigidly--current-indentation): New function.
4772 (indent-rigidly-map): New var.
4773 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4775 2013-10-08 Bastien Guerry <bzg@gnu.org>
4777 * register.el (insert-register): Fix 2013-10-07 change.
4779 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4781 * progmodes/perl-mode.el: Use lexical-binding.
4782 Remove redundant :group args.
4783 (perl-nochange): Change default to be closer to other major modes's
4785 (perl-indent-line): Don't consider text on current line as a
4786 valid beginning of function from which to indent.
4788 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4789 with more than one argument (bug#15538).
4791 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4793 * vc/pcvs.el: Use lexical-binding.
4794 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4795 environment of `eval'.
4796 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4797 than a list of expressions. Adjust callers.
4798 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4800 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4802 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4803 case of the dot in a chained method call being on the following line.
4805 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4807 * electric.el (electric-indent-inhibit): New var.
4808 (electric-indent-post-self-insert-function): Use it.
4809 * progmodes/python.el (python-mode): Set it.
4811 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4814 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4816 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4817 (css-mode): Use electric-indent-chars.
4819 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4820 (font-lock-beg, font-lock-end): Move before first use.
4821 (nxml-mode): Use syntax-propertize-function.
4822 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4823 (nxml-extend-after-change-region): Remove.
4824 * nxml/xmltok.el: Use lexical-binding.
4825 (xmltok-save): Use `declare'.
4826 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4827 * nxml/nxml-util.el: Use lexical-binding.
4828 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4830 * nxml/nxml-ns.el: Use lexical-binding.
4831 (nxml-ns-save): Use `declare'.
4832 (nxml-ns-prefixes-for): Avoid add-to-list.
4833 * nxml/rng-match.el: Use lexical-binding.
4834 (rng--ipattern): Use cl-defstruct.
4835 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4836 (rng-cons-group-after, rng-subst-group-after)
4837 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4838 Use closures instead of `(lambda...).
4840 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4842 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4845 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4846 Use `tramp-handle-insert-file-contents'.
4847 (tramp-gvfs-handle-insert-file-contents): Remove function.
4849 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4850 Use `save-restriction' in order to keep markers.
4852 * net/trampver.el: Update release number.
4854 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4856 * progmodes/compile.el (compilation-parse-errors):
4857 Use compilation--put-prop.
4858 (compilation--ensure-parse): Check compilation-multiline.
4860 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4862 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4865 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4867 * progmodes/ruby-mode.el: Fix recently added tests.
4868 (ruby-smie-grammar): Add - and +.
4869 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4870 (ruby-smie--backward-id): New functions.
4871 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4872 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4875 2013-10-07 Leo Liu <sdl.web@gmail.com>
4877 * register.el (register-preview-delay)
4878 (register-preview-functions): New variables.
4879 (register-read-with-preview, register-preview)
4880 (register-describe-oneline): New functions.
4881 (point-to-register, window-configuration-to-register)
4882 (frame-configuration-to-register, jump-to-register)
4883 (number-to-register, view-register, insert-register)
4884 (copy-to-register, append-to-register, prepend-to-register)
4885 (copy-rectangle-to-register): Use register-read-with-preview to
4886 read register. (Bug#15525)
4888 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4890 * net/network-stream.el (network-stream-open-starttls): Don't add
4891 --insecure if it's already present, because that gnutls-cli
4892 rejects getting that parameter twice.
4894 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4896 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4899 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4901 * newcomment.el (comment-use-global-state): Change default value
4902 to t, mark obsolete (Bug#15251).
4903 (comment-beginning): In addition to `comment-to-syntax', check the
4904 value of `comment-use-global-state'.
4906 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4908 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4909 (ruby-comment-column): Follow the global default, by default.
4910 (ruby-smie-grammar): Add assignment syntax.
4911 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4912 open-paren, a comma, or a \.
4913 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4914 and line continuations.
4915 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4916 followed by implicit semi-colons. Add rule for string concatenation
4917 and for indentation at BOB.
4918 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4920 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4921 calling next-sexp, since next-token may have skipped chars which
4922 next-sexp doesn't know should be skipped!
4924 2013-10-05 Leo Liu <sdl.web@gmail.com>
4926 * progmodes/octave.el (octave-send-region):
4927 Call compilation-forget-errors.
4929 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4931 * vc/vc-svn.el (vc-svn-find-admin-dir):
4932 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4933 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4934 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4935 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4937 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4939 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4941 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * subr.el (read-passwd): Hide chars even when called within a context
4944 where after-change-functions is disabled (bug#15501).
4945 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4946 until we removed ourself from overriding-terminal-local-map.
4948 2013-10-04 Leo Liu <sdl.web@gmail.com>
4950 * progmodes/octave.el (inferior-octave-mode):
4951 Call compilation-forget-errors.
4953 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4955 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4957 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4959 * net/secrets.el (secrets-create-collection): Add optional
4960 argument ALIAS. Use proper Label keyword. Append ALIAS as
4961 dbus-call-method argument. (Bug#15516)
4963 2013-10-04 Leo Liu <sdl.web@gmail.com>
4965 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4966 (inferior-octave-compilation-font-lock-keywords): New variables.
4967 (compilation-error-regexp-alist)
4968 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4969 (inferior-octave-mode): Use compilation-shell-minor-mode.
4971 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4973 * minibuffer.el (completion--replace): Be careful that `end' might be
4976 2013-10-03 Daiki Ueno <ueno@gnu.org>
4978 Add support for package signature checking.
4979 * emacs-lisp/package.el (url-http-file-exists-p)
4980 (epg-make-context, epg-context-set-home-directory)
4981 (epg-verify-string, epg-context-result-for)
4982 (epg-signature-status, epg-signature-to-string)
4983 (epg-check-configuration, epg-configuration)
4984 (epg-import-keys-from-file): Declare.
4985 (package-check-signature): New user option.
4986 (package-unsigned-archives): New user option.
4987 (package-desc): Add `signed' field.
4988 (package-load-descriptor): Set `signed' field if .signed file exists.
4989 (package--archive-file-exists-p): New function.
4990 (package--check-signature): New function.
4991 (package-install-from-archive): Check package signature.
4992 (package--download-one-archive): Check archive signature.
4993 (package-delete): Remove .signed file.
4994 (package-import-keyring): New command.
4995 (package-refresh-contents): Import default keyring.
4996 (package-desc-status): Add "unsigned" status.
4997 (describe-package-1, package-menu--print-info)
4998 (package-menu-mark-delete, package-menu--find-upgrades)
4999 (package-menu--status-predicate): Support "unsigned" status.
5001 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5004 the new compilation scheme using the new byte-codes.
5006 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5007 (byte-pophandler): New byte codes.
5008 (byte-goto-ops): Adjust accordingly.
5009 (byte-compile--use-old-handlers): New var.
5010 (byte-compile-catch): Use new byte codes depending on
5011 byte-compile--use-old-handlers.
5012 (byte-compile-condition-case--old): Rename from
5013 byte-compile-condition-case.
5014 (byte-compile-condition-case--new): New function.
5015 (byte-compile-condition-case): New function that dispatches depending
5016 on byte-compile--use-old-handlers.
5017 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5020 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5021 Optimize under `condition-case' and `catch' if
5022 byte-compile--use-old-handlers is nil.
5023 (disassemble-offset): Handle new bytecodes.
5025 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5027 * subr.el (error): Use `declare'.
5028 (decode-char, encode-char): Use advertised-calling-convention instead
5029 of the docstring to discourage use of the `restriction' arg.
5031 2013-10-03 Daiki Ueno <ueno@gnu.org>
5033 * epg.el (epg-verify-file): Add a comment saying that it does not
5034 notify verification error as a return value nor a signal.
5035 (epg-verify-string): Ditto.
5037 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5039 * progmodes/compile.el (compilation-start): Try globbing the arg to
5042 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5044 Sync with Tramp 2.2.8.
5046 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5047 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5048 * net/trampver.el: Update release number.
5050 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5052 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5053 and default-process-coding-system for darwin only.
5055 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5057 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5059 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5061 * vc/vc-git.el (vc-git-grep): Disable pager.
5063 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5065 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5066 Use :url instead of :homepage, as per
5067 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5069 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5070 non-nil, use `syntax-ppss' (Bug#15251).
5072 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5074 * progmodes/octave.el (inferior-octave-startup-file):
5075 Prefer ~/.emacs.d/init_octave.m.
5077 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5079 * emacs-lisp/package.el (package-desc-from-define):
5080 Accept additional arguments as plist, convert them to an alist and store
5081 them in the `extras' slot.
5082 (package-generate-description-file): Convert extras alist back to
5083 plist and append to the `define-package' form arguments.
5084 (package--alist-to-plist): New function.
5085 (package--ac-desc): Add `extras' slot.
5086 (package--add-to-archive-contents): Check if the archive-contents
5087 vector is long enough, and if it is, pass its `extras' slot value
5088 to `package-desc-create'.
5089 (package-buffer-info): Call `lm-homepage', pass the returned value
5090 to `package-desc-from-define'.
5091 (describe-package-1): Render the homepage button (Bug#13291).
5093 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5094 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5096 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5098 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5099 and default-process-coding-system to utf-8-unix (Bug#15402).
5101 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5103 * subr.el (looking-back): Do not recommend using looking-back.
5105 2013-09-28 Alan Mackenzie <acm@muc.de>
5107 Fix indentation/fontification of Java enum with "implements".
5109 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5110 regexp which matches "implements", etc., in Java.
5111 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5112 specifier clauses coming after "enum".
5113 * progmodes/cc-fonts.el (c-font-lock-declarations)
5114 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5117 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5119 * faces.el (region): Change ns_selection_color to
5120 ns_selection_fg_color, add ns_selection_bg_color.
5122 2013-09-28 Leo Liu <sdl.web@gmail.com>
5124 * progmodes/octave.el (inferior-octave-completion-table)
5125 (inferior-octave-completion-at-point): Minor tweaks.
5127 * textmodes/ispell.el (ispell-lookup-words): Rename from
5128 lookup-words. (Bug#15460)
5129 (lookup-words): Obsolete.
5130 (ispell-complete-word, ispell-command-loop): All uses changed.
5132 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5134 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5135 (octave-mode-menu): Add octave-send-buffer.
5136 (octave-send-buffer): New function.
5138 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5140 * progmodes/octave.el (octave-mode-map): Add key binding for
5142 (octave-mode-menu): Add octave-lookfor.
5143 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5145 (octave-lookfor): New function.
5147 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5149 * emacs-lisp/cl-macs.el:
5150 (cl--loop-destr-temps): Remove.
5151 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5153 (cl--loop-set-iterator-function): New function.
5154 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5155 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5156 Bind `it' with `let' instead of substituting it with `cl-subst'.
5157 (cl--unused-var-p): New function.
5158 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5159 Eliminate some unused variable warnings (bug#15326).
5161 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5163 * doc-view.el (doc-view-scale-reset): Rename from
5164 `doc-view-reset-zoom-level'.
5165 (doc-view-scale-adjust): New command.
5166 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5167 `doc-view-scale-adjust'.
5169 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5171 * doc-view.el (doc-view-reset-zoom-level): New command.
5172 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5173 zoom commands (bug#15466).
5175 2013-09-26 Kenichi Handa <handa@gnu.org>
5177 * international/quail.el (quail-help): Make it not a command.
5179 2013-09-26 Leo Liu <sdl.web@gmail.com>
5181 * minibuffer.el (completion-all-sorted-completions): Make args
5182 optional as they are.
5184 2013-09-25 Daniel Colascione <dancol@dancol.org>
5186 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5187 specs are and that they're not evaluated.
5189 2013-09-24 Sam Steingold <sds@gnu.org>
5191 * midnight.el (clean-buffer-list-kill-regexps)
5192 (clean-buffer-list-kill-buffer-names): Update for the new Man
5193 buffer naming which includes the object name.
5195 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5197 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5198 (eshell-parse-command, eshell-parse-pipeline): Use it since
5199 eshell-separate-commands requires a dynamic scoped var.
5200 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5202 2013-09-23 Leo Liu <sdl.web@gmail.com>
5204 * autoinsert.el (auto-insert-alist): Make the value of
5205 lexical-binding match its file setting.
5207 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5209 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5211 * autoarg.el (autoarg-kp-digit-argument):
5212 * electric.el (Electric-command-loop):
5213 * kmacro.el (kmacro-step-edit-insert):
5214 Do not set universal-argument-num-events.
5216 2013-09-22 Leo Liu <sdl.web@gmail.com>
5218 * files.el (interpreter-mode-alist): Add octave.
5220 2013-09-21 Alan Mackenzie <acm@muc.de>
5222 C++: fontify identifier in declaration following "public:" correctly.
5223 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5224 to match "public", etc.
5225 (c-decl-prefix-re): Add ":" into the C++ value.
5226 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5227 bit. Add a check for a ":" preceded by "public", etc.
5229 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5231 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5232 recognized by GDB 7.5 and later.
5234 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5236 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5238 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5240 * subr.el (internal--call-interactively): New const.
5241 (called-interactively-p): Use it (bug#3984).
5243 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5245 * vc/pcvs.el (cvs-mode-ignore):
5246 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5247 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5249 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5251 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5252 (eshell-ls-orig-insert-directory): Remove.
5253 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5254 (eshell-ls-use-in-dired): Use advice-add/remove.
5255 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5256 Add `orig-fun' arg for use in :around advice.
5257 Make it check (redundantly) eshell-ls-use-in-dired.
5259 2013-09-19 Glenn Morris <rgm@gnu.org>
5261 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5263 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5265 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5267 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5269 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5270 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5271 (tramp-get-remote-python): New defuns.
5272 (tramp-get-remote-uid-with-perl)
5273 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5274 contributed by yary <not.com@gmail.com> (tiny change).
5275 (tramp-get-remote-uid-with-python)
5276 (tramp-get-remote-gid-with-python): New defuns. Python code
5277 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5278 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5280 2013-09-19 Glenn Morris <rgm@gnu.org>
5282 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5284 * eshell/em-unix.el (eshell-remove-entries):
5285 Rename argument to avoid name-clash with global `top-level'.
5287 * eshell/esh-proc.el (eshell-kill-process-function):
5288 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5289 (eshell-reset-after-proc): Remove unused arg `proc'.
5291 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5292 (directory-files-and-attributes): Mark unused arg.
5294 * eshell/em-unix.el (eshell-remove-entries):
5295 Remove unused arg `path'. Update callers.
5297 * eshell/em-hist.el (eshell-hist-parse-arguments):
5298 Remove unused arg `silent'. Update callers.
5300 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5301 Fix (f)boundp mix-up.
5303 * eshell/em-smart.el (eshell-smart-scroll-window)
5304 (eshell-disable-after-change):
5305 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5307 2013-09-18 Alan Mackenzie <acm@muc.de>
5309 Fix fontification of type when followed by "const".
5310 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5311 "known" types from fontification.
5313 2013-09-18 Glenn Morris <rgm@gnu.org>
5315 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5316 (chart-face-list): Drop Emacsen without display-color-p.
5318 * net/eww.el (libxml-parse-html-region): Declare.
5319 (eww-display-html): Explicit error if no libxml2 support.
5321 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5323 * image.el (image-type-from-buffer, image-multi-frame-p):
5324 Remove --without-x warning/error.
5326 * mouse.el (mouse-yank-primary):
5327 * term.el (term-mouse-paste):
5328 Reorder to silence --without-x compilation.
5330 * mpc.el (doc-view-mode): Silence --without-x compilation.
5332 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5333 Silence --without-x compilation.
5335 * progmodes/gud.el (gud-find-file, gud-mode):
5336 Silence --without-x compilation.
5337 (tooltip-mode): Declare.
5339 * wdired.el (dired-backup-overwrite): Remove declaration.
5340 (wdired-mode-map): Add doc string.
5342 * custom.el (x-get-resource): Declare.
5344 * eshell/em-glob.el (ange-cache):
5345 * eshell/em-unix.el (ange-cache): Declare.
5347 * faces.el (x-display-list, x-open-connection, x-get-resource):
5350 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5351 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5354 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5356 * net/gnutls.el (gnutls-log-level): Declare.
5358 * net/shr.el (image-size, image-animate): Declare.
5360 * simple.el (font-info): Declare.
5362 * subr.el (x-popup-dialog): Declare.
5364 * term/common-win.el (x-select-enable-primary)
5365 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5368 * term/ns-win.el (x-handle-args): Declare.
5370 * term/x-win.el (x-select-enable-clipboard): Declare.
5372 * term/w32-win.el (create-default-fontset): Declare.
5374 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5377 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5378 (fit-frame-to-buffer): Explicit error if --without-x.
5379 (mouse-autoselect-window-select): Silence compiler.
5381 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5383 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5384 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5385 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5386 * eshell/esh-util.el (eshell-sublist):
5387 Remove unused local variables.
5389 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5391 * textmodes/two-column.el: Make 2C-split work for --without-x.
5392 (scroll-bar-columns): Autoload.
5393 (top-level): Require fringe when compiling.
5395 2013-09-18 Leo Liu <sdl.web@gmail.com>
5397 * subr.el (add-hook): Robustify to handle closure as well.
5399 2013-09-17 Glenn Morris <rgm@gnu.org>
5401 * simple.el (messages-buffer-mode-map): Unbind "g".
5403 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5405 * help-mode.el (help-mode-finish): Use derived-mode-p.
5406 Remove obsolete highlighting.
5408 * play/life.el (life-mode): Use define-derived-mode. Derive from
5410 (life): Let-bind inhibit-read-only.
5411 (life-setup): Avoid `setq'. Use `life-mode'.
5413 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5414 which should not be needed any more.
5415 (package-menu-refresh, package-menu-describe-package): Use user-error.
5417 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5418 (eshell-post-rewrite-command-hook): Make obsolete.
5419 (eshell-parse-command): Simplify.
5420 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5421 (eshell--cmd): Declare.
5422 (eshell-parse-pipeline): Remove unused var `final-p'.
5423 Pass a dynvar to eshell-post-rewrite-command-hook.
5424 Implement the new eshell-post-rewrite-command-function.
5425 (eshell-invoke-directly): Remove unused arg `input'.
5426 * eshell/esh-io.el (eshell-io-initialize):
5427 Use eshell-post-rewrite-command-function (bug#15399).
5428 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5429 adjust to new calling convention.
5430 (eshell-create-handles): Rename args to avoid clashing with dynvar
5433 2013-09-17 Glenn Morris <rgm@gnu.org>
5435 * simple.el (messages-buffer-mode): New major mode.
5436 (messages-buffer): New function.
5437 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5438 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5439 (ert-run-test): Use `messages-buffer' function.
5440 (ert--force-message-log-buffer-truncation): Ignore read-only.
5441 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5442 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5444 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5446 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5448 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5450 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5452 * icomplete.el (icomplete-in-buffer): New var.
5453 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5454 vars and replace them with functions.
5455 (icomplete-minibuffer-setup): Adjust accordingly.
5456 (icomplete--completion-table, icomplete--completion-predicate)
5457 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5459 (icomplete-forward-completions, icomplete-backward-completions)
5460 (icomplete-simple-completing-p, icomplete-exhibit)
5461 (icomplete-completions): Use them.
5462 (icomplete--in-region-buffer): New var.
5463 (icomplete--in-region-setup): New function.
5464 (icomplete-mode): Use it.
5466 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5468 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5469 return args and options.
5470 (eshell-eval-using-options): Use the new return value of
5471 eshell--do-opts to set the options's vars in their scope.
5472 (eshell--set-option): Rename from eshell-set-option.
5474 (eshell--process-option): Rename from eshell-process-option.
5476 (eshell--process-args): Use an `opt-vals' alist to store the options's
5477 values during their processing and return them additionally to the
5480 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5482 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5483 continuation character an operator, as far as indentation is
5484 concerned (Bug#15369).
5486 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5488 * window.el (window--state-put-2): Don't process buffer state
5489 when buffer doesn't exist any more (Bug#15382).
5491 2013-09-15 Glenn Morris <rgm@gnu.org>
5493 * eshell/em-unix.el (eshell/rm):
5494 Make -f ignore missing files. (Bug#15373)
5496 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5497 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5498 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5500 2013-09-14 Glenn Morris <rgm@gnu.org>
5502 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5504 2013-09-13 Glenn Morris <rgm@gnu.org>
5506 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5507 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5509 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5511 * frame.el (x-focus-frame): Mark as declared in frame.c.
5513 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5515 * ls-lisp.el: Use advice-add.
5516 (original-insert-directory): Remove.
5517 (ls-lisp--insert-directory): Rename from insert-directory; add
5518 `orig-fun' argument.
5519 (insert-directory): Advise.
5521 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5523 * term.el (term-emulate-terminal): Decode the command string
5524 before passing it to term-command-hook. (Bug#15337)
5526 2013-09-13 Glenn Morris <rgm@gnu.org>
5528 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5530 * eshell/esh-ext.el (eshell-search-path): Declare.
5532 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5533 Otherwise an error occurs if eshell-dirs module not loaded.
5535 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5537 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5539 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5540 `tramp-check-proper-host'. Check for a valid method name.
5542 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5543 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5544 * net/tramp-sh.el (tramp-maybe-open-connection):
5545 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5547 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5548 also for hash values.
5550 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * term/ns-win.el (parameters): Don't declare as dynamic.
5553 (before-make-frame-hook): Don't add ineffective function.
5555 * eshell/*.el: Use lexical-binding (bug#15231).
5557 2013-09-12 Kenichi Handa <handa@gnu.org>
5559 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5561 2013-09-12 Glenn Morris <rgm@gnu.org>
5563 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5564 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5566 * subr.el (do-after-load-evaluation): Also give compiler warnings
5567 when obsolete files are used (except by obsolete files).
5569 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5570 in the status output, assume `filename' is the first. (Bug#15322)
5572 * vc/vc.el (vc-deduce-fileset): Doc fix.
5574 * calc/calc-help.el (Info-goto-node):
5575 * progmodes/cperl-mode.el (Info-find-node):
5576 * vc/ediff.el (Info-goto-node): Update declarations.
5578 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5580 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5581 (vc-bzr-pull): Require vc-dispatcher.
5582 * vc/vc-git.el (vc-compilation-mode): Declare.
5583 (vc-git-pull): Require vc-dispatcher.
5585 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5587 * progmodes/octave.el (help-button-action): Declare.
5589 * shell.el (shell-directory-tracker): Output error as a message
5590 rather than just returning it as a string.
5591 (shell-process-pushd): Remove useless use of message.
5593 * dframe.el (dframe-timer-fn):
5594 * files.el (dir-locals-read-from-file):
5595 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5597 * reveal.el (reveal-post-command):
5598 * saveplace.el (load-save-place-alist-from-file):
5599 * shell.el (shell-resync-dirs):
5600 * w32-common-fns.el (x-get-selection-value):
5601 * emacs-lisp/copyright.el (copyright-find-copyright):
5602 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5603 * emulation/tpu-edt.el (tpu-copy-keyfile):
5604 * play/bubbles.el (bubbles--mark-neighbourhood):
5605 * progmodes/executable.el
5606 (executable-make-buffer-file-executable-if-script-p):
5607 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5609 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5611 Cleanup Eshell to rely less on dynamic scoping.
5612 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5613 last-value, and ext-command here. Bind `args' closer to `body'.
5614 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5615 (eshell--args): Declare new dynamic var.
5616 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5617 last-value, and ext-command. Pass `args' to `body'.
5618 (eshell-process-args): Bind eshell--args.
5619 (eshell-set-option): Use eshell--args.
5620 * eshell/eshell.el (eshell): Use derived-mode-p.
5621 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5622 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5623 (eshell-glob-function): Declare.
5624 * eshell/esh-util.el: Require cl-lib.
5625 (eshell-read-hosts-file): Avoid add-to-list.
5626 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5628 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5630 (eshell/diff): Remove unused var `err'.
5631 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5633 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5634 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5636 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5637 Move declaration before first use.
5638 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5639 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5642 2013-09-12 Glenn Morris <rgm@gnu.org>
5644 * term/ns-win.el (global-map): Remove binding for ispell-next,
5645 deleted 1999-05-29. (Bug#15357)
5647 2013-09-11 Glenn Morris <rgm@gnu.org>
5649 * echistory.el (electric-command-history): Remove call to deleted func.
5651 * play/landmark.el (landmark-mode): Fix typos.
5653 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5654 Check cvs-sort-ignore-file is bound.
5656 * savehist.el: No need for cl when compiling on Emacs.
5658 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5660 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5662 (eshell-self-insert-command, eshell-send-invisible):
5663 Remove unused argument.
5664 (eshell-handle-control-codes): Remove unused var `orig'.
5665 Avoid delete-backward-char.
5667 * files.el (set-auto-mode): Simplify a bit further.
5669 2013-09-11 Glenn Morris <rgm@gnu.org>
5671 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5672 (set-auto-mode): Don't regexp-quote elements.
5673 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5674 * progmodes/cc-mode.el (interpreter-mode-alist):
5675 * progmodes/ruby-mode.el (interpreter-mode-alist):
5676 Revert previous change.
5678 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5680 * play/snake.el (snake-mode):
5681 * play/mpuz.el (mpuz-mode):
5682 * play/landmark.el (lm-mode):
5683 * play/blackbox.el (blackbox-mode):
5684 * play/5x5.el (5x5-mode):
5685 * obsolete/options.el (Edit-options-mode):
5686 * net/quickurl.el (quickurl-list-mode):
5687 * net/newst-treeview.el (newsticker-treeview-mode):
5688 * mail/rmailsum.el (rmail-summary-mode):
5689 * mail/mspools.el (mspools-mode):
5690 * locate.el (locate-mode):
5691 * ibuffer.el (ibuffer-mode):
5692 * emulation/ws-mode.el (wordstar-mode):
5693 * emacs-lisp/debug.el (debugger-mode):
5694 * array.el (array-mode):
5695 * net/eudc.el (eudc-mode): Use define-derived-mode.
5696 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5697 Move initialization into declaration.
5698 (mairix-searches-mode): Use define-derived-mode.
5699 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5700 (eudc-edit-hotlist): Use dolist.
5701 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5702 (Man-mode): Use define-derived-mode.
5703 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5704 (Info-edit-mode): Use define-derived-mode.
5705 (Info-cease-edit): Use Info-mode.
5706 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5708 (eshell-mode): Use define-derived-mode.
5709 * chistory.el (command-history-mode-map): Rename from
5710 command-history-map.
5711 (command-history-mode): Use define-derived-mode.
5712 (Command-history-setup): Remove function.
5713 * calc/calc.el (calc-trail-mode-map): New var.
5714 (calc-trail-mode): Use define-derived-mode.
5715 (calc-trail-buffer): Set calc-main-buffer manually.
5716 * bookmark.el (bookmark-insert-annotation): New function.
5717 (bookmark-edit-annotation): Use it.
5718 (bookmark-edit-annotation-mode): Make it a proper major mode.
5719 (bookmark-send-edited-annotation): Use derived-mode-p.
5720 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5721 closer to its ideal place. Use \' to match EOS.
5723 * profiler.el (profiler-calltree-find): Use function-equal.
5725 2013-09-10 Glenn Morris <rgm@gnu.org>
5727 * files.el (interpreter-mode-alist): Convert to regexps.
5728 (set-auto-mode): Adapt for this. (Bug#15306)
5729 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5730 Comment out unused variable.
5731 * progmodes/cc-mode.el (interpreter-mode-alist):
5732 * progmodes/python.el (interpreter-mode-alist):
5733 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5734 * progmodes/sh-script.el (sh-set-shell):
5735 No longer use interpreter-mode-alist to get list of shells.
5737 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5739 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5741 * simple.el: Use set-temporary-overlay-map for universal-argument.
5742 (universal-argument-map): Don't use default-bindings (bug#15317).
5743 Bind switch-frame explicitly. Replace universal-argument-minus with
5744 a conditional binding.
5745 (universal-argument-num-events, saved-overriding-map): Remove.
5746 (restore-overriding-map): Remove.
5747 (universal-argument--mode): Rename from save&set-overriding-map,
5749 (universal-argument, universal-argument-more, negative-argument)
5750 (digit-argument): Adjust accordingly.
5751 (universal-argument-minus): Remove.
5752 (universal-argument-other-key): Remove.
5754 * subr.el (with-demoted-errors): Add `format' argument.
5756 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5758 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5759 `tramp-cleanup-connection'.
5761 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5762 parameters KEEP-DEBUG and KEEP-PASSWORD.
5764 * net/tramp.el (tramp-file-name-handler):
5765 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5766 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5767 (tramp-maybe-open-connection):
5768 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5769 Use `tramp-cleanup-connection'.
5771 * net/tramp-sh.el (tramp-maybe-open-connection):
5772 Catch 'uname-changed inside the progress reporter.
5774 2013-09-10 Glenn Morris <rgm@gnu.org>
5776 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5778 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5779 returns "alternate access method" in mode (eg "-rw-r--r--.").
5781 2013-09-08 Glenn Morris <rgm@gnu.org>
5783 * saveplace.el (load-save-place-alist-from-file):
5784 Demote errors. (Bug#15305)
5786 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5788 Improve compatibility with older Emacsen, and XEmacs.
5790 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5791 only if it is bound. It isn't for XEmacs.
5792 (with-tramp-progress-reporter): Do not let-bind `result'.
5793 This yields to scoping errors in XEmacs.
5794 (tramp-handle-make-auto-save-file-name): New function, moved from
5797 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5798 for `make-auto-save-file-name'.
5799 (tramp-adb--gnu-switches-to-ash):
5800 Use `tramp-compat-replace-regexp-in-string'.
5802 * net/tramp-cache.el (tramp-cache-print): Call
5803 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5805 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5806 bound. It isn't for XEmacs.
5808 * net/tramp-compat.el (tramp-compat-copy-file):
5809 Catch `wrong-number-of-arguments' error.
5810 (tramp-compat-replace-regexp-in-string): New defun.
5812 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5813 for `make-auto-save-file-name'.
5814 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5816 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5817 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5818 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5820 * net/tramp-gw.el (tramp-gw-open-network-stream):
5821 Use `tramp-compat-replace-regexp-in-string'.
5823 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5824 Call `tramp-handle-make-auto-save-file-name'.
5825 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5826 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5827 (tramp-sh-file-inotifywait-process-filter):
5828 Use `tramp-compat-replace-regexp-in-string'.
5829 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5831 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5832 for `make-auto-save-file-name'.
5833 (tramp-smb-handle-copy-directory):
5834 Call `tramp-compat-replace-regexp-in-string'.
5835 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5836 (tramp-smb-handle-copy-file): Improve error message.
5837 (tramp-smb-handle-rename-file): Rename directly only in case
5838 `newname' does not exist yet. This is a restriction of smbclient.
5839 (tramp-smb-maybe-open-connection): Rerun the function only when
5840 `auth-sources' is non-nil.
5842 2013-09-08 Kenichi Handa <handa@gnu.org>
5844 * international/characters.el: Set category "^" (Combining) for
5847 2013-09-07 Alan Mackenzie <acm@muc.de>
5849 Correctly fontify Java class constructors.
5850 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5852 (c-recognize-typeless-decls): Set the Java value to t.
5853 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5854 While handling a "(", add a check for, effectively, Java, and handle a
5855 "typeless" declaration there.
5857 2013-09-07 Roland Winkler <winkler@gnu.org>
5859 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5860 field subtitle for entry type book.
5862 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5864 * minibuffer.el: Make minibuffer-complete call completion-in-region
5865 rather than other way around.
5866 (completion--some, completion-pcm--find-all-completions):
5867 Don't delay signals when debugging.
5868 (minibuffer-completion-contents): Beware fields within the
5869 minibuffer contents.
5870 (completion-all-sorted-completions): Use defvar-local.
5871 (completion--do-completion, completion--cache-all-sorted-completions)
5872 (completion-all-sorted-completions, minibuffer-force-complete):
5873 Add args `beg' and `end'.
5874 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5875 (minibuffer-complete): Use completion-in-region.
5876 (completion-complete-and-exit): New fun, extracted from
5877 minibuffer-complete-and-exit.
5878 (minibuffer-complete-and-exit): Use it.
5879 (completion--complete-and-exit): Rename from
5880 minibuffer--complete-and-exit.
5881 (completion-in-region--single-word): New function, extracted from
5882 minibuffer-complete-word.
5883 (minibuffer-complete-word): Use it.
5884 (display-completion-list): Make `common-substring' argument obsolete.
5885 (completion--in-region): Call completion--in-region-1 instead of
5886 minibuffer-complete.
5887 (completion-help-at-point): Pass boundaries to
5888 minibuffer-completion-help as args rather than via an overlay.
5889 (completion-pcm--string->pattern): Use `any-delim'.
5890 (completion-pcm--optimize-pattern): New function.
5891 (completion-pcm--pattern->regex): Handle `any-delim'.
5892 * icomplete.el (icomplete-forward-completions)
5893 (icomplete-backward-completions, icomplete-completions):
5894 Adjust calls to completion-all-sorted-completions and
5895 completion--cache-all-sorted-completions.
5896 (icomplete-with-completion-tables): Default to t.
5897 * emacs-lisp/crm.el (crm--current-element): Rename from
5898 crm--select-current-element. Don't put an overlay but return the
5900 (crm--completion-command): Take two new args to bind to the boundaries.
5901 (crm-completion-help): Adjust accordingly.
5902 (crm-complete): Use completion-in-region.
5903 (crm-complete-word): Use completion-in-region--single-word.
5904 (crm-complete-and-exit): Use completion-complete-and-exit.
5906 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5908 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5911 2013-09-06 Juri Linkov <juri@jurta.org>
5913 * info.el (Info-display-images-node): When image file doesn't exist
5914 display text version of the image if it's provided in the Info file.
5915 Otherwise, display the location of missing image from SRC attribute.
5916 Add help-echo text property from ALT attribute. (Bug#15279)
5918 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5920 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5921 (edit-abbrevs-mode): Use define-derived-mode.
5923 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5924 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5926 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5927 Use define-derived-mode.
5929 * epg.el (epg-start-encrypt): Minor CSE simplification.
5931 2013-09-06 William Xu <william.xwl@gmail.com>
5933 * arc-mode.el: Add support for 7za (bug#15264).
5934 (archive-7z-program): New var.
5935 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5936 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5937 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5939 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5943 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5944 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5945 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5946 (tramp-postfix-host-format, tramp-file-name-regexp)
5947 (tramp-completion-file-name-regexp)
5948 (tramp-completion-dissect-file-name)
5949 (tramp-handle-substitute-in-file-name): Remove 'url case.
5950 (tramp-file-name-regexp-url)
5951 (tramp-completion-file-name-regexp-url): Remove constants.
5953 2013-09-06 Glenn Morris <rgm@gnu.org>
5955 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5957 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5959 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5960 keywords" below "here-doc beginnings" (Bug#15270).
5962 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5964 * subr.el (pop): Use `car-safe'.
5965 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5966 to detect unused `pop' return value.
5968 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5970 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5971 (python-fill-string): Remove unused var `marker'.
5972 (python-skeleton-add-menu-items): Remove unused var `items'.
5974 * international/mule-cmds.el: Require CL.
5975 (find-coding-systems-for-charsets): Avoid add-to-list.
5976 (sanitize-coding-system-list): New function, extracted from
5977 select-safe-coding-system-interactively.
5978 (select-safe-coding-system-interactively): Use it.
5979 (read-input-method-name): Accept symbols for `default'.
5981 * emacs-lisp/advice.el (defadvice): Add indent rule.
5983 2013-09-05 Daniel Hackney <dan@haxney.org>
5987 * net/browse-url.el:
5990 * net/eudcb-ldap.el:
6003 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6004 byte compiler. Remove some unused let-bound variables.
6006 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6009 a "ref-cell", since it gets better optimized (bug#14883).
6011 2013-09-05 Glenn Morris <rgm@gnu.org>
6013 * progmodes/cc-awk.el (c-forward-sws): Declare.
6015 2013-09-04 Glenn Morris <rgm@gnu.org>
6017 * generic-x.el [rul-generic-mode]: Require cc-mode.
6018 (c++-mode-syntax-table): Declare.
6019 (rul-generic-mode-syntax-table): Init in the defvar.
6021 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6023 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6024 (vc-do-command, vc-set-async-update):
6025 * vc/vc-mtn.el (vc-mtn-dir-status):
6026 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6027 (vc-hg-pull, vc-hg-merge-branch):
6028 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6029 (vc-git-merge-branch):
6030 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6031 (vc-cvs-dir-status-files):
6032 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6033 (vc-bzr-dir-status-files):
6034 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6035 * vc/vc-annotate.el: Use lexical-binding.
6036 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6037 (vc-sentinel-movepoint): Declare.
6038 (vc-annotate): Don't use `goto-line'.
6039 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6040 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6041 (vc-sentinel-movepoint): Declare.
6042 * vc/vc-svn.el: Use lexical-binding.
6043 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6045 * vc/vc-rcs.el: Use lexical-binding.
6047 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6048 `deleted'. Don't drop errors silently.
6050 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6052 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6054 * vc/vc.el (vc-ignore): Rewrite.
6055 (vc-default-ignore): New function.
6056 (vc-default-ignore-completion-table): Use find-ignore-file.
6058 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6059 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6060 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6061 Remove. Most code moved to vc.el.
6063 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6065 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6066 * net/tramp-smb.el (tramp-smb-get-file-entries):
6067 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6068 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6070 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6072 (eww-change-select): Remove unused var `properties'.
6073 (eww-make-unique-file-name): Remove unused var `base'.
6075 * finder.el (finder-compile-keywords): Don't mess with windows.
6077 * calculator.el (calculator-funcall): Fix typo in last change.
6079 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6081 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6082 <pkg>-autoloads.el file stop us.
6084 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6085 warnings, and factor out common code.
6087 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6089 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6090 two-character operators and whether the character preceding them
6091 changes their meaning (Bug#15208).
6093 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6095 Format code sent to Python shell for robustness.
6096 * progmodes/python.el (python-shell-buffer-substring):
6098 (python-shell-send-region, python-shell-send-buffer): Use it.
6100 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6102 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6103 * net/tramp.el (tramp-user-error): ... here.
6104 (tramp-find-method, tramp-check-proper-host)
6105 (tramp-dissect-file-name, tramp-debug-message)
6106 (tramp-handle-shell-command):
6107 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6110 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6112 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6114 * avoid.el (mouse-avoidance-point-position)
6115 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6118 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6120 * progmodes/python.el (python-shell-completion-get-completions):
6121 Drop use of deleted `comint-last-prompt-overlay'.
6122 (python-nav-if-name-main): New command.
6124 2013-09-01 Glenn Morris <rgm@gnu.org>
6126 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6127 Avoid leading space in $wins. Otherwise the sed command used by
6128 eg compile-main ends up containing "/*.el". (Bug#15170)
6130 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6132 2013-08-30 Glenn Morris <rgm@gnu.org>
6134 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6135 Fix is-this-a-directory logic. (Bug#15220)
6137 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6139 * textmodes/css-mode.el: Use SMIE.
6140 (css-smie-grammar): New var.
6141 (css-smie--forward-token, css-smie--backward-token)
6142 (css-smie-rules): New functions.
6143 (css-mode): Use them.
6144 (css-navigation-syntax-table): Remove var.
6145 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6146 (css-indent-calculate, css-indent-line): Remove functions.
6148 Misc changes to reduce use of `(lambda...); and other cleanups.
6149 * cus-edit.el: Use lexical-binding.
6150 (customize-push-and-save, customize-apropos)
6151 (custom-buffer-create-internal): Use closures.
6152 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6153 * progmodes/ada-xref.el: Use setq.
6154 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6155 * dframe.el: Use lexical-binding.
6156 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6157 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6158 * descr-text.el: Use lexical-binding.
6159 (describe-text-widget, describe-text-sexp, describe-property-list):
6161 * comint.el (comint-history-isearch-push-state): Use a closure.
6162 * calculator.el: Use lexical-binding.
6163 (calculator-number-to-string): Make it work with lexical-binding.
6164 (calculator-funcall): Same and use cl-letf.
6166 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6167 (lisp--company-doc-string, lisp--company-location): New functions.
6168 (lisp-completion-at-point): Use them to improve Company support.
6170 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6171 params of lambda expressions.
6172 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6173 (ruby-smie--opening-pipe-p): New function.
6174 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6175 symbols and matched |...| for formal params.
6176 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6177 from being treated as hanging. Handle "rescue".
6179 2013-08-29 Glenn Morris <rgm@gnu.org>
6181 * progmodes/cc-engine.el (c-pull-open-brace):
6182 Move definition before use.
6184 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6186 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6187 are immutable. Don't use `unsafe' any more.
6188 (cl--defsubst-expand): Don't substitute at the same time as keeping
6189 a residual unused let-binding. Don't use `unsafe' any more.
6191 2013-08-29 Glenn Morris <rgm@gnu.org>
6193 * calendar/cal-china.el (calendar-chinese-year-cache):
6196 * nxml/nxml-util.el (nxml-debug-clear-inside):
6197 Use cl-loop rather than loop.
6199 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6201 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6203 2013-08-28 Glenn Morris <rgm@gnu.org>
6205 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6207 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6209 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6211 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6213 * simple.el (repeat-complex-command--called-interactively-skip):
6215 (repeat-complex-command): Use it (bug#14136).
6217 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6218 (c-define-abbrev-table): Add `doc' argument.
6219 (c-mode-abbrev-table, c++-mode-abbrev-table)
6220 (objc-mode-abbrev-table, java-mode-abbrev-table)
6221 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6222 (awk-mode-abbrev-table): Use it.
6223 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6224 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6225 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6226 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6227 Move initialization into the declaration; and remove any
6230 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6231 and dynamic let binding.
6233 * vc/smerge-mode.el: Remove redundant :group args.
6235 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6238 2013-08-28 Juri Linkov <juri@jurta.org>
6240 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6241 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6242 (isearch-other-meta-char): Handle an undefined shifted printing
6243 character by downshifting it. (Bug#15200)
6245 2013-08-28 Juri Linkov <juri@jurta.org>
6247 * isearch.el (isearch-search): Change regexp error message for
6248 non-regexp searches. (Bug#15166)
6250 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6252 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6253 for portability to hosts where /bin/sh has problems.
6255 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6257 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6259 2013-08-27 Juri Linkov <juri@jurta.org>
6261 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6262 in the keyboard macro. (Bug#15126)
6264 2013-08-27 Juri Linkov <juri@jurta.org>
6266 * isearch.el (isearch-quote-char): Comment out converting unibyte
6267 to multibyte, thus syncing with its `quoted-insert' counterpart.
6270 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6272 * window.el (display-buffer-use-some-window): Add missing
6273 argument in call of get-largest-window (Bug#15185).
6274 Reported by Stephen Leake.
6276 2013-08-27 Glenn Morris <rgm@gnu.org>
6278 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6280 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6282 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6283 from a matcher-function unless there's no more matches (bug#15161).
6285 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6287 * minibuffer.el: Revert change from 2013-08-20.
6289 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6290 with text property `tramp-default', if appropriate.
6291 (tramp-check-proper-host): New defun.
6292 (tramp-dissect-file-name): Do not check hostname. Revert change
6294 (tramp-backtrace): Make VEC-OR-PROC optional.
6296 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6297 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6298 * net/tramp-sh.el (tramp-maybe-open-connection):
6299 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6300 Apply `tramp-check-proper-host'.
6302 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6304 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6305 lambda expression in order to have `describe-variable' display it.
6307 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6309 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6310 BUF can be optional. (Bug#15186)
6312 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6314 * progmodes/flymake.el (flymake-get-real-file-name-function):
6315 Fix broken customization. (Bug#15184)
6317 2013-08-25 Alan Mackenzie <acm@muc.de>
6319 Improve indentation of bracelists defined by macros (without "=").
6321 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6322 expansion begins with "{", regard it as bracelist when it doesn't
6325 Parse C++ inher-intro when there's a template split over 2 lines.
6327 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6328 rigorously the search for "class" etc. followed by ":".
6330 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6331 random languages a regexp which never matches rather than nil.
6333 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6335 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6336 (c-awk-regexp-one-line-possibly-open-char-list-re)
6337 (c-awk-one-line-possibly-open-regexp-re)
6338 (c-awk-one-line-non-syn-ws*-re): Remove.
6339 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6340 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6341 (c-awk-space*-unclosed-regexp-/-re): New constants.
6342 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6343 aren't regexp delimiters.
6345 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6346 handling for a rare situation in AWK Mode involving unterminated
6349 2013-08-23 Glenn Morris <rgm@gnu.org>
6351 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6353 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6355 * files.el (create-file-buffer): If the result would begin with
6356 spaces, prepend a "|" instead of removing them. (Bug#15162)
6358 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6361 text-properties (bug#15155).
6363 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6365 (calc-keypad-redraw): Remove unused var `pad'.
6366 (calc-keypad-press): Remove unused var `menu'.
6368 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6370 * window.el (display-buffer-pop-up-frame):
6371 Call pop-up-frame-function with BUFFER current so `make-frame' will
6372 use it as the new frame's buffer (Bug#15133).
6374 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6376 * calendar/timeclock.el: Minor cleanups.
6377 (timeclock-ask-before-exiting, timeclock-use-display-time):
6379 (timeclock-modeline-display): Define as alias before the
6381 (timeclock-mode-line-display): Use define-minor-mode.
6382 (timeclock-day-list-template): Make it a function, add an argument.
6383 (timeclock-day-list-required, timeclock-day-list-length)
6384 (timeclock-day-list-debt, timeclock-day-list-span)
6385 (timeclock-day-list-break): Adjust calls accordingly.
6387 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6389 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6390 Use read--expression so that completion works again.
6392 2013-08-21 Sam Steingold <sds@gnu.org>
6394 Add rudimentary inferior shell interaction
6395 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6396 (sh-set-shell): Reset it.
6397 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6398 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6400 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6402 * align.el: Use lexical-binding.
6403 (align-region): Simplify accordingly.
6405 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6407 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6409 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6412 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6416 * net/tramp-cmds.el:
6418 * net/tramp-gvfs.el:
6420 * net/tramp-sh.el: Don't wrap external variable declarations by
6421 `eval-when-compile'.
6423 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6425 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6426 now that Emacs supports ImageMagick animations.
6428 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6430 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6431 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6433 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6435 * window.el (mouse-autoselect-window-select): Do autoselect when
6436 mouse pointer is on margin.
6438 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6440 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6442 2013-08-16 Glenn Morris <rgm@gnu.org>
6444 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6445 Handle "Remote Directory" response of some clients. (Bug#15058)
6447 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6448 Tweak warning. (Bug#14926)
6450 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6451 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6453 * image-mode.el (image-mode-map): Add menu items to reverse,
6454 increase, decrease, reset animation speed.
6455 (image--set-speed, image-increase-speed, image-decrease-speed)
6456 (image-reverse-speed, image-reset-speed): New functions.
6457 (image-mode-map): Add bindings for speed commands.
6459 * image.el (image-animate-get-speed, image-animate-set-speed):
6461 (image-animate-timeout): Respect image :speed property.
6463 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6465 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6466 previous line (bug#15101).
6467 (debugger-eval-expression, debugger-record-expression):
6468 Use read--expression (bug#15102).
6470 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6472 Remove byte compiler warnings, visible when compiling with
6473 `byte-compile-force-lexical-warnings' set to t.
6475 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6476 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6477 (tramp-handle-unhandled-file-name-directory)
6478 (tramp-handle-file-notify-add-watch, tramp-action-login)
6479 (tramp-action-succeed, tramp-action-permission-denied)
6480 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6483 * net/tramp-adb.el (tramp-adb-parse-device-names)
6484 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6485 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6486 (tramp-adb-handle-file-truename): Remove unused arguments.
6488 * net/tramp-cache.el (tramp-flush-directory-property)
6489 (tramp-flush-connection-property, tramp-list-connections)
6490 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6492 * net/tramp-compat.el (tramp-compat-make-temp-file):
6493 Rename FILENAME to F.
6495 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6496 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6497 (tramp-zeroconf-parse-workstation-device-names)
6498 (tramp-zeroconf-parse-webdav-device-names)
6499 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6501 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6502 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6504 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6506 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6507 (tramp-sh-handle-insert-file-contents-literally)
6508 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6510 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6511 Remove unused variables.
6513 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6514 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6515 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6517 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6518 Make them a defconst.
6519 (tramp-uuencode-region): Remove unused variable.
6521 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6523 * frameset.el (frameset--prop-setter): New function.
6524 (frameset-prop): Add gv-setter declaration.
6525 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6526 parameter was already set in FILTERED. Doc fix.
6527 (frameset--record-minibuffer-relationships): Allow saving a
6528 minibufferless frame without its corresponding minibuffer frame.
6529 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6530 frame, if the frame id matches.
6531 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6532 frames before orphaned ones.
6533 (frameset-restore): Warn about orphaned windows, instead of error out.
6535 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6537 * window.el (window-make-atom): Don't overwrite parameter
6539 (display-buffer-in-atom-window): Handle special case where we
6540 split an already atomic window.
6541 (window--major-non-side-window, display-buffer-in-side-window)
6542 (window--side-check): Ignore minibuffer window when walking
6544 (window-deletable-p): Return 'frame only if no other frame uses
6545 our minibuffer window.
6546 (record-window-buffer): Run buffer-list-update-hook.
6547 (split-window): Make sure window--check-frame won't destroy an
6548 existing atomic window in case the new window gets nested
6550 (display-buffer-at-bottom): Ignore minibuffer window when
6551 walking window tree. Don't split a side window.
6552 (pop-to-buffer): Don't set-buffer here, the select-window call
6554 (mouse-autoselect-window-select): Autoselect only if we are in the
6555 text portion of the window.
6557 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6559 * net/shr.el (shr-parse-image-data): New function to grab both the
6560 data itself and the Content-Type.
6561 (shr-put-image): Use it.
6563 * net/eww.el (eww-display-image): Ditto.
6565 * image.el (image-content-type-suffixes): New variable.
6567 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6569 * progmodes/python.el (python-imenu--build-tree)
6570 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6572 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6574 * simple.el (backward-word): Mention the optional argument.
6576 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6578 * frameset.el (frameset--make): Rename constructor from make-frameset.
6579 (frameset-p, frameset-valid-p): Don't autoload.
6580 (frameset-valid-p): Use normal accessors.
6582 2013-08-13 Glenn Morris <rgm@gnu.org>
6584 * progmodes/compile.el (compile-command): Tweak example in doc.
6585 * obsolete/scribe.el (scribe-mode):
6586 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6588 * mail/feedmail.el (feedmail-confirm-outgoing)
6589 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6591 * cus-start.el (truncate-partial-width-windows): Fix type.
6593 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6595 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6597 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6599 * emacs-lisp/timer.el (timer--time-setter): New function.
6600 (timer--time): Use it as gv-setter.
6602 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6603 setter is not a symbol.
6605 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6607 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6608 if sending fails. This makes debugging easier.
6610 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6612 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6613 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6614 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6616 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6618 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6620 2013-08-12 Glenn Morris <rgm@gnu.org>
6622 * format.el (format-annotate-function):
6623 Handle read-only text properties in the source. (Bug#14887)
6625 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6627 * net/eww.el (eww-display-html): Ignore coding system errors.
6628 One web site uses "utf-8lias" as the coding system.
6630 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6632 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6634 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6636 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6637 (tutorial--detailed-help): Remove unused local variables.
6638 (tutorial--save-tutorial-to): Use ignore-errors.
6639 (help-with-tutorial): Use looking-at-p.
6641 * view.el (view-buffer-other-window, view-buffer-other-frame):
6642 Mark unused arguments.
6644 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6645 (woman-select-symbol-fonts, woman, woman-find-file)
6646 (woman-insert-file-contents, woman-non-underline-faces):
6648 (woman1-unquote): Move declaration.
6650 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6651 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6652 argument. Remove unused local variable.
6653 (xml-parse-elem-type): Use string-match-p.
6654 (xml-substitute-numeric-entities): Use ignore-errors.
6656 * calculator.el (calculator): Mark unused argument.
6657 (calculator-paste, calculator-quit, calculator-integer-p):
6659 (calculator-string-to-number, calculator-decimal, calculator-exp)
6660 (calculator-op-or-exp): Use string-match-p.
6662 * dired.el (dired-buffer-more-recently-used-p): Declare.
6663 (dired-insert-set-properties, dired-insert-old-subdirs):
6666 * dired-aux.el (dired-compress): Use ignore-errors.
6667 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6668 (dired-do-async-shell-command, dired-do-shell-command)
6669 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6670 (dired-insert-subdir-validate): Use string-match-p.
6671 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6672 (dired-add-entry): Use string-match-p, looking-at-p.
6673 (dired-insert-subdir-newpos): Remove unused local variable.
6675 * filenotify.el (file-notify-callback): Remove unused local variable.
6677 * filesets.el (filesets-error): Mark unused argument.
6678 (filesets-which-command-p, filesets-filter-dir-names)
6679 (filesets-directory-files, filesets-get-external-viewer)
6680 (filesets-ingroup-get-data): Use string-match-p.
6682 * find-file.el (ff-other-file-name, ff-other-file-name)
6683 (ff-find-the-other-file, ff-cc-hh-converter):
6684 Remove unused local variables.
6685 (ff-get-file-name): Use string-match-p.
6686 (ff-all-dirs-under): Use ignore-errors.
6688 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6689 (follow-select-if-visible): Remove unused local variable.
6691 * forms.el (read-file-filter): Move declaration.
6692 (forms--make-format, forms--make-parser, forms-insert-record):
6693 Quote function with #'.
6694 (forms--update): Use string-match-p. Quote function with #'.
6696 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6697 (help-make-xrefs): Use looking-at-p.
6698 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6700 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6701 (ibuffer-confirm-operation-on): Use string-match-p.
6703 * msb.el (msb-item-handler, msb-dired-item-handler):
6704 Mark unused arguments.
6706 * ses.el (ses-decode-cell-symbol)
6707 (ses-kill-override): Remove unused local variable.
6708 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6709 (ses-load): Use ignore-errors, looking-at-p.
6710 (ses-jump-safe): Use ignore-errors.
6711 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6713 * tabify.el (untabify, tabify): Mark unused arguments.
6715 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6716 Mark unused argument.
6717 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6718 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6720 * emacs-lisp/timer.el (timer--time): Define setter with
6721 gv-define-setter to avoid deprecation warning.
6723 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6724 (*record-cmpl-statistics-p*): Remove (was commented out).
6725 (cmpl-statistics-block): Remove (body was commented out).
6726 All callers changed.
6727 (add-completions-from-buffer, load-completions-from-file):
6728 Remove unused variables.
6730 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6732 * filecache.el (file-cache-delete-file-list):
6733 Print message only when told so.
6734 (file-cache-files-matching): Use #' in mapconcat argument.
6736 * ffap.el (ffap-url-at-point): Fix reference to variable
6737 thing-at-point-default-mail-uri-scheme.
6739 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * subr.el (define-error): New function.
6742 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6743 error-file-not-found and define with define-error.
6744 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6745 and define with define-error.
6746 * userlock.el (file-locked, file-supersession):
6747 * simple.el (mark-inactive):
6748 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6749 * progmodes/ada-mode.el (ada-mode-errors):
6750 * play/life.el (life-extinct):
6751 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6752 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6753 * nxml/rng-util.el (rng-error):
6754 * nxml/rng-uri.el (rng-uri-error):
6755 * nxml/rng-match.el (rng-compile-error):
6756 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6757 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6758 * nxml/nxml-rap.el (nxml-scan-error):
6759 * nxml/nxml-outln.el (nxml-outline-error):
6760 * net/soap-client.el (soap-error):
6761 * net/gnutls.el (gnutls-error):
6762 * net/ange-ftp.el (ftp-error):
6763 * mpc.el (mpc-proc-error):
6764 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6765 (json-number-format, json-string-escape, json-string-format)
6766 (json-key-format, json-object-format):
6767 * jka-compr.el (compression-error):
6768 * international/quail.el (quail-error):
6769 * international/kkc.el (kkc-error):
6770 * emacs-lisp/ert.el (ert-test-failed):
6771 * calc/calc.el (calc-error, inexact-result, math-overflow)
6773 * bookmark.el (bookmark-error-no-filename):
6774 * epg.el (epg-error): Define with define-error.
6776 * time.el (display-time-event-handler)
6777 (display-time-next-load-average): Don't call sit-for since it seems
6778 unnecessary (bug#15045).
6780 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6781 Use #' instead of ' to quote functions.
6782 (checkdoc-output-mode): Use setq-local.
6783 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6784 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6785 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6786 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6787 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6788 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6789 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6790 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6792 * ido.el (ido-completion-help): Fix up compiler warning.
6794 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6796 * frameset.el (frameset-p): Add autoload cookie.
6797 (frameset--jump-to-register): New function, based on code moved from
6799 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6801 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6802 (frameset-restore, frameset-save, frameset-session-filter-alist):
6803 Remove declarations.
6804 (register-alist): Doc fix.
6805 (frameset-to-register): Move to frameset.el.
6806 (jump-to-register, describe-register-1): Remove frameset-specific code.
6808 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6810 * allout-widgets.el (allout-widgets-pre-command-business)
6811 (allout-widgets-post-command-business)
6812 (allout-widgets-after-change-handler)
6813 (allout-decorate-item-and-context, allout-set-boundary-marker)
6814 (allout-body-modification-handler)
6815 (allout-graphics-modification-handler): Mark ignored arguments.
6816 (allout-widgets-post-command-business)
6817 (allout-widgets-exposure-change-processor)
6818 (allout-widgets-exposure-undo-processor)
6819 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6820 (allout-parse-item-at-point, allout-decorate-item-guides)
6821 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6822 * allout.el (epa-passphrase-callback-function): Declare.
6823 (allout-overlay-insert-in-front-handler)
6824 (allout-overlay-interior-modification-handler)
6825 (allout-isearch-end-handler, allout-chart-siblings)
6826 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6827 (allout-yank-processing, allout-process-exposed)
6828 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6829 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6830 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6831 (lisp-indent-defform): Mark ignored arguments.
6832 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6833 (calculate-lisp-indent): Remove unused variables.
6834 * international/characters.el (indian-2-column, arabic-2-column)
6835 (tibetan): Mark ignored arguments.
6836 (use-cjk-char-width-table): Mark ignored arguments.
6837 Remove unused variables.
6838 * international/fontset.el (build-default-fontset-data)
6839 (x-compose-font-name, create-fontset-from-fontset-spec):
6840 Mark ignored arguments.
6841 (fontset-plain-name): Remove unused variables.
6842 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6843 (keyboard-coding-system): Mark ignored arguments.
6844 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6845 * help.el (resize-temp-buffer-window):
6846 * window.el (display-buffer-in-major-side-window)
6847 (display-buffer-in-side-window, display-buffer-in-previous-window):
6848 Remove unused variables.
6849 * isearch.el (isearch-forward-symbol):
6850 * version.el (emacs-bzr-version-bzr):
6851 * international/mule-cmds.el (current-language-environment):
6852 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6854 * term/pc-win.el (x-list-fonts, x-display-planes)
6855 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6856 (x-server-version, x-display-screens, x-display-mm-height)
6857 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6858 (x-selection-owner-p, x-own-selection-internal)
6859 (x-disown-selection-internal, x-get-selection-internal)
6860 (msdos-initialize-window-system):
6861 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6862 * term/x-win.el (x-handle-no-bitmap-icon):
6863 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6864 (vc-default-find-file-hook, vc-default-extra-menu):
6865 Mark ignored arguments.
6867 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6869 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6870 break-condition in the context of the debugged code (bug#12685).
6872 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6875 Do not use an overlay to highlight the last prompt. (Bug#14744)
6876 (comint-mode): Make comint-last-prompt buffer local.
6877 (comint-last-prompt): New variable.
6878 (comint-last-prompt-overlay): Remove. Superseded by
6880 (comint-snapshot-last-prompt, comint-output-filter):
6881 Use comint-last-prompt.
6883 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6885 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6886 (frameset-save): Check validity of the resulting frameset.
6888 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6890 * ido.el (ido-record-command): Add doc string.
6892 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6894 * frameset.el (frameset): Do not disable creation of the default
6895 frameset-p predicate. Doc fix.
6896 (frameset-valid-p): New function, copied from the old predicate-p.
6897 Add additional checks.
6898 (frameset-restore): Check with frameset-valid-p.
6899 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6900 (frameset-name, frameset-description, frameset-properties)
6901 (frameset-states): Add docstring.
6902 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6903 (frameset-filter-alist): Doc fixes.
6905 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6907 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6909 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6911 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6912 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6913 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6914 (byte-compile-normal-call): Remove obsolescence check.
6916 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6918 * frameset.el (frameset-restore): Doc fix.
6920 * register.el (frameset-frame-id, frameset-frame-with-id)
6921 (frameset-p, frameset-restore, frameset-save): Declare.
6922 (register-alist): Document framesets.
6923 (frameset-session-filter-alist): Declare.
6924 (frameset-to-register): New function.
6925 (jump-to-register): Implement jumping to framesets. Doc fix.
6926 (describe-register-1): Describe framesets.
6928 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6930 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6932 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6933 Use lexical-binding.
6935 * frameset.el (frameset): Use type vector, not list (incompatible
6936 change). Do not declare a new constructor, use the default one.
6937 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6938 `name' and `description', respectively, and add read-only slot
6939 `timestamp'. Doc fixes.
6940 (frameset-copy, frameset-persistent-filter-alist)
6941 (frameset-filter-alist, frameset-switch-to-gui-p)
6942 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6943 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6944 (frameset-filter-iconified, frameset-keep-original-display-p):
6946 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6947 Rename from frameset-filter-(save|restore)-param. All callers changed.
6949 (frameset-p): Adapt to change to vector and be more thorough.
6950 Change arg name to OBJECT. Doc fix.
6951 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6952 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6953 All callers changed.
6954 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6955 All callers changed.
6956 (frameset--record-minibuffer-relationships): Rename from
6957 frameset--process-minibuffer-frames. All callers changed.
6958 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6959 Use new default constructor (again). Doc fix.
6960 (frameset--find-frame-if): Rename from `frameset--find-frame.
6961 All callers changed.
6962 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6963 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6965 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6966 PARAMETERS and WINDOW-STATE, respectively.
6967 (frameset-restore): Add new keyword argument PREDICATE.
6968 Reset frameset--target-display to nil. Doc fix.
6970 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6972 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6974 (bat-mode-syntax-table): Mark \n as end-of-comment.
6975 (bat-font-lock-keywords): Remove comment rule.
6977 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6978 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6980 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6981 (byte-compile-callargs-warn): Use `push'.
6982 (byte-compile-arglist-warn): Ignore higher-order "calls".
6983 (byte-compile-file-form-autoload): Use `pcase'.
6984 (byte-compile-function-form): If quoting a symbol, check that it exists.
6986 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6988 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6989 and add a few popular commands found in batch files.
6990 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6991 (dos-mode): Doc fixes.
6993 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6995 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6996 (dos-mode): Use setq-local. Add space after "rem".
6997 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6998 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7000 2013-08-07 Arni Magnusson <arnima@hafro.is>
7002 * progmodes/dos.el: New file.
7003 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7006 2013-08-06 Glenn Morris <rgm@gnu.org>
7008 * calendar/calendar.el: Add new faces, and day-header-array.
7009 (calendar-weekday-header, calendar-weekend-header)
7010 (calendar-month-header): New faces.
7011 (calendar-day-header-construct): New function.
7012 (calendar-day-header-width): Also :set calendar-day-header-array.
7013 (calendar-american-month-header, calendar-european-month-header)
7014 (calendar-iso-month-header): Use calendar- faces.
7015 (calendar-generate-month):
7016 Use calendar-day-header-array for day headers; apply faces to them.
7017 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7018 (calendar-abbrev-construct): Add optional maxlen argument.
7019 (calendar-day-name-array): Doc fix.
7020 (calendar-day-name-array, calendar-abbrev-length)
7021 (calendar-day-abbrev-array):
7022 Also :set calendar-day-header-array, and maybe redraw.
7023 (calendar-day-header-array): New option. (Bug#15007)
7024 (calendar-font-lock-keywords): Set to nil and make obsolete.
7025 (calendar-day-name): Add option to use header array.
7027 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7029 * net/shr.el (shr-render-td): Remove debugging.
7030 (shr-render-td): Make width computation consistent by defaulting
7031 all zero-width columns to 10 characters. This may not be optimal,
7032 but it's at least consistent.
7033 (shr-make-table-1): Redo last change to fix the real problem in
7036 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7038 * files.el (cache-long-line-scans):
7039 Make obsolete alias to `cache-long-scans'.
7041 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7043 * frameset.el (frameset, frameset-filter-alist)
7044 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7045 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7046 (frameset-compute-pos): Rename from frameset--compute-pos,
7048 (frameset-move-onscreen): Use frameset-compute-pos.
7049 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7051 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7052 Fix typos in docstrings.
7054 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7056 * frame.el (get-other-frame): Tiny cleanup.
7058 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7060 * vc/vc.el (vc-default-ignore-completion-table):
7061 Silence byte-compiler warning.
7063 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7064 slot, which can indeed be nil.
7065 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7066 Move entry for `left' from persistent to live filter alist.
7067 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7069 (frameset-filter-params): When restoring a frame, copy items added to
7070 `filtered', to avoid unwittingly modifying the original parameters.
7071 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7072 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7074 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7075 to use looking-at-p instead of looking-at. (Bug#15028)
7077 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7079 Revert introduction of isearch-filter-predicates (bug#14714).
7080 Rely on add-function instead.
7081 * isearch.el (isearch-filter-predicates): Rename it back to
7082 isearch-filter-predicate.
7083 (isearch-message-prefix): Use advice-function-mapc and advice
7084 properties to get the isearch-message-prefix.
7085 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7086 instead of run-hook-with-args-until-failure.
7087 (isearch-filter-visible): Not obsolete any more.
7088 * loadup.el: Preload nadvice.
7089 * replace.el (perform-replace): Revert to funcall
7090 instead of run-hook-with-args-until-failure.
7091 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7092 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7093 dired-isearch-filenames-toggle; make it into a proper minor mode.
7094 Use add/remove-function.
7095 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7096 Call the minor-mode rather than add/remove-hook.
7097 (dired-isearch-filter-filenames):
7098 Remove isearch-message-prefix property.
7099 * info.el (Info--search-loop): New function, extracted from Info-search.
7100 Funcall isearch-filter-predicate instead of
7101 run-hook-with-args-until-failure isearch-filter-predicates.
7102 (Info-search): Use it.
7103 (Info-mode): Use isearch-filter-predicate instead of
7104 isearch-filter-predicates.
7106 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7108 Do not call to `selected-window' where it is assumed by default.
7109 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7110 `window-hscroll', `window-width', `window-height', `window-buffer',
7111 `window-frame', `window-start', `window-point', `next-window'
7112 and `window-display-table'.
7113 * abbrev.el (abbrev--default-expand):
7114 * bs.el (bs--show-with-configuration):
7115 * buff-menu.el (Buffer-menu-mouse-select):
7116 * calc/calc.el (calc):
7117 * calendar/calendar.el (calendar-generate-window):
7118 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7120 * comint.el (send-invisible, comint-dynamic-complete-filename)
7121 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7122 * completion.el (complete):
7123 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7124 * disp-table.el (describe-current-display-table):
7125 * doc-view.el (doc-view-insert-image):
7126 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7127 * ehelp.el (with-electric-help):
7128 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7129 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7130 * emacs-lisp/helper.el (Helper-help-scroller):
7131 * emulation/cua-base.el (cua--post-command-handler-1):
7132 * eshell/esh-mode.el (eshell-output-filter):
7133 * ffap.el (ffap-gnus-wrapper):
7134 * help-macro.el (make-help-screen):
7135 * hilit-chg.el (highlight-compare-buffers):
7136 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7137 * hl-line.el (global-hl-line-highlight):
7138 * icomplete.el (icomplete-simple-completing-p):
7139 * isearch.el (isearch-done):
7140 * jit-lock.el (jit-lock-stealth-fontify):
7141 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7142 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7143 * mpc.el (mpc-tagbrowser, mpc):
7144 * net/rcirc.el (rcirc-any-buffer):
7145 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7146 * play/landmark.el (landmark-max-width, landmark-max-height):
7147 * play/zone.el (zone):
7148 * progmodes/compile.el (compilation-goto-locus):
7149 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7150 * progmodes/etags.el (find-tag-other-window):
7151 * progmodes/fortran.el (fortran-column-ruler):
7152 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7153 * progmodes/verilog-mode.el (verilog-point-text):
7154 * reposition.el (reposition-window):
7155 * rot13.el (toggle-rot13-mode):
7156 * server.el (server-switch-buffer):
7157 * shell.el (shell-dynamic-complete-command)
7158 (shell-dynamic-complete-environment-variable):
7159 * simple.el (insert-buffer, set-selective-display)
7160 (delete-completion-window):
7161 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7162 (speedbar-recenter):
7163 * startup.el (fancy-splash-head):
7164 * textmodes/ispell.el (ispell-command-loop):
7165 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7166 * tutorial.el (help-with-tutorial):
7167 * vc/add-log.el (add-change-log-entry):
7168 * vc/compare-w.el (compare-windows):
7169 * vc/ediff-help.el (ediff-indent-help-message):
7170 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7171 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7172 (ediff-setup-control-frame):
7173 * vc/emerge.el (emerge-position-region):
7174 * vc/pcvs-util.el (cvs-bury-buffer):
7175 * window.el (walk-windows, mouse-autoselect-window-select):
7176 * winner.el (winner-set-conf, winner-undo): Related users changed.
7178 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7180 * frameset.el (frameset--set-id): Doc fix.
7181 (frameset-frame-id, frameset-frame-id-equal-p)
7182 (frameset-locate-frame-id): New functions.
7183 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7184 (frameset-restore): Use them.
7186 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7188 Do not call to `selected-frame' where it is assumed by default.
7189 Affected functions are `raise-frame', `redraw-frame',
7190 `frame-first-window', `frame-terminal' and `delete-frame'.
7191 * calendar/appt.el (appt-disp-window):
7192 * epg.el (epg-wait-for-completion):
7193 * follow.el (follow-delete-other-windows-and-split)
7194 (follow-avoid-tail-recenter):
7195 * international/mule.el (set-terminal-coding-system):
7196 * mail/rmail.el (rmail-mail-return):
7197 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7198 * progmodes/f90.el (f90-add-imenu-menu):
7199 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7200 * server.el (server-switch-buffer):
7201 * simple.el (delete-completion-window):
7203 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7204 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7205 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7206 * vc/ediff.el (ediff-documentation): Related users changed.
7207 * frame.el (selected-terminal): Remove the leftover.
7209 2013-08-05 Glenn Morris <rgm@gnu.org>
7211 * calendar/calendar.el (calendar-generate-month):
7212 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7213 (calendar-generate-month, calendar-font-lock-keywords):
7214 Fix for calendar-day-header-width > length of any day name.
7216 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7218 * desktop.el (desktop-clear): Use new name of sort predicate.
7220 * frameset.el (frameset): Add docstring. Move :version property to its
7222 (frameset-copy): Rename from copy-frameset.
7223 (frameset-p): Check more thoroughly.
7224 (frameset-prop): Do not check for :version, which is no longer a prop.
7225 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7226 Use new :never value instead of t.
7227 (frameset-filter-alist): Expand and clarify docstring.
7228 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7229 (frameset-filter-minibuffer, frameset-filter-save-param)
7230 (frameset-filter-restore-param, frameset-filter-iconified):
7231 Add pointer to docstring of frameset-filter-alist.
7232 (frameset-filter-params): Rename filter values to be more meaningful:
7233 :never instead of t, and reverse the meanings of :save and :restore.
7234 (frameset--process-minibuffer-frames): Clarify error message.
7235 (frameset-save): Avoid unnecessary and confusing call to framep.
7236 Use new BOA constructor for framesets.
7237 (frameset--reuse-list): Doc fix.
7238 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7239 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7240 (frameset-minibufferless-first-p): Doc fix.
7241 Rename from frameset-sort-frames-for-deletion.
7242 (frameset-restore): Doc fixes. Use new function names.
7243 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7245 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7247 * desktop.el (desktop-restore-forces-onscreen)
7248 (desktop-restore-reuses-frames): Document :keyword constant values.
7249 (desktop-filter-parameters-alist): Remove, now identical to
7250 frameset-filter-alist.
7251 (desktop--filter-tty*): Remove, moved to frameset.el.
7252 (desktop-save-frameset, desktop-restore-frameset):
7253 Do not pass :filters argument.
7255 * frameset.el (frameset-live-filter-alist)
7256 (frameset-persistent-filter-alist): New variables.
7257 (frameset-filter-alist): Use them. Add autoload cookie.
7258 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7259 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7260 `frameset--id' (it's supposed to be internal to frameset.el).
7261 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7262 (frameset--initial-params): New function.
7263 (frameset--get-frame): Use it. Doc fix.
7264 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7265 Accept :all, not 'all.
7266 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7267 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7268 with fbound symbols. Fix frame id matching, and remove matching ids if
7269 the frame being restored is deleted. Obey :delete.
7271 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7273 * subr.el (macrop): New function.
7274 (text-clone--maintaining): New var.
7275 (text-clone--maintain): Rename from text-clone-maintain. Use it
7276 instead of inhibit-modification-hooks.
7278 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7279 a proxy, so as handle autoloads and redefinitions of the target.
7280 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7282 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7283 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7284 (pcase--mutually-exclusive-p): New function.
7285 (pcase--split-consp): Use it.
7286 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7287 mutually exclusive with the current predicate.
7289 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7290 (edebug-macrop): Remove. Use `macrop' instead.
7291 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7293 * eshell/esh-cmd.el (eshell-macrop):
7294 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7296 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7298 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7299 (advice-mapc): New function, using it.
7300 (advice-function-member-p): New function.
7301 (advice--normalize): Store the cdr in advice--saved-rewrite since
7302 that's the part that will be changed.
7303 (advice--symbol-function): New function.
7304 (advice-remove): Handle removal before the function is defined.
7305 Adjust to new advice--saved-rewrite.
7306 (advice-member-p): Use advice-function-member-p and
7307 advice--symbol-function.
7309 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7311 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7312 (frameset-filter-minibuffer): Doc fix.
7313 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7314 (frameset--set-id, frameset--process-minibuffer-frames)
7315 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7316 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7318 * desktop.el (desktop-clear): Only delete frames when called
7319 interactively and desktop-restore-frames is non-nil. Doc fix.
7320 (desktop-read): Set desktop-saved-frameset to nil.
7322 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7324 * vc/vc.el (vc-ignore): Rewrite.
7325 (vc-default-ignore-completion-table):
7327 (vc--add-line, vc--remove-regexp): New functions.
7329 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7330 (vc-svn-ignore-completion-table): New function.
7332 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7333 (vc-hg-ignore-completion-table):
7334 (vc-hg-find-ignore-file): New functions.
7336 * vc/vc-git.el (vc-git-ignore): Rewrite.
7337 (vc-git-ignore-completion-table):
7338 (vc-git-find-ignore-file): New functions.
7340 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7342 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7343 (vc-bzr-ignore-completion-table):
7344 (vc-bzr-find-ignore-file): New functions.
7346 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7348 * frameset.el (frameset-prop): New function and setter.
7349 (frameset-save): Do not modify frame list passed by the caller.
7351 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7353 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7355 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7357 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7358 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7360 * custom.el (custom-initialize-default, custom-initialize-set)
7361 (custom-initialize-reset, custom-initialize-changed): Affect the
7362 toplevel-default-value (bug#6275, bug#14586).
7363 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7366 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7368 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7369 Add cl-def* expressions.
7371 * frameset.el (frameset-filter-params): Fix order of arguments.
7373 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7375 Move code related to saving frames to frameset.el.
7376 * desktop.el: Require frameset.
7377 (desktop-restore-frames): Doc fix.
7378 (desktop-restore-reuses-frames): Rename from
7379 desktop-restoring-reuses-frames.
7380 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7381 (desktop-clear): Clear frames too.
7382 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7383 (desktop--filter-tty*, desktop-save, desktop-read):
7384 Use frameset functions.
7385 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7386 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7387 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7388 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7389 (desktop--process-minibuffer-frames, desktop-save-frames)
7390 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7391 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7392 (desktop--sort-states, desktop-restoring-frames-p)
7393 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7394 (desktop-restoring-frameset-p, desktop-restore-frameset)
7395 (desktop--check-dont-save, desktop-save-frameset): New functions.
7396 (desktop--app-id): New constant.
7397 (desktop-first-buffer, desktop-buffer-ok-count)
7398 (desktop-buffer-fail-count): Move before first use.
7399 * frameset.el: New file.
7401 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7403 * files.el: Use lexical-binding.
7404 (dir-locals-read-from-file): Remove unused `err' variable.
7405 (hack-dir-local-variables--warned-coding): New var.
7406 (hack-dir-local-variables): Use it to avoid repeated warnings.
7407 (make-backup-file-name--default-function): New function.
7408 (make-backup-file-name-function): Use it as default.
7409 (buffer-stale--default-function): New function.
7410 (buffer-stale-function): Use it as default.
7411 (revert-buffer-insert-file-contents--default-function): New function.
7412 (revert-buffer-insert-file-contents-function): Use it as default.
7413 (insert-directory): Avoid add-to-list.
7415 * autorevert.el (auto-revert-handler): Simplify.
7416 Use buffer-stale--default-function.
7418 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7420 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7422 * whitespace.el (whitespace-ensure-local-variables): New function.
7423 (whitespace-cleanup-region): Call it.
7424 (whitespace-turn-on): Call it.
7426 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7428 Complete file name handlers.
7430 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7431 (tramp-handle-verify-visited-file-modtime)
7432 (tramp-handle-file-notify-rm-watch): New functions.
7433 (tramp-call-process): Do not bind `default-directory'.
7435 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7436 Order alphabetically.
7437 [access-file, add-name-to-file, dired-call-process]:
7438 [dired-compress-file, file-acl, file-notify-rm-watch]:
7439 [file-ownership-preserved-p, file-selinux-context]:
7440 [make-directory-internal, make-symbolic-link, set-file-acl]:
7441 [set-file-selinux-context, set-visited-file-modtime]:
7442 [verify-visited-file-modtime]: Add handler.
7443 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7445 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7446 [file-notify-add-watch, file-notify-rm-watch]:
7447 [set-file-times, set-visited-file-modtime]:
7448 [verify-visited-file-modtime]: Add handler.
7449 (with-tramp-gvfs-error-message)
7450 (tramp-gvfs-handle-set-visited-file-modtime)
7451 (tramp-gvfs-fuse-file-name): Remove.
7452 (tramp-gvfs-handle-file-notify-add-watch)
7453 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7454 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7456 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7457 Order alphabetically.
7458 [file-notify-rm-watch ]: Use default Tramp handler.
7459 [executable-find]: Remove private handler.
7460 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7461 `default-directory'.
7462 (tramp-sh-handle-executable-find)
7463 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7464 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7465 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7466 Do not use `format' in `tramp-message'.
7468 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7469 [file-notify-rm-watch, set-visited-file-modtime]:
7470 [verify-visited-file-modtime]: Add handler.
7471 (tramp-smb-call-winexe): Do not bind `default-directory'.
7473 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7475 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7477 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7479 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7481 (log-view-diff-changeset): Same.
7482 (log-view-diff-common): Call backend command `previous-revision'
7483 to find out the previous revision, in both cases. Swap the
7484 variables `to' and `fr', so that `fr' usually refers to the
7485 earlier revision (Bug#14989).
7487 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7489 * ibuf-ext.el (ibuffer-filter-by-filename):
7490 Make it work with dired buffers too.
7492 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7494 * emacs-lisp/re-builder.el (reb-color-display-p):
7495 * files.el (save-buffers-kill-terminal):
7496 * net/browse-url.el (browse-url):
7497 * server.el (server-save-buffers-kill-terminal):
7498 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7499 Prefer nil to selected-frame for the first arg of frame-parameter.
7501 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7503 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7505 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7507 * minibuffer.el (completion--twq-all): Try and preserve each
7508 completion's case choice (bug#14907).
7510 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7512 * net/network-stream.el (open-network-stream): Mention the new
7513 :nogreeting parameter.
7514 (network-stream-open-starttls): Use the :nogreeting parameter
7517 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7519 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7520 more natural than popping.
7522 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7523 (shr-urlify): Highlight under mouse.
7525 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7527 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7529 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7531 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7534 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7535 point-min==1. Fix search string. Fix parentheses missing.
7537 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7538 assume point-min==1. Fix search string. Fix parentheses missing.
7540 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7542 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7545 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7547 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7548 initial frame is minibuffer-less. (Bug#14841)
7550 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7552 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7555 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7556 (tramp-maybe-open-connection): Use it.
7558 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7560 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7561 minimal set of parameters passed when creating a frame, because
7562 the minibuffer status of a frame cannot be changed later.
7564 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7566 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7567 replace-regexp-in-string and inadvertent omissions in previous change.
7568 (todo-filter-items): Ensure only file names are comma-separated in
7569 name of filtered items buffer.
7571 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7573 * desktop.el: Optionally force offscreen frames back onscreen.
7574 (desktop-restoring-reuses-frames): New option.
7575 (desktop--compute-pos, desktop--move-onscreen): New functions.
7576 (desktop--make-frame): Use desktop--move-onscreen.
7578 2013-07-27 Alan Mackenzie <acm@muc.de>
7580 Fontify a Java generic method as a function.
7581 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7584 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7586 * calendar/todo-mode.el: Add command to rename todo files.
7587 (todo-rename-file): New command.
7588 (todo-key-bindings-t): Add key binding for it. Change the
7589 bindings of todo-filter-regexp-items(-multifile) to use `x'
7590 instead of `r', since the latter is better suited to the new
7593 2013-07-27 Alan Mackenzie <acm@muc.de>
7595 Make Java try-with-resources statement parse properly.
7596 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7597 (c-block-stmt-1-2-key): New language constants/variables.
7598 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7599 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7600 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7601 with c-block-stmt-1-2-key.
7603 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7605 * desktop.el (desktop--make-frame): Apply most frame parameters after
7606 creating the frame to force (partially or totally) offscreen frames to
7607 be restored as such.
7609 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7611 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7614 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7616 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7617 `base' arg of backtrace-frame.
7619 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7621 * simple.el (list-processes): Doc fix.
7623 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7625 * desktop.el (desktop--select-frame):
7626 Try harder to reuse existing frames.
7628 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7630 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7631 (edebug-eval): Use backtrace-eval.
7632 (edebug--display, edebug--recursive-edit): Don't let-bind the
7633 edebug-outer-* vars that keep track of variables we locally let-bind.
7634 (edebug-outside-excursion): Don't restore outside values of locally
7636 (edebug--display): Use user-error.
7637 (cl-lexical-debug, cl-debug-env): Remove.
7639 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7641 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7642 are restored to be sure that they are visible before deleting any
7645 2013-07-26 Matthias Meulien <orontee@gmail.com>
7647 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7648 vc-print-root-log. (Bug#14948)
7650 2013-07-26 Richard Stallman <rms@gnu.org>
7652 Add aliases for encrypting mail.
7653 * epa.el (epa-mail-aliases): New option.
7654 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7655 Bind inhibit-read-only so read-only text doesn't ruin everything.
7656 (epa-mail-default-recipients): New subroutine broken out.
7657 Handle epa-mail-aliases.
7659 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7661 Add support for lexical variables to the debugger's `e' command.
7662 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7663 vars, except for debugger-outer-match-data.
7664 (debugger-frame-number): Move check for "on a function call" from
7665 callers into it. Add `skip-base' argument.
7666 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7667 (debugger-env-macro): Only reset the state stored in non-variables,
7668 i.e. current-buffer and match-data.
7669 (debugger-eval-expression): Rewrite using backtrace-eval.
7670 * subr.el (internal--called-interactively-p--get-frame): Remove.
7671 (called-interactively-p):
7672 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7673 `base' arg of backtrace-frame instead.
7675 2013-07-26 Glenn Morris <rgm@gnu.org>
7677 * align.el (align-regexp): Doc fix. (Bug#14857)
7678 (align-region): Explicit error if subexpression missing/does not match.
7680 * simple.el (global-visual-line-mode):
7681 Do not duplicate the mode lighter. (Bug#14858)
7683 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7685 * window.el (display-buffer): In display-buffer bind
7686 split-window-keep-point to t, bug#14829.
7688 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7690 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7691 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7692 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7693 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7695 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7696 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7698 2013-07-25 Glenn Morris <rgm@gnu.org>
7700 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7702 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7704 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7705 parameter to modify-frame-parameters if the value has not changed;
7706 this is a workaround for bug#14949.
7707 (desktop--make-frame): On cl-delete-if call, check parameter name,
7710 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7712 * vc/vc.el (vc-ignore): New function.
7714 * vc/vc-svn.el (vc-svn-ignore): New function.
7716 * vc/vc-hg.el (vc-hg-ignore): New function.
7718 * vc/vc-git.el (vc-git-ignore): New function.
7720 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7721 (vc-dir-ignore): New function.
7723 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7724 (cvs-append-to-ignore): Move here from pcvs.el.
7726 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7728 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7730 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7732 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7733 (desktop-restore-frames): Warn when deleting an existing frame failed.
7735 2013-07-24 Glenn Morris <rgm@gnu.org>
7737 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7739 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7741 * filenotify.el (file-notify-supported-p):
7742 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7745 * autorevert.el (auto-revert-use-notify):
7746 (auto-revert-notify-add-watch):
7747 * net/tramp.el (tramp-file-name-for-operation):
7748 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7749 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7750 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7751 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7752 Remove `file-notify-supported-p' entry.
7754 2013-07-24 Glenn Morris <rgm@gnu.org>
7756 * printing.el: Replace all uses of deleted ps-windows-system,
7757 ps-lp-system, ps-flatten-list with lpr- versions.
7759 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7761 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7762 checked with memq (bug#14935).
7764 * files.el (revert-buffer-function): Use a non-nil default.
7765 (revert-buffer-preserve-modes): Declare var to
7766 provide access to the `preserve-modes' argument.
7767 (revert-buffer): Let-bind it.
7768 (revert-buffer--default): New function, extracted from revert-buffer.
7770 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7772 * lpr.el: Signal print errors more prominently.
7773 (print-region-function): Don't default to nil.
7774 (lpr-print-region): New function, extracted from print-region-1.
7775 Check lpr's return value and signal an error in case of problem.
7776 (print-region-1): Use it.
7777 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7779 (ps-printer-name): Default to nil.
7780 (ps-printer-name-option): Default to lpr-printer-switch.
7781 (ps-print-region-function): Don't default to nil.
7782 (ps-postscript-code-directory): Simplify default.
7783 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7784 (ps-string-list, ps-eval-switch, ps-flatten-list)
7785 (ps-flatten-list-1): Remove.
7786 (ps-multibyte-buffer): Avoid setq.
7787 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7788 (print-region-function, ps-print-region-function): Don't set them here.
7790 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7792 * ido.el (ido-fractionp):
7793 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7794 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7795 (ido-max-directory-size, ido-max-dir-file-cache)
7796 (ido-decorations): Doc fix.
7798 * ansi-color.el: Fix old URL.
7800 2013-07-23 Michael R. Mauger <michael@mauger.com>
7802 * progmodes/sql.el: Version 3.3
7803 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7804 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7805 (sql-interactive-remove-continuation-prompt): Rewrite, use
7806 functions above. Fix continuation prompt and complete output line
7808 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7809 redirected output buffer.
7810 (sql-mode): Restore deleted code (Bug#13591).
7812 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7814 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7816 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7818 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7820 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7821 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7822 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7824 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7826 * desktop.el (desktop-clear): Simplify; remove useless checks
7827 against invalid buffer names.
7828 (desktop-list*): Use cl-list*.
7829 (desktop-buffer-info, desktop-create-buffer): Simplify.
7831 2013-07-23 Leo Liu <sdl.web@gmail.com>
7833 * bookmark.el (bookmark-make-record): Restore NAME as a default
7836 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7838 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7839 extracted from autoload--insert-text.
7840 (autoload--insert-text): Remove.
7841 (autoload--print-cookie-text): New function, extracted from
7842 autoload--insert-cookie-text.
7843 (autoload--insert-cookie-text): Remove.
7844 (autoload-generate-file-autoloads): Adjust calls accordingly.
7846 * winner.el (winner-hook-installed-p): Remove.
7847 (winner-mode): Simplify accordingly.
7849 * subr.el (add-to-list): Fix compiler-macro when `append' is
7850 not constant. Don't use `cl-member' for the base case.
7852 * progmodes/subword.el: Fix boundary case (bug#13758).
7853 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7855 (subword-backward-regexp): Make it a constant.
7856 (subword-forward-internal): Don't treat a trailing capital as the
7857 beginning of a word.
7859 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7861 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7862 global value of tabulated-list-revert-hook (bug#14930).
7864 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7866 * desktop.el: Require 'cl-lib.
7867 (desktop-before-saving-frames-functions): New hook.
7868 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7869 for frames being saved. Rename from desktop--save-minibuffer-frames.
7870 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7871 Do not save frames with non-nil `desktop-dont-save' parameter.
7872 Filter out deleted frames.
7873 (desktop--find-frame): Use cl-find-if.
7874 (desktop--select-frame): Use cl-(first|second|third) to access values
7876 (desktop--make-frame): Use cl-delete-if.
7877 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7878 (desktop-restore-frames): Use cl-(first|second|third) to access values
7879 of desktop-mini. Look for visible frame at the end, not while
7882 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7883 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7884 Use string-match-p, looking-at-p (bug#14927).
7886 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7888 * desktop.el (desktop-saved-frame-states):
7889 Rename from desktop--saved-states; all users changed.
7890 (desktop-save-frames): Rename from desktop--save-frames.
7891 Do not save state to desktop file.
7892 (desktop-save): Save desktop-saved-frame-states to desktop file
7894 (desktop-restoring-frames-p): New function.
7895 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7896 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7897 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7899 * desktop.el: Correctly restore iconified frames.
7900 (desktop--filter-iconified-position): New function.
7901 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7903 2013-07-20 Glenn Morris <rgm@gnu.org>
7905 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7906 Let `message' do the formatting.
7907 (def-gdb-preempt-display-buffer): Add explicit format.
7909 * image-dired.el (image-dired-track-original-file):
7910 Use with-current-buffer.
7911 (image-dired-track-thumbnail): Use with-current-buffer.
7912 Avoid changing point of wrong window.
7914 * image-dired.el (image-dired-track-original-file):
7915 Avoid changing point of wrong window. (Bug#14909)
7917 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7919 * progmodes/gdb-mi.el (gdb-done-or-error):
7920 Guard against "%" in gdb output. (Bug#14127)
7922 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7924 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7927 * international/mule.el (coding-system-iso-2022-flags): Fix last
7930 2013-07-20 Kenichi Handa <handa@gnu.org>
7932 * international/mule.el (coding-system-iso-2022-flags):
7933 Add `8-bit-level-4'. (Bug#8522)
7935 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7937 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7940 * net/eww.el (eww-process-text-input): Allow inputting when the
7941 point is at the start of the line, as the properties aren't
7944 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7947 2013-07-19 Richard Stallman <rms@gnu.org>
7949 * epa.el (epa-popup-info-window): Doc fix.
7951 * subr.el (split-string): New arg TRIM.
7953 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7955 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7956 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7958 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7960 * filenotify.el (file-notify--library): Rename from
7961 `file-notify-support'. Do not autoload. Adapt all uses.
7962 (file-notify-supported-p): New defun.
7964 * autorevert.el (auto-revert-use-notify):
7965 Use `file-notify-supported-p' instead of `file-notify-support'.
7967 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7969 * net/tramp.el (tramp-file-name-for-operation):
7970 Add `file-notify-supported-p'.
7972 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7974 (tramp-sh-file-name-handler-alist): Add it as handler for
7975 `file-notify-supported-p '.
7977 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7978 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7979 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7980 Add `ignore' as handler for `file-notify-*' functions.
7982 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7984 * simple.el (line-move-partial, line-move): Don't start vscroll or
7985 scroll-up if the current line is not taller than the window.
7988 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7990 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7991 highlight question marks in the method names as strings.
7992 (ruby-block-beg-keywords): Inline.
7993 (ruby-font-lock-keyword-beg-re): Extract from
7994 `ruby-font-lock-keywords'.
7996 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7998 * frame.el (blink-cursor-blinks): New defcustom.
7999 (blink-cursor-blinks-done): New defvar.
8000 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8001 (blink-cursor-timer-function): Check if number of blinks has been
8003 (blink-cursor-suspend, blink-cursor-check): New defuns.
8005 2013-07-15 Glenn Morris <rgm@gnu.org>
8007 * edmacro.el (edmacro-format-keys): Fix previous change.
8009 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8011 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8012 The hack didn't work outside English locales anyway.
8014 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8016 * simple.el (define-alternatives): Rename from alternatives-define,
8017 per RMS' suggestion.
8019 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8021 * desktop.el (desktop-restore-frames): Change default to t.
8022 (desktop-restore-in-current-display): Now offer more options.
8023 (desktop-restoring-reuses-frames): New customization option.
8024 (desktop--saved-states): Doc fix.
8025 (desktop-filter-parameters-alist): New variable, renamed and expanded
8026 from desktop--excluded-frame-parameters.
8027 (desktop--target-display): New variable.
8028 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8029 (desktop--filter-tty*, desktop--filter-*-color)
8030 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8031 (desktop--filter-save-desktop-parm)
8032 (desktop-restore-in-original-display-p): New functions.
8033 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8034 (desktop--save-minibuffer-frames): New function, inspired by a similar
8035 function from Martin Rudalics.
8036 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8037 (desktop--restore-in-this-display-p): Remove.
8038 (desktop--find-frame): Rename from desktop--find-frame-in-display
8039 and add predicate argument.
8040 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8041 (desktop--reuse-list): New variable.
8042 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8044 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8046 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8048 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8050 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8052 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8053 Highlight conversion methods on Kernel.
8055 2013-07-13 Alan Mackenzie <acm@muc.de>
8057 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8058 and comment it out. This out-commenting enables certain C++
8059 declarations to be parsed correctly.
8061 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8063 * international/mule.el (define-coding-system): Doc fix.
8065 * simple.el (default-font-height): Don't call font-info if the
8066 frame's default font didn't change since the frame was created.
8069 2013-07-13 Leo Liu <sdl.web@gmail.com>
8071 * ido.el (ido-read-file-name): Guard against non-symbol value.
8073 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8075 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8078 2013-07-13 Leo Liu <sdl.web@gmail.com>
8080 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8081 ido-set-matches call. (Bug#6852)
8083 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8085 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8086 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8088 (ruby-font-lock-keywords): Distinguish calls to functions with
8089 module-like names from module references. Highlight character
8092 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8094 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8095 (gdb-send): Handle continued commands. (Bug#14847)
8097 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8099 * desktop.el (desktop--v2s): Remove unused local variable.
8100 (desktop-save-buffer): Make defvar-local; adjust docstring.
8101 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8102 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8104 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8106 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8108 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8110 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8113 2013-07-12 Glenn Morris <rgm@gnu.org>
8115 * doc-view.el: Require cl-lib at runtime too.
8116 (doc-view-remove-if): Remove.
8117 (doc-view-search-next-match, doc-view-search-previous-match):
8120 * edmacro.el: Require cl-lib at runtime too.
8121 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8122 (edmacro-mismatch, edmacro-subseq): Remove.
8124 * shadowfile.el: Require cl-lib.
8125 (shadow-remove-if): Remove.
8126 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8129 * wid-edit.el: Require cl-lib.
8130 (widget-choose): Use cl-remove-if.
8131 (widget-remove-if): Remove.
8133 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8134 (ebrowse-delete-if-not): Remove.
8135 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8136 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8137 Use cl-delete-if-not.
8139 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8141 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8142 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8144 2013-07-12 Leo Liu <sdl.web@gmail.com>
8146 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8148 2013-07-11 Glenn Morris <rgm@gnu.org>
8150 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8151 (edebug-gensym-index, edebug-gensym):
8152 Remove reimplementation of cl-gensym.
8153 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8155 * thumbs.el: Require cl-lib at run-time too.
8156 (thumbs-gensym-counter, thumbs-gensym):
8157 Remove reimplementation of cl-gensym.
8158 (thumbs-temp-file): Use cl-gensym.
8160 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8161 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8162 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8163 (ert--union, ert--gensym-counter, ert--gensym-counter)
8164 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8165 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8166 (ert-make-test-unbound, ert--expand-should-1)
8167 (ert--expand-should, ert--should-error-handle-error)
8168 (should-error, ert--explain-equal-rec)
8169 (ert--plist-difference-explanation, ert-select-tests)
8170 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8171 Use cl-lib functions rather than reimplementations.
8173 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8175 * net/tramp.el (tramp-methods): Extend docstring.
8176 (tramp-connection-timeout): New defcustom.
8177 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8178 (with-tramp-progress-reporter): Simplify.
8179 (tramp-process-actions): Improve messages.
8181 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8182 * net/tramp-sh.el (tramp-maybe-open-connection):
8183 Use `tramp-connection-timeout'.
8184 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8187 2013-07-11 Leo Liu <sdl.web@gmail.com>
8189 * ido.el (ido-read-file-name): Conform to the requirements of
8190 read-file-name. (Bug#11861)
8191 (ido-read-directory-name): Conform to the requirements of
8192 read-directory-name.
8194 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8196 * subr.el (delay-warning): New function.
8198 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8200 * simple.el (default-line-height): New function.
8201 (line-move-partial, line-move): Use it instead of computing the
8203 (line-move-partial): Always compute ROWH. If the last line is
8204 partially-visible, but its text is completely visible, allow
8205 cursor to enter such a partially-visible line.
8207 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8209 Improve error messages. (Bug#14808)
8211 * net/tramp.el (tramp-current-connection): New defvar, moved from
8213 (tramp-message-show-progress-reporter-message): Remove, not
8215 (tramp-error-with-buffer): Show message in minibuffer.
8216 Discard input before waiting. Reset connection timestamp.
8217 (with-tramp-progress-reporter): Improve messages.
8218 (tramp-process-actions): Use progress reporter. Delete process in
8219 case of error. Improve messages.
8221 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8222 Call `tramp-error-with-buffer' with vector and buffer.
8223 (tramp-current-connection): Remove.
8224 (tramp-maybe-open-connection): The car of
8225 `tramp-current-connection' are the first 3 slots of the vector.
8227 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8229 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8230 inside continued strings.
8232 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8234 Timestamp fixes for undo (Bug#14824).
8235 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8237 2013-07-10 Leo Liu <sdl.web@gmail.com>
8239 * files.el (require-final-newline): Allow safe local value.
8242 2013-07-09 Leo Liu <sdl.web@gmail.com>
8244 * ido.el (ido-read-directory-name): Handle fallback.
8245 (ido-read-file-name): Update DIR to ido-current-directory.
8247 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8249 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8251 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8252 "autoload". Remove "warn lower camel case" section, previously
8253 commented out. Highlight negation char. Do not highlight the
8254 target in singleton method definitions.
8256 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8258 * faces.el (tty-setup-hook): Declare the hook.
8260 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8261 and detect when a guard/pred depends on local vars (bug#14773).
8262 (pcase--u1): Adjust caller.
8264 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8266 * simple.el (line-move-partial, line-move): Account for
8268 (line-move-partial): Avoid setting vscroll when the last
8269 partially-visible line in window is of default height.
8271 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8273 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8276 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8278 * subr.el (read-quoted-char): Remove unused local variable `char'.
8280 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8282 * ediff.el (ediff-version): Version update.
8283 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8284 (ediff-merge-with-ancestor-command, ediff-directories-command)
8285 (ediff-directories3-command, ediff-merge-directories-command)
8286 (ediff-merge-directories-with-ancestor-command): New functions.
8287 All are command-line interfaces to ediff: to facilitate calling
8288 Emacs with the appropriate ediff functions invoked.
8290 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8291 (viper-save-kill-buffer): Check if buffer is modified.
8293 * viper.el (viper-version): Version update.
8294 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8296 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8298 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8299 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8300 (viper-intercept-ESC-key): Simplify.
8301 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8302 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8303 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8304 (viper-setup-ESC-to-escape): New functions.
8305 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8306 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8308 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8310 * simple.el (default-font-height, window-screen-lines):
8312 (line-move, line-move-partial): Use them instead of
8313 frame-char-height and window-text-height. This makes scrolling
8314 text smoother when the buffer's default face uses a font that is
8315 different from the frame's default font.
8317 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8319 * files.el (write-file): Do not display confirm dialog for NS,
8320 it does its own dialog, which can't be canceled (Bug#14578).
8322 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8324 * simple.el (line-move-partial): Adjust the row returned by
8325 posn-at-point for the current window-vscroll. (Bug#14567)
8327 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8329 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8330 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8333 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8335 * window.el (window-state-put-stale-windows): New variable.
8336 (window--state-put-2): Save list of windows without matching buffer.
8337 (window-state-put): Remove "bufferless" windows if possible.
8339 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8341 * simple.el (alternatives-define): Remove leftover :group keyword.
8344 2013-07-06 Leo Liu <sdl.web@gmail.com>
8346 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8347 (ido-enable-virtual-buffers): New variable.
8348 (ido-buffer-internal, ido-toggle-virtual-buffers)
8349 (ido-make-buffer-list): Use it.
8350 (ido-exhibit): Support turning on and off virtual buffers
8353 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8355 * simple.el (alternatives-define): New macro.
8357 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8359 * subr.el (read-quoted-char): Use read-key.
8360 (sit-for): Let read-event decode tty input (bug#14782).
8362 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8364 * calendar/todo-mode.el: Add handling of file deletion, both by
8365 mode command and externally. Fix various related bugs.
8366 Clarify Commentary and improve some documentation strings and code.
8367 (todo-delete-file): New command.
8368 (todo-check-file): New function.
8369 (todo-show): Handle external deletion of the file we're trying to
8370 show (bug#14688). Replace called-interactively-p by an optional
8371 prefix argument to avoid problematic interaction with catch form
8372 when byte compiled (bug#14702).
8373 (todo-quit): Handle external deletion of the archive's todo file.
8374 Make sure the buffer that was visiting the archive file is still
8375 live before trying to bury it.
8376 (todo-category-completions): Handle external deletion of any
8377 category completion files.
8378 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8379 of todo files, in case of external deletion.
8380 (todo-add-file): Replace unnecessary setq by let-binding.
8381 (todo-find-archive): Check whether there are any archives.
8382 Replace unnecessary setq by let-binding.
8383 (todo-archive-done-item): Use find-file-noselect to get the
8384 archive buffer whether or not the archive already exists.
8385 Remove superfluous code. Use file size instead of buffer-file-name to
8386 check if the archive is new; if it is, update list of archives.
8387 (todo-default-todo-file): Allow nil to be a valid value for when
8388 there are no todo files.
8389 (todo-reevaluate-default-file-defcustom): Use corrected definition
8390 of todo-default-todo-file.
8391 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8392 (todo-delete-category, todo-show-categories-table)
8393 (todo-category-number): Clarify comment.
8394 (todo-filter-items): Clarify documentation string.
8395 (todo-show-current-file, todo-display-as-todo-file)
8396 (todo-reset-and-enable-done-separator): Tweak documentation string.
8397 (todo-done-separator): Make separator length window-width, since
8398 bug#2749 is now fixed.
8400 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8402 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8403 Support both "gvfs-monitor-dir" and "inotifywait".
8404 (tramp-sh-file-inotifywait-process-filter): Rename from
8405 `tramp-sh-file-notify-process-filter'.
8406 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8407 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8409 2013-07-05 Leo Liu <sdl.web@gmail.com>
8411 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8413 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8415 * frame.el (display-pixel-height, display-pixel-width)
8416 (display-mm-height, display-mm-width): Mention behavior on
8417 multi-monitor setups in docstrings.
8418 (w32-display-monitor-attributes-list): Declare function.
8419 (display-monitor-attributes-list): Use it.
8421 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8423 * filenotify.el: New package.
8425 * autorevert.el (top): Require filenotify.el.
8426 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8428 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8429 (auto-revert-notify-handler): Use `file-notify-*' functions.
8431 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8433 * net/tramp.el (tramp-file-name-for-operation):
8434 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8436 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8437 for `file-notify-add-watch' and `file-notify-rm-watch'.
8438 (tramp-process-sentinel): Improve trace.
8439 (tramp-sh-handle-file-notify-add-watch)
8440 (tramp-sh-file-notify-process-filter)
8441 (tramp-sh-handle-file-notify-rm-watch)
8442 (tramp-get-remote-inotifywait): New defuns.
8444 2013-07-03 Juri Linkov <juri@jurta.org>
8446 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8447 call of `occur-read-primary-args' to interactive spec.
8449 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8450 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8452 2013-07-03 Matthias Meulien <orontee@gmail.com>
8454 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8455 `Buffer-menu-multi-occur'. Add it to the menu.
8456 (Buffer-menu-mode): Document it in docstring.
8457 (Buffer-menu-multi-occur): New command. (Bug#14673)
8459 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8461 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8462 keywords and built-ins.
8464 2013-07-03 Glenn Morris <rgm@gnu.org>
8466 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8468 Make info-xref checks case-sensitive by default
8469 * info.el (Info-find-node, Info-find-in-tag-table)
8470 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8471 Add option for exact case matching of nodes.
8472 * info-xref.el (info-xref): New custom group.
8473 (info-xref-case-fold): New option.
8474 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8476 2013-07-03 Leo Liu <sdl.web@gmail.com>
8478 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8480 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8482 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8483 middle of block statement initially, lower the depth. Remove
8484 FIXME comment, not longer valid. Remove middle of block statement
8485 detection, no need to do that anymore since we've been using
8486 `ruby-parse-region' here.
8488 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8490 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8492 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8494 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8496 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8498 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8499 (desktop-restore-in-current-display): New customization option.
8500 (desktop--excluded-frame-parameters): Add `font'.
8501 (desktop--save-frames): Rename from desktop--save-windows.
8502 (desktop--restore-in-this-display-p): New function.
8503 (desktop--make-full-frame): Remove unwanted width/height from
8504 full(width|height) frames.
8505 (desktop--restore-frames): Rename from desktop--restore-windows.
8506 Obey desktop-restore-current-display. Do not delete old frames or
8507 select a new frame unless we were able to restore at least one frame.
8509 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8511 * files.el (find-file-noselect): Simplify conditional expression.
8513 * textmodes/remember.el (remember-append-to-file):
8514 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8516 Add `remember-notes' function to store random notes across Emacs
8518 * textmodes/remember.el (remember-data-file): Add :set callback to
8519 affect notes buffer (if any).
8520 (remember-notes): New command.
8521 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8522 New defcustoms for the `remember-notes' function.
8523 (remember-notes-save-and-bury-buffer): New command.
8524 (remember-notes-mode-map): New variable.
8525 (remember-mode): New minor mode.
8526 (remember-notes--kill-buffer-query): New function.
8527 * startup.el (initial-buffer-choice): Add notes to custom type.
8529 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8531 * bindings.el (right-char, left-char): Don't call sit-for, this is
8532 no longer needed. Use arithmetic comparison only for numerical
8535 * international/mule-cmds.el (select-safe-coding-system):
8536 Handle the case of FROM being a string correctly. (Bug#14755)
8538 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8540 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8541 progression on degenerate tables.
8542 (shr-rescale-image): ImageMagick animated images currently don't work.
8544 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8546 Some fixes and improvements for desktop frame restoration.
8547 It is still experimental and disabled by default.
8548 * desktop.el (desktop--save-windows): Put the selected frame at
8549 the head of the list.
8550 (desktop--make-full-frame): New function.
8551 (desktop--restore-windows): Try to re-select the frame that was
8552 selected upon saving. Do not abort if some frames fail to restore,
8553 just show an error message and continue. Set up maximized frames
8554 so they have default non-maximized dimensions.
8556 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8558 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8559 Don't start heredoc inside a string or comment.
8561 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8563 * bindings.el (visual-order-cursor-movement): New defcustom.
8564 (right-char, left-char): Provide visual-order cursor motion by
8565 calling move-point-visually. Update the doc strings.
8567 2013-06-28 Kenichi Handa <handa@gnu.org>
8569 * international/mule.el (define-coding-system): New coding system
8570 properties :inhibit-null-byte-detection,
8571 :inhibit-iso-escape-detection, and :prefer-utf-8.
8572 (set-buffer-file-coding-system): If :charset-list property of
8573 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8574 appropriate for setting.
8576 * international/mule-cmds.el (select-safe-coding-system):
8577 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8578 multibyte characters, return utf-8 (or one of its siblings).
8580 * international/mule-conf.el (prefer-utf-8): New coding system.
8581 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8584 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8586 * net/shr.el (shr-render-region): New function.
8588 * net/eww.el: Autoload `eww-browse-url'.
8590 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8592 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8593 Adapt to `package-desc-version' being a list.
8594 Use `package--ac-desc-version' to retrieve version from a package
8597 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8599 New experimental feature to save&restore window and frame setup.
8600 * desktop.el (desktop-save-windows): New defcustom.
8601 (desktop--saved-states): New var.
8602 (desktop--excluded-frame-parameters): New defconst.
8603 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8604 (desktop--restore-windows, desktop--save-windows): New functions.
8605 (desktop-save): Call `desktop--save-windows'.
8606 (desktop-read): Call `desktop--restore-windows'.
8608 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8610 * net/shr.el (add-face-text-property): Remove compat definition.
8612 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8614 * info.el (Info-try-follow-nearest-node): Move search for footnote
8615 above search for node name to prevent missing a footnote (bug#14717).
8617 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8619 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8621 2013-06-27 Leo Liu <sdl.web@gmail.com>
8623 * net/eww.el (eww-read-bookmarks): Check file size.
8625 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8627 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8628 advice--pending if newdef is nil or an autoload (bug#13820).
8629 (advice-mapc): New function.
8631 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8633 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8635 (eww-mode-map): Add a menu bar.
8636 (eww-add-bookmark): New command.
8637 (eww-bookmark-mode): New mode and commands.
8638 (eww-add-bookmark): Remove newlines from the title.
8639 (eww-bookmark-browse): Don't bug out if it's the only window.
8641 2013-06-26 Glenn Morris <rgm@gnu.org>
8643 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8644 (hfy-size): Handle ttys. (Bug#14668)
8646 * info-xref.el: Update for Texinfo 5 change in *note format.
8647 (info-xref-node-re, info-xref-note-re): New constants.
8648 (info-xref-check-buffer): Use info-xref-note-re.
8650 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8652 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8654 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8655 nil terminate the loop (bug#14718).
8657 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8659 * net/eww.el: Rework history traversal. When going forward/back,
8660 put these actions into the history, too, so that they can be
8662 (eww-render): Move the history reset to the correct buffer.
8664 2013-06-25 Juri Linkov <juri@jurta.org>
8666 * files-x.el (modify-dir-local-variable): Change the header comment
8667 in the file with directory local variables. (Bug#14692)
8669 * files-x.el (read-file-local-variable-value): Add `default'.
8672 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8674 * net/eww.el (eww-make-unique-file-name): Create a unique file
8675 name before saving to entering `y' accidentally asynchronously.
8677 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8679 * net/eww.el (eww-download): New command and keystroke.
8681 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8683 * net/eww.el (eww-copy-page-url): Change name of command.
8685 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8686 be more consistent with Info and dired.
8688 * net/eww.el (eww-mode-map): Ditto.
8690 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8692 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8693 packages from archives.
8694 (package-archive-contents): Change format; include obsolete packages.
8695 (package-desc): Use `dir' to mark builtin packages.
8696 (package--from-builtin): Set the `dir' field to `builtin'.
8697 (generated-autoload-file, version-control): Declare.
8698 (package-compute-transaction): Change first arg and return value to be
8699 lists of package-descs. Adjust to new package-archive-contents format.
8700 (package--add-to-archive-contents): Adjust to new
8701 package-archive-contents format.
8702 (package-download-transaction): Arg is now a list of package-descs.
8703 (package-install): If `pkg' is a package name, pass it as
8704 a requirement, so it is subject to the usual (e.g. disabled) checks.
8705 (describe-package): Accept package-desc as well.
8706 (describe-package-1): Describe a specific package-desc. Add links to
8707 other package-descs for the same package name.
8708 (package-menu-describe-package): Pass the actual package-desc.
8709 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8711 (package-desc-status): New function.
8712 (package-menu--refresh): New function, extracted
8713 from package-menu--generate.
8714 (package-menu--generate): Use it.
8715 (package-delete): Update package-alist.
8716 (package-menu-execute): Don't call package-initialize.
8718 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8719 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8720 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8721 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8722 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8723 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8725 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8727 * window.el (window--state-get-1): Workaround for bug#14527.
8728 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8730 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8732 * net/eww.el (eww-back-url): Implement the history by stashing all
8733 the data into a list.
8734 (eww-forward-url): Allow going forward in the history, too.
8736 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8738 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8739 for values and use read--expression for expressions (bug#14710).
8740 (read-file-local-variable): Avoid setq.
8741 (read-file-local-variable-mode): Use minor-mode-list.
8743 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8745 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8748 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8750 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8751 Update imenu-support when dialect changes.
8753 2013-06-25 Leo Liu <sdl.web@gmail.com>
8755 * ido.el (ido-read-internal): Allow forward slash on windows.
8757 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8759 * net/eww.el (eww): Start of strings is \\`, not ^.
8761 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8763 * net/shr.el (shr-browse-url): Fix interactive spec.
8765 * net/eww.el (eww): Add a trailing slash to domain names.
8767 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8769 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8771 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8773 * net/shr.el (shr-browse-url): Use an external browser if given a
8776 * net/eww.el (eww-external-browser): Move to shr.
8778 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8780 * net/eww.el (eww): Work more correctly for file: URLs.
8781 (eww-detect-charset): Allow quoted charsets.
8782 (eww-yank-page-url): New command and keystroke.
8784 2013-06-24 Daiki Ueno <ueno@gnu.org>
8786 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8787 file name of gpg executable.
8788 (epg-context-program): New function.
8789 (epg-context-home-directory): New function.
8790 (epg-context-set-program): New function.
8791 (epg-context-set-home-directory): New function.
8792 (epg--start): Use `epg-context-program' instead of
8794 (epg--list-keys-1): Likewise.
8796 2013-06-24 Leo Liu <sdl.web@gmail.com>
8798 * ido.el (ido-read-internal): Fix bug#14620.
8800 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8802 * faces.el (face-documentation): Simplify.
8803 (read-face-attribute, tty-find-type, x-resolve-font-name):
8804 Use `string-match-p'.
8805 (list-faces-display): Use `string-match-p'. Simplify.
8806 (face-spec-recalc): Check face to avoid face alias loops.
8807 (read-color): Use `string-match-p' and non-capturing parenthesis.
8809 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8811 * net/shr.el (shr-rescale-image): Use the new
8812 :max-width/:max-height functionality.
8814 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8816 * net/eww.el (eww-search-prefix): New variable.
8818 (eww-external-browser): New variable.
8819 (eww-mode-map): New keystroke.
8820 (eww-browse-with-external-browser): New command.
8822 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8824 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8826 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8827 Don't skip aligning the next header field when padding is 0;
8828 otherwise, field width is not respected unless the title is as
8831 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8833 * emacs-lisp/package.el (package-el-version): Remove.
8834 (package-process-define-package): Fix inf-loop.
8835 (package-install): Allow symbols as arguments again.
8837 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8839 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8840 add some more keyword-like methods.
8841 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8843 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8845 * bs.el (bs-buffer-show-mark): Make defvar-local.
8846 (bs-mode): Use setq-local.
8848 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8849 (emacs-lock--try-unlocking): Make defvar-local.
8851 2013-06-22 Glenn Morris <rgm@gnu.org>
8853 * play/cookie1.el (cookie-apropos): Minor simplification.
8855 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8857 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8859 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8860 `regexp-opt', it breaks the build during dumping.
8862 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8864 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8865 Highlight keyword-like methods on Kernel and Module with
8866 font-lock-builtin-face.
8867 (auto-mode-alist): Consolidate different entries into one regexp
8868 and add more *file-s.
8870 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8872 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8874 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8875 (diary-entry): Use it in the action of this button type instead of
8878 * calendar/todo-mode.el: New version.
8879 (todo-add-category): Append new category to end of file and give
8880 it the highest number, instead of putting it at the beginning and
8881 giving it 0. Incorporate noninteractive functionality.
8882 (todo-forward-category): Adapt to 1-based category numbering.
8883 Allow skipping over archived categories.
8884 (todo-backward-category): Derive from todo-forward-category.
8885 (todo-backward-item, todo-forward-item): Make noninteractive and
8886 delegate interactive part to new commands. Make sensitive to done items.
8887 (todo-categories): Make value an alist of category names and
8888 vectors of item counts.
8889 (todo-category-beg): Make a defconst.
8890 (todo-category-number): Use 1 instead of 0 as initial value.
8891 (todo-category-select): Make sensitive to overlays, optional item
8892 highlighting and done items.
8893 (todo-delete-item): Make sensitive to overlays and marked and done items.
8894 (todo-edit-item): Make sensitive to overlays and editing of
8895 date/time header optional. Add format checks.
8896 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8897 no-op if point is not on an item. Advertise using todo-edit-quit.
8898 (todo-edit-mode): Make sensitive to new format, font-locking, and
8899 multiple todo files.
8900 (todo-insert-item, todo-insert-item-here): Derive from
8901 todo-basic-insert-item and extend functionality.
8902 (todo-item-end, todo-item-start): Make sensitive to done items.
8903 (todo-item-string): Don't return text properties. Restore point.
8904 (todo-jump-to-category): Make sensitive to multiple todo files and
8905 todo archives. Use extended category completion.
8906 (todo-lower-item, todo-raise-item): Rename to *-priority and
8907 derive from todo-set-item-priority.
8908 (todo-mode): Derive from special-mode. Make sensitive to new
8909 format, font-locking and multiple todo files. Make read-only.
8910 (todo-mode-map): Don't suppress digit keys, so they can supply
8911 prefix arguments. Add many new key bindings.
8912 (todo-prefix): Insert as an overlay instead of file text.
8913 Change semantics from diary date expression to purely visual mark.
8914 (todo-print): Rename to todo-print-buffer. Make buffer display
8915 features printable. Remove option to restrict number of items
8916 printed. Add option to print to file.
8917 (todo-print-function): Rename to todo-print-buffer-function.
8918 (todo-quit): Extend to handle exiting new todo modes.
8919 (todo-remove-item): Make sensitive to overlays.
8920 (todo-save): Extend to buffers of filtered items.
8921 (todo-show): Make sensitive to done items, multiple todo files and
8922 new todo modes. Offer to convert legacy todo file before creating
8923 first new todo file.
8924 (todo-show-priorities): Rename to todo-top-priorities.
8925 Change semantics of value 0.
8926 (todo-top-priorities): Rename to todo-filter-top-priorities,
8927 derive from todo-filter-items and extend functionality.
8928 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8929 and extend functionality to other types of filtered items.
8930 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8931 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8932 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8933 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8934 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8935 (todo-edit-mode-hook, todo-entry-prefix-function)
8936 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8937 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8938 (todo-initials, todo-insert-threshold, todo-item-string-start)
8939 (todo-line-string, todo-menu, todo-mode-hook)
8940 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8941 (todo-print-priorities, todo-remove-separator)
8942 (todo-save-top-priorities-too, todo-string-count-lines)
8943 (todo-string-multiline-p, todo-time-string-format)
8944 (todo-tmp-buffer-name): Remove.
8945 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8946 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8947 (todo-edit-category-diary-inclusion)
8948 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8949 (todo-edit-file, todo-edit-item-date-day)
8950 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8951 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8952 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8953 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8954 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8955 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8956 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8957 (todo-filter-top-priorities-multifile, todo-find-archive)
8958 (todo-find-filtered-items-file, todo-go-to-source-item)
8959 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8960 (todo-jump-to-archive-category, todo-lower-category)
8961 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8962 (todo-move-category, todo-move-item, todo-next-button)
8963 (todo-next-item, todo-padded-string, todo-powerset)
8964 (todo-previous-button, todo-previous-item)
8965 (todo-print-buffer-to-file, todo-raise-category)
8966 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8967 (todo-set-category-number, todo-set-item-priority)
8968 (todo-set-top-priorities-in-category)
8969 (todo-set-top-priorities-in-file, todo-show-categories-table)
8970 (todo-sort-categories-alphabetically-or-numerically)
8971 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8972 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8973 (todo-toggle-item-header, todo-toggle-item-highlighting)
8974 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8975 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8976 (todo-unarchive-items, todo-unmark-category): New commands.
8977 (todo-absolute-file-name, todo-add-to-buffer-list)
8978 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8979 (todo-basic-insert-item, todo-category-completions)
8980 (todo-category-number, todo-category-string-matcher-1)
8981 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8982 (todo-check-format, todo-clear-matches)
8983 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8984 (todo-current-category, todo-date-string-matcher)
8985 (todo-define-insertion-command, todo-diary-expired-matcher)
8986 (todo-diary-goto-entry, todo-diary-item-p)
8987 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8988 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8989 (todo-done-item-section-p, todo-done-separator)
8990 (todo-done-string-matcher, todo-files, todo-filter-items)
8991 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8992 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8993 (todo-insert-category-line, todo-insert-item-from-calendar)
8994 (todo-insert-sort-button, todo-insert-with-overlays)
8995 (todo-insertion-command-name, todo-insertion-key-bindings)
8996 (todo-label-to-key, todo-longest-category-name-length)
8997 (todo-make-categories-list, todo-mode-external-set)
8998 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8999 (todo-modes-set-3, todo-multiple-filter-files)
9000 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9001 (todo-read-category, todo-read-date, todo-read-dayname)
9002 (todo-read-file-name, todo-read-time)
9003 (todo-reevaluate-category-completions-files-defcustom)
9004 (todo-reevaluate-default-file-defcustom)
9005 (todo-reevaluate-filelist-defcustoms)
9006 (todo-reevaluate-filter-files-defcustom)
9007 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9008 (todo-reset-done-separator, todo-reset-done-separator-string)
9009 (todo-reset-done-string, todo-reset-global-current-todo-file)
9010 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9011 (todo-reset-prefix, todo-set-categories)
9012 (todo-set-date-from-calendar, todo-set-show-current-file)
9013 (todo-set-top-priorities, todo-short-file-name)
9014 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9015 (todo-total-item-counts, todo-update-buffer-list)
9016 (todo-update-categories-display, todo-update-categories-sexp)
9017 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9019 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9021 (todo-categories, todo-display, todo-edit, todo-faces)
9022 (todo-filtered): New defgroups.
9023 (todo-archived-only, todo-button, todo-category-string, todo-date)
9024 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9025 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9026 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9027 (todo-add-item-if-new-category, todo-always-add-time-string)
9028 (todo-categories-align, todo-categories-archived-label)
9029 (todo-categories-category-label, todo-categories-diary-label)
9030 (todo-categories-done-label, todo-categories-number-separator)
9031 (todo-categories-todo-label, todo-categories-totals-label)
9032 (todo-category-completions-files, todo-completion-ignore-case)
9033 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9034 (todo-done-separator-string, todo-done-string)
9035 (todo-files-function, todo-filter-done-items, todo-filter-files)
9036 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9037 (todo-initial-category, todo-initial-file, todo-item-mark)
9038 (todo-legacy-date-time-regexp, todo-mode-line-function)
9039 (todo-nondiary-marker, todo-number-prefix)
9040 (todo-print-buffer-function, todo-show-current-file)
9041 (todo-show-done-only, todo-show-first, todo-show-with-done)
9042 (todo-skip-archived-categories, todo-top-priorities-overrides)
9043 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9044 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9046 (todo-category-done, todo-date-pattern, todo-date-string-start)
9047 (todo-diary-items-buffer, todo-done-string-start)
9048 (todo-filtered-items-buffer, todo-item-start)
9049 (todo-month-abbrev-array, todo-month-name-array)
9050 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9051 (todo-top-priorities-buffer): New defconsts.
9052 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9053 (todo-categories-with-marks, todo-category-string-face)
9054 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9055 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9056 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9057 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9058 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9059 (todo-font-lock-keywords, todo-global-current-todo-file)
9060 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9061 (todo-insertion-commands-args)
9062 (todo-insertion-commands-args-genlist)
9063 (todo-insertion-commands-names, todo-insertion-map)
9064 (todo-key-bindings-t, todo-key-bindings-t+a)
9065 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9066 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9067 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9068 (todo-visited): New variables.
9070 2013-06-21 Glenn Morris <rgm@gnu.org>
9072 * play/cookie1.el (cookie-apropos): Add optional display argument.
9073 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9074 (psychoanalyze-pinhead): Use cookie-doctor.
9076 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9078 * emacs-lisp/package.el (tar-get-file-descriptor)
9079 (tar--extract): Declare.
9081 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9083 Extend flymake's warning predicate to be a function (bug#14217).
9084 * progmodes/flymake.el (flymake-warning-predicate): New.
9085 (flymake-parse-line): Use it.
9086 (flymake-warning-re): Make obsolete alias to
9087 `flymake-warning-predicate'.
9089 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9091 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9092 (package-obsolete-list): Remove.
9093 (package-activate): Remove min-version argument. Add `force' argument.
9094 Adjust to new package-alist format.
9095 (package-mark-obsolete): Remove.
9096 (package-unpack): Force reload of the package's autoloads.
9097 (package-installed-p): Check builtins if the installed package is not
9099 (package-initialize): Don't reset package-obsolete-list.
9100 Don't specify which package version to activate.
9101 (package-process-define-package, describe-package-1)
9102 (package-menu--generate): Adjust to new package-alist format.
9104 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9106 * allout-widgets.el (allout-widgets-mode-off)
9107 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9108 (allout-widgets-post-command-business)
9109 (allout-widgets-after-copy-or-kill-function)
9110 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9111 (allout-decorate-item-and-context)
9112 (allout-graphics-modification-handler): Fix typos in docstrings.
9113 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9115 * cmuscheme.el (scheme-start-file): Doc fix.
9116 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9117 (scheme-input-filter): Use `string-match-p'.
9119 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9121 * dired-x.el: Use Dired consistently in docstrings.
9123 * dired.el: Use Dired consistently in docstrings.
9124 (dired-readin, dired-mode): Use `setq-local'.
9125 (dired-switches-alist): Make defvar-local.
9126 (dired-buffers-for-dir): Use `zerop'.
9127 (dired-safe-switches-p, dired-switches-escape-p)
9128 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9129 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9130 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9131 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9132 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9133 (dired-toggle-marks, dired-mark-files-containing-regexp)
9134 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9135 (dired-flag-auto-save-files, dired-flag-backup-files):
9137 (dired-mark-files-regexp, dired-build-subdir-alist):
9138 Use `string-match-p', `looking-at-p'.
9140 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9141 (direct-print-region-helper): Use `string-match-p'.
9143 2013-06-21 Leo Liu <sdl.web@gmail.com>
9145 * comint.el (comint-redirect-results-list-from-process):
9148 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9150 * net/eww.el (eww-update-header-line-format): Quote % characters.
9152 2013-06-21 Glenn Morris <rgm@gnu.org>
9154 * play/cookie1.el (cookie): New custom group.
9155 (cookie-file): New option.
9156 (cookie-check-file): New function.
9157 (cookie): Make it interactive. Make start and end messages optional.
9158 Interactively, display the result. Default to cookie-file.
9159 (cookie-insert): Default to cookie-file.
9160 (cookie-snarf): Make start and end messages optional.
9161 Default to cookie-file. Use with-temp-buffer.
9162 (cookie-read): Rename from read-cookie.
9163 Make start and end messages optional. Default to cookie-file.
9164 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9166 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9167 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9169 2013-06-21 Leo Liu <sdl.web@gmail.com>
9171 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9173 2013-06-21 Glenn Morris <rgm@gnu.org>
9175 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9177 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9178 Daniel Hackney <dan@haxney.org>
9180 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9181 Consolidate the single-file vs tarball code.
9182 (package-desc-suffix): New function.
9183 (package-desc-full-name): Don't bother inlining it.
9184 (package-load-descriptor): Return the new package-desc.
9185 (package-mark-obsolete): Remove unused arg `package'.
9186 (package-unpack): Make it work for single files as well.
9187 Make it update package-alist.
9188 (package--make-autoloads-and-stuff): Rename from
9189 package--make-autoloads-and-compile. Don't compile any more.
9190 (package--compile): New function.
9191 (package-generate-description-file): New function, extracted from
9192 package-unpack-single.
9193 (package-unpack-single): Remove.
9194 (package--with-work-buffer): Add indentation and debugging info.
9195 (package-download-single): Remove.
9196 (package-install-from-archive): Rename from package-download-tar, make
9197 it take a pkg-desc, and make it work for single files as well.
9198 (package-download-transaction): Simplify.
9199 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9200 external tar program.
9201 (package-install-from-buffer): Remove `pkg-desc' argument.
9202 Use package-tar-file-info for tar-mode buffers.
9203 (package-install-file): Simplify accordingly.
9204 (package-archive-base): Change to take a pkg-desc.
9205 * tar-mode.el (tar--check-descriptor): New function, extracted from
9207 (tar-get-descriptor): Use it.
9208 (tar-get-file-descriptor): New function.
9209 (tar--extract): New function, extracted from tar-extract.
9210 (tar--extract): Use it.
9211 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9212 case the summary uses non-ascii. Adjust to new calling convention of
9213 package-tar-file-info.
9215 2013-06-21 Leo Liu <sdl.web@gmail.com>
9217 * comint.el (comint-redirect-results-list-from-process):
9218 Fix random delay. (Bug#14681)
9220 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9222 * profiler.el (profiler-format-number): Use log, not log10.
9224 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9226 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9228 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9230 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9231 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9233 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9234 (AUTOGENEL): ... here.
9235 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9236 (cl--defsubst-expand): Use it.
9238 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9240 * subr.el (log10): Move here from C code, and declare as obsolete.
9241 All uses of (log10 X) replaced with (log X 10).
9243 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9245 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9246 Declare with `defvar-local'.
9247 (tabulated-list-use-header-line, tabulated-list-entries)
9248 (tabulated-list-padding, tabulated-list-printer)
9249 (tabulated-list-sort-key): Declare with `defvar-local'.
9250 (tabulated-list-init-header, tabulated-list-print-fake-header):
9253 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9255 * arc-mode.el (archive-mode): Add `archive-write-file' to
9256 `write-contents-functions' also for remote files. (Bug#14652)
9258 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9260 * cus-edit.el (custom-commands): Fix typos.
9261 (custom-display): Fix tooltip text.
9262 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9263 Fix typos in docstrings.
9264 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9265 (custom-unlispify-menu-entry, custom-magic-value-create)
9266 (custom-add-see-also, custom-group-value-create): Use ?\s.
9267 (custom-guess-type, customize-apropos, editable-field)
9268 (custom-face-value-create): Use `string-match-p'.
9269 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9271 * custom.el (custom-load-symbol): Use `string-match-p'.
9273 * ansi-color.el: Convert to lexical binding.
9274 (ansi-colors): Fix URL.
9275 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9276 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9277 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9279 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9281 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9283 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9285 2013-06-19 Tom Tromey <tromey@redhat.com>
9287 * net/eww.el (eww-top-url): Remove.
9288 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9289 (eww-render): Set new variables. Don't set eww-top-url.
9290 (eww-handle-link): Handle "prev", "home", and "contents".
9291 Downcase the rel text.
9292 (eww-top-url): Choose best top URL.
9294 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9296 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9297 relying in widget.el. Using widget.el leads to too many
9298 user interface inconsistencies.
9299 (eww-self-insert): Implement entering commands in text fields.
9300 (eww-process-text-input): New function to make text input field editing
9302 (eww-submit): Rewrite to use the new-style form methods.
9303 (eww-select-display): Display the correct selected item.
9304 (eww-change-select): Implement changing the select value.
9305 (eww-toggle-checkbox): Implement radio/checkboxes.
9306 (eww-update-field): Fix compilation error.
9307 (eww-tag-textarea): Implement <textarea>.
9309 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9310 we don't shadow mode-specific bindings.
9312 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9315 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9317 2013-06-19 Glenn Morris <rgm@gnu.org>
9319 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9321 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9323 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9326 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9328 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9330 * net/browse-url.el (browse-url-browser-function):
9331 `eww-browse-url' has the right calling signature, `eww' does not.
9333 2013-06-19 Glenn Morris <rgm@gnu.org>
9335 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9336 Only eval autoloaded macros.
9337 (byte-compile-autoload): Only give the macro warning for macros.
9339 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9340 (ps-underlined-faces): Declare.
9342 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9343 (speedbar-add-supported-extension): Declare.
9345 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9346 Don't include a date stamp in the header of the generated file;
9347 it leads to needless differences between output files.
9349 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9351 * net/secrets.el (secrets-struct-secret-content-type):
9352 Replace check of introspection data by a test call of "CreateItem".
9353 Some servers do not offer introspection.
9355 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9357 * electric.el (electric-pair-mode): Improve interaction with
9358 electric-layout-mode.
9359 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9360 (electric-pair-syntax): Use text-mode-syntax-table in comments
9362 (electric-pair--insert): New function.
9363 (electric-pair-post-self-insert-function): Use it and
9364 electric--after-char-pos.
9366 2013-06-19 Leo Liu <sdl.web@gmail.com>
9368 * progmodes/octave.el (octave-help): Fix regexp.
9370 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9372 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9373 (shr-table-horizontal-line): Allow nil as a value, and change the
9375 (shr-insert-table-ruler): Respect the nil value.
9377 2013-06-18 Tom Tromey <tromey@barimba>
9379 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9381 (eww-open-file): New defun.
9382 (eww-render): Initialize new variables.
9383 (eww-display-html): Handle "link" and "a".
9384 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9385 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9386 (eww-back-url): Rename from eww-previous-url.
9387 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9390 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9392 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9393 Distinguish ternary operator tokens from slash symbol and slash
9396 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9398 Convert symbol prettification into minor mode and global minor mode.
9400 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9401 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9402 (prettify-symbols--keywords): Rename from
9403 `prog-prettify-symbols-alist' and make a local defvar.
9404 (prettify-symbols--compose-symbol): Rename from
9405 `prog--prettify-font-lock-compose-symbol'.
9406 (prettify-symbols--make-keywords): Rename from
9407 `prog-prettify-font-lock-symbols-keywords' and simplify.
9408 (prog-prettify-install): Remove.
9409 (prettify-symbols-mode): New minor mode, based on
9410 `prog-prettify-install'.
9411 (turn-on-prettify-symbols-mode): New function.
9412 (global-prettify-symbols-mode): New globalized minor mode.
9414 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9415 * progmodes/cfengine.el (cfengine3-mode):
9416 * progmodes/perl-mode.el (perl-mode): Don't call
9417 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9419 2013-06-18 Juri Linkov <juri@jurta.org>
9421 * files-x.el (modify-file-local-variable-message): New function.
9422 (modify-file-local-variable)
9423 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9424 and call `modify-file-local-variable-message' when it's non-nil.
9425 (add-file-local-variable, delete-file-local-variable)
9426 (add-file-local-variable-prop-line)
9427 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9428 and use it. (Bug#9820)
9430 2013-06-18 Juri Linkov <juri@jurta.org>
9432 * emulation/vi.el (vi-shell-op):
9433 * emulation/vip.el (vip-execute-com, ex-command):
9434 * emulation/viper-cmd.el (viper-exec-bang):
9435 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9436 the call of `shell-command-on-region'. (Bug#14637)
9438 * simple.el (shell-command-on-region): Doc fix.
9440 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9442 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9445 2013-06-18 Glenn Morris <rgm@gnu.org>
9447 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9449 * newcomment.el (comment-search-forward, comment-search-backward):
9450 Doc fix. (Bug#14376)
9452 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9454 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9455 (buffer-face-mode-invoke): Doc fix.
9457 2013-06-18 Matthias Meulien <orontee@gmail.com>
9459 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9460 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9462 2013-06-18 Glenn Morris <rgm@gnu.org>
9464 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9465 Replace obsolete function generic-make-keywords with its expansion.
9467 * progmodes/python.el (ffap-alist): Declare.
9469 * textmodes/reftex.el (bibtex-mode-map): Declare.
9471 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9473 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9474 (package-unpack, package-unpack-single): Return the pkg-dir.
9475 (package-download-transaction): Use it to update package-alist.
9477 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9479 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9482 2013-06-17 Juri Linkov <juri@jurta.org>
9484 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9486 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9488 * emacs-lisp/package.el (package-load-descriptor):
9489 Remove `with-syntax-table' call, `read' doesn't need it.
9490 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9492 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9494 * startup.el (command-line): Expand package name returned by
9495 `package--description-file' (bug#14639).
9497 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9499 * emacs-lisp/package.el (package-load-descriptor): Do not call
9500 `emacs-lisp-mode', just use its syntax table.
9502 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9504 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9505 `font-lock-extra-managed-props' if any prettifying keyword is added.
9506 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9507 (prog-mode): Use `setq-local'.
9509 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9511 * international/characters.el (standard-case-table): Set syntax of ?»
9512 and ?« to punctuation.
9514 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9516 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9517 Save relevant match data before calling `syntax-ppss' (bug#14595).
9519 2013-06-15 Juri Linkov <juri@jurta.org>
9521 * files-x.el (modify-file-local-variable-prop-line): Add local
9522 variables to the end of the existing comment on the first line.
9523 Use `file-auto-mode-skip' to skip interpreter magic line,
9524 and also skip XML declaration.
9526 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9528 * startup.el (package--builtin-versions): New var.
9529 (package-subdirectory-regexp): Remove.
9530 (package--description-file): Hard code its value instead.
9532 * emacs-lisp/package.el: Don't activate packages older than builtin.
9533 (package-obsolete-list): Rename from package-obsolete-alist, and make
9534 it into a simple list of package-desc.
9535 (package-strip-version): Remove.
9536 (package-built-in-p): Use package--builtin-versions.
9537 (package-mark-obsolete): Simplify.
9538 (package-process-define-package): Mark it obsolete if older than the
9540 (package-handle-response): Use line-end-position.
9541 (package-read-archive-contents, package--download-one-archive):
9543 (package--add-to-archive-contents): Skip if older than the builtin or
9545 (package-menu-describe-package): Fix last change.
9546 (package-list-unversioned): New var.
9547 (package-menu--generate): Use it.
9549 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9550 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9551 (autoload-builtin-package-versions): New variable.
9552 (autoload-generate-file-autoloads): Use them.
9553 Remove the list of autoloaded functions/macros from the
9554 (autoload...) comments.
9556 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9558 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9560 * simple.el (line-move-partial): Don't jump to the next screen
9561 line as soon as it becomes visible. Instead, continue enlarging
9562 the vscroll until the portion of a tall screen line that's left on
9563 display is about the height of the frame's default font.
9566 2013-06-15 Glenn Morris <rgm@gnu.org>
9568 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9569 compilation-error-regexp-alist void, or local while let-bound.
9571 * progmodes/make-mode.el (makefile-mode-syntax-table):
9572 Treat "=" as punctuation. (Bug#14614)
9574 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9576 * help-fns.el (describe-variable):
9577 Add extra line for permanent-local variables.
9579 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9581 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9582 Add export, import, library. (Bug#9164)
9583 (library): Set indent function.
9585 2013-06-14 Glenn Morris <rgm@gnu.org>
9587 * term/xterm.el (xterm--query):
9588 Stop after first matching handler. (Bug#14615)
9590 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9592 Add support for dired in saveplace.
9593 * dired.el (dired-initial-position-hook): New variable.
9594 (dired-initial-position): Call hook to place cursor position.
9595 * saveplace.el (save-place-to-alist): Add dired position.
9596 (save-place-dired-hook): New function.
9598 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9600 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9601 through a symbol rather than letrec.
9603 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9604 (package-desc): Add `dir' field.
9605 (package-desc-full-name): New function.
9606 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9607 (package-maybe-load-descriptor): Remove.
9608 (package-load-all-descriptors): Just call package-load-descriptor.
9609 (package--disabled-p): New function.
9610 (package-desc-vers, package-desc-doc): Remove aliases.
9611 (package--dir): Remove function.
9612 (package-activate): Check if a package is disabled.
9613 (package-process-define-package): New function, extracted from
9615 (define-package): Turn into a place holder.
9616 (package-unpack-single, package-tar-file-info):
9617 Use package--description-file.
9618 (package-compute-transaction): Use package--disabled-p.
9619 (package-download-transaction): Don't call
9620 package-maybe-load-descriptor since they're all loaded anyway.
9621 (package-install): Change argument to be a pkg-desc.
9622 (package-delete): Use a single pkg-desc argument.
9623 (describe-package-1): Use package-desc-dir instead of package--dir.
9624 Use package-desc property instead of package-symbol.
9625 (package-install-button-action): Adjust accordingly.
9626 (package--push): Rewrite.
9627 (package-menu--print-info): Adjust accordingly. Change the ID format
9629 (package-menu-describe-package, package-menu-get-status)
9630 (package-menu--find-upgrades, package-menu-mark-upgrades)
9631 (package-menu-execute, package-menu--name-predicate):
9633 * startup.el (package--description-file): New function.
9634 (command-line): Use it.
9635 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9636 Use package-desc-version.
9638 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9639 (byte-compile-preprocess): Use it.
9640 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9641 can't quite recognize.
9642 (byte-compile-add-to-list): Remove.
9643 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9644 (cconv-closure-convert): Add assertion.
9646 * emacs-lisp/map-ynp.el: Use lexical-binding.
9647 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9648 Factor out some repeated code.
9650 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9652 * subr.el (with-eval-after-load): New macro.
9653 (eval-after-load): Allow form to be a function.
9654 take advantage of lexical-binding.
9655 (do-after-load-evaluation): Use dolist and adjust to new format.
9656 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9658 2013-06-13 Juri Linkov <juri@jurta.org>
9660 * replace.el (perform-replace): Display "symbol " and other search
9661 modes from `isearch-message-prefix' in the *Help* buffer.
9663 * isearch.el (isearch-query-replace): Add " symbol" and other
9664 possible search modes from `isearch-message-prefix' to the prompt.
9665 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9666 when reading a regexp to collect.
9668 2013-06-13 Juri Linkov <juri@jurta.org>
9670 * isearch.el (word-search-regexp): Match whitespace if the search
9671 string begins or ends in whitespace. The LAX arg is applied to
9672 both ends of the search string. Use `regexp-quote' and explicit
9673 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9674 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9675 boundaries are replaced with symbol boundaries, and characters
9676 between symbols match non-word non-symbol syntax. (Bug#14602)
9678 2013-06-13 Juri Linkov <juri@jurta.org>
9680 * isearch.el (isearch-del-char): Don't exceed the length of
9681 `isearch-string' by the prefix arg. (Bug#14563)
9683 2013-06-13 Juri Linkov <juri@jurta.org>
9685 * isearch.el (isearch-yank-word, isearch-yank-line)
9686 (isearch-char-by-name, isearch-quote-char)
9687 (isearch-printing-char, isearch-process-search-char):
9688 Add optional count prefix arg. (Bug#14563)
9690 * international/isearch-x.el
9691 (isearch-process-search-multibyte-characters):
9692 Add optional count prefix arg.
9694 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9696 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9697 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9700 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9702 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9704 2013-06-13 Glenn Morris <rgm@gnu.org>
9706 * startup.el (tty-handle-args):
9707 Don't just discard "--" and anything after. (Bug#14608)
9709 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9711 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9713 Implement changes in Secret Service API. Make it backward compatible.
9714 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9715 (secrets-create-item): Use it. Prefix properties with interface.
9717 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9719 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9720 (term-emulate-terminal): Respect term-suppress-hard-newline.
9722 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9724 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9725 Only remove a `thumb-file' overlay. (Bug#14548)
9727 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9729 * mail/reporter.el (reporter-submit-bug-report):
9730 Handle missing package-name. (Bug#14600)
9732 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9734 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9735 (reftex-citation-prompt, reftex-default-bibliography)
9736 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9737 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9738 (reftex-bib-sort-author, reftex-bib-sort-year)
9739 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9740 (reftex-extract-bib-entries-from-thebibliography)
9741 (reftex-get-bibkey-default, reftex-get-bib-names)
9742 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9743 (reftex-format-bib-entry, reftex-parse-bibitem)
9744 (reftex-format-bibitem, reftex-do-citation)
9745 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9746 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9747 (reftex-insert-bib-matches, reftex-format-citation)
9748 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9749 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9750 existing comments into docstrings.
9752 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9754 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9756 2013-06-12 Andreas Schwab <schwab@suse.de>
9758 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9759 for auto-save files.
9761 2013-06-12 Glenn Morris <rgm@gnu.org>
9763 * ido.el (ido-delete-ignored-files): Remove.
9764 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9765 Go back to calling ido-ignore-item-p directly.
9767 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9769 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9771 * ido.el (ido-delete-ignored-files): New function,
9772 split from ido-make-file-list-1.
9773 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9774 (ido-make-file-list-1): Use ido-delete-ignored-files.
9776 2013-06-12 Leo Liu <sdl.web@gmail.com>
9778 * progmodes/octave.el (inferior-octave-startup)
9779 (inferior-octave-completion-table)
9780 (inferior-octave-track-window-width-change)
9781 (octave-eldoc-function-signatures, octave-help)
9782 (octave-find-definition): Use single quoted strings.
9783 (inferior-octave-startup-args): Change default value.
9784 (inferior-octave-startup): Do not hard code "-i" and
9785 "--no-line-editing".
9786 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9787 (inferior-octave-directory-tracker): Use it.
9788 (octave-goto-function-definition): Robustify.
9789 (octave-help): Support highlighting operators in 'See also'.
9790 (octave-find-definition): Find subfunctions only in Octave mode.
9792 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9794 * help-fns.el (help-fns--compiler-macro): If the handler function is
9795 named, then put a link to it.
9796 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9797 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9799 (cl-eval-when): Simplify debug spec.
9800 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9801 compiler-macro function instead of setting `compiler-macro-file'.
9803 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9805 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9806 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9808 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9809 Daniel Hackney <dan@haxney.org>
9811 First part of Daniel Hackney's patch to package.el.
9812 * emacs-lisp/package.el: Use defstruct.
9813 (package-desc): New, main struct.
9814 (package--bi-desc, package--ac-desc): New structs, used to describe the
9815 format in external files.
9816 (package-desc-vers): Replace with package-desc-version accessor.
9817 (package-desc-doc): Replace with package-desc-summary accessor.
9818 (package-activate-1): Remove `package' arg since the pkg-vec now
9820 (define-package): Use package-desc-from-define.
9821 (package-unpack-single): Change file-name arg to be a symbol.
9822 (package--add-to-archive-contents): Use package-desc-create and new
9823 accessor functions to package--ac-desc.
9824 (package-buffer-info, package-tar-file-info): Return a package-desc.
9825 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9826 arg to be a package-desc.
9827 (package-install-file): Adjust accordingly. Use \' to match EOS.
9828 (package--from-builtin): New function.
9829 (describe-package-1, package-menu--generate): Use it.
9830 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9831 (package-generate-autoloads): Idem and return the name of the file.
9832 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9833 Change pkg-info arg to be a package-desc.
9834 Use package-make-ac-desc.
9835 (package-upload-file): Use \' to match EOS.
9836 * finder.el (finder-compile-keywords): Use package-make-builtin.
9838 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9840 * vc/vc.el (vc-deduce-fileset): Change error message.
9841 (vc-read-backend): New function.
9842 (vc-next-action): Use it.
9844 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9846 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9847 (prolog-font-lock-keywords): Use regexp-opt instead.
9848 Don't manually highlight strings.
9849 (prolog-mode-variables): Simplify comment-start-skip.
9850 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9852 * emacs-lisp/generic.el (generic--normalise-comments)
9853 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9854 (generic-mode-set-comments): Use them.
9855 (generic-bracket-support): Use setq-local.
9856 (generic-make-keywords-list): Declare obsolete.
9858 2013-06-11 Glenn Morris <rgm@gnu.org>
9860 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9861 Prettify after setting font-lock-defaults. (Bug#14574)
9863 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9865 * replace.el (query-replace, occur-read-regexp-defaults-function)
9867 * subr.el (declare-function, number-sequence, local-set-key)
9868 (substitute-key-definition, locate-user-emacs-file)
9869 (with-silent-modifications, split-string, eval-after-load):
9870 Fix typos, remove unneeded backslashes and reflow some docstrings.
9872 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9874 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9875 default for Elisp files.
9877 2013-06-11 Glenn Morris <rgm@gnu.org>
9879 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9880 although define-derived-mode was doing this anyway. (Bug#14583)
9882 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9884 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9885 Fix make-variable-buffer-local call to refer to the correct variable.
9887 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9889 * eshell/em-term.el (eshell-visual-commands)
9890 (eshell-visual-subcommands, eshell-visual-options):
9891 Add summary line to docstrings. Add cross-references.
9893 2013-06-10 Glenn Morris <rgm@gnu.org>
9895 * epa.el (epa-read-file-name): New function. (Bug#14510)
9896 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9898 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9900 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9901 output redirection to be ignored with visual commands.
9903 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9905 * eshell/em-term.el (eshell-visual-command-p): New function.
9906 (eshell-term-initialize): Move long lambda to separate function
9907 eshell-visual-command-p.
9908 * eshell/em-dirs.el (eshell-dirs-initialise):
9909 * eshell/em-script.el (eshell-script-initialize):
9910 Add missing #' to lambda.
9912 2013-06-08 Leo Liu <sdl.web@gmail.com>
9914 * progmodes/octave.el (octave-add-log-current-defun): New function.
9915 (octave-mode): Set add-log-current-defun-function.
9916 (octave-goto-function-definition): Do not move point if not found.
9917 (octave-find-definition): Enhance to try subfunctions first.
9919 2013-06-08 Glenn Morris <rgm@gnu.org>
9921 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9922 (byte-compile-backward-char, byte-compile-backward-word):
9923 Improve previous change, to handle non-explicit nil.
9925 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9927 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9928 (smie--opener/closer-at-point): New function.
9929 (smie--matching-block-data): Use it. Don't match from right after an
9930 opener or right before a closer. Obey smie-blink-matching-inners.
9931 Don't signal a mismatch for repeated inners like "switch..case..case".
9933 2013-06-07 Leo Liu <sdl.web@gmail.com>
9935 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9937 (octave-function-header-regexp): Fix. (Bug#14570)
9938 (octave-help-mode-finish-hook, octave-help-mode-finish):
9939 Remove. Just use temp-buffer-show-hook.
9941 * newcomment.el (comment-search-backward): Revert last change.
9944 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9946 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9948 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9949 through xargs, to avoid failure due to MS-Windows limitations on
9950 command-line length.
9952 2013-06-06 Glenn Morris <rgm@gnu.org>
9954 * font-lock.el (lisp-font-lock-keywords-2):
9955 Treat user-error like error.
9957 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9958 (byte-compile-backward-char, byte-compile-backward-word):
9959 Handle explicit nil arguments. (Bug#14565)
9961 2013-06-05 Alan Mackenzie <acm@muc.de>
9963 * isearch.el (isearch-allow-prefix): New user option.
9964 (isearch-other-meta-char): Don't exit isearch when a prefix
9965 argument is typed whilst `isearch-allow-prefix' is non-nil.
9968 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * autorevert.el (auto-revert-notify-handler): Use memq.
9971 Hide assertion failure.
9973 * skeleton.el: Use cl-lib.
9974 (skeleton-further-elements): Use defvar-local.
9975 (skeleton-insert): Use cl-progv.
9977 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9979 * progmodes/prog-mode.el (prog-prettify-symbols)
9980 (prog-prettify-install): Update docstrings.
9982 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9984 * simple.el: Move all the prog-mode code to prog-mode.el.
9985 * progmodes/prog-mode.el: New file.
9986 * loadup.el: Add prog-mode.el.
9988 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9990 * simple.el (prog-prettify-symbols): Add version.
9991 (prog-prettify-install): Add convenience function to prettify symbols.
9993 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9994 (perl--augmented-font-lock-keywords-1)
9995 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9996 variables and use it.
9998 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9999 (cfengine3-mode): Remove unneeded variable and use it.
10001 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10002 (lisp--augmented-font-lock-keywords-1)
10003 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10004 Remove unneeded variables and use it.
10006 2013-06-05 João Távora <joaotavora@gmail.com>
10008 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10009 to point when opening the connection. (Bug#14380)
10011 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10013 * subr.el (load-history-regexp, load-history-filename-element)
10014 (eval-after-load, after-load-functions, do-after-load-evaluation)
10015 (eval-next-after-load, display-delayed-warnings)
10016 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10017 definition of save-match-data.
10018 (overriding-local-map): Remove accidental obsolescence declaration.
10020 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10022 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10024 Generalize symbol prettify support to prog-mode and implement it
10025 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10026 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10027 (prog--prettify-font-lock-compose-symbol)
10028 (prog-prettify-font-lock-symbols-keywords): New variables and
10029 functions to support symbol prettification.
10030 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10031 (lisp--augmented-font-lock-keywords-1)
10032 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10033 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10034 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10035 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10036 Implement prettify of -> => :: strings.
10037 * progmodes/perl-mode.el (perl-prettify-symbols)
10038 (perl--font-lock-compose-symbol)
10039 (perl--font-lock-symbols-keywords): Move to prog-mode.
10040 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10041 (perl-font-lock-keywords-1)
10042 (perl-font-lock-keywords-2): Remove explicit prettify support.
10043 (perl--augmented-font-lock-keywords)
10044 (perl--augmented-font-lock-keywords-1)
10045 (perl--augmented-font-lock-keywords-2, perl-mode):
10046 Implement prettify support.
10048 2013-06-05 Leo Liu <sdl.web@gmail.com>
10050 Re-implement smie matching block highlight using
10051 show-paren-data-function. (Bug#14395)
10052 * emacs-lisp/smie.el (smie-matching-block-highlight)
10053 (smie--highlight-matching-block-overlay)
10054 (smie--highlight-matching-block-lastpos)
10055 (smie-highlight-matching-block)
10056 (smie-highlight-matching-block-mode): Remove.
10057 (smie--matching-block-data-cache): New variable.
10058 (smie--matching-block-data): New function.
10059 (smie-setup): Use smie--matching-block-data for
10060 show-paren-data-function.
10062 * progmodes/octave.el (octave-mode-menu): Fix.
10063 (octave-find-definition): Skip garbage lines.
10065 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10067 Fix compilation error with simultaneous dynamic+lexical scoping.
10068 Add warning when a defvar appears after the first let-binding.
10069 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10070 (byte-compile-close-variables): Initialize it.
10071 (byte-compile--declare-var): New function.
10072 (byte-compile-file-form-defvar)
10073 (byte-compile-file-form-define-abbrev-table)
10074 (byte-compile-file-form-custom-declare-variable): Use it.
10075 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10076 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10077 (byte-compile-bind): Handle dynamic bindings that shadow
10079 (byte-compile-unbind): Make arg non-optional.
10080 (byte-compile-let): Simplify.
10081 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10082 (cconv--analyse-function, cconv-analyse-form): Populate it.
10083 Protect byte-compile-bound-variables to limit the scope of defvars.
10084 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10085 Remove unneeded rule for `declare'.
10087 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10088 so as to avoid depending on cl-adjoin at run-time.
10089 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10091 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10092 (macroexp--warn-and-return): Use it.
10094 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10096 * subr.el: Convert to lexical binding.
10097 (overriding-local-map): Make obsolete.
10098 (add-to-list): Doc fix. Add compiler macro.
10099 (read-key): Swap values of local maps.
10101 2013-06-05 Leo Liu <sdl.web@gmail.com>
10103 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10105 2013-06-04 Leo Liu <sdl.web@gmail.com>
10107 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10108 (compilation-auto-jump): Suppress the "Mark set" message to give
10109 way to exit message.
10111 2013-06-04 Alan Mackenzie <acm@muc.de>
10113 Remove faulty optimisation from indentation calculation.
10114 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10115 search limit based on 2000 characters back from indent-point.
10117 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10119 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10121 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10123 * emacs-lisp/lisp.el: Use lexical-binding.
10124 (lisp--local-variables-1, lisp--local-variables): New functions.
10125 (lisp--local-variables-completion-table): New var.
10126 (lisp-completion-at-point): Use it complete let-bound vars.
10128 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10129 eagerly (bug#14422).
10131 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10133 * autorevert.el (auto-revert-notify-enabled)
10134 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10135 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10136 (auto-revert-notify-handler): Handle also gfilenotify.
10138 * subr.el (file-notify-handle-event): New defun. Replacing ...
10139 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10142 2013-06-03 Juri Linkov <juri@jurta.org>
10144 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10145 `M-s h .'. (Bug#14427)
10147 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10148 command `hi-lock-face-symbol-at-point'.
10149 (hi-lock-face-symbol-at-point): New command.
10150 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10151 (hi-lock-menu): Add `highlight-symbol-at-point'.
10152 (hi-lock-mode): Doc fix.
10154 * isearch.el (isearch-forward-symbol-at-point): New command.
10155 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10156 (isearch-highlight-regexp): Add a regexp which matches
10157 words/symbols for word/symbol mode.
10159 * subr.el (find-tag-default-bounds): New function with the body
10160 mostly moved from `find-tag-default'.
10161 (find-tag-default): Move most code to `find-tag-default-bounds',
10162 call it and apply `buffer-substring-no-properties' afterwards.
10164 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10166 * eshell/em-term.el (eshell-term-initialize):
10167 Use `cl-intersection' rather than `intersection'.
10169 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10171 * vc/log-view.el: Doc fix.
10172 (log-view-mode-map): Copy keymap from `special-mode-map'.
10174 2013-06-02 Eric Ludlam <zappo@gnu.org>
10176 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10177 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10178 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10179 (eieio-unbound, eieio-default-superclass)
10180 (eieio--define-field-accessors, method-static, method-before)
10181 (method-primary, method-after, method-num-lists)
10182 (method-generic-before, method-generic-primary)
10183 (method-generic-after, method-num-slots)
10184 (eieio-specialized-key-to-generic-key)
10185 (eieio--check-type, class-v, class-p)
10186 (eieio-class-name, define-obsolete-function-alias)
10187 (eieio-class-parents-fast, eieio-class-children-fast)
10188 (same-class-fast-p, class-constructor, generic-p)
10189 (generic-primary-only-p, generic-primary-only-one-p)
10190 (class-option-assoc, class-option, eieio-object-p)
10191 (class-abstract-p, class-method-invocation-order)
10192 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10193 (eieio-class-un-autoload, eieio-defclass)
10194 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10195 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10196 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10197 (eieio-defgeneric-reset-generic-form)
10198 (eieio-defgeneric-form-primary-only)
10199 (eieio-defgeneric-reset-generic-form-primary-only)
10200 (eieio-defgeneric-form-primary-only-one)
10201 (eieio-defgeneric-reset-generic-form-primary-only-one)
10202 (eieio-unbind-method-implementations)
10203 (eieio--defmethod, eieio--typep)
10204 (eieio-perform-slot-validation, eieio-validate-slot-value)
10205 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10206 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10207 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10208 (eieio-slot-name-index, eieio-class-slot-name-index)
10209 (eieio-set-defaults, eieio-initarg-to-attribute)
10210 (eieio-attribute-to-initarg, eieio-c3-candidate)
10211 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10212 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10213 (eieio-class-precedence-list, eieio-generic-call-methodname)
10214 (eieio-generic-call-arglst, eieio-generic-call-key)
10215 (eieio-generic-call-next-method-list)
10216 (eieio-pre-method-execution-functions, eieio-generic-call)
10217 (eieio-generic-call-primary-only, eieiomt-method-list)
10218 (eieiomt-optimizing-obarray, eieiomt-install)
10219 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10220 (eieio-generic-form, eieio-defmethod, make-obsolete)
10221 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10222 (defclass): Remove `eval-and-compile' from macro.
10223 (call-next-method, shared-initialize): Instead of using
10224 `scoped-class' variable, use new eieio--scoped-class, and
10225 eieio--with-scoped-class.
10226 (initialize-instance): Rename local variable 'scoped-class' to
10227 'this-class' to remove ambiguitity from old global.
10229 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10231 (eieio--scoped-class-stack): New variable.
10232 (eieio--scoped-class): New fcn.
10233 (eieio--with-scoped-class): New scoping macro.
10234 (eieio-defclass): Use pushnew instead of add-to-list.
10235 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10236 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10237 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10238 `scoped-class' variable, use new eieio--scoped-class, and
10239 eieio--with-scoped-class.
10241 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10243 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10245 * eshell/esh-ext.el (eshell-external-command): Pass args to
10246 `eshell-find-interpreter'.
10247 (eshell-find-interpreter): Add new second parameter ARGS.
10249 * eshell/em-script.el (eshell-script-initialize): Add second arg
10250 to the function added as MATCH to `eshell-interpreter-alist'.
10252 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10253 the function added as MATCH to `eshell-interpreter-alist'.
10255 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10256 (eshell-visual-options): New defcustom.
10257 (eshell-escape-control-x): Adapt docstring.
10258 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10259 `eshell-visual-options' in addition to `eshell-visual-commands'.
10260 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10262 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10264 * progmodes/python.el (python-indent-block-enders): Add break,
10265 continue and raise keywords.
10267 2013-06-01 Glenn Morris <rgm@gnu.org>
10269 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10271 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10272 * progmodes/cc-cmds.el (delete-forward-p):
10273 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10274 * progmodes/cc-engine.el (buffer-syntactic-context):
10275 * progmodes/cc-fonts.el (face-property-instance):
10276 * progmodes/cc-mode.el (set-keymap-parents):
10277 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10278 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10279 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10280 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10281 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10283 * progmodes/cc-vars.el (other): Emacs has this widget since
10284 at least 21.1, so don't (re)define it.
10286 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10287 Replace the obsolete alias pcomplete-arg-quote-list.
10289 2013-06-01 Leo Liu <sdl.web@gmail.com>
10291 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10292 punctuation syntax.
10293 (inferior-octave-minimal-columns)
10294 (inferior-octave-last-column-width): New variables.
10295 (inferior-octave-track-window-width-change): New function.
10296 (inferior-octave-mode): Adjust column width so that Octave output,
10297 for example from 'ls', can fit into the window nicely.
10299 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10301 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10302 Highlight expansions inside regexp literals.
10304 2013-05-31 Glenn Morris <rgm@gnu.org>
10306 * obsolete/sym-comp.el (symbol-complete):
10307 Replace obsolete completion-annotate-function.
10309 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10311 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10313 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10314 New function, checks if point is inside a literal that allows
10315 expression expansion.
10316 (ruby-syntax-propertize-expansion): Use it.
10317 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10320 2013-05-30 Juri Linkov <juri@jurta.org>
10322 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10324 (isearch-invisible): New variable.
10325 (isearch-forward): Doc fix.
10326 (isearch-mode): Set `isearch-invisible'
10327 to the value of `search-invisible'.
10328 (isearch-toggle-case-fold): Doc fix.
10329 (isearch-toggle-invisible): New command.
10330 (isearch-query-replace): Let-bind `search-invisible'
10331 to the value of `isearch-invisible'.
10332 (isearch-search): Use `isearch-invisible' instead of
10333 `search-invisible'. Let-bind `search-invisible'
10334 to the value of `isearch-invisible'. (Bug#11378)
10336 2013-05-30 Juri Linkov <juri@jurta.org>
10338 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10339 call when `query-flag' is nil and `search-invisible' is non-nil.
10342 2013-05-30 Glenn Morris <rgm@gnu.org>
10344 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10346 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10347 (cc-require): Suppress spurious "noruntime" warnings.
10348 (cc-require-when-compile): Use fboundp, for sake of compiler.
10350 * progmodes/cc-mode.el: Move load of cc-vars before that of
10351 cc-langs (which in turn loads cc-vars), to quieten compiler.
10353 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10355 * paren.el: Simplify the code.
10356 (show-paren-mode): Always start the timer.
10357 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10358 (show-paren--overlay, show-paren--overlay-1): Rename from
10359 show-paren-overlay and show-paren-overlay-1, and initialize to an
10360 overlay rather than to nil.
10361 (show-paren-function): Misc cleanup and simplifications.
10363 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * paren.el (show-paren-data-function): New hook.
10366 (show-paren--default): New function, extracted from show-paren-function.
10367 (show-paren-function): Use show-paren-data-function.
10369 2013-05-30 Glenn Morris <rgm@gnu.org>
10371 * ielm.el (ielm-map, ielm-complete-symbol):
10372 Use completion-at-point rather than obsolete functions.
10373 (inferior-emacs-lisp-mode): Doc fix.
10374 Set completion-at-point-functions, rather than
10375 comint-dynamic-complete-functions.
10377 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10378 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10379 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10381 * image.el (image-animated-p): Tweak definition.
10383 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10384 (rlogin-process-connection-type): Tweak default. Add set-after.
10385 (rlogin-host): Doc fix.
10386 (rlogin): Tweak prompt.
10387 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10389 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10390 * progmodes/tcl.el (inferior-tcl-mode-map):
10391 Use completion-at-point rather than obsolete alias.
10393 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10395 * minibuffer.el (read-file-name-completion-ignore-case):
10396 Move before completion--in-region, for eager macro expansion.
10398 2013-05-29 Juri Linkov <juri@jurta.org>
10400 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10401 for total count of matching lines. Add `global-matches' for total
10402 count of matches. Rename `matches' to `lines' for count of
10403 matching lines. Add `matches' for count of matches.
10404 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10405 to `prev-line' for line number of prev match endpt.
10406 Increment `matches' for every match. Print the number of
10407 matching lines in the header.
10408 (occur-context-lines): Rename `lines' to `curr-line'.
10409 Rename `prev-lines' to `prev-line'. (Bug#14017)
10411 2013-05-29 Juri Linkov <juri@jurta.org>
10413 * replace.el (perform-replace): Add `skip-read-only-count',
10414 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10415 Increment them for corresponding conditions and report the number
10416 of skipped occurrences in the final message. (Bug#11746)
10417 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10418 (replace-string, replace-regexp): Doc fix.
10420 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10422 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10424 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10425 prog-mode-map (bug#14504).
10427 2013-05-29 Leo Liu <sdl.web@gmail.com>
10429 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10430 (octave-help): Small simplification.
10432 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10433 off the highlight first.
10435 2013-05-29 Glenn Morris <rgm@gnu.org>
10437 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10438 Handle idlwave-last-system-routine-info-cons-cell being nil.
10440 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10441 (idlwave-write-paths): Simplify via with-temp-buffer.
10443 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10444 * emulation/cua-rect.el: Also load cua-base at run time.
10446 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10447 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10448 (cperl-imenu-on-info): Require imenu.
10450 2013-05-28 Alan Mackenzie <acm@muc.de>
10452 Handle "capitalised keywords" correctly.
10453 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10455 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10457 * eshell/em-unix.el: Add -r option to cp.
10459 2013-05-28 Glenn Morris <rgm@gnu.org>
10461 * vc/vc-arch.el (vc-exec-after): Declare.
10462 (vc-switches): Autoload.
10463 * vc/vc-bzr.el: No need to require vc when compiling.
10464 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10465 (vc-resynch-buffer, vc-dir-refresh): Declare.
10466 (vc-setup-buffer, vc-switches): Autoload.
10467 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10468 (vc-resynch-buffer): Declare.
10469 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10470 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10471 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10472 (grep-read-regexp, grep-read-files, grep-expand-template)
10473 (vc-dir-refresh): Declare.
10474 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10475 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10476 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10477 * vc/vc-mtn.el (vc-exec-after): Declare.
10478 (vc-switches): Autoload.
10479 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10480 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10481 (vc-file-tree-walk): Declare.
10482 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10483 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10484 (vc-tag-precondition, vc-rename-master): Autoload.
10485 * vc/vc-svn.el (vc-exec-after): Declare.
10486 (vc-switches, vc-setup-buffer): Autoload.
10487 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10489 (vc-resynch-buffer): Declare.
10491 * obsolete/fast-lock.el (byte-compile-warnings):
10492 Don't warn about obsolete features in this obsolete file.
10494 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10495 Move definition before use.
10497 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10498 (dun-unix-verbs): Remove dun-zippy.
10499 (dun-zippy): Remove function.
10501 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10503 2013-05-27 Juri Linkov <juri@jurta.org>
10505 * replace.el (replace-search): New function with code moved out
10506 from `perform-replace'.
10507 (replace-highlight, replace-dehighlight): Move function definitions
10508 up closer to `replace-search'. (Bug#11746)
10510 2013-05-27 Juri Linkov <juri@jurta.org>
10512 * replace.el (perform-replace): Ignore invisible matches.
10513 In addition to checking `query-replace-skip-read-only', also
10514 filter out matches by calling `run-hook-with-args-until-failure'
10515 on `isearch-filter-predicates', and also check `search-invisible'
10516 for t or call `isearch-range-invisible'.
10517 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10519 2013-05-27 Juri Linkov <juri@jurta.org>
10521 * isearch.el (isearch-filter-predicates): Rename from
10522 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10523 (isearch-message-prefix): Display text from the property
10524 `isearch-message-prefix' of the currently active filters.
10525 (isearch-search): Don't compare `isearch-filter-predicate' with
10526 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10527 on `isearch-filter-predicates'. Also check `search-invisible' for t
10528 or call `isearch-range-invisible'.
10529 (isearch-filter-visible): Make obsolete.
10530 (isearch-lazy-highlight-search):
10531 Call `run-hook-with-args-until-failure' on
10532 `isearch-filter-predicates' and use `isearch-range-invisible'.
10534 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10535 `isearch-filter-predicates' instead of `funcall'ing
10536 `isearch-filter-predicate'.
10537 (Info-mode): Set `Info-isearch-filter' to
10538 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10540 * dired-aux.el (dired-isearch-filter-predicate-orig):
10542 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10543 (dired-isearch-filenames-end): Add and remove
10544 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10545 instead of changing the value of `isearch-filter-predicate'.
10546 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10547 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10548 Put property `isearch-message-prefix' to "filename " on
10549 `dired-isearch-filter-filenames'.
10551 * wdired.el (wdired-change-to-wdired-mode):
10552 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10553 locally instead of changing `isearch-filter-predicate'.
10554 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10556 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10558 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10559 return the commit hash (Bug#14459). Also set the
10560 `vc-git-detached' property.
10561 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10562 (vc-git-mode-line-string): Use the same help-echo format whether
10563 in detached mode or not, because we know the actual revision now.
10564 When in detached mode, shorten the revision to 7 chars.
10566 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10568 * emacs-lisp/easy-mmode.el (define-minor-mode):
10569 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10570 mode hook and provide a docstring.
10572 2013-05-27 Alan Mackenzie <acm@muc.de>
10574 Remove spurious syntax-table text properties inserted by C-y.
10575 * progmodes/cc-mode.el (c-after-change): Also clear hard
10576 syntax-table property with value nil.
10578 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10580 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10581 when reading the events; the buffer layout shall not be changed.
10583 2013-05-27 Leo Liu <sdl.web@gmail.com>
10585 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10587 (inferior-octave-directory-tracker): Automatically re-sync
10589 (octave-help): Improve handling of 'See also'.
10591 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10593 * doc-view.el: Minor naming convention tweaks.
10594 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10596 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10597 even if there's no `display' property yet (bug#14435).
10599 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10601 * subr.el (unmsys--file-name): Rename from reveal-filename.
10603 * Makefile.in (custom-deps, finder-data, autoloads)
10604 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10605 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10606 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10608 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10611 error-completion on the first 2 args of condition-case (bug#14446).
10614 2013-05-25 Leo Liu <sdl.web@gmail.com>
10616 * comint.el (comint-previous-matching-input): Do not flood the
10617 *Messages* buffer with trivial messages.
10619 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10621 * progmodes/flymake.el (flymake-nop): Don't return a string.
10622 (flymake-set-at): Fix typo.
10624 * simple.el (read--expression): New function, extracted from
10625 eval-expression. Set completion-at-point-functions (bug#14465).
10626 (eval-expression, eval-minibuffer): Use it.
10628 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10630 * progmodes/flymake.el (flymake-save-buffer-in-file)
10631 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10632 (flymake-selected-frame, flymake-log, flymake-ins-after)
10633 (flymake-set-at, flymake-get-buildfile-from-cache)
10634 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10635 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10636 Refine the doc string.
10637 (flymake-get-file-name-mode-and-masks): Reformat.
10638 (flymake-get-real-file-name-function): Fix a minor bug.
10640 2013-05-24 Juri Linkov <juri@jurta.org>
10642 * progmodes/grep.el (grep-mode-font-lock-keywords):
10643 Support =linenumber= format used by git-grep for lines with
10644 function names. (Bug#13549)
10646 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10648 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10649 0 after a semi-colon; it works better for smie-auto-fill.
10650 (octave--indent-new-comment-line): New function.
10651 (octave-indent-new-comment-line): Use it (indirectly).
10652 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10653 modify comment-line-break-function.
10655 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10656 (smie-setup): Use add-function to set it.
10658 2013-05-24 Sam Steingold <sds@gnu.org>
10660 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10661 argument (before the `interactive' argument).
10663 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10665 * image-mode.el (image-mode-winprops): Add winprops to
10666 image-mode-winprops-alist before running
10667 image-mode-new-window-functions.
10668 * doc-view.el (doc-view-new-window-function): Don't delay
10669 doc-view-goto-page via timers (bug#14435).
10671 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10673 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10674 (doc-view-desktop-save-buffer): New function.
10675 (doc-view-restore-desktop-buffer): New function.
10676 (desktop-buffer-mode-handlers):
10677 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10679 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10680 `desktop-save-buffer' function.
10682 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10684 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10685 (tramp-gvfs-file-name-handler): Raise a user error when
10686 `tramp-gvfs-enabled' is nil.
10687 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10688 Do not raise a user error when loading package. (Bug#14447)
10690 * net/xesam.el: Move to obsolete/.
10692 2013-05-24 Glenn Morris <rgm@gnu.org>
10694 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10696 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10698 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10699 (Info-find-node, Man-getpage-in-background): Declare.
10701 * mail/unrmail.el (unrmail):
10702 Replace obsolete detect-coding-with-priority.
10704 * net/socks.el (socks-split-string): Use this rather than split-string.
10705 (socks-nslookup-host): Update for above change.
10706 (dynamic-choice, s5-dynamic-choice-match)
10707 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10708 Comment out unused code.
10710 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10711 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10712 (gud-tooltip-echo-area): Make obsolete.
10713 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10715 * progmodes/js.el (js--optimize-arglist): Declare.
10717 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10719 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10720 (ediff-window-C): Declare.
10722 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10723 Tweak requires to silence compiler.
10725 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10726 (he-search-string, he-tried-table, he-expand-list)
10727 (he-init-string, he-string-member, he-substitute-string)
10728 (he-reset-string): Declare.
10730 * obsolete/options.el (list-options): Use custom-variable-p,
10731 rather than obsolete alias.
10733 2013-05-23 Sam Steingold <sds@gnu.org>
10735 * simple.el (shell-command-on-region): Pass the `replace' argument
10736 down to `call-process-region' to comply with the doc as reported on
10737 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10739 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10741 * emacs-lisp/smie.el (smie-indent-forward-token)
10742 (smie-indent-backward-token): Handle string tokens (bug#14381).
10744 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10746 * ielm.el (ielm-menu): New menu.
10747 (inferior-emacs-lisp-mode): Set comment-start.
10749 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10751 * textmodes/reftex.el (reftex-ref-style-toggle):
10752 Fix deactivate action.
10754 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10755 Add cleveref macros.
10757 * textmodes/reftex-parse.el
10758 (reftex-locate-bibliography-files): Accept options for
10759 bibliography commands.
10760 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10761 Add addbibresource. Basic Biblatex support.
10763 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10765 * net/tramp-gvfs.el (top):
10766 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10767 when loading package. (Bug#14447)
10769 2013-05-23 Glenn Morris <rgm@gnu.org>
10771 * progmodes/js.el: No need to load comint when compiling.
10772 (ring-insert, comint-send-string, comint-send-input)
10773 (comint-last-input-end, ido-chop): Declare.
10775 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10776 * vc/ediff-mult.el: Adjust requires.
10777 (ediff-directories-internal, ediff-directory-revisions-internal)
10778 (ediff-patch-file-internal): Declare.
10779 * vc/ediff-ptch.el: Adjust requires.
10780 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10781 (ediff-find-file): Autoload.
10782 * vc/ediff-util.el: No need to load ediff when compiling.
10783 (ediff-regions-internal): Declare.
10784 * vc/ediff-wind.el: Adjust requires.
10785 (ediff-compute-toolbar-width): Define when compiling.
10786 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10787 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10788 (dired-get-filename, dired-get-marked-files)
10789 (ediff-last-dir-patch, ediff-patch-default-directory)
10790 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10791 (ediff-patch-buffer-internal): Declare.
10793 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10794 (ispell-process, ispell-buffer-local-words, lm-summary)
10795 (lm-section-start, lm-section-end): Declare.
10796 (checkdoc-ispell-init): Simplify.
10798 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10799 (he-string-member, he-reset-string, he-substitute-string): Declare.
10801 * eshell/em-ls.el: Adjust requires.
10802 (eshell-glob-regexp): Declare.
10803 * eshell/em-tramp.el: Adjust requires.
10804 (eshell-parse-command): Autoload.
10805 * eshell/em-xtra.el: Adjust requires.
10806 (eshell-parse-command): Autoload.
10807 * eshell/esh-ext.el: Adjust requires.
10808 (eshell-parse-command, eshell-close-handles): Autoload.
10809 * eshell/esh-io.el: Adjust requires.
10810 (eshell-output-filter): Autoload.
10811 * eshell/esh-util.el: No need to load tramp when compiling.
10812 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10814 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10815 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10816 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10817 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10818 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10819 * eshell/esh-opt.el, eshell/esh-proc.el:
10820 * eshell/esh-var.el: Adjust requires.
10821 * eshell/eshell.el: Do not require esh-util twice.
10822 (eshell-add-input-to-history): Declare.
10823 (eshell-command): Check history module is active before using it.
10825 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10827 2013-05-22 Leo Liu <sdl.web@gmail.com>
10829 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10831 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10833 * autorevert.el (auto-revert-notify-add-watch)
10834 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10835 it indicates changes in file modification time.
10837 2013-05-22 Glenn Morris <rgm@gnu.org>
10839 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10840 Always delete the autoloaded function from the noruntime and
10841 unresolved functions lists.
10843 * allout.el: No need to load epa, epg, overlay when compiling.
10844 (epg-context-set-passphrase-callback, epg-list-keys)
10845 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10846 (epg-key-user-id-list): Declare.
10848 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10849 (viper-set-parsing-style-toggling-macro)
10850 (viper-set-emacs-state-searchstyle-macros):
10851 Use called-interactively-p on Emacs.
10852 (viper-looking-back): Make it an obsolete alias. Update callers.
10853 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10854 Use looking-back rather than viper-looking-back.
10855 (viper-tmp-insert-at-eob, viper-enlarge-region)
10856 (viper-read-string-with-history, viper-register-to-point)
10857 (viper-append-to-register, viper-change-state-to-vi)
10858 (viper-backward-char-carefully, viper-forward-char-carefully)
10859 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10860 (viper-change-state-to-emacs): Declare.
10861 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10862 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10863 * emulation/viper-mous.el: Do not load viper-cmd.
10864 (viper-backward-char-carefully, viper-forward-char-carefully)
10865 (viper-forward-word, viper-adjust-window): Declare.
10867 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10869 * progmodes/idlw-help.el (idlwave-help-fontify):
10870 Use called-interactively-p.
10872 * term/w32console.el (w32-get-console-codepage)
10873 (w32-get-console-output-codepage): Declare.
10875 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10876 Remove unnecessary declarations.
10877 (dframe-message): Doc fix.
10879 * info.el (dframe-select-attached-frame, dframe-current-frame):
10882 * speedbar.el (speedbar-message): Make it an obsolete alias.
10883 Update all callers.
10884 (speedbar-with-attached-buffer)
10885 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10886 (speedbar-with-writable): Use backquote.
10887 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10888 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10889 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10890 rather than speedbar- aliases.
10891 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10892 (speedbar-make-specialized-keymap, speedbar-insert-button)
10893 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10894 (speedbar-do-function-pointer): Declare.
10895 (rmail-speedbar-button, rmail-speedbar-find-file)
10896 (rmail-speedbar-move-message):
10897 Use dframe-with-attached-buffer rather than speedbar- alias.
10898 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10899 (dframe-message, speedbar-make-specialized-keymap)
10900 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10901 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10902 (speedbar-insert-button, dframe-select-attached-frame)
10903 (dframe-maybee-jump-to-attached-frame)
10904 (speedbar-change-initial-expansion-list)
10905 (speedbar-previously-used-expansion-list-name): Declare.
10906 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10907 Use dframe-message, dframe-with-attached-buffer rather than
10909 (gud-sentinel): Silence compiler.
10910 * progmodes/vhdl-mode.el (speedbar-refresh)
10911 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10912 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10913 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10914 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10915 (speedbar-file-lists, speedbar-make-tag-line)
10916 (speedbar-line-directory, speedbar-goto-this-file)
10917 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10918 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10919 (speedbar-make-button, speedbar-reset-scanners)
10920 (speedbar-files-item-info, speedbar-line-text)
10921 (speedbar-find-file-in-frame, speedbar-set-timer)
10922 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10923 (speedbar-with-writable): Do not (re)define it.
10924 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10925 rather than speedbar- alias.
10927 2013-05-21 Leo Liu <sdl.web@gmail.com>
10929 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10931 (octave-mode): Tweak fill-nobreak-predicate.
10932 (inferior-octave-startup): Check process to avoid infinite loop.
10933 (inferior-octave): Pop to buffer first to show abornmal process
10936 2013-05-21 Glenn Morris <rgm@gnu.org>
10938 * printing.el (pr-menu-bar): Define when compiling.
10940 2013-05-21 Leo Liu <sdl.web@gmail.com>
10942 * progmodes/octave.el (octave-auto-fill): Remove.
10943 (octave-indent-new-comment-line): Improve.
10944 (octave-mode): Use auto fill mode through
10945 comment-line-break-function and fill-nobreak-predicate.
10946 (octave-goto-function-definition): Support DEFUN_DLD.
10947 (octave-beginning-of-defun): Small tweak.
10948 (octave-help): Show parent directory.
10950 2013-05-21 Glenn Morris <rgm@gnu.org>
10952 * files.el (dired-unmark):
10953 * progmodes/gud.el (gdb-input): Update declarations.
10955 * calculator.el (electric, ehelp): No need to load when compiling.
10956 (Electric-command-loop, electric-describe-mode): Declare.
10958 * doc-view.el (doc-view-current-converter-processes): Move before use.
10960 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10961 Move MODE-set-explicitly definition before use.
10963 * international/mule-diag.el (mule-diag):
10964 Don't use obsolete window-system-version.
10966 * mail/feedmail.el (smtpmail): No need to load when compiling.
10967 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10969 * mail/mail-utils.el (rfc822): No need to load when compiling.
10970 (rfc822-addresses): Autoload it.
10971 (mail-strip-quoted-names): Trivial simplification.
10973 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10974 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10976 * net/snmp-mode.el (tempo): Don't duplicate requires.
10978 * progmodes/prolog.el (info): No need to load when compiling.
10979 (comint): Require before shell requires it.
10980 (Info-goto-node): Autoload it.
10981 (Info-follow-nearest-node): Declare.
10982 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10984 * textmodes/artist.el (picture-mode-exit): Declare.
10986 * textmodes/reftex-parse.el (reftex-parse-from-file):
10987 Trivial rewrite so the compiler can parse it better.
10989 2013-05-20 Leo Liu <sdl.web@gmail.com>
10991 * progmodes/octave.el (octave-help-mode-map)
10992 (octave-help-mode-finish-hook): New variables.
10993 (octave-help-mode, octave-help-mode-finish): New functions.
10994 (octave-help): Use octave-help-mode.
10996 2013-05-20 Glenn Morris <rgm@gnu.org>
10998 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11000 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11002 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11003 start at point, so that expansion starting right after opening
11004 slash in a regexp is recognized.
11005 (ruby-syntax-before-regexp-re): New defvar, extracted from
11006 ruby-syntax-propertize-function. Since the value of this regexp
11007 is looked up at runtime now, we should be able to turn
11008 `ruby-syntax-methods-before-regexp' into a defcustom later.
11009 (ruby-syntax-propertize-function): Split regexp matching into two
11010 parts, for opening and closing slashes. That allows us to skip
11011 over string interpolations and support multiline regexps.
11012 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11013 for them, which calls `ruby-syntax-propertize-expansion'.
11014 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11015 call to `ruby-syntax-propertize-function'.
11016 (ruby-syntax-propertize-expansion): Extracted from
11017 `ruby-syntax-propertize-expansions'. Handles one expansion.
11018 (ruby-syntax-propertize-percent-literal): Leave point right after
11019 the percent symbol, so that the expression expansion rule can
11020 propertize the contents.
11021 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11023 (ruby-syntax-propertize-expansions): Remove.
11025 2013-05-18 Juri Linkov <juri@jurta.org>
11027 * man.el (Man-default-man-entry): Remove `-' from the end
11028 of the default value. (Bug#14400)
11030 2013-05-18 Glenn Morris <rgm@gnu.org>
11032 * comint.el (comint-password-prompt-regexp):
11033 Allow "password for XXX" where XXX contains colons (eg https://...).
11035 2013-05-18 Leo Liu <sdl.web@gmail.com>
11037 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11038 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11039 (octave-source-directories): Don't check process.
11040 (octave-source-directories, octave-find-definition): Doc fix.
11042 2013-05-18 Glenn Morris <rgm@gnu.org>
11044 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11045 Remove backspace/delete bindings. (Bug#14392)
11047 * cus-dep.el (custom-make-dependencies): Sort the output.
11048 (custom-versions-load-alist): Convert comment to doc.
11050 2013-05-17 Leo Liu <sdl.web@gmail.com>
11052 * newcomment.el (comment-search-backward): Stricter in finding
11053 comment start. (Bug#14303)
11055 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11056 (octave-comment-start-skip): Properly anchored.
11058 2013-05-17 Leo Liu <sdl.web@gmail.com>
11060 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11061 Clean up when turned off. (Bug#14395)
11062 (smie--highlight-matching-block-overlay): No longer buffer-local.
11063 (smie-highlight-matching-block): Adjust.
11065 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11067 Doc string fix for "nanoseconds" (Bug#14406).
11068 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11069 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11071 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11073 * calc/calc-units.el (math-extract-units): Preserve powers
11076 2013-05-17 Leo Liu <sdl.web@gmail.com>
11078 * subr.el (delete-consecutive-dups): New function.
11079 * ido.el (ido-set-matches-1): Use it.
11080 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11081 * ido.el (ido-remove-consecutive-dups): Remove.
11083 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11085 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11086 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11087 regexp-opt's `words'.
11089 2013-05-16 Leo Liu <sdl.web@gmail.com>
11091 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11092 (smie--highlight-matching-block-overlay)
11093 (smie--highlight-matching-block-lastpos)
11094 (smie--highlight-matching-block-timer): New variables.
11095 (smie-highlight-matching-block): New function.
11096 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11097 (smie-setup): Conditionally enable smie-blink-matching-open.
11099 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11101 Sync with upstream verilog-mode r840.
11102 * progmodes/verilog-mode.el (verilog-mode-version)
11103 (verilog-mode-release-date): Update.
11104 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11105 (verilog-sig-tieoff): Fix string error on
11106 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11107 (verilog-read-decls): Fix parameters confusing
11108 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11110 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11112 * subr.el (reveal-filename): New function.
11114 * loadup.el: Compute Emacs executable versions on MS-Windows,
11115 where executables have the .exe extension. Add a hard link
11116 emacs-XX.YY.ZZ.exe on MS-Windows.
11118 * Makefile.in (XARGS_LIMIT): New variable.
11119 (custom-deps, finder-data, autoloads)
11120 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11121 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11122 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11123 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11125 2013-05-16 Leo Liu <sdl.web@gmail.com>
11127 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11128 (octave-mode-menu, octave-mode-map): Remove its uses.
11130 2013-05-16 Reto Zimmermann <reto@gnu.org>
11132 Sync with upstream vhdl mode v3.34.2.
11133 * progmodes/vhdl-mode.el: Use `push' throughout.
11134 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11135 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11136 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11137 (vhdl-actual-generic-name): New option to derive actual generic name.
11138 (vhdl-port-paste-signals): Replace formal by actual generics.
11139 (vhdl-beautify): New name for old group vhdl-align. Update users.
11140 (vhdl-beautify-options): New option.
11141 (vhdl-last-input-event): New compat alias. Use throughout.
11142 (vhdl-goto-line): Replace user level function `goto-line'.
11143 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11144 vhdl-fix-statement-buffer.
11145 (vhdl-create-mode-menu): Add some entries.
11146 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11147 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11148 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11149 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11150 to force statements on one line.
11151 (vhdl-remove-trailing-spaces-region):
11152 New, split from vhdl-remove-trailing-spaces.
11153 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11154 Respect vhdl-beautify-options.
11155 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11156 (vhdl-update-sensitivity-list): Not add with index if exists without.
11157 Not include array index with signal. Ignore keywords in comments.
11158 (vhdl-get-visible-signals): Regexp tweaks.
11159 (vhdl-template-component-inst): Handle empty library.
11160 (vhdl-template-type): Add template for 'enum' type.
11161 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11162 Use vhdl-replace-string.
11163 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11164 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11165 (vhdl-speedbar-initialize): Update for above name change.
11166 (vhdl-compose-wire-components): Fix in handling of constants.
11167 (vhdl-error-regexp-emacs-alist): New variable.
11168 (vhdl-error-regexp-add-emacs): New function;
11169 adds support for new compile.el (Emacs 22+)
11170 (vhdl-generate-makefile-1): Change target order for single lib. units.
11171 Allow use of absolute file names.
11173 2013-05-16 Leo Liu <sdl.web@gmail.com>
11175 * simple.el (prog-indent-sexp): Indent enclosing defun.
11177 2013-05-15 Glenn Morris <rgm@gnu.org>
11179 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11180 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11181 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11182 (whitespace-highlight): Move to whitespace group.
11184 * comint.el (comint-source):
11185 * pcmpl-linux.el (pcmpl-linux):
11186 * shell.el (shell-faces):
11187 * eshell/esh-opt.el (eshell-opt):
11188 * international/ccl.el (ccl): Remove empty custom groups.
11190 * completion.el (dynamic-completion-mode):
11191 * jit-lock.el (jit-lock-debug-mode):
11192 * minibuffer.el (completion-in-region-mode):
11193 * type-break.el (type-break-mode-line-message-mode)
11194 (type-break-query-mode):
11195 * emulation/tpu-edt.el (tpu-edt-mode):
11196 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11197 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11198 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11200 * term/xterm.el (xterm): Change parent group to terminals.
11202 * master.el (master): Remove empty custom group.
11203 (master-mode): Remove unused :group argument.
11204 * textmodes/refill.el (refill): Remove empty custom group.
11205 (refill-mode): Remove unused :group argument.
11207 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11209 * cus-dep.el: Provide a feature.
11210 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11211 Don't mistakenly ignore files whose basenames match a basename
11212 from preloaded-file-list (eg cedet/ede/simple.el).
11213 Add a fallback method for getting :group.
11215 2013-05-15 Juri Linkov <juri@jurta.org>
11217 * isearch.el (isearch-char-by-name): Rename from
11218 `isearch-insert-char-by-name'. Doc fix.
11219 (isearch-forward): Mention `isearch-char-by-name' in
11220 the docstring. (Bug#13348)
11222 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11223 `exit-minibuffer' instead of
11224 `isearch-nonincremental-exit-minibuffer'.
11225 (isearch-edit-string): Remove mention of
11226 `isearch-nonincremental-exit-minibuffer' from docstring.
11227 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11228 (isearch-forward-exit-minibuffer)
11229 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11231 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11233 * loadup.el: Just use unversioned DOC.
11235 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11236 literals as extending to EOB.
11237 (nxml-last-fontify-end): Remove unused variable.
11238 (nxml-after-change1): Use with-silent-modifications.
11239 (nxml-extend-after-change-region): Simplify.
11240 (nxml-extend-after-change-region1): Remove function.
11241 (nxml-after-change1): Don't adjust for dependent regions.
11242 (nxml-fontify-matcher): Simplify.
11243 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11244 (xmltok-add-dependent): Remove function.
11245 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11246 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11247 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11248 unclosed <[[, <?, comment, and other literals as extending to EOB.
11249 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11250 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11252 (rng-do-some-validation-1): Don't mark dependent regions.
11253 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11254 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11255 (nxml-clear-dependent-regions): Remove functions.
11256 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11257 (nxml-ensure-scan-up-to-date):
11258 Don't clear&mark dependent regions.
11260 2013-05-15 Leo Liu <sdl.web@gmail.com>
11262 * progmodes/octave.el (octave-goto-function-definition):
11263 Improve and fix callers.
11265 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11267 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11268 the setter (bug#14387).
11270 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11271 surrounding group (bug#14402).
11273 2013-05-14 Juri Linkov <juri@jurta.org>
11275 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11278 2013-05-14 Glenn Morris <rgm@gnu.org>
11280 * progmodes/f90.el (f90-imenu-generic-expression):
11281 Fix typo in 2013-05-08 change. (Bug#14402)
11283 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11285 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11286 Remove signals for which replies are never received.
11288 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11290 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11291 (gdb-handler-alist, gdb-handler-number): Remove variables.
11292 (gdb-handler-list): New variable.
11293 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11294 (gdb-pending-handler-p, gdb-handle-reply)
11295 (gdb-remove-all-pending-triggers): New functions.
11296 (gdb-discard-unordered-replies): New defcustom.
11297 (gdb-handler): New defstruct.
11298 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11299 instead of gdb-pending-triggers. Update docstring.
11300 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11301 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11302 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11303 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11304 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11305 (gdb-frame-handler): Pending triggers are now automatically managed.
11306 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11308 (gdb-input): Automatically handles pending triggers. Update docstring.
11309 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11310 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11312 (gdb-done-or-error): Now use gdb-handle-reply.
11314 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11316 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11319 2013-05-14 Glenn Morris <rgm@gnu.org>
11321 * subr.el (user-emacs-directory-warning): New option.
11322 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11324 2013-05-14 Leo Liu <sdl.web@gmail.com>
11326 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11328 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11329 (octave-font-lock-texinfo-comment): Fix invalid search bound
11330 error: wrong side of point.
11332 2013-05-14 Glenn Morris <rgm@gnu.org>
11334 * progmodes/flymake.el (flymake-xml-program): New option.
11335 (flymake-xml-init): Use it.
11337 * term/xterm.el: Provide a feature.
11339 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11341 2013-05-13 Glenn Morris <rgm@gnu.org>
11343 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11344 Add compat aliases as a hack workaround. (Bug#14384)
11346 2013-05-13 Leo Liu <sdl.web@gmail.com>
11348 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11350 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11352 (octave-comment-start-skip): Include %!.
11353 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11355 2013-05-12 Leo Liu <sdl.web@gmail.com>
11357 * progmodes/octave.el (inferior-octave-startup): Store the value
11358 of __octave_srcdir__ for octave-source-directories.
11359 (inferior-octave-check-process): New function refactored out of
11360 inferior-octave-send-list-and-digest.
11361 (octave-source-directories)
11362 (octave-find-definition-filename-function): New variables.
11363 (octave-source-directories)
11364 (octave-find-definition-default-filename): New functions.
11365 (octave-find-definition): Improve to find functions implemented in C++.
11367 2013-05-12 Glenn Morris <rgm@gnu.org>
11369 * calendar/diary-lib.el (diary-outlook-format-1):
11370 Don't include dayname in the output. (Bug#14349)
11372 2013-05-11 Glenn Morris <rgm@gnu.org>
11374 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11376 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11377 Treat cc-provide like provide.
11379 2013-05-11 Kevin Ryde <user42@zip.com.au>
11381 * cus-dep.el (custom-make-dependencies):
11382 Use generated-autoload-load-name for the sake of files such
11383 such cedet/semantic/bovine/c.el, where the base file name
11384 is not in load-path. (Bug#5277)
11386 2013-05-11 Glenn Morris <rgm@gnu.org>
11388 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11391 2013-05-11 Leo Liu <sdl.web@gmail.com>
11393 * progmodes/octave.el (octave-indent-comment): Improve.
11394 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11395 (octave-eldoc-function-signatures, octave-eldoc-function):
11397 (octave-mode, inferior-octave-mode): Add eldoc support.
11399 2013-05-11 Richard Stallman <rms@gnu.org>
11401 * epa.el (epa-decrypt-file): Take output file name as argument
11402 and read it using `interactive'.
11404 2013-05-11 Leo Liu <sdl.web@gmail.com>
11406 * progmodes/octave.el (octave-beginning-of-line)
11407 (octave-end-of-line): Check before using up-list because it jumps
11408 out of more syntactic contructs since moving to smie.
11409 (octave-indent-comment): New function.
11410 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11411 (octave-begin-keywords, octave-end-keywords)
11412 (octave-reserved-words, octave-smie-bnf-table)
11413 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11415 2013-05-11 Glenn Morris <rgm@gnu.org>
11417 * faces.el (internal-face-x-get-resource):
11418 * frame.el (ns-display-monitor-attributes-list):
11419 * calc/calc-aent.el (math-to-radians-2):
11420 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11423 * calc/calc-menu.el: Make it loadable in isolation.
11425 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11426 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11427 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11428 (eudc-bbdb-query-internal): Require 'bbdb.
11430 * lpr.el (lpr-headers-switches):
11431 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11433 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11435 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11437 * term.el (term-set-escape-char): Make it idempotent.
11439 2013-05-10 Leo Liu <sdl.web@gmail.com>
11441 * progmodes/octave.el (inferior-octave-completion-table):
11442 No longer a function and all uses changed. Use cache to speed up
11443 completion due to bug#11906.
11444 (octave-beginning-of-defun): Re-write to be more general.
11446 2013-05-10 Glenn Morris <rgm@gnu.org>
11448 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11450 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11452 * comint.el (comint-redirect-send-command-to-process): Use :around
11453 rather than :override for comint-redirect-filter.
11454 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11455 Call it instead of comint-redirect-original-filter-function (which
11456 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11458 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11460 * frame.el (display-monitor-attributes-list): Add NS case.
11461 (ns-display-monitor-attributes-list): Declare.
11463 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11465 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11467 2013-05-09 Glenn Morris <rgm@gnu.org>
11469 * international/fontset.el (vertical-centering-font-regexp):
11470 Set standard-value.
11472 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11474 * bookmark.el (bookmark-search-delay):
11475 * cus-start.el (vertical-centering-font-regexp):
11476 * ps-mule.el (ps-mule-font-info-database-default):
11477 * ps-print.el (ps-default-fg, ps-default-bg):
11478 * type-break.el (type-break-good-break-interval):
11479 * whitespace.el (whitespace-indentation-regexp)
11480 (whitespace-space-after-tab-regexp):
11481 * emacs-lisp/testcover.el (testcover-1value-functions)
11482 (testcover-noreturn-functions, testcover-progn-functions)
11483 (testcover-prog1-functions):
11484 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11485 * eshell/em-glob.el (eshell-glob-translate-alist):
11486 * play/tetris.el (tetris-tty-colors):
11487 * progmodes/cpp.el (cpp-face-default-list):
11488 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11489 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11490 (idlwave-help-browser-generic-args):
11491 * progmodes/make-mode.el (makefile-special-targets-list):
11492 * progmodes/python.el (python-shell-virtualenv-path):
11493 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11494 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11495 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11496 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11497 * textmodes/reftex-vars.el (reftex-format-label-function):
11498 * textmodes/remember.el (remember-diary-file): Fix custom types.
11500 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11503 2013-05-09 Leo Liu <sdl.web@gmail.com>
11505 * progmodes/octave.el (inferior-octave-completion-at-point):
11506 Restore file completion. (Bug#14300)
11507 (inferior-octave-startup): Fix incorrect highlighting for the
11510 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11512 * progmodes/ruby-mode.el: First cut at SMIE support.
11513 (ruby-use-smie): New var.
11514 (ruby-smie-grammar): New constant.
11515 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11516 (ruby-smie--forward-token, ruby-smie--backward-token)
11517 (ruby-smie-rules): New functions.
11518 (ruby-mode-variables): Setup SMIE if applicable.
11520 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11522 * simple.el (line-move-visual): Signal beginning/end of buffer
11523 only if vertical-motion moved less than it was requested. Avoids
11524 silly incorrect error messages when there are display strings with
11525 multiple newlines at EOL.
11527 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11529 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11530 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11531 (prolog-char-quote-workaround):
11532 * progmodes/cperl-mode.el (cperl-under-as-char):
11533 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11535 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11537 (vhdl-mode-syntax-table-init): Remove.
11539 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11542 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11544 (ld-script-font-lock-keywords):
11545 Change regexps to use things like \_< and \_>.
11547 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11548 Change all regexps to use things like \_< and \_>.
11550 * progmodes/autoconf.el (autoconf-definition-regexp)
11551 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11552 Handle a _ with symbol syntax.
11553 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11555 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11556 Consolidate declaration.
11557 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11559 (ada-create-syntax-table): Remove.
11560 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11561 already has the right syntax nowadays.
11562 (ada-goto-next-word): Don't change the syntax of "_".
11564 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11567 2013-05-08 Sam Steingold <sds@gnu.org>
11569 * thingatpt.el (thing-at-point): Accept optional second argument
11570 NO-PROPERTIES to strip the text properties from the return value.
11571 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11572 to `thing-at-point' instead of stripping the properties ourselves.
11573 Also, when `thing-at-point' fails to find a url, prepend "http://"
11574 to the filename at point on the assumption that the user is
11575 pointing at something like gnu.org/gnu.
11577 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11579 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11580 * faces.el (crm-separator):
11581 Silence byte-compiler.
11583 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11584 (tool-bar-map): Remove unneeded defvars.
11586 2013-05-08 Leo Liu <sdl.web@gmail.com>
11588 Re-work a fix for bug#10994 based on Le Wang's patch.
11589 * ido.el (ido-remove-consecutive-dups): New helper.
11590 (ido-completing-read): Use it.
11591 (ido-chop): Revert fix for bug#10994.
11593 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11595 * cus-edit.el (custom-save-variables):
11596 Pretty-print long values. (Bug#14187)
11598 2013-05-08 Glenn Morris <rgm@gnu.org>
11600 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11601 (m4-mode-syntax-table): Init in the defvar.
11602 (m4-mode-abbrev-table): Let define-derived-mode define it.
11604 2013-05-08 Tom Tromey <tromey@redhat.com>
11606 * progmodes/m4-mode.el (m4-mode-syntax-table):
11607 Do not treat "_" as word constituent. (Bug#14167)
11609 2013-05-07 Glenn Morris <rgm@gnu.org>
11611 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11612 Remove explicit eshell-isearch-cancel-map.
11614 * progmodes/f90.el (f90-smart-end-names): New option.
11615 (f90-smart-end): Doc fix.
11616 (f90-end-block-optional-name): New constant.
11617 (f90-block-match): Respect f90-smart-end-names.
11619 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11622 about implicit semi-colons (bug#14218).
11624 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11626 * frame.el (display-monitor-attributes-list)
11627 (frame-monitor-attributes): New functions.
11629 2013-05-06 Leo Liu <sdl.web@gmail.com>
11631 * progmodes/octave.el (octave-syntax-propertize-function): Change
11632 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11633 (octave-font-lock-keywords): Use octave-operator-regexp.
11634 (octave-completion-at-point): Rename from
11635 octave-completion-at-point-function.
11636 (inferior-octave-directory-tracker): Robustify.
11637 (octave-text-functions): Remove and fix its uses. No such things
11640 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11642 * emacs-lisp/trace.el (trace--display-buffer): New function.
11643 (trace-make-advice): Use it.
11645 2013-05-06 Juri Linkov <juri@jurta.org>
11647 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11648 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11650 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11651 in the help string. (Bug#12985)
11653 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11655 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11657 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11659 * progmodes/perl-mode.el: Add support for here documents.
11660 (perl-syntax-propertize-function): Match here-doc markers.
11661 (perl-syntax-propertize-special-constructs): Find their end.
11662 (perl-imenu-generic-expression): Use [:alnum:].
11664 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11665 (advice--add-function): Refresh the advice if already present
11668 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11670 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11672 2013-05-06 Glenn Morris <rgm@gnu.org>
11674 * w32-fns.el (w32-charset-info-alist): Declare.
11676 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11677 of its defcustom properties.
11678 (eshell-cmpl-initialize): No need to load pcomplete.
11680 * generic-x.el: No need to require comint when compiling.
11682 * net/eudc-export.el: Make it loadable without bbdb.
11683 (top-level): Use require rather than load-library.
11684 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11685 (eudc-batch-export-records-to-bbdb)
11686 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11689 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11691 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11692 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11693 some tweaks, instead.
11695 2013-05-05 Leo Liu <sdl.web@gmail.com>
11697 * progmodes/octave.el (octave-font-lock-keywords)
11698 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11699 (inferior-octave-send-list-and-digest): Improve error message.
11700 (octave-mode, inferior-octave-mode): Use setq-local.
11701 (octave-help): Set info-lookup-mode.
11703 2013-05-05 Richard Stallman <rms@gnu.org>
11705 * vc/compare-w.el (compare-windows-whitespace):
11706 Treat no-break space as whitespace.
11708 * mail/rmailsum.el (rmail-summary-rmail-update):
11709 Detect empty summary and don't change selected message.
11710 (rmail-summary-goto-msg): Likewise.
11712 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11713 Doc fixes, rename args.
11715 2013-05-05 Alan Mackenzie <acm@muc.de>
11717 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11719 2013-05-05 Juri Linkov <juri@jurta.org>
11721 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11722 to not add the length of the summary segment to the return value.
11725 2013-05-05 Leo Liu <sdl.web@gmail.com>
11727 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11728 (inferior-octave-output-filter): Remove.
11729 (octave-send-region, inferior-octave-startup): Fix callers.
11730 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11731 (octave-binary-file-extensions): New user variable.
11732 (octave-find-definition): Confirm if opening binary files.
11733 (octave-help-file): Use octave-find-definition to get the binary
11735 (octave-help): Adjust for octave-help-file change.
11737 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11739 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11740 Merge the two entries that handle function definitions.
11741 (pascal--syntax-propertize): New const.
11742 (pascal-mode): Use it. Use setq-local.
11744 2013-05-04 Glenn Morris <rgm@gnu.org>
11746 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11747 (diary-from-outlook): Respect diary-from-outlook-function.
11749 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11752 Move the declaration from C.
11753 (read-minibuffer, eval-minibuffer): Move from C.
11754 (completion-setup-function): Avoid minibuffer-completion-contents.
11756 2013-05-03 Leo Liu <sdl.web@gmail.com>
11758 * progmodes/octave.el (octave-font-lock-keywords): Do not
11759 dehighlight 'end' in comments or strings.
11760 (octave-completing-read, octave-goto-function-definition):
11762 (octave-help-buffer): New user variable.
11763 (octave-help-file, octave-help-function): New button types.
11764 (octave-help): New command and bind it to C-h ;.
11765 (octave-find-definition): New command and bind it to M-.
11766 (user-error): Alias to error if not defined.
11768 2013-05-02 Leo Liu <sdl.web@gmail.com>
11770 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11772 (octave-font-lock-keywords): Include [ and {.
11774 2013-05-02 Leo Liu <sdl.web@gmail.com>
11776 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11777 (inferior-octave): Remove calling comint-mode and return the buffer.
11778 (inferior-octave-startup): Cosmetic changes.
11780 2013-05-02 Leo Liu <sdl.web@gmail.com>
11782 * progmodes/octave.el (octave-syntax-propertize-function):
11783 Include the case when ' is at line beginning. (Bug#14336)
11785 2013-05-02 Glenn Morris <rgm@gnu.org>
11787 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11788 * desktop.el (vc-dir-mode): Just autoload it here.
11790 2013-05-02 Alan Mackenzie <acm@muc.de>
11792 Eliminate variable c-standard-font-lock-fontify-region-function.
11793 * progmodes/cc-mode.el
11794 (c-standard-font-lock-fontify-region-function): Remove.
11795 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11797 2013-05-01 Leo Liu <sdl.web@gmail.com>
11799 * progmodes/octave.el: Compatible with older emacs-24 releases.
11800 (inferior-octave-has-built-in-variables): Remove. Built-in
11801 variables were removed from Octave in 2007.
11802 (inferior-octave-startup): Fix uses.
11803 (comint-line-beginning-position): Remove compatibility code for
11806 2013-05-01 Juri Linkov <juri@jurta.org>
11808 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11810 2013-05-01 Juri Linkov <juri@jurta.org>
11812 * comint.el (comint-previous-matching-input): Don't print message
11813 "History item: %d" when `isearch-mode' is active.
11814 (comint-history-isearch-message): Print message "History item: %d"
11815 when `comint-input-ring-index' is not empty and this function is
11816 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11818 2013-05-01 Leo Liu <sdl.web@gmail.com>
11820 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11821 definitions. Use completion-at-point to insert keywords.
11822 (octave-abbrev-start): Remove.
11823 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11825 2013-04-30 Leo Liu <sdl.web@gmail.com>
11827 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11830 2013-04-30 Alan Mackenzie <acm@muc.de>
11832 Handle arbitrarily long C++ member initialisation lists.
11833 * progmodes/cc-engine.el (c-back-over-member-initializers):
11835 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11836 (most) member init lists.
11838 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11840 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11843 2013-04-30 Leo Liu <sdl.web@gmail.com>
11845 * progmodes/octave.el (octave-variables): Remove. No builtin
11846 variables any more. All converted to functions.
11847 (octave-font-lock-keywords, octave-completion-at-point-function):
11849 (octave-font-lock-texinfo-comment): New user variable.
11850 (octave-texinfo-font-lock-keywords): New variable for texinfo
11852 (octave-function-comment-block): New face.
11853 (octave-font-lock-texinfo-comment): New function.
11854 (octave-mode): Font lock texinfo comment block.
11856 2013-04-29 Leo Liu <sdl.web@gmail.com>
11858 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11859 indexing expression.
11860 (octave-continuation-string): Do not use \.
11861 (inferior-octave-complete-impossible): Remove.
11862 (inferior-octave-completion-table)
11863 (inferior-octave-completion-at-point): Remove its uses.
11864 (inferior-octave-startup): completion_matches was introduced to
11865 Octave in 1996 so safe to assume it.
11866 (octave-function-file-comment): Improve to follow how Octave does it.
11867 (octave-update-function-file-comment): Tweak.
11869 2013-04-29 Leo Liu <sdl.web@gmail.com>
11871 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11872 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11873 (octave-function-file-comment): Fix typo.
11874 (octave-sync-function-file-names): Use read-char-choice.
11876 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11878 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11879 to t for the less important warnings.
11881 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11883 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11885 2013-04-27 Glenn Morris <rgm@gnu.org>
11887 * vc/log-view.el (log-view-current-entry):
11888 Treat "---" separator lines as part of the following rev. (Bug#14169)
11890 2013-04-27 Juri Linkov <juri@jurta.org>
11892 * subr.el (read-number): Doc fix about using it by interactive
11893 code letter `n'. (Bug#14254)
11895 2013-04-27 Juri Linkov <juri@jurta.org>
11897 * desktop.el (desktop-auto-save-timeout): New option.
11898 (desktop-file-checksum): New variable.
11899 (desktop-save): Add optional arg `auto-save' and don't auto-save
11900 if nothing changed.
11901 (desktop-auto-save-timer): New variable.
11902 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11903 (after-init-hook): Call `desktop-auto-save-set-timer'.
11904 Suggested by Reuben Thomas <rrt@sc3d.org> in
11905 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11907 2013-04-27 Leo Liu <sdl.web@gmail.com>
11909 * progmodes/octave.el (octave-function-file-p)
11910 (octave-skip-comment-forward, octave-function-file-comment)
11911 (octave-update-function-file-comment): New functions.
11912 (octave-mode-map): Bind C-c ; to
11913 octave-update-function-file-comment.
11914 (octave-mode-menu): Add octave-update-function-file-comment.
11915 (octave-mode, inferior-octave-mode): Fix doc-string.
11916 (octave-insert-defun): Conform to Octave's coding convention.
11919 * files.el (basic-save-buffer): Don't let errors in
11920 before-save-hook prevent saving buffer.
11922 2013-04-20 Roland Winkler <winkler@gnu.org>
11924 * faces.el (read-face-name): Use completing-read if arg multiple
11927 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11929 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11930 displayed, move point to after the totals line.
11931 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11934 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11937 Add current dir to the load-path.
11938 (package-generate-autoloads): Don't rely on
11939 autoload-ensure-default-file.
11941 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11943 * textmodes/remember.el (remember-store-in-files): Document that
11944 the file name format is passed to `format-time-string'.
11946 2013-04-26 Leo Liu <sdl.web@gmail.com>
11948 * progmodes/octave.el (octave-sync-function-file-names): New function.
11949 (octave-mode): Use it in before-save-hook.
11951 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11953 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11956 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11957 \n and comment, even if it's not an implicit ; (bug#14218).
11959 2013-04-26 Glenn Morris <rgm@gnu.org>
11961 * subr.el (read-number): Once more use `read' rather than
11962 `string-to-number', to trap non-numeric input. (Bug#14254)
11964 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11966 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11967 Use `syntax-multiline' text property consistently instead of
11968 `font-lock-multiline'. (Bug#14237)
11970 2013-04-26 Glenn Morris <rgm@gnu.org>
11972 * emacs-lisp/shadow.el (list-load-path-shadows):
11973 No longer necessary to check for duplicate simple.el, since
11974 2012-07-07 change to init_lread to not include installation lisp
11975 directories in load-path when running uninstalled. (Bug#14270)
11977 2013-04-26 Leo Liu <sdl.web@gmail.com>
11979 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11980 (octave-mode, inferior-octave-mode): Use setq-local.
11981 (octave-not-in-string-or-comment-p): Rename to
11982 octave-in-string-or-comment-p.
11983 (octave-in-comment-p, octave-in-string-p)
11984 (octave-in-string-or-comment-p): Replace defsubst with defun.
11986 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11988 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11990 2013-04-25 Bastien Guerry <bzg@gnu.org>
11992 * textmodes/remember.el (remember-data-directory)
11993 (remember-directory-file-name-format): Fix custom types.
11995 2013-04-25 Leo Liu <sdl.web@gmail.com>
11997 * progmodes/octave.el (octave-completion-at-point-function):
11998 Make use of inferior octave process.
11999 (octave-initialize-completions): Remove.
12000 (inferior-octave-completion-table): New function.
12001 (inferior-octave-completion-at-point): Use it.
12002 (octave-completion-alist): Remove.
12004 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12006 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12007 (opascal-mode-syntax-table): New var.
12008 (opascal-literal-kind, opascal-is-literal-end)
12009 (opascal-literal-token-at): Rewrite.
12010 (opascal--literal-start-re, opascal-font-lock-keywords)
12011 (opascal--syntax-propertize): New constants.
12012 (opascal-font-lock-defaults): Adjust.
12013 (opascal-mode): Use them. Set comment-<foo> variables as well.
12014 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12015 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12016 (delphi-other-face, opascal-other-face): Remove face variables.
12017 (opascal-save-state): Remove macro.
12018 (opascal-fontifying-progress-step): Remove constant.
12019 (opascal--ignore-changes): Remove var.
12020 (opascal-set-token-property, opascal-parse-next-literal)
12021 (opascal-is-stable-literal, opascal-complete-literal)
12022 (opascal-is-literal-start, opascal-face-of)
12023 (opascal-parse-region, opascal-parse-region-until-stable)
12024 (opascal-fontify-region, opascal-after-change)
12025 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12026 (opascal-debug-parse-region, opascal-debug-parse-window)
12027 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12028 (opascal-debug-fontify-buffer): Remove.
12029 (opascal-debug-mode-map): Adjust accordingly.
12031 2013-04-25 Leo Liu <sdl.web@gmail.com>
12033 Merge octave-mod.el and octave-inf.el into octave.el with some
12035 * progmodes/octave.el: New file renamed from octave-mod.el.
12036 * progmodes/octave-inf.el: Merged into octave.el.
12037 * progmodes/octave-mod.el: Renamed to octave.el.
12039 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12041 * textmodes/reftex-vars.el
12042 (reftex-label-ignored-macros-and-environments): New defcustom.
12044 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12046 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12048 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12049 (smie-indent-keyword): Improve the check to ensure that the next
12050 comment is really on the same line.
12051 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12053 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12054 semi-colons if the line is not otherwise empty (bug#14218).
12056 2013-04-25 Glenn Morris <rgm@gnu.org>
12058 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12060 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12062 * progmodes/opascal.el (opascal-set-token-property): Rename from
12063 opascal-set-text-properties and only set `token' (bug#14134).
12064 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12065 (opascal-literal-text-properties): Remove.
12066 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12069 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12071 * textmodes/remember.el (remember-handler-functions): Add an
12072 option for a new handler `remember-store-in-files'.
12073 (remember-data-directory, remember-directory-file-name-format):
12075 (remember-store-in-files): New function to store remember notes
12076 as separate files within a directory.
12078 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12080 * progmodes/compile.el (compilation-next-error-function):
12081 Pass "formats" to compilation-find-file (bug#11777).
12083 2013-04-24 Glenn Morris <rgm@gnu.org>
12085 * vc/vc-bzr.el (vc-bzr-print-log):
12086 * vc/vc-hg.el (vc-hg-print-log):
12087 * vc/vc-svn.el (vc-svn-print-log):
12088 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12090 * vc/vc-bzr.el (vc-bzr-print-log):
12091 * vc/vc-cvs.el (vc-cvs-print-log):
12092 * vc/vc-git.el (vc-git-print-log):
12093 * vc/vc-hg.el (vc-hg-print-log):
12094 * vc/vc-mtn.el (vc-mtn-print-log):
12095 * vc/vc-rcs.el (vc-rcs-print-log):
12096 * vc/vc-sccs.el (vc-sccs-print-log):
12097 * vc/vc-svn.el (vc-svn-print-log):
12098 * vc/vc.el (vc-print-log-internal): Doc fixes.
12100 2013-04-23 Glenn Morris <rgm@gnu.org>
12102 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12103 Remove venerable code attempting to avoid substitute-command-keys.
12105 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12107 * textmodes/reftex-vars.el (reftex-label-regexps):
12108 Call `reftex-compile-variables' after changes to this variable.
12110 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12112 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12113 Use lexical-binding.
12114 (jit-lock-force-redisplay): Use markers, check buffer's continued
12115 existence and beware narrowed buffers.
12116 (jit-lock-fontify-now): Adjust call accordingly.
12118 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12120 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12121 to avoid misleading the user.
12123 2013-04-22 Leo Liu <sdl.web@gmail.com>
12125 * info-look.el: Prefer latex2e.info. (Bug#14240)
12127 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12129 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12131 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12132 * net/tramp.el (tramp-call-process): ... here.
12133 (tramp-set-completion-function, tramp-parse-putty):
12134 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12135 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12136 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12137 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12138 (tramp-call-local-coding-command): Use `tramp-call-process'
12139 instead of `tramp-compat-call-process'.
12141 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12142 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12143 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12144 (tramp-find-inline-compress): Improve traces.
12145 (tramp-maybe-send-script): Check for Perl binary.
12146 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12148 2013-04-22 Daiki Ueno <ueno@gnu.org>
12150 * epg.el (epg-context-pinentry-mode): New function.
12151 (epg-context-set-pinentry-mode): New function.
12152 (epg--start): Pass --pinentry-mode option to gpg command.
12154 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12156 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12157 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12158 `completion-at-point'. (Bug#13774)
12160 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12161 default key binding for `describe-distribution' has been moved to
12162 `C-h C-o'. (Bug#13970)
12164 2013-04-21 Glenn Morris <rgm@gnu.org>
12166 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12168 (vc-print-log): Clarify interactive prompt.
12170 2013-04-20 Glenn Morris <rgm@gnu.org>
12172 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12173 No longer include timestamp etc information.
12175 2013-04-20 Roland Winkler <winkler@gnu.org>
12177 * faces.el (read-face-name): Bug fix, return just one face if arg
12178 multiple is nil. (Bug#14209)
12180 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12182 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12183 (remove-function): Autoload.
12185 * comint.el (comint-redirect-original-filter-function): Remove.
12186 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12187 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12188 (vc-cvs-annotate-command):
12189 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12190 * progmodes/prolog.el (prolog-consult-compile):
12191 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12192 Use add/remove-function instead.
12193 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12194 (gud-tooltip-process-output, gud-tooltip-tips):
12195 Use add/remove-function instead.
12196 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12197 (scheme-interaction-mode, exit-scheme-interaction-mode):
12198 Use add/remove-function instead.
12200 * vc/vc-dispatcher.el: Use lexical-binding.
12201 (vc--process-sentinel): Rename from vc-process-sentinel.
12202 Change last arg to be the code to run. Don't use vc-previous-sentinel
12203 and vc-sentinel-commands any more.
12204 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12205 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12207 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12209 * progmodes/sh-script.el (sh-imenu-generic-expression):
12210 Handle function names with a single character. (Bug#14111)
12212 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12214 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12215 for subroutines defined in an eval (bug#14182).
12217 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12219 * bookmark.el (bookmark-completing-read): Improve handling of empty
12220 string (bug#14176).
12222 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12224 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12226 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12228 New faster Imenu implementation (bug#14058).
12229 * progmodes/python.el:
12230 (python-imenu-prev-index-position):
12231 (python-imenu-format-item-label-function)
12232 (python-imenu-format-parent-item-label-function)
12233 (python-imenu-format-parent-item-jump-label-function):
12235 (python-imenu-format-item-label)
12236 (python-imenu-format-parent-item-label)
12237 (python-imenu-format-parent-item-jump-label)
12238 (python-imenu--put-parent, python-imenu--build-tree)
12239 (python-imenu-create-index, python-imenu-create-flat-index)
12240 (python-util-popn): New functions.
12241 (python-mode): Set imenu-create-index-function to
12242 python-imenu-create-index.
12244 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12246 * winner.el (winner-active-region): Use region-active-p, activate-mark
12247 and deactivate-mark (bug#14225).
12249 * simple.el (deactivate-mark): Don't inline it.
12251 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12253 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12255 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12257 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12258 file extensions from the archive-mode entry in order to prefer
12259 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12261 2013-04-18 Leo Liu <sdl.web@gmail.com>
12263 * bindings.el (help-event-list): Add ?\?.
12265 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * subr.el (with-wrapper-hook): Declare obsolete.
12268 * simple.el (filter-buffer-substring-function): New hook.
12269 (filter-buffer-substring): Use it.
12270 (filter-buffer-substring-functions): Mark obsolete.
12271 * minibuffer.el (completion-in-region-function): New hook.
12272 (completion-in-region): Use it.
12273 (completion-in-region-functions): Mark obsolete.
12274 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12275 * abbrev.el (abbrev-expand-function): New hook.
12276 (expand-abbrev): Use it.
12277 (abbrev-expand-functions): Mark obsolete.
12278 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12279 and :filter-return.
12281 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12283 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12284 and do not care about match data.
12286 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12288 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12289 completion tables when completing error conditions and
12290 `declare' arguments.
12291 (lisp-complete-symbol, field-complete): Mark as obsolete.
12292 (check-parens): Unmatched parens are user errors.
12293 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12295 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12297 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12298 command changed buffer (ie. `flyspell-pre-buffer' is not current
12299 buffer), which prevents making decisions based on invalid value of
12300 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12301 cause an error when `flyspell-pre-point' was nil after switching
12303 (flyspell-post-command-hook): No longer needs to change buffers when
12304 checking pre-word. While at it remove unnecessary progn.
12306 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12308 * textmodes/ispell.el (ispell-add-per-file-word-list):
12309 Fix `flyspell-correct-word-before-point' error when accepting
12310 words and `coment-padding' is an integer by using
12311 `comment-normalize-vars' (Bug #14214).
12313 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12315 New defun movement commands.
12316 * progmodes/python.el (python-nav--syntactically)
12317 (python-nav--forward-defun, python-nav-backward-defun)
12318 (python-nav-forward-defun): New functions.
12320 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12322 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12323 (python-syntax-context): Use named compiler-macro for backwards
12324 compatibility with Emacs 24.x.
12326 2013-04-17 Leo Liu <sdl.web@gmail.com>
12328 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12329 octave-hide-process-buffer.
12331 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12333 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12336 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12338 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12339 Fix adjustment of offset when receiving incomplete responses from GDB
12342 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12344 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12345 python-mode-abbrev-table.
12346 (python-skeleton-define): Adjust accordingly.
12347 (python-mode-abbrev-table): New table that inherits from it so that
12348 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12350 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12351 (abbrev-symbol): Use it.
12352 (abbrev--before-point): Use it since we already handle inheritance.
12354 2013-04-16 Leo Liu <sdl.web@gmail.com>
12356 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12357 binding to info-lookup-symbol.
12359 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12361 * minibuffer.el (completion--twq-all):
12362 * term/ns-win.el (ns-initialize-window-system):
12363 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12365 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12367 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12370 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12372 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12374 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12375 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12377 (ruby-end-of-defun): Remove the unused arg, change the docstring
12378 to reflect that this function is only used as the value of
12379 `end-of-defun-function'.
12380 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12381 to reflect an earlier change that beginning/end-of-defun functions
12382 jump between methods in a class definition, as well as top-level
12385 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * minibuffer.el (minibuffer-complete): Don't just scroll
12388 a *Completions* that's been iconified.
12389 (minibuffer-force-complete): Make sure repetitions do cycle when going
12390 through completion-in-region -> minibuffer-complete.
12392 2013-04-15 Alan Mackenzie <acm@muc.de>
12394 Correct the placement of c-cpp-delimiters when there're #s not at
12397 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12398 place a submatch around the #.
12399 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12400 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12403 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12405 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12406 (advice--member-p): New arg `name'.
12407 (advice--add-function, advice-member-p): Use it (bug#14202).
12409 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12411 Reformulate java imenu-generic-expression.
12412 The old expression contained ill formed regexps.
12414 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12415 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12416 (cc-imenu-java-method-arg-regexp): New defconsts.
12417 (cc-imenu-java-build-type-args-regex): New defun.
12418 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12419 handling of spaces in the regexp.
12421 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12423 * textmodes/ispell.el (ispell-command-loop): Remove
12424 flyspell highlight of a word when ispell accepts it (bug #14178).
12426 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12428 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12429 uses code from the previous `ange-ftp-run-real-handler'.
12430 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12431 only in case that function exist. This is needed for proper
12432 unloading of Tramp.
12434 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12436 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12438 * textmodes/reftex.el (reftex-compile-variables): Use it.
12440 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12442 * files.el (normal-mode): Only use default major-mode if no other mode
12445 * emacs-lisp/trace.el (trace-values): New function.
12447 * files.el: Allow : in local variables (bug#14089).
12448 (hack-local-variable-regexp): New var.
12449 (hack-local-variables-prop-line, hack-local-variables): Use it.
12451 2013-04-13 Roland Winkler <winkler@gnu.org>
12453 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12454 data before it gets modified by bibtex-beginning-of-entry.
12456 2013-04-13 Roland Winkler <winkler@gnu.org>
12458 * textmodes/bibtex.el (bibtex-url): Doc fix.
12460 2013-04-13 Roland Winkler <winkler@gnu.org>
12462 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12463 does not visit a BibTeX file, exclude it from the list of buffers
12464 returned by bibtex-initialize.
12466 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12468 * window.el (split-window): Remove interactive form, since as a
12469 command this function is a special case of split-window-below.
12470 Correct doc string.
12472 2013-04-12 Roland Winkler <winkler@gnu.org>
12474 * faces.el (read-face-name): Do not override value of arg default.
12475 Allow single faces and strings as default values. Remove those
12476 elements from return value that are not faces.
12477 (describe-face): Simplify.
12478 (face-at-point): New optional args thing and multiple so that this
12479 function can provide the same functionality previously provided by
12481 (make-face-bold, make-face-unbold, make-face-italic)
12482 (make-face-unitalic, make-face-bold-italic, invert-face)
12483 (modify-face, read-face-and-attribute): Use face-at-point.
12485 * cus-edit.el (customize-face, customize-face-other-window)
12486 * cus-theme.el (custom-theme-add-face)
12487 * face-remap.el (buffer-face-set)
12488 * facemenu.el (facemenu-set-face): Use face-at-point.
12490 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12492 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12494 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12496 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12497 off leading { and trailing } from field values.
12499 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12501 * emacs-lisp/timer.el (timer--check): New function.
12502 (timer--time, timer-set-function, timer-event-handler): Use it.
12503 (timer-set-idle-time): Simplify.
12504 (timer--activate): CSE.
12505 (timer-event-handler): Give more info in error message.
12506 (internal-timer-start-idle): New function, moved from C.
12508 * mpc.el (mpc-proc): Add `restart' argument.
12509 (mpc-proc-cmd): Use it.
12510 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12511 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12514 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12516 * progmodes/sh-script.el: Implement `sh-mode' own
12517 `add-log-current-defun-function' (bug#14112).
12518 (sh-current-defun-name): New function.
12519 (sh-mode): Use the function.
12521 2013-04-09 Bastien Guerry <bzg@gnu.org>
12523 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12525 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12527 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12529 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12532 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12534 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12537 2013-04-07 Leo Liu <sdl.web@gmail.com>
12539 * pcmpl-x.el: New file.
12541 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12543 Do not set x-display-name until X connection is established.
12544 This is needed to prevent from weird situation described at
12545 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12546 * frame.el (make-frame): Set x-display-name after call to
12547 window system initialization function, not before.
12548 * term/x-win.el (x-initialize-window-system): Add optional
12549 display argument and use it.
12550 * term/w32-win.el (w32-initialize-window-system):
12551 * term/ns-win.el (ns-initialize-window-system):
12552 * term/pc-win.el (msdos-initialize-window-system):
12553 Add compatible optional display argument.
12555 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12557 * files.el (normal-backup-enable-predicate): On MS-Windows and
12558 MS-DOS compare truenames of temporary-file-directory and of the
12559 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12560 don't fail comparison by compare-strings. Also, compare file
12561 names case-insensitively on MS-Windows and MS-DOS.
12563 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12565 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12566 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12568 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12570 * whitespace.el (whitespace-color-on, whitespace-color-off):
12571 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12573 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12575 * ispell.el (ispell-set-spellchecker-params):
12576 Really set `ispell-args' for all equivs.
12578 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12580 * ido.el (ido-completions): Use extra elements of ido-decorations
12582 (ido-decorations): Update docstring.
12584 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12586 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12587 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12588 nil during initialization, in order not to miss changes since the
12589 file was opened. (Bug#14140)
12591 2013-04-05 Leo Liu <sdl.web@gmail.com>
12593 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12595 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12597 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12599 2013-04-04 Glenn Morris <rgm@gnu.org>
12601 * electric.el (electric-pair-inhibit-predicate): Add :version.
12603 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12606 when a package is required several times (bug#14082).
12608 2013-04-04 Roland Winkler <winkler@gnu.org>
12610 * faces.el (read-face-name): Behave as promised by the docstring.
12611 Assume that arg default is a list of faces.
12612 (describe-face): Call read-face-name with list of default faces.
12614 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12616 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12617 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12618 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12620 (bookmark-exit-hook-internal): Save even if list is empty.
12622 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12624 * emacs-lisp/package.el (package-pinned-packages): New var.
12625 (package--add-to-archive-contents): Obey it (bug#14118).
12627 2013-04-03 Alan Mackenzie <acm@muc.de>
12629 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12630 Also adapt to the new values of element 7 of a parse state.
12632 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12633 parameter `not-in-delimiter'. Handle being inside comment opener.
12634 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12635 character in case we're typing a '*' after a '/'.
12636 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12637 instead by passing the parameter to c-state-pp-to-literal.
12639 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12640 for elt. 7 of a parse state.
12642 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12644 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12645 * international/latin1-disp.el, international/mule-util.el:
12646 * language/cyril-util.el, language/european.el, language/ind-util.el:
12647 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12648 * language/tibetan.el, language/viet-util.el:
12649 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12651 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12653 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12654 (electric-pair-post-self-insert-function): Use it.
12655 (electric-pair-default-inhibit): New function, extracted from
12656 electric-pair-post-self-insert-function.
12658 2013-03-31 Roland Winkler <winkler@gnu.org>
12660 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12662 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12664 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12666 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12668 Un-indent after "pass" and "return" statements (Bug#13888)
12669 * progmodes/python.el (python-indent-block-enders): New var.
12670 (python-indent-calculate-indentation): Use it.
12672 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12674 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12675 defun. Defining it as defalias could introduce too eager
12676 byte-compiler optimization. (Bug#14030)
12678 2013-03-30 Chong Yidong <cyd@gnu.org>
12680 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12682 2013-03-30 Leo Liu <sdl.web@gmail.com>
12684 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12685 (kmacro-execute-from-register): Pass the keyboard macro to
12686 kmacro-call-macro or repeating won't work correctly.
12688 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12690 * progmodes/subword.el: Back to using `forward-symbol'.
12692 * subr.el (forward-whitespace, forward-symbol)
12693 (forward-same-syntax): Move from thingatpt.el.
12695 2013-03-29 Leo Liu <sdl.web@gmail.com>
12697 * kmacro.el (kmacro-to-register): New command.
12698 (kmacro-execute-from-register): New function.
12699 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12701 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12703 * mpc.el: Use defvar-local and setq-local.
12704 (mpc--proc-connect): Connection failures are not bugs.
12705 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12706 (mpc-volume-map): Bind to the up-events.
12708 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12710 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12711 instead of `forward-symbol'.
12713 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12715 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12716 (edebug--recursive-edit): Use it.
12717 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12718 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12720 2013-03-28 Leo Liu <sdl.web@gmail.com>
12722 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12724 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12726 * facemenu.el (list-colors-callback): New defvar.
12727 (list-colors-redisplay): New function.
12728 (list-colors-display): Install list-colors-redisplay as the
12729 revert-buffer-function. (Bug#14063)
12731 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12733 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12734 and suffixes don't overlap (bug#14061).
12736 * case-table.el: Use lexical-binding.
12737 (case-table-get-table): New function.
12738 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12740 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12742 * progmodes/subword.el: Add `superword-mode' to do word motion
12743 over symbol_words (parallels and leverages `subword-mode' which
12744 does word motion inside MixedCaseWords).
12746 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12748 * eshell/em-unix.el: Move su and sudo to...
12749 * eshell/em-tramp.el: ...Eshell tramp module.
12751 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12753 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12754 Change return value to be a sexp. Delay `get-buffer' to after
12755 restoring the desktop (bug#13951).
12757 2013-03-26 Leo Liu <sdl.web@gmail.com>
12759 * register.el: Move semantic tag handling back to
12760 cedet/semantic/senator.el. (Bug#14052)
12762 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12764 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12765 into the prompt either (bug#13963).
12767 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12769 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12770 part of "(error-foo)".
12772 2013-03-24 Juri Linkov <juri@jurta.org>
12774 * replace.el (list-matching-lines-prefix-face): New defcustom.
12775 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12776 `occur-engine' if `face-differs-from-default-p' returns t.
12777 (occur-engine): Add `,' inside backquote construct to evaluate
12778 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12779 Pass `prefix-face' to the functions `occur-context-lines' and
12780 `occur-engine-add-prefix'.
12781 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12782 `prefix-face' and propertize the prefix with `prefix-face'.
12785 2013-03-24 Leo Liu <sdl.web@gmail.com>
12787 * nxml/rng-valid.el (rng-validate-while-idle)
12788 (rng-validate-quick-while-idle): Guard against deleted buffer.
12791 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12792 is the last entry in kill-buffer-hook.
12794 * files.el (kill-buffer-hook): Doc fix.
12796 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12798 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12799 Make it safe-local.
12801 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12803 2013-03-23 Leo Liu <sdl.web@gmail.com>
12805 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12808 * nxml/rng-valid.el (rng-validate-mode)
12809 (rng-after-change-function, rng-do-some-validation):
12810 * nxml/rng-maint.el (rng-validate-buffer):
12811 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12812 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12813 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12814 (nxml-extend-after-change-region): Use with-silent-modifications.
12816 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12819 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12820 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12821 timer-idle-list. (Bug#13999)
12823 2013-03-23 Juri Linkov <juri@jurta.org>
12825 * info.el (info-index-match): New face.
12826 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12827 main pattern and add text properties with the new face to matches
12828 in index entries relative to the beginning of the index entry.
12831 2013-03-21 Eric Ludlam <zappo@gnu.org>
12833 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12834 Inhibit read only while inserting objects.
12836 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12838 * progmodes/cfengine.el: Update docs to mention
12839 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12840 symbol motion. Remove "_" from the word syntax.
12842 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12844 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12845 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12847 2013-03-20 Juri Linkov <juri@jurta.org>
12849 * info.el (Info-next-reference-or-link)
12850 (Info-prev-reference-or-link): New functions.
12851 (Info-next-reference, Info-prev-reference): Use them.
12852 (Info-try-follow-nearest-node): Handle footnote navigation.
12853 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12855 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12857 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12858 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12860 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12862 Suppress unnecessary non-ASCII chatter during build process.
12863 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12864 (batch-skkdic-convert): Suppress most of the chatter.
12865 It's not needed so much now that machines are faster,
12866 and its non-ASCII component was confusing; see Dmitry Gutov in
12867 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12869 2013-03-20 Leo Liu <sdl.web@gmail.com>
12871 * ido.el (ido-chop): Fix bug#10994.
12873 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12875 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12877 (whitespace-color-on, whitespace-color-off):
12878 Use `font-lock-fontify-buffer' (Bug#13817).
12880 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12882 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12883 remapping in mode-line.
12884 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12886 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12888 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12889 value for `whitespace-line' face (Bug#13875).
12890 (whitespace-font-lock-keywords): Change description.
12891 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12892 the constructed keywords instead.
12893 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12895 2013-03-19 Leo Liu <sdl.web@gmail.com>
12897 * progmodes/compile.el (compilation-display-error): New command.
12898 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12901 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12903 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12905 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12907 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12909 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12911 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12913 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12914 * net/tramp-gvfs.el (top):
12915 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12916 (tramp-handle-shell-command): Use it.
12917 (tramp-dissect-file-name): Raise an error when hostname is a
12918 method name, and neither method nor user is specified.
12920 * net/trampver.el: Update release number.
12922 2013-03-18 Leo Liu <sdl.web@gmail.com>
12924 Make sure eldoc can be turned off properly.
12925 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12927 (eldoc-display-message-p): Revert last change.
12928 (eldoc-display-message-no-interference-p)
12929 (eldoc-print-current-symbol-info): Tweak.
12931 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12933 * doc-view.el (doc-view-new-window-function): Check the new window
12934 overlay's display property instead the char property of the
12935 buffer's first char. Use `with-selected-window' instead of
12936 `save-window-excursion' with `select-window'.
12937 (doc-view-document->bitmap): Check the current doc-view overlay's
12938 display property instead the char property of the buffer's first char.
12940 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12942 Automate the build of ja-dic.el (Bug#13984).
12943 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12944 from the input, rather than assume that it's been done for us by the
12945 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12946 the current date into a ja-dic.el comment, as that complicates
12947 regression testing.
12949 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12951 * whitespace.el: Fix double evaluation.
12952 (whitespace-space, whitespace-hspace, whitespace-tab)
12953 (whitespace-newline, whitespace-trailing, whitespace-line)
12954 (whitespace-space-before-tab, whitespace-indentation)
12955 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12957 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12958 (whitespace-color-on): Use a single font-lock-add-keywords call.
12959 Fix double-evaluation of face variables.
12961 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12963 * net/tramp-adb.el (tramp-adb-parse-device-names):
12964 Use `start-process' instead of `call-process'. Otherwise, the
12965 function might be blocked under MS Windows. (Bug#13299)
12967 2013-03-17 Leo Liu <sdl.web@gmail.com>
12969 Extend eldoc to display info in the mode-line. (Bug#13978)
12970 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12971 (eldoc-mode-line-string): New variable.
12972 (eldoc-minibuffer-message): New function.
12973 (eldoc-message-function): New variable.
12974 (eldoc-message): Use it.
12975 (eldoc-display-message-p)
12976 (eldoc-display-message-no-interference-p):
12977 Support eldoc-post-insert-mode.
12979 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12980 (eval-expression): Run it.
12982 2013-03-17 Roland Winkler <winkler@gnu.org>
12984 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12985 strings in the list of return values.
12987 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12989 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12990 radix before checking for HMS forms.
12992 2013-03-16 Leo Liu <sdl.web@gmail.com>
12994 * progmodes/scheme.el: Add indentation and font-locking for λ.
12997 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12999 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13000 token before point (bug#13942).
13002 2013-03-16 Leo Liu <sdl.web@gmail.com>
13004 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13006 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13008 * startup.el (command-line-normalize-file-name): Fix handling of
13009 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13010 <xfq.free@gmail.com> in
13011 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13013 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13015 Sync with Tramp 2.2.7.
13017 * net/trampver.el: Update release number.
13019 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13021 * doc-view.el: Fix bug#13887.
13022 (doc-view-insert-image): Don't modify overlay associated to
13023 non-live windows, and implement horizontal centering of image in
13024 case it's smaller than the window.
13025 (doc-view-new-window-function): Force redisplay of new windows on
13028 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13030 * saveplace.el (save-place-alist-to-file): Don't sort
13031 `save-place-alist', just pretty-print it (bug#13882).
13033 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13035 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13036 Check whether `default-file-name-coding-system' is bound.
13037 It isn't in XEmacs.
13039 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13042 backquotes for `obsolete' (bug#13929).
13044 * international/mule.el (find-auto-coding): Include file name in
13045 obsolescence warning (bug#13922).
13047 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13049 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13050 for CFEngine 3-specific indentation.
13051 (cfengine3-indent-line): Use it. Fix up category regex.
13052 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13054 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13056 * type-break.el (type-break-file-name):
13057 * textmodes/remember.el (remember-data-file):
13058 * strokes.el (strokes-file):
13059 * shadowfile.el (shadow-initialize):
13060 * saveplace.el (save-place-file):
13061 * ps-bdf.el (bdf-cache-file):
13062 * progmodes/idlwave.el (idlwave-config-directory):
13063 * net/quickurl.el (quickurl-url-file):
13064 * international/kkc.el (kkc-init-file-name):
13065 * ido.el (ido-save-directory-list-file):
13066 * emulation/viper.el (viper-custom-file-name):
13067 * emulation/vip.el (vip-startup-file):
13068 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13069 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13071 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13073 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13074 * language/thai-word.el: Switch to UTF-8.
13076 See ChangeLog.16 for earlier changes.
13078 ;; Local Variables:
13082 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13084 This file is part of GNU Emacs.
13086 GNU Emacs is free software: you can redistribute it and/or modify
13087 it under the terms of the GNU General Public License as published by
13088 the Free Software Foundation, either version 3 of the License, or
13089 (at your option) any later version.
13091 GNU Emacs is distributed in the hope that it will be useful,
13092 but WITHOUT ANY WARRANTY; without even the implied warranty of
13093 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13094 GNU General Public License for more details.
13096 You should have received a copy of the GNU General Public License
13097 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.