1 2014-02-20 Glenn Morris <rgm@gnu.org>
3 * isearch.el (search-invisible): Doc fix.
5 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
7 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
10 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
12 * frameset.el (frameset-restore): Delay removing an old frame's
13 duplicate id until the new frame has been correctly created.
15 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
17 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
18 (tramp-check-cached-permissions): Call `file-attributes' if the
21 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
22 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
24 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
25 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
26 (tramp-gvfs-maybe-open-connection): Set always connection
27 properties, even if target is mounted already.
29 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
30 Set tramp-autoload cookie.
31 (tramp-get-remote-touch): New defun.
32 (tramp-sh-handle-set-file-times): Use it.
33 (tramp-sh-handle-directory-files-and-attributes):
34 Use `tramp-handle-directory-files-and-attributes' if neither stat
35 nor perl are available on the remote host.
37 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
38 "/". Write long listing only when "l" belongs to the switches.
40 * net/trampver.el: Update release number.
42 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
44 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
46 2014-02-19 Martin Rudalics <rudalics@gmx.at>
48 * window.el (window-state-put): Allow WINDOW to refer to an
49 internal window (Bug#16793).
51 2014-02-19 Glenn Morris <rgm@gnu.org>
53 * textmodes/remember.el: Move provide statement to end.
54 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
55 (remember-notes): Doc fixes.
57 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
59 * delsel.el (delete-char): Restore incorrectly erased property
62 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
64 * frameset.el (frameset--restore-frame): When a frame is being reused
65 and its root window is not alive, delete all the frame's windows before
66 restoring the window state. This works around the issue in bug#16793.
68 2014-02-18 Glenn Morris <rgm@gnu.org>
70 * textmodes/remember.el (remember-data-directory)
71 (remember-directory-file-name-format, remember-store-in-files)
72 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
73 (remember-notes-save-and-bury-buffer)
74 (remember-notes--kill-buffer-query): Doc fixes.
76 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
78 2014-02-17 Alan Mackenzie <acm@muc.de>
80 Connect electric-indent-mode up with CC Mode. Bug #15478.
81 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
82 to electric-indent-{,local-}-mode.
83 (c-basic-common-init): Set electric-indent-inhibit.
84 Initialise c-electric-flag from electric-indent-mode.
85 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
86 New hook functions which propagate electric-indent-mode to CC mode.
88 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
89 hit, toggle electric-indent-local-mode.
91 * electric.el (electric-indent-mode-has-been-called):
94 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
96 * frameset.el (frameset-cfg-id): New function.
97 (frameset--reuse-frame, frameset-restore): Use it.
98 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
100 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
102 * ido.el (ido-file-internal): Remove unused var `d'.
103 Use \` for to match BoS. Fit within 80n columns.
105 2014-02-17 Daniel Colascione <dancol@dancol.org>
107 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
108 dbus-call-method check for completion using a busy-wait loop with
111 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
113 Sync with Tramp 2.2.9.
115 * net/trampver.el: Update release number.
117 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
119 * ido.el (ido-file-internal): Don't add the name of an existing
120 directory twice. (Bug#16747)
122 2014-02-16 Glenn Morris <rgm@gnu.org>
124 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
125 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
127 2014-02-15 Michael R. Mauger <michael@mauger.com>
129 * progmodes/sql.el: Version 3.4
130 (sql-oracle-options): New default value ("-L").
131 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
132 (sql-placeholders-filter): Correct placeholder pattern.
133 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
134 (sql-login-delay): New variable.
135 (sql-product-interactive): Use it.
137 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
139 * frameset.el (frameset--jump-to-register): Check that buffer is live
142 2014-02-15 Glenn Morris <rgm@gnu.org>
144 * info.el (info-initialize): Revert 2014-01-10 change.
146 2014-02-14 Glenn Morris <rgm@gnu.org>
148 * replace.el (map-query-replace-regexp)
149 (read-regexp-defaults-function, read-regexp): Doc fixes.
151 * dired.el (dired-read-regexp):
152 * faces.el (list-faces-display):
153 * misearch.el (multi-isearch-read-matching-buffers)
154 (multi-isearch-read-matching-files):
155 * play/cookie1.el (cookie-apropos):
156 * progmodes/grep.el (grep-read-regexp): Doc fixes.
158 * textmodes/remember.el (remember): Use frameset-to-register
159 rather than frame-configuration-to-register.
161 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
163 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
164 incorrect keybinding.
166 2014-02-13 Daniel Colascione <dancol@dancol.org>
168 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
169 when adding overlays so that line numbers from compiler match line
172 2014-02-13 Glenn Morris <rgm@gnu.org>
174 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
176 * jit-lock.el (jit-lock-mode): Doc fix.
178 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
180 * apropos.el (apropos-read-pattern): When the user passes an empty
181 string, give a more helpful error message than "Wrong type
182 argument: stringp, nil".
184 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
186 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
188 2014-02-13 Glenn Morris <rgm@gnu.org>
190 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
192 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
194 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
195 shift-select commands.
197 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
199 * progmodes/js.el (js-indent-line): Don't widen.
200 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
202 2014-02-12 Glenn Morris <rgm@gnu.org>
204 * icomplete.el (icomplete): Add info-link to defgroup.
205 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
206 (icomplete-minibuffer-map, icomplete-mode)
207 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
209 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
210 (package-menu-filter): Rename from package-menu-filter-interactive.
213 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
215 * frameset.el (frameset--jump-to-register): Select the required
216 window and buffer before restoring position (bug#16696).
218 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
220 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
222 2014-02-10 Glenn Morris <rgm@gnu.org>
224 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
226 2014-02-10 Eli Zaretskii <eliz@gnu.org>
228 * w32-common-fns.el (x-get-selection): Doc fix.
229 * select.el (x-get-selection): Doc fix. (Bug#15109)
231 * face-remap.el (face-remap-add-relative)
232 (face-remap-remove-relative, face-remap-reset-base)
233 (face-remap-set-base): Call force-mode-line-update to redisplay
234 the current buffer due to potential change in faces. (Bug#16709)
236 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
238 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
239 script more robustly.
241 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
243 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
245 * simple.el (choose-completion): Doc fix (bug#14160).
247 * subr.el (event-start): Say what a nil EVENT value means.
249 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
252 * progmodes/grep.el (find-program): Doc fix (bug#14289).
254 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
256 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
258 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
259 predicate function (bug#15455).
261 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
263 * ielm.el (inferior-emacs-lisp-mode): Instead of
264 `comment-use-global-state', set `comment-use-syntax'.
266 2014-02-10 Glenn Morris <rgm@gnu.org>
268 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
270 2014-02-09 Alan Mackenzie <acm@muc.de>
272 Fix c-invalidate-state-cache on narrowed buffers.
273 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
274 Widen when setting and clearing the CPP delimiter properties.
276 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
278 * help.el (describe-bindings): Doc fix (bug#9888).
280 * files.el (save-buffer): Use ARG as the parameter name for
281 consistency (bug#10346).
282 (save-buffer): Clarify the 0 argument (bug#10346).
284 * cus-edit.el (customize-apropos): Fix error string.
285 (custom-buffer-create): Doc fix (bug#11122).
286 (custom-sort-items): Doc fix (bug#11121).
288 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
290 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
291 (icomplete-simple-completing-p): Mention the previous variable.
293 * font-lock.el (font-lock-value-in-major-mode): Clarify the
294 meaning of the parameter (bug#12282).
296 * files.el (find-file-noselect): Clarify prompt when changing
297 readedness (bug#13261).
298 (locate-file): Suffixes aren't returned, so don't say that they
300 (backup-inhibited): Doc clarification (bug#12525).
302 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
303 before we actually start to delete things (bug#16331).
305 * subr.el (event-start): Doc fix (bug#14228).
308 2014-02-09 Glenn Morris <rgm@gnu.org>
310 * emacs-lisp/warnings.el (lwarn):
311 Empower help-enable-auto-load. (Bug#15940)
313 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
315 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
318 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
320 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
321 Insert output at end of buffer. (Bug#16120)
323 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
325 * simple.el (choose-completion-string-functions): Document new
326 calling convention (bug#14153).
327 (execute-extended-command): Clarify doc string (bug#13373).
329 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
331 * find-dired.el (find-name-dired): Doc fix (bug#14290).
332 (find-grep-dired): Doc fix (bug#14288).
334 2014-02-08 Juri Linkov <juri@jurta.org>
336 * isearch.el (isearch-quote-char): Check character validity
337 like in `quoted-insert' (bug#16677).
339 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
341 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
343 * isearch.el (isearch-hide-immediately): Doc clarification
346 * simple.el (line-move): Document utility function used many
347 places in the Emacs sources (bug#14843).
349 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
350 (dired-prev-marked-file): Doc fix (bug#14855).
351 (dired-up-directory): Doc fix (bug#14848).
353 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
355 * files.el (file-relative-name): Doc fix (bug#15159).
357 * fringe.el (fringe-styles): Doc fix (bug#15239).
359 * isearch.el (isearch-filter-predicate): Documentation typo fix
362 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
364 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
366 * replace.el (replace-match-maybe-edit): Doc clarification
369 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
371 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
373 2014-02-08 Glenn Morris <rgm@gnu.org>
375 * help-fns.el (describe-variable):
376 Check {file,dir}-local-variables-alist, and buffer-file-name,
377 in the correct buffer.
379 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
381 * help-fns.el (describe-variable): Fix the case where
382 a value is directory-local with no dir-locals file. (Bug#16635)
384 2014-02-08 Glenn Morris <rgm@gnu.org>
386 * abbrev.el (edit-abbrevs-mode):
387 Derive from fundamental-mode. (Bug#16682)
389 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
391 * simple.el (quoted-insert): Check character validity (bug#16677).
393 2014-02-07 Juri Linkov <juri@jurta.org>
395 * desktop.el (desktop-read): Claim the lock when the owner is not
396 the current process. (Bug#16157)
398 2014-02-07 Juri Linkov <juri@jurta.org>
400 * desktop.el (desktop-buffers-not-to-save): Change default from nil
401 to "\\` ". (Bug#16651)
403 2014-02-07 Juri Linkov <juri@jurta.org>
405 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
406 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
407 (desktop-auto-save-cancel-timer): New function with some code from
408 `desktop-auto-save-set-timer'.
409 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
410 Instead of setting `desktop-save-mode' to nil, call
411 `desktop-save-mode' with arg 0. (Bug#16630)
413 2014-02-07 Glenn Morris <rgm@gnu.org>
415 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
416 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
417 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
419 * obsolete/iswitchb.el: Move to obsolete/.
420 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
421 since obsolete/ is not scanned for autoloads.
422 * emacs-lisp/authors.el (authors-valid-file-names):
425 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
426 Disable now non-functional find-file-hook.
428 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
430 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
431 instead of ";" in order to avoid additional prompts. Let heredoc
432 scripts read from tty. (Bug#16582)
433 (tramp-send-command): No special handling of heredocs, it isn't
436 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
438 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
439 with a space (bug#16664). Limit the symbols considered to the ones
440 that are bound or fbound (bug#16646).
442 2014-02-06 Glenn Morris <rgm@gnu.org>
444 * epa.el (epa-mail-aliases): Doc fix.
446 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
448 * emacs-lisp/lisp.el (lisp-completion-at-point):
449 Use `completion-table-merge' instead of `completion-table-in-turn'
452 * minibuffer.el (completion-table-merge): New function.
454 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
456 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
457 (tramp-sh-handle-set-file-acl)
458 (tramp-sh-handle-start-file-process)
459 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
460 (tramp-find-executable, tramp-send-command): Use it.
462 2014-02-05 Glenn Morris <rgm@gnu.org>
464 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
466 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
468 * progmodes/python.el (python-shell-send-string):
469 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
471 2014-02-04 Anders Lindgren <andlind@gmail.com>
473 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
474 the names (bug#16620).
476 2014-02-03 Martin Rudalics <rudalics@gmx.at>
478 * faces.el (window-divider): New default value. Rewrite doc-string.
479 (window-divider-first-pixel, window-divider-last-pixel): New faces.
481 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
483 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
484 `protected' and `public' can also be called without arguments.
486 2014-02-03 Glenn Morris <rgm@gnu.org>
488 * register.el (window-configuration-to-register)
489 (frame-configuration-to-register): Unadvertise unused argument.
490 * frameset.el (frameset-to-register): Remove unused argument.
492 * frameset.el (frameset-to-register):
493 * kmacro.el (kmacro-to-register):
494 * register.el (increment-register):
495 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
496 (calc-append-to-register, calc-prepend-to-register):
497 * play/gametree.el (gametree-layout-to-register)
498 (gametree-apply-register-layout):
499 * textmodes/picture.el (picture-clear-rectangle-to-register)
500 (picture-yank-rectangle-from-register):
501 * vc/emerge.el (emerge-combine-versions-register):
502 Use register-read-with-preview to read registers.
504 2014-02-03 João Távora <joaotavora@gmail.com>
506 * elec-pair.el (electric-pair-backward-delete-char): Don't error
507 when at beginning of (possibly narrowed) buffer.
509 2014-02-02 Daniel Colascione <dancol@dancol.org>
511 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
512 Also try to display local help from just before point.
514 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
516 c-parse-state. Don't "append-lower-brace-pair" in certain
517 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
518 recognised as a comment.
520 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
521 as well as normal comment starter.
522 (c-parse-state-get-strategy): Extra return possibility
524 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
525 return value list to indicate replacement of a brace-pair cons
527 (c-parse-state-1): With 'back-and-forward, only call
528 c-append-lower-brace-pair-to state-cache when cons-separated.
530 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
532 * term/ns-win.el (ns-suspend-error): New function.
533 (ns-initialize-window-system): Add ns-suspend-error to
534 suspend-hook (Bug#16612).
536 2014-02-02 Daniel Colascione <dancol@dancol.org>
538 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
540 2014-02-02 Daniel Colascione <dancol@dancol.org>
542 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
544 2014-02-02 Glenn Morris <rgm@gnu.org>
546 * register.el (register-read-with-preview, point-to-register)
547 (window-configuration-to-register, frame-configuration-to-register)
548 (jump-to-register, number-to-register, view-register, insert-register)
549 (copy-to-register, append-to-register, prepend-to-register)
550 (copy-rectangle-to-register): Doc fixes.
552 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
554 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
555 * emacs-lisp/find-func.el (find-function-C-source): Idem.
556 * emacs-lisp/nadvice.el (advice--cd*r): New function.
557 * help-fns.el (describe-function-1): Use it.
559 2014-02-02 Glenn Morris <rgm@gnu.org>
561 * register.el (register-preview-default): New function,
562 split from register-preview.
563 (register-preview-function): Rename from register-preview-functions,
565 (register-preview): Use register-preview-function.
566 (register-read-with-preview): Error on non-character event. (Bug#16595)
568 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
570 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
571 `:' before binary operators (bug#16609). Don't check for `:'
572 before `[' and `(', or their syntax status. A percent literal
573 can't end with either.
574 (ruby-font-lock-keywords): For built-ins that require arguments,
575 check that they're followed by something that looks like argument
578 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
580 * subr.el (butlast): Document what an omitted N means (bug#13437).
583 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
585 * net/shr.el (shr-generic): Make into a defsubst to make the stack
586 depth shallower (bug#16587).
587 (shr-tag-svg): Respect `shr-inhibit-images'.
588 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
590 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
592 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
593 (ruby-smie-grammar): Make "." right-associative. Make its priority
594 lower than the ternary and all binary operators.
595 (ruby-smie-rules): Indent "(" relative to the first non-"."
596 parent, or the first "." parent at indentation.
597 Use `ruby-align-chained-calls' for indentation of "." tokens.
600 2014-01-31 Juri Linkov <juri@jurta.org>
602 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
603 from `make-hash-table'.
605 * textmodes/ispell.el (ispell-init-process): Change message format
606 to be consistent with other messages.
608 2014-01-31 Glenn Morris <rgm@gnu.org>
610 * delsel.el (delete-selection-mode): Doc fix.
612 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
613 (trace-function-background): Doc fixes.
615 * ido.el (ido-use-virtual-buffers): Doc fix.
616 Reset :version, since the default value has not changed.
618 * register.el (register-preview-delay, register-read-with-preview):
621 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
622 do not mess with mail-buffer position (fixes 2009-11-03 change).
623 * progmodes/cc-mode.el (c-submit-bug-report):
624 Check auto-fill-mode is bound. (Bug#16592)
626 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
628 * startup.el (fancy-splash-image-file): New function,
629 split from fancy-splash-head.
630 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
631 so that we are both using the same image. (Bug#16574)
633 2014-01-30 Glenn Morris <rgm@gnu.org>
635 * simple.el (eval-expression): Doc fix.
637 * hexl.el (hexl-mode-hook):
638 * ielm.el (ielm-mode-hook):
639 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
640 (lisp-interaction-mode-hook):
641 * progmodes/cfengine.e (cfengine3-documentation-function):
642 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
644 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
646 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
647 is a symbol (bug#16584).
649 2014-01-30 Glenn Morris <rgm@gnu.org>
651 * help.el (help-for-help-internal): Add "P" to text.
653 2014-01-29 Glenn Morris <rgm@gnu.org>
655 * simple.el (just-one-space, cycle-spacing): Doc fixes.
657 2014-01-28 Martin Rudalics <rudalics@gmx.at>
659 * window.el (fit-frame-to-buffer): Fix calculations for margins and
662 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
664 * progmodes/hideif.el: Extend to full CPP expression syntax.
665 (hif-token-alist): Add missing tokens.
666 (hif-token-regexp): Add support for float/octal/hex immediates.
667 (hif-string-literal-regexp): New const.
668 (hif-tokenize): Recognize strings and float/octal/hex immediates.
669 (hif-exprlist): New function.
670 (hif-parse-if-exp): Use it.
671 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
672 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
673 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
674 (hif-logxor, hif-comma): New functions.
676 2014-01-28 Glenn Morris <rgm@gnu.org>
678 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
680 * indent.el (tab-stop-list): Doc fix. Add :version.
682 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
683 (cvs-append-to-ignore): Add compatibility alias.
685 2014-01-27 Glenn Morris <rgm@gnu.org>
687 * dired.el (dired-hide-details-mode): Don't autoload it,
688 since it cannot be used outside Dired buffers anyway.
690 * emulation/cua-base.el (cua-mode): Doc fix.
692 * dired.el (dired-hide-details-hide-symlink-targets)
693 (dired-hide-details-hide-information-lines)
694 (dired-hide-details-mode): Doc fixes.
696 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
697 * strokes.el (strokes-file): Doc fix. Bump :version.
698 (strokes-help): Doc fix.
699 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
700 * emulation/viper.el (viper): Doc fix for custom group.
701 (top-level): Remove oh-so-no-longer-relevant text about vip.
702 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
704 * ido.el (ido-save-directory-list-file):
705 * saveplace.el (save-place-file):
706 * calendar/timeclock.el (timeclock-file):
707 * net/quickurl.el (quickurl-url-file):
708 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
709 * progmodes/idlwave.el (idlwave-config-directory):
710 * textmodes/remember.el (remember-data-file):
713 2014-01-26 Glenn Morris <rgm@gnu.org>
715 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
716 Doc fix. Make obsolete.
717 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
719 * sort.el (delete-duplicate-lines): Doc fix.
721 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
723 * progmodes/ada-mode.el (ada):
724 * woman.el (woman): Link to info manual and Commentary section.
726 * progmodes/flymake.el (flymake):
727 * nxml/nxml-mode.el (nxml):
729 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
730 * htmlfontify.el (htmlfontify):
733 * ido.el (ido): Link to info manual.
735 2014-01-25 Leo Liu <sdl.web@gmail.com>
737 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
739 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
741 * net/shr.el (shr-tag-img): Prefer the title over the alt text
744 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
746 * net/eww.el (eww-download-callback):
747 Fix reference to eww-download-directory.
749 * emacs-lisp/bytecomp.el (byte-compile-file):
750 Remove unused local variable `file-name'.
752 2014-01-24 Glenn Morris <rgm@gnu.org>
754 * woman.el (woman-default-faces, woman-monochrome-faces):
755 Fix obsolescence specification.
757 * subr.el (with-demoted-errors): Doc fix.
759 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
761 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
762 (cl--macroexp-fboundp): New function.
763 (cl--make-type-test): Use it.
765 2014-01-23 Glenn Morris <rgm@gnu.org>
767 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
768 * simple.el (eval-expression): Doc fixes.
770 2014-01-22 Glenn Morris <rgm@gnu.org>
772 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
774 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
776 * emacs-lisp/package.el: Write files silently.
777 (package-autoload-ensure-default-file, package--write-file-no-coding)
778 (package-generate-description-file, package--download-one-archive)
779 (package-install-from-archive): Tell `write-region' to stay quiet.
780 (package-menu-mode, package-menu--print-info): Omit the Archive column
781 if there's only one archive.
782 (package-all-keywords, package--has-keyword-p): Remove dead code.
784 2014-01-22 Glenn Morris <rgm@gnu.org>
786 * version.el (emacs-bzr-version-bzr): Fix typo.
788 * version.el (emacs-repository-get-version):
789 Check either .bzr or .git, but not both.
790 Make the git case actually use the DIR argument, and return nil
791 rather than the empty string.
792 Avoid error if .git exists but the git executable is not found.
794 2014-01-22 Martin Rudalics <rudalics@gmx.at>
796 Fixes in window size functions around Bug#16430 and Bug#16470.
797 * window.el (window-total-size, window-size): New argument ROUND.
798 (window--min-delta-1, window-min-delta, window--max-delta-1):
799 Be more conservative when calculating the numbers of lines or
800 columns a window can shrink (Bug#16430).
801 (fit-window-to-buffer): Simplify code.
802 * term.el (term-window-width): Call window-body-width again.
804 2014-01-22 Glenn Morris <rgm@gnu.org>
806 * image.el (image-format-suffixes): Doc fix.
808 * international/quail.el (quail-define-package): Doc fix.
810 * emacs-lisp/authors.el (authors-valid-file-names):
811 (authors-renamed-files-alist): Additions.
813 * vc/vc-git.el (vc-git-print-log): Remove --follow;
814 reverts 2014-01-09 change. (Bug#16422)
816 * calc/calc-embed.el (thing-at-point-looking-at):
817 * emacs-lisp/map-ynp.el (x-popup-dialog):
818 * obsolete/lmenu.el (x-popup-dialog):
819 * emacs-lisp/package.el (url-recreate-url):
820 * mail/mailclient.el (clipboard-kill-ring-save):
821 * subr.el (x-popup-dialog): Update declaration.
822 * mail/rmail.el (rmail-mime-message-p):
823 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
825 2014-01-21 Daniel Colascione <dancol@dancol.org>
827 * progmodes/sh-script.el (sh--inside-noncommand-expression):
828 Correctly detect when we're inside an arithmetic expansion form
829 containing nested parenthesis.
830 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
831 to detect cases where we shouldn't expand "<<" to a heredoc
834 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
836 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
837 (eldoc--message-command-p): New function.
838 (eldoc-display-message-p): Use it.
839 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
840 message is not automatically erased for us.
841 (eldoc-print-current-symbol-info): Erase previous message, if any.
843 2014-01-21 Tassilo Horn <tsdh@gnu.org>
845 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
846 specify it's an interactive function.
848 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
849 Fix regex used for scanning for citation keys which failed for
850 citations with optional arguments.
852 2014-01-21 Leo Liu <sdl.web@gmail.com>
854 * simple.el (read--expression): Don't enable eldoc-mode.
856 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
858 * simple.el (move-beginning-of-line): Make sure we don't move forward
861 2014-01-20 Juri Linkov <juri@jurta.org>
863 * saveplace.el (toggle-save-place, save-place-to-alist)
864 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
865 'dired-mode) before checking for dired-directory. (Bug#16477)
867 2014-01-20 Juri Linkov <juri@jurta.org>
869 * indent.el (indent-line-to): Use backward-to-indentation
870 instead of back-to-indentation. (Bug#16461)
872 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
874 Revert some of the CANNOT_DUMP fix (Bug#16494).
875 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
876 but fixing this can wait until after the next release.
877 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
879 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
881 * eshell/esh-mode.el (eshell-password-prompt-regexp):
882 Use `password-word-equivalents'.
883 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
884 to t. (Bug#5664, Bug#13124)
886 2014-01-19 Alan Mackenzie <acm@muc.de>
888 Bind open-paren-in-column-0-is-defun-start to nil at some entry
890 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
891 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
892 * progmodes/cc-mode.el (c-before-change, c-after-change)
893 (c-font-lock-fontify-region): Bind it here.
895 2014-01-19 Martin Rudalics <rudalics@gmx.at>
897 * term.el (term-window-width): Call window-text-width instead of
898 window-width (Bug#16470).
900 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
902 * simple.el (password-word-equivalents): Remove duplicates.
903 Sort, to make this easier next time.
904 Downcase. Omit ": " after "jelszó".
906 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
908 * term/common-win.el (saved-region-selection): Defvar it.
909 (x-select-text): Set saved-region-selection (Bug#16382).
911 2014-01-18 Glenn Morris <rgm@gnu.org>
913 * emacs-lisp/authors.el (authors-aliases)
914 (authors-renamed-files-alist): Add some entries.
916 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
918 * net/tramp.el (tramp-password-prompt-regexp):
919 Use `password-word-equivalents' if available.
920 (tramp-action-password, tramp-process-one-action)
921 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
923 2014-01-17 Chong Yidong <cyd@gnu.org>
925 * simple.el (password-word-equivalents): New defcustom.
926 * comint.el (comint-password-prompt-regexp): Use it. Bump version
928 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
931 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
933 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
934 (ruby-align-to-stmt-keywords): Change the default value.
935 Use `ruby-alignable-keywords' to generate the possible customization
937 (ruby-smie-rules): Instead of using a hardcoded list of alignable
938 keywords, check against the value of `ruby-alignable-keywords'
939 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
941 2014-01-17 Glenn Morris <rgm@gnu.org>
943 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
945 Make M-x authors return zero *Authors Errors* from current logs.
946 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
947 (authors-ignored-files): Add some entries, remove others.
948 (authors-ambiguous-files, authors-valid-file-names):
950 (authors-renamed-files-alist): Add, remove, and adjust entries.
951 (authors-renamed-files-regexps): Add some entries.
952 Remove some very broad ones. Make some entries `lax'.
953 (authors-lax-changelogs): New constant.
954 (authors-disambiguate-file-name): Treat top-level specially.
955 (authors-lax-changelog-p): New function.
956 (authors-canonical-file-name): Check file as written against
957 authors-valid-file-names. Do not special-case etc/.
958 Handle `lax' logs and authors-renamed-files-regexps elements.
960 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
962 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
963 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
966 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
968 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
969 Assume we're already in the proper buffer.
970 Inspired by Anders Lindgren <andlind@gmail.com>.
971 (follow-post-command-hook): Call it from the right buffer.
972 (follow-comint-scroll-to-bottom): Adjust call.
973 (follow-all-followers): Use get-buffer-window-list.
975 2014-01-15 Daniel Colascione <dancol@dancol.org>
977 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
978 `buffer-file-name' in interactive-form so that we don't leave
979 pathless file names in `file-name-history'.
981 2014-01-15 Juri Linkov <juri@jurta.org>
983 * indent.el (indent-rigidly): Set deactivate-mark to nil
984 in transient indentation mode. (Bug#16438)
986 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
988 * emacs-lisp/package.el (package-desc-keywords): New function
990 (describe-package-1, package-all-keywords)
991 (package--has-keyword-p): Use it.
993 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
995 * simple.el (define-alternatives): When creating the
996 COMMAND-alternatives variable, assign COMMAND as its definition
997 name so that `describe-variable' can relocate it.
999 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1001 * font-lock.el (font-lock-keywords): Fix typo in docstring
1004 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1006 * ispell.el (ispell-region): Reset `in-comment' for new line
1007 instead of wrongly reset `add-coment' (bug#13577).
1009 2014-01-14 Daiki Ueno <ueno@gnu.org>
1011 * epa-file.el (epa-file-write-region): Encode the region according
1012 to `buffer-file-format'. Problem reported at:
1013 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1015 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1017 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1018 so it applies in the right buffer (bug#16410).
1020 2014-01-13 Daniel Colascione <dancol@dancol.org>
1022 * textmodes/rst.el (rst-define-key): Provide deprecated
1023 keybindings through named functions instead of anonymous ones so
1024 that "??" doesn't appear in describe-mode output.
1026 2014-01-13 Bastien Guerry <bzg@gnu.org>
1028 * simple.el (define-alternatives): Call the selected command
1029 interactively. When setting `COMMAND--implementation' for the
1030 first time, tell the user how to chose another implementation.
1031 Enhance the docstring.
1033 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1035 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1036 (log-edit--match-first-line): New function.
1037 (log-edit-font-lock-keywords): Use it.
1038 (log-edit-mode): Make jit-lock-defer-multiline work.
1040 2014-01-13 Bastien Guerry <bzg@gnu.org>
1042 * rect.el (rectangle-mark-mode): When the region is not active,
1043 display a message saying that the mark as been set and that
1044 rectangle mode is in use.
1045 (rectangle--highlight-for-redisplay): Only put an overlay with a
1046 visible vertical bar when (display-graphic-p) is non-nil.
1047 This partially fixes Bug#16403.
1049 2014-01-13 Juri Linkov <juri@jurta.org>
1051 * info.el (Info-find-file): Go to DIR before displaying the error
1052 about a nonexistent file if no previous Info file is visited.
1053 Use `user-error' instead of `error' for "Info file %s does not exist".
1054 (Info-find-node-2): In case of a nonexistent node in unwind forms
1055 go to the Top node if there is no previous node to revert to.
1058 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1060 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1061 * window.el (fit-frame-to-buffer): Fix doc-string.
1062 Respect window-min-height/-width. Fit pixelwise when
1063 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1064 when avoiding that frame goes partially off-screen.
1065 (fit-window-to-buffer): Respect window-min-height/-width
1068 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1070 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1071 after an empty line.
1073 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * net/shr.el (shr-render-region): Autoload.
1077 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1079 * net/eww.el (eww-download-directory): Rename from
1080 `eww-download-path' (Bug#16419).
1082 2014-01-12 Leo Liu <sdl.web@gmail.com>
1084 * dired-x.el (dired-mode-map): Fix last change.
1086 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1088 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1091 * emacs-lisp/generic.el (generic--normalize-comments):
1092 Rename from generic--normalise-comments. All uses changed.
1093 * play/bubbles.el (bubbles--neighborhood-score):
1094 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1095 (bubbles--neighborhood-available)
1096 (bubbles--update-neighborhood-score):
1097 Rename from names with 'neighbourhood'. All uses changed.
1099 2014-01-12 Leo Liu <sdl.web@gmail.com>
1101 Re-implement the feature of showing eldoc info after editing.
1102 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1103 (eldoc-edit-message-commands): New function.
1104 (eldoc-print-after-edit): New variable.
1105 (eldoc-pre-command-refresh-echo-area): Emit message only by
1106 eldoc-message-commands.
1107 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1108 if eldoc-print-after-edit is set. (Bug#16346)
1109 * simple.el (read--expression): Enable eldoc-mode.
1110 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1112 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1113 Eric S. Raymond <esr@thyrsus.com>
1115 * version.el (emacs-repository-get-version): Enhance so the
1116 function works correctly in either a Bazaar or Git repo.
1118 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1120 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1121 Goes with removal of the joke manpages from /etc.
1123 2014-01-10 Kenichi Handa <handa@gnu.org>
1125 * mail/rmail.el (rmail-get-coding-system):
1126 Check rmail-get-coding-function before "funcall"ing it.
1128 2014-01-10 Glenn Morris <rgm@gnu.org>
1130 * emacs-lisp/authors.el (authors-fixed-entries):
1131 Update for files that no longer exist.
1133 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1135 * version.el (emacs-bzr-get-version): Restore compatibilty with
1138 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1140 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1143 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1145 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1147 2014-01-10 Chong Yidong <cyd@gnu.org>
1149 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1151 2014-01-10 Anders Lindgren <andlind@gmail.com>
1153 * follow.el (follow-cache-command-list): Include right-char and
1156 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1159 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1160 * woman.el (woman-mark-horizontal-position):
1161 Rename from woman-mark-horizonal-position. Use changed.
1163 2014-01-10 Glenn Morris <rgm@gnu.org>
1165 * info.el (info-initialize): If running uninstalled, ensure our
1166 own info files are always found first, even if INFOPATH is set.
1168 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1170 2014-01-09 David Engster <deng@randomsample.de>
1172 * emacs-lisp/eieio-custom.el:
1173 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1174 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1175 * emacs-lisp/eieio.el: Regenerate autoloads.
1177 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1179 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1180 following renames. (Bug#8756)
1182 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1184 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1186 (activate-mark): Add `no-tmm' argument.
1187 (set-mark, push-mark-command): Use it instead of running
1188 activate-mark-hook by hand.
1190 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1192 In preparation for the move to git, sanitize out some
1193 Bazaar-specific names.
1195 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1197 * version.el (emacs-bzr-version): Name changed to
1198 emacs-repository-version. Obsolete-variable alias made.
1199 * loadup.el: Follow through on this name change.
1200 * mail/emacsbug.el (report-emacs-bug): Factor out any
1201 assumption about the version control system in use.
1203 2014-01-08 David Engster <deng@randomsample.de>
1205 * help-fns.el (help-fns-describe-function-functions):
1206 New variable to call functions for augmenting help buffers.
1207 (describe-function-1): Remove explicit calls to
1208 `help-fns--compiler-macro', `help-fns--parent-mode' and
1209 `help-fns--obsolete'. Put them in above new variable instead, and
1210 call them through `run-hook-with-args'.
1211 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1212 `eieio-describe-class'. Not meant for interactive use anymore,
1213 but to augment existing help buffers. Remove optional second
1214 argument. Create proper button for file location.
1215 Rewrite function to use `insert' instead of `princ' and `prin1' where
1217 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1218 (eieio-method-def, eieio-class-def): Move further up.
1219 (describe-method, describe-generic, eieio-describe-method):
1221 (eieio-help-constructor, eieio-help-generic): Rename from
1222 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1223 Rewrite to use `insert' in the current buffer and use proper help
1225 (eieio-help-find-method-definition)
1226 (eieio-help-find-class-definition): Also accept symbols as
1228 (eieio-help-mode-augmentation-maybee): Remove.
1229 (eieio-describe-class-sb): Use `describe-function'.
1230 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1231 Add `eieio-help-generic' and `eieio-help-constructor'.
1233 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1236 * language/china-util.el (hz-ascii-designation):
1237 Rename from hz-ascii-designnation.
1238 (hz-ascii-designation): Rename from hz-ascii-designnation.
1241 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1243 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1246 2014-01-08 Bastien Guerry <bzg@gnu.org>
1248 * emacs-lisp/package.el (package-delete):
1249 Correctly delete the package from package-alist.
1251 2014-01-08 Daiki Ueno <ueno@gnu.org>
1253 * emacs-lisp/package.el (url-recreate-url): Declare.
1254 (url-http-target-url): Declare.
1255 (package-handle-response): Include requested URL in the error message.
1256 (package--check-signature): Don't re-signal errors from
1257 package--with-work-buffer. Suggested by Stefan Monnier.
1259 2014-01-07 Bastien Guerry <bzg@gnu.org>
1261 * minibuffer.el (completion--try-word-completion): When both a
1262 hyphen and a space are possible candidates for the character
1263 following a word, display both candidates. (Bug#15980)
1265 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1267 * window.el (balance-windows-2): While rounding don't give a
1268 window more than the remainder. Bug#16351, bug#16383.
1270 2014-01-07 Glenn Morris <rgm@gnu.org>
1272 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1273 (menu-bar-help-menu): Use view-external-packages instead.
1275 2014-01-07 Bastien Guerry <bzg@gnu.org>
1277 * emacs-lisp/package.el (package-delete): Also delete the package
1278 name from `package-alist', not its description only.
1280 2014-01-07 Glenn Morris <rgm@gnu.org>
1282 * help.el (view-external-packages):
1283 * menu-bar.el (menu-bar-help-extra-packages):
1284 Visit efaq.info rather than etc/MORE.STUFF.
1286 2014-01-07 Juri Linkov <juri@jurta.org>
1288 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1289 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1291 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1292 that shadows RET. (Bug#16342)
1294 2014-01-07 Chong Yidong <cyd@gnu.org>
1296 * isearch.el (isearch-yank-char, isearch-yank-word)
1297 (isearch-yank-line): Doc fix.
1299 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1301 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1302 * emacs-lisp/elint.el (elint-find-builtins):
1303 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1304 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1305 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1306 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1307 * apropos.el (apropos-safe-documentation):
1308 * subr.el (symbol-file): Remove redundant fboundp.
1309 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1311 2014-01-06 Bastien Guerry <bzg@gnu.org>
1313 * hl-line.el (global-hl-line-overlay): Make a local variable.
1314 (global-hl-line-overlays): New variable to store all overlays.
1315 (global-hl-line-mode): Don't delete overlays from the current
1316 buffer when `global-hl-line-sticky-flag' is non-nil.
1317 (global-hl-line-highlight): Add new overlays to
1318 `global-hl-line-overlays'.
1319 (global-hl-line-unhighlight-all): New function to delete all
1320 overlays when turning off `global-hl-line-mode'.
1321 This fixes Bug#16183.
1323 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1325 * subr.el (set-transient-map): Fix nested case and docstring.
1327 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1329 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1332 2014-01-06 Daniel Colascione <dancol@dancol.org>
1334 Fix defun navigation in vc log view.
1336 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1337 like `beginning-of-defun'.
1338 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1339 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1340 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1341 (log-view-extract-comment): Call `log-view-current-entry' directly
1342 instead of relying on broken `log-view-beginning-of-defun' behavior.
1344 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1347 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1348 * emacs-lisp/debug.el (cancel-debug-on-entry):
1349 * epg.el (epg-error-to-string):
1350 * files.el (recover-file):
1351 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1352 * mail/emacsbug.el (report-emacs-bug-hook):
1353 * mail/sendmail.el (mail-recover):
1354 * ses.el (ses-yank-resize):
1355 * term/ns-win.el (ns-print-buffer):
1356 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1357 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1359 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1361 2014-01-06 Leo Liu <sdl.web@gmail.com>
1363 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1364 to avoid shadowing global key. (Bug#16354)
1366 2014-01-06 Daniel Colascione <dancol@dancol.org>
1368 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1371 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1373 * window.el (balance-windows): Add mising t to fix Bug#16351.
1375 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1377 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1379 (shr-insert): If we have a word that's longer than `shr-width',
1380 break after it anyway. Otherwise we'll do no breaking once we get
1383 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1385 * net/eww.el (eww): Support single/double quote for search.
1386 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1387 (eww-history-quit): Delete and use quit-window.
1388 (eww-history-kill): Delete, because it doesn't work well and
1390 (eww-history-mode-map): Delete some keys and add easy-menu.
1392 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1394 Fix misspelling of 'chinese' in rx (Bug#16237).
1395 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1398 Change subword regexps back to vars (Bug#16296).
1399 * progmodes/subword.el (subword-forward-regexp)
1400 (subword-backward-regexp): Change these back to variables.
1402 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1404 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1405 syntax-begin-function (bug#16247).
1407 2014-01-03 Chong Yidong <cyd@gnu.org>
1409 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1410 (advice--docstring): Delete variable.
1411 (advice--make-1): Leave the docstring empty.
1412 (advice-add): Use function-documentation for advised docstring.
1414 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1415 Ignore function-documentation property when getting documentation.
1416 (ad-activate-advised-definition): Use function-documentation
1417 generate the docstring.
1418 (ad-make-advised-definition): Don't call
1419 ad-make-advised-definition-docstring.
1420 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1423 * progmodes/sql.el (sql-help): Use function-documentation instead
1424 of dynamic-docstring-function property. No need to autoload now.
1425 (sql--help-docstring): New variable.
1426 (sql--make-help-docstring): Use it.
1428 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1430 * ielm.el (ielm-tab): Retarget.
1431 (ielm-map): Use ielm-tab for tab.
1432 (ielm-complete-filename): Use comint-filename-completion.
1433 (ielm-complete-symbol): Remove.
1434 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1435 remove ielm-tab from completion-at-point-functions (bug#16224).
1437 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1438 Beware signals raised by predicates (bug#16201).
1440 2014-01-02 Richard Stallman <rms@gnu.org>
1442 * dired-aux.el (dired-do-print): Handle printer-name.
1444 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1445 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1446 (rmail-epa-decrypt): Turn off mime processing.
1448 * mail/rmail.el (rmail-make-in-reply-to-field):
1449 Add parens in message-id.
1451 * mail/rmail.el (rmail-get-coding-function): Variable.
1452 (rmail-get-coding-system): Use it.
1454 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1456 * international/mule-conf.el: Unify the charset indian-is13194.
1457 (indian-is13194): Specify unify-map.
1459 2013-12-31 Leo Liu <sdl.web@gmail.com>
1461 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1463 2013-12-30 Daniel Colascione <dancol@dancol.org>
1465 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1466 of printing a useless when we resume from sleep.
1468 * progmodes/sh-script.el
1469 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1470 in indentation code. (Bug#16233)
1472 2013-12-28 João Távora <joaotavora@gmail.com>
1474 * elec-pair.el (electric-pair-post-self-insert-function):
1475 Don't open extra newlines at beginning of buffer. (Bug#16272)
1477 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1479 * frame.el (window-system-for-display): Don't allow to create a
1480 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1482 2013-12-28 Glenn Morris <rgm@gnu.org>
1484 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1487 * apropos.el (apropos-match-face):
1488 * calculator.el (calculator-displayer):
1489 * dabbrev.el (dabbrev-search-these-buffers-only):
1490 * face-remap.el (buffer-face-mode-face):
1491 * simple.el (yank-handled-properties):
1492 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1493 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1494 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1495 (hashcash-double-spend-database):
1496 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1497 (ruby-deep-indent-paren-style):
1498 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1499 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1500 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1501 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1502 Specify custom types.
1504 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1505 * bookmark.el (bookmark-bmenu-use-header-line):
1506 * doc-view.el (doc-view-scale-internally):
1507 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1508 * register.el (register-preview-delay):
1509 * net/shr.el (shr-bullet):
1510 * progmodes/cfengine.el (cfengine-cf-promises)
1511 (cfengine-parameters-indent):
1512 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1513 * textmodes/reftex-vars.el (reftex-label-regexps):
1514 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1516 * net/tls.el (tls-certtool-program): Fix default value.
1518 * desktop.el (desktop-restore-in-current-display):
1519 * newcomment.el (comment-empty-lines):
1520 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1521 (idlwave-pad-keyword):
1522 * progmodes/tcl.el (tcl-tab-always-indent):
1523 * textmodes/reftex-vars.el (reftex-index-default-tag):
1524 * elec-pair.el (electric-pair-skip-whitespace):
1525 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1527 * emacs-lisp/authors.el (authors-ignored-files)
1528 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1530 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1532 * shell.el (shell-dynamic-complete-command): Doc fix.
1533 (shell--command-completion-data): Shell completion now matches
1534 executable filenames from the current buffer's directory, on
1535 systems in which this behavior is the default (windows-nt, ms-dos).
1537 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1539 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1541 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1543 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1546 * electric.el: Move all electric-pair-* to elec-pair.el.
1547 * elec-pair.el: New file, split from electric.el.
1549 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1551 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1552 indentation level is larger than the width, because that will
1554 (shr-insert): Fill repeatedly long texts, so that Japanese is
1555 formatted correctly (bug#16263).
1556 (shr-find-fill-point): Off by one error in comparison with the
1559 2013-12-26 João Távora <joaotavora@gmail.com>
1561 * electric.el (electric-pair-mode): More flexible engine for skip-
1562 and inhibit predicates, new options for pairing-related functionality.
1563 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1564 if that keeps or improves their balance in buffers.
1565 (electric-pair-delete-adjacent-pairs): Delete the pair when
1566 backspacing over adjacent matched delimiters.
1567 (electric-pair-open-extra-newline): Open extra newline when
1568 inserting newlines between adjacent matched delimiters.
1569 (electric--sort-post-self-insertion-hook):
1570 Sort post-self-insert-hook according to priority values when
1571 minor-modes are activated.
1572 * simple.el (newline-and-indent): Call newline with interactive
1574 (blink-paren-post-self-insert-function): Set priority to 100.
1575 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1576 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1577 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1578 electric-pair-open-newline-between-pairs to nil.
1580 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1582 * progmodes/python.el: Use lexical-binding.
1583 (python-nav-beginning-of-defun): Stop searching ASAP.
1585 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1587 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1588 Fix interactive spec. Doc fix. (Bug#15754)
1590 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1592 * emacs-lisp/byte-run.el (eval-when-compile):
1593 * progmodes/cc-defs.el (cc-eval-when-compile):
1594 Fix edebug spec (bug#16184).
1596 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1598 * net/shr.el (shr-visit-file): Remove debugging function.
1599 (shr-insert): Don't infloop if we can't find a good place to break
1600 the line (bug#16256).
1602 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1604 * progmodes/python.el:
1605 (python-nav--lisp-forward-sexp): New function.
1606 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1607 python-nav-lisp-forward-sexp-safe.
1608 (python-nav--forward-sexp): New argument SAFE allows switching
1609 forward sexp movement behavior for parens.
1610 (python-nav-forward-sexp): Throw errors on unterminated parens
1612 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1613 (python-nav-backward-sexp-safe): New functions.
1614 (python-shell-buffer-substring):
1615 Use `python-nav-forward-sexp-safe'.
1617 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1619 * net/shr.el (shr-find-fill-point): Don't break lines before a
1621 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1622 (shr-find-fill-point): Remove the special checks for the quotation
1623 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1625 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1627 * net/eww.el (eww-form-textarea): Use a different face for
1628 textareas than text input since they have different keymaps
1631 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1633 * progmodes/python.el (python-nav-beginning-of-statement):
1634 Speed up (Bug#15295).
1636 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1638 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1639 the window configuration.
1641 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1643 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1644 we run on MS-Windows or MS-DOS.
1646 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1648 * window.el (balance-windows-area): Call window-size instead of
1649 window-height and window-width. Bug#16241.
1651 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1653 * net/eww.el (eww-bookmark-quit): Remove.
1654 (eww-bookmark-browse): Restore the window configuration when you
1655 choose a bookmark (bug#16144).
1657 2013-12-24 Daniel Colascione <dancol@dancol.org>
1659 * icomplete.el: Remove redundant :group arguments to `defcustom'
1661 (icomplete-show-matches-on-no-input): New customizable variable.
1662 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1663 we have something to show.
1664 (icomplete-exhibit): Compute completions even if we have no user input.
1666 2013-12-23 Daniel Colascione <dancol@dancol.org>
1668 * icomplete.el: Move `provide' to end of file.
1670 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1672 * net/gnutls.el (gnutls-verify-error): Add version tag.
1674 2013-12-23 Chong Yidong <cyd@gnu.org>
1676 * subr.el (set-transient-map): Rename from
1677 set-temporary-overlay-map. Doc fix.
1679 * face-remap.el (text-scale-adjust):
1680 * indent.el (indent-rigidly):
1681 * kmacro.el (kmacro-call-macro):
1682 * minibuffer.el (minibuffer-force-complete):
1683 * repeat.el (repeat):
1684 * simple.el (universal-argument--mode):
1685 * calendar/todo-mode.el (todo-insert-item--next-param):
1686 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1688 * indent.el (indent-rigidly): Use substitute-command-keys.
1690 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1692 * net/eww.el (eww-tag-select): Add text-property to jump to next
1694 (eww): Add non-supported ftp error.
1696 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1698 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1699 comments. Handle electric indent after typing `?' and `!'.
1701 2013-12-22 Chong Yidong <cyd@gnu.org>
1703 * faces.el (face-spec-recalc): If the theme specs are not
1704 applicable to a frame, fall back on the defface spec.
1705 This prevents themes from obliterating faces on low-color terminals.
1707 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1709 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1710 after `{'. We need it after block openers, and it doesn't seem
1711 to hurt after hash openers.
1713 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1715 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1716 extracted from `ruby-smie-rules'.
1717 (ruby--electric-indent-chars): New variable.
1718 (ruby--electric-indent-p): New function.
1719 (ruby-mode): Use `electric-indent-functions' instead of
1720 `electric-indent-chars'.
1722 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1724 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1726 (ruby-smie-rules): Indent plus one level after `=>'.
1728 2013-12-21 Richard Stallman <rms@gnu.org>
1730 * simple.el (newline): Doc fix.
1732 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1734 * net/eww.el (eww-list-histories, eww-list-histories)
1735 (eww-history-browse, eww-history-quit, eww-history-kill)
1736 (eww-history-mode-map, eww-history-mode): New command and
1737 functions to list browser histories.
1738 (eww-form-text): Support text form with disabled
1739 and readonly attributes.
1740 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1742 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1744 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1745 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1746 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1747 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1749 (eww-bookmark-mode-map): Add menu.
1750 (eww-render, eww-mode): Use `setq-local'.
1751 (eww-tool-bar-map): New variable.
1752 (eww-mode): Set `tool-bar-map'.
1753 (eww-view-source): Check for `html-mode' with `fboundp'.
1755 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1757 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1758 elements with text inside. Also remove debugging.
1760 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1762 * cus-start.el (all): Add ns-use-srgb-colorspace.
1764 2013-12-21 Chong Yidong <cyd@gnu.org>
1766 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1767 undefined. Thus, theme settings for undefined faces do not take
1768 effect until the faces are defined with defface, the same as with
1771 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1772 (face-spec-reset-face): Don't assign extra properties in temacs.
1773 (face-spec-recalc): Apply X resources too.
1775 2013-12-21 Chong Yidong <cyd@gnu.org>
1777 * faces.el (face-spec-set):
1778 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1779 * custom.el (defface): Doc fixes (Bug#16203).
1781 * indent.el (indent-rigidly-map): Add docstring, and move commands
1782 into named functions.
1783 (indent-rigidly-left, indent-rigidly-right)
1784 (indent-rigidly-left-to-tab-stop)
1785 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1786 indentation direction based on bidi direction, and accumulate
1787 sequential commands in a single undo boundary.
1788 (indent-rigidly--pop-undo): New utility function.
1790 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1792 * faces.el (read-face-name): Require crm.el when using crm-separator.
1794 2013-12-20 Daniel Colascione <dancol@dancol.org>
1796 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1797 so that we don't reflow comments into the shebang line.
1799 2013-12-20 Juri Linkov <juri@jurta.org>
1801 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1802 a position when `dired-directory' is non-nil. Check integer
1803 positions with `integerp'.
1804 (toggle-save-place, save-places-to-alist): Add check for
1806 (save-place-find-file-hook): Check integer positions with
1808 (save-place-dired-hook): Use `dired-goto-file' when
1809 `dired-filename' is found in the assoc list. Check integer
1810 positions with `integerp'.
1811 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1813 * dired.el (dired-initial-position-hook): Rename back from
1814 `dired-initial-point-hook'.
1815 (dired-initial-position): Rename `dired-initial-point-hook' to
1816 `dired-initial-position-hook'.
1817 (dired-file-name-at-point): Doc fix. (Bug#15329)
1819 2013-12-20 Juri Linkov <juri@jurta.org>
1821 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1822 (read-regexp-suggestions): New function.
1823 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1824 Use `read-regexp-suggestions'. Add non-empty default to history
1826 (occur-read-regexp-defaults-function): Remove function.
1827 (occur-read-primary-args): Use `regexp-history-last' instead of
1828 `occur-read-regexp-defaults-function'.
1830 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1831 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1832 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1833 `hi-lock-read-regexp-defaults-function'. Doc fix.
1834 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1835 with `find-tag-default-as-symbol-regexp'. Doc fix.
1836 (hi-lock-read-regexp-defaults): Remove function.
1837 (hi-lock-regexp-okay): Add check for null.
1839 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1840 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1842 * subr.el (find-tag-default-as-symbol-regexp): New function.
1843 (find-tag-default-as-regexp): Move symbol regexp formatting to
1844 `find-tag-default-as-symbol-regexp'.
1846 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1848 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1851 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1853 * calendar/todo-mode.el: New implementation of item insertion
1854 commands and key bindings.
1855 (todo-key-prompt): New face.
1856 (todo-insert-item): New command.
1857 (todo-insert-item--parameters): New defconst, replacing defvar
1858 todo-insertion-commands-args-genlist.
1859 (todo-insert-item--param-key-alist): New defconst, replacing
1860 defvar todo-insertion-commands-arg-key-list.
1861 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1862 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1863 (todo-insert-item--next-param): New functions.
1864 (todo-insert-item--args, todo-insert-item--argleft)
1865 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1867 (todo-key-bindings-t): Change binding of "i" from
1868 todo-insertion-map to todo-insert-item.
1869 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1870 (todo-insertion-command-name, todo-insertion-commands-names)
1871 (todo-define-insertion-command, todo-insertion-commands)
1872 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1874 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1876 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1877 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1879 (todo-move-category): Allow choosing a non-existing todo file to
1880 move the category to, and create that file.
1881 (todo-default-priority): New user option.
1882 (todo-set-item-priority): Use it.
1883 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1884 (desktop-restore-file-buffer): Declare.
1885 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1886 (todo-modes-set-2): Locally set desktop-save-buffer to
1887 todo-desktop-save-buffer.
1888 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1889 (auto-mode-alist): Add autoload cookie.
1891 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1893 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1894 helpers.el was a poor choice of name.
1895 (string-remove-prefix): New function.
1896 (string-remove-suffix): New function.
1898 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1900 Fix assignment for new window total sizes.
1901 * window.el (window--pixel-to-size): Remove function.
1902 (window--pixel-to-total-1, window--pixel-to-total):
1903 Fix calculation of new total sizes.
1905 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1907 * comint.el (comint-output-filter): Fix rear-nonsticky property
1908 placement (Bug#16010).
1910 2013-12-20 Chong Yidong <cyd@gnu.org>
1912 * faces.el (read-color): Minor fix for completion function.
1914 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1916 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1917 New option. (Bug#16182)
1918 (ruby-smie--indent-to-stmt-p): Use it.
1919 (ruby-smie-rules): Revert the logic in the handling of `when'.
1920 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1921 (ruby-deep-arglist, ruby-deep-indent-paren)
1922 (ruby-deep-indent-paren-style): Update docstrings to note that the
1923 vars don't have any effect with SMIE.
1925 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1927 * calc/calc.el (calc-enter, calc-pop): Use the variable
1928 `calc-context-sensitive-enter'.
1930 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1932 * net/shr.el (shr-insert): Protect against infloops in degenerate
1935 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1937 * progmodes/octave.el (octave): Add link to manual and octave
1939 (octave-mode-menu): Link to octave-mode manual.
1941 2013-12-20 Leo Liu <sdl.web@gmail.com>
1943 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1944 insertion using skeleton-end-newline. (Bug#16138)
1946 2013-12-20 Juri Linkov <juri@jurta.org>
1948 * replace.el (occur-engine): Use `add-face-text-property'
1949 to add the face property to matches and titles. (Bug#14645)
1951 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1952 the palette of other hi-lock colors.
1953 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1955 2013-12-19 Juri Linkov <juri@jurta.org>
1957 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1958 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1959 (minibuffer-history-symbol): Move variable declaration closer to
1962 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1965 2013-12-19 Juri Linkov <juri@jurta.org>
1967 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1969 (log-edit-hook): Add it to :options. (Bug#16170)
1971 2013-12-19 Juri Linkov <juri@jurta.org>
1973 * simple.el (eval-expression-print-format): Don't check for
1974 command names and the last command. Always display additional
1975 formats of the integer result in the echo area, and insert them
1976 to the current buffer only with a zero prefix arg.
1977 Display character when char-displayable-p is non-nil.
1978 (eval-expression): With a zero prefix arg, set `print-length' and
1979 `print-level' to nil, and insert the integer values from
1980 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1982 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1983 `eval-last-sexp-arg-internal'. Doc fix.
1984 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1985 `eval-last-sexp-print-value'. Doc fix.
1986 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1987 Set `print-length' and `print-level' to nil when arg is zero.
1988 (eval-last-sexp): Doc fix.
1989 (eval-defun-2): Print the integer values from
1990 `eval-expression-print-format' at the end.
1992 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1993 values from `eval-expression-print-format' at the end.
1995 * ielm.el (ielm-eval-input): Print the integer
1996 values from `eval-expression-print-format' at the end.
1998 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2000 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2001 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2003 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2005 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2006 (hl-line-highlight, global-hl-line-highlight): Use it.
2007 (hl-line-overlay): Use defvar-local.
2009 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2011 * term/ns-win.el: Require dnd.
2012 (global-map): Remove drag items.
2013 (ns-insert-text, ns-set-foreground-at-mouse)
2014 (ns-set-background-at-mouse):
2015 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2016 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2019 2013-12-19 Glenn Morris <rgm@gnu.org>
2021 * emacs-lisp/ert.el (ert-select-tests):
2022 Fix string/symbol mixup. (Bug#16121)
2024 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2026 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2027 keywords to their parent.
2029 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2031 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2032 first arg to be a string (fixed dead code), or an operator symbol.
2033 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2035 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2036 did nothing. Don't respond to `(:after ".")', it will be called
2037 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2038 change anything. Only return indentation for binary operators
2039 when they are hanging. De-dent opening paren when its parent is
2040 `.', otherwise it looks bad when the dot is not at bol or eol
2043 2013-12-19 Juri Linkov <juri@jurta.org>
2045 * replace.el (query-replace-read-args): Split a non-negative arg
2046 and a negative arg into separate elements.
2047 (query-replace, query-replace-regexp, replace-string)
2048 (replace-regexp): Add arg `backward'. Doc fix.
2049 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2050 move point to the beginning of the match.
2051 (replace-search, replace-highlight): Use new arg `backward'
2052 to set the value of `isearch-forward'.
2053 (perform-replace): Add arg `backward' and use it to perform
2054 replacement backward. (Bug#14979)
2056 * isearch.el (isearch-query-replace): Use a negative prefix arg
2057 to call `perform-replace' with a non-nil arg `backward'.
2059 2013-12-18 Juri Linkov <juri@jurta.org>
2061 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2062 to the default list. Move `log-edit-show-files' to the end.
2063 Add more available functions to options.
2064 (log-edit): Move default specific settings to
2065 `log-edit-insert-message-template'. Don't move point.
2066 (log-edit-insert-message-template): New function.
2067 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2070 2013-12-18 Juri Linkov <juri@jurta.org>
2072 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2073 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2075 2013-12-18 Leo Liu <sdl.web@gmail.com>
2077 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2080 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2082 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2083 formats for displaying file sizes when the -s switch is given.
2084 Instead, compute a separate format for displaying the size in
2085 blocks, which is displayed in addition to the "regular" size.
2086 When -h is given in addition to -s, produce size in blocks in
2087 human-readable form as well. (Bug#16179)
2089 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2091 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2092 Reference tables with ~\ref{...} instead of only \ref{...}.
2094 2013-12-18 Chong Yidong <cyd@gnu.org>
2096 * cus-edit.el (custom-magic-alist): Fix "themed" description
2099 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2100 is non-nil, do not create a new entry in the symbol's theme-value
2101 or theme-face property; update theme-settings only (Bug#14664).
2102 (custom-available-themes): Doc fix.
2104 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2107 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2109 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2111 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2114 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2116 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2118 2013-12-18 Glenn Morris <rgm@gnu.org>
2120 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2121 * cus-start.el (load-prefer-newer): New option.
2123 2013-12-18 Le Wang <l26wang@gmail.com>
2125 * comint.el (comint-previous-matching-input-from-input):
2126 Retain point (Bug#13404).
2128 2013-12-18 Chong Yidong <cyd@gnu.org>
2130 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2132 2013-12-18 Glenn Morris <rgm@gnu.org>
2134 * mail/emacsbug.el (report-emacs-bug):
2135 Only mention enable-multibyte-characters if non-standard.
2137 2013-12-17 Juri Linkov <juri@jurta.org>
2139 * arc-mode.el (archive-extract-by-file): Check if directory exists
2140 before deletion to not show irrelevant errors if it doesn't exist.
2142 2013-12-17 Juri Linkov <juri@jurta.org>
2144 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2147 * net/eww.el (browse-web): Add alias to `eww'.
2148 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2149 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2151 * net/browse-url.el (browse-url-browser-function): Move `eww'
2152 closer to similar functions.
2154 * startup.el (fancy-startup-screen, fancy-about-screen):
2155 Set browse-url-browser-function to eww-browse-url locally.
2158 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2160 * window.el (window--pixel-to-total): Remove unused `mini' var.
2161 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2162 (split-window): Remove unused `new' var.
2163 (window--display-buffer): Remove unused `frame' and `delta' vars.
2164 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2167 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2169 * dired.el (dired-mark-pop-up):
2170 * register.el (register-preview): Don't bind
2171 split-height-threshold here since it's now done in
2172 display-buffer-below-selected.
2174 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2176 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2177 xterm-rgb-convert-to-16bit.
2178 (rxvt-register-default-colors): Standardize with
2179 xterm-register-default-colors (Bug#14078).
2181 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2183 * simple.el (kill-region): Pass mark first, then point, so that
2184 kill-append works right (Bug#12819).
2185 (copy-region-as-kill, kill-ring-save): Likewise.
2187 2013-12-17 Leo Liu <sdl.web@gmail.com>
2189 * net/rcirc.el (rcirc-add-face):
2190 * eshell/em-prompt.el (eshell-emit-prompt):
2191 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2194 2013-12-17 Chong Yidong <cyd@gnu.org>
2196 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2197 Suggested by Xue Fuqiao.
2199 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2201 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2203 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2205 * net/shr.el (shr-insert-document): Remove unused var
2206 `shr-preliminary-table-render'.
2207 (shr-rescale-image): Remove unused arg `force'.
2208 (shr-put-image): Update calls accordingly.
2209 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2211 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2213 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2214 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2215 :close-all, to see which indentation method to use (Bug#16116).
2216 (smie-rules-function): Document the method :close-all.
2218 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2220 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2222 * net/eww.el (eww-display-html): If we can't find the anchor we're
2223 looking for, then go to point-min.
2225 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2227 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2228 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2229 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2230 Expand dir too, in case it's relative.
2232 2013-12-16 Juri Linkov <juri@jurta.org>
2234 * desktop.el (desktop-auto-save-timeout): Change default to
2235 `auto-save-timeout'. Doc fix.
2236 (desktop-save): Skip the timestamp in desktop-saved-frameset
2237 when checking for auto-save changes.
2238 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2239 `desktop-auto-save' is called repeatedly by the idle timer.
2240 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2241 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2244 2013-12-16 Juri Linkov <juri@jurta.org>
2246 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2248 (isearch-pre-command-hook): Check `this-command' for symbolp.
2250 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2252 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2254 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2256 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2257 (cfengine3--current-function): Bring in the current-function
2258 functionality from `cfengine3--current-word'.
2259 (cfengine3-completion-function): Bring in the
2260 bounds-of-current-word functionality from
2261 `cfengine3--current-word'.
2263 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2265 * window.el (display-buffer-below-selected):
2266 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2268 2013-12-16 Leo Liu <sdl.web@gmail.com>
2270 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2271 Remove NOMSG arg and all uses changed.
2273 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2275 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2276 (cua--deactivate-rectangle): Don't deactivate the mark.
2277 (cua-set-rectangle-mark): Don't set mark-active since
2278 cua--activate-rectangle already does it for us.
2279 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2280 non-rectangular region.
2282 * emulation/cua-base.el (cua-repeat-replace-region):
2283 Use with-current-buffer.
2285 * net/gnutls.el: Use cl-lib.
2286 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2288 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2290 * emacs-lisp/package.el (package-built-in-p): Support both
2291 built-in and the package.el converted package descriptions.
2292 (package-show-package-list): Allow keywords.
2293 (package-keyword-button-action): Use it instead of
2294 `finder-list-matches'.
2295 (package-menu-filter-interactive): Interactive filtering (by
2297 (package-menu--generate): Support keywords and change keymappings
2298 and headers when they are given.
2299 (package--has-keyword-p): Helper function.
2300 (package-menu--refresh): Use it.
2301 (package--mapc): Helper function.
2302 (package-all-keywords): Use it.
2303 (package-menu-mode-map): Set up menu items and keybindings to
2304 provide a filtering UI.
2306 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2308 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2309 the behavior when a certificate fails validation. Defaults to
2310 old behavior: never abort, just warn.
2311 (gnutls-negotiate): Use it.
2313 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2315 * window.el (display-buffer-below-selected): Never split window
2316 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2318 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2320 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2321 (package-buffer-info): Use it (bug#15108).
2323 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2325 * icomplete.el (icomplete-completions): Make sure the prefix is already
2326 displayed elsewhere before hiding it (bug#16219).
2328 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2330 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2331 open-paren tokens when preceded by a open-paren, too.
2332 (ruby-smie-rules): Handle virtual indentation after open-paren
2333 tokens specially. If there is code between it and eol, return the
2334 column where is starts (Bug#16118).
2336 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2338 * progmodes/cfengine.el: Fix `add-hook' doc.
2339 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2340 (cfengine3--current-word): Fix parameters.
2341 (cfengine3-make-syntax-cache): Simplify further.
2342 (cfengine3-completion-function, cfengine3--current-function):
2343 Use `assq' for symbols.
2344 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2346 2013-12-13 Glenn Morris <rgm@gnu.org>
2348 * loadup.el (load-path): Warn if site-load or site-init changes it.
2349 No more need to reset it when bootstrapping.
2351 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2353 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2354 locations for cf-promises.
2355 (cfengine-mode-syntax-functions-regex): New caching variable.
2356 (cfengine3-fallback-syntax): Fallback syntax for cases where
2357 cf-promises doesn't run.
2358 (cfengine3--current-word): Reimplement using
2359 `cfengine-mode-syntax-functions-regex'.
2360 (cfengine3-completion-function, cfengine3--current-function):
2361 Use `cfengine3-make-syntax-cache' directly.
2362 (cfengine3-clear-syntax-cache): New function.
2363 (cfengine3-make-syntax-cache): Simplify and create
2364 `cfengine-mode-syntax-functions-regex' on demand.
2365 (cfengine3-format-function-docstring): Don't call
2366 `cfengine3-make-syntax-cache' explicitly.
2368 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2370 Fix windmove-find-other-window broken after pixelwise resizing
2372 * windmove.el (windmove-other-window-loc): Revert change from
2374 (windmove-find-other-window): Call window-in-direction.
2375 * window.el (window-in-direction): New arguments SIGN, WRAP and
2376 MINI to emulate original windmove-find-other-window behavior.
2378 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2380 * simple.el (blink-matching--overlay): New variable.
2381 (blink-matching-open): Instead of moving point, highlight the
2382 matching paren with an overlay
2383 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2385 * faces.el (paren-showing-faces, show-paren-match)
2386 (show-paren-mismatch): Move from paren.el.
2388 2013-12-13 Leo Liu <sdl.web@gmail.com>
2390 * indent.el (indent-region): Disable progress reporter in
2391 minibuffer. (Bug#16108)
2393 * bindings.el (visual-order-cursor-movement): Fix version.
2395 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2397 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2398 Also match after beginning of line.
2399 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2400 files. Thanks to Russell Sim. (Bug#15378)
2402 2013-12-13 Juri Linkov <juri@jurta.org>
2404 * simple.el <Keypad support>: Remove key bindings duplicated
2405 with bindings.el. (Bug#14397)
2407 2013-12-13 Juri Linkov <juri@jurta.org>
2409 * comint.el (comint-mode-map): Replace `delete-char' with
2410 `delete-forward-char'. (Bug#16109)
2412 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2414 * progmodes/python.el (python-indent-calculate-indentation):
2415 Fix de-denters cornercase. (Bug#15731)
2417 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2419 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2420 (advice--make): Pay attention to `depth'.
2421 (advice--make-1): Don't autoload commands eagerly.
2422 * emacs-lisp/elp.el (elp-instrument-function):
2423 * emacs-lisp/trace.el (trace-function-internal):
2424 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2426 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2428 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2430 * term/w32-win.el (w32-handle-dropped-file):
2431 * startup.el (normal-top-level):
2432 * net/browse-url.el (browse-url-file-url):
2433 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2434 decode file names using 'utf-8' rather than
2435 file-name-coding-system.
2437 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2439 * progmodes/python.el (python-indent-context)
2440 (python-indent-calculate-indentation): Fix auto-identation
2441 behavior for comment blocks. (Bug#15916)
2443 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2445 * progmodes/python.el (python-indent-calculate-indentation):
2446 When determining indentation, don't treat "return", "pass", etc., as
2447 operators when they are just string constituents. (Bug#15812)
2449 2013-12-12 Juri Linkov <juri@jurta.org>
2451 * uniquify.el (uniquify-buffer-name-style): Change default to
2452 `post-forward-angle-brackets'.
2454 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2455 `uniquify'. Change default to `post-forward-angle-brackets'.
2457 2013-12-11 Glenn Morris <rgm@gnu.org>
2459 * emacs-lisp/package.el (finder-list-matches):
2460 Autoload rather than falsely declaring.
2462 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2464 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2465 (eww-mode-map): Use them.
2467 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2469 * window.el (display-buffer-in-side-window): Fix doc-string
2472 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2474 * vc/vc-git.el: Silence byte-compiler warnings.
2475 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2476 (log-edit-set-header): Declare.
2478 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2480 * Makefile.in (custom-deps, finder-data): Run output file names
2481 through unmsys--file-name. (Bug#16099)
2483 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2485 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2486 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2488 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2489 instead of deleting the selection "by hand" (bug#16098).
2490 Rely on insert-for-yank to yank rectangles.
2491 (cua-highlight-region-shift-only): Mark obsolete.
2492 (cua-mode): Don't enable/disable transient-mark-mode,
2493 shift-select-mode (cua-mode works both with and without them), and
2494 pc-selection-mode (obsolete).
2495 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2496 (cua--deactivate-rectangle): Deactivate it.
2498 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2499 (delete-selection-helper): Make sure yank starts at the top of the
2501 (minibuffer-keyboard-quit): Use region-active-p.
2503 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2505 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2506 to `delete' (bug#16109).
2508 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2510 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2511 info manual and show keybindings and set `:group' keyword.
2513 2013-12-11 Juri Linkov <juri@jurta.org>
2515 * delsel.el (delete-active-region): Let-bind `this-command'
2516 to prevent `kill-region' from changing its original value.
2517 (delete-selection-helper): Handle `overwrite-mode' for the type
2518 `kill' exactly the same way as for the type `t'.
2519 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2520 Support more commands. (Bug#13312)
2522 2013-12-11 Juri Linkov <juri@jurta.org>
2524 * bindings.el: Map kp keys to non-kp keys systematically
2525 with basic modifiers control, meta and shift. (Bug#14397)
2527 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2529 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2530 "Close browser" menu items. Fix wrong function of "List
2533 2013-12-11 Juri Linkov <juri@jurta.org>
2535 * misearch.el (multi-isearch-buffers): Set the value of
2536 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2537 arg of isearch-forward to t.
2538 (multi-isearch-buffers-regexp): Set the value of
2539 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2540 arg of isearch-forward-regexp to t.
2541 (multi-isearch-files): Set the value of
2542 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2543 arg of isearch-forward to t.
2544 (multi-isearch-files-regexp): Set the value of
2545 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2546 arg of isearch-forward-regexp to t. (Bug#16035)
2548 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2549 arg of isearch-forward to t.
2550 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2551 arg of isearch-forward-regexp to t.
2552 (dired-isearch-filter-filenames): Remove unnecessary check for
2553 `dired-isearch-filenames'.
2555 * comint.el (comint-history-isearch-backward):
2556 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2557 (comint-history-isearch-backward-regexp):
2558 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2560 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2562 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2563 unmsys--file-name. (Bug#16099)
2565 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2567 * emacs-lisp/package.el (package-keyword-button-action):
2568 Remove finder.el require dependency.
2570 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2572 * emacs-lisp/package.el: Require finder.el.
2573 (describe-package-1): Add keyword buttons.
2574 (package-make-button): New convenience function.
2575 (package-keyword-button-action): Keyword button action using
2576 `finder-list-matches'.
2578 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2580 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2583 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2585 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2588 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2590 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2591 after the end of a percent literal.
2593 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2595 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2596 Handle caret-delimited strings (Bug#16079).
2598 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2600 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2601 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2602 `ruby-parse-partial' (Bug#16078).
2604 2013-12-09 Leo Liu <sdl.web@gmail.com>
2606 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2608 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2610 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2611 (js-switch-indent-offset): New option.
2612 (js--proper-indentation): Use it. And handle the case when
2613 "default" is actually a key in an object literal.
2614 (js--same-line): New function.
2615 (js--multi-line-declaration-indentation): Use it.
2616 (js--indent-in-array-comp, js--array-comp-indentation):
2618 (js--proper-indentation): Use them, to handle array comprehension
2621 2013-12-08 Leo Liu <sdl.web@gmail.com>
2623 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2624 (flymake-make-overlay): Remove arg MOUSE-FACE.
2625 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2627 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2629 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2631 (redisplay-highlight-region-function): Use it.
2633 * emulation/cua-base.el (cua--explicit-region-start)
2634 (cua--last-region-shifted): Remove.
2635 (cua--deactivate): Use deactivate-mark.
2636 (cua--pre-command-handler-1): Don't handle shift-selection.
2637 (cua--post-command-handler-1): Don't change transient-mark-mode.
2638 (cua--select-keymaps): Use region-active-p rather than
2639 cua--explicit-region-start or cua--last-region-shifted.
2640 (cua-mode): Enable shift-select-mode.
2642 2013-12-08 Leo Liu <sdl.web@gmail.com>
2644 * progmodes/flymake.el (flymake-popup-current-error-menu):
2645 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2646 (flymake-posn-at-point-as-event, flymake-popup-menu)
2647 (flymake-make-emacs-menu): Remove. (Bug#16077)
2649 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2651 * rect.el (rectangle-mark-mode): Activate mark even if
2652 transient-mark-mode is off (bug#16066).
2653 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2654 is > mark and at bolp.
2656 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2657 (region-extract-function): Use it.
2658 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2659 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2661 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2662 kill-ring-save, kill-region, delete-char, delete-forward-char.
2663 Ignore self-insert-iso.
2665 * emulation/cua-gmrk.el (cua--init-global-mark):
2666 Ignore `self-insert-iso'.
2668 * emulation/cua-base.el (cua--prefix-copy-handler)
2669 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2670 checking cua--rectangle.
2671 (cua-delete-region): Use region-extract-function.
2672 (cua-replace-region): Delete function.
2673 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2674 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2675 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2676 (cua--init-keymaps): Don't remap delete-selection commands.
2677 (cua-mode): Use delete-selection-mode instead of rolling our own
2680 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2681 Obey region-extract-function.
2683 Make registers and delete-selection-mode work on rectangles.
2684 * register.el (describe-register-1): Don't modify the register's value.
2685 (copy-to-register): Obey region-extract-function.
2686 * delsel.el (delete-active-region): Obey region-extract-function.
2688 2013-12-08 Leo Liu <sdl.web@gmail.com>
2690 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2691 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2692 (flymake-compilation-prevents-syntax-check)
2693 (flymake-start-syntax-check-on-newline)
2694 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2695 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2696 (flymake-xml-program, flymake-master-file-dirs)
2697 (flymake-master-file-count-limit)
2698 (flymake-allowed-file-name-masks): Relocate.
2699 (flymake-makehash, flymake-float-time)
2700 (flymake-replace-regexp-in-string, flymake-split-string)
2701 (flymake-get-temp-dir): Remove.
2702 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2703 (flymake-current-row, flymake-selected-frame)
2704 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2705 related functions. (Bug#16077)
2707 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2709 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2711 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2713 * help-fns.el (describe-function-1): Use new advice-* functions
2714 rather than old ad-* functions. Fix function type description and
2715 source links for advised functions and subrs.
2717 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2719 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2721 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2723 * progmodes/compile.el (compilation-start):
2724 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2726 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2727 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2729 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2731 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2732 Touch up the last change.
2734 2013-12-06 Leo Liu <sdl.web@gmail.com>
2736 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2737 (inferior-octave-startup): Always use "octave> " for prompt.
2738 (octave-goto-function-definition)
2739 (octave-sync-function-file-names)
2740 (octave-find-definition-default-filename): Remove redundant backquotes.
2742 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2744 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2746 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2747 where appropriate already.
2748 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2749 end of method names (Bug#15874).
2751 2013-12-06 Juri Linkov <juri@jurta.org>
2753 * isearch.el (isearch--saved-overriding-local-map):
2754 New internal variable.
2755 (isearch-mode): Set it to the initial value of
2756 `overriding-terminal-local-map'.
2757 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2758 with `isearch--saved-overriding-local-map'. (Bug#16035)
2760 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2762 * progmodes/octave.el (inferior-octave-completion-table):
2763 Turn back into function, use `completion-table-with-cache'
2764 (Bug#11906). Update all references.
2766 * minibuffer.el (completion-table-with-cache): New function.
2768 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2770 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2772 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2774 * net/eww.el (eww-current-source): New variable to store page
2776 (eww-display-html, eww-mode, eww-save-history)
2777 (eww-restore-history): Use it.
2778 (eww-view-source): New command to view page source.
2779 Opportunistically uses `html-mode' to highlight the buffer.
2780 (eww-mode-map): Install it.
2782 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2784 * net/dbus.el (dbus-unregister-service)
2785 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2787 (dbus-unregister-service): Skip :serial entries in
2788 `dbus-registered-objects-table'.
2789 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2791 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2793 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2794 around keywords with extra `split-string' argument.
2796 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2798 * windmove.el (windmove-other-window-loc): Handle navigation
2799 between windows (excluding the minibuffer window - Bug#16017).
2801 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2803 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2804 in D-Bus type syntax.
2805 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2806 preserve unibyte strings. (Bug#16048)
2808 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2810 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2811 Call force-mode-line-update is the proper buffer (bug#16042).
2813 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2815 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2816 `log-edit-remember-comment', make argument optional. Adjust all
2818 (log-edit-mode): Add `log-edit-remember-comment' to
2819 `kill-buffer-hook' locally.
2820 (log-edit-kill-buffer): Don't remember comment explicitly since
2821 the buffer is killed anyway.
2823 2013-12-04 Juri Linkov <juri@jurta.org>
2825 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2826 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2828 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2830 * notifications.el (notifications-close-notification): Call the
2831 D-Bus method with ID being a `:uint32'. (Bug#16030)
2833 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2835 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2837 2013-12-03 Juri Linkov <juri@jurta.org>
2839 * progmodes/compile.el (compilation-start): Rename window alist
2840 entry `no-display-ok' to `allow-no-window'.
2842 * simple.el (shell-command): Add window alist entry
2843 `allow-no-window' to `display-buffer'.
2844 (async-shell-command): Doc fix.
2846 * window.el (display-buffer-no-window): New action function.
2847 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2849 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2851 * vc/log-edit.el (log-edit-set-header): Extract from
2852 `log-edit-toggle-header'.
2853 (log-edit-extract-headers): Separate the summary, when extracted
2854 from header, from the rest of the message with an empty line.
2856 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2857 line, if present, to the Summary header.
2859 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2861 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2862 in current-buffer (bug#16029).
2864 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2866 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2867 (debugger-mode-map): Bind it.
2868 (debugger--backtrace-base): New function.
2869 (debugger-eval-expression): Use it.
2870 (debugger-frame-number): Skip local vars when present.
2871 (debugger--locals-visible-p, debugger--insert-locals)
2872 (debugger--show-locals, debugger--hide-locals): New functions.
2874 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2876 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2878 (tramp-get-remote-locale): New defun.
2879 (tramp-open-connection-setup-interactive-shell): Use it.
2881 2013-12-02 Leo Liu <sdl.web@gmail.com>
2883 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2885 * progmodes/sh-script.el (sh-shell-process):
2886 * progmodes/octave.el (inferior-octave-process-live-p):
2887 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2888 (gdb-inferior-io-sentinel):
2889 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2891 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2893 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2894 `save-selected-window' to `log-edit-hide-buf'. This makes
2895 `log-edit-show-files' idempotent.
2896 (log-edit-show-files): Mark the new window as dedicated.
2898 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2900 * vc/log-edit.el (log-edit-mode-map): Add binding for
2901 `log-edit-kill-biffer'.
2902 (log-edit-hide-buf): Add a FIXME comment.
2903 (log-edit-add-new-comment): New function, extracted from
2905 (log-edit-done, log-edit-add-to-changelog): Use it.
2906 (log-edit-kill-buffer): New command.
2908 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2910 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2911 instead of killing the buffer.
2913 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2915 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2917 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2919 * net/eww.el (eww-form-checkbox-selected-symbol)
2920 (eww-form-checkbox-symbol): New customizable variable.
2921 (eww-form-checkbox, eww-toggle-checkbox):
2922 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2924 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2925 (shr--get-media-pref, shr--extract-best-source): New function.
2926 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2927 no :src tag was specified.
2929 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2930 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2931 Use \\` to match beginning of string instead of ^.
2932 (eww-browse-with-external-browser): Provide optional URL parameter.
2933 (eww-render): Set `eww-current-title' back to "".
2935 * net/shr.el (shr-tag-video): Display content for video if no
2936 poster is available.
2937 (shr-tag-audio): Add support for <audio> tag.
2939 * net/eww.el (eww-text-input-types): New const.
2940 (eww-process-text-input): Treat input types in
2941 `eww-text-input-types' as text.
2943 * net/shr.el (shr-tag-table): Fix comment typo.
2945 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2947 * net/eww.el (eww-follow-link): New command to avoid reloading
2948 pages when we follow #target links (bug#15243).
2949 (eww-quit): Special mode buffers shouldn't query before exiting.
2951 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2953 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2956 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2958 * net/eww.el (eww-restore-history): Update the window title after
2959 moving in the history.
2960 (eww-current-dom): New variable used to save the current DOM.
2962 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2964 * vc/log-edit.el (log-edit-mode-map): Add binding for
2965 `log-edit-beginning-of-line'.
2966 (log-edit-setup-add-author): New user option.
2967 (log-edit-beginning-of-line): New command.
2968 (log-edit): Move major mode call above the contents setup so that
2969 the local variable values are already applied.
2970 (log-edit): Only insert "Author: " when
2971 `log-edit-setup-add-author' is non-nil.
2972 (log-edit): When SETUP is non-nil, position point after ": "
2973 instead of point-min.
2975 2013-12-01 Glenn Morris <rgm@gnu.org>
2977 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2979 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2981 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2982 redisplay to make sure the initial frame gets a chance to become
2983 visible. (Bug#16014)
2985 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2987 Support resizing frames and windows pixelwise.
2988 * cus-start.el (frame-resize-pixelwise)
2989 (window-resize-pixelwise): New entries.
2990 * emacs-lisp/debug.el (debug): Use window-total-height instead
2991 of window-total-size.
2992 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2993 * help.el (describe-bindings-internal): Call help-buffer
2994 (temp-buffer-max-width): New option.
2995 (resize-temp-buffer-window, help-window-setup)
2996 (with-help-window): Rewrite.
2997 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2999 * window.el (frame-char-size, window-min-pixel-height)
3000 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3001 (window-min-pixel-width, window-safe-min-pixel-size)
3002 (window-combination-p, window-safe-min-size)
3003 (window-resizable-p, window--size-to-pixel)
3004 (window--pixel-to-size, window--resize-apply-p): New functions.
3005 (window-safe-min-height): Fix doc-string.
3006 (window-size, window-min-size, window--min-size-1)
3007 (window-sizable, window-sizable-p, window--min-delta-1)
3008 (window-min-delta, window--max-delta-1, window-max-delta)
3009 (window--resizable, window--resizable-p, window-resizable)
3010 (window-full-height-p, window-full-width-p, window-at-side-p)
3011 (window--in-direction-2, window-in-direction)
3012 (window--resize-reset-1, window--resize-mini-window)
3013 (window-resize, window-resize-no-error)
3014 (window--resize-child-windows-normal)
3015 (window--resize-child-windows, window--resize-siblings)
3016 (window--resize-this-window, window--resize-root-window)
3017 (window--resize-root-window-vertically)
3018 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3019 (maximize-window, minimize-window, delete-window)
3020 (quit-restore-window, window-split-min-size, split-window)
3021 (balance-windows-2, balance-windows)
3022 (balance-windows-area-adjust, balance-windows-area)
3023 (window--state-get-1, window-state-get, window--state-put-1)
3024 (window--state-put-2, window-state-put)
3025 (display-buffer-record-window, window--display-buffer):
3026 Make functions handle pixelwise sizing of windows.
3027 (display-buffer--action-function-custom-type)
3028 (display-buffer-fallback-action):
3029 Add display-buffer-in-previous-window.
3030 (display-buffer-use-some-window): Resize window to height it had
3032 (fit-window-to-buffer-horizontally): New option.
3033 (fit-frame-to-buffer): Describe new values.
3034 (fit-frame-to-buffer-bottom-margin): Replace with
3035 fit-frame-to-buffer-margins.
3036 (window--sanitize-margin): New function.
3037 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3038 using window-text-pixel-size.
3040 2013-11-30 Glenn Morris <rgm@gnu.org>
3042 * emacs-lisp/bytecomp.el (byte-compile-form):
3043 Make the `interactive-only' warning like the `obsolete' one.
3044 * comint.el (comint-run):
3045 * files.el (insert-file-literally, insert-file):
3046 * replace.el (replace-string, replace-regexp):
3047 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3048 (goto-line, insert-buffer, next-line, previous-line):
3049 Tweak `interactive-only' spec.
3051 Stop keeping (most) generated cedet grammar files in the repository.
3052 * Makefile.in (semantic): New.
3053 (compile-main): Depend on semantic.
3055 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3057 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3058 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3060 * uniquify.el (uniquify-buffer-name-style): Change default.
3062 * loadup.el: Preload "uniquify".
3064 * time.el (display-time-update): Update all mode lines (bug#15999).
3066 * electric.el (electric-indent-mode): Enable by default.
3067 * loadup.el: Preload "electric".
3069 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3071 * emacs-lisp/helpers.el (string-empty-p): New function.
3072 (string-blank-p): New function.
3074 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3076 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3079 2013-11-29 Andreas Politz <politza@fh-trier.de>
3080 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3081 allow non-lambda lists as functions.
3082 (imenu--in-alist): Don't recurse into non-subalists.
3083 (imenu): Don't pass function itself as an argument (Bug#14029).
3085 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3087 * progmodes/python.el (python-mode-map): Remove binding for ":".
3088 (python-indent-electric-colon): Remove command.
3089 (python-indent-post-self-insert-function): Integrate the previous code
3090 of python-indent-electric-colon. Make it conditional on
3091 electric-indent-mode.
3092 (python-mode): Add ?: to electric-indent-chars.
3093 Move python-indent-post-self-insert-function to the end of
3094 post-self-insert-hook.
3096 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3098 * doc-view.el (doc-view-goto-page): Update mode-line.
3100 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3102 2013-11-27 Glenn Morris <rgm@gnu.org>
3104 * international/charprop.el, international/uni-bidi.el:
3105 * international/uni-category.el, international/uni-combining.el:
3106 * international/uni-comment.el, international/uni-decimal.el:
3107 * international/uni-decomposition.el, international/uni-digit.el:
3108 * international/uni-lowercase.el, international/uni-mirrored.el:
3109 * international/uni-name.el, international/uni-numeric.el:
3110 * international/uni-old-name.el, international/uni-titlecase.el:
3111 * international/uni-uppercase.el:
3112 Remove generated files from VCS repository.
3114 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3116 * filenotify.el (file-notify-add-watch): Don't special-case
3117 w32notify when computing the directory to watch.
3119 2013-11-27 Glenn Morris <rgm@gnu.org>
3121 Make bootstrap without generated uni-*.el files possible again.
3122 * loadup.el: Update command-line-args checking for unidata-gen.
3123 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3124 * composite.el, international/characters.el:
3125 Handle unicode tables being undefined.
3127 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3128 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3129 (compile-main): Depend on leim rule.
3131 * loadup.el: Move leim-list.el to leim/ subdirectory.
3132 * startup.el (normal-top-level): No more leim directory.
3133 * international/ja-dic-cnv.el (skkdic-convert):
3134 Disable version-control and autoloads in output files.
3135 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3136 Disable version-control and autoloads in output files.
3137 * leim/quail: Move here from ../leim.
3138 * leim/quail/hangul.el (hangul-input-method-activate):
3139 Add autoload cookie.
3140 (generated-autoload-load-name): Set file-local value.
3141 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3142 (generated-autoload-load-name): Set file-local value.
3144 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3146 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3147 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3148 (eww-quit): Ask confirmation before quitting eww.
3150 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3152 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3153 reading output from Diff on MS-Windows and MS-DOS.
3155 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3157 * emacs-lisp/helpers.el (string-reverse): New function.
3159 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3161 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3162 names on MS Windows, like "/[::1]:".
3164 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3167 2013-11-26 Glenn Morris <rgm@gnu.org>
3169 * progmodes/python.el (python-indent-guess-indent-offset):
3170 Avoid corner-case error. (Bug#15975)
3172 Preload leim-list.el. (Bug#4789)
3173 * loadup.el: Load leim-list.el when found.
3174 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3176 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3178 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3180 * emacs-lisp/helpers.el (string-join): New function.
3182 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3184 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3185 Mark as obsolete and replace it with a symbol property.
3186 (byte-compile-form): Use new 'interactive-only property.
3187 * comint.el, files.el, replace.el, simple.el:
3188 Apply new 'interactive-only properly.
3190 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3192 * window.el (display-buffer-at-bottom): Make sure that
3193 split-window-sensibly creates the new window on bottom
3196 2013-11-23 David Kastrup <dak@gnu.org>
3198 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3199 on the conflict markers when available.
3200 (smerge--get-marker): New function.
3201 (smerge-end-re, smerge-base-re): Add subgroup.
3203 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * frame.el (handle-focus-in, handle-focus-out): Add missing
3208 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3210 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3211 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3213 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3215 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3216 (gomoku--last-pos): New var.
3217 (gomoku--intangible-chars): New const.
3218 (gomoku--intangible): New function.
3219 (gomoku-mode): Use it. Derive from special-mode.
3220 (gomoku-move-up): Adjust line count.
3221 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3222 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3223 Simplify accordingly.
3225 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3226 Remove blink-cursor code.
3227 (blink-cursor-timer-function, blink-cursor-suspend):
3228 Don't special-case GUIs.
3229 (blink-cursor-mode): Use focus-in/out-hook.
3231 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3233 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3234 work when annotation is invisible (Bug#13886).
3236 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3238 * json.el (json-alist-p): Only return non-nil if the alist has
3239 simple keys (Bug#13518).
3241 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3243 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3244 when control-statement is the first statement in a buffer (Bug#15956).
3246 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3248 * imenu.el (imenu-generic-skip-comments-and-strings):
3249 New option (Bug#15560).
3250 (imenu--generic-function): Use it.
3252 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3254 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3257 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3259 * emacs-lisp/helpers.el: Add some string helpers.
3260 (string-trim-left): Removes leading whitespace.
3261 (string-trim-right): Removes trailing whitespace.
3262 (string-trim): Removes leading and trailing whitespace.
3264 * subr.el (string-suffix-p): New function.
3266 2013-11-23 Glenn Morris <rgm@gnu.org>
3268 * progmodes/python.el (python-shell-send-file):
3269 Add option to delete file when done. (Bug#15647)
3270 (python-shell-send-string, python-shell-send-region): Use it.
3272 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3274 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3275 to set buffer-read-only to t, never to nil. (Bug#15938)
3277 * textmodes/tex-mode.el (latex-noindent-environments):
3278 Add safe-local-variable property. (Bug#15936)
3280 2013-11-23 Glenn Morris <rgm@gnu.org>
3282 * textmodes/enriched.el (enriched-mode): Doc fix.
3283 * emacs-lisp/authors.el (authors-renamed-files-alist):
3284 Add enriched.doc -> enriched.txt.
3286 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3288 2013-11-22 Leo Liu <sdl.web@gmail.com>
3290 * progmodes/octave.el (inferior-octave-startup): Spit out error
3293 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3295 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3298 (ruby-encoding-magic-comment-style): Add :version.
3300 2013-11-22 Leo Liu <sdl.web@gmail.com>
3302 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3304 (octave-help-mode): Adapt to change to help-mode-finish to use
3305 derived-mode-p on 2013-09-17.
3306 (inferior-octave-prompt): Also match octave-gui.
3307 (octave-kill-process): Don't ask twice. (Bug#10564)
3309 2013-11-22 Leo Liu <sdl.web@gmail.com>
3311 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3312 (inferior-octave-startup, inferior-octave-check-process)
3313 (inferior-octave-track-window-width-change)
3314 (octave-completion-at-point, octave-eldoc-function): Use it.
3315 (octave-kill-process): Provide confirmation. (Bug#10564)
3317 2013-11-21 Leo Liu <sdl.web@gmail.com>
3319 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3320 Fix obsolete variable comment-use-global-state.
3322 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3324 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3325 Add `octave-source-file'.
3326 (octave-source-file): New function. (Bug#15935)
3328 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3330 * net/eww.el (eww-local-regex): New variable.
3331 (eww): Use it to detect localhost and similar.
3333 2013-11-21 Leo Liu <sdl.web@gmail.com>
3335 Add completion for command `ag'.
3336 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3337 (pcomplete/ag): New function.
3338 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3340 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3342 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3344 (make-obsolete): Remove interactive spec.
3346 2013-11-21 Glenn Morris <rgm@gnu.org>
3348 * startup.el (command-line-1): Use path-separator with -L.
3350 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3352 * emacs-lisp/package.el (describe-package-1): Add package archive
3355 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3357 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3358 Change default to "# encoding: %s" to differentiate it from the
3359 default Ruby encoding comment template.
3361 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3363 * ses.el (ses-mode): Doc fix. (Bug#14748)
3365 2013-11-20 Leo Liu <sdl.web@gmail.com>
3367 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3369 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3371 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3372 when rebase or bisect are in progress.
3374 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3376 * filenotify.el (file-notify-add-watch): Doc fix.
3378 2013-11-19 Leo Liu <sdl.web@gmail.com>
3380 * obsolete/rcompile.el: Mark obsolete.
3382 * progmodes/compile.el (compilation-start)
3383 (compilation-goto-locus, compilation-find-file):
3384 Pass no-display-ok and handle nil value from display-buffer.
3387 * window.el (display-buffer-alist, display-buffer): Document the
3388 new parameter no-display-ok. Return either a window or nil
3389 but never a non-window value.
3391 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3393 * electric.el (electric-indent-mode-map): Remove.
3394 (electric-indent-mode): Change the global-map instead (bug#15915).
3396 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3399 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3401 * emacs-lisp/nadvice.el (remove-function): Align with
3402 add-function's behavior.
3404 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3405 (gdb--string-regexp): New constant.
3406 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3407 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3408 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3410 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3411 Adjust use accordingly.
3412 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3414 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3416 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3417 interpolation curlies (Bug#15914).
3419 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3421 * calc/calc.el (calc-context-sensitive-enter): New variable.
3422 (calc-enter): Use `calc-context-sensitive-enter'.
3424 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3426 * progmodes/cfengine.el: Version bump.
3427 (cfengine-cf-promises): New defcustom to locate cf-promises.
3428 (cfengine3-vartypes): Add new "data" type.
3429 (cfengine3--current-word): New function to get current name-like
3431 (cfengine3--current-function): New function to look up a CFEngine
3432 function's definition.
3433 (cfengine3-format-function-docstring): New function.
3434 (cfengine3-make-syntax-cache): New function.
3435 (cfengine3-documentation-function): New function: ElDoc glue.
3436 (cfengine3-completion-function): New function: completion glue.
3437 (cfengine3-mode): Set `compile-command',
3438 `eldoc-documentation-function', and add to
3439 `completion-at-point-functions'.
3441 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3443 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3444 `tramp-current-connection'.
3446 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3448 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3449 nil/self/true/false with "end of symbol".
3451 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3453 * subr.el (version-regexp-alist): Fix a typo.
3455 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3457 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3458 "en_US.utf8" and "LC_CTYPE" to "".
3459 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3460 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3462 2013-11-15 Leo Liu <sdl.web@gmail.com>
3464 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3466 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3468 * progmodes/gud.el (ctl-x-map):
3469 Remove C-x SPC binding. (Bug#12342)
3470 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3472 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3474 * subr.el (version-regexp-alist):
3475 Recognize hg, svn and darcs versions as snapshot versions.
3477 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3478 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3479 (ruby--encoding-comment-required-p): Extract from
3480 `ruby-mode-set-encoding'.
3481 (ruby-mode-set-encoding): Add the ability to always insert an
3482 utf-8 encoding comment. Fix and simplify coding comment update
3485 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3487 * net/tramp-gvfs.el (top): Run init code only when
3488 `tramp-gvfs-enabled' is not nil.
3489 (tramp-gvfs-enabled): Check also :system bus.
3491 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3493 Sync with upstream verilog-mode revision 78e66ba.
3494 * progmodes/verilog-mode.el (verilog-end-of-defun)
3495 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3496 (verilog-get-end-of-defun): Remove unused argument.
3497 (verilog-comment-depth): Remove unused local `e'.
3498 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3499 Don't pass arg to verilog-get-end-of-defun.
3501 2013-11-14 Glenn Morris <rgm@gnu.org>
3503 * obsolete/assoc.el (aget): Prefix dynamic variable.
3505 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3507 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3509 * widget.el, hfy-cmap.el: Remove bogus package version number.
3511 2013-11-13 Glenn Morris <rgm@gnu.org>
3513 * replace.el (replace-eval-replacement):
3514 Try to give more helpful error message. (Bug#15836)
3516 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3517 (archive-7z-update): Avoid custom type mismatches.
3519 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3521 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3523 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3524 address can be empty.
3526 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3527 Accept nil SWITCHES.
3528 (tramp-gvfs-handle-write-region): Implement APPEND.
3530 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3532 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3533 binary "|" operator and closing block args delimiter.
3534 Remove FIXME comment referring to Ruby 1.8-only syntax.
3535 (ruby-smie--implicit-semi-p): Not after "|" operator.
3536 (ruby-smie--closing-pipe-p): New function.
3537 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3538 (ruby-smie-rules): Indent after "|".
3540 2013-11-12 Glenn Morris <rgm@gnu.org>
3542 * ps-print.el (ps-face-attribute-list):
3543 Handle anonymous faces. (Bug#15827)
3545 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3547 * window.el (display-buffer-other-frame): Fix doc-string.
3550 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3552 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3554 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3556 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3557 (tramp-sh-handle-file-local-copy): Don't write a message when
3558 saving temporary files.
3560 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3561 both directories are remote.
3562 (tramp-smb-handle-directory-files): Do not return double entries.
3563 Do not expand full file names.
3564 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3565 (tramp-smb-handle-write-region): Implement APPEND.
3566 (tramp-smb-get-stat-capability): Fix a stupid bug.
3568 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3570 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3572 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3574 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3575 throwing error over malformed let/let* (bug#15814).
3577 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3579 * iswitchb.el (iswitchb-mode): Mark obsolete.
3581 2013-11-11 Glenn Morris <rgm@gnu.org>
3583 * international/uni-bidi.el, international/uni-category.el:
3584 * international/uni-name.el, international/uni-numeric.el:
3585 Regenerate for Unicode 6.3.0.
3587 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3589 * net/tramp.el (tramp-methods):
3590 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3591 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3593 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3595 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3596 Force highlighting text after Summary keyword in doc face for rpm.
3598 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3600 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3601 available and the word has no wildcards, append one to the grep pattern.
3602 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3603 (ispell-complete-word): Call `ispell-lookup-words' with the value
3604 independent of `ispell-look-p'.
3606 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3608 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3610 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3613 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3615 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3616 (ruby-font-lock-keywords): Use backquote.
3618 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3620 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3621 (ruby-smie--backward-token): Only consider full-string matches.
3623 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3625 * faces.el (describe-face): Add distant-foreground.
3627 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3629 * progmodes/ruby-mode.el: Improve encoding comment handling.
3630 (ruby-encoding-magic-comment-style): New option.
3631 (ruby-custom-encoding-magic-comment-template): New option.
3632 (ruby--insert-coding-comment, ruby--detect-encoding):
3633 New functions extracted from `ruby-mode-set-encoding'.
3634 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3635 to control the style of the auto-inserted encoding comment.
3637 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3639 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3640 Use `smie-backward-sexp' with token argument.
3642 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3644 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3645 Remove instrumentation code.
3647 2013-11-08 Glenn Morris <rgm@gnu.org>
3649 * progmodes/autoconf.el (autoconf-mode):
3650 Tweak comment-start-skip. (Bug#15822)
3652 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3654 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3655 at bobp (bug#15826).
3656 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3658 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3660 * man.el (Man-start-calling): New macro, extracted from
3661 Man-getpage-in-background.
3662 (Man-getpage-in-background): Use it.
3663 (Man-update-manpage): New command.
3664 (Man-mode-map): Bind it.
3666 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3668 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3669 of "and", "or", "&&" and "||".
3670 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3671 argument. Prohibit opening curly brace because it could only be a
3672 block opener in that position.
3673 (ruby-smie--forward-token, ruby-smie--backward-token):
3674 Separate "|" from "&" or "*" going after it. That can happen in block
3676 (ruby-smie--indent-to-stmt): New function, seeks the end of
3677 previous statement or beginning of buffer.
3678 (ruby-smie-rules): Use it.
3679 (ruby-smie-rules): Check if there's a ":" before a curly block
3680 opener candidate; if there is, it's a hash.
3682 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3684 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3685 (cl--block-wrapper): Fix last accidental change.
3687 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3689 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3690 Instrument, in order to hunt failure on hydra.
3692 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3694 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3695 malformed bindings form (bug#15814).
3697 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3699 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3700 "." compared to " @ ". This incidentally fixes some indentation
3702 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3703 (ruby-smie-grammar): New tokens: "and" and "or".
3704 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3705 Exclude "and" and "or". Remove "do" in order to work around token
3707 (ruby-smie-rules): Add all infix tokens. Handle the case of
3708 beginning-of-buffer.
3710 2013-11-06 Glenn Morris <rgm@gnu.org>
3712 * Makefile.in (setwins_almost, setwins_for_subdirs):
3713 Avoid accidental matches.
3715 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3717 * menu-bar.el (popup-menu): Use key-binding.
3719 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3721 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3722 menus, support also the menus produced by minor modes.
3725 2013-11-06 Leo Liu <sdl.web@gmail.com>
3727 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3728 DISTANCE to bound the search. All uses changed. (Bug#15808)
3730 2013-11-06 Glenn Morris <rgm@gnu.org>
3732 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3733 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3734 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3736 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * electric.el (electric-indent-just-newline): New command.
3739 (electric-indent-mode-map): New keymap.
3740 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3741 Re-add :group which weren't redundant.
3743 * electric.el (electric-indent-local-mode): New minor mode.
3744 (electric-indent-functions-without-reindent): New var.
3745 (electric-indent-post-self-insert-function): Use it.
3746 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3748 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3750 * international/quail.el (quail-help): Be more explicit about the
3751 meaning of the labels shown on the keys. (Bug#15800)
3753 * startup.el (normal-top-level): Load the subdirs.el files before
3754 setting the locale environment. (Bug#15805)
3756 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3758 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3759 via arguments so as to get the right ones (bug#15418).
3761 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3763 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3765 Fix problems found while writing a test suite.
3767 * net/tramp-compat.el (tramp-compat-load): New defun.
3768 * net/tramp.el (tramp-handle-load): Use it.
3770 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3771 "(numberp ok-if-already-exists)" correctly.
3773 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3775 * international/characters.el (glyphless-char-display-control):
3778 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3780 * progmodes/python.el (python-mode):
3781 * progmodes/scheme.el (scheme-mode):
3782 * progmodes/prolog.el (prolog-mode):
3783 * progmodes/ruby-mode.el (ruby-mode):
3784 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3785 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3787 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3789 * rect.el (rectangle--highlight-for-redisplay):
3790 * emacs-lisp/smie.el (smie--next-indent-change):
3791 Use buffer-chars-modified-tick.
3793 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3795 * electric.el (electric-indent-post-self-insert-function):
3796 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3798 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3800 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3802 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3804 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3807 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3809 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3811 * progmodes/python.el: Fix up last change.
3812 (python-shell--save-temp-file): New function.
3813 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3814 `string' comes from the current buffer.
3815 (python-shell-send-string-no-output): Remove `msg' arg.
3816 (python--use-fake-loc): New var.
3817 (python-shell-buffer-substring): Obey it. Try to compensate for the
3818 extra coding line added by python-shell--save-temp-file.
3819 (python-shell-send-region): Use python-shell--save-temp-file and
3820 python-shell-send-file directly. Add `nomain' argument.
3821 (python-shell-send-buffer): Use python-shell-send-region.
3822 (python-electric-pair-string-delimiter): New function.
3823 (python-mode): Use it.
3825 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3827 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3828 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3829 environment and decoding all of the default-directory's to here
3831 (command-line): Decode also argv[0].
3833 * loadup.el: Error out if default-directory is a multibyte string
3834 when we are dumping.
3836 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3838 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3840 * emacs-lisp/package.el (package-menu-mode)
3841 (package-menu--print-info, package-menu--archive-predicate):
3842 Add Archive column to package list.
3844 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3846 Fix problems found while writing a test suite.
3848 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3849 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3850 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3851 to nil when running original file name handler. Otherwise,
3852 there are problems with constructs like "$$FOO".
3854 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3857 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3859 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3861 * subr.el (version<, version<=, version=):
3862 Update docstrings with information for snapshot versions.
3864 * helpers.el: New library for misc helper functions.
3865 (hash-table-keys): New function returning a list of hash keys.
3866 (hash-table-values): New function returning a list of hash values.
3868 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3870 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3871 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3873 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3875 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3876 checking whether point is after a 1-letter word.
3878 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3880 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3881 Don't infloop when expanding region over `multiline' syntax-type that
3882 begins a line (bug#15778).
3884 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3886 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3887 Make it into a proper minor mode.
3888 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3889 (rectangle-mark-mode-map): New keymap.
3890 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3892 2013-11-04 Glenn Morris <rgm@gnu.org>
3894 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3896 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3898 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3899 (ruby-smie-rules): Use smie-rule-parent instead.
3901 * emacs-lisp/smie.el (smie-rule-parent): Always call
3902 smie-indent-virtual rather than only for hanging tokens.
3903 (smie--next-indent-change): New helper command.
3905 2013-11-03 Glenn Morris <rgm@gnu.org>
3907 * Makefile.in (abs_srcdir): Remove.
3908 (emacs): Unset EMACSLOADPATH.
3910 2013-11-02 Glenn Morris <rgm@gnu.org>
3912 * Makefile.in (EMACS): Use a relative filename.
3913 (abs_top_builddir): Remove.
3914 (custom-deps, finder-data, autoloads): Use --chdir.
3916 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3918 Use relative filenames in TAGS files.
3919 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3920 (lisptagsfiles4, TAGS): Use relative file names.
3921 (TAGS-LISP): Remove.
3922 (maintainer-clean): No more TAGS-LISP file.
3924 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3925 (lisptagsfiles4): Use absolute filenames again.
3926 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3927 Remove all *loaddefs files, not just the first. Remove esh-groups.
3928 (maintainer-clean): Delete TAGS, TAGS-LISP.
3930 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3932 * emacs-lisp/package.el (package-version-join):
3933 Recognize snapshot versions.
3935 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3937 * subr.el (version-regexp-alist): Add support for snapshot versions.
3939 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3941 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3942 New function, replacement for `smie-rule-parent' for when we want to
3943 skip over our direct parent if it's an assignment token..
3944 (ruby-smie-rules): Use it.
3946 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3948 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3949 unconditionally. Remove now unnecessary forward declarations.
3950 Remove XEmacs-specific setup.
3951 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3952 (ruby-font-lock-syntactic-keywords)
3953 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3954 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3955 (ruby-here-doc-end-syntax): Remove.
3956 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3957 defined as function.
3959 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3961 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3963 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3965 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3966 table and abbrev table, `define-derived-mode' does that for us
3969 2013-11-01 Glenn Morris <rgm@gnu.org>
3971 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3972 files is atomic for some time, so no parallel compilation issues).
3974 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3976 * faces.el (face-x-resources): Add :distant-foreground.
3977 (region): Use :distant-foreground for gtk and ns.
3979 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3981 Allow multiple bibliographies when BibLaTeX is used rather than
3983 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3984 (reftex-locate-bibliography-files): Us it.
3986 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3988 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3989 allow comments in pbm files.
3991 * term/w32-win.el (dynamic-library-alist): Support newer versions
3992 of libjpeg starting with v7: look only for the DLL from the
3993 version against which Emacs was built.
3994 Support versions of libpng beyond 1.4.x.
3995 Support libtiff v4.x.
3997 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3999 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4000 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4002 (ruby-deep-arglist): Add property :type.
4004 2013-10-31 Glenn Morris <rgm@gnu.org>
4006 * Makefile.in (custom-deps, finder-data): No need to setq the target
4007 variables, we are in the right directory and the defaults work fine.
4009 2013-10-30 Glenn Morris <rgm@gnu.org>
4011 * Makefile.in (autoloads): Do not use abs_lisp.
4013 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4014 `newline' does not respect `standard-output', so use `princ'.
4016 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4018 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4019 * buff-menu.el (Buffer-menu--unmark): New function.
4020 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4022 2013-10-30 Glenn Morris <rgm@gnu.org>
4024 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4026 * emacs-lisp/package.el (lm-homepage): Declare.
4028 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4031 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4033 * Makefile.in (finder-data, autoloads, update-subdirs)
4034 (compile-main, compile-clean, compile-always, bootstrap-clean):
4035 Check return value of cd.
4036 (compile-calc): Remove.
4038 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4040 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4042 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4043 (byte-compile-and-folded): New function.
4044 (=, <, >, <=, >=): Use it.
4046 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4047 (path-separator, null-device, buffer-file-coding-system)
4048 (lpr-headers-switches): Check system-type before modifying them.
4049 (find-buffer-file-type-coding-system): Mark obsolete.
4050 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4051 find-file-not-found-set-buffer-file-coding-system.
4052 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4053 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4054 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4055 (w32-direct-print-region-helper, w32-direct-print-region-function)
4056 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4057 * startup.el (normal-top-level-add-subdirs-to-load-path):
4058 * ps-print.el (ps-print-region-function):
4059 * lpr.el (print-region-function): Use new name.
4061 * subr.el (custom-declare-variable-early): Remove function.
4062 (custom-declare-variable-list): Remove var.
4063 (error, user-error): Remove `while' loop.
4064 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4065 (user-emacs-directory-warning, locate-user-emacs-file):
4067 * simple.el (read-quoted-char-radix, read-quoted-char):
4068 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4070 * custom.el (custom-declare-variable-list): Don't process
4071 custom-declare-variable-list.
4073 * progmodes/python.el (python-shell-get-buffer): New function.
4074 (python-shell-get-process): Use it.
4075 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4076 Python which encoding was used. Don't split-string since we only care
4077 about the first line. Return the temp-file, if applicable.
4078 (python-shell-send-region): Tell compile.el how to turn locations in
4079 the temp-file into locations in the source buffer.
4081 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4083 * subr.el (undefined): Add missing behavior from the C code for
4086 * rect.el: Use lexical-binding. Add new rectangular region support.
4087 (rectangle-mark): New command.
4088 (rectangle--region): New var.
4089 (deactivate-mark-hook): Reset rectangle--region.
4090 (rectangle--extract-region, rectangle--insert-for-yank)
4091 (rectangle--highlight-for-redisplay)
4092 (rectangle--unhighlight-for-redisplay): New functions.
4093 (region-extract-function, redisplay-unhighlight-region-function)
4094 (redisplay-highlight-region-function): Use them to handle
4096 * simple.el (region-extract-function): New var.
4097 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4098 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4099 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4100 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4101 (redisplay-unhighlight-region-function)
4102 (redisplay-highlight-region-function): New vars.
4103 (redisplay--update-region-highlight): New function.
4104 (pre-redisplay-function): Use it.
4105 (exchange-point-and-mark): Don't deactivate the mark before
4106 reactivate-it anyway.
4107 * comint.el (comint-kill-region): Remove yank-handler argument.
4108 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4109 (delete-char): Remove property, since it's now part of their
4111 (self-insert-iso): Remove property since this command doesn't exist.
4113 * emacs-lisp/package.el (package--download-one-archive)
4114 (describe-package-1): Don't query the user about final newline.
4116 2013-10-29 Daniel Colascione <dancol@dancol.org>
4118 * net/tramp.el (tramp-methods): Document new functionality.
4119 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4120 tramp-hostname-checker if method provides one instead of scanning
4121 argument list for "%h" to decide hostname acceptability.
4123 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4125 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4126 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4127 Handle COPY-CONTENTS. (Bug#15737)
4129 2013-10-28 Daiki Ueno <ueno@gnu.org>
4132 (epa-file-cache-passphrase-for-symmetric-encryption):
4133 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4135 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4137 * image.el (defimage):
4138 (image-load-path): Doc fixes.
4140 2013-10-27 Alan Mackenzie <acm@muc.de>
4142 Indent statements in macros following "##" correctly.
4143 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4144 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4146 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4148 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4150 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4152 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4153 after `=' is probably a new expression.
4155 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4157 * man.el (man-imenu-title): New option.
4158 (Man-mode-map): Add menu. (Bug#15722)
4159 (Man-mode): Add imenu to menu.
4161 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4163 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4164 specific in what the first arg can be: a non-keyword word,
4165 string/regexp/percent literal opener, opening paren, or unary
4166 operator followed directly by word.
4168 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4170 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4171 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4172 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4173 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4174 Remove vars, they do not apply any more.
4175 (prolog-mode-abbrev-table): Remove redundant declaration.
4176 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4177 (prolog-use-smie): Remove.
4178 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4179 supported by prolog-electric-if-then-else-flag.
4180 (prolog-mode-variables, prolog-menu): Use setq-local.
4181 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4182 Remove binding to `Backspace' since this key doesn't exist anyway.
4183 Remove bindings for electric self-inserting keys.
4184 (prog-mode): Assume it's defined.
4185 (prolog-post-self-insert): New function.
4186 (prolog-mode): Use it.
4187 (prolog-indent-line, prolog-indent-level)
4188 (prolog-find-indent-of-matching-paren)
4189 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4190 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4191 (prolog-goto-next-paren, prolog-in-string-or-comment)
4192 (prolog-tokenize, prolog-inside-mline-comment)
4193 (prolog-find-start-of-mline-comment): Remove functions.
4194 (prolog-find-unmatched-paren, prolog-clause-end)
4195 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4196 (prolog-electric--if-then-else): Rename from
4197 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4198 (prolog-tokenize-searchkey): Remove const.
4199 (prolog-clause-info): Use forward-sexp.
4200 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4201 (prolog-electric-if-then-else): Remove commands.
4202 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4203 for use in post-self-insert-hook.
4204 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4205 for use in post-self-insert-hook.
4206 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4207 for use in post-self-insert-hook.
4208 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4209 adapt it for use in post-self-insert-hook.
4211 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4213 * emacs-lisp/ert.el (ert-run-tests-interactively):
4214 Use `completing-read'. (Bug#9756)
4216 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4218 * simple.el (line-move): Call line-move-1 instead of
4219 line-move-visual when the current window hscroll is zero, but
4220 temporary-goal-column indicates we will need to hscroll as result
4221 of the movement. (Bug#15712)
4223 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4225 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4226 capitalization. Use :visible instead of :active.
4227 Fix `ruby-indent-exp' reference. Add menu items for the generic
4228 commands that are used with SMIE.
4229 (ruby-do-end-to-brace): Insert space after `{'.
4231 2013-10-25 John Anthony <john@jo.hnanthony.com>
4233 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4235 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4237 2013-10-25 Glenn Morris <rgm@gnu.org>
4239 * vc/vc.el (vc-print-log): Don't use a working revision unless
4240 one was explicitly specified. (Bug#15322)
4242 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4244 * subr.el (add-to-list): Preserve return value in compiler-macro
4247 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4249 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4250 result. Ask user to retry using '-all' flag. (Bug#15701)
4252 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4254 * emacs-lisp/smie.el: New smie-config system.
4255 (smie-config): New defcustom.
4256 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4257 (smie-config-guess, smie-config-save): New commands.
4258 (smie-config--mode-local, smie-config--buffer-local)
4259 (smie-config--trace, smie-config--modefuns): New vars.
4260 (smie-config--advice, smie-config--mode-hook)
4261 (smie-config--setter, smie-config-local, smie-config--get-trace)
4262 (smie-config--guess-value, smie-config--guess): New functions.
4263 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4264 text properties. Treat "string fence" syntax like string syntax.
4266 * progmodes/sh-script.el (sh-use-smie): Change default.
4267 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4268 (sh-var-value): Simplify by CSE.
4269 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4270 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4272 (sh-guess-basic-offset): Use cl-incf.
4273 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4275 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4277 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4280 2013-10-24 Glenn Morris <rgm@gnu.org>
4282 * Makefile.in (abs_top_srcdir): Remove.
4283 (update-subdirs): Use relative path to update-subdirs.
4285 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4287 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4288 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4289 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4290 Call unmsys--file-name before expand-file-name, not after it.
4292 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4294 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4295 (ert-test-skipped): New error.
4296 (ert-skip, ert-stats-skipped): New defuns.
4297 (ert--skip-unless): New macro.
4298 (ert-test-skipped): New struct.
4299 (ert--run-test-debugger, ert-test-result-type-p)
4300 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4301 (ert--stats-set-test-and-result, ert-char-for-test-result)
4302 (ert-string-for-test-result, ert-run-tests-batch)
4303 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4304 Handle skipped tests. (Bug#9803)
4306 2013-10-24 Glenn Morris <rgm@gnu.org>
4308 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4310 * Makefile.in (abs_top_srcdir): New, set by configure.
4311 (update-subdirs): Correct build-aux location.
4313 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4315 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4316 value, whether we could auto-deduce `backend', or not.
4318 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4319 with parameters" example. Simplify the "is it block or is it
4320 hash" check, but also make it more thorough.
4322 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4324 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4326 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4328 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4331 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4334 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4336 * progmodes/compile.el (compilation-directory-matcher)
4337 (compilation-page-delimiter):
4338 Support GNU Make-4.0 directory quoting. (Bug#15678)
4340 2013-10-23 Leo Liu <sdl.web@gmail.com>
4342 * ido.el (ido-tidy): Handle read-only text.
4344 2013-10-23 Glenn Morris <rgm@gnu.org>
4346 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4347 (emacs, compile, compile-always):
4348 Quote entities that might contain whitespace.
4349 (custom-deps, finder-data, autoloads): Use abs_lisp.
4350 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4351 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4352 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4354 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4356 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4357 Use `following-char'.
4359 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4361 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4362 * progmodes/ruby-mode.el (ruby-smie-rules):
4363 Remove corresponding workaround. Fix indentation rule of ";" so it
4364 also applies when ";" is the parent.
4366 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4368 * frame.el (display-screens, display-pixel-height)
4369 (display-pixel-width, display-mm-width, display-backing-store)
4370 (display-save-under, display-planes, display-color-cells)
4371 (display-visual-class, display-monitor-attributes-list):
4372 Mention the optional ‘display’ argument in doc strings.
4374 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4376 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4377 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4379 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4381 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4382 TODO. Add "." after " @ ".
4383 (ruby-smie--at-dot-call): New function. Checks if point at method
4384 call with explicit target.
4385 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4386 to the method name tokens when it precedes them.
4387 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4388 (ruby-smie-rules): Add rule for indentation before and after "."
4391 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4393 * textmodes/remember.el (remember-diary-extract-entries):
4396 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4399 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4401 * progmodes/ruby-mode.el (ruby-smie-grammar):
4402 Add (almost) all infix operators.
4403 (ruby-smie--implicit-semi-p): Add new operator chars.
4405 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4407 (ruby-smie--args-separator-p): Check that there's no newline
4408 between method call and its arguments.
4410 2013-10-20 Alan Mackenzie <acm@muc.de>
4412 Allow comma separated lists after Java "implements".
4414 * progmodes/cc-engine.el (c-backward-over-enum-header):
4416 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4417 from a "disallowed" list in enum fontification.
4419 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4421 * startup.el (default-frame-background-mode): Remove unused defvar.
4423 * progmodes/verilog-mode.el (verilog-mode): Don't set
4424 comment-indent-function globally.
4426 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4428 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4429 Move Info menu item creation to ns-win.el.
4431 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4434 * menu-bar.el: Move GNUstep specific menus...
4436 * term/ns-win.el (ns-initialize-window-system): ... to here.
4438 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4440 * simple.el (newline): Only run post-self-insert-hook when
4441 called interactively.
4443 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4445 * icomplete.el (icomplete-with-completion-tables): Add :version.
4447 2013-10-19 Alan Mackenzie <acm@muc.de>
4449 Fix fontification bugs with constructors and const.
4451 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4452 CASE 2) Remove the check for the absence of a suffix construct
4453 after a function declaration with only types (no identifiers) in
4454 the parentheses. Also, accept a function declaration with just a
4455 type inside the parentheses, if this type can be positively
4456 recognised as such, or if a prefix keyword like "explicit" nails
4457 down the construct as a declaration.
4459 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4461 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4462 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4463 the problem whereby selecting a menu item that leads to a
4464 minibuffer prompt moves the cursor out of the minibuffer window,
4465 making it hard to type at the prompt. Suggested by Stefan Monnier
4466 <monnier@iro.umontreal.ca>.
4468 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4470 * menu-bar.el: Don't make Services menu.
4472 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4474 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4475 (ffap-alist): Use ffap-c++-mode for c++-mode.
4476 (ffap-c++-path): New variable.
4477 (ffap-c++-mode): New function.
4479 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4481 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4483 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4485 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4486 introduced on 2013-09-08, which results in an infinite loop
4487 requesting a password.
4489 2013-10-18 Glenn Morris <rgm@gnu.org>
4491 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4493 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4495 Sync with upstream verilog-mode revision 1a6ecec7.
4496 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4497 (verilog-mode-release-date): Remove.
4498 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4499 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4500 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4501 (verilog-auto-tieoff-ignore-regexp)
4502 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4503 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4504 (verilog-signals-with, verilog-dir-cache-preserving)
4505 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4507 (verilog-case-fold): New option, to control case folding in
4508 regexp searches, bug597.
4509 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4510 (verilog-string-match-fold, verilog-in-paren-count)
4511 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4512 (verilog-at-close-struct-p): New functions.
4513 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4514 (verilog-forward-sexp, verilog-set-auto-endcomments):
4515 (verilog-leap-to-case-head): Handle "unique0" case.
4516 (verilog-in-constraint-re): New constant.
4517 (verilog-keywords, verilog-type-font-keywords):
4518 Add some SystemVerilog 1800-2012 keywords.
4519 (verilog-label-be): Remove unimplemented argument, bug669.
4520 (verilog-batch-execute-func): When batch expanding clear
4521 create-lockfiles to prevent spurious user locks when a file ends
4523 (verilog-calculate-indent, verilog-calc-1)
4524 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4525 (verilog-do-indent): Fix indentation of nested constraints
4527 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4528 (verilog-auto-inst-param): Use verilog-string-match-fold.
4529 (verilog-read-inst-module-matcher):
4530 Fix AUTOINST on gate primitives with #1.
4531 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4532 Reads all user-defined typed variables.
4533 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4534 (verilog-signals-matching-regexp)
4535 (verilog-signals-not-matching-regexp, verilog-auto):
4536 Respect verilog-case-fold.
4537 (verilog-diff-report): Fix line count.
4538 (verilog-auto-assign-modport): Remove unused local `modi'.
4539 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4540 better handle multidimensional arrays.
4541 Fix packed array ports misadding bit index in AUTOINST, bug637.
4542 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4543 to not double-declare existing outputs and inputs, respectively.
4544 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4545 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4546 (verilog-sk-uvm-component): New skeleton.
4547 (verilog-submit-bug-report): Add verilog-case-fold,
4548 remove verilog-mode-release-date.
4550 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4552 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4555 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4557 * textmodes/remember.el (remember): Set buffer-offer-save in
4558 remember buffers (bug#13566).
4560 2013-10-18 Daniel Colascione <dancol@dancol.org>
4562 When evaluating forms in ielm, direct standard output to ielm
4563 buffer. Add new ielm-return-for-effect command. Remove trailing
4564 whitespace throughout.
4566 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4567 (ielm-return-for-effect): New command.
4568 (ielm-send-input): Accept optional `for-effect' parameter.
4569 (ielm-eval-input): Accept optional `for-effect' parameter.
4570 Bind `standard-output' to stream we create using
4571 `ielm-standard-output-impl'. Suppress printing result when
4573 (ielm-standard-output-impl): New function.
4574 (inferior-emacs-lisp-mode): Explain new features in documentation.
4576 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4580 * net/tramp.el (tramp-debug-message): Do not check for connection
4582 (tramp-message): Use "vector" connection property.
4584 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4585 (tramp-equal-remote, tramp-eshell-directory-change)
4586 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4587 (tramp-adb-handle-rename-file)
4588 * net/tramp-cmds.el (tramp-list-remote-buffers)
4589 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4590 * net/tramp-compat.el (tramp-compat-process-running-p)
4591 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4592 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4593 (tramp-gvfs-handle-rename-file)
4594 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4595 (tramp-set-file-uid-gid)
4596 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4597 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4600 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4601 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4602 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4603 (tramp-gw-open-network-stream): Suppress unrelated traces.
4605 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4606 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4607 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4608 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4609 connection property.
4611 * net/tramp-cache.el (top): Suppress traces when reading
4614 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4615 Refactor common code. Improve debug message.
4616 (tramp-maybe-open-connection)
4617 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4618 connection buffer too early.
4620 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4621 from `tramp-smb-actions-with-acl'.
4622 (tramp-smb-actions-set-acl): New defconst.
4623 (tramp-smb-handle-copy-directory)
4624 (tramp-smb-action-get-acl): New defun, renamed from
4625 `tramp-smb-action-with-acl'.
4626 (tramp-smb-action-set-acl): New defun.
4627 (tramp-smb-handle-set-file-acl): Rewrite.
4629 2013-10-17 Glenn Morris <rgm@gnu.org>
4631 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4633 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4635 * skeleton.el (skeleton-newline): Remove.
4636 (skeleton-internal-1): Use (insert "\n") instead.
4638 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4641 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4642 forward-sexp-function while we redo its job (bug#15613).
4644 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4646 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4647 represented by lists.
4649 2013-10-16 Glenn Morris <rgm@gnu.org>
4651 * tmm.el (tmm--history): New dynamic variable.
4652 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4654 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4656 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4657 (tramp-smb-errors): Add error messages.
4658 (tramp-smb-actions-with-acl): New defconst.
4659 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4660 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4661 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4662 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4663 (tramp-smb-get-stat-capability): Fix tests.
4665 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4667 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4670 2013-10-16 Glenn Morris <rgm@gnu.org>
4672 * ansi-color.el (ansi-color-drop-regexp):
4673 Add 1J, 1K, 2K. (Bug#15617)
4675 * files.el (hack-local-variables--warned-lexical): New.
4676 (hack-local-variables):
4677 Warn about misplaced lexical-binding. (Bug#15616)
4679 * net/eww.el (eww-render): Always set eww-current-url,
4680 and update header line. (Bug#15622)
4681 (eww-display-html): ... Rather than just doing it here.
4683 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4685 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4686 menu navigations commands.
4688 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4690 * progmodes/subword.el (subword-capitalize): Be careful when
4691 the search for [[:alpha:]] fails (bug#15580).
4693 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4695 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4696 to commands that scroll the menu.
4698 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4700 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4701 Handle methods ending with `?' and `!'.
4703 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4705 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4706 `japanese-cp932' to `cp932' to fix the problem where saving a
4707 source file written in Shift_JIS twice would end up having
4708 `coding: japanese-cp932' which Ruby could not recognize.
4709 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4710 in `ruby-encoding-map'.
4711 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4712 doesn't need to be explicitly declared in magic comment.
4713 (ruby-encoding-map): Add type declaration for better customize UI.
4715 2013-10-13 Glenn Morris <rgm@gnu.org>
4717 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4718 Occur buffers are read-only. http://bugs.debian.org/720775
4720 * emacs-lisp/authors.el (authors-fixed-entries):
4721 Comment out old alpha stuff.
4723 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4725 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4726 to `after-save-hook' instead of `before-save-hook'.
4727 (ruby-mode-set-encoding): Use the value of coding system used to
4728 write the file. Call `basic-save-buffer-1' after modifying the
4731 2013-10-13 Alan Mackenzie <acm@muc.de>
4733 Fix indentation/fontification of Java enum with
4734 "implements"/generic.
4736 * progmodes/cc-engine.el (c-backward-over-enum-header):
4737 Extracted from the three other places and enhanced to handle generics.
4738 (c-inside-bracelist-p): Uses new function above.
4739 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4741 (c-font-lock-enum-tail): Uses new function above.
4743 2013-10-13 Kenichi Handa <handa@gnu.org>
4745 * international/mule-cmds.el (select-safe-coding-system): Remove a
4746 superfluous condition in chekcing whether a coding system is safe
4749 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4751 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4753 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4755 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4757 2013-10-13 Glenn Morris <rgm@gnu.org>
4759 * menu-bar.el (menu-bar-update-buffers):
4760 Unify Buffers menu prompt string. (Bug#15576)
4762 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4764 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4766 (authors-fixed-entries): Use accented form of name.
4768 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4770 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4771 method calls (bug#15594).
4772 (ruby-smie--args-separator-p): New function.
4773 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4774 recognize paren-free method calls.
4776 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4777 internals of universal-argument.
4779 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4781 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4782 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4783 dropped menu on second mouse click on the menu bar.
4785 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4787 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4788 (explicit-shell-file-name): Declare.
4789 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4790 (sh-completion-at-point-function): New function.
4792 (sh-smie--keyword-p): Remove unused argument.
4793 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4795 (sh-set-shell): Always setup SMIE, even if we use the
4796 old indentation code.
4798 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4800 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4802 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4803 predicate would return nil are almost non-existent.
4804 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4806 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4807 cache also after commands that modify the buffer but don't move
4810 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4812 * env.el (substitute-env-in-file-name): New function.
4813 (substitute-env-vars): Extend the meaning of the optional arg.
4815 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4817 * term/w32-win.el (dynamic-library-alist): Define separate lists
4818 of GIF DLLs for versions before and after 5.0.0 of giflib.
4821 2013-10-10 João Távora <joaotavora@gmail.com>
4823 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4824 not locked, use last revision and current source as
4825 defaults. (Bug#15569)
4827 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4829 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4832 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4834 * window.el (pop-to-buffer-same-window): Fix doc-string.
4837 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4839 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4841 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4843 * calendar/icalendar.el (icalendar-import-file):
4844 Fix interactive spec. (Bug#15482)
4846 2013-10-10 Glenn Morris <rgm@gnu.org>
4848 * desktop.el (desktop-save): Default to saving in .emacs.d,
4849 since PWD is no longer in desktop-path by default. (Bug#15319)
4851 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4852 now that text mode has a menu with the same entry.
4853 (menu-bar-text-mode-auto-fill): Remove now unused func.
4854 * textmodes/text-mode.el (text-mode-map):
4855 Use auto-fill help text from menu-bar.el.
4857 2013-10-10 John Anthony <john@jo.hnanthony.com>
4859 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4861 2013-10-09 Juri Linkov <juri@jurta.org>
4863 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4864 instead of this-command-keys. Add universal-argument-more and
4865 universal-argument-minus to the list of prefix commands. (Bug#15568)
4867 2013-10-09 Glenn Morris <rgm@gnu.org>
4869 * vc/vc-svn.el (vc-svn-create-repo):
4870 Expand paths in file://... url. (Bug#15446)
4872 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4874 (authors): Remove unused local variables.
4876 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4878 * profiler.el: Create a more coherent calltree from partial backtraces.
4879 (profiler-format): Hide the tail with `invisible' so that C-s can still
4880 find the hidden elements.
4881 (profiler-calltree-depth): Don't recurse so enthusiastically.
4882 (profiler-function-equal): New hash-table-test.
4883 (profiler-calltree-build-unified): New function.
4884 (profiler-calltree-build): Use it.
4885 (profiler-report-make-name-part): Indent the calltree less.
4886 (profiler-report-mode): Add visibility specs for profiler-format.
4887 (profiler-report-expand-entry, profiler-report-toggle-entry):
4888 Expand the whole subtree when provided with a prefix arg.
4890 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4892 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4894 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4895 hanging iuwu-mod token.
4896 (ruby-smie--forward-token): Do not include a dot after a token in
4898 (ruby-smie--backward-token): Likewise.
4900 2013-10-08 Juri Linkov <juri@jurta.org>
4902 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4903 to isearch-other-control-char.
4904 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4905 and isearch-post-command-hook to post-command-hook.
4906 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4907 and isearch-post-command-hook from post-command-hook.
4908 (isearch-unread-key-sequence)
4909 (isearch-reread-key-sequence-naturally)
4910 (isearch-lookup-scroll-key, isearch-other-control-char)
4911 (isearch-other-meta-char): Remove functions.
4912 (isearch-pre-command-hook, isearch-post-command-hook):
4913 New functions based on isearch-other-meta-char rewritten
4914 relying on the new behavior of overriding-terminal-local-map
4915 that does not replace the local keymaps any more. (Bug#15200)
4917 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4919 Support menus on text-mode terminals.
4920 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4923 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4925 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4926 Move here from mouse.el.
4927 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4929 (tty-menu-navigation-map): New map for TTY menu navigation.
4931 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4933 * frame.el (display-mouse-p): Report text-mode mouse as available
4935 (display-popup-menus-p): Report availability if mouse is
4936 available; don't condition on window-system.
4938 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4939 (tty-menu-selected-face): New faces.
4941 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4943 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4944 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4945 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4946 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4948 (lisp-mode-variables): New `elisp' argument.
4949 (emacs-lisp-mode): Use it.
4950 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4951 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4953 * indent.el: Use lexical-binding.
4954 (indent-region): Add progress reporter.
4955 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4957 (indent--next-tab-stop): New function to implement this behavior.
4958 (tab-to-tab-stop, move-to-tab-stop): Use it.
4960 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4962 * indent.el (indent-rigidly--current-indentation): New function.
4963 (indent-rigidly-map): New var.
4964 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4966 2013-10-08 Bastien Guerry <bzg@gnu.org>
4968 * register.el (insert-register): Fix 2013-10-07 change.
4970 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4972 * progmodes/perl-mode.el: Use lexical-binding.
4973 Remove redundant :group args.
4974 (perl-nochange): Change default to be closer to other major modes's
4976 (perl-indent-line): Don't consider text on current line as a
4977 valid beginning of function from which to indent.
4979 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4980 with more than one argument (bug#15538).
4982 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4984 * vc/pcvs.el: Use lexical-binding.
4985 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4986 environment of `eval'.
4987 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4988 than a list of expressions. Adjust callers.
4989 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4991 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4993 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4994 case of the dot in a chained method call being on the following line.
4996 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4998 * electric.el (electric-indent-inhibit): New var.
4999 (electric-indent-post-self-insert-function): Use it.
5000 * progmodes/python.el (python-mode): Set it.
5002 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5005 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5007 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5008 (css-mode): Use electric-indent-chars.
5010 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5011 (font-lock-beg, font-lock-end): Move before first use.
5012 (nxml-mode): Use syntax-propertize-function.
5013 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5014 (nxml-extend-after-change-region): Remove.
5015 * nxml/xmltok.el: Use lexical-binding.
5016 (xmltok-save): Use `declare'.
5017 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5018 * nxml/nxml-util.el: Use lexical-binding.
5019 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5021 * nxml/nxml-ns.el: Use lexical-binding.
5022 (nxml-ns-save): Use `declare'.
5023 (nxml-ns-prefixes-for): Avoid add-to-list.
5024 * nxml/rng-match.el: Use lexical-binding.
5025 (rng--ipattern): Use cl-defstruct.
5026 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5027 (rng-cons-group-after, rng-subst-group-after)
5028 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5029 Use closures instead of `(lambda...).
5031 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5033 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5036 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5037 Use `tramp-handle-insert-file-contents'.
5038 (tramp-gvfs-handle-insert-file-contents): Remove function.
5040 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5041 Use `save-restriction' in order to keep markers.
5043 * net/trampver.el: Update release number.
5045 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5047 * progmodes/compile.el (compilation-parse-errors):
5048 Use compilation--put-prop.
5049 (compilation--ensure-parse): Check compilation-multiline.
5051 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5053 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5056 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5058 * progmodes/ruby-mode.el: Fix recently added tests.
5059 (ruby-smie-grammar): Add - and +.
5060 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5061 (ruby-smie--backward-id): New functions.
5062 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5063 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5066 2013-10-07 Leo Liu <sdl.web@gmail.com>
5068 * register.el (register-preview-delay)
5069 (register-preview-functions): New variables.
5070 (register-read-with-preview, register-preview)
5071 (register-describe-oneline): New functions.
5072 (point-to-register, window-configuration-to-register)
5073 (frame-configuration-to-register, jump-to-register)
5074 (number-to-register, view-register, insert-register)
5075 (copy-to-register, append-to-register, prepend-to-register)
5076 (copy-rectangle-to-register): Use register-read-with-preview to
5077 read register. (Bug#15525)
5079 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5081 * net/network-stream.el (network-stream-open-starttls): Don't add
5082 --insecure if it's already present, because that gnutls-cli
5083 rejects getting that parameter twice.
5085 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5087 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5090 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5092 * newcomment.el (comment-use-global-state): Change default value
5093 to t, mark obsolete (Bug#15251).
5094 (comment-beginning): In addition to `comment-to-syntax', check the
5095 value of `comment-use-global-state'.
5097 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5099 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5100 (ruby-comment-column): Follow the global default, by default.
5101 (ruby-smie-grammar): Add assignment syntax.
5102 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5103 open-paren, a comma, or a \.
5104 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5105 and line continuations.
5106 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5107 followed by implicit semi-colons. Add rule for string concatenation
5108 and for indentation at BOB.
5109 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5111 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5112 calling next-sexp, since next-token may have skipped chars which
5113 next-sexp doesn't know should be skipped!
5115 2013-10-05 Leo Liu <sdl.web@gmail.com>
5117 * progmodes/octave.el (octave-send-region):
5118 Call compilation-forget-errors.
5120 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5122 * vc/vc-svn.el (vc-svn-find-admin-dir):
5123 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5124 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5125 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5126 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5128 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5130 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5132 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5134 * subr.el (read-passwd): Hide chars even when called within a context
5135 where after-change-functions is disabled (bug#15501).
5136 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5137 until we removed ourself from overriding-terminal-local-map.
5139 2013-10-04 Leo Liu <sdl.web@gmail.com>
5141 * progmodes/octave.el (inferior-octave-mode):
5142 Call compilation-forget-errors.
5144 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5146 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5148 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5150 * net/secrets.el (secrets-create-collection): Add optional
5151 argument ALIAS. Use proper Label keyword. Append ALIAS as
5152 dbus-call-method argument. (Bug#15516)
5154 2013-10-04 Leo Liu <sdl.web@gmail.com>
5156 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5157 (inferior-octave-compilation-font-lock-keywords): New variables.
5158 (compilation-error-regexp-alist)
5159 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5160 (inferior-octave-mode): Use compilation-shell-minor-mode.
5162 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5164 * minibuffer.el (completion--replace): Be careful that `end' might be
5167 2013-10-03 Daiki Ueno <ueno@gnu.org>
5169 Add support for package signature checking.
5170 * emacs-lisp/package.el (url-http-file-exists-p)
5171 (epg-make-context, epg-context-set-home-directory)
5172 (epg-verify-string, epg-context-result-for)
5173 (epg-signature-status, epg-signature-to-string)
5174 (epg-check-configuration, epg-configuration)
5175 (epg-import-keys-from-file): Declare.
5176 (package-check-signature): New user option.
5177 (package-unsigned-archives): New user option.
5178 (package-desc): Add `signed' field.
5179 (package-load-descriptor): Set `signed' field if .signed file exists.
5180 (package--archive-file-exists-p): New function.
5181 (package--check-signature): New function.
5182 (package-install-from-archive): Check package signature.
5183 (package--download-one-archive): Check archive signature.
5184 (package-delete): Remove .signed file.
5185 (package-import-keyring): New command.
5186 (package-refresh-contents): Import default keyring.
5187 (package-desc-status): Add "unsigned" status.
5188 (describe-package-1, package-menu--print-info)
5189 (package-menu-mark-delete, package-menu--find-upgrades)
5190 (package-menu--status-predicate): Support "unsigned" status.
5192 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5195 the new compilation scheme using the new byte-codes.
5197 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5198 (byte-pophandler): New byte codes.
5199 (byte-goto-ops): Adjust accordingly.
5200 (byte-compile--use-old-handlers): New var.
5201 (byte-compile-catch): Use new byte codes depending on
5202 byte-compile--use-old-handlers.
5203 (byte-compile-condition-case--old): Rename from
5204 byte-compile-condition-case.
5205 (byte-compile-condition-case--new): New function.
5206 (byte-compile-condition-case): New function that dispatches depending
5207 on byte-compile--use-old-handlers.
5208 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5211 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5212 Optimize under `condition-case' and `catch' if
5213 byte-compile--use-old-handlers is nil.
5214 (disassemble-offset): Handle new bytecodes.
5216 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5218 * subr.el (error): Use `declare'.
5219 (decode-char, encode-char): Use advertised-calling-convention instead
5220 of the docstring to discourage use of the `restriction' arg.
5222 2013-10-03 Daiki Ueno <ueno@gnu.org>
5224 * epg.el (epg-verify-file): Add a comment saying that it does not
5225 notify verification error as a return value nor a signal.
5226 (epg-verify-string): Ditto.
5228 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5230 * progmodes/compile.el (compilation-start): Try globbing the arg to
5233 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5235 Sync with Tramp 2.2.8.
5237 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5238 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5239 * net/trampver.el: Update release number.
5241 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5243 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5244 and default-process-coding-system for darwin only.
5246 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5248 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5250 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5252 * vc/vc-git.el (vc-git-grep): Disable pager.
5254 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5256 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5257 Use :url instead of :homepage, as per
5258 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5260 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5261 non-nil, use `syntax-ppss' (Bug#15251).
5263 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5265 * progmodes/octave.el (inferior-octave-startup-file):
5266 Prefer ~/.emacs.d/init_octave.m.
5268 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5270 * emacs-lisp/package.el (package-desc-from-define):
5271 Accept additional arguments as plist, convert them to an alist and store
5272 them in the `extras' slot.
5273 (package-generate-description-file): Convert extras alist back to
5274 plist and append to the `define-package' form arguments.
5275 (package--alist-to-plist): New function.
5276 (package--ac-desc): Add `extras' slot.
5277 (package--add-to-archive-contents): Check if the archive-contents
5278 vector is long enough, and if it is, pass its `extras' slot value
5279 to `package-desc-create'.
5280 (package-buffer-info): Call `lm-homepage', pass the returned value
5281 to `package-desc-from-define'.
5282 (describe-package-1): Render the homepage button (Bug#13291).
5284 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5285 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5287 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5289 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5290 and default-process-coding-system to utf-8-unix (Bug#15402).
5292 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5294 * subr.el (looking-back): Do not recommend using looking-back.
5296 2013-09-28 Alan Mackenzie <acm@muc.de>
5298 Fix indentation/fontification of Java enum with "implements".
5300 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5301 regexp which matches "implements", etc., in Java.
5302 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5303 specifier clauses coming after "enum".
5304 * progmodes/cc-fonts.el (c-font-lock-declarations)
5305 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5308 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5310 * faces.el (region): Change ns_selection_color to
5311 ns_selection_fg_color, add ns_selection_bg_color.
5313 2013-09-28 Leo Liu <sdl.web@gmail.com>
5315 * progmodes/octave.el (inferior-octave-completion-table)
5316 (inferior-octave-completion-at-point): Minor tweaks.
5318 * textmodes/ispell.el (ispell-lookup-words): Rename from
5319 lookup-words. (Bug#15460)
5320 (lookup-words): Obsolete.
5321 (ispell-complete-word, ispell-command-loop): All uses changed.
5323 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5325 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5326 (octave-mode-menu): Add octave-send-buffer.
5327 (octave-send-buffer): New function.
5329 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5331 * progmodes/octave.el (octave-mode-map): Add key binding for
5333 (octave-mode-menu): Add octave-lookfor.
5334 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5336 (octave-lookfor): New function.
5338 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5340 * emacs-lisp/cl-macs.el:
5341 (cl--loop-destr-temps): Remove.
5342 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5344 (cl--loop-set-iterator-function): New function.
5345 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5346 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5347 Bind `it' with `let' instead of substituting it with `cl-subst'.
5348 (cl--unused-var-p): New function.
5349 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5350 Eliminate some unused variable warnings (bug#15326).
5352 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5354 * doc-view.el (doc-view-scale-reset): Rename from
5355 `doc-view-reset-zoom-level'.
5356 (doc-view-scale-adjust): New command.
5357 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5358 `doc-view-scale-adjust'.
5360 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5362 * doc-view.el (doc-view-reset-zoom-level): New command.
5363 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5364 zoom commands (bug#15466).
5366 2013-09-26 Kenichi Handa <handa@gnu.org>
5368 * international/quail.el (quail-help): Make it not a command.
5370 2013-09-26 Leo Liu <sdl.web@gmail.com>
5372 * minibuffer.el (completion-all-sorted-completions): Make args
5373 optional as they are.
5375 2013-09-25 Daniel Colascione <dancol@dancol.org>
5377 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5378 specs are and that they're not evaluated.
5380 2013-09-24 Sam Steingold <sds@gnu.org>
5382 * midnight.el (clean-buffer-list-kill-regexps)
5383 (clean-buffer-list-kill-buffer-names): Update for the new Man
5384 buffer naming which includes the object name.
5386 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5388 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5389 (eshell-parse-command, eshell-parse-pipeline): Use it since
5390 eshell-separate-commands requires a dynamic scoped var.
5391 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5393 2013-09-23 Leo Liu <sdl.web@gmail.com>
5395 * autoinsert.el (auto-insert-alist): Make the value of
5396 lexical-binding match its file setting.
5398 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5400 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5402 * autoarg.el (autoarg-kp-digit-argument):
5403 * electric.el (Electric-command-loop):
5404 * kmacro.el (kmacro-step-edit-insert):
5405 Do not set universal-argument-num-events.
5407 2013-09-22 Leo Liu <sdl.web@gmail.com>
5409 * files.el (interpreter-mode-alist): Add octave.
5411 2013-09-21 Alan Mackenzie <acm@muc.de>
5413 C++: fontify identifier in declaration following "public:" correctly.
5414 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5415 to match "public", etc.
5416 (c-decl-prefix-re): Add ":" into the C++ value.
5417 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5418 bit. Add a check for a ":" preceded by "public", etc.
5420 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5422 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5423 recognized by GDB 7.5 and later.
5425 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5427 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5429 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5431 * subr.el (internal--call-interactively): New const.
5432 (called-interactively-p): Use it (bug#3984).
5434 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5436 * vc/pcvs.el (cvs-mode-ignore):
5437 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5438 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5440 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5443 (eshell-ls-orig-insert-directory): Remove.
5444 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5445 (eshell-ls-use-in-dired): Use advice-add/remove.
5446 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5447 Add `orig-fun' arg for use in :around advice.
5448 Make it check (redundantly) eshell-ls-use-in-dired.
5450 2013-09-19 Glenn Morris <rgm@gnu.org>
5452 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5454 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5456 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5458 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5460 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5461 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5462 (tramp-get-remote-python): New defuns.
5463 (tramp-get-remote-uid-with-perl)
5464 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5465 contributed by yary <not.com@gmail.com> (tiny change).
5466 (tramp-get-remote-uid-with-python)
5467 (tramp-get-remote-gid-with-python): New defuns. Python code
5468 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5469 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5471 2013-09-19 Glenn Morris <rgm@gnu.org>
5473 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5475 * eshell/em-unix.el (eshell-remove-entries):
5476 Rename argument to avoid name-clash with global `top-level'.
5478 * eshell/esh-proc.el (eshell-kill-process-function):
5479 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5480 (eshell-reset-after-proc): Remove unused arg `proc'.
5482 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5483 (directory-files-and-attributes): Mark unused arg.
5485 * eshell/em-unix.el (eshell-remove-entries):
5486 Remove unused arg `path'. Update callers.
5488 * eshell/em-hist.el (eshell-hist-parse-arguments):
5489 Remove unused arg `silent'. Update callers.
5491 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5492 Fix (f)boundp mix-up.
5494 * eshell/em-smart.el (eshell-smart-scroll-window)
5495 (eshell-disable-after-change):
5496 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5498 2013-09-18 Alan Mackenzie <acm@muc.de>
5500 Fix fontification of type when followed by "const".
5501 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5502 "known" types from fontification.
5504 2013-09-18 Glenn Morris <rgm@gnu.org>
5506 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5507 (chart-face-list): Drop Emacsen without display-color-p.
5509 * net/eww.el (libxml-parse-html-region): Declare.
5510 (eww-display-html): Explicit error if no libxml2 support.
5512 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5514 * image.el (image-type-from-buffer, image-multi-frame-p):
5515 Remove --without-x warning/error.
5517 * mouse.el (mouse-yank-primary):
5518 * term.el (term-mouse-paste):
5519 Reorder to silence --without-x compilation.
5521 * mpc.el (doc-view-mode): Silence --without-x compilation.
5523 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5524 Silence --without-x compilation.
5526 * progmodes/gud.el (gud-find-file, gud-mode):
5527 Silence --without-x compilation.
5528 (tooltip-mode): Declare.
5530 * wdired.el (dired-backup-overwrite): Remove declaration.
5531 (wdired-mode-map): Add doc string.
5533 * custom.el (x-get-resource): Declare.
5535 * eshell/em-glob.el (ange-cache):
5536 * eshell/em-unix.el (ange-cache): Declare.
5538 * faces.el (x-display-list, x-open-connection, x-get-resource):
5541 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5542 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5545 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5547 * net/gnutls.el (gnutls-log-level): Declare.
5549 * net/shr.el (image-size, image-animate): Declare.
5551 * simple.el (font-info): Declare.
5553 * subr.el (x-popup-dialog): Declare.
5555 * term/common-win.el (x-select-enable-primary)
5556 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5559 * term/ns-win.el (x-handle-args): Declare.
5561 * term/x-win.el (x-select-enable-clipboard): Declare.
5563 * term/w32-win.el (create-default-fontset): Declare.
5565 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5568 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5569 (fit-frame-to-buffer): Explicit error if --without-x.
5570 (mouse-autoselect-window-select): Silence compiler.
5572 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5574 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5575 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5576 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5577 * eshell/esh-util.el (eshell-sublist):
5578 Remove unused local variables.
5580 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5582 * textmodes/two-column.el: Make 2C-split work for --without-x.
5583 (scroll-bar-columns): Autoload.
5584 (top-level): Require fringe when compiling.
5586 2013-09-18 Leo Liu <sdl.web@gmail.com>
5588 * subr.el (add-hook): Robustify to handle closure as well.
5590 2013-09-17 Glenn Morris <rgm@gnu.org>
5592 * simple.el (messages-buffer-mode-map): Unbind "g".
5594 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5596 * help-mode.el (help-mode-finish): Use derived-mode-p.
5597 Remove obsolete highlighting.
5599 * play/life.el (life-mode): Use define-derived-mode. Derive from
5601 (life): Let-bind inhibit-read-only.
5602 (life-setup): Avoid `setq'. Use `life-mode'.
5604 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5605 which should not be needed any more.
5606 (package-menu-refresh, package-menu-describe-package): Use user-error.
5608 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5609 (eshell-post-rewrite-command-hook): Make obsolete.
5610 (eshell-parse-command): Simplify.
5611 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5612 (eshell--cmd): Declare.
5613 (eshell-parse-pipeline): Remove unused var `final-p'.
5614 Pass a dynvar to eshell-post-rewrite-command-hook.
5615 Implement the new eshell-post-rewrite-command-function.
5616 (eshell-invoke-directly): Remove unused arg `input'.
5617 * eshell/esh-io.el (eshell-io-initialize):
5618 Use eshell-post-rewrite-command-function (bug#15399).
5619 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5620 adjust to new calling convention.
5621 (eshell-create-handles): Rename args to avoid clashing with dynvar
5624 2013-09-17 Glenn Morris <rgm@gnu.org>
5626 * simple.el (messages-buffer-mode): New major mode.
5627 (messages-buffer): New function.
5628 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5629 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5630 (ert-run-test): Use `messages-buffer' function.
5631 (ert--force-message-log-buffer-truncation): Ignore read-only.
5632 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5633 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5635 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5637 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5639 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5641 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5643 * icomplete.el (icomplete-in-buffer): New var.
5644 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5645 vars and replace them with functions.
5646 (icomplete-minibuffer-setup): Adjust accordingly.
5647 (icomplete--completion-table, icomplete--completion-predicate)
5648 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5650 (icomplete-forward-completions, icomplete-backward-completions)
5651 (icomplete-simple-completing-p, icomplete-exhibit)
5652 (icomplete-completions): Use them.
5653 (icomplete--in-region-buffer): New var.
5654 (icomplete--in-region-setup): New function.
5655 (icomplete-mode): Use it.
5657 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5659 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5660 return args and options.
5661 (eshell-eval-using-options): Use the new return value of
5662 eshell--do-opts to set the options's vars in their scope.
5663 (eshell--set-option): Rename from eshell-set-option.
5665 (eshell--process-option): Rename from eshell-process-option.
5667 (eshell--process-args): Use an `opt-vals' alist to store the options's
5668 values during their processing and return them additionally to the
5671 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5673 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5674 continuation character an operator, as far as indentation is
5675 concerned (Bug#15369).
5677 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5679 * window.el (window--state-put-2): Don't process buffer state
5680 when buffer doesn't exist any more (Bug#15382).
5682 2013-09-15 Glenn Morris <rgm@gnu.org>
5684 * eshell/em-unix.el (eshell/rm):
5685 Make -f ignore missing files. (Bug#15373)
5687 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5688 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5689 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5691 2013-09-14 Glenn Morris <rgm@gnu.org>
5693 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5695 2013-09-13 Glenn Morris <rgm@gnu.org>
5697 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5698 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5700 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5702 * frame.el (x-focus-frame): Mark as declared in frame.c.
5704 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5706 * ls-lisp.el: Use advice-add.
5707 (original-insert-directory): Remove.
5708 (ls-lisp--insert-directory): Rename from insert-directory; add
5709 `orig-fun' argument.
5710 (insert-directory): Advise.
5712 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5714 * term.el (term-emulate-terminal): Decode the command string
5715 before passing it to term-command-hook. (Bug#15337)
5717 2013-09-13 Glenn Morris <rgm@gnu.org>
5719 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5721 * eshell/esh-ext.el (eshell-search-path): Declare.
5723 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5724 Otherwise an error occurs if eshell-dirs module not loaded.
5726 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5728 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5730 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5731 `tramp-check-proper-host'. Check for a valid method name.
5733 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5734 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5735 * net/tramp-sh.el (tramp-maybe-open-connection):
5736 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5738 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5739 also for hash values.
5741 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5743 * term/ns-win.el (parameters): Don't declare as dynamic.
5744 (before-make-frame-hook): Don't add ineffective function.
5746 * eshell/*.el: Use lexical-binding (bug#15231).
5748 2013-09-12 Kenichi Handa <handa@gnu.org>
5750 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5752 2013-09-12 Glenn Morris <rgm@gnu.org>
5754 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5755 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5757 * subr.el (do-after-load-evaluation): Also give compiler warnings
5758 when obsolete files are used (except by obsolete files).
5760 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5761 in the status output, assume `filename' is the first. (Bug#15322)
5763 * vc/vc.el (vc-deduce-fileset): Doc fix.
5765 * calc/calc-help.el (Info-goto-node):
5766 * progmodes/cperl-mode.el (Info-find-node):
5767 * vc/ediff.el (Info-goto-node): Update declarations.
5769 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5771 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5772 (vc-bzr-pull): Require vc-dispatcher.
5773 * vc/vc-git.el (vc-compilation-mode): Declare.
5774 (vc-git-pull): Require vc-dispatcher.
5776 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5778 * progmodes/octave.el (help-button-action): Declare.
5780 * shell.el (shell-directory-tracker): Output error as a message
5781 rather than just returning it as a string.
5782 (shell-process-pushd): Remove useless use of message.
5784 * dframe.el (dframe-timer-fn):
5785 * files.el (dir-locals-read-from-file):
5786 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5788 * reveal.el (reveal-post-command):
5789 * saveplace.el (load-save-place-alist-from-file):
5790 * shell.el (shell-resync-dirs):
5791 * w32-common-fns.el (x-get-selection-value):
5792 * emacs-lisp/copyright.el (copyright-find-copyright):
5793 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5794 * emulation/tpu-edt.el (tpu-copy-keyfile):
5795 * play/bubbles.el (bubbles--mark-neighbourhood):
5796 * progmodes/executable.el
5797 (executable-make-buffer-file-executable-if-script-p):
5798 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5800 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5802 Cleanup Eshell to rely less on dynamic scoping.
5803 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5804 last-value, and ext-command here. Bind `args' closer to `body'.
5805 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5806 (eshell--args): Declare new dynamic var.
5807 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5808 last-value, and ext-command. Pass `args' to `body'.
5809 (eshell-process-args): Bind eshell--args.
5810 (eshell-set-option): Use eshell--args.
5811 * eshell/eshell.el (eshell): Use derived-mode-p.
5812 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5813 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5814 (eshell-glob-function): Declare.
5815 * eshell/esh-util.el: Require cl-lib.
5816 (eshell-read-hosts-file): Avoid add-to-list.
5817 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5819 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5821 (eshell/diff): Remove unused var `err'.
5822 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5824 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5825 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5827 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5828 Move declaration before first use.
5829 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5830 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5833 2013-09-12 Glenn Morris <rgm@gnu.org>
5835 * term/ns-win.el (global-map): Remove binding for ispell-next,
5836 deleted 1999-05-29. (Bug#15357)
5838 2013-09-11 Glenn Morris <rgm@gnu.org>
5840 * echistory.el (electric-command-history): Remove call to deleted func.
5842 * play/landmark.el (landmark-mode): Fix typos.
5844 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5845 Check cvs-sort-ignore-file is bound.
5847 * savehist.el: No need for cl when compiling on Emacs.
5849 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5851 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5853 (eshell-self-insert-command, eshell-send-invisible):
5854 Remove unused argument.
5855 (eshell-handle-control-codes): Remove unused var `orig'.
5856 Avoid delete-backward-char.
5858 * files.el (set-auto-mode): Simplify a bit further.
5860 2013-09-11 Glenn Morris <rgm@gnu.org>
5862 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5863 (set-auto-mode): Don't regexp-quote elements.
5864 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5865 * progmodes/cc-mode.el (interpreter-mode-alist):
5866 * progmodes/ruby-mode.el (interpreter-mode-alist):
5867 Revert previous change.
5869 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5871 * play/snake.el (snake-mode):
5872 * play/mpuz.el (mpuz-mode):
5873 * play/landmark.el (lm-mode):
5874 * play/blackbox.el (blackbox-mode):
5875 * play/5x5.el (5x5-mode):
5876 * obsolete/options.el (Edit-options-mode):
5877 * net/quickurl.el (quickurl-list-mode):
5878 * net/newst-treeview.el (newsticker-treeview-mode):
5879 * mail/rmailsum.el (rmail-summary-mode):
5880 * mail/mspools.el (mspools-mode):
5881 * locate.el (locate-mode):
5882 * ibuffer.el (ibuffer-mode):
5883 * emulation/ws-mode.el (wordstar-mode):
5884 * emacs-lisp/debug.el (debugger-mode):
5885 * array.el (array-mode):
5886 * net/eudc.el (eudc-mode): Use define-derived-mode.
5887 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5888 Move initialization into declaration.
5889 (mairix-searches-mode): Use define-derived-mode.
5890 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5891 (eudc-edit-hotlist): Use dolist.
5892 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5893 (Man-mode): Use define-derived-mode.
5894 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5895 (Info-edit-mode): Use define-derived-mode.
5896 (Info-cease-edit): Use Info-mode.
5897 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5899 (eshell-mode): Use define-derived-mode.
5900 * chistory.el (command-history-mode-map): Rename from
5901 command-history-map.
5902 (command-history-mode): Use define-derived-mode.
5903 (Command-history-setup): Remove function.
5904 * calc/calc.el (calc-trail-mode-map): New var.
5905 (calc-trail-mode): Use define-derived-mode.
5906 (calc-trail-buffer): Set calc-main-buffer manually.
5907 * bookmark.el (bookmark-insert-annotation): New function.
5908 (bookmark-edit-annotation): Use it.
5909 (bookmark-edit-annotation-mode): Make it a proper major mode.
5910 (bookmark-send-edited-annotation): Use derived-mode-p.
5911 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5912 closer to its ideal place. Use \' to match EOS.
5914 * profiler.el (profiler-calltree-find): Use function-equal.
5916 2013-09-10 Glenn Morris <rgm@gnu.org>
5918 * files.el (interpreter-mode-alist): Convert to regexps.
5919 (set-auto-mode): Adapt for this. (Bug#15306)
5920 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5921 Comment out unused variable.
5922 * progmodes/cc-mode.el (interpreter-mode-alist):
5923 * progmodes/python.el (interpreter-mode-alist):
5924 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5925 * progmodes/sh-script.el (sh-set-shell):
5926 No longer use interpreter-mode-alist to get list of shells.
5928 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5930 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5932 * simple.el: Use set-temporary-overlay-map for universal-argument.
5933 (universal-argument-map): Don't use default-bindings (bug#15317).
5934 Bind switch-frame explicitly. Replace universal-argument-minus with
5935 a conditional binding.
5936 (universal-argument-num-events, saved-overriding-map): Remove.
5937 (restore-overriding-map): Remove.
5938 (universal-argument--mode): Rename from save&set-overriding-map,
5940 (universal-argument, universal-argument-more, negative-argument)
5941 (digit-argument): Adjust accordingly.
5942 (universal-argument-minus): Remove.
5943 (universal-argument-other-key): Remove.
5945 * subr.el (with-demoted-errors): Add `format' argument.
5947 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5949 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5950 `tramp-cleanup-connection'.
5952 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5953 parameters KEEP-DEBUG and KEEP-PASSWORD.
5955 * net/tramp.el (tramp-file-name-handler):
5956 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5957 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5958 (tramp-maybe-open-connection):
5959 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5960 Use `tramp-cleanup-connection'.
5962 * net/tramp-sh.el (tramp-maybe-open-connection):
5963 Catch 'uname-changed inside the progress reporter.
5965 2013-09-10 Glenn Morris <rgm@gnu.org>
5967 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5969 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5970 returns "alternate access method" in mode (eg "-rw-r--r--.").
5972 2013-09-08 Glenn Morris <rgm@gnu.org>
5974 * saveplace.el (load-save-place-alist-from-file):
5975 Demote errors. (Bug#15305)
5977 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5979 Improve compatibility with older Emacsen, and XEmacs.
5981 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5982 only if it is bound. It isn't for XEmacs.
5983 (with-tramp-progress-reporter): Do not let-bind `result'.
5984 This yields to scoping errors in XEmacs.
5985 (tramp-handle-make-auto-save-file-name): New function, moved from
5988 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5989 for `make-auto-save-file-name'.
5990 (tramp-adb--gnu-switches-to-ash):
5991 Use `tramp-compat-replace-regexp-in-string'.
5993 * net/tramp-cache.el (tramp-cache-print): Call
5994 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5996 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5997 bound. It isn't for XEmacs.
5999 * net/tramp-compat.el (tramp-compat-copy-file):
6000 Catch `wrong-number-of-arguments' error.
6001 (tramp-compat-replace-regexp-in-string): New defun.
6003 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6004 for `make-auto-save-file-name'.
6005 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6007 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6008 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6009 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6011 * net/tramp-gw.el (tramp-gw-open-network-stream):
6012 Use `tramp-compat-replace-regexp-in-string'.
6014 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6015 Call `tramp-handle-make-auto-save-file-name'.
6016 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6017 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6018 (tramp-sh-file-inotifywait-process-filter):
6019 Use `tramp-compat-replace-regexp-in-string'.
6020 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6022 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6023 for `make-auto-save-file-name'.
6024 (tramp-smb-handle-copy-directory):
6025 Call `tramp-compat-replace-regexp-in-string'.
6026 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6027 (tramp-smb-handle-copy-file): Improve error message.
6028 (tramp-smb-handle-rename-file): Rename directly only in case
6029 `newname' does not exist yet. This is a restriction of smbclient.
6030 (tramp-smb-maybe-open-connection): Rerun the function only when
6031 `auth-sources' is non-nil.
6033 2013-09-08 Kenichi Handa <handa@gnu.org>
6035 * international/characters.el: Set category "^" (Combining) for
6038 2013-09-07 Alan Mackenzie <acm@muc.de>
6040 Correctly fontify Java class constructors.
6041 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6043 (c-recognize-typeless-decls): Set the Java value to t.
6044 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6045 While handling a "(", add a check for, effectively, Java, and handle a
6046 "typeless" declaration there.
6048 2013-09-07 Roland Winkler <winkler@gnu.org>
6050 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6051 field subtitle for entry type book.
6053 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6055 * minibuffer.el: Make minibuffer-complete call completion-in-region
6056 rather than other way around.
6057 (completion--some, completion-pcm--find-all-completions):
6058 Don't delay signals when debugging.
6059 (minibuffer-completion-contents): Beware fields within the
6060 minibuffer contents.
6061 (completion-all-sorted-completions): Use defvar-local.
6062 (completion--do-completion, completion--cache-all-sorted-completions)
6063 (completion-all-sorted-completions, minibuffer-force-complete):
6064 Add args `beg' and `end'.
6065 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6066 (minibuffer-complete): Use completion-in-region.
6067 (completion-complete-and-exit): New fun, extracted from
6068 minibuffer-complete-and-exit.
6069 (minibuffer-complete-and-exit): Use it.
6070 (completion--complete-and-exit): Rename from
6071 minibuffer--complete-and-exit.
6072 (completion-in-region--single-word): New function, extracted from
6073 minibuffer-complete-word.
6074 (minibuffer-complete-word): Use it.
6075 (display-completion-list): Make `common-substring' argument obsolete.
6076 (completion--in-region): Call completion--in-region-1 instead of
6077 minibuffer-complete.
6078 (completion-help-at-point): Pass boundaries to
6079 minibuffer-completion-help as args rather than via an overlay.
6080 (completion-pcm--string->pattern): Use `any-delim'.
6081 (completion-pcm--optimize-pattern): New function.
6082 (completion-pcm--pattern->regex): Handle `any-delim'.
6083 * icomplete.el (icomplete-forward-completions)
6084 (icomplete-backward-completions, icomplete-completions):
6085 Adjust calls to completion-all-sorted-completions and
6086 completion--cache-all-sorted-completions.
6087 (icomplete-with-completion-tables): Default to t.
6088 * emacs-lisp/crm.el (crm--current-element): Rename from
6089 crm--select-current-element. Don't put an overlay but return the
6091 (crm--completion-command): Take two new args to bind to the boundaries.
6092 (crm-completion-help): Adjust accordingly.
6093 (crm-complete): Use completion-in-region.
6094 (crm-complete-word): Use completion-in-region--single-word.
6095 (crm-complete-and-exit): Use completion-complete-and-exit.
6097 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6099 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6102 2013-09-06 Juri Linkov <juri@jurta.org>
6104 * info.el (Info-display-images-node): When image file doesn't exist
6105 display text version of the image if it's provided in the Info file.
6106 Otherwise, display the location of missing image from SRC attribute.
6107 Add help-echo text property from ALT attribute. (Bug#15279)
6109 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6111 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6112 (edit-abbrevs-mode): Use define-derived-mode.
6114 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6115 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6117 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6118 Use define-derived-mode.
6120 * epg.el (epg-start-encrypt): Minor CSE simplification.
6122 2013-09-06 William Xu <william.xwl@gmail.com>
6124 * arc-mode.el: Add support for 7za (bug#15264).
6125 (archive-7z-program): New var.
6126 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6127 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6128 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6130 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6134 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6135 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6136 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6137 (tramp-postfix-host-format, tramp-file-name-regexp)
6138 (tramp-completion-file-name-regexp)
6139 (tramp-completion-dissect-file-name)
6140 (tramp-handle-substitute-in-file-name): Remove 'url case.
6141 (tramp-file-name-regexp-url)
6142 (tramp-completion-file-name-regexp-url): Remove constants.
6144 2013-09-06 Glenn Morris <rgm@gnu.org>
6146 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6148 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6150 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6151 keywords" below "here-doc beginnings" (Bug#15270).
6153 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6155 * subr.el (pop): Use `car-safe'.
6156 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6157 to detect unused `pop' return value.
6159 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6161 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6162 (python-fill-string): Remove unused var `marker'.
6163 (python-skeleton-add-menu-items): Remove unused var `items'.
6165 * international/mule-cmds.el: Require CL.
6166 (find-coding-systems-for-charsets): Avoid add-to-list.
6167 (sanitize-coding-system-list): New function, extracted from
6168 select-safe-coding-system-interactively.
6169 (select-safe-coding-system-interactively): Use it.
6170 (read-input-method-name): Accept symbols for `default'.
6172 * emacs-lisp/advice.el (defadvice): Add indent rule.
6174 2013-09-05 Daniel Hackney <dan@haxney.org>
6178 * net/browse-url.el:
6181 * net/eudcb-ldap.el:
6194 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6195 byte compiler. Remove some unused let-bound variables.
6197 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6200 a "ref-cell", since it gets better optimized (bug#14883).
6202 2013-09-05 Glenn Morris <rgm@gnu.org>
6204 * progmodes/cc-awk.el (c-forward-sws): Declare.
6206 2013-09-04 Glenn Morris <rgm@gnu.org>
6208 * generic-x.el [rul-generic-mode]: Require cc-mode.
6209 (c++-mode-syntax-table): Declare.
6210 (rul-generic-mode-syntax-table): Init in the defvar.
6212 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6214 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6215 (vc-do-command, vc-set-async-update):
6216 * vc/vc-mtn.el (vc-mtn-dir-status):
6217 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6218 (vc-hg-pull, vc-hg-merge-branch):
6219 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6220 (vc-git-merge-branch):
6221 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6222 (vc-cvs-dir-status-files):
6223 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6224 (vc-bzr-dir-status-files):
6225 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6226 * vc/vc-annotate.el: Use lexical-binding.
6227 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6228 (vc-sentinel-movepoint): Declare.
6229 (vc-annotate): Don't use `goto-line'.
6230 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6231 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6232 (vc-sentinel-movepoint): Declare.
6233 * vc/vc-svn.el: Use lexical-binding.
6234 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6236 * vc/vc-rcs.el: Use lexical-binding.
6238 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6239 `deleted'. Don't drop errors silently.
6241 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6243 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6245 * vc/vc.el (vc-ignore): Rewrite.
6246 (vc-default-ignore): New function.
6247 (vc-default-ignore-completion-table): Use find-ignore-file.
6249 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6250 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6251 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6252 Remove. Most code moved to vc.el.
6254 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6257 * net/tramp-smb.el (tramp-smb-get-file-entries):
6258 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6259 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6261 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6263 (eww-change-select): Remove unused var `properties'.
6264 (eww-make-unique-file-name): Remove unused var `base'.
6266 * finder.el (finder-compile-keywords): Don't mess with windows.
6268 * calculator.el (calculator-funcall): Fix typo in last change.
6270 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6272 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6273 <pkg>-autoloads.el file stop us.
6275 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6276 warnings, and factor out common code.
6278 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6280 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6281 two-character operators and whether the character preceding them
6282 changes their meaning (Bug#15208).
6284 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6286 Format code sent to Python shell for robustness.
6287 * progmodes/python.el (python-shell-buffer-substring):
6289 (python-shell-send-region, python-shell-send-buffer): Use it.
6291 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6293 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6294 * net/tramp.el (tramp-user-error): ... here.
6295 (tramp-find-method, tramp-check-proper-host)
6296 (tramp-dissect-file-name, tramp-debug-message)
6297 (tramp-handle-shell-command):
6298 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6299 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6301 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6303 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6305 * avoid.el (mouse-avoidance-point-position)
6306 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6309 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6311 * progmodes/python.el (python-shell-completion-get-completions):
6312 Drop use of deleted `comint-last-prompt-overlay'.
6313 (python-nav-if-name-main): New command.
6315 2013-09-01 Glenn Morris <rgm@gnu.org>
6317 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6318 Avoid leading space in $wins. Otherwise the sed command used by
6319 eg compile-main ends up containing "/*.el". (Bug#15170)
6321 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6323 2013-08-30 Glenn Morris <rgm@gnu.org>
6325 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6326 Fix is-this-a-directory logic. (Bug#15220)
6328 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6330 * textmodes/css-mode.el: Use SMIE.
6331 (css-smie-grammar): New var.
6332 (css-smie--forward-token, css-smie--backward-token)
6333 (css-smie-rules): New functions.
6334 (css-mode): Use them.
6335 (css-navigation-syntax-table): Remove var.
6336 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6337 (css-indent-calculate, css-indent-line): Remove functions.
6339 Misc changes to reduce use of `(lambda...); and other cleanups.
6340 * cus-edit.el: Use lexical-binding.
6341 (customize-push-and-save, customize-apropos)
6342 (custom-buffer-create-internal): Use closures.
6343 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6344 * progmodes/ada-xref.el: Use setq.
6345 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6346 * dframe.el: Use lexical-binding.
6347 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6348 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6349 * descr-text.el: Use lexical-binding.
6350 (describe-text-widget, describe-text-sexp, describe-property-list):
6352 * comint.el (comint-history-isearch-push-state): Use a closure.
6353 * calculator.el: Use lexical-binding.
6354 (calculator-number-to-string): Make it work with lexical-binding.
6355 (calculator-funcall): Same and use cl-letf.
6357 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6358 (lisp--company-doc-string, lisp--company-location): New functions.
6359 (lisp-completion-at-point): Use them to improve Company support.
6361 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6362 params of lambda expressions.
6363 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6364 (ruby-smie--opening-pipe-p): New function.
6365 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6366 symbols and matched |...| for formal params.
6367 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6368 from being treated as hanging. Handle "rescue".
6370 2013-08-29 Glenn Morris <rgm@gnu.org>
6372 * progmodes/cc-engine.el (c-pull-open-brace):
6373 Move definition before use.
6375 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6377 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6378 are immutable. Don't use `unsafe' any more.
6379 (cl--defsubst-expand): Don't substitute at the same time as keeping
6380 a residual unused let-binding. Don't use `unsafe' any more.
6382 2013-08-29 Glenn Morris <rgm@gnu.org>
6384 * calendar/cal-china.el (calendar-chinese-year-cache):
6387 * nxml/nxml-util.el (nxml-debug-clear-inside):
6388 Use cl-loop rather than loop.
6390 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6392 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6394 2013-08-28 Glenn Morris <rgm@gnu.org>
6396 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6398 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6400 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6402 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6404 * simple.el (repeat-complex-command--called-interactively-skip):
6406 (repeat-complex-command): Use it (bug#14136).
6408 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6409 (c-define-abbrev-table): Add `doc' argument.
6410 (c-mode-abbrev-table, c++-mode-abbrev-table)
6411 (objc-mode-abbrev-table, java-mode-abbrev-table)
6412 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6413 (awk-mode-abbrev-table): Use it.
6414 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6415 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6416 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6417 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6418 Move initialization into the declaration; and remove any
6421 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6422 and dynamic let binding.
6424 * vc/smerge-mode.el: Remove redundant :group args.
6426 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6429 2013-08-28 Juri Linkov <juri@jurta.org>
6431 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6432 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6433 (isearch-other-meta-char): Handle an undefined shifted printing
6434 character by downshifting it. (Bug#15200)
6436 2013-08-28 Juri Linkov <juri@jurta.org>
6438 * isearch.el (isearch-search): Change regexp error message for
6439 non-regexp searches. (Bug#15166)
6441 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6443 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6444 for portability to hosts where /bin/sh has problems.
6446 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6448 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6450 2013-08-27 Juri Linkov <juri@jurta.org>
6452 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6453 in the keyboard macro. (Bug#15126)
6455 2013-08-27 Juri Linkov <juri@jurta.org>
6457 * isearch.el (isearch-quote-char): Comment out converting unibyte
6458 to multibyte, thus syncing with its `quoted-insert' counterpart.
6461 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6463 * window.el (display-buffer-use-some-window): Add missing
6464 argument in call of get-largest-window (Bug#15185).
6465 Reported by Stephen Leake.
6467 2013-08-27 Glenn Morris <rgm@gnu.org>
6469 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6471 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6473 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6474 from a matcher-function unless there's no more matches (bug#15161).
6476 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6478 * minibuffer.el: Revert change from 2013-08-20.
6480 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6481 with text property `tramp-default', if appropriate.
6482 (tramp-check-proper-host): New defun.
6483 (tramp-dissect-file-name): Do not check hostname. Revert change
6485 (tramp-backtrace): Make VEC-OR-PROC optional.
6487 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6488 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6489 * net/tramp-sh.el (tramp-maybe-open-connection):
6490 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6491 Apply `tramp-check-proper-host'.
6493 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6495 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6496 lambda expression in order to have `describe-variable' display it.
6498 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6500 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6501 BUF can be optional. (Bug#15186)
6503 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6505 * progmodes/flymake.el (flymake-get-real-file-name-function):
6506 Fix broken customization. (Bug#15184)
6508 2013-08-25 Alan Mackenzie <acm@muc.de>
6510 Improve indentation of bracelists defined by macros (without "=").
6512 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6513 expansion begins with "{", regard it as bracelist when it doesn't
6516 Parse C++ inher-intro when there's a template split over 2 lines.
6518 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6519 rigorously the search for "class" etc. followed by ":".
6521 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6522 random languages a regexp which never matches rather than nil.
6524 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6526 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6527 (c-awk-regexp-one-line-possibly-open-char-list-re)
6528 (c-awk-one-line-possibly-open-regexp-re)
6529 (c-awk-one-line-non-syn-ws*-re): Remove.
6530 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6531 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6532 (c-awk-space*-unclosed-regexp-/-re): New constants.
6533 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6534 aren't regexp delimiters.
6536 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6537 handling for a rare situation in AWK Mode involving unterminated
6540 2013-08-23 Glenn Morris <rgm@gnu.org>
6542 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6544 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6546 * files.el (create-file-buffer): If the result would begin with
6547 spaces, prepend a "|" instead of removing them. (Bug#15162)
6549 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6551 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6552 text-properties (bug#15155).
6554 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6556 (calc-keypad-redraw): Remove unused var `pad'.
6557 (calc-keypad-press): Remove unused var `menu'.
6559 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6561 * window.el (display-buffer-pop-up-frame):
6562 Call pop-up-frame-function with BUFFER current so `make-frame' will
6563 use it as the new frame's buffer (Bug#15133).
6565 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * calendar/timeclock.el: Minor cleanups.
6568 (timeclock-ask-before-exiting, timeclock-use-display-time):
6570 (timeclock-modeline-display): Define as alias before the
6572 (timeclock-mode-line-display): Use define-minor-mode.
6573 (timeclock-day-list-template): Make it a function, add an argument.
6574 (timeclock-day-list-required, timeclock-day-list-length)
6575 (timeclock-day-list-debt, timeclock-day-list-span)
6576 (timeclock-day-list-break): Adjust calls accordingly.
6578 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6580 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6581 Use read--expression so that completion works again.
6583 2013-08-21 Sam Steingold <sds@gnu.org>
6585 Add rudimentary inferior shell interaction
6586 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6587 (sh-set-shell): Reset it.
6588 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6589 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6591 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6593 * align.el: Use lexical-binding.
6594 (align-region): Simplify accordingly.
6596 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6598 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6600 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6603 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6607 * net/tramp-cmds.el:
6609 * net/tramp-gvfs.el:
6611 * net/tramp-sh.el: Don't wrap external variable declarations by
6612 `eval-when-compile'.
6614 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6616 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6617 now that Emacs supports ImageMagick animations.
6619 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6621 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6622 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6624 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6626 * window.el (mouse-autoselect-window-select): Do autoselect when
6627 mouse pointer is on margin.
6629 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6631 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6633 2013-08-16 Glenn Morris <rgm@gnu.org>
6635 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6636 Handle "Remote Directory" response of some clients. (Bug#15058)
6638 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6639 Tweak warning. (Bug#14926)
6641 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6642 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6644 * image-mode.el (image-mode-map): Add menu items to reverse,
6645 increase, decrease, reset animation speed.
6646 (image--set-speed, image-increase-speed, image-decrease-speed)
6647 (image-reverse-speed, image-reset-speed): New functions.
6648 (image-mode-map): Add bindings for speed commands.
6650 * image.el (image-animate-get-speed, image-animate-set-speed):
6652 (image-animate-timeout): Respect image :speed property.
6654 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6656 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6657 previous line (bug#15101).
6658 (debugger-eval-expression, debugger-record-expression):
6659 Use read--expression (bug#15102).
6661 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6663 Remove byte compiler warnings, visible when compiling with
6664 `byte-compile-force-lexical-warnings' set to t.
6666 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6667 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6668 (tramp-handle-unhandled-file-name-directory)
6669 (tramp-handle-file-notify-add-watch, tramp-action-login)
6670 (tramp-action-succeed, tramp-action-permission-denied)
6671 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6674 * net/tramp-adb.el (tramp-adb-parse-device-names)
6675 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6676 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6677 (tramp-adb-handle-file-truename): Remove unused arguments.
6679 * net/tramp-cache.el (tramp-flush-directory-property)
6680 (tramp-flush-connection-property, tramp-list-connections)
6681 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6683 * net/tramp-compat.el (tramp-compat-make-temp-file):
6684 Rename FILENAME to F.
6686 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6687 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6688 (tramp-zeroconf-parse-workstation-device-names)
6689 (tramp-zeroconf-parse-webdav-device-names)
6690 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6692 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6693 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6695 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6697 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6698 (tramp-sh-handle-insert-file-contents-literally)
6699 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6701 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6702 Remove unused variables.
6704 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6705 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6706 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6708 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6709 Make them a defconst.
6710 (tramp-uuencode-region): Remove unused variable.
6712 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6714 * frameset.el (frameset--prop-setter): New function.
6715 (frameset-prop): Add gv-setter declaration.
6716 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6717 parameter was already set in FILTERED. Doc fix.
6718 (frameset--record-minibuffer-relationships): Allow saving a
6719 minibufferless frame without its corresponding minibuffer frame.
6720 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6721 frame, if the frame id matches.
6722 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6723 frames before orphaned ones.
6724 (frameset-restore): Warn about orphaned windows, instead of error out.
6726 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6728 * window.el (window-make-atom): Don't overwrite parameter
6730 (display-buffer-in-atom-window): Handle special case where we
6731 split an already atomic window.
6732 (window--major-non-side-window, display-buffer-in-side-window)
6733 (window--side-check): Ignore minibuffer window when walking
6735 (window-deletable-p): Return 'frame only if no other frame uses
6736 our minibuffer window.
6737 (record-window-buffer): Run buffer-list-update-hook.
6738 (split-window): Make sure window--check-frame won't destroy an
6739 existing atomic window in case the new window gets nested
6741 (display-buffer-at-bottom): Ignore minibuffer window when
6742 walking window tree. Don't split a side window.
6743 (pop-to-buffer): Don't set-buffer here, the select-window call
6745 (mouse-autoselect-window-select): Autoselect only if we are in the
6746 text portion of the window.
6748 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6750 * net/shr.el (shr-parse-image-data): New function to grab both the
6751 data itself and the Content-Type.
6752 (shr-put-image): Use it.
6754 * net/eww.el (eww-display-image): Ditto.
6756 * image.el (image-content-type-suffixes): New variable.
6758 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6760 * progmodes/python.el (python-imenu--build-tree)
6761 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6763 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6765 * simple.el (backward-word): Mention the optional argument.
6767 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6769 * frameset.el (frameset--make): Rename constructor from make-frameset.
6770 (frameset-p, frameset-valid-p): Don't autoload.
6771 (frameset-valid-p): Use normal accessors.
6773 2013-08-13 Glenn Morris <rgm@gnu.org>
6775 * progmodes/compile.el (compile-command): Tweak example in doc.
6776 * obsolete/scribe.el (scribe-mode):
6777 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6779 * mail/feedmail.el (feedmail-confirm-outgoing)
6780 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6782 * cus-start.el (truncate-partial-width-windows): Fix type.
6784 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6786 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6788 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6790 * emacs-lisp/timer.el (timer--time-setter): New function.
6791 (timer--time): Use it as gv-setter.
6793 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6794 setter is not a symbol.
6796 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6798 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6799 if sending fails. This makes debugging easier.
6801 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6803 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6804 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6805 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6807 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6809 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6811 2013-08-12 Glenn Morris <rgm@gnu.org>
6813 * format.el (format-annotate-function):
6814 Handle read-only text properties in the source. (Bug#14887)
6816 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6818 * net/eww.el (eww-display-html): Ignore coding system errors.
6819 One web site uses "utf-8lias" as the coding system.
6821 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6823 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6825 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6827 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6828 (tutorial--detailed-help): Remove unused local variables.
6829 (tutorial--save-tutorial-to): Use ignore-errors.
6830 (help-with-tutorial): Use looking-at-p.
6832 * view.el (view-buffer-other-window, view-buffer-other-frame):
6833 Mark unused arguments.
6835 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6836 (woman-select-symbol-fonts, woman, woman-find-file)
6837 (woman-insert-file-contents, woman-non-underline-faces):
6839 (woman1-unquote): Move declaration.
6841 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6842 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6843 argument. Remove unused local variable.
6844 (xml-parse-elem-type): Use string-match-p.
6845 (xml-substitute-numeric-entities): Use ignore-errors.
6847 * calculator.el (calculator): Mark unused argument.
6848 (calculator-paste, calculator-quit, calculator-integer-p):
6850 (calculator-string-to-number, calculator-decimal, calculator-exp)
6851 (calculator-op-or-exp): Use string-match-p.
6853 * dired.el (dired-buffer-more-recently-used-p): Declare.
6854 (dired-insert-set-properties, dired-insert-old-subdirs):
6857 * dired-aux.el (dired-compress): Use ignore-errors.
6858 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6859 (dired-do-async-shell-command, dired-do-shell-command)
6860 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6861 (dired-insert-subdir-validate): Use string-match-p.
6862 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6863 (dired-add-entry): Use string-match-p, looking-at-p.
6864 (dired-insert-subdir-newpos): Remove unused local variable.
6866 * filenotify.el (file-notify-callback): Remove unused local variable.
6868 * filesets.el (filesets-error): Mark unused argument.
6869 (filesets-which-command-p, filesets-filter-dir-names)
6870 (filesets-directory-files, filesets-get-external-viewer)
6871 (filesets-ingroup-get-data): Use string-match-p.
6873 * find-file.el (ff-other-file-name, ff-other-file-name)
6874 (ff-find-the-other-file, ff-cc-hh-converter):
6875 Remove unused local variables.
6876 (ff-get-file-name): Use string-match-p.
6877 (ff-all-dirs-under): Use ignore-errors.
6879 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6880 (follow-select-if-visible): Remove unused local variable.
6882 * forms.el (read-file-filter): Move declaration.
6883 (forms--make-format, forms--make-parser, forms-insert-record):
6884 Quote function with #'.
6885 (forms--update): Use string-match-p. Quote function with #'.
6887 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6888 (help-make-xrefs): Use looking-at-p.
6889 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6891 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6892 (ibuffer-confirm-operation-on): Use string-match-p.
6894 * msb.el (msb-item-handler, msb-dired-item-handler):
6895 Mark unused arguments.
6897 * ses.el (ses-decode-cell-symbol)
6898 (ses-kill-override): Remove unused local variable.
6899 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6900 (ses-load): Use ignore-errors, looking-at-p.
6901 (ses-jump-safe): Use ignore-errors.
6902 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6904 * tabify.el (untabify, tabify): Mark unused arguments.
6906 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6907 Mark unused argument.
6908 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6909 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6911 * emacs-lisp/timer.el (timer--time): Define setter with
6912 gv-define-setter to avoid deprecation warning.
6914 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6915 (*record-cmpl-statistics-p*): Remove (was commented out).
6916 (cmpl-statistics-block): Remove (body was commented out).
6917 All callers changed.
6918 (add-completions-from-buffer, load-completions-from-file):
6919 Remove unused variables.
6921 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6923 * filecache.el (file-cache-delete-file-list):
6924 Print message only when told so.
6925 (file-cache-files-matching): Use #' in mapconcat argument.
6927 * ffap.el (ffap-url-at-point): Fix reference to variable
6928 thing-at-point-default-mail-uri-scheme.
6930 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * subr.el (define-error): New function.
6933 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6934 error-file-not-found and define with define-error.
6935 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6936 and define with define-error.
6937 * userlock.el (file-locked, file-supersession):
6938 * simple.el (mark-inactive):
6939 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6940 * progmodes/ada-mode.el (ada-mode-errors):
6941 * play/life.el (life-extinct):
6942 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6943 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6944 * nxml/rng-util.el (rng-error):
6945 * nxml/rng-uri.el (rng-uri-error):
6946 * nxml/rng-match.el (rng-compile-error):
6947 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6948 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6949 * nxml/nxml-rap.el (nxml-scan-error):
6950 * nxml/nxml-outln.el (nxml-outline-error):
6951 * net/soap-client.el (soap-error):
6952 * net/gnutls.el (gnutls-error):
6953 * net/ange-ftp.el (ftp-error):
6954 * mpc.el (mpc-proc-error):
6955 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6956 (json-number-format, json-string-escape, json-string-format)
6957 (json-key-format, json-object-format):
6958 * jka-compr.el (compression-error):
6959 * international/quail.el (quail-error):
6960 * international/kkc.el (kkc-error):
6961 * emacs-lisp/ert.el (ert-test-failed):
6962 * calc/calc.el (calc-error, inexact-result, math-overflow)
6964 * bookmark.el (bookmark-error-no-filename):
6965 * epg.el (epg-error): Define with define-error.
6967 * time.el (display-time-event-handler)
6968 (display-time-next-load-average): Don't call sit-for since it seems
6969 unnecessary (bug#15045).
6971 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6972 Use #' instead of ' to quote functions.
6973 (checkdoc-output-mode): Use setq-local.
6974 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6975 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6976 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6977 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6978 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6979 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6980 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6981 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6983 * ido.el (ido-completion-help): Fix up compiler warning.
6985 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6987 * frameset.el (frameset-p): Add autoload cookie.
6988 (frameset--jump-to-register): New function, based on code moved from
6990 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6992 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6993 (frameset-restore, frameset-save, frameset-session-filter-alist):
6994 Remove declarations.
6995 (register-alist): Doc fix.
6996 (frameset-to-register): Move to frameset.el.
6997 (jump-to-register, describe-register-1): Remove frameset-specific code.
6999 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7001 * allout-widgets.el (allout-widgets-pre-command-business)
7002 (allout-widgets-post-command-business)
7003 (allout-widgets-after-change-handler)
7004 (allout-decorate-item-and-context, allout-set-boundary-marker)
7005 (allout-body-modification-handler)
7006 (allout-graphics-modification-handler): Mark ignored arguments.
7007 (allout-widgets-post-command-business)
7008 (allout-widgets-exposure-change-processor)
7009 (allout-widgets-exposure-undo-processor)
7010 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7011 (allout-parse-item-at-point, allout-decorate-item-guides)
7012 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7013 * allout.el (epa-passphrase-callback-function): Declare.
7014 (allout-overlay-insert-in-front-handler)
7015 (allout-overlay-interior-modification-handler)
7016 (allout-isearch-end-handler, allout-chart-siblings)
7017 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7018 (allout-yank-processing, allout-process-exposed)
7019 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7020 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7021 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7022 (lisp-indent-defform): Mark ignored arguments.
7023 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7024 (calculate-lisp-indent): Remove unused variables.
7025 * international/characters.el (indian-2-column, arabic-2-column)
7026 (tibetan): Mark ignored arguments.
7027 (use-cjk-char-width-table): Mark ignored arguments.
7028 Remove unused variables.
7029 * international/fontset.el (build-default-fontset-data)
7030 (x-compose-font-name, create-fontset-from-fontset-spec):
7031 Mark ignored arguments.
7032 (fontset-plain-name): Remove unused variables.
7033 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7034 (keyboard-coding-system): Mark ignored arguments.
7035 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7036 * help.el (resize-temp-buffer-window):
7037 * window.el (display-buffer-in-major-side-window)
7038 (display-buffer-in-side-window, display-buffer-in-previous-window):
7039 Remove unused variables.
7040 * isearch.el (isearch-forward-symbol):
7041 * version.el (emacs-bzr-version-bzr):
7042 * international/mule-cmds.el (current-language-environment):
7043 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7045 * term/pc-win.el (x-list-fonts, x-display-planes)
7046 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7047 (x-server-version, x-display-screens, x-display-mm-height)
7048 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7049 (x-selection-owner-p, x-own-selection-internal)
7050 (x-disown-selection-internal, x-get-selection-internal)
7051 (msdos-initialize-window-system):
7052 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7053 * term/x-win.el (x-handle-no-bitmap-icon):
7054 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7055 (vc-default-find-file-hook, vc-default-extra-menu):
7056 Mark ignored arguments.
7058 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7060 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7061 break-condition in the context of the debugged code (bug#12685).
7063 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7066 Do not use an overlay to highlight the last prompt. (Bug#14744)
7067 (comint-mode): Make comint-last-prompt buffer local.
7068 (comint-last-prompt): New variable.
7069 (comint-last-prompt-overlay): Remove. Superseded by
7071 (comint-snapshot-last-prompt, comint-output-filter):
7072 Use comint-last-prompt.
7074 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7076 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7077 (frameset-save): Check validity of the resulting frameset.
7079 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7081 * ido.el (ido-record-command): Add doc string.
7083 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7085 * frameset.el (frameset): Do not disable creation of the default
7086 frameset-p predicate. Doc fix.
7087 (frameset-valid-p): New function, copied from the old predicate-p.
7088 Add additional checks.
7089 (frameset-restore): Check with frameset-valid-p.
7090 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7091 (frameset-name, frameset-description, frameset-properties)
7092 (frameset-states): Add docstring.
7093 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7094 (frameset-filter-alist): Doc fixes.
7096 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7098 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7100 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7102 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7103 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7104 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7105 (byte-compile-normal-call): Remove obsolescence check.
7107 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7109 * frameset.el (frameset-restore): Doc fix.
7111 * register.el (frameset-frame-id, frameset-frame-with-id)
7112 (frameset-p, frameset-restore, frameset-save): Declare.
7113 (register-alist): Document framesets.
7114 (frameset-session-filter-alist): Declare.
7115 (frameset-to-register): New function.
7116 (jump-to-register): Implement jumping to framesets. Doc fix.
7117 (describe-register-1): Describe framesets.
7119 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7121 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7123 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7124 Use lexical-binding.
7126 * frameset.el (frameset): Use type vector, not list (incompatible
7127 change). Do not declare a new constructor, use the default one.
7128 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7129 `name' and `description', respectively, and add read-only slot
7130 `timestamp'. Doc fixes.
7131 (frameset-copy, frameset-persistent-filter-alist)
7132 (frameset-filter-alist, frameset-switch-to-gui-p)
7133 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7134 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7135 (frameset-filter-iconified, frameset-keep-original-display-p):
7137 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7138 Rename from frameset-filter-(save|restore)-param. All callers changed.
7140 (frameset-p): Adapt to change to vector and be more thorough.
7141 Change arg name to OBJECT. Doc fix.
7142 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7143 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7144 All callers changed.
7145 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7146 All callers changed.
7147 (frameset--record-minibuffer-relationships): Rename from
7148 frameset--process-minibuffer-frames. All callers changed.
7149 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7150 Use new default constructor (again). Doc fix.
7151 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7152 All callers changed.
7153 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7154 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7156 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7157 PARAMETERS and WINDOW-STATE, respectively.
7158 (frameset-restore): Add new keyword argument PREDICATE.
7159 Reset frameset--target-display to nil. Doc fix.
7161 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7163 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7165 (bat-mode-syntax-table): Mark \n as end-of-comment.
7166 (bat-font-lock-keywords): Remove comment rule.
7168 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7169 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7171 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7172 (byte-compile-callargs-warn): Use `push'.
7173 (byte-compile-arglist-warn): Ignore higher-order "calls".
7174 (byte-compile-file-form-autoload): Use `pcase'.
7175 (byte-compile-function-form): If quoting a symbol, check that it exists.
7177 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7179 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7180 and add a few popular commands found in batch files.
7181 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7182 (dos-mode): Doc fixes.
7184 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7186 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7187 (dos-mode): Use setq-local. Add space after "rem".
7188 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7189 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7191 2013-08-07 Arni Magnusson <arnima@hafro.is>
7193 * progmodes/dos.el: New file.
7194 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7197 2013-08-06 Glenn Morris <rgm@gnu.org>
7199 * calendar/calendar.el: Add new faces, and day-header-array.
7200 (calendar-weekday-header, calendar-weekend-header)
7201 (calendar-month-header): New faces.
7202 (calendar-day-header-construct): New function.
7203 (calendar-day-header-width): Also :set calendar-day-header-array.
7204 (calendar-american-month-header, calendar-european-month-header)
7205 (calendar-iso-month-header): Use calendar- faces.
7206 (calendar-generate-month):
7207 Use calendar-day-header-array for day headers; apply faces to them.
7208 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7209 (calendar-abbrev-construct): Add optional maxlen argument.
7210 (calendar-day-name-array): Doc fix.
7211 (calendar-day-name-array, calendar-abbrev-length)
7212 (calendar-day-abbrev-array):
7213 Also :set calendar-day-header-array, and maybe redraw.
7214 (calendar-day-header-array): New option. (Bug#15007)
7215 (calendar-font-lock-keywords): Set to nil and make obsolete.
7216 (calendar-day-name): Add option to use header array.
7218 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7220 * net/shr.el (shr-render-td): Remove debugging.
7221 (shr-render-td): Make width computation consistent by defaulting
7222 all zero-width columns to 10 characters. This may not be optimal,
7223 but it's at least consistent.
7224 (shr-make-table-1): Redo last change to fix the real problem in
7227 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7229 * files.el (cache-long-line-scans):
7230 Make obsolete alias to `cache-long-scans'.
7232 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7234 * frameset.el (frameset, frameset-filter-alist)
7235 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7236 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7237 (frameset-compute-pos): Rename from frameset--compute-pos,
7239 (frameset-move-onscreen): Use frameset-compute-pos.
7240 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7242 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7243 Fix typos in docstrings.
7245 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7247 * frame.el (get-other-frame): Tiny cleanup.
7249 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7251 * vc/vc.el (vc-default-ignore-completion-table):
7252 Silence byte-compiler warning.
7254 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7255 slot, which can indeed be nil.
7256 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7257 Move entry for `left' from persistent to live filter alist.
7258 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7260 (frameset-filter-params): When restoring a frame, copy items added to
7261 `filtered', to avoid unwittingly modifying the original parameters.
7262 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7263 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7265 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7266 to use looking-at-p instead of looking-at. (Bug#15028)
7268 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7270 Revert introduction of isearch-filter-predicates (bug#14714).
7271 Rely on add-function instead.
7272 * isearch.el (isearch-filter-predicates): Rename it back to
7273 isearch-filter-predicate.
7274 (isearch-message-prefix): Use advice-function-mapc and advice
7275 properties to get the isearch-message-prefix.
7276 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7277 instead of run-hook-with-args-until-failure.
7278 (isearch-filter-visible): Not obsolete any more.
7279 * loadup.el: Preload nadvice.
7280 * replace.el (perform-replace): Revert to funcall
7281 instead of run-hook-with-args-until-failure.
7282 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7283 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7284 dired-isearch-filenames-toggle; make it into a proper minor mode.
7285 Use add/remove-function.
7286 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7287 Call the minor-mode rather than add/remove-hook.
7288 (dired-isearch-filter-filenames):
7289 Remove isearch-message-prefix property.
7290 * info.el (Info--search-loop): New function, extracted from Info-search.
7291 Funcall isearch-filter-predicate instead of
7292 run-hook-with-args-until-failure isearch-filter-predicates.
7293 (Info-search): Use it.
7294 (Info-mode): Use isearch-filter-predicate instead of
7295 isearch-filter-predicates.
7297 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7299 Do not call to `selected-window' where it is assumed by default.
7300 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7301 `window-hscroll', `window-width', `window-height', `window-buffer',
7302 `window-frame', `window-start', `window-point', `next-window'
7303 and `window-display-table'.
7304 * abbrev.el (abbrev--default-expand):
7305 * bs.el (bs--show-with-configuration):
7306 * buff-menu.el (Buffer-menu-mouse-select):
7307 * calc/calc.el (calc):
7308 * calendar/calendar.el (calendar-generate-window):
7309 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7311 * comint.el (send-invisible, comint-dynamic-complete-filename)
7312 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7313 * completion.el (complete):
7314 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7315 * disp-table.el (describe-current-display-table):
7316 * doc-view.el (doc-view-insert-image):
7317 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7318 * ehelp.el (with-electric-help):
7319 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7320 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7321 * emacs-lisp/helper.el (Helper-help-scroller):
7322 * emulation/cua-base.el (cua--post-command-handler-1):
7323 * eshell/esh-mode.el (eshell-output-filter):
7324 * ffap.el (ffap-gnus-wrapper):
7325 * help-macro.el (make-help-screen):
7326 * hilit-chg.el (highlight-compare-buffers):
7327 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7328 * hl-line.el (global-hl-line-highlight):
7329 * icomplete.el (icomplete-simple-completing-p):
7330 * isearch.el (isearch-done):
7331 * jit-lock.el (jit-lock-stealth-fontify):
7332 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7333 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7334 * mpc.el (mpc-tagbrowser, mpc):
7335 * net/rcirc.el (rcirc-any-buffer):
7336 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7337 * play/landmark.el (landmark-max-width, landmark-max-height):
7338 * play/zone.el (zone):
7339 * progmodes/compile.el (compilation-goto-locus):
7340 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7341 * progmodes/etags.el (find-tag-other-window):
7342 * progmodes/fortran.el (fortran-column-ruler):
7343 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7344 * progmodes/verilog-mode.el (verilog-point-text):
7345 * reposition.el (reposition-window):
7346 * rot13.el (toggle-rot13-mode):
7347 * server.el (server-switch-buffer):
7348 * shell.el (shell-dynamic-complete-command)
7349 (shell-dynamic-complete-environment-variable):
7350 * simple.el (insert-buffer, set-selective-display)
7351 (delete-completion-window):
7352 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7353 (speedbar-recenter):
7354 * startup.el (fancy-splash-head):
7355 * textmodes/ispell.el (ispell-command-loop):
7356 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7357 * tutorial.el (help-with-tutorial):
7358 * vc/add-log.el (add-change-log-entry):
7359 * vc/compare-w.el (compare-windows):
7360 * vc/ediff-help.el (ediff-indent-help-message):
7361 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7362 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7363 (ediff-setup-control-frame):
7364 * vc/emerge.el (emerge-position-region):
7365 * vc/pcvs-util.el (cvs-bury-buffer):
7366 * window.el (walk-windows, mouse-autoselect-window-select):
7367 * winner.el (winner-set-conf, winner-undo): Related users changed.
7369 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7371 * frameset.el (frameset--set-id): Doc fix.
7372 (frameset-frame-id, frameset-frame-id-equal-p)
7373 (frameset-locate-frame-id): New functions.
7374 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7375 (frameset-restore): Use them.
7377 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7379 Do not call to `selected-frame' where it is assumed by default.
7380 Affected functions are `raise-frame', `redraw-frame',
7381 `frame-first-window', `frame-terminal' and `delete-frame'.
7382 * calendar/appt.el (appt-disp-window):
7383 * epg.el (epg-wait-for-completion):
7384 * follow.el (follow-delete-other-windows-and-split)
7385 (follow-avoid-tail-recenter):
7386 * international/mule.el (set-terminal-coding-system):
7387 * mail/rmail.el (rmail-mail-return):
7388 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7389 * progmodes/f90.el (f90-add-imenu-menu):
7390 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7391 * server.el (server-switch-buffer):
7392 * simple.el (delete-completion-window):
7394 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7395 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7396 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7397 * vc/ediff.el (ediff-documentation): Related users changed.
7398 * frame.el (selected-terminal): Remove the leftover.
7400 2013-08-05 Glenn Morris <rgm@gnu.org>
7402 * calendar/calendar.el (calendar-generate-month):
7403 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7404 (calendar-generate-month, calendar-font-lock-keywords):
7405 Fix for calendar-day-header-width > length of any day name.
7407 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7409 * desktop.el (desktop-clear): Use new name of sort predicate.
7411 * frameset.el (frameset): Add docstring. Move :version property to its
7413 (frameset-copy): Rename from copy-frameset.
7414 (frameset-p): Check more thoroughly.
7415 (frameset-prop): Do not check for :version, which is no longer a prop.
7416 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7417 Use new :never value instead of t.
7418 (frameset-filter-alist): Expand and clarify docstring.
7419 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7420 (frameset-filter-minibuffer, frameset-filter-save-param)
7421 (frameset-filter-restore-param, frameset-filter-iconified):
7422 Add pointer to docstring of frameset-filter-alist.
7423 (frameset-filter-params): Rename filter values to be more meaningful:
7424 :never instead of t, and reverse the meanings of :save and :restore.
7425 (frameset--process-minibuffer-frames): Clarify error message.
7426 (frameset-save): Avoid unnecessary and confusing call to framep.
7427 Use new BOA constructor for framesets.
7428 (frameset--reuse-list): Doc fix.
7429 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7430 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7431 (frameset-minibufferless-first-p): Doc fix.
7432 Rename from frameset-sort-frames-for-deletion.
7433 (frameset-restore): Doc fixes. Use new function names.
7434 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7436 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7438 * desktop.el (desktop-restore-forces-onscreen)
7439 (desktop-restore-reuses-frames): Document :keyword constant values.
7440 (desktop-filter-parameters-alist): Remove, now identical to
7441 frameset-filter-alist.
7442 (desktop--filter-tty*): Remove, moved to frameset.el.
7443 (desktop-save-frameset, desktop-restore-frameset):
7444 Do not pass :filters argument.
7446 * frameset.el (frameset-live-filter-alist)
7447 (frameset-persistent-filter-alist): New variables.
7448 (frameset-filter-alist): Use them. Add autoload cookie.
7449 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7450 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7451 `frameset--id' (it's supposed to be internal to frameset.el).
7452 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7453 (frameset--initial-params): New function.
7454 (frameset--get-frame): Use it. Doc fix.
7455 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7456 Accept :all, not 'all.
7457 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7458 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7459 with fbound symbols. Fix frame id matching, and remove matching ids if
7460 the frame being restored is deleted. Obey :delete.
7462 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7464 * subr.el (macrop): New function.
7465 (text-clone--maintaining): New var.
7466 (text-clone--maintain): Rename from text-clone-maintain. Use it
7467 instead of inhibit-modification-hooks.
7469 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7470 a proxy, so as handle autoloads and redefinitions of the target.
7471 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7473 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7474 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7475 (pcase--mutually-exclusive-p): New function.
7476 (pcase--split-consp): Use it.
7477 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7478 mutually exclusive with the current predicate.
7480 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7481 (edebug-macrop): Remove. Use `macrop' instead.
7482 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7484 * eshell/esh-cmd.el (eshell-macrop):
7485 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7487 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7489 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7490 (advice-mapc): New function, using it.
7491 (advice-function-member-p): New function.
7492 (advice--normalize): Store the cdr in advice--saved-rewrite since
7493 that's the part that will be changed.
7494 (advice--symbol-function): New function.
7495 (advice-remove): Handle removal before the function is defined.
7496 Adjust to new advice--saved-rewrite.
7497 (advice-member-p): Use advice-function-member-p and
7498 advice--symbol-function.
7500 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7502 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7503 (frameset-filter-minibuffer): Doc fix.
7504 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7505 (frameset--set-id, frameset--process-minibuffer-frames)
7506 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7507 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7509 * desktop.el (desktop-clear): Only delete frames when called
7510 interactively and desktop-restore-frames is non-nil. Doc fix.
7511 (desktop-read): Set desktop-saved-frameset to nil.
7513 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7515 * vc/vc.el (vc-ignore): Rewrite.
7516 (vc-default-ignore-completion-table):
7518 (vc--add-line, vc--remove-regexp): New functions.
7520 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7521 (vc-svn-ignore-completion-table): New function.
7523 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7524 (vc-hg-ignore-completion-table):
7525 (vc-hg-find-ignore-file): New functions.
7527 * vc/vc-git.el (vc-git-ignore): Rewrite.
7528 (vc-git-ignore-completion-table):
7529 (vc-git-find-ignore-file): New functions.
7531 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7533 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7534 (vc-bzr-ignore-completion-table):
7535 (vc-bzr-find-ignore-file): New functions.
7537 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7539 * frameset.el (frameset-prop): New function and setter.
7540 (frameset-save): Do not modify frame list passed by the caller.
7542 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7544 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7546 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7548 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7549 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7551 * custom.el (custom-initialize-default, custom-initialize-set)
7552 (custom-initialize-reset, custom-initialize-changed): Affect the
7553 toplevel-default-value (bug#6275, bug#14586).
7554 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7557 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7559 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7560 Add cl-def* expressions.
7562 * frameset.el (frameset-filter-params): Fix order of arguments.
7564 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7566 Move code related to saving frames to frameset.el.
7567 * desktop.el: Require frameset.
7568 (desktop-restore-frames): Doc fix.
7569 (desktop-restore-reuses-frames): Rename from
7570 desktop-restoring-reuses-frames.
7571 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7572 (desktop-clear): Clear frames too.
7573 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7574 (desktop--filter-tty*, desktop-save, desktop-read):
7575 Use frameset functions.
7576 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7577 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7578 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7579 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7580 (desktop--process-minibuffer-frames, desktop-save-frames)
7581 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7582 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7583 (desktop--sort-states, desktop-restoring-frames-p)
7584 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7585 (desktop-restoring-frameset-p, desktop-restore-frameset)
7586 (desktop--check-dont-save, desktop-save-frameset): New functions.
7587 (desktop--app-id): New constant.
7588 (desktop-first-buffer, desktop-buffer-ok-count)
7589 (desktop-buffer-fail-count): Move before first use.
7590 * frameset.el: New file.
7592 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7594 * files.el: Use lexical-binding.
7595 (dir-locals-read-from-file): Remove unused `err' variable.
7596 (hack-dir-local-variables--warned-coding): New var.
7597 (hack-dir-local-variables): Use it to avoid repeated warnings.
7598 (make-backup-file-name--default-function): New function.
7599 (make-backup-file-name-function): Use it as default.
7600 (buffer-stale--default-function): New function.
7601 (buffer-stale-function): Use it as default.
7602 (revert-buffer-insert-file-contents--default-function): New function.
7603 (revert-buffer-insert-file-contents-function): Use it as default.
7604 (insert-directory): Avoid add-to-list.
7606 * autorevert.el (auto-revert-handler): Simplify.
7607 Use buffer-stale--default-function.
7609 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7611 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7613 * whitespace.el (whitespace-ensure-local-variables): New function.
7614 (whitespace-cleanup-region): Call it.
7615 (whitespace-turn-on): Call it.
7617 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7619 Complete file name handlers.
7621 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7622 (tramp-handle-verify-visited-file-modtime)
7623 (tramp-handle-file-notify-rm-watch): New functions.
7624 (tramp-call-process): Do not bind `default-directory'.
7626 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7627 Order alphabetically.
7628 [access-file, add-name-to-file, dired-call-process]:
7629 [dired-compress-file, file-acl, file-notify-rm-watch]:
7630 [file-ownership-preserved-p, file-selinux-context]:
7631 [make-directory-internal, make-symbolic-link, set-file-acl]:
7632 [set-file-selinux-context, set-visited-file-modtime]:
7633 [verify-visited-file-modtime]: Add handler.
7634 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7636 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7637 [file-notify-add-watch, file-notify-rm-watch]:
7638 [set-file-times, set-visited-file-modtime]:
7639 [verify-visited-file-modtime]: Add handler.
7640 (with-tramp-gvfs-error-message)
7641 (tramp-gvfs-handle-set-visited-file-modtime)
7642 (tramp-gvfs-fuse-file-name): Remove.
7643 (tramp-gvfs-handle-file-notify-add-watch)
7644 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7645 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7647 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7648 Order alphabetically.
7649 [file-notify-rm-watch ]: Use default Tramp handler.
7650 [executable-find]: Remove private handler.
7651 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7652 `default-directory'.
7653 (tramp-sh-handle-executable-find)
7654 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7655 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7656 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7657 Do not use `format' in `tramp-message'.
7659 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7660 [file-notify-rm-watch, set-visited-file-modtime]:
7661 [verify-visited-file-modtime]: Add handler.
7662 (tramp-smb-call-winexe): Do not bind `default-directory'.
7664 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7666 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7668 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7670 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7672 (log-view-diff-changeset): Same.
7673 (log-view-diff-common): Call backend command `previous-revision'
7674 to find out the previous revision, in both cases. Swap the
7675 variables `to' and `fr', so that `fr' usually refers to the
7676 earlier revision (Bug#14989).
7678 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7680 * ibuf-ext.el (ibuffer-filter-by-filename):
7681 Make it work with dired buffers too.
7683 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7685 * emacs-lisp/re-builder.el (reb-color-display-p):
7686 * files.el (save-buffers-kill-terminal):
7687 * net/browse-url.el (browse-url):
7688 * server.el (server-save-buffers-kill-terminal):
7689 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7690 Prefer nil to selected-frame for the first arg of frame-parameter.
7692 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7694 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7696 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7698 * minibuffer.el (completion--twq-all): Try and preserve each
7699 completion's case choice (bug#14907).
7701 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7703 * net/network-stream.el (open-network-stream): Mention the new
7704 :nogreeting parameter.
7705 (network-stream-open-starttls): Use the :nogreeting parameter
7708 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7710 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7711 more natural than popping.
7713 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7714 (shr-urlify): Highlight under mouse.
7716 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7718 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7720 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7722 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7725 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7726 point-min==1. Fix search string. Fix parentheses missing.
7728 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7729 assume point-min==1. Fix search string. Fix parentheses missing.
7731 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7733 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7736 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7738 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7739 initial frame is minibuffer-less. (Bug#14841)
7741 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7743 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7746 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7747 (tramp-maybe-open-connection): Use it.
7749 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7751 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7752 minimal set of parameters passed when creating a frame, because
7753 the minibuffer status of a frame cannot be changed later.
7755 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7757 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7758 replace-regexp-in-string and inadvertent omissions in previous change.
7759 (todo-filter-items): Ensure only file names are comma-separated in
7760 name of filtered items buffer.
7762 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7764 * desktop.el: Optionally force offscreen frames back onscreen.
7765 (desktop-restoring-reuses-frames): New option.
7766 (desktop--compute-pos, desktop--move-onscreen): New functions.
7767 (desktop--make-frame): Use desktop--move-onscreen.
7769 2013-07-27 Alan Mackenzie <acm@muc.de>
7771 Fontify a Java generic method as a function.
7772 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7775 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7777 * calendar/todo-mode.el: Add command to rename todo files.
7778 (todo-rename-file): New command.
7779 (todo-key-bindings-t): Add key binding for it. Change the
7780 bindings of todo-filter-regexp-items(-multifile) to use `x'
7781 instead of `r', since the latter is better suited to the new
7784 2013-07-27 Alan Mackenzie <acm@muc.de>
7786 Make Java try-with-resources statement parse properly.
7787 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7788 (c-block-stmt-1-2-key): New language constants/variables.
7789 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7790 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7791 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7792 with c-block-stmt-1-2-key.
7794 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7796 * desktop.el (desktop--make-frame): Apply most frame parameters after
7797 creating the frame to force (partially or totally) offscreen frames to
7798 be restored as such.
7800 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7802 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7805 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7807 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7808 `base' arg of backtrace-frame.
7810 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7812 * simple.el (list-processes): Doc fix.
7814 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7816 * desktop.el (desktop--select-frame):
7817 Try harder to reuse existing frames.
7819 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7821 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7822 (edebug-eval): Use backtrace-eval.
7823 (edebug--display, edebug--recursive-edit): Don't let-bind the
7824 edebug-outer-* vars that keep track of variables we locally let-bind.
7825 (edebug-outside-excursion): Don't restore outside values of locally
7827 (edebug--display): Use user-error.
7828 (cl-lexical-debug, cl-debug-env): Remove.
7830 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7832 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7833 are restored to be sure that they are visible before deleting any
7836 2013-07-26 Matthias Meulien <orontee@gmail.com>
7838 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7839 vc-print-root-log. (Bug#14948)
7841 2013-07-26 Richard Stallman <rms@gnu.org>
7843 Add aliases for encrypting mail.
7844 * epa.el (epa-mail-aliases): New option.
7845 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7846 Bind inhibit-read-only so read-only text doesn't ruin everything.
7847 (epa-mail-default-recipients): New subroutine broken out.
7848 Handle epa-mail-aliases.
7850 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7852 Add support for lexical variables to the debugger's `e' command.
7853 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7854 vars, except for debugger-outer-match-data.
7855 (debugger-frame-number): Move check for "on a function call" from
7856 callers into it. Add `skip-base' argument.
7857 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7858 (debugger-env-macro): Only reset the state stored in non-variables,
7859 i.e. current-buffer and match-data.
7860 (debugger-eval-expression): Rewrite using backtrace-eval.
7861 * subr.el (internal--called-interactively-p--get-frame): Remove.
7862 (called-interactively-p):
7863 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7864 `base' arg of backtrace-frame instead.
7866 2013-07-26 Glenn Morris <rgm@gnu.org>
7868 * align.el (align-regexp): Doc fix. (Bug#14857)
7869 (align-region): Explicit error if subexpression missing/does not match.
7871 * simple.el (global-visual-line-mode):
7872 Do not duplicate the mode lighter. (Bug#14858)
7874 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7876 * window.el (display-buffer): In display-buffer bind
7877 split-window-keep-point to t, bug#14829.
7879 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7881 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7882 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7883 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7884 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7886 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7887 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7889 2013-07-25 Glenn Morris <rgm@gnu.org>
7891 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7893 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7895 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7896 parameter to modify-frame-parameters if the value has not changed;
7897 this is a workaround for bug#14949.
7898 (desktop--make-frame): On cl-delete-if call, check parameter name,
7901 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7903 * vc/vc.el (vc-ignore): New function.
7905 * vc/vc-svn.el (vc-svn-ignore): New function.
7907 * vc/vc-hg.el (vc-hg-ignore): New function.
7909 * vc/vc-git.el (vc-git-ignore): New function.
7911 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7912 (vc-dir-ignore): New function.
7914 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7915 (cvs-append-to-ignore): Move here from pcvs.el.
7917 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7919 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7921 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7923 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7924 (desktop-restore-frames): Warn when deleting an existing frame failed.
7926 2013-07-24 Glenn Morris <rgm@gnu.org>
7928 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7930 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7932 * filenotify.el (file-notify-supported-p):
7933 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7936 * autorevert.el (auto-revert-use-notify):
7937 (auto-revert-notify-add-watch):
7938 * net/tramp.el (tramp-file-name-for-operation):
7939 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7940 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7941 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7942 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7943 Remove `file-notify-supported-p' entry.
7945 2013-07-24 Glenn Morris <rgm@gnu.org>
7947 * printing.el: Replace all uses of deleted ps-windows-system,
7948 ps-lp-system, ps-flatten-list with lpr- versions.
7950 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7952 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7953 checked with memq (bug#14935).
7955 * files.el (revert-buffer-function): Use a non-nil default.
7956 (revert-buffer-preserve-modes): Declare var to
7957 provide access to the `preserve-modes' argument.
7958 (revert-buffer): Let-bind it.
7959 (revert-buffer--default): New function, extracted from revert-buffer.
7961 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7963 * lpr.el: Signal print errors more prominently.
7964 (print-region-function): Don't default to nil.
7965 (lpr-print-region): New function, extracted from print-region-1.
7966 Check lpr's return value and signal an error in case of problem.
7967 (print-region-1): Use it.
7968 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7970 (ps-printer-name): Default to nil.
7971 (ps-printer-name-option): Default to lpr-printer-switch.
7972 (ps-print-region-function): Don't default to nil.
7973 (ps-postscript-code-directory): Simplify default.
7974 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7975 (ps-string-list, ps-eval-switch, ps-flatten-list)
7976 (ps-flatten-list-1): Remove.
7977 (ps-multibyte-buffer): Avoid setq.
7978 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7979 (print-region-function, ps-print-region-function): Don't set them here.
7981 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7983 * ido.el (ido-fractionp):
7984 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7985 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7986 (ido-max-directory-size, ido-max-dir-file-cache)
7987 (ido-decorations): Doc fix.
7989 * ansi-color.el: Fix old URL.
7991 2013-07-23 Michael R. Mauger <michael@mauger.com>
7993 * progmodes/sql.el: Version 3.3
7994 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7995 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7996 (sql-interactive-remove-continuation-prompt): Rewrite, use
7997 functions above. Fix continuation prompt and complete output line
7999 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8000 redirected output buffer.
8001 (sql-mode): Restore deleted code (Bug#13591).
8003 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8005 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8007 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8009 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8011 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8012 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8013 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8015 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8017 * desktop.el (desktop-clear): Simplify; remove useless checks
8018 against invalid buffer names.
8019 (desktop-list*): Use cl-list*.
8020 (desktop-buffer-info, desktop-create-buffer): Simplify.
8022 2013-07-23 Leo Liu <sdl.web@gmail.com>
8024 * bookmark.el (bookmark-make-record): Restore NAME as a default
8027 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8029 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8030 extracted from autoload--insert-text.
8031 (autoload--insert-text): Remove.
8032 (autoload--print-cookie-text): New function, extracted from
8033 autoload--insert-cookie-text.
8034 (autoload--insert-cookie-text): Remove.
8035 (autoload-generate-file-autoloads): Adjust calls accordingly.
8037 * winner.el (winner-hook-installed-p): Remove.
8038 (winner-mode): Simplify accordingly.
8040 * subr.el (add-to-list): Fix compiler-macro when `append' is
8041 not constant. Don't use `cl-member' for the base case.
8043 * progmodes/subword.el: Fix boundary case (bug#13758).
8044 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8046 (subword-backward-regexp): Make it a constant.
8047 (subword-forward-internal): Don't treat a trailing capital as the
8048 beginning of a word.
8050 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8052 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8053 global value of tabulated-list-revert-hook (bug#14930).
8055 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8057 * desktop.el: Require 'cl-lib.
8058 (desktop-before-saving-frames-functions): New hook.
8059 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8060 for frames being saved. Rename from desktop--save-minibuffer-frames.
8061 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8062 Do not save frames with non-nil `desktop-dont-save' parameter.
8063 Filter out deleted frames.
8064 (desktop--find-frame): Use cl-find-if.
8065 (desktop--select-frame): Use cl-(first|second|third) to access values
8067 (desktop--make-frame): Use cl-delete-if.
8068 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8069 (desktop-restore-frames): Use cl-(first|second|third) to access values
8070 of desktop-mini. Look for visible frame at the end, not while
8073 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8074 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8075 Use string-match-p, looking-at-p (bug#14927).
8077 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8079 * desktop.el (desktop-saved-frame-states):
8080 Rename from desktop--saved-states; all users changed.
8081 (desktop-save-frames): Rename from desktop--save-frames.
8082 Do not save state to desktop file.
8083 (desktop-save): Save desktop-saved-frame-states to desktop file
8085 (desktop-restoring-frames-p): New function.
8086 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8087 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8088 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8090 * desktop.el: Correctly restore iconified frames.
8091 (desktop--filter-iconified-position): New function.
8092 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8094 2013-07-20 Glenn Morris <rgm@gnu.org>
8096 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8097 Let `message' do the formatting.
8098 (def-gdb-preempt-display-buffer): Add explicit format.
8100 * image-dired.el (image-dired-track-original-file):
8101 Use with-current-buffer.
8102 (image-dired-track-thumbnail): Use with-current-buffer.
8103 Avoid changing point of wrong window.
8105 * image-dired.el (image-dired-track-original-file):
8106 Avoid changing point of wrong window. (Bug#14909)
8108 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8110 * progmodes/gdb-mi.el (gdb-done-or-error):
8111 Guard against "%" in gdb output. (Bug#14127)
8113 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8115 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8118 * international/mule.el (coding-system-iso-2022-flags): Fix last
8121 2013-07-20 Kenichi Handa <handa@gnu.org>
8123 * international/mule.el (coding-system-iso-2022-flags):
8124 Add `8-bit-level-4'. (Bug#8522)
8126 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8128 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8131 * net/eww.el (eww-process-text-input): Allow inputting when the
8132 point is at the start of the line, as the properties aren't
8135 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8138 2013-07-19 Richard Stallman <rms@gnu.org>
8140 * epa.el (epa-popup-info-window): Doc fix.
8142 * subr.el (split-string): New arg TRIM.
8144 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8146 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8147 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8149 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8151 * filenotify.el (file-notify--library): Rename from
8152 `file-notify-support'. Do not autoload. Adapt all uses.
8153 (file-notify-supported-p): New defun.
8155 * autorevert.el (auto-revert-use-notify):
8156 Use `file-notify-supported-p' instead of `file-notify-support'.
8158 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8160 * net/tramp.el (tramp-file-name-for-operation):
8161 Add `file-notify-supported-p'.
8163 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8165 (tramp-sh-file-name-handler-alist): Add it as handler for
8166 `file-notify-supported-p '.
8168 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8169 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8170 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8171 Add `ignore' as handler for `file-notify-*' functions.
8173 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8175 * simple.el (line-move-partial, line-move): Don't start vscroll or
8176 scroll-up if the current line is not taller than the window.
8179 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8181 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8182 highlight question marks in the method names as strings.
8183 (ruby-block-beg-keywords): Inline.
8184 (ruby-font-lock-keyword-beg-re): Extract from
8185 `ruby-font-lock-keywords'.
8187 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8189 * frame.el (blink-cursor-blinks): New defcustom.
8190 (blink-cursor-blinks-done): New defvar.
8191 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8192 (blink-cursor-timer-function): Check if number of blinks has been
8194 (blink-cursor-suspend, blink-cursor-check): New defuns.
8196 2013-07-15 Glenn Morris <rgm@gnu.org>
8198 * edmacro.el (edmacro-format-keys): Fix previous change.
8200 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8202 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8203 The hack didn't work outside English locales anyway.
8205 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8207 * simple.el (define-alternatives): Rename from alternatives-define,
8208 per RMS' suggestion.
8210 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8212 * desktop.el (desktop-restore-frames): Change default to t.
8213 (desktop-restore-in-current-display): Now offer more options.
8214 (desktop-restoring-reuses-frames): New customization option.
8215 (desktop--saved-states): Doc fix.
8216 (desktop-filter-parameters-alist): New variable, renamed and expanded
8217 from desktop--excluded-frame-parameters.
8218 (desktop--target-display): New variable.
8219 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8220 (desktop--filter-tty*, desktop--filter-*-color)
8221 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8222 (desktop--filter-save-desktop-parm)
8223 (desktop-restore-in-original-display-p): New functions.
8224 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8225 (desktop--save-minibuffer-frames): New function, inspired by a similar
8226 function from Martin Rudalics.
8227 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8228 (desktop--restore-in-this-display-p): Remove.
8229 (desktop--find-frame): Rename from desktop--find-frame-in-display
8230 and add predicate argument.
8231 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8232 (desktop--reuse-list): New variable.
8233 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8235 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8237 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8239 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8241 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8243 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8244 Highlight conversion methods on Kernel.
8246 2013-07-13 Alan Mackenzie <acm@muc.de>
8248 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8249 and comment it out. This out-commenting enables certain C++
8250 declarations to be parsed correctly.
8252 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8254 * international/mule.el (define-coding-system): Doc fix.
8256 * simple.el (default-font-height): Don't call font-info if the
8257 frame's default font didn't change since the frame was created.
8260 2013-07-13 Leo Liu <sdl.web@gmail.com>
8262 * ido.el (ido-read-file-name): Guard against non-symbol value.
8264 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8266 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8269 2013-07-13 Leo Liu <sdl.web@gmail.com>
8271 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8272 ido-set-matches call. (Bug#6852)
8274 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8276 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8277 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8279 (ruby-font-lock-keywords): Distinguish calls to functions with
8280 module-like names from module references. Highlight character
8283 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8285 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8286 (gdb-send): Handle continued commands. (Bug#14847)
8288 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8290 * desktop.el (desktop--v2s): Remove unused local variable.
8291 (desktop-save-buffer): Make defvar-local; adjust docstring.
8292 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8293 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8295 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8297 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8299 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8301 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8304 2013-07-12 Glenn Morris <rgm@gnu.org>
8306 * doc-view.el: Require cl-lib at runtime too.
8307 (doc-view-remove-if): Remove.
8308 (doc-view-search-next-match, doc-view-search-previous-match):
8311 * edmacro.el: Require cl-lib at runtime too.
8312 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8313 (edmacro-mismatch, edmacro-subseq): Remove.
8315 * shadowfile.el: Require cl-lib.
8316 (shadow-remove-if): Remove.
8317 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8320 * wid-edit.el: Require cl-lib.
8321 (widget-choose): Use cl-remove-if.
8322 (widget-remove-if): Remove.
8324 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8325 (ebrowse-delete-if-not): Remove.
8326 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8327 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8328 Use cl-delete-if-not.
8330 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8332 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8333 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8335 2013-07-12 Leo Liu <sdl.web@gmail.com>
8337 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8339 2013-07-11 Glenn Morris <rgm@gnu.org>
8341 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8342 (edebug-gensym-index, edebug-gensym):
8343 Remove reimplementation of cl-gensym.
8344 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8346 * thumbs.el: Require cl-lib at run-time too.
8347 (thumbs-gensym-counter, thumbs-gensym):
8348 Remove reimplementation of cl-gensym.
8349 (thumbs-temp-file): Use cl-gensym.
8351 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8352 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8353 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8354 (ert--union, ert--gensym-counter, ert--gensym-counter)
8355 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8356 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8357 (ert-make-test-unbound, ert--expand-should-1)
8358 (ert--expand-should, ert--should-error-handle-error)
8359 (should-error, ert--explain-equal-rec)
8360 (ert--plist-difference-explanation, ert-select-tests)
8361 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8362 Use cl-lib functions rather than reimplementations.
8364 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8366 * net/tramp.el (tramp-methods): Extend docstring.
8367 (tramp-connection-timeout): New defcustom.
8368 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8369 (with-tramp-progress-reporter): Simplify.
8370 (tramp-process-actions): Improve messages.
8372 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8373 * net/tramp-sh.el (tramp-maybe-open-connection):
8374 Use `tramp-connection-timeout'.
8375 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8378 2013-07-11 Leo Liu <sdl.web@gmail.com>
8380 * ido.el (ido-read-file-name): Conform to the requirements of
8381 read-file-name. (Bug#11861)
8382 (ido-read-directory-name): Conform to the requirements of
8383 read-directory-name.
8385 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8387 * subr.el (delay-warning): New function.
8389 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8391 * simple.el (default-line-height): New function.
8392 (line-move-partial, line-move): Use it instead of computing the
8394 (line-move-partial): Always compute ROWH. If the last line is
8395 partially-visible, but its text is completely visible, allow
8396 cursor to enter such a partially-visible line.
8398 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8400 Improve error messages. (Bug#14808)
8402 * net/tramp.el (tramp-current-connection): New defvar, moved from
8404 (tramp-message-show-progress-reporter-message): Remove, not
8406 (tramp-error-with-buffer): Show message in minibuffer.
8407 Discard input before waiting. Reset connection timestamp.
8408 (with-tramp-progress-reporter): Improve messages.
8409 (tramp-process-actions): Use progress reporter. Delete process in
8410 case of error. Improve messages.
8412 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8413 Call `tramp-error-with-buffer' with vector and buffer.
8414 (tramp-current-connection): Remove.
8415 (tramp-maybe-open-connection): The car of
8416 `tramp-current-connection' are the first 3 slots of the vector.
8418 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8420 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8421 inside continued strings.
8423 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8425 Timestamp fixes for undo (Bug#14824).
8426 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8428 2013-07-10 Leo Liu <sdl.web@gmail.com>
8430 * files.el (require-final-newline): Allow safe local value.
8433 2013-07-09 Leo Liu <sdl.web@gmail.com>
8435 * ido.el (ido-read-directory-name): Handle fallback.
8436 (ido-read-file-name): Update DIR to ido-current-directory.
8438 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8440 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8442 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8443 "autoload". Remove "warn lower camel case" section, previously
8444 commented out. Highlight negation char. Do not highlight the
8445 target in singleton method definitions.
8447 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8449 * faces.el (tty-setup-hook): Declare the hook.
8451 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8452 and detect when a guard/pred depends on local vars (bug#14773).
8453 (pcase--u1): Adjust caller.
8455 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8457 * simple.el (line-move-partial, line-move): Account for
8459 (line-move-partial): Avoid setting vscroll when the last
8460 partially-visible line in window is of default height.
8462 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8464 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8467 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8469 * subr.el (read-quoted-char): Remove unused local variable `char'.
8471 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8473 * ediff.el (ediff-version): Version update.
8474 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8475 (ediff-merge-with-ancestor-command, ediff-directories-command)
8476 (ediff-directories3-command, ediff-merge-directories-command)
8477 (ediff-merge-directories-with-ancestor-command): New functions.
8478 All are command-line interfaces to ediff: to facilitate calling
8479 Emacs with the appropriate ediff functions invoked.
8481 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8482 (viper-save-kill-buffer): Check if buffer is modified.
8484 * viper.el (viper-version): Version update.
8485 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8487 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8489 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8490 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8491 (viper-intercept-ESC-key): Simplify.
8492 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8493 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8494 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8495 (viper-setup-ESC-to-escape): New functions.
8496 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8497 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8499 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8501 * simple.el (default-font-height, window-screen-lines):
8503 (line-move, line-move-partial): Use them instead of
8504 frame-char-height and window-text-height. This makes scrolling
8505 text smoother when the buffer's default face uses a font that is
8506 different from the frame's default font.
8508 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8510 * files.el (write-file): Do not display confirm dialog for NS,
8511 it does its own dialog, which can't be canceled (Bug#14578).
8513 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8515 * simple.el (line-move-partial): Adjust the row returned by
8516 posn-at-point for the current window-vscroll. (Bug#14567)
8518 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8520 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8521 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8524 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8526 * window.el (window-state-put-stale-windows): New variable.
8527 (window--state-put-2): Save list of windows without matching buffer.
8528 (window-state-put): Remove "bufferless" windows if possible.
8530 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8532 * simple.el (alternatives-define): Remove leftover :group keyword.
8535 2013-07-06 Leo Liu <sdl.web@gmail.com>
8537 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8538 (ido-enable-virtual-buffers): New variable.
8539 (ido-buffer-internal, ido-toggle-virtual-buffers)
8540 (ido-make-buffer-list): Use it.
8541 (ido-exhibit): Support turning on and off virtual buffers
8544 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8546 * simple.el (alternatives-define): New macro.
8548 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8550 * subr.el (read-quoted-char): Use read-key.
8551 (sit-for): Let read-event decode tty input (bug#14782).
8553 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8555 * calendar/todo-mode.el: Add handling of file deletion, both by
8556 mode command and externally. Fix various related bugs.
8557 Clarify Commentary and improve some documentation strings and code.
8558 (todo-delete-file): New command.
8559 (todo-check-file): New function.
8560 (todo-show): Handle external deletion of the file we're trying to
8561 show (bug#14688). Replace called-interactively-p by an optional
8562 prefix argument to avoid problematic interaction with catch form
8563 when byte compiled (bug#14702).
8564 (todo-quit): Handle external deletion of the archive's todo file.
8565 Make sure the buffer that was visiting the archive file is still
8566 live before trying to bury it.
8567 (todo-category-completions): Handle external deletion of any
8568 category completion files.
8569 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8570 of todo files, in case of external deletion.
8571 (todo-add-file): Replace unnecessary setq by let-binding.
8572 (todo-find-archive): Check whether there are any archives.
8573 Replace unnecessary setq by let-binding.
8574 (todo-archive-done-item): Use find-file-noselect to get the
8575 archive buffer whether or not the archive already exists.
8576 Remove superfluous code. Use file size instead of buffer-file-name to
8577 check if the archive is new; if it is, update list of archives.
8578 (todo-default-todo-file): Allow nil to be a valid value for when
8579 there are no todo files.
8580 (todo-reevaluate-default-file-defcustom): Use corrected definition
8581 of todo-default-todo-file.
8582 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8583 (todo-delete-category, todo-show-categories-table)
8584 (todo-category-number): Clarify comment.
8585 (todo-filter-items): Clarify documentation string.
8586 (todo-show-current-file, todo-display-as-todo-file)
8587 (todo-reset-and-enable-done-separator): Tweak documentation string.
8588 (todo-done-separator): Make separator length window-width, since
8589 bug#2749 is now fixed.
8591 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8593 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8594 Support both "gvfs-monitor-dir" and "inotifywait".
8595 (tramp-sh-file-inotifywait-process-filter): Rename from
8596 `tramp-sh-file-notify-process-filter'.
8597 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8598 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8600 2013-07-05 Leo Liu <sdl.web@gmail.com>
8602 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8604 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8606 * frame.el (display-pixel-height, display-pixel-width)
8607 (display-mm-height, display-mm-width): Mention behavior on
8608 multi-monitor setups in docstrings.
8609 (w32-display-monitor-attributes-list): Declare function.
8610 (display-monitor-attributes-list): Use it.
8612 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8614 * filenotify.el: New package.
8616 * autorevert.el (top): Require filenotify.el.
8617 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8619 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8620 (auto-revert-notify-handler): Use `file-notify-*' functions.
8622 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8624 * net/tramp.el (tramp-file-name-for-operation):
8625 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8627 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8628 for `file-notify-add-watch' and `file-notify-rm-watch'.
8629 (tramp-process-sentinel): Improve trace.
8630 (tramp-sh-handle-file-notify-add-watch)
8631 (tramp-sh-file-notify-process-filter)
8632 (tramp-sh-handle-file-notify-rm-watch)
8633 (tramp-get-remote-inotifywait): New defuns.
8635 2013-07-03 Juri Linkov <juri@jurta.org>
8637 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8638 call of `occur-read-primary-args' to interactive spec.
8640 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8641 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8643 2013-07-03 Matthias Meulien <orontee@gmail.com>
8645 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8646 `Buffer-menu-multi-occur'. Add it to the menu.
8647 (Buffer-menu-mode): Document it in docstring.
8648 (Buffer-menu-multi-occur): New command. (Bug#14673)
8650 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8652 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8653 keywords and built-ins.
8655 2013-07-03 Glenn Morris <rgm@gnu.org>
8657 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8659 Make info-xref checks case-sensitive by default
8660 * info.el (Info-find-node, Info-find-in-tag-table)
8661 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8662 Add option for exact case matching of nodes.
8663 * info-xref.el (info-xref): New custom group.
8664 (info-xref-case-fold): New option.
8665 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8667 2013-07-03 Leo Liu <sdl.web@gmail.com>
8669 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8671 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8673 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8674 middle of block statement initially, lower the depth. Remove
8675 FIXME comment, not longer valid. Remove middle of block statement
8676 detection, no need to do that anymore since we've been using
8677 `ruby-parse-region' here.
8679 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8681 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8683 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8685 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8687 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8689 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8690 (desktop-restore-in-current-display): New customization option.
8691 (desktop--excluded-frame-parameters): Add `font'.
8692 (desktop--save-frames): Rename from desktop--save-windows.
8693 (desktop--restore-in-this-display-p): New function.
8694 (desktop--make-full-frame): Remove unwanted width/height from
8695 full(width|height) frames.
8696 (desktop--restore-frames): Rename from desktop--restore-windows.
8697 Obey desktop-restore-current-display. Do not delete old frames or
8698 select a new frame unless we were able to restore at least one frame.
8700 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8702 * files.el (find-file-noselect): Simplify conditional expression.
8704 * textmodes/remember.el (remember-append-to-file):
8705 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8707 Add `remember-notes' function to store random notes across Emacs
8709 * textmodes/remember.el (remember-data-file): Add :set callback to
8710 affect notes buffer (if any).
8711 (remember-notes): New command.
8712 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8713 New defcustoms for the `remember-notes' function.
8714 (remember-notes-save-and-bury-buffer): New command.
8715 (remember-notes-mode-map): New variable.
8716 (remember-mode): New minor mode.
8717 (remember-notes--kill-buffer-query): New function.
8718 * startup.el (initial-buffer-choice): Add notes to custom type.
8720 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8722 * bindings.el (right-char, left-char): Don't call sit-for, this is
8723 no longer needed. Use arithmetic comparison only for numerical
8726 * international/mule-cmds.el (select-safe-coding-system):
8727 Handle the case of FROM being a string correctly. (Bug#14755)
8729 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8731 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8732 progression on degenerate tables.
8733 (shr-rescale-image): ImageMagick animated images currently don't work.
8735 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8737 Some fixes and improvements for desktop frame restoration.
8738 It is still experimental and disabled by default.
8739 * desktop.el (desktop--save-windows): Put the selected frame at
8740 the head of the list.
8741 (desktop--make-full-frame): New function.
8742 (desktop--restore-windows): Try to re-select the frame that was
8743 selected upon saving. Do not abort if some frames fail to restore,
8744 just show an error message and continue. Set up maximized frames
8745 so they have default non-maximized dimensions.
8747 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8749 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8750 Don't start heredoc inside a string or comment.
8752 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8754 * bindings.el (visual-order-cursor-movement): New defcustom.
8755 (right-char, left-char): Provide visual-order cursor motion by
8756 calling move-point-visually. Update the doc strings.
8758 2013-06-28 Kenichi Handa <handa@gnu.org>
8760 * international/mule.el (define-coding-system): New coding system
8761 properties :inhibit-null-byte-detection,
8762 :inhibit-iso-escape-detection, and :prefer-utf-8.
8763 (set-buffer-file-coding-system): If :charset-list property of
8764 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8765 appropriate for setting.
8767 * international/mule-cmds.el (select-safe-coding-system):
8768 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8769 multibyte characters, return utf-8 (or one of its siblings).
8771 * international/mule-conf.el (prefer-utf-8): New coding system.
8772 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8775 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8777 * net/shr.el (shr-render-region): New function.
8779 * net/eww.el: Autoload `eww-browse-url'.
8781 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8783 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8784 Adapt to `package-desc-version' being a list.
8785 Use `package--ac-desc-version' to retrieve version from a package
8788 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8790 New experimental feature to save&restore window and frame setup.
8791 * desktop.el (desktop-save-windows): New defcustom.
8792 (desktop--saved-states): New var.
8793 (desktop--excluded-frame-parameters): New defconst.
8794 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8795 (desktop--restore-windows, desktop--save-windows): New functions.
8796 (desktop-save): Call `desktop--save-windows'.
8797 (desktop-read): Call `desktop--restore-windows'.
8799 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8801 * net/shr.el (add-face-text-property): Remove compat definition.
8803 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8805 * info.el (Info-try-follow-nearest-node): Move search for footnote
8806 above search for node name to prevent missing a footnote (bug#14717).
8808 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8810 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8812 2013-06-27 Leo Liu <sdl.web@gmail.com>
8814 * net/eww.el (eww-read-bookmarks): Check file size.
8816 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8818 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8819 advice--pending if newdef is nil or an autoload (bug#13820).
8820 (advice-mapc): New function.
8822 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8824 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8826 (eww-mode-map): Add a menu bar.
8827 (eww-add-bookmark): New command.
8828 (eww-bookmark-mode): New mode and commands.
8829 (eww-add-bookmark): Remove newlines from the title.
8830 (eww-bookmark-browse): Don't bug out if it's the only window.
8832 2013-06-26 Glenn Morris <rgm@gnu.org>
8834 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8835 (hfy-size): Handle ttys. (Bug#14668)
8837 * info-xref.el: Update for Texinfo 5 change in *note format.
8838 (info-xref-node-re, info-xref-note-re): New constants.
8839 (info-xref-check-buffer): Use info-xref-note-re.
8841 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8843 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8845 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8846 nil terminate the loop (bug#14718).
8848 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8850 * net/eww.el: Rework history traversal. When going forward/back,
8851 put these actions into the history, too, so that they can be
8853 (eww-render): Move the history reset to the correct buffer.
8855 2013-06-25 Juri Linkov <juri@jurta.org>
8857 * files-x.el (modify-dir-local-variable): Change the header comment
8858 in the file with directory local variables. (Bug#14692)
8860 * files-x.el (read-file-local-variable-value): Add `default'.
8863 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8865 * net/eww.el (eww-make-unique-file-name): Create a unique file
8866 name before saving to entering `y' accidentally asynchronously.
8868 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8870 * net/eww.el (eww-download): New command and keystroke.
8872 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8874 * net/eww.el (eww-copy-page-url): Change name of command.
8876 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8877 be more consistent with Info and dired.
8879 * net/eww.el (eww-mode-map): Ditto.
8881 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8883 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8884 packages from archives.
8885 (package-archive-contents): Change format; include obsolete packages.
8886 (package-desc): Use `dir' to mark builtin packages.
8887 (package--from-builtin): Set the `dir' field to `builtin'.
8888 (generated-autoload-file, version-control): Declare.
8889 (package-compute-transaction): Change first arg and return value to be
8890 lists of package-descs. Adjust to new package-archive-contents format.
8891 (package--add-to-archive-contents): Adjust to new
8892 package-archive-contents format.
8893 (package-download-transaction): Arg is now a list of package-descs.
8894 (package-install): If `pkg' is a package name, pass it as
8895 a requirement, so it is subject to the usual (e.g. disabled) checks.
8896 (describe-package): Accept package-desc as well.
8897 (describe-package-1): Describe a specific package-desc. Add links to
8898 other package-descs for the same package name.
8899 (package-menu-describe-package): Pass the actual package-desc.
8900 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8902 (package-desc-status): New function.
8903 (package-menu--refresh): New function, extracted
8904 from package-menu--generate.
8905 (package-menu--generate): Use it.
8906 (package-delete): Update package-alist.
8907 (package-menu-execute): Don't call package-initialize.
8909 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8910 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8911 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8912 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8913 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8914 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8916 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8918 * window.el (window--state-get-1): Workaround for bug#14527.
8919 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8921 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8923 * net/eww.el (eww-back-url): Implement the history by stashing all
8924 the data into a list.
8925 (eww-forward-url): Allow going forward in the history, too.
8927 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8929 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8930 for values and use read--expression for expressions (bug#14710).
8931 (read-file-local-variable): Avoid setq.
8932 (read-file-local-variable-mode): Use minor-mode-list.
8934 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8936 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8939 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8941 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8942 Update imenu-support when dialect changes.
8944 2013-06-25 Leo Liu <sdl.web@gmail.com>
8946 * ido.el (ido-read-internal): Allow forward slash on windows.
8948 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8950 * net/eww.el (eww): Start of strings is \\`, not ^.
8952 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8954 * net/shr.el (shr-browse-url): Fix interactive spec.
8956 * net/eww.el (eww): Add a trailing slash to domain names.
8958 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8960 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8962 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8964 * net/shr.el (shr-browse-url): Use an external browser if given a
8967 * net/eww.el (eww-external-browser): Move to shr.
8969 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8971 * net/eww.el (eww): Work more correctly for file: URLs.
8972 (eww-detect-charset): Allow quoted charsets.
8973 (eww-yank-page-url): New command and keystroke.
8975 2013-06-24 Daiki Ueno <ueno@gnu.org>
8977 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8978 file name of gpg executable.
8979 (epg-context-program): New function.
8980 (epg-context-home-directory): New function.
8981 (epg-context-set-program): New function.
8982 (epg-context-set-home-directory): New function.
8983 (epg--start): Use `epg-context-program' instead of
8985 (epg--list-keys-1): Likewise.
8987 2013-06-24 Leo Liu <sdl.web@gmail.com>
8989 * ido.el (ido-read-internal): Fix bug#14620.
8991 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8993 * faces.el (face-documentation): Simplify.
8994 (read-face-attribute, tty-find-type, x-resolve-font-name):
8995 Use `string-match-p'.
8996 (list-faces-display): Use `string-match-p'. Simplify.
8997 (face-spec-recalc): Check face to avoid face alias loops.
8998 (read-color): Use `string-match-p' and non-capturing parenthesis.
9000 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9002 * net/shr.el (shr-rescale-image): Use the new
9003 :max-width/:max-height functionality.
9005 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9007 * net/eww.el (eww-search-prefix): New variable.
9009 (eww-external-browser): New variable.
9010 (eww-mode-map): New keystroke.
9011 (eww-browse-with-external-browser): New command.
9013 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9015 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9017 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9018 Don't skip aligning the next header field when padding is 0;
9019 otherwise, field width is not respected unless the title is as
9022 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9024 * emacs-lisp/package.el (package-el-version): Remove.
9025 (package-process-define-package): Fix inf-loop.
9026 (package-install): Allow symbols as arguments again.
9028 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9030 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9031 add some more keyword-like methods.
9032 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9034 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9036 * bs.el (bs-buffer-show-mark): Make defvar-local.
9037 (bs-mode): Use setq-local.
9039 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9040 (emacs-lock--try-unlocking): Make defvar-local.
9042 2013-06-22 Glenn Morris <rgm@gnu.org>
9044 * play/cookie1.el (cookie-apropos): Minor simplification.
9046 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9048 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9050 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9051 `regexp-opt', it breaks the build during dumping.
9053 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9055 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9056 Highlight keyword-like methods on Kernel and Module with
9057 font-lock-builtin-face.
9058 (auto-mode-alist): Consolidate different entries into one regexp
9059 and add more *file-s.
9061 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9063 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9065 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9066 (diary-entry): Use it in the action of this button type instead of
9069 * calendar/todo-mode.el: New version.
9070 (todo-add-category): Append new category to end of file and give
9071 it the highest number, instead of putting it at the beginning and
9072 giving it 0. Incorporate noninteractive functionality.
9073 (todo-forward-category): Adapt to 1-based category numbering.
9074 Allow skipping over archived categories.
9075 (todo-backward-category): Derive from todo-forward-category.
9076 (todo-backward-item, todo-forward-item): Make noninteractive and
9077 delegate interactive part to new commands. Make sensitive to done items.
9078 (todo-categories): Make value an alist of category names and
9079 vectors of item counts.
9080 (todo-category-beg): Make a defconst.
9081 (todo-category-number): Use 1 instead of 0 as initial value.
9082 (todo-category-select): Make sensitive to overlays, optional item
9083 highlighting and done items.
9084 (todo-delete-item): Make sensitive to overlays and marked and done items.
9085 (todo-edit-item): Make sensitive to overlays and editing of
9086 date/time header optional. Add format checks.
9087 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9088 no-op if point is not on an item. Advertise using todo-edit-quit.
9089 (todo-edit-mode): Make sensitive to new format, font-locking, and
9090 multiple todo files.
9091 (todo-insert-item, todo-insert-item-here): Derive from
9092 todo-basic-insert-item and extend functionality.
9093 (todo-item-end, todo-item-start): Make sensitive to done items.
9094 (todo-item-string): Don't return text properties. Restore point.
9095 (todo-jump-to-category): Make sensitive to multiple todo files and
9096 todo archives. Use extended category completion.
9097 (todo-lower-item, todo-raise-item): Rename to *-priority and
9098 derive from todo-set-item-priority.
9099 (todo-mode): Derive from special-mode. Make sensitive to new
9100 format, font-locking and multiple todo files. Make read-only.
9101 (todo-mode-map): Don't suppress digit keys, so they can supply
9102 prefix arguments. Add many new key bindings.
9103 (todo-prefix): Insert as an overlay instead of file text.
9104 Change semantics from diary date expression to purely visual mark.
9105 (todo-print): Rename to todo-print-buffer. Make buffer display
9106 features printable. Remove option to restrict number of items
9107 printed. Add option to print to file.
9108 (todo-print-function): Rename to todo-print-buffer-function.
9109 (todo-quit): Extend to handle exiting new todo modes.
9110 (todo-remove-item): Make sensitive to overlays.
9111 (todo-save): Extend to buffers of filtered items.
9112 (todo-show): Make sensitive to done items, multiple todo files and
9113 new todo modes. Offer to convert legacy todo file before creating
9114 first new todo file.
9115 (todo-show-priorities): Rename to todo-top-priorities.
9116 Change semantics of value 0.
9117 (todo-top-priorities): Rename to todo-filter-top-priorities,
9118 derive from todo-filter-items and extend functionality.
9119 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9120 and extend functionality to other types of filtered items.
9121 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9122 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9123 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9124 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9125 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9126 (todo-edit-mode-hook, todo-entry-prefix-function)
9127 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9128 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9129 (todo-initials, todo-insert-threshold, todo-item-string-start)
9130 (todo-line-string, todo-menu, todo-mode-hook)
9131 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9132 (todo-print-priorities, todo-remove-separator)
9133 (todo-save-top-priorities-too, todo-string-count-lines)
9134 (todo-string-multiline-p, todo-time-string-format)
9135 (todo-tmp-buffer-name): Remove.
9136 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9137 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9138 (todo-edit-category-diary-inclusion)
9139 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9140 (todo-edit-file, todo-edit-item-date-day)
9141 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9142 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9143 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9144 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9145 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9146 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9147 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9148 (todo-filter-top-priorities-multifile, todo-find-archive)
9149 (todo-find-filtered-items-file, todo-go-to-source-item)
9150 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9151 (todo-jump-to-archive-category, todo-lower-category)
9152 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9153 (todo-move-category, todo-move-item, todo-next-button)
9154 (todo-next-item, todo-padded-string, todo-powerset)
9155 (todo-previous-button, todo-previous-item)
9156 (todo-print-buffer-to-file, todo-raise-category)
9157 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9158 (todo-set-category-number, todo-set-item-priority)
9159 (todo-set-top-priorities-in-category)
9160 (todo-set-top-priorities-in-file, todo-show-categories-table)
9161 (todo-sort-categories-alphabetically-or-numerically)
9162 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9163 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9164 (todo-toggle-item-header, todo-toggle-item-highlighting)
9165 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9166 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9167 (todo-unarchive-items, todo-unmark-category): New commands.
9168 (todo-absolute-file-name, todo-add-to-buffer-list)
9169 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9170 (todo-basic-insert-item, todo-category-completions)
9171 (todo-category-number, todo-category-string-matcher-1)
9172 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9173 (todo-check-format, todo-clear-matches)
9174 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9175 (todo-current-category, todo-date-string-matcher)
9176 (todo-define-insertion-command, todo-diary-expired-matcher)
9177 (todo-diary-goto-entry, todo-diary-item-p)
9178 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9179 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9180 (todo-done-item-section-p, todo-done-separator)
9181 (todo-done-string-matcher, todo-files, todo-filter-items)
9182 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9183 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9184 (todo-insert-category-line, todo-insert-item-from-calendar)
9185 (todo-insert-sort-button, todo-insert-with-overlays)
9186 (todo-insertion-command-name, todo-insertion-key-bindings)
9187 (todo-label-to-key, todo-longest-category-name-length)
9188 (todo-make-categories-list, todo-mode-external-set)
9189 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9190 (todo-modes-set-3, todo-multiple-filter-files)
9191 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9192 (todo-read-category, todo-read-date, todo-read-dayname)
9193 (todo-read-file-name, todo-read-time)
9194 (todo-reevaluate-category-completions-files-defcustom)
9195 (todo-reevaluate-default-file-defcustom)
9196 (todo-reevaluate-filelist-defcustoms)
9197 (todo-reevaluate-filter-files-defcustom)
9198 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9199 (todo-reset-done-separator, todo-reset-done-separator-string)
9200 (todo-reset-done-string, todo-reset-global-current-todo-file)
9201 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9202 (todo-reset-prefix, todo-set-categories)
9203 (todo-set-date-from-calendar, todo-set-show-current-file)
9204 (todo-set-top-priorities, todo-short-file-name)
9205 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9206 (todo-total-item-counts, todo-update-buffer-list)
9207 (todo-update-categories-display, todo-update-categories-sexp)
9208 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9210 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9212 (todo-categories, todo-display, todo-edit, todo-faces)
9213 (todo-filtered): New defgroups.
9214 (todo-archived-only, todo-button, todo-category-string, todo-date)
9215 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9216 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9217 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9218 (todo-add-item-if-new-category, todo-always-add-time-string)
9219 (todo-categories-align, todo-categories-archived-label)
9220 (todo-categories-category-label, todo-categories-diary-label)
9221 (todo-categories-done-label, todo-categories-number-separator)
9222 (todo-categories-todo-label, todo-categories-totals-label)
9223 (todo-category-completions-files, todo-completion-ignore-case)
9224 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9225 (todo-done-separator-string, todo-done-string)
9226 (todo-files-function, todo-filter-done-items, todo-filter-files)
9227 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9228 (todo-initial-category, todo-initial-file, todo-item-mark)
9229 (todo-legacy-date-time-regexp, todo-mode-line-function)
9230 (todo-nondiary-marker, todo-number-prefix)
9231 (todo-print-buffer-function, todo-show-current-file)
9232 (todo-show-done-only, todo-show-first, todo-show-with-done)
9233 (todo-skip-archived-categories, todo-top-priorities-overrides)
9234 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9235 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9237 (todo-category-done, todo-date-pattern, todo-date-string-start)
9238 (todo-diary-items-buffer, todo-done-string-start)
9239 (todo-filtered-items-buffer, todo-item-start)
9240 (todo-month-abbrev-array, todo-month-name-array)
9241 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9242 (todo-top-priorities-buffer): New defconsts.
9243 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9244 (todo-categories-with-marks, todo-category-string-face)
9245 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9246 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9247 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9248 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9249 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9250 (todo-font-lock-keywords, todo-global-current-todo-file)
9251 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9252 (todo-insertion-commands-args)
9253 (todo-insertion-commands-args-genlist)
9254 (todo-insertion-commands-names, todo-insertion-map)
9255 (todo-key-bindings-t, todo-key-bindings-t+a)
9256 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9257 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9258 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9259 (todo-visited): New variables.
9261 2013-06-21 Glenn Morris <rgm@gnu.org>
9263 * play/cookie1.el (cookie-apropos): Add optional display argument.
9264 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9265 (psychoanalyze-pinhead): Use cookie-doctor.
9267 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9269 * emacs-lisp/package.el (tar-get-file-descriptor)
9270 (tar--extract): Declare.
9272 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9274 Extend flymake's warning predicate to be a function (bug#14217).
9275 * progmodes/flymake.el (flymake-warning-predicate): New.
9276 (flymake-parse-line): Use it.
9277 (flymake-warning-re): Make obsolete alias to
9278 `flymake-warning-predicate'.
9280 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9282 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9283 (package-obsolete-list): Remove.
9284 (package-activate): Remove min-version argument. Add `force' argument.
9285 Adjust to new package-alist format.
9286 (package-mark-obsolete): Remove.
9287 (package-unpack): Force reload of the package's autoloads.
9288 (package-installed-p): Check builtins if the installed package is not
9290 (package-initialize): Don't reset package-obsolete-list.
9291 Don't specify which package version to activate.
9292 (package-process-define-package, describe-package-1)
9293 (package-menu--generate): Adjust to new package-alist format.
9295 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9297 * allout-widgets.el (allout-widgets-mode-off)
9298 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9299 (allout-widgets-post-command-business)
9300 (allout-widgets-after-copy-or-kill-function)
9301 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9302 (allout-decorate-item-and-context)
9303 (allout-graphics-modification-handler): Fix typos in docstrings.
9304 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9306 * cmuscheme.el (scheme-start-file): Doc fix.
9307 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9308 (scheme-input-filter): Use `string-match-p'.
9310 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9312 * dired-x.el: Use Dired consistently in docstrings.
9314 * dired.el: Use Dired consistently in docstrings.
9315 (dired-readin, dired-mode): Use `setq-local'.
9316 (dired-switches-alist): Make defvar-local.
9317 (dired-buffers-for-dir): Use `zerop'.
9318 (dired-safe-switches-p, dired-switches-escape-p)
9319 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9320 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9321 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9322 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9323 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9324 (dired-toggle-marks, dired-mark-files-containing-regexp)
9325 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9326 (dired-flag-auto-save-files, dired-flag-backup-files):
9328 (dired-mark-files-regexp, dired-build-subdir-alist):
9329 Use `string-match-p', `looking-at-p'.
9331 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9332 (direct-print-region-helper): Use `string-match-p'.
9334 2013-06-21 Leo Liu <sdl.web@gmail.com>
9336 * comint.el (comint-redirect-results-list-from-process):
9339 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9341 * net/eww.el (eww-update-header-line-format): Quote % characters.
9343 2013-06-21 Glenn Morris <rgm@gnu.org>
9345 * play/cookie1.el (cookie): New custom group.
9346 (cookie-file): New option.
9347 (cookie-check-file): New function.
9348 (cookie): Make it interactive. Make start and end messages optional.
9349 Interactively, display the result. Default to cookie-file.
9350 (cookie-insert): Default to cookie-file.
9351 (cookie-snarf): Make start and end messages optional.
9352 Default to cookie-file. Use with-temp-buffer.
9353 (cookie-read): Rename from read-cookie.
9354 Make start and end messages optional. Default to cookie-file.
9355 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9357 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9358 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9360 2013-06-21 Leo Liu <sdl.web@gmail.com>
9362 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9364 2013-06-21 Glenn Morris <rgm@gnu.org>
9366 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9368 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9369 Daniel Hackney <dan@haxney.org>
9371 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9372 Consolidate the single-file vs tarball code.
9373 (package-desc-suffix): New function.
9374 (package-desc-full-name): Don't bother inlining it.
9375 (package-load-descriptor): Return the new package-desc.
9376 (package-mark-obsolete): Remove unused arg `package'.
9377 (package-unpack): Make it work for single files as well.
9378 Make it update package-alist.
9379 (package--make-autoloads-and-stuff): Rename from
9380 package--make-autoloads-and-compile. Don't compile any more.
9381 (package--compile): New function.
9382 (package-generate-description-file): New function, extracted from
9383 package-unpack-single.
9384 (package-unpack-single): Remove.
9385 (package--with-work-buffer): Add indentation and debugging info.
9386 (package-download-single): Remove.
9387 (package-install-from-archive): Rename from package-download-tar, make
9388 it take a pkg-desc, and make it work for single files as well.
9389 (package-download-transaction): Simplify.
9390 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9391 external tar program.
9392 (package-install-from-buffer): Remove `pkg-desc' argument.
9393 Use package-tar-file-info for tar-mode buffers.
9394 (package-install-file): Simplify accordingly.
9395 (package-archive-base): Change to take a pkg-desc.
9396 * tar-mode.el (tar--check-descriptor): New function, extracted from
9398 (tar-get-descriptor): Use it.
9399 (tar-get-file-descriptor): New function.
9400 (tar--extract): New function, extracted from tar-extract.
9401 (tar--extract): Use it.
9402 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9403 case the summary uses non-ascii. Adjust to new calling convention of
9404 package-tar-file-info.
9406 2013-06-21 Leo Liu <sdl.web@gmail.com>
9408 * comint.el (comint-redirect-results-list-from-process):
9409 Fix random delay. (Bug#14681)
9411 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9413 * profiler.el (profiler-format-number): Use log, not log10.
9415 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9417 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9419 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9421 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9422 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9424 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9425 (AUTOGENEL): ... here.
9426 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9427 (cl--defsubst-expand): Use it.
9429 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9431 * subr.el (log10): Move here from C code, and declare as obsolete.
9432 All uses of (log10 X) replaced with (log X 10).
9434 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9436 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9437 Declare with `defvar-local'.
9438 (tabulated-list-use-header-line, tabulated-list-entries)
9439 (tabulated-list-padding, tabulated-list-printer)
9440 (tabulated-list-sort-key): Declare with `defvar-local'.
9441 (tabulated-list-init-header, tabulated-list-print-fake-header):
9444 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9446 * arc-mode.el (archive-mode): Add `archive-write-file' to
9447 `write-contents-functions' also for remote files. (Bug#14652)
9449 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9451 * cus-edit.el (custom-commands): Fix typos.
9452 (custom-display): Fix tooltip text.
9453 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9454 Fix typos in docstrings.
9455 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9456 (custom-unlispify-menu-entry, custom-magic-value-create)
9457 (custom-add-see-also, custom-group-value-create): Use ?\s.
9458 (custom-guess-type, customize-apropos, editable-field)
9459 (custom-face-value-create): Use `string-match-p'.
9460 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9462 * custom.el (custom-load-symbol): Use `string-match-p'.
9464 * ansi-color.el: Convert to lexical binding.
9465 (ansi-colors): Fix URL.
9466 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9467 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9468 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9470 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9472 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9474 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9476 2013-06-19 Tom Tromey <tromey@redhat.com>
9478 * net/eww.el (eww-top-url): Remove.
9479 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9480 (eww-render): Set new variables. Don't set eww-top-url.
9481 (eww-handle-link): Handle "prev", "home", and "contents".
9482 Downcase the rel text.
9483 (eww-top-url): Choose best top URL.
9485 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9487 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9488 relying in widget.el. Using widget.el leads to too many
9489 user interface inconsistencies.
9490 (eww-self-insert): Implement entering commands in text fields.
9491 (eww-process-text-input): New function to make text input field editing
9493 (eww-submit): Rewrite to use the new-style form methods.
9494 (eww-select-display): Display the correct selected item.
9495 (eww-change-select): Implement changing the select value.
9496 (eww-toggle-checkbox): Implement radio/checkboxes.
9497 (eww-update-field): Fix compilation error.
9498 (eww-tag-textarea): Implement <textarea>.
9500 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9501 we don't shadow mode-specific bindings.
9503 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9506 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9508 2013-06-19 Glenn Morris <rgm@gnu.org>
9510 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9512 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9514 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9517 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9519 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9521 * net/browse-url.el (browse-url-browser-function):
9522 `eww-browse-url' has the right calling signature, `eww' does not.
9524 2013-06-19 Glenn Morris <rgm@gnu.org>
9526 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9527 Only eval autoloaded macros.
9528 (byte-compile-autoload): Only give the macro warning for macros.
9530 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9531 (ps-underlined-faces): Declare.
9533 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9534 (speedbar-add-supported-extension): Declare.
9536 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9537 Don't include a date stamp in the header of the generated file;
9538 it leads to needless differences between output files.
9540 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9542 * net/secrets.el (secrets-struct-secret-content-type):
9543 Replace check of introspection data by a test call of "CreateItem".
9544 Some servers do not offer introspection.
9546 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9548 * electric.el (electric-pair-mode): Improve interaction with
9549 electric-layout-mode.
9550 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9551 (electric-pair-syntax): Use text-mode-syntax-table in comments
9553 (electric-pair--insert): New function.
9554 (electric-pair-post-self-insert-function): Use it and
9555 electric--after-char-pos.
9557 2013-06-19 Leo Liu <sdl.web@gmail.com>
9559 * progmodes/octave.el (octave-help): Fix regexp.
9561 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9563 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9564 (shr-table-horizontal-line): Allow nil as a value, and change the
9566 (shr-insert-table-ruler): Respect the nil value.
9568 2013-06-18 Tom Tromey <tromey@barimba>
9570 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9572 (eww-open-file): New defun.
9573 (eww-render): Initialize new variables.
9574 (eww-display-html): Handle "link" and "a".
9575 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9576 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9577 (eww-back-url): Rename from eww-previous-url.
9578 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9581 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9583 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9584 Distinguish ternary operator tokens from slash symbol and slash
9587 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9589 Convert symbol prettification into minor mode and global minor mode.
9591 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9592 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9593 (prettify-symbols--keywords): Rename from
9594 `prog-prettify-symbols-alist' and make a local defvar.
9595 (prettify-symbols--compose-symbol): Rename from
9596 `prog--prettify-font-lock-compose-symbol'.
9597 (prettify-symbols--make-keywords): Rename from
9598 `prog-prettify-font-lock-symbols-keywords' and simplify.
9599 (prog-prettify-install): Remove.
9600 (prettify-symbols-mode): New minor mode, based on
9601 `prog-prettify-install'.
9602 (turn-on-prettify-symbols-mode): New function.
9603 (global-prettify-symbols-mode): New globalized minor mode.
9605 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9606 * progmodes/cfengine.el (cfengine3-mode):
9607 * progmodes/perl-mode.el (perl-mode): Don't call
9608 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9610 2013-06-18 Juri Linkov <juri@jurta.org>
9612 * files-x.el (modify-file-local-variable-message): New function.
9613 (modify-file-local-variable)
9614 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9615 and call `modify-file-local-variable-message' when it's non-nil.
9616 (add-file-local-variable, delete-file-local-variable)
9617 (add-file-local-variable-prop-line)
9618 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9619 and use it. (Bug#9820)
9621 2013-06-18 Juri Linkov <juri@jurta.org>
9623 * emulation/vi.el (vi-shell-op):
9624 * emulation/vip.el (vip-execute-com, ex-command):
9625 * emulation/viper-cmd.el (viper-exec-bang):
9626 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9627 the call of `shell-command-on-region'. (Bug#14637)
9629 * simple.el (shell-command-on-region): Doc fix.
9631 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9633 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9636 2013-06-18 Glenn Morris <rgm@gnu.org>
9638 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9640 * newcomment.el (comment-search-forward, comment-search-backward):
9641 Doc fix. (Bug#14376)
9643 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9645 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9646 (buffer-face-mode-invoke): Doc fix.
9648 2013-06-18 Matthias Meulien <orontee@gmail.com>
9650 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9651 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9653 2013-06-18 Glenn Morris <rgm@gnu.org>
9655 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9656 Replace obsolete function generic-make-keywords with its expansion.
9658 * progmodes/python.el (ffap-alist): Declare.
9660 * textmodes/reftex.el (bibtex-mode-map): Declare.
9662 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9664 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9665 (package-unpack, package-unpack-single): Return the pkg-dir.
9666 (package-download-transaction): Use it to update package-alist.
9668 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9670 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9673 2013-06-17 Juri Linkov <juri@jurta.org>
9675 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9677 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9679 * emacs-lisp/package.el (package-load-descriptor):
9680 Remove `with-syntax-table' call, `read' doesn't need it.
9681 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9683 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9685 * startup.el (command-line): Expand package name returned by
9686 `package--description-file' (bug#14639).
9688 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9690 * emacs-lisp/package.el (package-load-descriptor): Do not call
9691 `emacs-lisp-mode', just use its syntax table.
9693 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9695 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9696 `font-lock-extra-managed-props' if any prettifying keyword is added.
9697 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9698 (prog-mode): Use `setq-local'.
9700 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9702 * international/characters.el (standard-case-table): Set syntax of ?»
9703 and ?« to punctuation.
9705 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9707 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9708 Save relevant match data before calling `syntax-ppss' (bug#14595).
9710 2013-06-15 Juri Linkov <juri@jurta.org>
9712 * files-x.el (modify-file-local-variable-prop-line): Add local
9713 variables to the end of the existing comment on the first line.
9714 Use `file-auto-mode-skip' to skip interpreter magic line,
9715 and also skip XML declaration.
9717 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9719 * startup.el (package--builtin-versions): New var.
9720 (package-subdirectory-regexp): Remove.
9721 (package--description-file): Hard code its value instead.
9723 * emacs-lisp/package.el: Don't activate packages older than builtin.
9724 (package-obsolete-list): Rename from package-obsolete-alist, and make
9725 it into a simple list of package-desc.
9726 (package-strip-version): Remove.
9727 (package-built-in-p): Use package--builtin-versions.
9728 (package-mark-obsolete): Simplify.
9729 (package-process-define-package): Mark it obsolete if older than the
9731 (package-handle-response): Use line-end-position.
9732 (package-read-archive-contents, package--download-one-archive):
9734 (package--add-to-archive-contents): Skip if older than the builtin or
9736 (package-menu-describe-package): Fix last change.
9737 (package-list-unversioned): New var.
9738 (package-menu--generate): Use it.
9740 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9741 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9742 (autoload-builtin-package-versions): New variable.
9743 (autoload-generate-file-autoloads): Use them.
9744 Remove the list of autoloaded functions/macros from the
9745 (autoload...) comments.
9747 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9749 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9751 * simple.el (line-move-partial): Don't jump to the next screen
9752 line as soon as it becomes visible. Instead, continue enlarging
9753 the vscroll until the portion of a tall screen line that's left on
9754 display is about the height of the frame's default font.
9757 2013-06-15 Glenn Morris <rgm@gnu.org>
9759 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9760 compilation-error-regexp-alist void, or local while let-bound.
9762 * progmodes/make-mode.el (makefile-mode-syntax-table):
9763 Treat "=" as punctuation. (Bug#14614)
9765 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9767 * help-fns.el (describe-variable):
9768 Add extra line for permanent-local variables.
9770 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9772 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9773 Add export, import, library. (Bug#9164)
9774 (library): Set indent function.
9776 2013-06-14 Glenn Morris <rgm@gnu.org>
9778 * term/xterm.el (xterm--query):
9779 Stop after first matching handler. (Bug#14615)
9781 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9783 Add support for dired in saveplace.
9784 * dired.el (dired-initial-position-hook): New variable.
9785 (dired-initial-position): Call hook to place cursor position.
9786 * saveplace.el (save-place-to-alist): Add dired position.
9787 (save-place-dired-hook): New function.
9789 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9791 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9792 through a symbol rather than letrec.
9794 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9795 (package-desc): Add `dir' field.
9796 (package-desc-full-name): New function.
9797 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9798 (package-maybe-load-descriptor): Remove.
9799 (package-load-all-descriptors): Just call package-load-descriptor.
9800 (package--disabled-p): New function.
9801 (package-desc-vers, package-desc-doc): Remove aliases.
9802 (package--dir): Remove function.
9803 (package-activate): Check if a package is disabled.
9804 (package-process-define-package): New function, extracted from
9806 (define-package): Turn into a place holder.
9807 (package-unpack-single, package-tar-file-info):
9808 Use package--description-file.
9809 (package-compute-transaction): Use package--disabled-p.
9810 (package-download-transaction): Don't call
9811 package-maybe-load-descriptor since they're all loaded anyway.
9812 (package-install): Change argument to be a pkg-desc.
9813 (package-delete): Use a single pkg-desc argument.
9814 (describe-package-1): Use package-desc-dir instead of package--dir.
9815 Use package-desc property instead of package-symbol.
9816 (package-install-button-action): Adjust accordingly.
9817 (package--push): Rewrite.
9818 (package-menu--print-info): Adjust accordingly. Change the ID format
9820 (package-menu-describe-package, package-menu-get-status)
9821 (package-menu--find-upgrades, package-menu-mark-upgrades)
9822 (package-menu-execute, package-menu--name-predicate):
9824 * startup.el (package--description-file): New function.
9825 (command-line): Use it.
9826 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9827 Use package-desc-version.
9829 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9830 (byte-compile-preprocess): Use it.
9831 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9832 can't quite recognize.
9833 (byte-compile-add-to-list): Remove.
9834 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9835 (cconv-closure-convert): Add assertion.
9837 * emacs-lisp/map-ynp.el: Use lexical-binding.
9838 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9839 Factor out some repeated code.
9841 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9843 * subr.el (with-eval-after-load): New macro.
9844 (eval-after-load): Allow form to be a function.
9845 take advantage of lexical-binding.
9846 (do-after-load-evaluation): Use dolist and adjust to new format.
9847 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9849 2013-06-13 Juri Linkov <juri@jurta.org>
9851 * replace.el (perform-replace): Display "symbol " and other search
9852 modes from `isearch-message-prefix' in the *Help* buffer.
9854 * isearch.el (isearch-query-replace): Add " symbol" and other
9855 possible search modes from `isearch-message-prefix' to the prompt.
9856 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9857 when reading a regexp to collect.
9859 2013-06-13 Juri Linkov <juri@jurta.org>
9861 * isearch.el (word-search-regexp): Match whitespace if the search
9862 string begins or ends in whitespace. The LAX arg is applied to
9863 both ends of the search string. Use `regexp-quote' and explicit
9864 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9865 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9866 boundaries are replaced with symbol boundaries, and characters
9867 between symbols match non-word non-symbol syntax. (Bug#14602)
9869 2013-06-13 Juri Linkov <juri@jurta.org>
9871 * isearch.el (isearch-del-char): Don't exceed the length of
9872 `isearch-string' by the prefix arg. (Bug#14563)
9874 2013-06-13 Juri Linkov <juri@jurta.org>
9876 * isearch.el (isearch-yank-word, isearch-yank-line)
9877 (isearch-char-by-name, isearch-quote-char)
9878 (isearch-printing-char, isearch-process-search-char):
9879 Add optional count prefix arg. (Bug#14563)
9881 * international/isearch-x.el
9882 (isearch-process-search-multibyte-characters):
9883 Add optional count prefix arg.
9885 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9887 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9888 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9891 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9893 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9895 2013-06-13 Glenn Morris <rgm@gnu.org>
9897 * startup.el (tty-handle-args):
9898 Don't just discard "--" and anything after. (Bug#14608)
9900 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9902 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9904 Implement changes in Secret Service API. Make it backward compatible.
9905 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9906 (secrets-create-item): Use it. Prefix properties with interface.
9908 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9910 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9911 (term-emulate-terminal): Respect term-suppress-hard-newline.
9913 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9915 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9916 Only remove a `thumb-file' overlay. (Bug#14548)
9918 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9920 * mail/reporter.el (reporter-submit-bug-report):
9921 Handle missing package-name. (Bug#14600)
9923 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9925 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9926 (reftex-citation-prompt, reftex-default-bibliography)
9927 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9928 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9929 (reftex-bib-sort-author, reftex-bib-sort-year)
9930 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9931 (reftex-extract-bib-entries-from-thebibliography)
9932 (reftex-get-bibkey-default, reftex-get-bib-names)
9933 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9934 (reftex-format-bib-entry, reftex-parse-bibitem)
9935 (reftex-format-bibitem, reftex-do-citation)
9936 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9937 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9938 (reftex-insert-bib-matches, reftex-format-citation)
9939 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9940 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9941 existing comments into docstrings.
9943 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9945 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9947 2013-06-12 Andreas Schwab <schwab@suse.de>
9949 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9950 for auto-save files.
9952 2013-06-12 Glenn Morris <rgm@gnu.org>
9954 * ido.el (ido-delete-ignored-files): Remove.
9955 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9956 Go back to calling ido-ignore-item-p directly.
9958 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9960 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9962 * ido.el (ido-delete-ignored-files): New function,
9963 split from ido-make-file-list-1.
9964 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9965 (ido-make-file-list-1): Use ido-delete-ignored-files.
9967 2013-06-12 Leo Liu <sdl.web@gmail.com>
9969 * progmodes/octave.el (inferior-octave-startup)
9970 (inferior-octave-completion-table)
9971 (inferior-octave-track-window-width-change)
9972 (octave-eldoc-function-signatures, octave-help)
9973 (octave-find-definition): Use single quoted strings.
9974 (inferior-octave-startup-args): Change default value.
9975 (inferior-octave-startup): Do not hard code "-i" and
9976 "--no-line-editing".
9977 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9978 (inferior-octave-directory-tracker): Use it.
9979 (octave-goto-function-definition): Robustify.
9980 (octave-help): Support highlighting operators in 'See also'.
9981 (octave-find-definition): Find subfunctions only in Octave mode.
9983 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9985 * help-fns.el (help-fns--compiler-macro): If the handler function is
9986 named, then put a link to it.
9987 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9988 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9990 (cl-eval-when): Simplify debug spec.
9991 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9992 compiler-macro function instead of setting `compiler-macro-file'.
9994 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9996 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9997 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9999 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10000 Daniel Hackney <dan@haxney.org>
10002 First part of Daniel Hackney's patch to package.el.
10003 * emacs-lisp/package.el: Use defstruct.
10004 (package-desc): New, main struct.
10005 (package--bi-desc, package--ac-desc): New structs, used to describe the
10006 format in external files.
10007 (package-desc-vers): Replace with package-desc-version accessor.
10008 (package-desc-doc): Replace with package-desc-summary accessor.
10009 (package-activate-1): Remove `package' arg since the pkg-vec now
10011 (define-package): Use package-desc-from-define.
10012 (package-unpack-single): Change file-name arg to be a symbol.
10013 (package--add-to-archive-contents): Use package-desc-create and new
10014 accessor functions to package--ac-desc.
10015 (package-buffer-info, package-tar-file-info): Return a package-desc.
10016 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10017 arg to be a package-desc.
10018 (package-install-file): Adjust accordingly. Use \' to match EOS.
10019 (package--from-builtin): New function.
10020 (describe-package-1, package-menu--generate): Use it.
10021 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10022 (package-generate-autoloads): Idem and return the name of the file.
10023 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10024 Change pkg-info arg to be a package-desc.
10025 Use package-make-ac-desc.
10026 (package-upload-file): Use \' to match EOS.
10027 * finder.el (finder-compile-keywords): Use package-make-builtin.
10029 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10031 * vc/vc.el (vc-deduce-fileset): Change error message.
10032 (vc-read-backend): New function.
10033 (vc-next-action): Use it.
10035 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10037 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10038 (prolog-font-lock-keywords): Use regexp-opt instead.
10039 Don't manually highlight strings.
10040 (prolog-mode-variables): Simplify comment-start-skip.
10041 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10043 * emacs-lisp/generic.el (generic--normalise-comments)
10044 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10045 (generic-mode-set-comments): Use them.
10046 (generic-bracket-support): Use setq-local.
10047 (generic-make-keywords-list): Declare obsolete.
10049 2013-06-11 Glenn Morris <rgm@gnu.org>
10051 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10052 Prettify after setting font-lock-defaults. (Bug#14574)
10054 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10056 * replace.el (query-replace, occur-read-regexp-defaults-function)
10058 * subr.el (declare-function, number-sequence, local-set-key)
10059 (substitute-key-definition, locate-user-emacs-file)
10060 (with-silent-modifications, split-string, eval-after-load):
10061 Fix typos, remove unneeded backslashes and reflow some docstrings.
10063 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10065 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10066 default for Elisp files.
10068 2013-06-11 Glenn Morris <rgm@gnu.org>
10070 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10071 although define-derived-mode was doing this anyway. (Bug#14583)
10073 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10075 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10076 Fix make-variable-buffer-local call to refer to the correct variable.
10078 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10080 * eshell/em-term.el (eshell-visual-commands)
10081 (eshell-visual-subcommands, eshell-visual-options):
10082 Add summary line to docstrings. Add cross-references.
10084 2013-06-10 Glenn Morris <rgm@gnu.org>
10086 * epa.el (epa-read-file-name): New function. (Bug#14510)
10087 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10089 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10091 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10092 output redirection to be ignored with visual commands.
10094 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10096 * eshell/em-term.el (eshell-visual-command-p): New function.
10097 (eshell-term-initialize): Move long lambda to separate function
10098 eshell-visual-command-p.
10099 * eshell/em-dirs.el (eshell-dirs-initialise):
10100 * eshell/em-script.el (eshell-script-initialize):
10101 Add missing #' to lambda.
10103 2013-06-08 Leo Liu <sdl.web@gmail.com>
10105 * progmodes/octave.el (octave-add-log-current-defun): New function.
10106 (octave-mode): Set add-log-current-defun-function.
10107 (octave-goto-function-definition): Do not move point if not found.
10108 (octave-find-definition): Enhance to try subfunctions first.
10110 2013-06-08 Glenn Morris <rgm@gnu.org>
10112 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10113 (byte-compile-backward-char, byte-compile-backward-word):
10114 Improve previous change, to handle non-explicit nil.
10116 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10118 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10119 (smie--opener/closer-at-point): New function.
10120 (smie--matching-block-data): Use it. Don't match from right after an
10121 opener or right before a closer. Obey smie-blink-matching-inners.
10122 Don't signal a mismatch for repeated inners like "switch..case..case".
10124 2013-06-07 Leo Liu <sdl.web@gmail.com>
10126 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10128 (octave-function-header-regexp): Fix. (Bug#14570)
10129 (octave-help-mode-finish-hook, octave-help-mode-finish):
10130 Remove. Just use temp-buffer-show-hook.
10132 * newcomment.el (comment-search-backward): Revert last change.
10135 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10137 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10139 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10140 through xargs, to avoid failure due to MS-Windows limitations on
10141 command-line length.
10143 2013-06-06 Glenn Morris <rgm@gnu.org>
10145 * font-lock.el (lisp-font-lock-keywords-2):
10146 Treat user-error like error.
10148 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10149 (byte-compile-backward-char, byte-compile-backward-word):
10150 Handle explicit nil arguments. (Bug#14565)
10152 2013-06-05 Alan Mackenzie <acm@muc.de>
10154 * isearch.el (isearch-allow-prefix): New user option.
10155 (isearch-other-meta-char): Don't exit isearch when a prefix
10156 argument is typed whilst `isearch-allow-prefix' is non-nil.
10159 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10161 * autorevert.el (auto-revert-notify-handler): Use memq.
10162 Hide assertion failure.
10164 * skeleton.el: Use cl-lib.
10165 (skeleton-further-elements): Use defvar-local.
10166 (skeleton-insert): Use cl-progv.
10168 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10170 * progmodes/prog-mode.el (prog-prettify-symbols)
10171 (prog-prettify-install): Update docstrings.
10173 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * simple.el: Move all the prog-mode code to prog-mode.el.
10176 * progmodes/prog-mode.el: New file.
10177 * loadup.el: Add prog-mode.el.
10179 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10181 * simple.el (prog-prettify-symbols): Add version.
10182 (prog-prettify-install): Add convenience function to prettify symbols.
10184 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10185 (perl--augmented-font-lock-keywords-1)
10186 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10187 variables and use it.
10189 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10190 (cfengine3-mode): Remove unneeded variable and use it.
10192 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10193 (lisp--augmented-font-lock-keywords-1)
10194 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10195 Remove unneeded variables and use it.
10197 2013-06-05 João Távora <joaotavora@gmail.com>
10199 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10200 to point when opening the connection. (Bug#14380)
10202 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10204 * subr.el (load-history-regexp, load-history-filename-element)
10205 (eval-after-load, after-load-functions, do-after-load-evaluation)
10206 (eval-next-after-load, display-delayed-warnings)
10207 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10208 definition of save-match-data.
10209 (overriding-local-map): Remove accidental obsolescence declaration.
10211 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10213 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10215 Generalize symbol prettify support to prog-mode and implement it
10216 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10217 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10218 (prog--prettify-font-lock-compose-symbol)
10219 (prog-prettify-font-lock-symbols-keywords): New variables and
10220 functions to support symbol prettification.
10221 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10222 (lisp--augmented-font-lock-keywords-1)
10223 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10224 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10225 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10226 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10227 Implement prettify of -> => :: strings.
10228 * progmodes/perl-mode.el (perl-prettify-symbols)
10229 (perl--font-lock-compose-symbol)
10230 (perl--font-lock-symbols-keywords): Move to prog-mode.
10231 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10232 (perl-font-lock-keywords-1)
10233 (perl-font-lock-keywords-2): Remove explicit prettify support.
10234 (perl--augmented-font-lock-keywords)
10235 (perl--augmented-font-lock-keywords-1)
10236 (perl--augmented-font-lock-keywords-2, perl-mode):
10237 Implement prettify support.
10239 2013-06-05 Leo Liu <sdl.web@gmail.com>
10241 Re-implement smie matching block highlight using
10242 show-paren-data-function. (Bug#14395)
10243 * emacs-lisp/smie.el (smie-matching-block-highlight)
10244 (smie--highlight-matching-block-overlay)
10245 (smie--highlight-matching-block-lastpos)
10246 (smie-highlight-matching-block)
10247 (smie-highlight-matching-block-mode): Remove.
10248 (smie--matching-block-data-cache): New variable.
10249 (smie--matching-block-data): New function.
10250 (smie-setup): Use smie--matching-block-data for
10251 show-paren-data-function.
10253 * progmodes/octave.el (octave-mode-menu): Fix.
10254 (octave-find-definition): Skip garbage lines.
10256 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10258 Fix compilation error with simultaneous dynamic+lexical scoping.
10259 Add warning when a defvar appears after the first let-binding.
10260 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10261 (byte-compile-close-variables): Initialize it.
10262 (byte-compile--declare-var): New function.
10263 (byte-compile-file-form-defvar)
10264 (byte-compile-file-form-define-abbrev-table)
10265 (byte-compile-file-form-custom-declare-variable): Use it.
10266 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10267 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10268 (byte-compile-bind): Handle dynamic bindings that shadow
10270 (byte-compile-unbind): Make arg non-optional.
10271 (byte-compile-let): Simplify.
10272 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10273 (cconv--analyse-function, cconv-analyse-form): Populate it.
10274 Protect byte-compile-bound-variables to limit the scope of defvars.
10275 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10276 Remove unneeded rule for `declare'.
10278 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10279 so as to avoid depending on cl-adjoin at run-time.
10280 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10282 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10283 (macroexp--warn-and-return): Use it.
10285 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10287 * subr.el: Convert to lexical binding.
10288 (overriding-local-map): Make obsolete.
10289 (add-to-list): Doc fix. Add compiler macro.
10290 (read-key): Swap values of local maps.
10292 2013-06-05 Leo Liu <sdl.web@gmail.com>
10294 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10296 2013-06-04 Leo Liu <sdl.web@gmail.com>
10298 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10299 (compilation-auto-jump): Suppress the "Mark set" message to give
10300 way to exit message.
10302 2013-06-04 Alan Mackenzie <acm@muc.de>
10304 Remove faulty optimisation from indentation calculation.
10305 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10306 search limit based on 2000 characters back from indent-point.
10308 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10310 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10312 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10314 * emacs-lisp/lisp.el: Use lexical-binding.
10315 (lisp--local-variables-1, lisp--local-variables): New functions.
10316 (lisp--local-variables-completion-table): New var.
10317 (lisp-completion-at-point): Use it complete let-bound vars.
10319 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10320 eagerly (bug#14422).
10322 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10324 * autorevert.el (auto-revert-notify-enabled)
10325 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10326 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10327 (auto-revert-notify-handler): Handle also gfilenotify.
10329 * subr.el (file-notify-handle-event): New defun. Replacing ...
10330 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10333 2013-06-03 Juri Linkov <juri@jurta.org>
10335 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10336 `M-s h .'. (Bug#14427)
10338 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10339 command `hi-lock-face-symbol-at-point'.
10340 (hi-lock-face-symbol-at-point): New command.
10341 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10342 (hi-lock-menu): Add `highlight-symbol-at-point'.
10343 (hi-lock-mode): Doc fix.
10345 * isearch.el (isearch-forward-symbol-at-point): New command.
10346 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10347 (isearch-highlight-regexp): Add a regexp which matches
10348 words/symbols for word/symbol mode.
10350 * subr.el (find-tag-default-bounds): New function with the body
10351 mostly moved from `find-tag-default'.
10352 (find-tag-default): Move most code to `find-tag-default-bounds',
10353 call it and apply `buffer-substring-no-properties' afterwards.
10355 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10357 * eshell/em-term.el (eshell-term-initialize):
10358 Use `cl-intersection' rather than `intersection'.
10360 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10362 * vc/log-view.el: Doc fix.
10363 (log-view-mode-map): Copy keymap from `special-mode-map'.
10365 2013-06-02 Eric Ludlam <zappo@gnu.org>
10367 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10368 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10369 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10370 (eieio-unbound, eieio-default-superclass)
10371 (eieio--define-field-accessors, method-static, method-before)
10372 (method-primary, method-after, method-num-lists)
10373 (method-generic-before, method-generic-primary)
10374 (method-generic-after, method-num-slots)
10375 (eieio-specialized-key-to-generic-key)
10376 (eieio--check-type, class-v, class-p)
10377 (eieio-class-name, define-obsolete-function-alias)
10378 (eieio-class-parents-fast, eieio-class-children-fast)
10379 (same-class-fast-p, class-constructor, generic-p)
10380 (generic-primary-only-p, generic-primary-only-one-p)
10381 (class-option-assoc, class-option, eieio-object-p)
10382 (class-abstract-p, class-method-invocation-order)
10383 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10384 (eieio-class-un-autoload, eieio-defclass)
10385 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10386 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10387 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10388 (eieio-defgeneric-reset-generic-form)
10389 (eieio-defgeneric-form-primary-only)
10390 (eieio-defgeneric-reset-generic-form-primary-only)
10391 (eieio-defgeneric-form-primary-only-one)
10392 (eieio-defgeneric-reset-generic-form-primary-only-one)
10393 (eieio-unbind-method-implementations)
10394 (eieio--defmethod, eieio--typep)
10395 (eieio-perform-slot-validation, eieio-validate-slot-value)
10396 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10397 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10398 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10399 (eieio-slot-name-index, eieio-class-slot-name-index)
10400 (eieio-set-defaults, eieio-initarg-to-attribute)
10401 (eieio-attribute-to-initarg, eieio-c3-candidate)
10402 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10403 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10404 (eieio-class-precedence-list, eieio-generic-call-methodname)
10405 (eieio-generic-call-arglst, eieio-generic-call-key)
10406 (eieio-generic-call-next-method-list)
10407 (eieio-pre-method-execution-functions, eieio-generic-call)
10408 (eieio-generic-call-primary-only, eieiomt-method-list)
10409 (eieiomt-optimizing-obarray, eieiomt-install)
10410 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10411 (eieio-generic-form, eieio-defmethod, make-obsolete)
10412 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10413 (defclass): Remove `eval-and-compile' from macro.
10414 (call-next-method, shared-initialize): Instead of using
10415 `scoped-class' variable, use new eieio--scoped-class, and
10416 eieio--with-scoped-class.
10417 (initialize-instance): Rename local variable 'scoped-class' to
10418 'this-class' to remove ambiguitity from old global.
10420 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10422 (eieio--scoped-class-stack): New variable.
10423 (eieio--scoped-class): New fcn.
10424 (eieio--with-scoped-class): New scoping macro.
10425 (eieio-defclass): Use pushnew instead of add-to-list.
10426 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10427 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10428 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10429 `scoped-class' variable, use new eieio--scoped-class, and
10430 eieio--with-scoped-class.
10432 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10434 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10436 * eshell/esh-ext.el (eshell-external-command): Pass args to
10437 `eshell-find-interpreter'.
10438 (eshell-find-interpreter): Add new second parameter ARGS.
10440 * eshell/em-script.el (eshell-script-initialize): Add second arg
10441 to the function added as MATCH to `eshell-interpreter-alist'.
10443 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10444 the function added as MATCH to `eshell-interpreter-alist'.
10446 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10447 (eshell-visual-options): New defcustom.
10448 (eshell-escape-control-x): Adapt docstring.
10449 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10450 `eshell-visual-options' in addition to `eshell-visual-commands'.
10451 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10453 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10455 * progmodes/python.el (python-indent-block-enders): Add break,
10456 continue and raise keywords.
10458 2013-06-01 Glenn Morris <rgm@gnu.org>
10460 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10462 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10463 * progmodes/cc-cmds.el (delete-forward-p):
10464 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10465 * progmodes/cc-engine.el (buffer-syntactic-context):
10466 * progmodes/cc-fonts.el (face-property-instance):
10467 * progmodes/cc-mode.el (set-keymap-parents):
10468 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10469 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10470 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10471 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10472 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10474 * progmodes/cc-vars.el (other): Emacs has this widget since
10475 at least 21.1, so don't (re)define it.
10477 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10478 Replace the obsolete alias pcomplete-arg-quote-list.
10480 2013-06-01 Leo Liu <sdl.web@gmail.com>
10482 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10483 punctuation syntax.
10484 (inferior-octave-minimal-columns)
10485 (inferior-octave-last-column-width): New variables.
10486 (inferior-octave-track-window-width-change): New function.
10487 (inferior-octave-mode): Adjust column width so that Octave output,
10488 for example from 'ls', can fit into the window nicely.
10490 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10492 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10493 Highlight expansions inside regexp literals.
10495 2013-05-31 Glenn Morris <rgm@gnu.org>
10497 * obsolete/sym-comp.el (symbol-complete):
10498 Replace obsolete completion-annotate-function.
10500 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10502 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10504 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10505 New function, checks if point is inside a literal that allows
10506 expression expansion.
10507 (ruby-syntax-propertize-expansion): Use it.
10508 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10511 2013-05-30 Juri Linkov <juri@jurta.org>
10513 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10515 (isearch-invisible): New variable.
10516 (isearch-forward): Doc fix.
10517 (isearch-mode): Set `isearch-invisible'
10518 to the value of `search-invisible'.
10519 (isearch-toggle-case-fold): Doc fix.
10520 (isearch-toggle-invisible): New command.
10521 (isearch-query-replace): Let-bind `search-invisible'
10522 to the value of `isearch-invisible'.
10523 (isearch-search): Use `isearch-invisible' instead of
10524 `search-invisible'. Let-bind `search-invisible'
10525 to the value of `isearch-invisible'. (Bug#11378)
10527 2013-05-30 Juri Linkov <juri@jurta.org>
10529 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10530 call when `query-flag' is nil and `search-invisible' is non-nil.
10533 2013-05-30 Glenn Morris <rgm@gnu.org>
10535 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10537 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10538 (cc-require): Suppress spurious "noruntime" warnings.
10539 (cc-require-when-compile): Use fboundp, for sake of compiler.
10541 * progmodes/cc-mode.el: Move load of cc-vars before that of
10542 cc-langs (which in turn loads cc-vars), to quieten compiler.
10544 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10546 * paren.el: Simplify the code.
10547 (show-paren-mode): Always start the timer.
10548 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10549 (show-paren--overlay, show-paren--overlay-1): Rename from
10550 show-paren-overlay and show-paren-overlay-1, and initialize to an
10551 overlay rather than to nil.
10552 (show-paren-function): Misc cleanup and simplifications.
10554 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10556 * paren.el (show-paren-data-function): New hook.
10557 (show-paren--default): New function, extracted from show-paren-function.
10558 (show-paren-function): Use show-paren-data-function.
10560 2013-05-30 Glenn Morris <rgm@gnu.org>
10562 * ielm.el (ielm-map, ielm-complete-symbol):
10563 Use completion-at-point rather than obsolete functions.
10564 (inferior-emacs-lisp-mode): Doc fix.
10565 Set completion-at-point-functions, rather than
10566 comint-dynamic-complete-functions.
10568 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10569 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10570 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10572 * image.el (image-animated-p): Tweak definition.
10574 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10575 (rlogin-process-connection-type): Tweak default. Add set-after.
10576 (rlogin-host): Doc fix.
10577 (rlogin): Tweak prompt.
10578 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10580 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10581 * progmodes/tcl.el (inferior-tcl-mode-map):
10582 Use completion-at-point rather than obsolete alias.
10584 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10586 * minibuffer.el (read-file-name-completion-ignore-case):
10587 Move before completion--in-region, for eager macro expansion.
10589 2013-05-29 Juri Linkov <juri@jurta.org>
10591 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10592 for total count of matching lines. Add `global-matches' for total
10593 count of matches. Rename `matches' to `lines' for count of
10594 matching lines. Add `matches' for count of matches.
10595 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10596 to `prev-line' for line number of prev match endpt.
10597 Increment `matches' for every match. Print the number of
10598 matching lines in the header.
10599 (occur-context-lines): Rename `lines' to `curr-line'.
10600 Rename `prev-lines' to `prev-line'. (Bug#14017)
10602 2013-05-29 Juri Linkov <juri@jurta.org>
10604 * replace.el (perform-replace): Add `skip-read-only-count',
10605 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10606 Increment them for corresponding conditions and report the number
10607 of skipped occurrences in the final message. (Bug#11746)
10608 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10609 (replace-string, replace-regexp): Doc fix.
10611 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10613 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10615 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10616 prog-mode-map (bug#14504).
10618 2013-05-29 Leo Liu <sdl.web@gmail.com>
10620 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10621 (octave-help): Small simplification.
10623 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10624 off the highlight first.
10626 2013-05-29 Glenn Morris <rgm@gnu.org>
10628 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10629 Handle idlwave-last-system-routine-info-cons-cell being nil.
10631 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10632 (idlwave-write-paths): Simplify via with-temp-buffer.
10634 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10635 * emulation/cua-rect.el: Also load cua-base at run time.
10637 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10638 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10639 (cperl-imenu-on-info): Require imenu.
10641 2013-05-28 Alan Mackenzie <acm@muc.de>
10643 Handle "capitalised keywords" correctly.
10644 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10646 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10648 * eshell/em-unix.el: Add -r option to cp.
10650 2013-05-28 Glenn Morris <rgm@gnu.org>
10652 * vc/vc-arch.el (vc-exec-after): Declare.
10653 (vc-switches): Autoload.
10654 * vc/vc-bzr.el: No need to require vc when compiling.
10655 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10656 (vc-resynch-buffer, vc-dir-refresh): Declare.
10657 (vc-setup-buffer, vc-switches): Autoload.
10658 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10659 (vc-resynch-buffer): Declare.
10660 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10661 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10662 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10663 (grep-read-regexp, grep-read-files, grep-expand-template)
10664 (vc-dir-refresh): Declare.
10665 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10666 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10667 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10668 * vc/vc-mtn.el (vc-exec-after): Declare.
10669 (vc-switches): Autoload.
10670 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10671 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10672 (vc-file-tree-walk): Declare.
10673 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10674 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10675 (vc-tag-precondition, vc-rename-master): Autoload.
10676 * vc/vc-svn.el (vc-exec-after): Declare.
10677 (vc-switches, vc-setup-buffer): Autoload.
10678 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10680 (vc-resynch-buffer): Declare.
10682 * obsolete/fast-lock.el (byte-compile-warnings):
10683 Don't warn about obsolete features in this obsolete file.
10685 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10686 Move definition before use.
10688 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10689 (dun-unix-verbs): Remove dun-zippy.
10690 (dun-zippy): Remove function.
10692 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10694 2013-05-27 Juri Linkov <juri@jurta.org>
10696 * replace.el (replace-search): New function with code moved out
10697 from `perform-replace'.
10698 (replace-highlight, replace-dehighlight): Move function definitions
10699 up closer to `replace-search'. (Bug#11746)
10701 2013-05-27 Juri Linkov <juri@jurta.org>
10703 * replace.el (perform-replace): Ignore invisible matches.
10704 In addition to checking `query-replace-skip-read-only', also
10705 filter out matches by calling `run-hook-with-args-until-failure'
10706 on `isearch-filter-predicates', and also check `search-invisible'
10707 for t or call `isearch-range-invisible'.
10708 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10710 2013-05-27 Juri Linkov <juri@jurta.org>
10712 * isearch.el (isearch-filter-predicates): Rename from
10713 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10714 (isearch-message-prefix): Display text from the property
10715 `isearch-message-prefix' of the currently active filters.
10716 (isearch-search): Don't compare `isearch-filter-predicate' with
10717 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10718 on `isearch-filter-predicates'. Also check `search-invisible' for t
10719 or call `isearch-range-invisible'.
10720 (isearch-filter-visible): Make obsolete.
10721 (isearch-lazy-highlight-search):
10722 Call `run-hook-with-args-until-failure' on
10723 `isearch-filter-predicates' and use `isearch-range-invisible'.
10725 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10726 `isearch-filter-predicates' instead of `funcall'ing
10727 `isearch-filter-predicate'.
10728 (Info-mode): Set `Info-isearch-filter' to
10729 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10731 * dired-aux.el (dired-isearch-filter-predicate-orig):
10733 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10734 (dired-isearch-filenames-end): Add and remove
10735 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10736 instead of changing the value of `isearch-filter-predicate'.
10737 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10738 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10739 Put property `isearch-message-prefix' to "filename " on
10740 `dired-isearch-filter-filenames'.
10742 * wdired.el (wdired-change-to-wdired-mode):
10743 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10744 locally instead of changing `isearch-filter-predicate'.
10745 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10747 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10749 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10750 return the commit hash (Bug#14459). Also set the
10751 `vc-git-detached' property.
10752 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10753 (vc-git-mode-line-string): Use the same help-echo format whether
10754 in detached mode or not, because we know the actual revision now.
10755 When in detached mode, shorten the revision to 7 chars.
10757 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10759 * emacs-lisp/easy-mmode.el (define-minor-mode):
10760 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10761 mode hook and provide a docstring.
10763 2013-05-27 Alan Mackenzie <acm@muc.de>
10765 Remove spurious syntax-table text properties inserted by C-y.
10766 * progmodes/cc-mode.el (c-after-change): Also clear hard
10767 syntax-table property with value nil.
10769 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10771 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10772 when reading the events; the buffer layout shall not be changed.
10774 2013-05-27 Leo Liu <sdl.web@gmail.com>
10776 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10778 (inferior-octave-directory-tracker): Automatically re-sync
10780 (octave-help): Improve handling of 'See also'.
10782 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * doc-view.el: Minor naming convention tweaks.
10785 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10787 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10788 even if there's no `display' property yet (bug#14435).
10790 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10792 * subr.el (unmsys--file-name): Rename from reveal-filename.
10794 * Makefile.in (custom-deps, finder-data, autoloads)
10795 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10796 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10797 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10799 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10801 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10802 error-completion on the first 2 args of condition-case (bug#14446).
10805 2013-05-25 Leo Liu <sdl.web@gmail.com>
10807 * comint.el (comint-previous-matching-input): Do not flood the
10808 *Messages* buffer with trivial messages.
10810 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10812 * progmodes/flymake.el (flymake-nop): Don't return a string.
10813 (flymake-set-at): Fix typo.
10815 * simple.el (read--expression): New function, extracted from
10816 eval-expression. Set completion-at-point-functions (bug#14465).
10817 (eval-expression, eval-minibuffer): Use it.
10819 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10821 * progmodes/flymake.el (flymake-save-buffer-in-file)
10822 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10823 (flymake-selected-frame, flymake-log, flymake-ins-after)
10824 (flymake-set-at, flymake-get-buildfile-from-cache)
10825 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10826 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10827 Refine the doc string.
10828 (flymake-get-file-name-mode-and-masks): Reformat.
10829 (flymake-get-real-file-name-function): Fix a minor bug.
10831 2013-05-24 Juri Linkov <juri@jurta.org>
10833 * progmodes/grep.el (grep-mode-font-lock-keywords):
10834 Support =linenumber= format used by git-grep for lines with
10835 function names. (Bug#13549)
10837 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10839 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10840 0 after a semi-colon; it works better for smie-auto-fill.
10841 (octave--indent-new-comment-line): New function.
10842 (octave-indent-new-comment-line): Use it (indirectly).
10843 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10844 modify comment-line-break-function.
10846 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10847 (smie-setup): Use add-function to set it.
10849 2013-05-24 Sam Steingold <sds@gnu.org>
10851 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10852 argument (before the `interactive' argument).
10854 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10856 * image-mode.el (image-mode-winprops): Add winprops to
10857 image-mode-winprops-alist before running
10858 image-mode-new-window-functions.
10859 * doc-view.el (doc-view-new-window-function): Don't delay
10860 doc-view-goto-page via timers (bug#14435).
10862 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10864 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10865 (doc-view-desktop-save-buffer): New function.
10866 (doc-view-restore-desktop-buffer): New function.
10867 (desktop-buffer-mode-handlers):
10868 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10870 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10871 `desktop-save-buffer' function.
10873 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10875 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10876 (tramp-gvfs-file-name-handler): Raise a user error when
10877 `tramp-gvfs-enabled' is nil.
10878 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10879 Do not raise a user error when loading package. (Bug#14447)
10881 * net/xesam.el: Move to obsolete/.
10883 2013-05-24 Glenn Morris <rgm@gnu.org>
10885 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10887 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10889 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10890 (Info-find-node, Man-getpage-in-background): Declare.
10892 * mail/unrmail.el (unrmail):
10893 Replace obsolete detect-coding-with-priority.
10895 * net/socks.el (socks-split-string): Use this rather than split-string.
10896 (socks-nslookup-host): Update for above change.
10897 (dynamic-choice, s5-dynamic-choice-match)
10898 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10899 Comment out unused code.
10901 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10902 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10903 (gud-tooltip-echo-area): Make obsolete.
10904 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10906 * progmodes/js.el (js--optimize-arglist): Declare.
10908 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10910 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10911 (ediff-window-C): Declare.
10913 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10914 Tweak requires to silence compiler.
10916 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10917 (he-search-string, he-tried-table, he-expand-list)
10918 (he-init-string, he-string-member, he-substitute-string)
10919 (he-reset-string): Declare.
10921 * obsolete/options.el (list-options): Use custom-variable-p,
10922 rather than obsolete alias.
10924 2013-05-23 Sam Steingold <sds@gnu.org>
10926 * simple.el (shell-command-on-region): Pass the `replace' argument
10927 down to `call-process-region' to comply with the doc as reported on
10928 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10930 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * emacs-lisp/smie.el (smie-indent-forward-token)
10933 (smie-indent-backward-token): Handle string tokens (bug#14381).
10935 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10937 * ielm.el (ielm-menu): New menu.
10938 (inferior-emacs-lisp-mode): Set comment-start.
10940 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10942 * textmodes/reftex.el (reftex-ref-style-toggle):
10943 Fix deactivate action.
10945 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10946 Add cleveref macros.
10948 * textmodes/reftex-parse.el
10949 (reftex-locate-bibliography-files): Accept options for
10950 bibliography commands.
10951 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10952 Add addbibresource. Basic Biblatex support.
10954 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10956 * net/tramp-gvfs.el (top):
10957 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10958 when loading package. (Bug#14447)
10960 2013-05-23 Glenn Morris <rgm@gnu.org>
10962 * progmodes/js.el: No need to load comint when compiling.
10963 (ring-insert, comint-send-string, comint-send-input)
10964 (comint-last-input-end, ido-chop): Declare.
10966 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10967 * vc/ediff-mult.el: Adjust requires.
10968 (ediff-directories-internal, ediff-directory-revisions-internal)
10969 (ediff-patch-file-internal): Declare.
10970 * vc/ediff-ptch.el: Adjust requires.
10971 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10972 (ediff-find-file): Autoload.
10973 * vc/ediff-util.el: No need to load ediff when compiling.
10974 (ediff-regions-internal): Declare.
10975 * vc/ediff-wind.el: Adjust requires.
10976 (ediff-compute-toolbar-width): Define when compiling.
10977 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10978 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10979 (dired-get-filename, dired-get-marked-files)
10980 (ediff-last-dir-patch, ediff-patch-default-directory)
10981 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10982 (ediff-patch-buffer-internal): Declare.
10984 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10985 (ispell-process, ispell-buffer-local-words, lm-summary)
10986 (lm-section-start, lm-section-end): Declare.
10987 (checkdoc-ispell-init): Simplify.
10989 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10990 (he-string-member, he-reset-string, he-substitute-string): Declare.
10992 * eshell/em-ls.el: Adjust requires.
10993 (eshell-glob-regexp): Declare.
10994 * eshell/em-tramp.el: Adjust requires.
10995 (eshell-parse-command): Autoload.
10996 * eshell/em-xtra.el: Adjust requires.
10997 (eshell-parse-command): Autoload.
10998 * eshell/esh-ext.el: Adjust requires.
10999 (eshell-parse-command, eshell-close-handles): Autoload.
11000 * eshell/esh-io.el: Adjust requires.
11001 (eshell-output-filter): Autoload.
11002 * eshell/esh-util.el: No need to load tramp when compiling.
11003 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11005 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11006 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11007 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11008 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11009 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11010 * eshell/esh-opt.el, eshell/esh-proc.el:
11011 * eshell/esh-var.el: Adjust requires.
11012 * eshell/eshell.el: Do not require esh-util twice.
11013 (eshell-add-input-to-history): Declare.
11014 (eshell-command): Check history module is active before using it.
11016 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11018 2013-05-22 Leo Liu <sdl.web@gmail.com>
11020 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11022 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11024 * autorevert.el (auto-revert-notify-add-watch)
11025 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11026 it indicates changes in file modification time.
11028 2013-05-22 Glenn Morris <rgm@gnu.org>
11030 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11031 Always delete the autoloaded function from the noruntime and
11032 unresolved functions lists.
11034 * allout.el: No need to load epa, epg, overlay when compiling.
11035 (epg-context-set-passphrase-callback, epg-list-keys)
11036 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11037 (epg-key-user-id-list): Declare.
11039 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11040 (viper-set-parsing-style-toggling-macro)
11041 (viper-set-emacs-state-searchstyle-macros):
11042 Use called-interactively-p on Emacs.
11043 (viper-looking-back): Make it an obsolete alias. Update callers.
11044 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11045 Use looking-back rather than viper-looking-back.
11046 (viper-tmp-insert-at-eob, viper-enlarge-region)
11047 (viper-read-string-with-history, viper-register-to-point)
11048 (viper-append-to-register, viper-change-state-to-vi)
11049 (viper-backward-char-carefully, viper-forward-char-carefully)
11050 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11051 (viper-change-state-to-emacs): Declare.
11052 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11053 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11054 * emulation/viper-mous.el: Do not load viper-cmd.
11055 (viper-backward-char-carefully, viper-forward-char-carefully)
11056 (viper-forward-word, viper-adjust-window): Declare.
11058 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11060 * progmodes/idlw-help.el (idlwave-help-fontify):
11061 Use called-interactively-p.
11063 * term/w32console.el (w32-get-console-codepage)
11064 (w32-get-console-output-codepage): Declare.
11066 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11067 Remove unnecessary declarations.
11068 (dframe-message): Doc fix.
11070 * info.el (dframe-select-attached-frame, dframe-current-frame):
11073 * speedbar.el (speedbar-message): Make it an obsolete alias.
11074 Update all callers.
11075 (speedbar-with-attached-buffer)
11076 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11077 (speedbar-with-writable): Use backquote.
11078 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11079 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11080 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11081 rather than speedbar- aliases.
11082 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11083 (speedbar-make-specialized-keymap, speedbar-insert-button)
11084 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11085 (speedbar-do-function-pointer): Declare.
11086 (rmail-speedbar-button, rmail-speedbar-find-file)
11087 (rmail-speedbar-move-message):
11088 Use dframe-with-attached-buffer rather than speedbar- alias.
11089 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11090 (dframe-message, speedbar-make-specialized-keymap)
11091 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11092 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11093 (speedbar-insert-button, dframe-select-attached-frame)
11094 (dframe-maybee-jump-to-attached-frame)
11095 (speedbar-change-initial-expansion-list)
11096 (speedbar-previously-used-expansion-list-name): Declare.
11097 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11098 Use dframe-message, dframe-with-attached-buffer rather than
11100 (gud-sentinel): Silence compiler.
11101 * progmodes/vhdl-mode.el (speedbar-refresh)
11102 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11103 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11104 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11105 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11106 (speedbar-file-lists, speedbar-make-tag-line)
11107 (speedbar-line-directory, speedbar-goto-this-file)
11108 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11109 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11110 (speedbar-make-button, speedbar-reset-scanners)
11111 (speedbar-files-item-info, speedbar-line-text)
11112 (speedbar-find-file-in-frame, speedbar-set-timer)
11113 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11114 (speedbar-with-writable): Do not (re)define it.
11115 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11116 rather than speedbar- alias.
11118 2013-05-21 Leo Liu <sdl.web@gmail.com>
11120 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11122 (octave-mode): Tweak fill-nobreak-predicate.
11123 (inferior-octave-startup): Check process to avoid infinite loop.
11124 (inferior-octave): Pop to buffer first to show abornmal process
11127 2013-05-21 Glenn Morris <rgm@gnu.org>
11129 * printing.el (pr-menu-bar): Define when compiling.
11131 2013-05-21 Leo Liu <sdl.web@gmail.com>
11133 * progmodes/octave.el (octave-auto-fill): Remove.
11134 (octave-indent-new-comment-line): Improve.
11135 (octave-mode): Use auto fill mode through
11136 comment-line-break-function and fill-nobreak-predicate.
11137 (octave-goto-function-definition): Support DEFUN_DLD.
11138 (octave-beginning-of-defun): Small tweak.
11139 (octave-help): Show parent directory.
11141 2013-05-21 Glenn Morris <rgm@gnu.org>
11143 * files.el (dired-unmark):
11144 * progmodes/gud.el (gdb-input): Update declarations.
11146 * calculator.el (electric, ehelp): No need to load when compiling.
11147 (Electric-command-loop, electric-describe-mode): Declare.
11149 * doc-view.el (doc-view-current-converter-processes): Move before use.
11151 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11152 Move MODE-set-explicitly definition before use.
11154 * international/mule-diag.el (mule-diag):
11155 Don't use obsolete window-system-version.
11157 * mail/feedmail.el (smtpmail): No need to load when compiling.
11158 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11160 * mail/mail-utils.el (rfc822): No need to load when compiling.
11161 (rfc822-addresses): Autoload it.
11162 (mail-strip-quoted-names): Trivial simplification.
11164 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11165 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11167 * net/snmp-mode.el (tempo): Don't duplicate requires.
11169 * progmodes/prolog.el (info): No need to load when compiling.
11170 (comint): Require before shell requires it.
11171 (Info-goto-node): Autoload it.
11172 (Info-follow-nearest-node): Declare.
11173 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11175 * textmodes/artist.el (picture-mode-exit): Declare.
11177 * textmodes/reftex-parse.el (reftex-parse-from-file):
11178 Trivial rewrite so the compiler can parse it better.
11180 2013-05-20 Leo Liu <sdl.web@gmail.com>
11182 * progmodes/octave.el (octave-help-mode-map)
11183 (octave-help-mode-finish-hook): New variables.
11184 (octave-help-mode, octave-help-mode-finish): New functions.
11185 (octave-help): Use octave-help-mode.
11187 2013-05-20 Glenn Morris <rgm@gnu.org>
11189 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11191 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11193 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11194 start at point, so that expansion starting right after opening
11195 slash in a regexp is recognized.
11196 (ruby-syntax-before-regexp-re): New defvar, extracted from
11197 ruby-syntax-propertize-function. Since the value of this regexp
11198 is looked up at runtime now, we should be able to turn
11199 `ruby-syntax-methods-before-regexp' into a defcustom later.
11200 (ruby-syntax-propertize-function): Split regexp matching into two
11201 parts, for opening and closing slashes. That allows us to skip
11202 over string interpolations and support multiline regexps.
11203 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11204 for them, which calls `ruby-syntax-propertize-expansion'.
11205 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11206 call to `ruby-syntax-propertize-function'.
11207 (ruby-syntax-propertize-expansion): Extracted from
11208 `ruby-syntax-propertize-expansions'. Handles one expansion.
11209 (ruby-syntax-propertize-percent-literal): Leave point right after
11210 the percent symbol, so that the expression expansion rule can
11211 propertize the contents.
11212 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11214 (ruby-syntax-propertize-expansions): Remove.
11216 2013-05-18 Juri Linkov <juri@jurta.org>
11218 * man.el (Man-default-man-entry): Remove `-' from the end
11219 of the default value. (Bug#14400)
11221 2013-05-18 Glenn Morris <rgm@gnu.org>
11223 * comint.el (comint-password-prompt-regexp):
11224 Allow "password for XXX" where XXX contains colons (eg https://...).
11226 2013-05-18 Leo Liu <sdl.web@gmail.com>
11228 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11229 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11230 (octave-source-directories): Don't check process.
11231 (octave-source-directories, octave-find-definition): Doc fix.
11233 2013-05-18 Glenn Morris <rgm@gnu.org>
11235 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11236 Remove backspace/delete bindings. (Bug#14392)
11238 * cus-dep.el (custom-make-dependencies): Sort the output.
11239 (custom-versions-load-alist): Convert comment to doc.
11241 2013-05-17 Leo Liu <sdl.web@gmail.com>
11243 * newcomment.el (comment-search-backward): Stricter in finding
11244 comment start. (Bug#14303)
11246 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11247 (octave-comment-start-skip): Properly anchored.
11249 2013-05-17 Leo Liu <sdl.web@gmail.com>
11251 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11252 Clean up when turned off. (Bug#14395)
11253 (smie--highlight-matching-block-overlay): No longer buffer-local.
11254 (smie-highlight-matching-block): Adjust.
11256 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11258 Doc string fix for "nanoseconds" (Bug#14406).
11259 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11260 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11262 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11264 * calc/calc-units.el (math-extract-units): Preserve powers
11267 2013-05-17 Leo Liu <sdl.web@gmail.com>
11269 * subr.el (delete-consecutive-dups): New function.
11270 * ido.el (ido-set-matches-1): Use it.
11271 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11272 * ido.el (ido-remove-consecutive-dups): Remove.
11274 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11276 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11277 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11278 regexp-opt's `words'.
11280 2013-05-16 Leo Liu <sdl.web@gmail.com>
11282 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11283 (smie--highlight-matching-block-overlay)
11284 (smie--highlight-matching-block-lastpos)
11285 (smie--highlight-matching-block-timer): New variables.
11286 (smie-highlight-matching-block): New function.
11287 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11288 (smie-setup): Conditionally enable smie-blink-matching-open.
11290 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11292 Sync with upstream verilog-mode r840.
11293 * progmodes/verilog-mode.el (verilog-mode-version)
11294 (verilog-mode-release-date): Update.
11295 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11296 (verilog-sig-tieoff): Fix string error on
11297 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11298 (verilog-read-decls): Fix parameters confusing
11299 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11301 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11303 * subr.el (reveal-filename): New function.
11305 * loadup.el: Compute Emacs executable versions on MS-Windows,
11306 where executables have the .exe extension. Add a hard link
11307 emacs-XX.YY.ZZ.exe on MS-Windows.
11309 * Makefile.in (XARGS_LIMIT): New variable.
11310 (custom-deps, finder-data, autoloads)
11311 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11312 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11313 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11314 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11316 2013-05-16 Leo Liu <sdl.web@gmail.com>
11318 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11319 (octave-mode-menu, octave-mode-map): Remove its uses.
11321 2013-05-16 Reto Zimmermann <reto@gnu.org>
11323 Sync with upstream vhdl mode v3.34.2.
11324 * progmodes/vhdl-mode.el: Use `push' throughout.
11325 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11326 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11327 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11328 (vhdl-actual-generic-name): New option to derive actual generic name.
11329 (vhdl-port-paste-signals): Replace formal by actual generics.
11330 (vhdl-beautify): New name for old group vhdl-align. Update users.
11331 (vhdl-beautify-options): New option.
11332 (vhdl-last-input-event): New compat alias. Use throughout.
11333 (vhdl-goto-line): Replace user level function `goto-line'.
11334 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11335 vhdl-fix-statement-buffer.
11336 (vhdl-create-mode-menu): Add some entries.
11337 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11338 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11339 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11340 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11341 to force statements on one line.
11342 (vhdl-remove-trailing-spaces-region):
11343 New, split from vhdl-remove-trailing-spaces.
11344 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11345 Respect vhdl-beautify-options.
11346 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11347 (vhdl-update-sensitivity-list): Not add with index if exists without.
11348 Not include array index with signal. Ignore keywords in comments.
11349 (vhdl-get-visible-signals): Regexp tweaks.
11350 (vhdl-template-component-inst): Handle empty library.
11351 (vhdl-template-type): Add template for 'enum' type.
11352 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11353 Use vhdl-replace-string.
11354 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11355 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11356 (vhdl-speedbar-initialize): Update for above name change.
11357 (vhdl-compose-wire-components): Fix in handling of constants.
11358 (vhdl-error-regexp-emacs-alist): New variable.
11359 (vhdl-error-regexp-add-emacs): New function;
11360 adds support for new compile.el (Emacs 22+)
11361 (vhdl-generate-makefile-1): Change target order for single lib. units.
11362 Allow use of absolute file names.
11364 2013-05-16 Leo Liu <sdl.web@gmail.com>
11366 * simple.el (prog-indent-sexp): Indent enclosing defun.
11368 2013-05-15 Glenn Morris <rgm@gnu.org>
11370 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11371 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11372 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11373 (whitespace-highlight): Move to whitespace group.
11375 * comint.el (comint-source):
11376 * pcmpl-linux.el (pcmpl-linux):
11377 * shell.el (shell-faces):
11378 * eshell/esh-opt.el (eshell-opt):
11379 * international/ccl.el (ccl): Remove empty custom groups.
11381 * completion.el (dynamic-completion-mode):
11382 * jit-lock.el (jit-lock-debug-mode):
11383 * minibuffer.el (completion-in-region-mode):
11384 * type-break.el (type-break-mode-line-message-mode)
11385 (type-break-query-mode):
11386 * emulation/tpu-edt.el (tpu-edt-mode):
11387 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11388 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11389 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11391 * term/xterm.el (xterm): Change parent group to terminals.
11393 * master.el (master): Remove empty custom group.
11394 (master-mode): Remove unused :group argument.
11395 * textmodes/refill.el (refill): Remove empty custom group.
11396 (refill-mode): Remove unused :group argument.
11398 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11400 * cus-dep.el: Provide a feature.
11401 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11402 Don't mistakenly ignore files whose basenames match a basename
11403 from preloaded-file-list (eg cedet/ede/simple.el).
11404 Add a fallback method for getting :group.
11406 2013-05-15 Juri Linkov <juri@jurta.org>
11408 * isearch.el (isearch-char-by-name): Rename from
11409 `isearch-insert-char-by-name'. Doc fix.
11410 (isearch-forward): Mention `isearch-char-by-name' in
11411 the docstring. (Bug#13348)
11413 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11414 `exit-minibuffer' instead of
11415 `isearch-nonincremental-exit-minibuffer'.
11416 (isearch-edit-string): Remove mention of
11417 `isearch-nonincremental-exit-minibuffer' from docstring.
11418 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11419 (isearch-forward-exit-minibuffer)
11420 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11422 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11424 * loadup.el: Just use unversioned DOC.
11426 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11427 literals as extending to EOB.
11428 (nxml-last-fontify-end): Remove unused variable.
11429 (nxml-after-change1): Use with-silent-modifications.
11430 (nxml-extend-after-change-region): Simplify.
11431 (nxml-extend-after-change-region1): Remove function.
11432 (nxml-after-change1): Don't adjust for dependent regions.
11433 (nxml-fontify-matcher): Simplify.
11434 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11435 (xmltok-add-dependent): Remove function.
11436 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11437 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11438 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11439 unclosed <[[, <?, comment, and other literals as extending to EOB.
11440 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11441 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11443 (rng-do-some-validation-1): Don't mark dependent regions.
11444 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11445 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11446 (nxml-clear-dependent-regions): Remove functions.
11447 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11448 (nxml-ensure-scan-up-to-date):
11449 Don't clear&mark dependent regions.
11451 2013-05-15 Leo Liu <sdl.web@gmail.com>
11453 * progmodes/octave.el (octave-goto-function-definition):
11454 Improve and fix callers.
11456 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11458 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11459 the setter (bug#14387).
11461 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11462 surrounding group (bug#14402).
11464 2013-05-14 Juri Linkov <juri@jurta.org>
11466 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11469 2013-05-14 Glenn Morris <rgm@gnu.org>
11471 * progmodes/f90.el (f90-imenu-generic-expression):
11472 Fix typo in 2013-05-08 change. (Bug#14402)
11474 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11476 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11477 Remove signals for which replies are never received.
11479 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11481 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11482 (gdb-handler-alist, gdb-handler-number): Remove variables.
11483 (gdb-handler-list): New variable.
11484 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11485 (gdb-pending-handler-p, gdb-handle-reply)
11486 (gdb-remove-all-pending-triggers): New functions.
11487 (gdb-discard-unordered-replies): New defcustom.
11488 (gdb-handler): New defstruct.
11489 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11490 instead of gdb-pending-triggers. Update docstring.
11491 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11492 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11493 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11494 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11495 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11496 (gdb-frame-handler): Pending triggers are now automatically managed.
11497 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11499 (gdb-input): Automatically handles pending triggers. Update docstring.
11500 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11501 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11503 (gdb-done-or-error): Now use gdb-handle-reply.
11505 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11507 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11510 2013-05-14 Glenn Morris <rgm@gnu.org>
11512 * subr.el (user-emacs-directory-warning): New option.
11513 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11515 2013-05-14 Leo Liu <sdl.web@gmail.com>
11517 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11519 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11520 (octave-font-lock-texinfo-comment): Fix invalid search bound
11521 error: wrong side of point.
11523 2013-05-14 Glenn Morris <rgm@gnu.org>
11525 * progmodes/flymake.el (flymake-xml-program): New option.
11526 (flymake-xml-init): Use it.
11528 * term/xterm.el: Provide a feature.
11530 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11532 2013-05-13 Glenn Morris <rgm@gnu.org>
11534 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11535 Add compat aliases as a hack workaround. (Bug#14384)
11537 2013-05-13 Leo Liu <sdl.web@gmail.com>
11539 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11541 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11543 (octave-comment-start-skip): Include %!.
11544 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11546 2013-05-12 Leo Liu <sdl.web@gmail.com>
11548 * progmodes/octave.el (inferior-octave-startup): Store the value
11549 of __octave_srcdir__ for octave-source-directories.
11550 (inferior-octave-check-process): New function refactored out of
11551 inferior-octave-send-list-and-digest.
11552 (octave-source-directories)
11553 (octave-find-definition-filename-function): New variables.
11554 (octave-source-directories)
11555 (octave-find-definition-default-filename): New functions.
11556 (octave-find-definition): Improve to find functions implemented in C++.
11558 2013-05-12 Glenn Morris <rgm@gnu.org>
11560 * calendar/diary-lib.el (diary-outlook-format-1):
11561 Don't include dayname in the output. (Bug#14349)
11563 2013-05-11 Glenn Morris <rgm@gnu.org>
11565 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11567 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11568 Treat cc-provide like provide.
11570 2013-05-11 Kevin Ryde <user42@zip.com.au>
11572 * cus-dep.el (custom-make-dependencies):
11573 Use generated-autoload-load-name for the sake of files such
11574 such cedet/semantic/bovine/c.el, where the base file name
11575 is not in load-path. (Bug#5277)
11577 2013-05-11 Glenn Morris <rgm@gnu.org>
11579 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11582 2013-05-11 Leo Liu <sdl.web@gmail.com>
11584 * progmodes/octave.el (octave-indent-comment): Improve.
11585 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11586 (octave-eldoc-function-signatures, octave-eldoc-function):
11588 (octave-mode, inferior-octave-mode): Add eldoc support.
11590 2013-05-11 Richard Stallman <rms@gnu.org>
11592 * epa.el (epa-decrypt-file): Take output file name as argument
11593 and read it using `interactive'.
11595 2013-05-11 Leo Liu <sdl.web@gmail.com>
11597 * progmodes/octave.el (octave-beginning-of-line)
11598 (octave-end-of-line): Check before using up-list because it jumps
11599 out of more syntactic contructs since moving to smie.
11600 (octave-indent-comment): New function.
11601 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11602 (octave-begin-keywords, octave-end-keywords)
11603 (octave-reserved-words, octave-smie-bnf-table)
11604 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11606 2013-05-11 Glenn Morris <rgm@gnu.org>
11608 * faces.el (internal-face-x-get-resource):
11609 * frame.el (ns-display-monitor-attributes-list):
11610 * calc/calc-aent.el (math-to-radians-2):
11611 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11614 * calc/calc-menu.el: Make it loadable in isolation.
11616 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11617 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11618 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11619 (eudc-bbdb-query-internal): Require 'bbdb.
11621 * lpr.el (lpr-headers-switches):
11622 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11624 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11626 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11628 * term.el (term-set-escape-char): Make it idempotent.
11630 2013-05-10 Leo Liu <sdl.web@gmail.com>
11632 * progmodes/octave.el (inferior-octave-completion-table):
11633 No longer a function and all uses changed. Use cache to speed up
11634 completion due to bug#11906.
11635 (octave-beginning-of-defun): Re-write to be more general.
11637 2013-05-10 Glenn Morris <rgm@gnu.org>
11639 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11641 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11643 * comint.el (comint-redirect-send-command-to-process): Use :around
11644 rather than :override for comint-redirect-filter.
11645 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11646 Call it instead of comint-redirect-original-filter-function (which
11647 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11649 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11651 * frame.el (display-monitor-attributes-list): Add NS case.
11652 (ns-display-monitor-attributes-list): Declare.
11654 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11656 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11658 2013-05-09 Glenn Morris <rgm@gnu.org>
11660 * international/fontset.el (vertical-centering-font-regexp):
11661 Set standard-value.
11663 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11665 * bookmark.el (bookmark-search-delay):
11666 * cus-start.el (vertical-centering-font-regexp):
11667 * ps-mule.el (ps-mule-font-info-database-default):
11668 * ps-print.el (ps-default-fg, ps-default-bg):
11669 * type-break.el (type-break-good-break-interval):
11670 * whitespace.el (whitespace-indentation-regexp)
11671 (whitespace-space-after-tab-regexp):
11672 * emacs-lisp/testcover.el (testcover-1value-functions)
11673 (testcover-noreturn-functions, testcover-progn-functions)
11674 (testcover-prog1-functions):
11675 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11676 * eshell/em-glob.el (eshell-glob-translate-alist):
11677 * play/tetris.el (tetris-tty-colors):
11678 * progmodes/cpp.el (cpp-face-default-list):
11679 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11680 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11681 (idlwave-help-browser-generic-args):
11682 * progmodes/make-mode.el (makefile-special-targets-list):
11683 * progmodes/python.el (python-shell-virtualenv-path):
11684 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11685 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11686 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11687 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11688 * textmodes/reftex-vars.el (reftex-format-label-function):
11689 * textmodes/remember.el (remember-diary-file): Fix custom types.
11691 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11694 2013-05-09 Leo Liu <sdl.web@gmail.com>
11696 * progmodes/octave.el (inferior-octave-completion-at-point):
11697 Restore file completion. (Bug#14300)
11698 (inferior-octave-startup): Fix incorrect highlighting for the
11701 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11703 * progmodes/ruby-mode.el: First cut at SMIE support.
11704 (ruby-use-smie): New var.
11705 (ruby-smie-grammar): New constant.
11706 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11707 (ruby-smie--forward-token, ruby-smie--backward-token)
11708 (ruby-smie-rules): New functions.
11709 (ruby-mode-variables): Setup SMIE if applicable.
11711 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11713 * simple.el (line-move-visual): Signal beginning/end of buffer
11714 only if vertical-motion moved less than it was requested. Avoids
11715 silly incorrect error messages when there are display strings with
11716 multiple newlines at EOL.
11718 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11720 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11721 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11722 (prolog-char-quote-workaround):
11723 * progmodes/cperl-mode.el (cperl-under-as-char):
11724 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11726 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11728 (vhdl-mode-syntax-table-init): Remove.
11730 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11733 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11735 (ld-script-font-lock-keywords):
11736 Change regexps to use things like \_< and \_>.
11738 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11739 Change all regexps to use things like \_< and \_>.
11741 * progmodes/autoconf.el (autoconf-definition-regexp)
11742 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11743 Handle a _ with symbol syntax.
11744 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11746 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11747 Consolidate declaration.
11748 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11750 (ada-create-syntax-table): Remove.
11751 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11752 already has the right syntax nowadays.
11753 (ada-goto-next-word): Don't change the syntax of "_".
11755 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11758 2013-05-08 Sam Steingold <sds@gnu.org>
11760 * thingatpt.el (thing-at-point): Accept optional second argument
11761 NO-PROPERTIES to strip the text properties from the return value.
11762 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11763 to `thing-at-point' instead of stripping the properties ourselves.
11764 Also, when `thing-at-point' fails to find a url, prepend "http://"
11765 to the filename at point on the assumption that the user is
11766 pointing at something like gnu.org/gnu.
11768 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11770 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11771 * faces.el (crm-separator):
11772 Silence byte-compiler.
11774 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11775 (tool-bar-map): Remove unneeded defvars.
11777 2013-05-08 Leo Liu <sdl.web@gmail.com>
11779 Re-work a fix for bug#10994 based on Le Wang's patch.
11780 * ido.el (ido-remove-consecutive-dups): New helper.
11781 (ido-completing-read): Use it.
11782 (ido-chop): Revert fix for bug#10994.
11784 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11786 * cus-edit.el (custom-save-variables):
11787 Pretty-print long values. (Bug#14187)
11789 2013-05-08 Glenn Morris <rgm@gnu.org>
11791 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11792 (m4-mode-syntax-table): Init in the defvar.
11793 (m4-mode-abbrev-table): Let define-derived-mode define it.
11795 2013-05-08 Tom Tromey <tromey@redhat.com>
11797 * progmodes/m4-mode.el (m4-mode-syntax-table):
11798 Do not treat "_" as word constituent. (Bug#14167)
11800 2013-05-07 Glenn Morris <rgm@gnu.org>
11802 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11803 Remove explicit eshell-isearch-cancel-map.
11805 * progmodes/f90.el (f90-smart-end-names): New option.
11806 (f90-smart-end): Doc fix.
11807 (f90-end-block-optional-name): New constant.
11808 (f90-block-match): Respect f90-smart-end-names.
11810 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11812 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11813 about implicit semi-colons (bug#14218).
11815 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11817 * frame.el (display-monitor-attributes-list)
11818 (frame-monitor-attributes): New functions.
11820 2013-05-06 Leo Liu <sdl.web@gmail.com>
11822 * progmodes/octave.el (octave-syntax-propertize-function): Change
11823 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11824 (octave-font-lock-keywords): Use octave-operator-regexp.
11825 (octave-completion-at-point): Rename from
11826 octave-completion-at-point-function.
11827 (inferior-octave-directory-tracker): Robustify.
11828 (octave-text-functions): Remove and fix its uses. No such things
11831 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11833 * emacs-lisp/trace.el (trace--display-buffer): New function.
11834 (trace-make-advice): Use it.
11836 2013-05-06 Juri Linkov <juri@jurta.org>
11838 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11839 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11841 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11842 in the help string. (Bug#12985)
11844 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11846 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11848 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11850 * progmodes/perl-mode.el: Add support for here documents.
11851 (perl-syntax-propertize-function): Match here-doc markers.
11852 (perl-syntax-propertize-special-constructs): Find their end.
11853 (perl-imenu-generic-expression): Use [:alnum:].
11855 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11856 (advice--add-function): Refresh the advice if already present
11859 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11861 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11863 2013-05-06 Glenn Morris <rgm@gnu.org>
11865 * w32-fns.el (w32-charset-info-alist): Declare.
11867 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11868 of its defcustom properties.
11869 (eshell-cmpl-initialize): No need to load pcomplete.
11871 * generic-x.el: No need to require comint when compiling.
11873 * net/eudc-export.el: Make it loadable without bbdb.
11874 (top-level): Use require rather than load-library.
11875 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11876 (eudc-batch-export-records-to-bbdb)
11877 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11880 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11882 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11883 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11884 some tweaks, instead.
11886 2013-05-05 Leo Liu <sdl.web@gmail.com>
11888 * progmodes/octave.el (octave-font-lock-keywords)
11889 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11890 (inferior-octave-send-list-and-digest): Improve error message.
11891 (octave-mode, inferior-octave-mode): Use setq-local.
11892 (octave-help): Set info-lookup-mode.
11894 2013-05-05 Richard Stallman <rms@gnu.org>
11896 * vc/compare-w.el (compare-windows-whitespace):
11897 Treat no-break space as whitespace.
11899 * mail/rmailsum.el (rmail-summary-rmail-update):
11900 Detect empty summary and don't change selected message.
11901 (rmail-summary-goto-msg): Likewise.
11903 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11904 Doc fixes, rename args.
11906 2013-05-05 Alan Mackenzie <acm@muc.de>
11908 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11910 2013-05-05 Juri Linkov <juri@jurta.org>
11912 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11913 to not add the length of the summary segment to the return value.
11916 2013-05-05 Leo Liu <sdl.web@gmail.com>
11918 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11919 (inferior-octave-output-filter): Remove.
11920 (octave-send-region, inferior-octave-startup): Fix callers.
11921 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11922 (octave-binary-file-extensions): New user variable.
11923 (octave-find-definition): Confirm if opening binary files.
11924 (octave-help-file): Use octave-find-definition to get the binary
11926 (octave-help): Adjust for octave-help-file change.
11928 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11930 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11931 Merge the two entries that handle function definitions.
11932 (pascal--syntax-propertize): New const.
11933 (pascal-mode): Use it. Use setq-local.
11935 2013-05-04 Glenn Morris <rgm@gnu.org>
11937 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11938 (diary-from-outlook): Respect diary-from-outlook-function.
11940 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11942 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11943 Move the declaration from C.
11944 (read-minibuffer, eval-minibuffer): Move from C.
11945 (completion-setup-function): Avoid minibuffer-completion-contents.
11947 2013-05-03 Leo Liu <sdl.web@gmail.com>
11949 * progmodes/octave.el (octave-font-lock-keywords): Do not
11950 dehighlight 'end' in comments or strings.
11951 (octave-completing-read, octave-goto-function-definition):
11953 (octave-help-buffer): New user variable.
11954 (octave-help-file, octave-help-function): New button types.
11955 (octave-help): New command and bind it to C-h ;.
11956 (octave-find-definition): New command and bind it to M-.
11957 (user-error): Alias to error if not defined.
11959 2013-05-02 Leo Liu <sdl.web@gmail.com>
11961 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11963 (octave-font-lock-keywords): Include [ and {.
11965 2013-05-02 Leo Liu <sdl.web@gmail.com>
11967 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11968 (inferior-octave): Remove calling comint-mode and return the buffer.
11969 (inferior-octave-startup): Cosmetic changes.
11971 2013-05-02 Leo Liu <sdl.web@gmail.com>
11973 * progmodes/octave.el (octave-syntax-propertize-function):
11974 Include the case when ' is at line beginning. (Bug#14336)
11976 2013-05-02 Glenn Morris <rgm@gnu.org>
11978 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11979 * desktop.el (vc-dir-mode): Just autoload it here.
11981 2013-05-02 Alan Mackenzie <acm@muc.de>
11983 Eliminate variable c-standard-font-lock-fontify-region-function.
11984 * progmodes/cc-mode.el
11985 (c-standard-font-lock-fontify-region-function): Remove.
11986 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11988 2013-05-01 Leo Liu <sdl.web@gmail.com>
11990 * progmodes/octave.el: Compatible with older emacs-24 releases.
11991 (inferior-octave-has-built-in-variables): Remove. Built-in
11992 variables were removed from Octave in 2007.
11993 (inferior-octave-startup): Fix uses.
11994 (comint-line-beginning-position): Remove compatibility code for
11997 2013-05-01 Juri Linkov <juri@jurta.org>
11999 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12001 2013-05-01 Juri Linkov <juri@jurta.org>
12003 * comint.el (comint-previous-matching-input): Don't print message
12004 "History item: %d" when `isearch-mode' is active.
12005 (comint-history-isearch-message): Print message "History item: %d"
12006 when `comint-input-ring-index' is not empty and this function is
12007 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12009 2013-05-01 Leo Liu <sdl.web@gmail.com>
12011 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12012 definitions. Use completion-at-point to insert keywords.
12013 (octave-abbrev-start): Remove.
12014 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12016 2013-04-30 Leo Liu <sdl.web@gmail.com>
12018 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12021 2013-04-30 Alan Mackenzie <acm@muc.de>
12023 Handle arbitrarily long C++ member initialisation lists.
12024 * progmodes/cc-engine.el (c-back-over-member-initializers):
12026 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12027 (most) member init lists.
12029 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12031 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12034 2013-04-30 Leo Liu <sdl.web@gmail.com>
12036 * progmodes/octave.el (octave-variables): Remove. No builtin
12037 variables any more. All converted to functions.
12038 (octave-font-lock-keywords, octave-completion-at-point-function):
12040 (octave-font-lock-texinfo-comment): New user variable.
12041 (octave-texinfo-font-lock-keywords): New variable for texinfo
12043 (octave-function-comment-block): New face.
12044 (octave-font-lock-texinfo-comment): New function.
12045 (octave-mode): Font lock texinfo comment block.
12047 2013-04-29 Leo Liu <sdl.web@gmail.com>
12049 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12050 indexing expression.
12051 (octave-continuation-string): Do not use \.
12052 (inferior-octave-complete-impossible): Remove.
12053 (inferior-octave-completion-table)
12054 (inferior-octave-completion-at-point): Remove its uses.
12055 (inferior-octave-startup): completion_matches was introduced to
12056 Octave in 1996 so safe to assume it.
12057 (octave-function-file-comment): Improve to follow how Octave does it.
12058 (octave-update-function-file-comment): Tweak.
12060 2013-04-29 Leo Liu <sdl.web@gmail.com>
12062 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12063 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12064 (octave-function-file-comment): Fix typo.
12065 (octave-sync-function-file-names): Use read-char-choice.
12067 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12069 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12070 to t for the less important warnings.
12072 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12074 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12076 2013-04-27 Glenn Morris <rgm@gnu.org>
12078 * vc/log-view.el (log-view-current-entry):
12079 Treat "---" separator lines as part of the following rev. (Bug#14169)
12081 2013-04-27 Juri Linkov <juri@jurta.org>
12083 * subr.el (read-number): Doc fix about using it by interactive
12084 code letter `n'. (Bug#14254)
12086 2013-04-27 Juri Linkov <juri@jurta.org>
12088 * desktop.el (desktop-auto-save-timeout): New option.
12089 (desktop-file-checksum): New variable.
12090 (desktop-save): Add optional arg `auto-save' and don't auto-save
12091 if nothing changed.
12092 (desktop-auto-save-timer): New variable.
12093 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12094 (after-init-hook): Call `desktop-auto-save-set-timer'.
12095 Suggested by Reuben Thomas <rrt@sc3d.org> in
12096 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12098 2013-04-27 Leo Liu <sdl.web@gmail.com>
12100 * progmodes/octave.el (octave-function-file-p)
12101 (octave-skip-comment-forward, octave-function-file-comment)
12102 (octave-update-function-file-comment): New functions.
12103 (octave-mode-map): Bind C-c ; to
12104 octave-update-function-file-comment.
12105 (octave-mode-menu): Add octave-update-function-file-comment.
12106 (octave-mode, inferior-octave-mode): Fix doc-string.
12107 (octave-insert-defun): Conform to Octave's coding convention.
12110 * files.el (basic-save-buffer): Don't let errors in
12111 before-save-hook prevent saving buffer.
12113 2013-04-20 Roland Winkler <winkler@gnu.org>
12115 * faces.el (read-face-name): Use completing-read if arg multiple
12118 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12120 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12121 displayed, move point to after the totals line.
12122 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12125 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12127 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12128 Add current dir to the load-path.
12129 (package-generate-autoloads): Don't rely on
12130 autoload-ensure-default-file.
12132 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12134 * textmodes/remember.el (remember-store-in-files): Document that
12135 the file name format is passed to `format-time-string'.
12137 2013-04-26 Leo Liu <sdl.web@gmail.com>
12139 * progmodes/octave.el (octave-sync-function-file-names): New function.
12140 (octave-mode): Use it in before-save-hook.
12142 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12144 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12147 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12148 \n and comment, even if it's not an implicit ; (bug#14218).
12150 2013-04-26 Glenn Morris <rgm@gnu.org>
12152 * subr.el (read-number): Once more use `read' rather than
12153 `string-to-number', to trap non-numeric input. (Bug#14254)
12155 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12157 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12158 Use `syntax-multiline' text property consistently instead of
12159 `font-lock-multiline'. (Bug#14237)
12161 2013-04-26 Glenn Morris <rgm@gnu.org>
12163 * emacs-lisp/shadow.el (list-load-path-shadows):
12164 No longer necessary to check for duplicate simple.el, since
12165 2012-07-07 change to init_lread to not include installation lisp
12166 directories in load-path when running uninstalled. (Bug#14270)
12168 2013-04-26 Leo Liu <sdl.web@gmail.com>
12170 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12171 (octave-mode, inferior-octave-mode): Use setq-local.
12172 (octave-not-in-string-or-comment-p): Rename to
12173 octave-in-string-or-comment-p.
12174 (octave-in-comment-p, octave-in-string-p)
12175 (octave-in-string-or-comment-p): Replace defsubst with defun.
12177 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12179 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12181 2013-04-25 Bastien Guerry <bzg@gnu.org>
12183 * textmodes/remember.el (remember-data-directory)
12184 (remember-directory-file-name-format): Fix custom types.
12186 2013-04-25 Leo Liu <sdl.web@gmail.com>
12188 * progmodes/octave.el (octave-completion-at-point-function):
12189 Make use of inferior octave process.
12190 (octave-initialize-completions): Remove.
12191 (inferior-octave-completion-table): New function.
12192 (inferior-octave-completion-at-point): Use it.
12193 (octave-completion-alist): Remove.
12195 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12197 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12198 (opascal-mode-syntax-table): New var.
12199 (opascal-literal-kind, opascal-is-literal-end)
12200 (opascal-literal-token-at): Rewrite.
12201 (opascal--literal-start-re, opascal-font-lock-keywords)
12202 (opascal--syntax-propertize): New constants.
12203 (opascal-font-lock-defaults): Adjust.
12204 (opascal-mode): Use them. Set comment-<foo> variables as well.
12205 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12206 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12207 (delphi-other-face, opascal-other-face): Remove face variables.
12208 (opascal-save-state): Remove macro.
12209 (opascal-fontifying-progress-step): Remove constant.
12210 (opascal--ignore-changes): Remove var.
12211 (opascal-set-token-property, opascal-parse-next-literal)
12212 (opascal-is-stable-literal, opascal-complete-literal)
12213 (opascal-is-literal-start, opascal-face-of)
12214 (opascal-parse-region, opascal-parse-region-until-stable)
12215 (opascal-fontify-region, opascal-after-change)
12216 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12217 (opascal-debug-parse-region, opascal-debug-parse-window)
12218 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12219 (opascal-debug-fontify-buffer): Remove.
12220 (opascal-debug-mode-map): Adjust accordingly.
12222 2013-04-25 Leo Liu <sdl.web@gmail.com>
12224 Merge octave-mod.el and octave-inf.el into octave.el with some
12226 * progmodes/octave.el: New file renamed from octave-mod.el.
12227 * progmodes/octave-inf.el: Merged into octave.el.
12228 * progmodes/octave-mod.el: Renamed to octave.el.
12230 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12232 * textmodes/reftex-vars.el
12233 (reftex-label-ignored-macros-and-environments): New defcustom.
12235 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12237 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12239 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12240 (smie-indent-keyword): Improve the check to ensure that the next
12241 comment is really on the same line.
12242 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12244 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12245 semi-colons if the line is not otherwise empty (bug#14218).
12247 2013-04-25 Glenn Morris <rgm@gnu.org>
12249 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12251 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12253 * progmodes/opascal.el (opascal-set-token-property): Rename from
12254 opascal-set-text-properties and only set `token' (bug#14134).
12255 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12256 (opascal-literal-text-properties): Remove.
12257 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12260 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12262 * textmodes/remember.el (remember-handler-functions): Add an
12263 option for a new handler `remember-store-in-files'.
12264 (remember-data-directory, remember-directory-file-name-format):
12266 (remember-store-in-files): New function to store remember notes
12267 as separate files within a directory.
12269 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12271 * progmodes/compile.el (compilation-next-error-function):
12272 Pass "formats" to compilation-find-file (bug#11777).
12274 2013-04-24 Glenn Morris <rgm@gnu.org>
12276 * vc/vc-bzr.el (vc-bzr-print-log):
12277 * vc/vc-hg.el (vc-hg-print-log):
12278 * vc/vc-svn.el (vc-svn-print-log):
12279 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12281 * vc/vc-bzr.el (vc-bzr-print-log):
12282 * vc/vc-cvs.el (vc-cvs-print-log):
12283 * vc/vc-git.el (vc-git-print-log):
12284 * vc/vc-hg.el (vc-hg-print-log):
12285 * vc/vc-mtn.el (vc-mtn-print-log):
12286 * vc/vc-rcs.el (vc-rcs-print-log):
12287 * vc/vc-sccs.el (vc-sccs-print-log):
12288 * vc/vc-svn.el (vc-svn-print-log):
12289 * vc/vc.el (vc-print-log-internal): Doc fixes.
12291 2013-04-23 Glenn Morris <rgm@gnu.org>
12293 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12294 Remove venerable code attempting to avoid substitute-command-keys.
12296 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12298 * textmodes/reftex-vars.el (reftex-label-regexps):
12299 Call `reftex-compile-variables' after changes to this variable.
12301 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12303 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12304 Use lexical-binding.
12305 (jit-lock-force-redisplay): Use markers, check buffer's continued
12306 existence and beware narrowed buffers.
12307 (jit-lock-fontify-now): Adjust call accordingly.
12309 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12311 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12312 to avoid misleading the user.
12314 2013-04-22 Leo Liu <sdl.web@gmail.com>
12316 * info-look.el: Prefer latex2e.info. (Bug#14240)
12318 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12320 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12322 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12323 * net/tramp.el (tramp-call-process): ... here.
12324 (tramp-set-completion-function, tramp-parse-putty):
12325 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12326 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12327 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12328 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12329 (tramp-call-local-coding-command): Use `tramp-call-process'
12330 instead of `tramp-compat-call-process'.
12332 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12333 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12334 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12335 (tramp-find-inline-compress): Improve traces.
12336 (tramp-maybe-send-script): Check for Perl binary.
12337 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12339 2013-04-22 Daiki Ueno <ueno@gnu.org>
12341 * epg.el (epg-context-pinentry-mode): New function.
12342 (epg-context-set-pinentry-mode): New function.
12343 (epg--start): Pass --pinentry-mode option to gpg command.
12345 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12347 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12348 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12349 `completion-at-point'. (Bug#13774)
12351 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12352 default key binding for `describe-distribution' has been moved to
12353 `C-h C-o'. (Bug#13970)
12355 2013-04-21 Glenn Morris <rgm@gnu.org>
12357 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12359 (vc-print-log): Clarify interactive prompt.
12361 2013-04-20 Glenn Morris <rgm@gnu.org>
12363 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12364 No longer include timestamp etc information.
12366 2013-04-20 Roland Winkler <winkler@gnu.org>
12368 * faces.el (read-face-name): Bug fix, return just one face if arg
12369 multiple is nil. (Bug#14209)
12371 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12373 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12374 (remove-function): Autoload.
12376 * comint.el (comint-redirect-original-filter-function): Remove.
12377 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12378 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12379 (vc-cvs-annotate-command):
12380 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12381 * progmodes/prolog.el (prolog-consult-compile):
12382 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12383 Use add/remove-function instead.
12384 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12385 (gud-tooltip-process-output, gud-tooltip-tips):
12386 Use add/remove-function instead.
12387 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12388 (scheme-interaction-mode, exit-scheme-interaction-mode):
12389 Use add/remove-function instead.
12391 * vc/vc-dispatcher.el: Use lexical-binding.
12392 (vc--process-sentinel): Rename from vc-process-sentinel.
12393 Change last arg to be the code to run. Don't use vc-previous-sentinel
12394 and vc-sentinel-commands any more.
12395 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12396 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12398 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12400 * progmodes/sh-script.el (sh-imenu-generic-expression):
12401 Handle function names with a single character. (Bug#14111)
12403 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12405 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12406 for subroutines defined in an eval (bug#14182).
12408 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12410 * bookmark.el (bookmark-completing-read): Improve handling of empty
12411 string (bug#14176).
12413 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12415 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12417 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12419 New faster Imenu implementation (bug#14058).
12420 * progmodes/python.el:
12421 (python-imenu-prev-index-position):
12422 (python-imenu-format-item-label-function)
12423 (python-imenu-format-parent-item-label-function)
12424 (python-imenu-format-parent-item-jump-label-function):
12426 (python-imenu-format-item-label)
12427 (python-imenu-format-parent-item-label)
12428 (python-imenu-format-parent-item-jump-label)
12429 (python-imenu--put-parent, python-imenu--build-tree)
12430 (python-imenu-create-index, python-imenu-create-flat-index)
12431 (python-util-popn): New functions.
12432 (python-mode): Set imenu-create-index-function to
12433 python-imenu-create-index.
12435 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12437 * winner.el (winner-active-region): Use region-active-p, activate-mark
12438 and deactivate-mark (bug#14225).
12440 * simple.el (deactivate-mark): Don't inline it.
12442 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12444 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12446 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12448 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12449 file extensions from the archive-mode entry in order to prefer
12450 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12452 2013-04-18 Leo Liu <sdl.web@gmail.com>
12454 * bindings.el (help-event-list): Add ?\?.
12456 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12458 * subr.el (with-wrapper-hook): Declare obsolete.
12459 * simple.el (filter-buffer-substring-function): New hook.
12460 (filter-buffer-substring): Use it.
12461 (filter-buffer-substring-functions): Mark obsolete.
12462 * minibuffer.el (completion-in-region-function): New hook.
12463 (completion-in-region): Use it.
12464 (completion-in-region-functions): Mark obsolete.
12465 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12466 * abbrev.el (abbrev-expand-function): New hook.
12467 (expand-abbrev): Use it.
12468 (abbrev-expand-functions): Mark obsolete.
12469 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12470 and :filter-return.
12472 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12474 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12475 and do not care about match data.
12477 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12480 completion tables when completing error conditions and
12481 `declare' arguments.
12482 (lisp-complete-symbol, field-complete): Mark as obsolete.
12483 (check-parens): Unmatched parens are user errors.
12484 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12486 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12488 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12489 command changed buffer (ie. `flyspell-pre-buffer' is not current
12490 buffer), which prevents making decisions based on invalid value of
12491 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12492 cause an error when `flyspell-pre-point' was nil after switching
12494 (flyspell-post-command-hook): No longer needs to change buffers when
12495 checking pre-word. While at it remove unnecessary progn.
12497 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12499 * textmodes/ispell.el (ispell-add-per-file-word-list):
12500 Fix `flyspell-correct-word-before-point' error when accepting
12501 words and `coment-padding' is an integer by using
12502 `comment-normalize-vars' (Bug #14214).
12504 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12506 New defun movement commands.
12507 * progmodes/python.el (python-nav--syntactically)
12508 (python-nav--forward-defun, python-nav-backward-defun)
12509 (python-nav-forward-defun): New functions.
12511 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12513 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12514 (python-syntax-context): Use named compiler-macro for backwards
12515 compatibility with Emacs 24.x.
12517 2013-04-17 Leo Liu <sdl.web@gmail.com>
12519 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12520 octave-hide-process-buffer.
12522 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12524 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12527 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12529 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12530 Fix adjustment of offset when receiving incomplete responses from GDB
12533 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12535 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12536 python-mode-abbrev-table.
12537 (python-skeleton-define): Adjust accordingly.
12538 (python-mode-abbrev-table): New table that inherits from it so that
12539 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12541 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12542 (abbrev-symbol): Use it.
12543 (abbrev--before-point): Use it since we already handle inheritance.
12545 2013-04-16 Leo Liu <sdl.web@gmail.com>
12547 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12548 binding to info-lookup-symbol.
12550 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12552 * minibuffer.el (completion--twq-all):
12553 * term/ns-win.el (ns-initialize-window-system):
12554 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12556 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12558 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12561 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12563 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12565 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12566 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12568 (ruby-end-of-defun): Remove the unused arg, change the docstring
12569 to reflect that this function is only used as the value of
12570 `end-of-defun-function'.
12571 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12572 to reflect an earlier change that beginning/end-of-defun functions
12573 jump between methods in a class definition, as well as top-level
12576 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * minibuffer.el (minibuffer-complete): Don't just scroll
12579 a *Completions* that's been iconified.
12580 (minibuffer-force-complete): Make sure repetitions do cycle when going
12581 through completion-in-region -> minibuffer-complete.
12583 2013-04-15 Alan Mackenzie <acm@muc.de>
12585 Correct the placement of c-cpp-delimiters when there're #s not at
12588 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12589 place a submatch around the #.
12590 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12591 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12594 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12596 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12597 (advice--member-p): New arg `name'.
12598 (advice--add-function, advice-member-p): Use it (bug#14202).
12600 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12602 Reformulate java imenu-generic-expression.
12603 The old expression contained ill formed regexps.
12605 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12606 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12607 (cc-imenu-java-method-arg-regexp): New defconsts.
12608 (cc-imenu-java-build-type-args-regex): New defun.
12609 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12610 handling of spaces in the regexp.
12612 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12614 * textmodes/ispell.el (ispell-command-loop): Remove
12615 flyspell highlight of a word when ispell accepts it (bug #14178).
12617 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12619 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12620 uses code from the previous `ange-ftp-run-real-handler'.
12621 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12622 only in case that function exist. This is needed for proper
12623 unloading of Tramp.
12625 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12627 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12629 * textmodes/reftex.el (reftex-compile-variables): Use it.
12631 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12633 * files.el (normal-mode): Only use default major-mode if no other mode
12636 * emacs-lisp/trace.el (trace-values): New function.
12638 * files.el: Allow : in local variables (bug#14089).
12639 (hack-local-variable-regexp): New var.
12640 (hack-local-variables-prop-line, hack-local-variables): Use it.
12642 2013-04-13 Roland Winkler <winkler@gnu.org>
12644 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12645 data before it gets modified by bibtex-beginning-of-entry.
12647 2013-04-13 Roland Winkler <winkler@gnu.org>
12649 * textmodes/bibtex.el (bibtex-url): Doc fix.
12651 2013-04-13 Roland Winkler <winkler@gnu.org>
12653 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12654 does not visit a BibTeX file, exclude it from the list of buffers
12655 returned by bibtex-initialize.
12657 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12659 * window.el (split-window): Remove interactive form, since as a
12660 command this function is a special case of split-window-below.
12661 Correct doc string.
12663 2013-04-12 Roland Winkler <winkler@gnu.org>
12665 * faces.el (read-face-name): Do not override value of arg default.
12666 Allow single faces and strings as default values. Remove those
12667 elements from return value that are not faces.
12668 (describe-face): Simplify.
12669 (face-at-point): New optional args thing and multiple so that this
12670 function can provide the same functionality previously provided by
12672 (make-face-bold, make-face-unbold, make-face-italic)
12673 (make-face-unitalic, make-face-bold-italic, invert-face)
12674 (modify-face, read-face-and-attribute): Use face-at-point.
12676 * cus-edit.el (customize-face, customize-face-other-window)
12677 * cus-theme.el (custom-theme-add-face)
12678 * face-remap.el (buffer-face-set)
12679 * facemenu.el (facemenu-set-face): Use face-at-point.
12681 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12683 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12685 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12687 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12688 off leading { and trailing } from field values.
12690 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12692 * emacs-lisp/timer.el (timer--check): New function.
12693 (timer--time, timer-set-function, timer-event-handler): Use it.
12694 (timer-set-idle-time): Simplify.
12695 (timer--activate): CSE.
12696 (timer-event-handler): Give more info in error message.
12697 (internal-timer-start-idle): New function, moved from C.
12699 * mpc.el (mpc-proc): Add `restart' argument.
12700 (mpc-proc-cmd): Use it.
12701 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12702 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12705 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12707 * progmodes/sh-script.el: Implement `sh-mode' own
12708 `add-log-current-defun-function' (bug#14112).
12709 (sh-current-defun-name): New function.
12710 (sh-mode): Use the function.
12712 2013-04-09 Bastien Guerry <bzg@gnu.org>
12714 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12716 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12720 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12723 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12725 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12728 2013-04-07 Leo Liu <sdl.web@gmail.com>
12730 * pcmpl-x.el: New file.
12732 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12734 Do not set x-display-name until X connection is established.
12735 This is needed to prevent from weird situation described at
12736 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12737 * frame.el (make-frame): Set x-display-name after call to
12738 window system initialization function, not before.
12739 * term/x-win.el (x-initialize-window-system): Add optional
12740 display argument and use it.
12741 * term/w32-win.el (w32-initialize-window-system):
12742 * term/ns-win.el (ns-initialize-window-system):
12743 * term/pc-win.el (msdos-initialize-window-system):
12744 Add compatible optional display argument.
12746 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12748 * files.el (normal-backup-enable-predicate): On MS-Windows and
12749 MS-DOS compare truenames of temporary-file-directory and of the
12750 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12751 don't fail comparison by compare-strings. Also, compare file
12752 names case-insensitively on MS-Windows and MS-DOS.
12754 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12756 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12757 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12759 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12761 * whitespace.el (whitespace-color-on, whitespace-color-off):
12762 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12764 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12766 * ispell.el (ispell-set-spellchecker-params):
12767 Really set `ispell-args' for all equivs.
12769 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12771 * ido.el (ido-completions): Use extra elements of ido-decorations
12773 (ido-decorations): Update docstring.
12775 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12777 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12778 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12779 nil during initialization, in order not to miss changes since the
12780 file was opened. (Bug#14140)
12782 2013-04-05 Leo Liu <sdl.web@gmail.com>
12784 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12786 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12788 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12790 2013-04-04 Glenn Morris <rgm@gnu.org>
12792 * electric.el (electric-pair-inhibit-predicate): Add :version.
12794 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12796 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12797 when a package is required several times (bug#14082).
12799 2013-04-04 Roland Winkler <winkler@gnu.org>
12801 * faces.el (read-face-name): Behave as promised by the docstring.
12802 Assume that arg default is a list of faces.
12803 (describe-face): Call read-face-name with list of default faces.
12805 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12807 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12808 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12809 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12811 (bookmark-exit-hook-internal): Save even if list is empty.
12813 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12815 * emacs-lisp/package.el (package-pinned-packages): New var.
12816 (package--add-to-archive-contents): Obey it (bug#14118).
12818 2013-04-03 Alan Mackenzie <acm@muc.de>
12820 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12821 Also adapt to the new values of element 7 of a parse state.
12823 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12824 parameter `not-in-delimiter'. Handle being inside comment opener.
12825 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12826 character in case we're typing a '*' after a '/'.
12827 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12828 instead by passing the parameter to c-state-pp-to-literal.
12830 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12831 for elt. 7 of a parse state.
12833 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12835 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12836 * international/latin1-disp.el, international/mule-util.el:
12837 * language/cyril-util.el, language/european.el, language/ind-util.el:
12838 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12839 * language/tibetan.el, language/viet-util.el:
12840 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12842 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12844 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12845 (electric-pair-post-self-insert-function): Use it.
12846 (electric-pair-default-inhibit): New function, extracted from
12847 electric-pair-post-self-insert-function.
12849 2013-03-31 Roland Winkler <winkler@gnu.org>
12851 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12853 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12855 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12857 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12859 Un-indent after "pass" and "return" statements (Bug#13888)
12860 * progmodes/python.el (python-indent-block-enders): New var.
12861 (python-indent-calculate-indentation): Use it.
12863 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12865 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12866 defun. Defining it as defalias could introduce too eager
12867 byte-compiler optimization. (Bug#14030)
12869 2013-03-30 Chong Yidong <cyd@gnu.org>
12871 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12873 2013-03-30 Leo Liu <sdl.web@gmail.com>
12875 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12876 (kmacro-execute-from-register): Pass the keyboard macro to
12877 kmacro-call-macro or repeating won't work correctly.
12879 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12881 * progmodes/subword.el: Back to using `forward-symbol'.
12883 * subr.el (forward-whitespace, forward-symbol)
12884 (forward-same-syntax): Move from thingatpt.el.
12886 2013-03-29 Leo Liu <sdl.web@gmail.com>
12888 * kmacro.el (kmacro-to-register): New command.
12889 (kmacro-execute-from-register): New function.
12890 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12892 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12894 * mpc.el: Use defvar-local and setq-local.
12895 (mpc--proc-connect): Connection failures are not bugs.
12896 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12897 (mpc-volume-map): Bind to the up-events.
12899 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12901 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12902 instead of `forward-symbol'.
12904 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12906 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12907 (edebug--recursive-edit): Use it.
12908 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12909 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12911 2013-03-28 Leo Liu <sdl.web@gmail.com>
12913 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12915 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12917 * facemenu.el (list-colors-callback): New defvar.
12918 (list-colors-redisplay): New function.
12919 (list-colors-display): Install list-colors-redisplay as the
12920 revert-buffer-function. (Bug#14063)
12922 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12924 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12925 and suffixes don't overlap (bug#14061).
12927 * case-table.el: Use lexical-binding.
12928 (case-table-get-table): New function.
12929 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12931 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12933 * progmodes/subword.el: Add `superword-mode' to do word motion
12934 over symbol_words (parallels and leverages `subword-mode' which
12935 does word motion inside MixedCaseWords).
12937 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12939 * eshell/em-unix.el: Move su and sudo to...
12940 * eshell/em-tramp.el: ...Eshell tramp module.
12942 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12945 Change return value to be a sexp. Delay `get-buffer' to after
12946 restoring the desktop (bug#13951).
12948 2013-03-26 Leo Liu <sdl.web@gmail.com>
12950 * register.el: Move semantic tag handling back to
12951 cedet/semantic/senator.el. (Bug#14052)
12953 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12955 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12956 into the prompt either (bug#13963).
12958 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12961 part of "(error-foo)".
12963 2013-03-24 Juri Linkov <juri@jurta.org>
12965 * replace.el (list-matching-lines-prefix-face): New defcustom.
12966 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12967 `occur-engine' if `face-differs-from-default-p' returns t.
12968 (occur-engine): Add `,' inside backquote construct to evaluate
12969 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12970 Pass `prefix-face' to the functions `occur-context-lines' and
12971 `occur-engine-add-prefix'.
12972 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12973 `prefix-face' and propertize the prefix with `prefix-face'.
12976 2013-03-24 Leo Liu <sdl.web@gmail.com>
12978 * nxml/rng-valid.el (rng-validate-while-idle)
12979 (rng-validate-quick-while-idle): Guard against deleted buffer.
12982 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12983 is the last entry in kill-buffer-hook.
12985 * files.el (kill-buffer-hook): Doc fix.
12987 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12989 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12990 Make it safe-local.
12992 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12994 2013-03-23 Leo Liu <sdl.web@gmail.com>
12996 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12999 * nxml/rng-valid.el (rng-validate-mode)
13000 (rng-after-change-function, rng-do-some-validation):
13001 * nxml/rng-maint.el (rng-validate-buffer):
13002 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13003 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13004 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13005 (nxml-extend-after-change-region): Use with-silent-modifications.
13007 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13010 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13011 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13012 timer-idle-list. (Bug#13999)
13014 2013-03-23 Juri Linkov <juri@jurta.org>
13016 * info.el (info-index-match): New face.
13017 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13018 main pattern and add text properties with the new face to matches
13019 in index entries relative to the beginning of the index entry.
13022 2013-03-21 Eric Ludlam <zappo@gnu.org>
13024 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13025 Inhibit read only while inserting objects.
13027 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13029 * progmodes/cfengine.el: Update docs to mention
13030 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13031 symbol motion. Remove "_" from the word syntax.
13033 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13035 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13036 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13038 2013-03-20 Juri Linkov <juri@jurta.org>
13040 * info.el (Info-next-reference-or-link)
13041 (Info-prev-reference-or-link): New functions.
13042 (Info-next-reference, Info-prev-reference): Use them.
13043 (Info-try-follow-nearest-node): Handle footnote navigation.
13044 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13046 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13049 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13051 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13053 Suppress unnecessary non-ASCII chatter during build process.
13054 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13055 (batch-skkdic-convert): Suppress most of the chatter.
13056 It's not needed so much now that machines are faster,
13057 and its non-ASCII component was confusing; see Dmitry Gutov in
13058 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13060 2013-03-20 Leo Liu <sdl.web@gmail.com>
13062 * ido.el (ido-chop): Fix bug#10994.
13064 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13066 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13068 (whitespace-color-on, whitespace-color-off):
13069 Use `font-lock-fontify-buffer' (Bug#13817).
13071 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13073 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13074 remapping in mode-line.
13075 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13077 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13079 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13080 value for `whitespace-line' face (Bug#13875).
13081 (whitespace-font-lock-keywords): Change description.
13082 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13083 the constructed keywords instead.
13084 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13086 2013-03-19 Leo Liu <sdl.web@gmail.com>
13088 * progmodes/compile.el (compilation-display-error): New command.
13089 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13092 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13094 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13096 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13098 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13100 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13102 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13104 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13105 * net/tramp-gvfs.el (top):
13106 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13107 (tramp-handle-shell-command): Use it.
13108 (tramp-dissect-file-name): Raise an error when hostname is a
13109 method name, and neither method nor user is specified.
13111 * net/trampver.el: Update release number.
13113 2013-03-18 Leo Liu <sdl.web@gmail.com>
13115 Make sure eldoc can be turned off properly.
13116 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13118 (eldoc-display-message-p): Revert last change.
13119 (eldoc-display-message-no-interference-p)
13120 (eldoc-print-current-symbol-info): Tweak.
13122 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13124 * doc-view.el (doc-view-new-window-function): Check the new window
13125 overlay's display property instead the char property of the
13126 buffer's first char. Use `with-selected-window' instead of
13127 `save-window-excursion' with `select-window'.
13128 (doc-view-document->bitmap): Check the current doc-view overlay's
13129 display property instead the char property of the buffer's first char.
13131 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13133 Automate the build of ja-dic.el (Bug#13984).
13134 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13135 from the input, rather than assume that it's been done for us by the
13136 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13137 the current date into a ja-dic.el comment, as that complicates
13138 regression testing.
13140 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13142 * whitespace.el: Fix double evaluation.
13143 (whitespace-space, whitespace-hspace, whitespace-tab)
13144 (whitespace-newline, whitespace-trailing, whitespace-line)
13145 (whitespace-space-before-tab, whitespace-indentation)
13146 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13148 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13149 (whitespace-color-on): Use a single font-lock-add-keywords call.
13150 Fix double-evaluation of face variables.
13152 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13154 * net/tramp-adb.el (tramp-adb-parse-device-names):
13155 Use `start-process' instead of `call-process'. Otherwise, the
13156 function might be blocked under MS Windows. (Bug#13299)
13158 2013-03-17 Leo Liu <sdl.web@gmail.com>
13160 Extend eldoc to display info in the mode-line. (Bug#13978)
13161 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13162 (eldoc-mode-line-string): New variable.
13163 (eldoc-minibuffer-message): New function.
13164 (eldoc-message-function): New variable.
13165 (eldoc-message): Use it.
13166 (eldoc-display-message-p)
13167 (eldoc-display-message-no-interference-p):
13168 Support eldoc-post-insert-mode.
13170 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13171 (eval-expression): Run it.
13173 2013-03-17 Roland Winkler <winkler@gnu.org>
13175 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13176 strings in the list of return values.
13178 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13180 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13181 radix before checking for HMS forms.
13183 2013-03-16 Leo Liu <sdl.web@gmail.com>
13185 * progmodes/scheme.el: Add indentation and font-locking for λ.
13188 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13190 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13191 token before point (bug#13942).
13193 2013-03-16 Leo Liu <sdl.web@gmail.com>
13195 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13197 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13199 * startup.el (command-line-normalize-file-name): Fix handling of
13200 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13201 <xfq.free@gmail.com> in
13202 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13204 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13206 Sync with Tramp 2.2.7.
13208 * net/trampver.el: Update release number.
13210 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13212 * doc-view.el: Fix bug#13887.
13213 (doc-view-insert-image): Don't modify overlay associated to
13214 non-live windows, and implement horizontal centering of image in
13215 case it's smaller than the window.
13216 (doc-view-new-window-function): Force redisplay of new windows on
13219 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13221 * saveplace.el (save-place-alist-to-file): Don't sort
13222 `save-place-alist', just pretty-print it (bug#13882).
13224 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13226 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13227 Check whether `default-file-name-coding-system' is bound.
13228 It isn't in XEmacs.
13230 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13232 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13233 backquotes for `obsolete' (bug#13929).
13235 * international/mule.el (find-auto-coding): Include file name in
13236 obsolescence warning (bug#13922).
13238 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13240 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13241 for CFEngine 3-specific indentation.
13242 (cfengine3-indent-line): Use it. Fix up category regex.
13243 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13245 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13247 * type-break.el (type-break-file-name):
13248 * textmodes/remember.el (remember-data-file):
13249 * strokes.el (strokes-file):
13250 * shadowfile.el (shadow-initialize):
13251 * saveplace.el (save-place-file):
13252 * ps-bdf.el (bdf-cache-file):
13253 * progmodes/idlwave.el (idlwave-config-directory):
13254 * net/quickurl.el (quickurl-url-file):
13255 * international/kkc.el (kkc-init-file-name):
13256 * ido.el (ido-save-directory-list-file):
13257 * emulation/viper.el (viper-custom-file-name):
13258 * emulation/vip.el (vip-startup-file):
13259 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13260 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13262 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13264 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13265 * language/thai-word.el: Switch to UTF-8.
13267 See ChangeLog.16 for earlier changes.
13269 ;; Local Variables:
13273 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13275 This file is part of GNU Emacs.
13277 GNU Emacs is free software: you can redistribute it and/or modify
13278 it under the terms of the GNU General Public License as published by
13279 the Free Software Foundation, either version 3 of the License, or
13280 (at your option) any later version.
13282 GNU Emacs is distributed in the hope that it will be useful,
13283 but WITHOUT ANY WARRANTY; without even the implied warranty of
13284 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13285 GNU General Public License for more details.
13287 You should have received a copy of the GNU General Public License
13288 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.