1 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp.el (tramp-check-cached-permissions):
4 Call `file-attributes' with `suffix' being a symbol but a string.
6 2014-02-21 Daniel Colascione <dancol@dancol.org>
8 * net/dbus.el (dbus-init-bus-1): Declare new subr.
9 (dbus-init-bus): New function: call into dbus-init-bus-1
10 and installs a handler for the disconnect signal.
11 (dbus-call-method): Rewrite to look for result in cons.
12 (dbus-call-method-handler): Store result in cons.
13 (dbus-check-event): Recognize events with nil sender as valid.
14 (dbus-handle-bus-disconnect): New function. React to bus
15 disconnection signal by synthesizing dbus error for each
16 pending synchronous or asynchronous call.
17 (dbus-notice-synchronous-call-errors): New function.
18 (dbus-handle-event): Raise errors directly only when `dbus-debug'
19 is true, not all the time.
21 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
23 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
24 Remove obsolescence declarations, these variables do not exist anymore.
26 * savehist.el (savehist-save-minibuffer-history)
27 (savehist-additional-variables, savehist-file, savehist-mode-hook)
28 (savehist-save-hook, savehist-coding-system, savehist-loaded)
29 (savehist-load, savehist-install, savehist-autosave): Fix typos;
30 mostly, refer to "Savehist mode" when talking about the mode,
33 * saveplace.el (save-place): Remove redundant info in docstring.
34 (save-place-forget-unreadable-files, toggle-save-place)
35 (save-place-forget-unreadable-files, save-place-dired-hook):
36 Fix typos and remove unneeded backslashes.
38 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
40 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
41 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
43 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
44 [insert-directory]: Use `tramp-handle-insert-directory.
45 (tramp-gvfs-handle-insert-directory): Remove function.
47 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
48 Call `tramp-handle-insert-directory'.
50 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
52 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
53 before the start of buffer/region (bug#16799).
55 2014-02-20 Glenn Morris <rgm@gnu.org>
57 * isearch.el (search-invisible): Doc fix.
59 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
61 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
64 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
66 * frameset.el (frameset-restore): Delay removing an old frame's
67 duplicate id until the new frame has been correctly created.
69 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
71 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
72 (tramp-check-cached-permissions): Call `file-attributes' if the
75 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
76 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
78 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
79 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
80 (tramp-gvfs-maybe-open-connection): Set always connection
81 properties, even if target is mounted already.
83 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
84 Set tramp-autoload cookie.
85 (tramp-get-remote-touch): New defun.
86 (tramp-sh-handle-set-file-times): Use it.
87 (tramp-sh-handle-directory-files-and-attributes):
88 Use `tramp-handle-directory-files-and-attributes' if neither stat
89 nor perl are available on the remote host.
91 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
92 "/". Write long listing only when "l" belongs to the switches.
94 * net/trampver.el: Update release number.
96 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
98 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
100 2014-02-19 Martin Rudalics <rudalics@gmx.at>
102 * window.el (window-state-put): Allow WINDOW to refer to an
103 internal window (Bug#16793).
105 2014-02-19 Glenn Morris <rgm@gnu.org>
107 * textmodes/remember.el: Move provide statement to end.
108 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
109 (remember-notes): Doc fixes.
111 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
113 * delsel.el (delete-char): Restore incorrectly erased property
116 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
118 * frameset.el (frameset--restore-frame): When a frame is being reused
119 and its root window is not alive, delete all the frame's windows before
120 restoring the window state. This works around the issue in bug#16793.
122 2014-02-18 Glenn Morris <rgm@gnu.org>
124 * textmodes/remember.el (remember-data-directory)
125 (remember-directory-file-name-format, remember-store-in-files)
126 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
127 (remember-notes-save-and-bury-buffer)
128 (remember-notes--kill-buffer-query): Doc fixes.
130 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
132 2014-02-17 Alan Mackenzie <acm@muc.de>
134 Connect electric-indent-mode up with CC Mode. Bug #15478.
135 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
136 to electric-indent-{,local-}-mode.
137 (c-basic-common-init): Set electric-indent-inhibit.
138 Initialise c-electric-flag from electric-indent-mode.
139 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
140 New hook functions which propagate electric-indent-mode to CC mode.
142 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
143 hit, toggle electric-indent-local-mode.
145 * electric.el (electric-indent-mode-has-been-called):
148 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
150 * frameset.el (frameset-cfg-id): New function.
151 (frameset--reuse-frame, frameset-restore): Use it.
152 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
154 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
156 * ido.el (ido-file-internal): Remove unused var `d'.
157 Use \` for to match BoS. Fit within 80n columns.
159 2014-02-17 Daniel Colascione <dancol@dancol.org>
161 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
162 dbus-call-method check for completion using a busy-wait loop with
165 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
167 Sync with Tramp 2.2.9.
169 * net/trampver.el: Update release number.
171 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
173 * ido.el (ido-file-internal): Don't add the name of an existing
174 directory twice. (Bug#16747)
176 2014-02-16 Glenn Morris <rgm@gnu.org>
178 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
179 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
181 2014-02-15 Michael R. Mauger <michael@mauger.com>
183 * progmodes/sql.el: Version 3.4
184 (sql-oracle-options): New default value ("-L").
185 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
186 (sql-placeholders-filter): Correct placeholder pattern.
187 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
188 (sql-login-delay): New variable.
189 (sql-product-interactive): Use it.
191 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
193 * frameset.el (frameset--jump-to-register): Check that buffer is live
196 2014-02-15 Glenn Morris <rgm@gnu.org>
198 * info.el (info-initialize): Revert 2014-01-10 change.
200 2014-02-14 Glenn Morris <rgm@gnu.org>
202 * replace.el (map-query-replace-regexp)
203 (read-regexp-defaults-function, read-regexp): Doc fixes.
205 * dired.el (dired-read-regexp):
206 * faces.el (list-faces-display):
207 * misearch.el (multi-isearch-read-matching-buffers)
208 (multi-isearch-read-matching-files):
209 * play/cookie1.el (cookie-apropos):
210 * progmodes/grep.el (grep-read-regexp): Doc fixes.
212 * textmodes/remember.el (remember): Use frameset-to-register
213 rather than frame-configuration-to-register.
215 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
217 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
218 incorrect keybinding.
220 2014-02-13 Daniel Colascione <dancol@dancol.org>
222 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
223 when adding overlays so that line numbers from compiler match line
226 2014-02-13 Glenn Morris <rgm@gnu.org>
228 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
230 * jit-lock.el (jit-lock-mode): Doc fix.
232 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
234 * apropos.el (apropos-read-pattern): When the user passes an empty
235 string, give a more helpful error message than "Wrong type
236 argument: stringp, nil".
238 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
240 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
242 2014-02-13 Glenn Morris <rgm@gnu.org>
244 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
246 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
248 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
249 shift-select commands.
251 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
253 * progmodes/js.el (js-indent-line): Don't widen.
254 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
256 2014-02-12 Glenn Morris <rgm@gnu.org>
258 * icomplete.el (icomplete): Add info-link to defgroup.
259 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
260 (icomplete-minibuffer-map, icomplete-mode)
261 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
263 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
264 (package-menu-filter): Rename from package-menu-filter-interactive.
267 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
269 * frameset.el (frameset--jump-to-register): Select the required
270 window and buffer before restoring position (bug#16696).
272 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
274 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
276 2014-02-10 Glenn Morris <rgm@gnu.org>
278 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
280 2014-02-10 Eli Zaretskii <eliz@gnu.org>
282 * w32-common-fns.el (x-get-selection): Doc fix.
283 * select.el (x-get-selection): Doc fix. (Bug#15109)
285 * face-remap.el (face-remap-add-relative)
286 (face-remap-remove-relative, face-remap-reset-base)
287 (face-remap-set-base): Call force-mode-line-update to redisplay
288 the current buffer due to potential change in faces. (Bug#16709)
290 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
292 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
293 script more robustly.
295 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
297 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
299 * simple.el (choose-completion): Doc fix (bug#14160).
301 * subr.el (event-start): Say what a nil EVENT value means.
303 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
306 * progmodes/grep.el (find-program): Doc fix (bug#14289).
308 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
310 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
312 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
313 predicate function (bug#15455).
315 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
317 * ielm.el (inferior-emacs-lisp-mode): Instead of
318 `comment-use-global-state', set `comment-use-syntax'.
320 2014-02-10 Glenn Morris <rgm@gnu.org>
322 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
324 2014-02-09 Alan Mackenzie <acm@muc.de>
326 Fix c-invalidate-state-cache on narrowed buffers.
327 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
328 Widen when setting and clearing the CPP delimiter properties.
330 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
332 * help.el (describe-bindings): Doc fix (bug#9888).
334 * files.el (save-buffer): Use ARG as the parameter name for
335 consistency (bug#10346).
336 (save-buffer): Clarify the 0 argument (bug#10346).
338 * cus-edit.el (customize-apropos): Fix error string.
339 (custom-buffer-create): Doc fix (bug#11122).
340 (custom-sort-items): Doc fix (bug#11121).
342 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
344 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
345 (icomplete-simple-completing-p): Mention the previous variable.
347 * font-lock.el (font-lock-value-in-major-mode): Clarify the
348 meaning of the parameter (bug#12282).
350 * files.el (find-file-noselect): Clarify prompt when changing
351 readedness (bug#13261).
352 (locate-file): Suffixes aren't returned, so don't say that they
354 (backup-inhibited): Doc clarification (bug#12525).
356 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
357 before we actually start to delete things (bug#16331).
359 * subr.el (event-start): Doc fix (bug#14228).
362 2014-02-09 Glenn Morris <rgm@gnu.org>
364 * emacs-lisp/warnings.el (lwarn):
365 Empower help-enable-auto-load. (Bug#15940)
367 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
369 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
372 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
374 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
375 Insert output at end of buffer. (Bug#16120)
377 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
379 * simple.el (choose-completion-string-functions): Document new
380 calling convention (bug#14153).
381 (execute-extended-command): Clarify doc string (bug#13373).
383 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
385 * find-dired.el (find-name-dired): Doc fix (bug#14290).
386 (find-grep-dired): Doc fix (bug#14288).
388 2014-02-08 Juri Linkov <juri@jurta.org>
390 * isearch.el (isearch-quote-char): Check character validity
391 like in `quoted-insert' (bug#16677).
393 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
395 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
397 * isearch.el (isearch-hide-immediately): Doc clarification
400 * simple.el (line-move): Document utility function used many
401 places in the Emacs sources (bug#14843).
403 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
404 (dired-prev-marked-file): Doc fix (bug#14855).
405 (dired-up-directory): Doc fix (bug#14848).
407 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
409 * files.el (file-relative-name): Doc fix (bug#15159).
411 * fringe.el (fringe-styles): Doc fix (bug#15239).
413 * isearch.el (isearch-filter-predicate): Documentation typo fix
416 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
418 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
420 * replace.el (replace-match-maybe-edit): Doc clarification
423 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
425 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
427 2014-02-08 Glenn Morris <rgm@gnu.org>
429 * help-fns.el (describe-variable):
430 Check {file,dir}-local-variables-alist, and buffer-file-name,
431 in the correct buffer.
433 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
435 * help-fns.el (describe-variable): Fix the case where
436 a value is directory-local with no dir-locals file. (Bug#16635)
438 2014-02-08 Glenn Morris <rgm@gnu.org>
440 * abbrev.el (edit-abbrevs-mode):
441 Derive from fundamental-mode. (Bug#16682)
443 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
445 * simple.el (quoted-insert): Check character validity (bug#16677).
447 2014-02-07 Juri Linkov <juri@jurta.org>
449 * desktop.el (desktop-read): Claim the lock when the owner is not
450 the current process. (Bug#16157)
452 2014-02-07 Juri Linkov <juri@jurta.org>
454 * desktop.el (desktop-buffers-not-to-save): Change default from nil
455 to "\\` ". (Bug#16651)
457 2014-02-07 Juri Linkov <juri@jurta.org>
459 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
460 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
461 (desktop-auto-save-cancel-timer): New function with some code from
462 `desktop-auto-save-set-timer'.
463 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
464 Instead of setting `desktop-save-mode' to nil, call
465 `desktop-save-mode' with arg 0. (Bug#16630)
467 2014-02-07 Glenn Morris <rgm@gnu.org>
469 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
470 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
471 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
473 * obsolete/iswitchb.el: Move to obsolete/.
474 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
475 since obsolete/ is not scanned for autoloads.
476 * emacs-lisp/authors.el (authors-valid-file-names):
479 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
480 Disable now non-functional find-file-hook.
482 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
484 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
485 instead of ";" in order to avoid additional prompts. Let heredoc
486 scripts read from tty. (Bug#16582)
487 (tramp-send-command): No special handling of heredocs, it isn't
490 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
492 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
493 with a space (bug#16664). Limit the symbols considered to the ones
494 that are bound or fbound (bug#16646).
496 2014-02-06 Glenn Morris <rgm@gnu.org>
498 * epa.el (epa-mail-aliases): Doc fix.
500 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
502 * emacs-lisp/lisp.el (lisp-completion-at-point):
503 Use `completion-table-merge' instead of `completion-table-in-turn'
506 * minibuffer.el (completion-table-merge): New function.
508 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
510 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
511 (tramp-sh-handle-set-file-acl)
512 (tramp-sh-handle-start-file-process)
513 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
514 (tramp-find-executable, tramp-send-command): Use it.
516 2014-02-05 Glenn Morris <rgm@gnu.org>
518 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
520 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
522 * progmodes/python.el (python-shell-send-string):
523 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
525 2014-02-04 Anders Lindgren <andlind@gmail.com>
527 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
528 the names (bug#16620).
530 2014-02-03 Martin Rudalics <rudalics@gmx.at>
532 * faces.el (window-divider): New default value. Rewrite doc-string.
533 (window-divider-first-pixel, window-divider-last-pixel): New faces.
535 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
537 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
538 `protected' and `public' can also be called without arguments.
540 2014-02-03 Glenn Morris <rgm@gnu.org>
542 * register.el (window-configuration-to-register)
543 (frame-configuration-to-register): Unadvertise unused argument.
544 * frameset.el (frameset-to-register): Remove unused argument.
546 * frameset.el (frameset-to-register):
547 * kmacro.el (kmacro-to-register):
548 * register.el (increment-register):
549 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
550 (calc-append-to-register, calc-prepend-to-register):
551 * play/gametree.el (gametree-layout-to-register)
552 (gametree-apply-register-layout):
553 * textmodes/picture.el (picture-clear-rectangle-to-register)
554 (picture-yank-rectangle-from-register):
555 * vc/emerge.el (emerge-combine-versions-register):
556 Use register-read-with-preview to read registers.
558 2014-02-03 João Távora <joaotavora@gmail.com>
560 * elec-pair.el (electric-pair-backward-delete-char): Don't error
561 when at beginning of (possibly narrowed) buffer.
563 2014-02-02 Daniel Colascione <dancol@dancol.org>
565 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
566 Also try to display local help from just before point.
568 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
570 c-parse-state. Don't "append-lower-brace-pair" in certain
571 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
572 recognised as a comment.
574 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
575 as well as normal comment starter.
576 (c-parse-state-get-strategy): Extra return possibility
578 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
579 return value list to indicate replacement of a brace-pair cons
581 (c-parse-state-1): With 'back-and-forward, only call
582 c-append-lower-brace-pair-to state-cache when cons-separated.
584 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
586 * term/ns-win.el (ns-suspend-error): New function.
587 (ns-initialize-window-system): Add ns-suspend-error to
588 suspend-hook (Bug#16612).
590 2014-02-02 Daniel Colascione <dancol@dancol.org>
592 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
594 2014-02-02 Daniel Colascione <dancol@dancol.org>
596 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
598 2014-02-02 Glenn Morris <rgm@gnu.org>
600 * register.el (register-read-with-preview, point-to-register)
601 (window-configuration-to-register, frame-configuration-to-register)
602 (jump-to-register, number-to-register, view-register, insert-register)
603 (copy-to-register, append-to-register, prepend-to-register)
604 (copy-rectangle-to-register): Doc fixes.
606 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
608 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
609 * emacs-lisp/find-func.el (find-function-C-source): Idem.
610 * emacs-lisp/nadvice.el (advice--cd*r): New function.
611 * help-fns.el (describe-function-1): Use it.
613 2014-02-02 Glenn Morris <rgm@gnu.org>
615 * register.el (register-preview-default): New function,
616 split from register-preview.
617 (register-preview-function): Rename from register-preview-functions,
619 (register-preview): Use register-preview-function.
620 (register-read-with-preview): Error on non-character event. (Bug#16595)
622 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
624 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
625 `:' before binary operators (bug#16609). Don't check for `:'
626 before `[' and `(', or their syntax status. A percent literal
627 can't end with either.
628 (ruby-font-lock-keywords): For built-ins that require arguments,
629 check that they're followed by something that looks like argument
632 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
634 * subr.el (butlast): Document what an omitted N means (bug#13437).
637 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
639 * net/shr.el (shr-generic): Make into a defsubst to make the stack
640 depth shallower (bug#16587).
641 (shr-tag-svg): Respect `shr-inhibit-images'.
642 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
644 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
646 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
647 (ruby-smie-grammar): Make "." right-associative. Make its priority
648 lower than the ternary and all binary operators.
649 (ruby-smie-rules): Indent "(" relative to the first non-"."
650 parent, or the first "." parent at indentation.
651 Use `ruby-align-chained-calls' for indentation of "." tokens.
654 2014-01-31 Juri Linkov <juri@jurta.org>
656 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
657 from `make-hash-table'.
659 * textmodes/ispell.el (ispell-init-process): Change message format
660 to be consistent with other messages.
662 2014-01-31 Glenn Morris <rgm@gnu.org>
664 * delsel.el (delete-selection-mode): Doc fix.
666 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
667 (trace-function-background): Doc fixes.
669 * ido.el (ido-use-virtual-buffers): Doc fix.
670 Reset :version, since the default value has not changed.
672 * register.el (register-preview-delay, register-read-with-preview):
675 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
676 do not mess with mail-buffer position (fixes 2009-11-03 change).
677 * progmodes/cc-mode.el (c-submit-bug-report):
678 Check auto-fill-mode is bound. (Bug#16592)
680 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
682 * startup.el (fancy-splash-image-file): New function,
683 split from fancy-splash-head.
684 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
685 so that we are both using the same image. (Bug#16574)
687 2014-01-30 Glenn Morris <rgm@gnu.org>
689 * simple.el (eval-expression): Doc fix.
691 * hexl.el (hexl-mode-hook):
692 * ielm.el (ielm-mode-hook):
693 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
694 (lisp-interaction-mode-hook):
695 * progmodes/cfengine.e (cfengine3-documentation-function):
696 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
698 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
700 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
701 is a symbol (bug#16584).
703 2014-01-30 Glenn Morris <rgm@gnu.org>
705 * help.el (help-for-help-internal): Add "P" to text.
707 2014-01-29 Glenn Morris <rgm@gnu.org>
709 * simple.el (just-one-space, cycle-spacing): Doc fixes.
711 2014-01-28 Martin Rudalics <rudalics@gmx.at>
713 * window.el (fit-frame-to-buffer): Fix calculations for margins and
716 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
718 * progmodes/hideif.el: Extend to full CPP expression syntax.
719 (hif-token-alist): Add missing tokens.
720 (hif-token-regexp): Add support for float/octal/hex immediates.
721 (hif-string-literal-regexp): New const.
722 (hif-tokenize): Recognize strings and float/octal/hex immediates.
723 (hif-exprlist): New function.
724 (hif-parse-if-exp): Use it.
725 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
726 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
727 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
728 (hif-logxor, hif-comma): New functions.
730 2014-01-28 Glenn Morris <rgm@gnu.org>
732 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
734 * indent.el (tab-stop-list): Doc fix. Add :version.
736 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
737 (cvs-append-to-ignore): Add compatibility alias.
739 2014-01-27 Glenn Morris <rgm@gnu.org>
741 * dired.el (dired-hide-details-mode): Don't autoload it,
742 since it cannot be used outside Dired buffers anyway.
744 * emulation/cua-base.el (cua-mode): Doc fix.
746 * dired.el (dired-hide-details-hide-symlink-targets)
747 (dired-hide-details-hide-information-lines)
748 (dired-hide-details-mode): Doc fixes.
750 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
751 * strokes.el (strokes-file): Doc fix. Bump :version.
752 (strokes-help): Doc fix.
753 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
754 * emulation/viper.el (viper): Doc fix for custom group.
755 (top-level): Remove oh-so-no-longer-relevant text about vip.
756 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
758 * ido.el (ido-save-directory-list-file):
759 * saveplace.el (save-place-file):
760 * calendar/timeclock.el (timeclock-file):
761 * net/quickurl.el (quickurl-url-file):
762 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
763 * progmodes/idlwave.el (idlwave-config-directory):
764 * textmodes/remember.el (remember-data-file):
767 2014-01-26 Glenn Morris <rgm@gnu.org>
769 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
770 Doc fix. Make obsolete.
771 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
773 * sort.el (delete-duplicate-lines): Doc fix.
775 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
777 * progmodes/ada-mode.el (ada):
778 * woman.el (woman): Link to info manual and Commentary section.
780 * progmodes/flymake.el (flymake):
781 * nxml/nxml-mode.el (nxml):
783 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
784 * htmlfontify.el (htmlfontify):
787 * ido.el (ido): Link to info manual.
789 2014-01-25 Leo Liu <sdl.web@gmail.com>
791 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
793 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
795 * net/shr.el (shr-tag-img): Prefer the title over the alt text
798 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
800 * net/eww.el (eww-download-callback):
801 Fix reference to eww-download-directory.
803 * emacs-lisp/bytecomp.el (byte-compile-file):
804 Remove unused local variable `file-name'.
806 2014-01-24 Glenn Morris <rgm@gnu.org>
808 * woman.el (woman-default-faces, woman-monochrome-faces):
809 Fix obsolescence specification.
811 * subr.el (with-demoted-errors): Doc fix.
813 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
815 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
816 (cl--macroexp-fboundp): New function.
817 (cl--make-type-test): Use it.
819 2014-01-23 Glenn Morris <rgm@gnu.org>
821 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
822 * simple.el (eval-expression): Doc fixes.
824 2014-01-22 Glenn Morris <rgm@gnu.org>
826 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
828 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
830 * emacs-lisp/package.el: Write files silently.
831 (package-autoload-ensure-default-file, package--write-file-no-coding)
832 (package-generate-description-file, package--download-one-archive)
833 (package-install-from-archive): Tell `write-region' to stay quiet.
834 (package-menu-mode, package-menu--print-info): Omit the Archive column
835 if there's only one archive.
836 (package-all-keywords, package--has-keyword-p): Remove dead code.
838 2014-01-22 Glenn Morris <rgm@gnu.org>
840 * version.el (emacs-bzr-version-bzr): Fix typo.
842 * version.el (emacs-repository-get-version):
843 Check either .bzr or .git, but not both.
844 Make the git case actually use the DIR argument, and return nil
845 rather than the empty string.
846 Avoid error if .git exists but the git executable is not found.
848 2014-01-22 Martin Rudalics <rudalics@gmx.at>
850 Fixes in window size functions around Bug#16430 and Bug#16470.
851 * window.el (window-total-size, window-size): New argument ROUND.
852 (window--min-delta-1, window-min-delta, window--max-delta-1):
853 Be more conservative when calculating the numbers of lines or
854 columns a window can shrink (Bug#16430).
855 (fit-window-to-buffer): Simplify code.
856 * term.el (term-window-width): Call window-body-width again.
858 2014-01-22 Glenn Morris <rgm@gnu.org>
860 * image.el (image-format-suffixes): Doc fix.
862 * international/quail.el (quail-define-package): Doc fix.
864 * emacs-lisp/authors.el (authors-valid-file-names):
865 (authors-renamed-files-alist): Additions.
867 * vc/vc-git.el (vc-git-print-log): Remove --follow;
868 reverts 2014-01-09 change. (Bug#16422)
870 * calc/calc-embed.el (thing-at-point-looking-at):
871 * emacs-lisp/map-ynp.el (x-popup-dialog):
872 * obsolete/lmenu.el (x-popup-dialog):
873 * emacs-lisp/package.el (url-recreate-url):
874 * mail/mailclient.el (clipboard-kill-ring-save):
875 * subr.el (x-popup-dialog): Update declaration.
876 * mail/rmail.el (rmail-mime-message-p):
877 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
879 2014-01-21 Daniel Colascione <dancol@dancol.org>
881 * progmodes/sh-script.el (sh--inside-noncommand-expression):
882 Correctly detect when we're inside an arithmetic expansion form
883 containing nested parenthesis.
884 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
885 to detect cases where we shouldn't expand "<<" to a heredoc
888 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
890 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
891 (eldoc--message-command-p): New function.
892 (eldoc-display-message-p): Use it.
893 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
894 message is not automatically erased for us.
895 (eldoc-print-current-symbol-info): Erase previous message, if any.
897 2014-01-21 Tassilo Horn <tsdh@gnu.org>
899 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
900 specify it's an interactive function.
902 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
903 Fix regex used for scanning for citation keys which failed for
904 citations with optional arguments.
906 2014-01-21 Leo Liu <sdl.web@gmail.com>
908 * simple.el (read--expression): Don't enable eldoc-mode.
910 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
912 * simple.el (move-beginning-of-line): Make sure we don't move forward
915 2014-01-20 Juri Linkov <juri@jurta.org>
917 * saveplace.el (toggle-save-place, save-place-to-alist)
918 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
919 'dired-mode) before checking for dired-directory. (Bug#16477)
921 2014-01-20 Juri Linkov <juri@jurta.org>
923 * indent.el (indent-line-to): Use backward-to-indentation
924 instead of back-to-indentation. (Bug#16461)
926 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
928 Revert some of the CANNOT_DUMP fix (Bug#16494).
929 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
930 but fixing this can wait until after the next release.
931 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
933 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
935 * eshell/esh-mode.el (eshell-password-prompt-regexp):
936 Use `password-word-equivalents'.
937 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
938 to t. (Bug#5664, Bug#13124)
940 2014-01-19 Alan Mackenzie <acm@muc.de>
942 Bind open-paren-in-column-0-is-defun-start to nil at some entry
944 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
945 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
946 * progmodes/cc-mode.el (c-before-change, c-after-change)
947 (c-font-lock-fontify-region): Bind it here.
949 2014-01-19 Martin Rudalics <rudalics@gmx.at>
951 * term.el (term-window-width): Call window-text-width instead of
952 window-width (Bug#16470).
954 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
956 * simple.el (password-word-equivalents): Remove duplicates.
957 Sort, to make this easier next time.
958 Downcase. Omit ": " after "jelszó".
960 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
962 * term/common-win.el (saved-region-selection): Defvar it.
963 (x-select-text): Set saved-region-selection (Bug#16382).
965 2014-01-18 Glenn Morris <rgm@gnu.org>
967 * emacs-lisp/authors.el (authors-aliases)
968 (authors-renamed-files-alist): Add some entries.
970 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
972 * net/tramp.el (tramp-password-prompt-regexp):
973 Use `password-word-equivalents' if available.
974 (tramp-action-password, tramp-process-one-action)
975 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
977 2014-01-17 Chong Yidong <cyd@gnu.org>
979 * simple.el (password-word-equivalents): New defcustom.
980 * comint.el (comint-password-prompt-regexp): Use it. Bump version
982 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
985 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
987 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
988 (ruby-align-to-stmt-keywords): Change the default value.
989 Use `ruby-alignable-keywords' to generate the possible customization
991 (ruby-smie-rules): Instead of using a hardcoded list of alignable
992 keywords, check against the value of `ruby-alignable-keywords'
993 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
995 2014-01-17 Glenn Morris <rgm@gnu.org>
997 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
999 Make M-x authors return zero *Authors Errors* from current logs.
1000 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1001 (authors-ignored-files): Add some entries, remove others.
1002 (authors-ambiguous-files, authors-valid-file-names):
1004 (authors-renamed-files-alist): Add, remove, and adjust entries.
1005 (authors-renamed-files-regexps): Add some entries.
1006 Remove some very broad ones. Make some entries `lax'.
1007 (authors-lax-changelogs): New constant.
1008 (authors-disambiguate-file-name): Treat top-level specially.
1009 (authors-lax-changelog-p): New function.
1010 (authors-canonical-file-name): Check file as written against
1011 authors-valid-file-names. Do not special-case etc/.
1012 Handle `lax' logs and authors-renamed-files-regexps elements.
1014 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1016 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1017 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1020 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1023 Assume we're already in the proper buffer.
1024 Inspired by Anders Lindgren <andlind@gmail.com>.
1025 (follow-post-command-hook): Call it from the right buffer.
1026 (follow-comint-scroll-to-bottom): Adjust call.
1027 (follow-all-followers): Use get-buffer-window-list.
1029 2014-01-15 Daniel Colascione <dancol@dancol.org>
1031 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1032 `buffer-file-name' in interactive-form so that we don't leave
1033 pathless file names in `file-name-history'.
1035 2014-01-15 Juri Linkov <juri@jurta.org>
1037 * indent.el (indent-rigidly): Set deactivate-mark to nil
1038 in transient indentation mode. (Bug#16438)
1040 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1042 * emacs-lisp/package.el (package-desc-keywords): New function
1044 (describe-package-1, package-all-keywords)
1045 (package--has-keyword-p): Use it.
1047 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1049 * simple.el (define-alternatives): When creating the
1050 COMMAND-alternatives variable, assign COMMAND as its definition
1051 name so that `describe-variable' can relocate it.
1053 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1055 * font-lock.el (font-lock-keywords): Fix typo in docstring
1058 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1060 * ispell.el (ispell-region): Reset `in-comment' for new line
1061 instead of wrongly reset `add-coment' (bug#13577).
1063 2014-01-14 Daiki Ueno <ueno@gnu.org>
1065 * epa-file.el (epa-file-write-region): Encode the region according
1066 to `buffer-file-format'. Problem reported at:
1067 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1069 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1071 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1072 so it applies in the right buffer (bug#16410).
1074 2014-01-13 Daniel Colascione <dancol@dancol.org>
1076 * textmodes/rst.el (rst-define-key): Provide deprecated
1077 keybindings through named functions instead of anonymous ones so
1078 that "??" doesn't appear in describe-mode output.
1080 2014-01-13 Bastien Guerry <bzg@gnu.org>
1082 * simple.el (define-alternatives): Call the selected command
1083 interactively. When setting `COMMAND--implementation' for the
1084 first time, tell the user how to chose another implementation.
1085 Enhance the docstring.
1087 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1089 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1090 (log-edit--match-first-line): New function.
1091 (log-edit-font-lock-keywords): Use it.
1092 (log-edit-mode): Make jit-lock-defer-multiline work.
1094 2014-01-13 Bastien Guerry <bzg@gnu.org>
1096 * rect.el (rectangle-mark-mode): When the region is not active,
1097 display a message saying that the mark as been set and that
1098 rectangle mode is in use.
1099 (rectangle--highlight-for-redisplay): Only put an overlay with a
1100 visible vertical bar when (display-graphic-p) is non-nil.
1101 This partially fixes Bug#16403.
1103 2014-01-13 Juri Linkov <juri@jurta.org>
1105 * info.el (Info-find-file): Go to DIR before displaying the error
1106 about a nonexistent file if no previous Info file is visited.
1107 Use `user-error' instead of `error' for "Info file %s does not exist".
1108 (Info-find-node-2): In case of a nonexistent node in unwind forms
1109 go to the Top node if there is no previous node to revert to.
1112 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1114 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1115 * window.el (fit-frame-to-buffer): Fix doc-string.
1116 Respect window-min-height/-width. Fit pixelwise when
1117 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1118 when avoiding that frame goes partially off-screen.
1119 (fit-window-to-buffer): Respect window-min-height/-width
1122 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1124 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1125 after an empty line.
1127 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1129 * net/shr.el (shr-render-region): Autoload.
1131 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1133 * net/eww.el (eww-download-directory): Rename from
1134 `eww-download-path' (Bug#16419).
1136 2014-01-12 Leo Liu <sdl.web@gmail.com>
1138 * dired-x.el (dired-mode-map): Fix last change.
1140 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1142 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1145 * emacs-lisp/generic.el (generic--normalize-comments):
1146 Rename from generic--normalise-comments. All uses changed.
1147 * play/bubbles.el (bubbles--neighborhood-score):
1148 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1149 (bubbles--neighborhood-available)
1150 (bubbles--update-neighborhood-score):
1151 Rename from names with 'neighbourhood'. All uses changed.
1153 2014-01-12 Leo Liu <sdl.web@gmail.com>
1155 Re-implement the feature of showing eldoc info after editing.
1156 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1157 (eldoc-edit-message-commands): New function.
1158 (eldoc-print-after-edit): New variable.
1159 (eldoc-pre-command-refresh-echo-area): Emit message only by
1160 eldoc-message-commands.
1161 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1162 if eldoc-print-after-edit is set. (Bug#16346)
1163 * simple.el (read--expression): Enable eldoc-mode.
1164 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1166 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1167 Eric S. Raymond <esr@thyrsus.com>
1169 * version.el (emacs-repository-get-version): Enhance so the
1170 function works correctly in either a Bazaar or Git repo.
1172 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1174 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1175 Goes with removal of the joke manpages from /etc.
1177 2014-01-10 Kenichi Handa <handa@gnu.org>
1179 * mail/rmail.el (rmail-get-coding-system):
1180 Check rmail-get-coding-function before "funcall"ing it.
1182 2014-01-10 Glenn Morris <rgm@gnu.org>
1184 * emacs-lisp/authors.el (authors-fixed-entries):
1185 Update for files that no longer exist.
1187 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1189 * version.el (emacs-bzr-get-version): Restore compatibilty with
1192 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1194 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1197 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1199 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1201 2014-01-10 Chong Yidong <cyd@gnu.org>
1203 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1205 2014-01-10 Anders Lindgren <andlind@gmail.com>
1207 * follow.el (follow-cache-command-list): Include right-char and
1210 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1213 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1214 * woman.el (woman-mark-horizontal-position):
1215 Rename from woman-mark-horizonal-position. Use changed.
1217 2014-01-10 Glenn Morris <rgm@gnu.org>
1219 * info.el (info-initialize): If running uninstalled, ensure our
1220 own info files are always found first, even if INFOPATH is set.
1222 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1224 2014-01-09 David Engster <deng@randomsample.de>
1226 * emacs-lisp/eieio-custom.el:
1227 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1228 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1229 * emacs-lisp/eieio.el: Regenerate autoloads.
1231 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1233 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1234 following renames. (Bug#8756)
1236 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1240 (activate-mark): Add `no-tmm' argument.
1241 (set-mark, push-mark-command): Use it instead of running
1242 activate-mark-hook by hand.
1244 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1246 In preparation for the move to git, sanitize out some
1247 Bazaar-specific names.
1249 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1251 * version.el (emacs-bzr-version): Name changed to
1252 emacs-repository-version. Obsolete-variable alias made.
1253 * loadup.el: Follow through on this name change.
1254 * mail/emacsbug.el (report-emacs-bug): Factor out any
1255 assumption about the version control system in use.
1257 2014-01-08 David Engster <deng@randomsample.de>
1259 * help-fns.el (help-fns-describe-function-functions):
1260 New variable to call functions for augmenting help buffers.
1261 (describe-function-1): Remove explicit calls to
1262 `help-fns--compiler-macro', `help-fns--parent-mode' and
1263 `help-fns--obsolete'. Put them in above new variable instead, and
1264 call them through `run-hook-with-args'.
1265 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1266 `eieio-describe-class'. Not meant for interactive use anymore,
1267 but to augment existing help buffers. Remove optional second
1268 argument. Create proper button for file location.
1269 Rewrite function to use `insert' instead of `princ' and `prin1' where
1271 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1272 (eieio-method-def, eieio-class-def): Move further up.
1273 (describe-method, describe-generic, eieio-describe-method):
1275 (eieio-help-constructor, eieio-help-generic): Rename from
1276 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1277 Rewrite to use `insert' in the current buffer and use proper help
1279 (eieio-help-find-method-definition)
1280 (eieio-help-find-class-definition): Also accept symbols as
1282 (eieio-help-mode-augmentation-maybee): Remove.
1283 (eieio-describe-class-sb): Use `describe-function'.
1284 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1285 Add `eieio-help-generic' and `eieio-help-constructor'.
1287 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1290 * language/china-util.el (hz-ascii-designation):
1291 Rename from hz-ascii-designnation.
1292 (hz-ascii-designation): Rename from hz-ascii-designnation.
1295 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1297 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1300 2014-01-08 Bastien Guerry <bzg@gnu.org>
1302 * emacs-lisp/package.el (package-delete):
1303 Correctly delete the package from package-alist.
1305 2014-01-08 Daiki Ueno <ueno@gnu.org>
1307 * emacs-lisp/package.el (url-recreate-url): Declare.
1308 (url-http-target-url): Declare.
1309 (package-handle-response): Include requested URL in the error message.
1310 (package--check-signature): Don't re-signal errors from
1311 package--with-work-buffer. Suggested by Stefan Monnier.
1313 2014-01-07 Bastien Guerry <bzg@gnu.org>
1315 * minibuffer.el (completion--try-word-completion): When both a
1316 hyphen and a space are possible candidates for the character
1317 following a word, display both candidates. (Bug#15980)
1319 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1321 * window.el (balance-windows-2): While rounding don't give a
1322 window more than the remainder. Bug#16351, bug#16383.
1324 2014-01-07 Glenn Morris <rgm@gnu.org>
1326 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1327 (menu-bar-help-menu): Use view-external-packages instead.
1329 2014-01-07 Bastien Guerry <bzg@gnu.org>
1331 * emacs-lisp/package.el (package-delete): Also delete the package
1332 name from `package-alist', not its description only.
1334 2014-01-07 Glenn Morris <rgm@gnu.org>
1336 * help.el (view-external-packages):
1337 * menu-bar.el (menu-bar-help-extra-packages):
1338 Visit efaq.info rather than etc/MORE.STUFF.
1340 2014-01-07 Juri Linkov <juri@jurta.org>
1342 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1343 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1345 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1346 that shadows RET. (Bug#16342)
1348 2014-01-07 Chong Yidong <cyd@gnu.org>
1350 * isearch.el (isearch-yank-char, isearch-yank-word)
1351 (isearch-yank-line): Doc fix.
1353 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1355 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1356 * emacs-lisp/elint.el (elint-find-builtins):
1357 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1358 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1359 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1360 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1361 * apropos.el (apropos-safe-documentation):
1362 * subr.el (symbol-file): Remove redundant fboundp.
1363 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1365 2014-01-06 Bastien Guerry <bzg@gnu.org>
1367 * hl-line.el (global-hl-line-overlay): Make a local variable.
1368 (global-hl-line-overlays): New variable to store all overlays.
1369 (global-hl-line-mode): Don't delete overlays from the current
1370 buffer when `global-hl-line-sticky-flag' is non-nil.
1371 (global-hl-line-highlight): Add new overlays to
1372 `global-hl-line-overlays'.
1373 (global-hl-line-unhighlight-all): New function to delete all
1374 overlays when turning off `global-hl-line-mode'.
1375 This fixes Bug#16183.
1377 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1379 * subr.el (set-transient-map): Fix nested case and docstring.
1381 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1383 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1386 2014-01-06 Daniel Colascione <dancol@dancol.org>
1388 Fix defun navigation in vc log view.
1390 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1391 like `beginning-of-defun'.
1392 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1393 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1394 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1395 (log-view-extract-comment): Call `log-view-current-entry' directly
1396 instead of relying on broken `log-view-beginning-of-defun' behavior.
1398 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1401 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1402 * emacs-lisp/debug.el (cancel-debug-on-entry):
1403 * epg.el (epg-error-to-string):
1404 * files.el (recover-file):
1405 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1406 * mail/emacsbug.el (report-emacs-bug-hook):
1407 * mail/sendmail.el (mail-recover):
1408 * ses.el (ses-yank-resize):
1409 * term/ns-win.el (ns-print-buffer):
1410 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1411 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1413 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1415 2014-01-06 Leo Liu <sdl.web@gmail.com>
1417 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1418 to avoid shadowing global key. (Bug#16354)
1420 2014-01-06 Daniel Colascione <dancol@dancol.org>
1422 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1425 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1427 * window.el (balance-windows): Add mising t to fix Bug#16351.
1429 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1431 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1433 (shr-insert): If we have a word that's longer than `shr-width',
1434 break after it anyway. Otherwise we'll do no breaking once we get
1437 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1439 * net/eww.el (eww): Support single/double quote for search.
1440 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1441 (eww-history-quit): Delete and use quit-window.
1442 (eww-history-kill): Delete, because it doesn't work well and
1444 (eww-history-mode-map): Delete some keys and add easy-menu.
1446 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1448 Fix misspelling of 'chinese' in rx (Bug#16237).
1449 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1452 Change subword regexps back to vars (Bug#16296).
1453 * progmodes/subword.el (subword-forward-regexp)
1454 (subword-backward-regexp): Change these back to variables.
1456 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1459 syntax-begin-function (bug#16247).
1461 2014-01-03 Chong Yidong <cyd@gnu.org>
1463 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1464 (advice--docstring): Delete variable.
1465 (advice--make-1): Leave the docstring empty.
1466 (advice-add): Use function-documentation for advised docstring.
1468 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1469 Ignore function-documentation property when getting documentation.
1470 (ad-activate-advised-definition): Use function-documentation
1471 generate the docstring.
1472 (ad-make-advised-definition): Don't call
1473 ad-make-advised-definition-docstring.
1474 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1477 * progmodes/sql.el (sql-help): Use function-documentation instead
1478 of dynamic-docstring-function property. No need to autoload now.
1479 (sql--help-docstring): New variable.
1480 (sql--make-help-docstring): Use it.
1482 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1484 * ielm.el (ielm-tab): Retarget.
1485 (ielm-map): Use ielm-tab for tab.
1486 (ielm-complete-filename): Use comint-filename-completion.
1487 (ielm-complete-symbol): Remove.
1488 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1489 remove ielm-tab from completion-at-point-functions (bug#16224).
1491 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1492 Beware signals raised by predicates (bug#16201).
1494 2014-01-02 Richard Stallman <rms@gnu.org>
1496 * dired-aux.el (dired-do-print): Handle printer-name.
1498 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1499 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1500 (rmail-epa-decrypt): Turn off mime processing.
1502 * mail/rmail.el (rmail-make-in-reply-to-field):
1503 Add parens in message-id.
1505 * mail/rmail.el (rmail-get-coding-function): Variable.
1506 (rmail-get-coding-system): Use it.
1508 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1510 * international/mule-conf.el: Unify the charset indian-is13194.
1511 (indian-is13194): Specify unify-map.
1513 2013-12-31 Leo Liu <sdl.web@gmail.com>
1515 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1517 2013-12-30 Daniel Colascione <dancol@dancol.org>
1519 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1520 of printing a useless when we resume from sleep.
1522 * progmodes/sh-script.el
1523 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1524 in indentation code. (Bug#16233)
1526 2013-12-28 João Távora <joaotavora@gmail.com>
1528 * elec-pair.el (electric-pair-post-self-insert-function):
1529 Don't open extra newlines at beginning of buffer. (Bug#16272)
1531 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1533 * frame.el (window-system-for-display): Don't allow to create a
1534 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1536 2013-12-28 Glenn Morris <rgm@gnu.org>
1538 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1541 * apropos.el (apropos-match-face):
1542 * calculator.el (calculator-displayer):
1543 * dabbrev.el (dabbrev-search-these-buffers-only):
1544 * face-remap.el (buffer-face-mode-face):
1545 * simple.el (yank-handled-properties):
1546 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1547 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1548 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1549 (hashcash-double-spend-database):
1550 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1551 (ruby-deep-indent-paren-style):
1552 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1553 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1554 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1555 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1556 Specify custom types.
1558 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1559 * bookmark.el (bookmark-bmenu-use-header-line):
1560 * doc-view.el (doc-view-scale-internally):
1561 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1562 * register.el (register-preview-delay):
1563 * net/shr.el (shr-bullet):
1564 * progmodes/cfengine.el (cfengine-cf-promises)
1565 (cfengine-parameters-indent):
1566 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1567 * textmodes/reftex-vars.el (reftex-label-regexps):
1568 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1570 * net/tls.el (tls-certtool-program): Fix default value.
1572 * desktop.el (desktop-restore-in-current-display):
1573 * newcomment.el (comment-empty-lines):
1574 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1575 (idlwave-pad-keyword):
1576 * progmodes/tcl.el (tcl-tab-always-indent):
1577 * textmodes/reftex-vars.el (reftex-index-default-tag):
1578 * elec-pair.el (electric-pair-skip-whitespace):
1579 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1581 * emacs-lisp/authors.el (authors-ignored-files)
1582 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1584 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1586 * shell.el (shell-dynamic-complete-command): Doc fix.
1587 (shell--command-completion-data): Shell completion now matches
1588 executable filenames from the current buffer's directory, on
1589 systems in which this behavior is the default (windows-nt, ms-dos).
1591 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1593 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1595 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1597 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1600 * electric.el: Move all electric-pair-* to elec-pair.el.
1601 * elec-pair.el: New file, split from electric.el.
1603 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1605 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1606 indentation level is larger than the width, because that will
1608 (shr-insert): Fill repeatedly long texts, so that Japanese is
1609 formatted correctly (bug#16263).
1610 (shr-find-fill-point): Off by one error in comparison with the
1613 2013-12-26 João Távora <joaotavora@gmail.com>
1615 * electric.el (electric-pair-mode): More flexible engine for skip-
1616 and inhibit predicates, new options for pairing-related functionality.
1617 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1618 if that keeps or improves their balance in buffers.
1619 (electric-pair-delete-adjacent-pairs): Delete the pair when
1620 backspacing over adjacent matched delimiters.
1621 (electric-pair-open-extra-newline): Open extra newline when
1622 inserting newlines between adjacent matched delimiters.
1623 (electric--sort-post-self-insertion-hook):
1624 Sort post-self-insert-hook according to priority values when
1625 minor-modes are activated.
1626 * simple.el (newline-and-indent): Call newline with interactive
1628 (blink-paren-post-self-insert-function): Set priority to 100.
1629 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1630 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1631 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1632 electric-pair-open-newline-between-pairs to nil.
1634 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1636 * progmodes/python.el: Use lexical-binding.
1637 (python-nav-beginning-of-defun): Stop searching ASAP.
1639 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1641 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1642 Fix interactive spec. Doc fix. (Bug#15754)
1644 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1646 * emacs-lisp/byte-run.el (eval-when-compile):
1647 * progmodes/cc-defs.el (cc-eval-when-compile):
1648 Fix edebug spec (bug#16184).
1650 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1652 * net/shr.el (shr-visit-file): Remove debugging function.
1653 (shr-insert): Don't infloop if we can't find a good place to break
1654 the line (bug#16256).
1656 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1658 * progmodes/python.el:
1659 (python-nav--lisp-forward-sexp): New function.
1660 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1661 python-nav-lisp-forward-sexp-safe.
1662 (python-nav--forward-sexp): New argument SAFE allows switching
1663 forward sexp movement behavior for parens.
1664 (python-nav-forward-sexp): Throw errors on unterminated parens
1666 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1667 (python-nav-backward-sexp-safe): New functions.
1668 (python-shell-buffer-substring):
1669 Use `python-nav-forward-sexp-safe'.
1671 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1673 * net/shr.el (shr-find-fill-point): Don't break lines before a
1675 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1676 (shr-find-fill-point): Remove the special checks for the quotation
1677 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1679 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1681 * net/eww.el (eww-form-textarea): Use a different face for
1682 textareas than text input since they have different keymaps
1685 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1687 * progmodes/python.el (python-nav-beginning-of-statement):
1688 Speed up (Bug#15295).
1690 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1692 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1693 the window configuration.
1695 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1697 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1698 we run on MS-Windows or MS-DOS.
1700 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1702 * window.el (balance-windows-area): Call window-size instead of
1703 window-height and window-width. Bug#16241.
1705 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1707 * net/eww.el (eww-bookmark-quit): Remove.
1708 (eww-bookmark-browse): Restore the window configuration when you
1709 choose a bookmark (bug#16144).
1711 2013-12-24 Daniel Colascione <dancol@dancol.org>
1713 * icomplete.el: Remove redundant :group arguments to `defcustom'
1715 (icomplete-show-matches-on-no-input): New customizable variable.
1716 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1717 we have something to show.
1718 (icomplete-exhibit): Compute completions even if we have no user input.
1720 2013-12-23 Daniel Colascione <dancol@dancol.org>
1722 * icomplete.el: Move `provide' to end of file.
1724 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1726 * net/gnutls.el (gnutls-verify-error): Add version tag.
1728 2013-12-23 Chong Yidong <cyd@gnu.org>
1730 * subr.el (set-transient-map): Rename from
1731 set-temporary-overlay-map. Doc fix.
1733 * face-remap.el (text-scale-adjust):
1734 * indent.el (indent-rigidly):
1735 * kmacro.el (kmacro-call-macro):
1736 * minibuffer.el (minibuffer-force-complete):
1737 * repeat.el (repeat):
1738 * simple.el (universal-argument--mode):
1739 * calendar/todo-mode.el (todo-insert-item--next-param):
1740 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1742 * indent.el (indent-rigidly): Use substitute-command-keys.
1744 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1746 * net/eww.el (eww-tag-select): Add text-property to jump to next
1748 (eww): Add non-supported ftp error.
1750 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1752 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1753 comments. Handle electric indent after typing `?' and `!'.
1755 2013-12-22 Chong Yidong <cyd@gnu.org>
1757 * faces.el (face-spec-recalc): If the theme specs are not
1758 applicable to a frame, fall back on the defface spec.
1759 This prevents themes from obliterating faces on low-color terminals.
1761 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1763 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1764 after `{'. We need it after block openers, and it doesn't seem
1765 to hurt after hash openers.
1767 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1769 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1770 extracted from `ruby-smie-rules'.
1771 (ruby--electric-indent-chars): New variable.
1772 (ruby--electric-indent-p): New function.
1773 (ruby-mode): Use `electric-indent-functions' instead of
1774 `electric-indent-chars'.
1776 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1778 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1780 (ruby-smie-rules): Indent plus one level after `=>'.
1782 2013-12-21 Richard Stallman <rms@gnu.org>
1784 * simple.el (newline): Doc fix.
1786 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1788 * net/eww.el (eww-list-histories, eww-list-histories)
1789 (eww-history-browse, eww-history-quit, eww-history-kill)
1790 (eww-history-mode-map, eww-history-mode): New command and
1791 functions to list browser histories.
1792 (eww-form-text): Support text form with disabled
1793 and readonly attributes.
1794 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1796 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1798 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1799 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1800 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1801 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1803 (eww-bookmark-mode-map): Add menu.
1804 (eww-render, eww-mode): Use `setq-local'.
1805 (eww-tool-bar-map): New variable.
1806 (eww-mode): Set `tool-bar-map'.
1807 (eww-view-source): Check for `html-mode' with `fboundp'.
1809 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1811 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1812 elements with text inside. Also remove debugging.
1814 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1816 * cus-start.el (all): Add ns-use-srgb-colorspace.
1818 2013-12-21 Chong Yidong <cyd@gnu.org>
1820 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1821 undefined. Thus, theme settings for undefined faces do not take
1822 effect until the faces are defined with defface, the same as with
1825 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1826 (face-spec-reset-face): Don't assign extra properties in temacs.
1827 (face-spec-recalc): Apply X resources too.
1829 2013-12-21 Chong Yidong <cyd@gnu.org>
1831 * faces.el (face-spec-set):
1832 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1833 * custom.el (defface): Doc fixes (Bug#16203).
1835 * indent.el (indent-rigidly-map): Add docstring, and move commands
1836 into named functions.
1837 (indent-rigidly-left, indent-rigidly-right)
1838 (indent-rigidly-left-to-tab-stop)
1839 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1840 indentation direction based on bidi direction, and accumulate
1841 sequential commands in a single undo boundary.
1842 (indent-rigidly--pop-undo): New utility function.
1844 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1846 * faces.el (read-face-name): Require crm.el when using crm-separator.
1848 2013-12-20 Daniel Colascione <dancol@dancol.org>
1850 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1851 so that we don't reflow comments into the shebang line.
1853 2013-12-20 Juri Linkov <juri@jurta.org>
1855 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1856 a position when `dired-directory' is non-nil. Check integer
1857 positions with `integerp'.
1858 (toggle-save-place, save-places-to-alist): Add check for
1860 (save-place-find-file-hook): Check integer positions with
1862 (save-place-dired-hook): Use `dired-goto-file' when
1863 `dired-filename' is found in the assoc list. Check integer
1864 positions with `integerp'.
1865 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1867 * dired.el (dired-initial-position-hook): Rename back from
1868 `dired-initial-point-hook'.
1869 (dired-initial-position): Rename `dired-initial-point-hook' to
1870 `dired-initial-position-hook'.
1871 (dired-file-name-at-point): Doc fix. (Bug#15329)
1873 2013-12-20 Juri Linkov <juri@jurta.org>
1875 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1876 (read-regexp-suggestions): New function.
1877 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1878 Use `read-regexp-suggestions'. Add non-empty default to history
1880 (occur-read-regexp-defaults-function): Remove function.
1881 (occur-read-primary-args): Use `regexp-history-last' instead of
1882 `occur-read-regexp-defaults-function'.
1884 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1885 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1886 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1887 `hi-lock-read-regexp-defaults-function'. Doc fix.
1888 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1889 with `find-tag-default-as-symbol-regexp'. Doc fix.
1890 (hi-lock-read-regexp-defaults): Remove function.
1891 (hi-lock-regexp-okay): Add check for null.
1893 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1894 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1896 * subr.el (find-tag-default-as-symbol-regexp): New function.
1897 (find-tag-default-as-regexp): Move symbol regexp formatting to
1898 `find-tag-default-as-symbol-regexp'.
1900 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1902 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1905 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1907 * calendar/todo-mode.el: New implementation of item insertion
1908 commands and key bindings.
1909 (todo-key-prompt): New face.
1910 (todo-insert-item): New command.
1911 (todo-insert-item--parameters): New defconst, replacing defvar
1912 todo-insertion-commands-args-genlist.
1913 (todo-insert-item--param-key-alist): New defconst, replacing
1914 defvar todo-insertion-commands-arg-key-list.
1915 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1916 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1917 (todo-insert-item--next-param): New functions.
1918 (todo-insert-item--args, todo-insert-item--argleft)
1919 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1921 (todo-key-bindings-t): Change binding of "i" from
1922 todo-insertion-map to todo-insert-item.
1923 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1924 (todo-insertion-command-name, todo-insertion-commands-names)
1925 (todo-define-insertion-command, todo-insertion-commands)
1926 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1928 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1930 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1931 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1933 (todo-move-category): Allow choosing a non-existing todo file to
1934 move the category to, and create that file.
1935 (todo-default-priority): New user option.
1936 (todo-set-item-priority): Use it.
1937 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1938 (desktop-restore-file-buffer): Declare.
1939 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1940 (todo-modes-set-2): Locally set desktop-save-buffer to
1941 todo-desktop-save-buffer.
1942 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1943 (auto-mode-alist): Add autoload cookie.
1945 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1947 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1948 helpers.el was a poor choice of name.
1949 (string-remove-prefix): New function.
1950 (string-remove-suffix): New function.
1952 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1954 Fix assignment for new window total sizes.
1955 * window.el (window--pixel-to-size): Remove function.
1956 (window--pixel-to-total-1, window--pixel-to-total):
1957 Fix calculation of new total sizes.
1959 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1961 * comint.el (comint-output-filter): Fix rear-nonsticky property
1962 placement (Bug#16010).
1964 2013-12-20 Chong Yidong <cyd@gnu.org>
1966 * faces.el (read-color): Minor fix for completion function.
1968 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1970 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1971 New option. (Bug#16182)
1972 (ruby-smie--indent-to-stmt-p): Use it.
1973 (ruby-smie-rules): Revert the logic in the handling of `when'.
1974 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1975 (ruby-deep-arglist, ruby-deep-indent-paren)
1976 (ruby-deep-indent-paren-style): Update docstrings to note that the
1977 vars don't have any effect with SMIE.
1979 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1981 * calc/calc.el (calc-enter, calc-pop): Use the variable
1982 `calc-context-sensitive-enter'.
1984 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1986 * net/shr.el (shr-insert): Protect against infloops in degenerate
1989 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1991 * progmodes/octave.el (octave): Add link to manual and octave
1993 (octave-mode-menu): Link to octave-mode manual.
1995 2013-12-20 Leo Liu <sdl.web@gmail.com>
1997 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1998 insertion using skeleton-end-newline. (Bug#16138)
2000 2013-12-20 Juri Linkov <juri@jurta.org>
2002 * replace.el (occur-engine): Use `add-face-text-property'
2003 to add the face property to matches and titles. (Bug#14645)
2005 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2006 the palette of other hi-lock colors.
2007 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2009 2013-12-19 Juri Linkov <juri@jurta.org>
2011 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2012 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2013 (minibuffer-history-symbol): Move variable declaration closer to
2016 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2019 2013-12-19 Juri Linkov <juri@jurta.org>
2021 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2023 (log-edit-hook): Add it to :options. (Bug#16170)
2025 2013-12-19 Juri Linkov <juri@jurta.org>
2027 * simple.el (eval-expression-print-format): Don't check for
2028 command names and the last command. Always display additional
2029 formats of the integer result in the echo area, and insert them
2030 to the current buffer only with a zero prefix arg.
2031 Display character when char-displayable-p is non-nil.
2032 (eval-expression): With a zero prefix arg, set `print-length' and
2033 `print-level' to nil, and insert the integer values from
2034 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2036 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2037 `eval-last-sexp-arg-internal'. Doc fix.
2038 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2039 `eval-last-sexp-print-value'. Doc fix.
2040 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2041 Set `print-length' and `print-level' to nil when arg is zero.
2042 (eval-last-sexp): Doc fix.
2043 (eval-defun-2): Print the integer values from
2044 `eval-expression-print-format' at the end.
2046 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2047 values from `eval-expression-print-format' at the end.
2049 * ielm.el (ielm-eval-input): Print the integer
2050 values from `eval-expression-print-format' at the end.
2052 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2054 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2055 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2057 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2059 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2060 (hl-line-highlight, global-hl-line-highlight): Use it.
2061 (hl-line-overlay): Use defvar-local.
2063 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2065 * term/ns-win.el: Require dnd.
2066 (global-map): Remove drag items.
2067 (ns-insert-text, ns-set-foreground-at-mouse)
2068 (ns-set-background-at-mouse):
2069 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2070 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2073 2013-12-19 Glenn Morris <rgm@gnu.org>
2075 * emacs-lisp/ert.el (ert-select-tests):
2076 Fix string/symbol mixup. (Bug#16121)
2078 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2080 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2081 keywords to their parent.
2083 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2085 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2086 first arg to be a string (fixed dead code), or an operator symbol.
2087 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2089 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2090 did nothing. Don't respond to `(:after ".")', it will be called
2091 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2092 change anything. Only return indentation for binary operators
2093 when they are hanging. De-dent opening paren when its parent is
2094 `.', otherwise it looks bad when the dot is not at bol or eol
2097 2013-12-19 Juri Linkov <juri@jurta.org>
2099 * replace.el (query-replace-read-args): Split a non-negative arg
2100 and a negative arg into separate elements.
2101 (query-replace, query-replace-regexp, replace-string)
2102 (replace-regexp): Add arg `backward'. Doc fix.
2103 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2104 move point to the beginning of the match.
2105 (replace-search, replace-highlight): Use new arg `backward'
2106 to set the value of `isearch-forward'.
2107 (perform-replace): Add arg `backward' and use it to perform
2108 replacement backward. (Bug#14979)
2110 * isearch.el (isearch-query-replace): Use a negative prefix arg
2111 to call `perform-replace' with a non-nil arg `backward'.
2113 2013-12-18 Juri Linkov <juri@jurta.org>
2115 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2116 to the default list. Move `log-edit-show-files' to the end.
2117 Add more available functions to options.
2118 (log-edit): Move default specific settings to
2119 `log-edit-insert-message-template'. Don't move point.
2120 (log-edit-insert-message-template): New function.
2121 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2124 2013-12-18 Juri Linkov <juri@jurta.org>
2126 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2127 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2129 2013-12-18 Leo Liu <sdl.web@gmail.com>
2131 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2134 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2136 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2137 formats for displaying file sizes when the -s switch is given.
2138 Instead, compute a separate format for displaying the size in
2139 blocks, which is displayed in addition to the "regular" size.
2140 When -h is given in addition to -s, produce size in blocks in
2141 human-readable form as well. (Bug#16179)
2143 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2145 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2146 Reference tables with ~\ref{...} instead of only \ref{...}.
2148 2013-12-18 Chong Yidong <cyd@gnu.org>
2150 * cus-edit.el (custom-magic-alist): Fix "themed" description
2153 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2154 is non-nil, do not create a new entry in the symbol's theme-value
2155 or theme-face property; update theme-settings only (Bug#14664).
2156 (custom-available-themes): Doc fix.
2158 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2161 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2163 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2165 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2168 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2170 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2172 2013-12-18 Glenn Morris <rgm@gnu.org>
2174 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2175 * cus-start.el (load-prefer-newer): New option.
2177 2013-12-18 Le Wang <l26wang@gmail.com>
2179 * comint.el (comint-previous-matching-input-from-input):
2180 Retain point (Bug#13404).
2182 2013-12-18 Chong Yidong <cyd@gnu.org>
2184 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2186 2013-12-18 Glenn Morris <rgm@gnu.org>
2188 * mail/emacsbug.el (report-emacs-bug):
2189 Only mention enable-multibyte-characters if non-standard.
2191 2013-12-17 Juri Linkov <juri@jurta.org>
2193 * arc-mode.el (archive-extract-by-file): Check if directory exists
2194 before deletion to not show irrelevant errors if it doesn't exist.
2196 2013-12-17 Juri Linkov <juri@jurta.org>
2198 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2201 * net/eww.el (browse-web): Add alias to `eww'.
2202 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2203 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2205 * net/browse-url.el (browse-url-browser-function): Move `eww'
2206 closer to similar functions.
2208 * startup.el (fancy-startup-screen, fancy-about-screen):
2209 Set browse-url-browser-function to eww-browse-url locally.
2212 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2214 * window.el (window--pixel-to-total): Remove unused `mini' var.
2215 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2216 (split-window): Remove unused `new' var.
2217 (window--display-buffer): Remove unused `frame' and `delta' vars.
2218 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2221 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2223 * dired.el (dired-mark-pop-up):
2224 * register.el (register-preview): Don't bind
2225 split-height-threshold here since it's now done in
2226 display-buffer-below-selected.
2228 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2230 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2231 xterm-rgb-convert-to-16bit.
2232 (rxvt-register-default-colors): Standardize with
2233 xterm-register-default-colors (Bug#14078).
2235 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2237 * simple.el (kill-region): Pass mark first, then point, so that
2238 kill-append works right (Bug#12819).
2239 (copy-region-as-kill, kill-ring-save): Likewise.
2241 2013-12-17 Leo Liu <sdl.web@gmail.com>
2243 * net/rcirc.el (rcirc-add-face):
2244 * eshell/em-prompt.el (eshell-emit-prompt):
2245 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2248 2013-12-17 Chong Yidong <cyd@gnu.org>
2250 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2251 Suggested by Xue Fuqiao.
2253 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2255 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2257 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2259 * net/shr.el (shr-insert-document): Remove unused var
2260 `shr-preliminary-table-render'.
2261 (shr-rescale-image): Remove unused arg `force'.
2262 (shr-put-image): Update calls accordingly.
2263 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2265 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2267 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2268 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2269 :close-all, to see which indentation method to use (Bug#16116).
2270 (smie-rules-function): Document the method :close-all.
2272 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2274 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2276 * net/eww.el (eww-display-html): If we can't find the anchor we're
2277 looking for, then go to point-min.
2279 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2281 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2282 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2283 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2284 Expand dir too, in case it's relative.
2286 2013-12-16 Juri Linkov <juri@jurta.org>
2288 * desktop.el (desktop-auto-save-timeout): Change default to
2289 `auto-save-timeout'. Doc fix.
2290 (desktop-save): Skip the timestamp in desktop-saved-frameset
2291 when checking for auto-save changes.
2292 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2293 `desktop-auto-save' is called repeatedly by the idle timer.
2294 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2295 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2298 2013-12-16 Juri Linkov <juri@jurta.org>
2300 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2302 (isearch-pre-command-hook): Check `this-command' for symbolp.
2304 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2306 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2308 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2310 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2311 (cfengine3--current-function): Bring in the current-function
2312 functionality from `cfengine3--current-word'.
2313 (cfengine3-completion-function): Bring in the
2314 bounds-of-current-word functionality from
2315 `cfengine3--current-word'.
2317 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2319 * window.el (display-buffer-below-selected):
2320 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2322 2013-12-16 Leo Liu <sdl.web@gmail.com>
2324 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2325 Remove NOMSG arg and all uses changed.
2327 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2329 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2330 (cua--deactivate-rectangle): Don't deactivate the mark.
2331 (cua-set-rectangle-mark): Don't set mark-active since
2332 cua--activate-rectangle already does it for us.
2333 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2334 non-rectangular region.
2336 * emulation/cua-base.el (cua-repeat-replace-region):
2337 Use with-current-buffer.
2339 * net/gnutls.el: Use cl-lib.
2340 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2342 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2344 * emacs-lisp/package.el (package-built-in-p): Support both
2345 built-in and the package.el converted package descriptions.
2346 (package-show-package-list): Allow keywords.
2347 (package-keyword-button-action): Use it instead of
2348 `finder-list-matches'.
2349 (package-menu-filter-interactive): Interactive filtering (by
2351 (package-menu--generate): Support keywords and change keymappings
2352 and headers when they are given.
2353 (package--has-keyword-p): Helper function.
2354 (package-menu--refresh): Use it.
2355 (package--mapc): Helper function.
2356 (package-all-keywords): Use it.
2357 (package-menu-mode-map): Set up menu items and keybindings to
2358 provide a filtering UI.
2360 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2362 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2363 the behavior when a certificate fails validation. Defaults to
2364 old behavior: never abort, just warn.
2365 (gnutls-negotiate): Use it.
2367 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2369 * window.el (display-buffer-below-selected): Never split window
2370 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2372 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2374 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2375 (package-buffer-info): Use it (bug#15108).
2377 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2379 * icomplete.el (icomplete-completions): Make sure the prefix is already
2380 displayed elsewhere before hiding it (bug#16219).
2382 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2384 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2385 open-paren tokens when preceded by a open-paren, too.
2386 (ruby-smie-rules): Handle virtual indentation after open-paren
2387 tokens specially. If there is code between it and eol, return the
2388 column where is starts (Bug#16118).
2390 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2392 * progmodes/cfengine.el: Fix `add-hook' doc.
2393 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2394 (cfengine3--current-word): Fix parameters.
2395 (cfengine3-make-syntax-cache): Simplify further.
2396 (cfengine3-completion-function, cfengine3--current-function):
2397 Use `assq' for symbols.
2398 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2400 2013-12-13 Glenn Morris <rgm@gnu.org>
2402 * loadup.el (load-path): Warn if site-load or site-init changes it.
2403 No more need to reset it when bootstrapping.
2405 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2407 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2408 locations for cf-promises.
2409 (cfengine-mode-syntax-functions-regex): New caching variable.
2410 (cfengine3-fallback-syntax): Fallback syntax for cases where
2411 cf-promises doesn't run.
2412 (cfengine3--current-word): Reimplement using
2413 `cfengine-mode-syntax-functions-regex'.
2414 (cfengine3-completion-function, cfengine3--current-function):
2415 Use `cfengine3-make-syntax-cache' directly.
2416 (cfengine3-clear-syntax-cache): New function.
2417 (cfengine3-make-syntax-cache): Simplify and create
2418 `cfengine-mode-syntax-functions-regex' on demand.
2419 (cfengine3-format-function-docstring): Don't call
2420 `cfengine3-make-syntax-cache' explicitly.
2422 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2424 Fix windmove-find-other-window broken after pixelwise resizing
2426 * windmove.el (windmove-other-window-loc): Revert change from
2428 (windmove-find-other-window): Call window-in-direction.
2429 * window.el (window-in-direction): New arguments SIGN, WRAP and
2430 MINI to emulate original windmove-find-other-window behavior.
2432 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2434 * simple.el (blink-matching--overlay): New variable.
2435 (blink-matching-open): Instead of moving point, highlight the
2436 matching paren with an overlay
2437 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2439 * faces.el (paren-showing-faces, show-paren-match)
2440 (show-paren-mismatch): Move from paren.el.
2442 2013-12-13 Leo Liu <sdl.web@gmail.com>
2444 * indent.el (indent-region): Disable progress reporter in
2445 minibuffer. (Bug#16108)
2447 * bindings.el (visual-order-cursor-movement): Fix version.
2449 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2451 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2452 Also match after beginning of line.
2453 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2454 files. Thanks to Russell Sim. (Bug#15378)
2456 2013-12-13 Juri Linkov <juri@jurta.org>
2458 * simple.el <Keypad support>: Remove key bindings duplicated
2459 with bindings.el. (Bug#14397)
2461 2013-12-13 Juri Linkov <juri@jurta.org>
2463 * comint.el (comint-mode-map): Replace `delete-char' with
2464 `delete-forward-char'. (Bug#16109)
2466 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2468 * progmodes/python.el (python-indent-calculate-indentation):
2469 Fix de-denters cornercase. (Bug#15731)
2471 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2473 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2474 (advice--make): Pay attention to `depth'.
2475 (advice--make-1): Don't autoload commands eagerly.
2476 * emacs-lisp/elp.el (elp-instrument-function):
2477 * emacs-lisp/trace.el (trace-function-internal):
2478 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2480 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2482 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2484 * term/w32-win.el (w32-handle-dropped-file):
2485 * startup.el (normal-top-level):
2486 * net/browse-url.el (browse-url-file-url):
2487 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2488 decode file names using 'utf-8' rather than
2489 file-name-coding-system.
2491 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2493 * progmodes/python.el (python-indent-context)
2494 (python-indent-calculate-indentation): Fix auto-identation
2495 behavior for comment blocks. (Bug#15916)
2497 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2499 * progmodes/python.el (python-indent-calculate-indentation):
2500 When determining indentation, don't treat "return", "pass", etc., as
2501 operators when they are just string constituents. (Bug#15812)
2503 2013-12-12 Juri Linkov <juri@jurta.org>
2505 * uniquify.el (uniquify-buffer-name-style): Change default to
2506 `post-forward-angle-brackets'.
2508 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2509 `uniquify'. Change default to `post-forward-angle-brackets'.
2511 2013-12-11 Glenn Morris <rgm@gnu.org>
2513 * emacs-lisp/package.el (finder-list-matches):
2514 Autoload rather than falsely declaring.
2516 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2518 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2519 (eww-mode-map): Use them.
2521 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2523 * window.el (display-buffer-in-side-window): Fix doc-string
2526 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2528 * vc/vc-git.el: Silence byte-compiler warnings.
2529 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2530 (log-edit-set-header): Declare.
2532 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2534 * Makefile.in (custom-deps, finder-data): Run output file names
2535 through unmsys--file-name. (Bug#16099)
2537 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2539 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2540 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2542 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2543 instead of deleting the selection "by hand" (bug#16098).
2544 Rely on insert-for-yank to yank rectangles.
2545 (cua-highlight-region-shift-only): Mark obsolete.
2546 (cua-mode): Don't enable/disable transient-mark-mode,
2547 shift-select-mode (cua-mode works both with and without them), and
2548 pc-selection-mode (obsolete).
2549 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2550 (cua--deactivate-rectangle): Deactivate it.
2552 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2553 (delete-selection-helper): Make sure yank starts at the top of the
2555 (minibuffer-keyboard-quit): Use region-active-p.
2557 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2559 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2560 to `delete' (bug#16109).
2562 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2564 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2565 info manual and show keybindings and set `:group' keyword.
2567 2013-12-11 Juri Linkov <juri@jurta.org>
2569 * delsel.el (delete-active-region): Let-bind `this-command'
2570 to prevent `kill-region' from changing its original value.
2571 (delete-selection-helper): Handle `overwrite-mode' for the type
2572 `kill' exactly the same way as for the type `t'.
2573 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2574 Support more commands. (Bug#13312)
2576 2013-12-11 Juri Linkov <juri@jurta.org>
2578 * bindings.el: Map kp keys to non-kp keys systematically
2579 with basic modifiers control, meta and shift. (Bug#14397)
2581 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2583 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2584 "Close browser" menu items. Fix wrong function of "List
2587 2013-12-11 Juri Linkov <juri@jurta.org>
2589 * misearch.el (multi-isearch-buffers): Set the value of
2590 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2591 arg of isearch-forward to t.
2592 (multi-isearch-buffers-regexp): Set the value of
2593 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2594 arg of isearch-forward-regexp to t.
2595 (multi-isearch-files): Set the value of
2596 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2597 arg of isearch-forward to t.
2598 (multi-isearch-files-regexp): Set the value of
2599 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2600 arg of isearch-forward-regexp to t. (Bug#16035)
2602 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2603 arg of isearch-forward to t.
2604 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2605 arg of isearch-forward-regexp to t.
2606 (dired-isearch-filter-filenames): Remove unnecessary check for
2607 `dired-isearch-filenames'.
2609 * comint.el (comint-history-isearch-backward):
2610 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2611 (comint-history-isearch-backward-regexp):
2612 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2614 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2616 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2617 unmsys--file-name. (Bug#16099)
2619 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2621 * emacs-lisp/package.el (package-keyword-button-action):
2622 Remove finder.el require dependency.
2624 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2626 * emacs-lisp/package.el: Require finder.el.
2627 (describe-package-1): Add keyword buttons.
2628 (package-make-button): New convenience function.
2629 (package-keyword-button-action): Keyword button action using
2630 `finder-list-matches'.
2632 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2634 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2637 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2639 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2642 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2644 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2645 after the end of a percent literal.
2647 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2649 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2650 Handle caret-delimited strings (Bug#16079).
2652 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2654 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2655 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2656 `ruby-parse-partial' (Bug#16078).
2658 2013-12-09 Leo Liu <sdl.web@gmail.com>
2660 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2662 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2664 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2665 (js-switch-indent-offset): New option.
2666 (js--proper-indentation): Use it. And handle the case when
2667 "default" is actually a key in an object literal.
2668 (js--same-line): New function.
2669 (js--multi-line-declaration-indentation): Use it.
2670 (js--indent-in-array-comp, js--array-comp-indentation):
2672 (js--proper-indentation): Use them, to handle array comprehension
2675 2013-12-08 Leo Liu <sdl.web@gmail.com>
2677 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2678 (flymake-make-overlay): Remove arg MOUSE-FACE.
2679 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2681 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2683 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2685 (redisplay-highlight-region-function): Use it.
2687 * emulation/cua-base.el (cua--explicit-region-start)
2688 (cua--last-region-shifted): Remove.
2689 (cua--deactivate): Use deactivate-mark.
2690 (cua--pre-command-handler-1): Don't handle shift-selection.
2691 (cua--post-command-handler-1): Don't change transient-mark-mode.
2692 (cua--select-keymaps): Use region-active-p rather than
2693 cua--explicit-region-start or cua--last-region-shifted.
2694 (cua-mode): Enable shift-select-mode.
2696 2013-12-08 Leo Liu <sdl.web@gmail.com>
2698 * progmodes/flymake.el (flymake-popup-current-error-menu):
2699 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2700 (flymake-posn-at-point-as-event, flymake-popup-menu)
2701 (flymake-make-emacs-menu): Remove. (Bug#16077)
2703 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2705 * rect.el (rectangle-mark-mode): Activate mark even if
2706 transient-mark-mode is off (bug#16066).
2707 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2708 is > mark and at bolp.
2710 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2711 (region-extract-function): Use it.
2712 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2713 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2715 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2716 kill-ring-save, kill-region, delete-char, delete-forward-char.
2717 Ignore self-insert-iso.
2719 * emulation/cua-gmrk.el (cua--init-global-mark):
2720 Ignore `self-insert-iso'.
2722 * emulation/cua-base.el (cua--prefix-copy-handler)
2723 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2724 checking cua--rectangle.
2725 (cua-delete-region): Use region-extract-function.
2726 (cua-replace-region): Delete function.
2727 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2728 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2729 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2730 (cua--init-keymaps): Don't remap delete-selection commands.
2731 (cua-mode): Use delete-selection-mode instead of rolling our own
2734 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2735 Obey region-extract-function.
2737 Make registers and delete-selection-mode work on rectangles.
2738 * register.el (describe-register-1): Don't modify the register's value.
2739 (copy-to-register): Obey region-extract-function.
2740 * delsel.el (delete-active-region): Obey region-extract-function.
2742 2013-12-08 Leo Liu <sdl.web@gmail.com>
2744 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2745 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2746 (flymake-compilation-prevents-syntax-check)
2747 (flymake-start-syntax-check-on-newline)
2748 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2749 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2750 (flymake-xml-program, flymake-master-file-dirs)
2751 (flymake-master-file-count-limit)
2752 (flymake-allowed-file-name-masks): Relocate.
2753 (flymake-makehash, flymake-float-time)
2754 (flymake-replace-regexp-in-string, flymake-split-string)
2755 (flymake-get-temp-dir): Remove.
2756 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2757 (flymake-current-row, flymake-selected-frame)
2758 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2759 related functions. (Bug#16077)
2761 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2763 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2765 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2767 * help-fns.el (describe-function-1): Use new advice-* functions
2768 rather than old ad-* functions. Fix function type description and
2769 source links for advised functions and subrs.
2771 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2773 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2775 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2777 * progmodes/compile.el (compilation-start):
2778 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2780 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2781 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2783 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2785 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2786 Touch up the last change.
2788 2013-12-06 Leo Liu <sdl.web@gmail.com>
2790 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2791 (inferior-octave-startup): Always use "octave> " for prompt.
2792 (octave-goto-function-definition)
2793 (octave-sync-function-file-names)
2794 (octave-find-definition-default-filename): Remove redundant backquotes.
2796 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2798 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2800 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2801 where appropriate already.
2802 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2803 end of method names (Bug#15874).
2805 2013-12-06 Juri Linkov <juri@jurta.org>
2807 * isearch.el (isearch--saved-overriding-local-map):
2808 New internal variable.
2809 (isearch-mode): Set it to the initial value of
2810 `overriding-terminal-local-map'.
2811 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2812 with `isearch--saved-overriding-local-map'. (Bug#16035)
2814 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2816 * progmodes/octave.el (inferior-octave-completion-table):
2817 Turn back into function, use `completion-table-with-cache'
2818 (Bug#11906). Update all references.
2820 * minibuffer.el (completion-table-with-cache): New function.
2822 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2824 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2826 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2828 * net/eww.el (eww-current-source): New variable to store page
2830 (eww-display-html, eww-mode, eww-save-history)
2831 (eww-restore-history): Use it.
2832 (eww-view-source): New command to view page source.
2833 Opportunistically uses `html-mode' to highlight the buffer.
2834 (eww-mode-map): Install it.
2836 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2838 * net/dbus.el (dbus-unregister-service)
2839 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2841 (dbus-unregister-service): Skip :serial entries in
2842 `dbus-registered-objects-table'.
2843 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2845 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2847 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2848 around keywords with extra `split-string' argument.
2850 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2852 * windmove.el (windmove-other-window-loc): Handle navigation
2853 between windows (excluding the minibuffer window - Bug#16017).
2855 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2857 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2858 in D-Bus type syntax.
2859 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2860 preserve unibyte strings. (Bug#16048)
2862 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2864 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2865 Call force-mode-line-update is the proper buffer (bug#16042).
2867 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2869 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2870 `log-edit-remember-comment', make argument optional. Adjust all
2872 (log-edit-mode): Add `log-edit-remember-comment' to
2873 `kill-buffer-hook' locally.
2874 (log-edit-kill-buffer): Don't remember comment explicitly since
2875 the buffer is killed anyway.
2877 2013-12-04 Juri Linkov <juri@jurta.org>
2879 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2880 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2882 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2884 * notifications.el (notifications-close-notification): Call the
2885 D-Bus method with ID being a `:uint32'. (Bug#16030)
2887 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2889 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2891 2013-12-03 Juri Linkov <juri@jurta.org>
2893 * progmodes/compile.el (compilation-start): Rename window alist
2894 entry `no-display-ok' to `allow-no-window'.
2896 * simple.el (shell-command): Add window alist entry
2897 `allow-no-window' to `display-buffer'.
2898 (async-shell-command): Doc fix.
2900 * window.el (display-buffer-no-window): New action function.
2901 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2903 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2905 * vc/log-edit.el (log-edit-set-header): Extract from
2906 `log-edit-toggle-header'.
2907 (log-edit-extract-headers): Separate the summary, when extracted
2908 from header, from the rest of the message with an empty line.
2910 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2911 line, if present, to the Summary header.
2913 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2915 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2916 in current-buffer (bug#16029).
2918 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2920 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2921 (debugger-mode-map): Bind it.
2922 (debugger--backtrace-base): New function.
2923 (debugger-eval-expression): Use it.
2924 (debugger-frame-number): Skip local vars when present.
2925 (debugger--locals-visible-p, debugger--insert-locals)
2926 (debugger--show-locals, debugger--hide-locals): New functions.
2928 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2930 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2932 (tramp-get-remote-locale): New defun.
2933 (tramp-open-connection-setup-interactive-shell): Use it.
2935 2013-12-02 Leo Liu <sdl.web@gmail.com>
2937 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2939 * progmodes/sh-script.el (sh-shell-process):
2940 * progmodes/octave.el (inferior-octave-process-live-p):
2941 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2942 (gdb-inferior-io-sentinel):
2943 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2945 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2947 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2948 `save-selected-window' to `log-edit-hide-buf'. This makes
2949 `log-edit-show-files' idempotent.
2950 (log-edit-show-files): Mark the new window as dedicated.
2952 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2954 * vc/log-edit.el (log-edit-mode-map): Add binding for
2955 `log-edit-kill-biffer'.
2956 (log-edit-hide-buf): Add a FIXME comment.
2957 (log-edit-add-new-comment): New function, extracted from
2959 (log-edit-done, log-edit-add-to-changelog): Use it.
2960 (log-edit-kill-buffer): New command.
2962 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2964 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2965 instead of killing the buffer.
2967 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2969 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2971 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2973 * net/eww.el (eww-form-checkbox-selected-symbol)
2974 (eww-form-checkbox-symbol): New customizable variable.
2975 (eww-form-checkbox, eww-toggle-checkbox):
2976 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2978 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2979 (shr--get-media-pref, shr--extract-best-source): New function.
2980 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2981 no :src tag was specified.
2983 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2984 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2985 Use \\` to match beginning of string instead of ^.
2986 (eww-browse-with-external-browser): Provide optional URL parameter.
2987 (eww-render): Set `eww-current-title' back to "".
2989 * net/shr.el (shr-tag-video): Display content for video if no
2990 poster is available.
2991 (shr-tag-audio): Add support for <audio> tag.
2993 * net/eww.el (eww-text-input-types): New const.
2994 (eww-process-text-input): Treat input types in
2995 `eww-text-input-types' as text.
2997 * net/shr.el (shr-tag-table): Fix comment typo.
2999 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3001 * net/eww.el (eww-follow-link): New command to avoid reloading
3002 pages when we follow #target links (bug#15243).
3003 (eww-quit): Special mode buffers shouldn't query before exiting.
3005 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3007 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3010 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3012 * net/eww.el (eww-restore-history): Update the window title after
3013 moving in the history.
3014 (eww-current-dom): New variable used to save the current DOM.
3016 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3018 * vc/log-edit.el (log-edit-mode-map): Add binding for
3019 `log-edit-beginning-of-line'.
3020 (log-edit-setup-add-author): New user option.
3021 (log-edit-beginning-of-line): New command.
3022 (log-edit): Move major mode call above the contents setup so that
3023 the local variable values are already applied.
3024 (log-edit): Only insert "Author: " when
3025 `log-edit-setup-add-author' is non-nil.
3026 (log-edit): When SETUP is non-nil, position point after ": "
3027 instead of point-min.
3029 2013-12-01 Glenn Morris <rgm@gnu.org>
3031 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3033 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3035 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3036 redisplay to make sure the initial frame gets a chance to become
3037 visible. (Bug#16014)
3039 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3041 Support resizing frames and windows pixelwise.
3042 * cus-start.el (frame-resize-pixelwise)
3043 (window-resize-pixelwise): New entries.
3044 * emacs-lisp/debug.el (debug): Use window-total-height instead
3045 of window-total-size.
3046 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3047 * help.el (describe-bindings-internal): Call help-buffer
3048 (temp-buffer-max-width): New option.
3049 (resize-temp-buffer-window, help-window-setup)
3050 (with-help-window): Rewrite.
3051 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3053 * window.el (frame-char-size, window-min-pixel-height)
3054 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3055 (window-min-pixel-width, window-safe-min-pixel-size)
3056 (window-combination-p, window-safe-min-size)
3057 (window-resizable-p, window--size-to-pixel)
3058 (window--pixel-to-size, window--resize-apply-p): New functions.
3059 (window-safe-min-height): Fix doc-string.
3060 (window-size, window-min-size, window--min-size-1)
3061 (window-sizable, window-sizable-p, window--min-delta-1)
3062 (window-min-delta, window--max-delta-1, window-max-delta)
3063 (window--resizable, window--resizable-p, window-resizable)
3064 (window-full-height-p, window-full-width-p, window-at-side-p)
3065 (window--in-direction-2, window-in-direction)
3066 (window--resize-reset-1, window--resize-mini-window)
3067 (window-resize, window-resize-no-error)
3068 (window--resize-child-windows-normal)
3069 (window--resize-child-windows, window--resize-siblings)
3070 (window--resize-this-window, window--resize-root-window)
3071 (window--resize-root-window-vertically)
3072 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3073 (maximize-window, minimize-window, delete-window)
3074 (quit-restore-window, window-split-min-size, split-window)
3075 (balance-windows-2, balance-windows)
3076 (balance-windows-area-adjust, balance-windows-area)
3077 (window--state-get-1, window-state-get, window--state-put-1)
3078 (window--state-put-2, window-state-put)
3079 (display-buffer-record-window, window--display-buffer):
3080 Make functions handle pixelwise sizing of windows.
3081 (display-buffer--action-function-custom-type)
3082 (display-buffer-fallback-action):
3083 Add display-buffer-in-previous-window.
3084 (display-buffer-use-some-window): Resize window to height it had
3086 (fit-window-to-buffer-horizontally): New option.
3087 (fit-frame-to-buffer): Describe new values.
3088 (fit-frame-to-buffer-bottom-margin): Replace with
3089 fit-frame-to-buffer-margins.
3090 (window--sanitize-margin): New function.
3091 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3092 using window-text-pixel-size.
3094 2013-11-30 Glenn Morris <rgm@gnu.org>
3096 * emacs-lisp/bytecomp.el (byte-compile-form):
3097 Make the `interactive-only' warning like the `obsolete' one.
3098 * comint.el (comint-run):
3099 * files.el (insert-file-literally, insert-file):
3100 * replace.el (replace-string, replace-regexp):
3101 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3102 (goto-line, insert-buffer, next-line, previous-line):
3103 Tweak `interactive-only' spec.
3105 Stop keeping (most) generated cedet grammar files in the repository.
3106 * Makefile.in (semantic): New.
3107 (compile-main): Depend on semantic.
3109 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3111 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3112 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3114 * uniquify.el (uniquify-buffer-name-style): Change default.
3116 * loadup.el: Preload "uniquify".
3118 * time.el (display-time-update): Update all mode lines (bug#15999).
3120 * electric.el (electric-indent-mode): Enable by default.
3121 * loadup.el: Preload "electric".
3123 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3125 * emacs-lisp/helpers.el (string-empty-p): New function.
3126 (string-blank-p): New function.
3128 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3130 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3133 2013-11-29 Andreas Politz <politza@fh-trier.de>
3134 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3135 allow non-lambda lists as functions.
3136 (imenu--in-alist): Don't recurse into non-subalists.
3137 (imenu): Don't pass function itself as an argument (Bug#14029).
3139 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3141 * progmodes/python.el (python-mode-map): Remove binding for ":".
3142 (python-indent-electric-colon): Remove command.
3143 (python-indent-post-self-insert-function): Integrate the previous code
3144 of python-indent-electric-colon. Make it conditional on
3145 electric-indent-mode.
3146 (python-mode): Add ?: to electric-indent-chars.
3147 Move python-indent-post-self-insert-function to the end of
3148 post-self-insert-hook.
3150 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3152 * doc-view.el (doc-view-goto-page): Update mode-line.
3154 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3156 2013-11-27 Glenn Morris <rgm@gnu.org>
3158 * international/charprop.el, international/uni-bidi.el:
3159 * international/uni-category.el, international/uni-combining.el:
3160 * international/uni-comment.el, international/uni-decimal.el:
3161 * international/uni-decomposition.el, international/uni-digit.el:
3162 * international/uni-lowercase.el, international/uni-mirrored.el:
3163 * international/uni-name.el, international/uni-numeric.el:
3164 * international/uni-old-name.el, international/uni-titlecase.el:
3165 * international/uni-uppercase.el:
3166 Remove generated files from VCS repository.
3168 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3170 * filenotify.el (file-notify-add-watch): Don't special-case
3171 w32notify when computing the directory to watch.
3173 2013-11-27 Glenn Morris <rgm@gnu.org>
3175 Make bootstrap without generated uni-*.el files possible again.
3176 * loadup.el: Update command-line-args checking for unidata-gen.
3177 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3178 * composite.el, international/characters.el:
3179 Handle unicode tables being undefined.
3181 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3182 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3183 (compile-main): Depend on leim rule.
3185 * loadup.el: Move leim-list.el to leim/ subdirectory.
3186 * startup.el (normal-top-level): No more leim directory.
3187 * international/ja-dic-cnv.el (skkdic-convert):
3188 Disable version-control and autoloads in output files.
3189 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3190 Disable version-control and autoloads in output files.
3191 * leim/quail: Move here from ../leim.
3192 * leim/quail/hangul.el (hangul-input-method-activate):
3193 Add autoload cookie.
3194 (generated-autoload-load-name): Set file-local value.
3195 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3196 (generated-autoload-load-name): Set file-local value.
3198 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3200 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3201 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3202 (eww-quit): Ask confirmation before quitting eww.
3204 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3206 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3207 reading output from Diff on MS-Windows and MS-DOS.
3209 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3211 * emacs-lisp/helpers.el (string-reverse): New function.
3213 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3215 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3216 names on MS Windows, like "/[::1]:".
3218 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3221 2013-11-26 Glenn Morris <rgm@gnu.org>
3223 * progmodes/python.el (python-indent-guess-indent-offset):
3224 Avoid corner-case error. (Bug#15975)
3226 Preload leim-list.el. (Bug#4789)
3227 * loadup.el: Load leim-list.el when found.
3228 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3230 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3232 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3234 * emacs-lisp/helpers.el (string-join): New function.
3236 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3238 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3239 Mark as obsolete and replace it with a symbol property.
3240 (byte-compile-form): Use new 'interactive-only property.
3241 * comint.el, files.el, replace.el, simple.el:
3242 Apply new 'interactive-only properly.
3244 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3246 * window.el (display-buffer-at-bottom): Make sure that
3247 split-window-sensibly creates the new window on bottom
3250 2013-11-23 David Kastrup <dak@gnu.org>
3252 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3253 on the conflict markers when available.
3254 (smerge--get-marker): New function.
3255 (smerge-end-re, smerge-base-re): Add subgroup.
3257 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3259 * frame.el (handle-focus-in, handle-focus-out): Add missing
3262 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3264 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3265 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3267 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3269 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3270 (gomoku--last-pos): New var.
3271 (gomoku--intangible-chars): New const.
3272 (gomoku--intangible): New function.
3273 (gomoku-mode): Use it. Derive from special-mode.
3274 (gomoku-move-up): Adjust line count.
3275 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3276 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3277 Simplify accordingly.
3279 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3280 Remove blink-cursor code.
3281 (blink-cursor-timer-function, blink-cursor-suspend):
3282 Don't special-case GUIs.
3283 (blink-cursor-mode): Use focus-in/out-hook.
3285 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3287 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3288 work when annotation is invisible (Bug#13886).
3290 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3292 * json.el (json-alist-p): Only return non-nil if the alist has
3293 simple keys (Bug#13518).
3295 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3297 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3298 when control-statement is the first statement in a buffer (Bug#15956).
3300 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3302 * imenu.el (imenu-generic-skip-comments-and-strings):
3303 New option (Bug#15560).
3304 (imenu--generic-function): Use it.
3306 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3308 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3311 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3313 * emacs-lisp/helpers.el: Add some string helpers.
3314 (string-trim-left): Removes leading whitespace.
3315 (string-trim-right): Removes trailing whitespace.
3316 (string-trim): Removes leading and trailing whitespace.
3318 * subr.el (string-suffix-p): New function.
3320 2013-11-23 Glenn Morris <rgm@gnu.org>
3322 * progmodes/python.el (python-shell-send-file):
3323 Add option to delete file when done. (Bug#15647)
3324 (python-shell-send-string, python-shell-send-region): Use it.
3326 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3328 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3329 to set buffer-read-only to t, never to nil. (Bug#15938)
3331 * textmodes/tex-mode.el (latex-noindent-environments):
3332 Add safe-local-variable property. (Bug#15936)
3334 2013-11-23 Glenn Morris <rgm@gnu.org>
3336 * textmodes/enriched.el (enriched-mode): Doc fix.
3337 * emacs-lisp/authors.el (authors-renamed-files-alist):
3338 Add enriched.doc -> enriched.txt.
3340 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3342 2013-11-22 Leo Liu <sdl.web@gmail.com>
3344 * progmodes/octave.el (inferior-octave-startup): Spit out error
3347 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3349 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3352 (ruby-encoding-magic-comment-style): Add :version.
3354 2013-11-22 Leo Liu <sdl.web@gmail.com>
3356 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3358 (octave-help-mode): Adapt to change to help-mode-finish to use
3359 derived-mode-p on 2013-09-17.
3360 (inferior-octave-prompt): Also match octave-gui.
3361 (octave-kill-process): Don't ask twice. (Bug#10564)
3363 2013-11-22 Leo Liu <sdl.web@gmail.com>
3365 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3366 (inferior-octave-startup, inferior-octave-check-process)
3367 (inferior-octave-track-window-width-change)
3368 (octave-completion-at-point, octave-eldoc-function): Use it.
3369 (octave-kill-process): Provide confirmation. (Bug#10564)
3371 2013-11-21 Leo Liu <sdl.web@gmail.com>
3373 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3374 Fix obsolete variable comment-use-global-state.
3376 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3378 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3379 Add `octave-source-file'.
3380 (octave-source-file): New function. (Bug#15935)
3382 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3384 * net/eww.el (eww-local-regex): New variable.
3385 (eww): Use it to detect localhost and similar.
3387 2013-11-21 Leo Liu <sdl.web@gmail.com>
3389 Add completion for command `ag'.
3390 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3391 (pcomplete/ag): New function.
3392 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3394 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3396 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3398 (make-obsolete): Remove interactive spec.
3400 2013-11-21 Glenn Morris <rgm@gnu.org>
3402 * startup.el (command-line-1): Use path-separator with -L.
3404 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3406 * emacs-lisp/package.el (describe-package-1): Add package archive
3409 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3411 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3412 Change default to "# encoding: %s" to differentiate it from the
3413 default Ruby encoding comment template.
3415 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3417 * ses.el (ses-mode): Doc fix. (Bug#14748)
3419 2013-11-20 Leo Liu <sdl.web@gmail.com>
3421 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3423 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3425 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3426 when rebase or bisect are in progress.
3428 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3430 * filenotify.el (file-notify-add-watch): Doc fix.
3432 2013-11-19 Leo Liu <sdl.web@gmail.com>
3434 * obsolete/rcompile.el: Mark obsolete.
3436 * progmodes/compile.el (compilation-start)
3437 (compilation-goto-locus, compilation-find-file):
3438 Pass no-display-ok and handle nil value from display-buffer.
3441 * window.el (display-buffer-alist, display-buffer): Document the
3442 new parameter no-display-ok. Return either a window or nil
3443 but never a non-window value.
3445 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3447 * electric.el (electric-indent-mode-map): Remove.
3448 (electric-indent-mode): Change the global-map instead (bug#15915).
3450 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3453 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3455 * emacs-lisp/nadvice.el (remove-function): Align with
3456 add-function's behavior.
3458 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3459 (gdb--string-regexp): New constant.
3460 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3461 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3462 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3464 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3465 Adjust use accordingly.
3466 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3468 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3470 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3471 interpolation curlies (Bug#15914).
3473 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3475 * calc/calc.el (calc-context-sensitive-enter): New variable.
3476 (calc-enter): Use `calc-context-sensitive-enter'.
3478 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3480 * progmodes/cfengine.el: Version bump.
3481 (cfengine-cf-promises): New defcustom to locate cf-promises.
3482 (cfengine3-vartypes): Add new "data" type.
3483 (cfengine3--current-word): New function to get current name-like
3485 (cfengine3--current-function): New function to look up a CFEngine
3486 function's definition.
3487 (cfengine3-format-function-docstring): New function.
3488 (cfengine3-make-syntax-cache): New function.
3489 (cfengine3-documentation-function): New function: ElDoc glue.
3490 (cfengine3-completion-function): New function: completion glue.
3491 (cfengine3-mode): Set `compile-command',
3492 `eldoc-documentation-function', and add to
3493 `completion-at-point-functions'.
3495 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3497 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3498 `tramp-current-connection'.
3500 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3502 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3503 nil/self/true/false with "end of symbol".
3505 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3507 * subr.el (version-regexp-alist): Fix a typo.
3509 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3511 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3512 "en_US.utf8" and "LC_CTYPE" to "".
3513 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3514 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3516 2013-11-15 Leo Liu <sdl.web@gmail.com>
3518 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3520 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3522 * progmodes/gud.el (ctl-x-map):
3523 Remove C-x SPC binding. (Bug#12342)
3524 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3526 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3528 * subr.el (version-regexp-alist):
3529 Recognize hg, svn and darcs versions as snapshot versions.
3531 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3532 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3533 (ruby--encoding-comment-required-p): Extract from
3534 `ruby-mode-set-encoding'.
3535 (ruby-mode-set-encoding): Add the ability to always insert an
3536 utf-8 encoding comment. Fix and simplify coding comment update
3539 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3541 * net/tramp-gvfs.el (top): Run init code only when
3542 `tramp-gvfs-enabled' is not nil.
3543 (tramp-gvfs-enabled): Check also :system bus.
3545 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3547 Sync with upstream verilog-mode revision 78e66ba.
3548 * progmodes/verilog-mode.el (verilog-end-of-defun)
3549 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3550 (verilog-get-end-of-defun): Remove unused argument.
3551 (verilog-comment-depth): Remove unused local `e'.
3552 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3553 Don't pass arg to verilog-get-end-of-defun.
3555 2013-11-14 Glenn Morris <rgm@gnu.org>
3557 * obsolete/assoc.el (aget): Prefix dynamic variable.
3559 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3561 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3563 * widget.el, hfy-cmap.el: Remove bogus package version number.
3565 2013-11-13 Glenn Morris <rgm@gnu.org>
3567 * replace.el (replace-eval-replacement):
3568 Try to give more helpful error message. (Bug#15836)
3570 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3571 (archive-7z-update): Avoid custom type mismatches.
3573 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3575 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3577 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3578 address can be empty.
3580 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3581 Accept nil SWITCHES.
3582 (tramp-gvfs-handle-write-region): Implement APPEND.
3584 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3586 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3587 binary "|" operator and closing block args delimiter.
3588 Remove FIXME comment referring to Ruby 1.8-only syntax.
3589 (ruby-smie--implicit-semi-p): Not after "|" operator.
3590 (ruby-smie--closing-pipe-p): New function.
3591 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3592 (ruby-smie-rules): Indent after "|".
3594 2013-11-12 Glenn Morris <rgm@gnu.org>
3596 * ps-print.el (ps-face-attribute-list):
3597 Handle anonymous faces. (Bug#15827)
3599 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3601 * window.el (display-buffer-other-frame): Fix doc-string.
3604 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3606 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3608 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3610 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3611 (tramp-sh-handle-file-local-copy): Don't write a message when
3612 saving temporary files.
3614 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3615 both directories are remote.
3616 (tramp-smb-handle-directory-files): Do not return double entries.
3617 Do not expand full file names.
3618 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3619 (tramp-smb-handle-write-region): Implement APPEND.
3620 (tramp-smb-get-stat-capability): Fix a stupid bug.
3622 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3624 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3626 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3628 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3629 throwing error over malformed let/let* (bug#15814).
3631 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3633 * iswitchb.el (iswitchb-mode): Mark obsolete.
3635 2013-11-11 Glenn Morris <rgm@gnu.org>
3637 * international/uni-bidi.el, international/uni-category.el:
3638 * international/uni-name.el, international/uni-numeric.el:
3639 Regenerate for Unicode 6.3.0.
3641 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3643 * net/tramp.el (tramp-methods):
3644 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3645 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3647 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3649 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3650 Force highlighting text after Summary keyword in doc face for rpm.
3652 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3654 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3655 available and the word has no wildcards, append one to the grep pattern.
3656 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3657 (ispell-complete-word): Call `ispell-lookup-words' with the value
3658 independent of `ispell-look-p'.
3660 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3662 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3664 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3667 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3669 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3670 (ruby-font-lock-keywords): Use backquote.
3672 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3674 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3675 (ruby-smie--backward-token): Only consider full-string matches.
3677 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3679 * faces.el (describe-face): Add distant-foreground.
3681 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3683 * progmodes/ruby-mode.el: Improve encoding comment handling.
3684 (ruby-encoding-magic-comment-style): New option.
3685 (ruby-custom-encoding-magic-comment-template): New option.
3686 (ruby--insert-coding-comment, ruby--detect-encoding):
3687 New functions extracted from `ruby-mode-set-encoding'.
3688 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3689 to control the style of the auto-inserted encoding comment.
3691 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3693 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3694 Use `smie-backward-sexp' with token argument.
3696 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3698 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3699 Remove instrumentation code.
3701 2013-11-08 Glenn Morris <rgm@gnu.org>
3703 * progmodes/autoconf.el (autoconf-mode):
3704 Tweak comment-start-skip. (Bug#15822)
3706 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3708 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3709 at bobp (bug#15826).
3710 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3712 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3714 * man.el (Man-start-calling): New macro, extracted from
3715 Man-getpage-in-background.
3716 (Man-getpage-in-background): Use it.
3717 (Man-update-manpage): New command.
3718 (Man-mode-map): Bind it.
3720 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3722 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3723 of "and", "or", "&&" and "||".
3724 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3725 argument. Prohibit opening curly brace because it could only be a
3726 block opener in that position.
3727 (ruby-smie--forward-token, ruby-smie--backward-token):
3728 Separate "|" from "&" or "*" going after it. That can happen in block
3730 (ruby-smie--indent-to-stmt): New function, seeks the end of
3731 previous statement or beginning of buffer.
3732 (ruby-smie-rules): Use it.
3733 (ruby-smie-rules): Check if there's a ":" before a curly block
3734 opener candidate; if there is, it's a hash.
3736 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3739 (cl--block-wrapper): Fix last accidental change.
3741 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3743 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3744 Instrument, in order to hunt failure on hydra.
3746 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3748 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3749 malformed bindings form (bug#15814).
3751 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3753 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3754 "." compared to " @ ". This incidentally fixes some indentation
3756 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3757 (ruby-smie-grammar): New tokens: "and" and "or".
3758 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3759 Exclude "and" and "or". Remove "do" in order to work around token
3761 (ruby-smie-rules): Add all infix tokens. Handle the case of
3762 beginning-of-buffer.
3764 2013-11-06 Glenn Morris <rgm@gnu.org>
3766 * Makefile.in (setwins_almost, setwins_for_subdirs):
3767 Avoid accidental matches.
3769 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3771 * menu-bar.el (popup-menu): Use key-binding.
3773 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3775 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3776 menus, support also the menus produced by minor modes.
3779 2013-11-06 Leo Liu <sdl.web@gmail.com>
3781 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3782 DISTANCE to bound the search. All uses changed. (Bug#15808)
3784 2013-11-06 Glenn Morris <rgm@gnu.org>
3786 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3787 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3788 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3790 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * electric.el (electric-indent-just-newline): New command.
3793 (electric-indent-mode-map): New keymap.
3794 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3795 Re-add :group which weren't redundant.
3797 * electric.el (electric-indent-local-mode): New minor mode.
3798 (electric-indent-functions-without-reindent): New var.
3799 (electric-indent-post-self-insert-function): Use it.
3800 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3802 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3804 * international/quail.el (quail-help): Be more explicit about the
3805 meaning of the labels shown on the keys. (Bug#15800)
3807 * startup.el (normal-top-level): Load the subdirs.el files before
3808 setting the locale environment. (Bug#15805)
3810 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3813 via arguments so as to get the right ones (bug#15418).
3815 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3817 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3819 Fix problems found while writing a test suite.
3821 * net/tramp-compat.el (tramp-compat-load): New defun.
3822 * net/tramp.el (tramp-handle-load): Use it.
3824 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3825 "(numberp ok-if-already-exists)" correctly.
3827 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3829 * international/characters.el (glyphless-char-display-control):
3832 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3834 * progmodes/python.el (python-mode):
3835 * progmodes/scheme.el (scheme-mode):
3836 * progmodes/prolog.el (prolog-mode):
3837 * progmodes/ruby-mode.el (ruby-mode):
3838 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3839 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3841 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3843 * rect.el (rectangle--highlight-for-redisplay):
3844 * emacs-lisp/smie.el (smie--next-indent-change):
3845 Use buffer-chars-modified-tick.
3847 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3849 * electric.el (electric-indent-post-self-insert-function):
3850 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3852 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3854 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3856 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3858 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3861 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3863 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3865 * progmodes/python.el: Fix up last change.
3866 (python-shell--save-temp-file): New function.
3867 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3868 `string' comes from the current buffer.
3869 (python-shell-send-string-no-output): Remove `msg' arg.
3870 (python--use-fake-loc): New var.
3871 (python-shell-buffer-substring): Obey it. Try to compensate for the
3872 extra coding line added by python-shell--save-temp-file.
3873 (python-shell-send-region): Use python-shell--save-temp-file and
3874 python-shell-send-file directly. Add `nomain' argument.
3875 (python-shell-send-buffer): Use python-shell-send-region.
3876 (python-electric-pair-string-delimiter): New function.
3877 (python-mode): Use it.
3879 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3881 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3882 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3883 environment and decoding all of the default-directory's to here
3885 (command-line): Decode also argv[0].
3887 * loadup.el: Error out if default-directory is a multibyte string
3888 when we are dumping.
3890 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3892 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3894 * emacs-lisp/package.el (package-menu-mode)
3895 (package-menu--print-info, package-menu--archive-predicate):
3896 Add Archive column to package list.
3898 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3900 Fix problems found while writing a test suite.
3902 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3903 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3904 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3905 to nil when running original file name handler. Otherwise,
3906 there are problems with constructs like "$$FOO".
3908 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3911 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3913 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3915 * subr.el (version<, version<=, version=):
3916 Update docstrings with information for snapshot versions.
3918 * helpers.el: New library for misc helper functions.
3919 (hash-table-keys): New function returning a list of hash keys.
3920 (hash-table-values): New function returning a list of hash values.
3922 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3924 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3925 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3927 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3929 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3930 checking whether point is after a 1-letter word.
3932 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3934 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3935 Don't infloop when expanding region over `multiline' syntax-type that
3936 begins a line (bug#15778).
3938 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3940 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3941 Make it into a proper minor mode.
3942 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3943 (rectangle-mark-mode-map): New keymap.
3944 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3946 2013-11-04 Glenn Morris <rgm@gnu.org>
3948 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3950 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3952 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3953 (ruby-smie-rules): Use smie-rule-parent instead.
3955 * emacs-lisp/smie.el (smie-rule-parent): Always call
3956 smie-indent-virtual rather than only for hanging tokens.
3957 (smie--next-indent-change): New helper command.
3959 2013-11-03 Glenn Morris <rgm@gnu.org>
3961 * Makefile.in (abs_srcdir): Remove.
3962 (emacs): Unset EMACSLOADPATH.
3964 2013-11-02 Glenn Morris <rgm@gnu.org>
3966 * Makefile.in (EMACS): Use a relative filename.
3967 (abs_top_builddir): Remove.
3968 (custom-deps, finder-data, autoloads): Use --chdir.
3970 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3972 Use relative filenames in TAGS files.
3973 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3974 (lisptagsfiles4, TAGS): Use relative file names.
3975 (TAGS-LISP): Remove.
3976 (maintainer-clean): No more TAGS-LISP file.
3978 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3979 (lisptagsfiles4): Use absolute filenames again.
3980 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3981 Remove all *loaddefs files, not just the first. Remove esh-groups.
3982 (maintainer-clean): Delete TAGS, TAGS-LISP.
3984 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3986 * emacs-lisp/package.el (package-version-join):
3987 Recognize snapshot versions.
3989 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3991 * subr.el (version-regexp-alist): Add support for snapshot versions.
3993 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3995 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3996 New function, replacement for `smie-rule-parent' for when we want to
3997 skip over our direct parent if it's an assignment token..
3998 (ruby-smie-rules): Use it.
4000 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4002 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4003 unconditionally. Remove now unnecessary forward declarations.
4004 Remove XEmacs-specific setup.
4005 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4006 (ruby-font-lock-syntactic-keywords)
4007 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4008 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4009 (ruby-here-doc-end-syntax): Remove.
4010 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4011 defined as function.
4013 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4015 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4017 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4019 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4020 table and abbrev table, `define-derived-mode' does that for us
4023 2013-11-01 Glenn Morris <rgm@gnu.org>
4025 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4026 files is atomic for some time, so no parallel compilation issues).
4028 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4030 * faces.el (face-x-resources): Add :distant-foreground.
4031 (region): Use :distant-foreground for gtk and ns.
4033 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4035 Allow multiple bibliographies when BibLaTeX is used rather than
4037 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4038 (reftex-locate-bibliography-files): Us it.
4040 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4042 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4043 allow comments in pbm files.
4045 * term/w32-win.el (dynamic-library-alist): Support newer versions
4046 of libjpeg starting with v7: look only for the DLL from the
4047 version against which Emacs was built.
4048 Support versions of libpng beyond 1.4.x.
4049 Support libtiff v4.x.
4051 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4053 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4054 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4056 (ruby-deep-arglist): Add property :type.
4058 2013-10-31 Glenn Morris <rgm@gnu.org>
4060 * Makefile.in (custom-deps, finder-data): No need to setq the target
4061 variables, we are in the right directory and the defaults work fine.
4063 2013-10-30 Glenn Morris <rgm@gnu.org>
4065 * Makefile.in (autoloads): Do not use abs_lisp.
4067 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4068 `newline' does not respect `standard-output', so use `princ'.
4070 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4072 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4073 * buff-menu.el (Buffer-menu--unmark): New function.
4074 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4076 2013-10-30 Glenn Morris <rgm@gnu.org>
4078 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4080 * emacs-lisp/package.el (lm-homepage): Declare.
4082 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4085 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4087 * Makefile.in (finder-data, autoloads, update-subdirs)
4088 (compile-main, compile-clean, compile-always, bootstrap-clean):
4089 Check return value of cd.
4090 (compile-calc): Remove.
4092 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4094 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4096 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4097 (byte-compile-and-folded): New function.
4098 (=, <, >, <=, >=): Use it.
4100 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4101 (path-separator, null-device, buffer-file-coding-system)
4102 (lpr-headers-switches): Check system-type before modifying them.
4103 (find-buffer-file-type-coding-system): Mark obsolete.
4104 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4105 find-file-not-found-set-buffer-file-coding-system.
4106 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4107 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4108 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4109 (w32-direct-print-region-helper, w32-direct-print-region-function)
4110 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4111 * startup.el (normal-top-level-add-subdirs-to-load-path):
4112 * ps-print.el (ps-print-region-function):
4113 * lpr.el (print-region-function): Use new name.
4115 * subr.el (custom-declare-variable-early): Remove function.
4116 (custom-declare-variable-list): Remove var.
4117 (error, user-error): Remove `while' loop.
4118 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4119 (user-emacs-directory-warning, locate-user-emacs-file):
4121 * simple.el (read-quoted-char-radix, read-quoted-char):
4122 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4124 * custom.el (custom-declare-variable-list): Don't process
4125 custom-declare-variable-list.
4127 * progmodes/python.el (python-shell-get-buffer): New function.
4128 (python-shell-get-process): Use it.
4129 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4130 Python which encoding was used. Don't split-string since we only care
4131 about the first line. Return the temp-file, if applicable.
4132 (python-shell-send-region): Tell compile.el how to turn locations in
4133 the temp-file into locations in the source buffer.
4135 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * subr.el (undefined): Add missing behavior from the C code for
4140 * rect.el: Use lexical-binding. Add new rectangular region support.
4141 (rectangle-mark): New command.
4142 (rectangle--region): New var.
4143 (deactivate-mark-hook): Reset rectangle--region.
4144 (rectangle--extract-region, rectangle--insert-for-yank)
4145 (rectangle--highlight-for-redisplay)
4146 (rectangle--unhighlight-for-redisplay): New functions.
4147 (region-extract-function, redisplay-unhighlight-region-function)
4148 (redisplay-highlight-region-function): Use them to handle
4150 * simple.el (region-extract-function): New var.
4151 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4152 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4153 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4154 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4155 (redisplay-unhighlight-region-function)
4156 (redisplay-highlight-region-function): New vars.
4157 (redisplay--update-region-highlight): New function.
4158 (pre-redisplay-function): Use it.
4159 (exchange-point-and-mark): Don't deactivate the mark before
4160 reactivate-it anyway.
4161 * comint.el (comint-kill-region): Remove yank-handler argument.
4162 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4163 (delete-char): Remove property, since it's now part of their
4165 (self-insert-iso): Remove property since this command doesn't exist.
4167 * emacs-lisp/package.el (package--download-one-archive)
4168 (describe-package-1): Don't query the user about final newline.
4170 2013-10-29 Daniel Colascione <dancol@dancol.org>
4172 * net/tramp.el (tramp-methods): Document new functionality.
4173 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4174 tramp-hostname-checker if method provides one instead of scanning
4175 argument list for "%h" to decide hostname acceptability.
4177 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4179 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4180 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4181 Handle COPY-CONTENTS. (Bug#15737)
4183 2013-10-28 Daiki Ueno <ueno@gnu.org>
4186 (epa-file-cache-passphrase-for-symmetric-encryption):
4187 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4189 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4191 * image.el (defimage):
4192 (image-load-path): Doc fixes.
4194 2013-10-27 Alan Mackenzie <acm@muc.de>
4196 Indent statements in macros following "##" correctly.
4197 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4198 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4200 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4202 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4204 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4206 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4207 after `=' is probably a new expression.
4209 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4211 * man.el (man-imenu-title): New option.
4212 (Man-mode-map): Add menu. (Bug#15722)
4213 (Man-mode): Add imenu to menu.
4215 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4217 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4218 specific in what the first arg can be: a non-keyword word,
4219 string/regexp/percent literal opener, opening paren, or unary
4220 operator followed directly by word.
4222 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4224 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4225 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4226 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4227 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4228 Remove vars, they do not apply any more.
4229 (prolog-mode-abbrev-table): Remove redundant declaration.
4230 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4231 (prolog-use-smie): Remove.
4232 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4233 supported by prolog-electric-if-then-else-flag.
4234 (prolog-mode-variables, prolog-menu): Use setq-local.
4235 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4236 Remove binding to `Backspace' since this key doesn't exist anyway.
4237 Remove bindings for electric self-inserting keys.
4238 (prog-mode): Assume it's defined.
4239 (prolog-post-self-insert): New function.
4240 (prolog-mode): Use it.
4241 (prolog-indent-line, prolog-indent-level)
4242 (prolog-find-indent-of-matching-paren)
4243 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4244 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4245 (prolog-goto-next-paren, prolog-in-string-or-comment)
4246 (prolog-tokenize, prolog-inside-mline-comment)
4247 (prolog-find-start-of-mline-comment): Remove functions.
4248 (prolog-find-unmatched-paren, prolog-clause-end)
4249 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4250 (prolog-electric--if-then-else): Rename from
4251 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4252 (prolog-tokenize-searchkey): Remove const.
4253 (prolog-clause-info): Use forward-sexp.
4254 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4255 (prolog-electric-if-then-else): Remove commands.
4256 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4257 for use in post-self-insert-hook.
4258 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4259 for use in post-self-insert-hook.
4260 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4261 for use in post-self-insert-hook.
4262 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4263 adapt it for use in post-self-insert-hook.
4265 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4267 * emacs-lisp/ert.el (ert-run-tests-interactively):
4268 Use `completing-read'. (Bug#9756)
4270 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4272 * simple.el (line-move): Call line-move-1 instead of
4273 line-move-visual when the current window hscroll is zero, but
4274 temporary-goal-column indicates we will need to hscroll as result
4275 of the movement. (Bug#15712)
4277 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4279 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4280 capitalization. Use :visible instead of :active.
4281 Fix `ruby-indent-exp' reference. Add menu items for the generic
4282 commands that are used with SMIE.
4283 (ruby-do-end-to-brace): Insert space after `{'.
4285 2013-10-25 John Anthony <john@jo.hnanthony.com>
4287 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4289 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4291 2013-10-25 Glenn Morris <rgm@gnu.org>
4293 * vc/vc.el (vc-print-log): Don't use a working revision unless
4294 one was explicitly specified. (Bug#15322)
4296 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4298 * subr.el (add-to-list): Preserve return value in compiler-macro
4301 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4303 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4304 result. Ask user to retry using '-all' flag. (Bug#15701)
4306 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4308 * emacs-lisp/smie.el: New smie-config system.
4309 (smie-config): New defcustom.
4310 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4311 (smie-config-guess, smie-config-save): New commands.
4312 (smie-config--mode-local, smie-config--buffer-local)
4313 (smie-config--trace, smie-config--modefuns): New vars.
4314 (smie-config--advice, smie-config--mode-hook)
4315 (smie-config--setter, smie-config-local, smie-config--get-trace)
4316 (smie-config--guess-value, smie-config--guess): New functions.
4317 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4318 text properties. Treat "string fence" syntax like string syntax.
4320 * progmodes/sh-script.el (sh-use-smie): Change default.
4321 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4322 (sh-var-value): Simplify by CSE.
4323 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4324 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4326 (sh-guess-basic-offset): Use cl-incf.
4327 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4329 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4331 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4334 2013-10-24 Glenn Morris <rgm@gnu.org>
4336 * Makefile.in (abs_top_srcdir): Remove.
4337 (update-subdirs): Use relative path to update-subdirs.
4339 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4341 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4342 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4343 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4344 Call unmsys--file-name before expand-file-name, not after it.
4346 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4348 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4349 (ert-test-skipped): New error.
4350 (ert-skip, ert-stats-skipped): New defuns.
4351 (ert--skip-unless): New macro.
4352 (ert-test-skipped): New struct.
4353 (ert--run-test-debugger, ert-test-result-type-p)
4354 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4355 (ert--stats-set-test-and-result, ert-char-for-test-result)
4356 (ert-string-for-test-result, ert-run-tests-batch)
4357 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4358 Handle skipped tests. (Bug#9803)
4360 2013-10-24 Glenn Morris <rgm@gnu.org>
4362 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4364 * Makefile.in (abs_top_srcdir): New, set by configure.
4365 (update-subdirs): Correct build-aux location.
4367 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4369 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4370 value, whether we could auto-deduce `backend', or not.
4372 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4373 with parameters" example. Simplify the "is it block or is it
4374 hash" check, but also make it more thorough.
4376 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4378 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4380 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4382 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4385 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4388 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4390 * progmodes/compile.el (compilation-directory-matcher)
4391 (compilation-page-delimiter):
4392 Support GNU Make-4.0 directory quoting. (Bug#15678)
4394 2013-10-23 Leo Liu <sdl.web@gmail.com>
4396 * ido.el (ido-tidy): Handle read-only text.
4398 2013-10-23 Glenn Morris <rgm@gnu.org>
4400 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4401 (emacs, compile, compile-always):
4402 Quote entities that might contain whitespace.
4403 (custom-deps, finder-data, autoloads): Use abs_lisp.
4404 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4405 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4406 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4408 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4410 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4411 Use `following-char'.
4413 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4415 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4416 * progmodes/ruby-mode.el (ruby-smie-rules):
4417 Remove corresponding workaround. Fix indentation rule of ";" so it
4418 also applies when ";" is the parent.
4420 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4422 * frame.el (display-screens, display-pixel-height)
4423 (display-pixel-width, display-mm-width, display-backing-store)
4424 (display-save-under, display-planes, display-color-cells)
4425 (display-visual-class, display-monitor-attributes-list):
4426 Mention the optional ‘display’ argument in doc strings.
4428 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4430 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4431 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4433 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4435 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4436 TODO. Add "." after " @ ".
4437 (ruby-smie--at-dot-call): New function. Checks if point at method
4438 call with explicit target.
4439 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4440 to the method name tokens when it precedes them.
4441 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4442 (ruby-smie-rules): Add rule for indentation before and after "."
4445 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4447 * textmodes/remember.el (remember-diary-extract-entries):
4450 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4453 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4455 * progmodes/ruby-mode.el (ruby-smie-grammar):
4456 Add (almost) all infix operators.
4457 (ruby-smie--implicit-semi-p): Add new operator chars.
4459 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4461 (ruby-smie--args-separator-p): Check that there's no newline
4462 between method call and its arguments.
4464 2013-10-20 Alan Mackenzie <acm@muc.de>
4466 Allow comma separated lists after Java "implements".
4468 * progmodes/cc-engine.el (c-backward-over-enum-header):
4470 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4471 from a "disallowed" list in enum fontification.
4473 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4475 * startup.el (default-frame-background-mode): Remove unused defvar.
4477 * progmodes/verilog-mode.el (verilog-mode): Don't set
4478 comment-indent-function globally.
4480 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4482 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4483 Move Info menu item creation to ns-win.el.
4485 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4488 * menu-bar.el: Move GNUstep specific menus...
4490 * term/ns-win.el (ns-initialize-window-system): ... to here.
4492 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4494 * simple.el (newline): Only run post-self-insert-hook when
4495 called interactively.
4497 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4499 * icomplete.el (icomplete-with-completion-tables): Add :version.
4501 2013-10-19 Alan Mackenzie <acm@muc.de>
4503 Fix fontification bugs with constructors and const.
4505 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4506 CASE 2) Remove the check for the absence of a suffix construct
4507 after a function declaration with only types (no identifiers) in
4508 the parentheses. Also, accept a function declaration with just a
4509 type inside the parentheses, if this type can be positively
4510 recognised as such, or if a prefix keyword like "explicit" nails
4511 down the construct as a declaration.
4513 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4515 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4516 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4517 the problem whereby selecting a menu item that leads to a
4518 minibuffer prompt moves the cursor out of the minibuffer window,
4519 making it hard to type at the prompt. Suggested by Stefan Monnier
4520 <monnier@iro.umontreal.ca>.
4522 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4524 * menu-bar.el: Don't make Services menu.
4526 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4528 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4529 (ffap-alist): Use ffap-c++-mode for c++-mode.
4530 (ffap-c++-path): New variable.
4531 (ffap-c++-mode): New function.
4533 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4535 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4537 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4539 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4540 introduced on 2013-09-08, which results in an infinite loop
4541 requesting a password.
4543 2013-10-18 Glenn Morris <rgm@gnu.org>
4545 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4547 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4549 Sync with upstream verilog-mode revision 1a6ecec7.
4550 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4551 (verilog-mode-release-date): Remove.
4552 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4553 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4554 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4555 (verilog-auto-tieoff-ignore-regexp)
4556 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4557 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4558 (verilog-signals-with, verilog-dir-cache-preserving)
4559 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4561 (verilog-case-fold): New option, to control case folding in
4562 regexp searches, bug597.
4563 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4564 (verilog-string-match-fold, verilog-in-paren-count)
4565 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4566 (verilog-at-close-struct-p): New functions.
4567 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4568 (verilog-forward-sexp, verilog-set-auto-endcomments):
4569 (verilog-leap-to-case-head): Handle "unique0" case.
4570 (verilog-in-constraint-re): New constant.
4571 (verilog-keywords, verilog-type-font-keywords):
4572 Add some SystemVerilog 1800-2012 keywords.
4573 (verilog-label-be): Remove unimplemented argument, bug669.
4574 (verilog-batch-execute-func): When batch expanding clear
4575 create-lockfiles to prevent spurious user locks when a file ends
4577 (verilog-calculate-indent, verilog-calc-1)
4578 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4579 (verilog-do-indent): Fix indentation of nested constraints
4581 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4582 (verilog-auto-inst-param): Use verilog-string-match-fold.
4583 (verilog-read-inst-module-matcher):
4584 Fix AUTOINST on gate primitives with #1.
4585 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4586 Reads all user-defined typed variables.
4587 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4588 (verilog-signals-matching-regexp)
4589 (verilog-signals-not-matching-regexp, verilog-auto):
4590 Respect verilog-case-fold.
4591 (verilog-diff-report): Fix line count.
4592 (verilog-auto-assign-modport): Remove unused local `modi'.
4593 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4594 better handle multidimensional arrays.
4595 Fix packed array ports misadding bit index in AUTOINST, bug637.
4596 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4597 to not double-declare existing outputs and inputs, respectively.
4598 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4599 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4600 (verilog-sk-uvm-component): New skeleton.
4601 (verilog-submit-bug-report): Add verilog-case-fold,
4602 remove verilog-mode-release-date.
4604 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4606 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4609 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4611 * textmodes/remember.el (remember): Set buffer-offer-save in
4612 remember buffers (bug#13566).
4614 2013-10-18 Daniel Colascione <dancol@dancol.org>
4616 When evaluating forms in ielm, direct standard output to ielm
4617 buffer. Add new ielm-return-for-effect command. Remove trailing
4618 whitespace throughout.
4620 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4621 (ielm-return-for-effect): New command.
4622 (ielm-send-input): Accept optional `for-effect' parameter.
4623 (ielm-eval-input): Accept optional `for-effect' parameter.
4624 Bind `standard-output' to stream we create using
4625 `ielm-standard-output-impl'. Suppress printing result when
4627 (ielm-standard-output-impl): New function.
4628 (inferior-emacs-lisp-mode): Explain new features in documentation.
4630 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4634 * net/tramp.el (tramp-debug-message): Do not check for connection
4636 (tramp-message): Use "vector" connection property.
4638 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4639 (tramp-equal-remote, tramp-eshell-directory-change)
4640 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4641 (tramp-adb-handle-rename-file)
4642 * net/tramp-cmds.el (tramp-list-remote-buffers)
4643 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4644 * net/tramp-compat.el (tramp-compat-process-running-p)
4645 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4646 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4647 (tramp-gvfs-handle-rename-file)
4648 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4649 (tramp-set-file-uid-gid)
4650 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4651 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4654 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4655 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4656 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4657 (tramp-gw-open-network-stream): Suppress unrelated traces.
4659 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4660 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4661 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4662 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4663 connection property.
4665 * net/tramp-cache.el (top): Suppress traces when reading
4668 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4669 Refactor common code. Improve debug message.
4670 (tramp-maybe-open-connection)
4671 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4672 connection buffer too early.
4674 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4675 from `tramp-smb-actions-with-acl'.
4676 (tramp-smb-actions-set-acl): New defconst.
4677 (tramp-smb-handle-copy-directory)
4678 (tramp-smb-action-get-acl): New defun, renamed from
4679 `tramp-smb-action-with-acl'.
4680 (tramp-smb-action-set-acl): New defun.
4681 (tramp-smb-handle-set-file-acl): Rewrite.
4683 2013-10-17 Glenn Morris <rgm@gnu.org>
4685 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4687 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4689 * skeleton.el (skeleton-newline): Remove.
4690 (skeleton-internal-1): Use (insert "\n") instead.
4692 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4695 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4696 forward-sexp-function while we redo its job (bug#15613).
4698 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4700 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4701 represented by lists.
4703 2013-10-16 Glenn Morris <rgm@gnu.org>
4705 * tmm.el (tmm--history): New dynamic variable.
4706 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4708 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4710 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4711 (tramp-smb-errors): Add error messages.
4712 (tramp-smb-actions-with-acl): New defconst.
4713 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4714 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4715 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4716 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4717 (tramp-smb-get-stat-capability): Fix tests.
4719 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4721 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4724 2013-10-16 Glenn Morris <rgm@gnu.org>
4726 * ansi-color.el (ansi-color-drop-regexp):
4727 Add 1J, 1K, 2K. (Bug#15617)
4729 * files.el (hack-local-variables--warned-lexical): New.
4730 (hack-local-variables):
4731 Warn about misplaced lexical-binding. (Bug#15616)
4733 * net/eww.el (eww-render): Always set eww-current-url,
4734 and update header line. (Bug#15622)
4735 (eww-display-html): ... Rather than just doing it here.
4737 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4739 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4740 menu navigations commands.
4742 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4744 * progmodes/subword.el (subword-capitalize): Be careful when
4745 the search for [[:alpha:]] fails (bug#15580).
4747 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4749 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4750 to commands that scroll the menu.
4752 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4754 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4755 Handle methods ending with `?' and `!'.
4757 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4759 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4760 `japanese-cp932' to `cp932' to fix the problem where saving a
4761 source file written in Shift_JIS twice would end up having
4762 `coding: japanese-cp932' which Ruby could not recognize.
4763 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4764 in `ruby-encoding-map'.
4765 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4766 doesn't need to be explicitly declared in magic comment.
4767 (ruby-encoding-map): Add type declaration for better customize UI.
4769 2013-10-13 Glenn Morris <rgm@gnu.org>
4771 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4772 Occur buffers are read-only. http://bugs.debian.org/720775
4774 * emacs-lisp/authors.el (authors-fixed-entries):
4775 Comment out old alpha stuff.
4777 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4779 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4780 to `after-save-hook' instead of `before-save-hook'.
4781 (ruby-mode-set-encoding): Use the value of coding system used to
4782 write the file. Call `basic-save-buffer-1' after modifying the
4785 2013-10-13 Alan Mackenzie <acm@muc.de>
4787 Fix indentation/fontification of Java enum with
4788 "implements"/generic.
4790 * progmodes/cc-engine.el (c-backward-over-enum-header):
4791 Extracted from the three other places and enhanced to handle generics.
4792 (c-inside-bracelist-p): Uses new function above.
4793 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4795 (c-font-lock-enum-tail): Uses new function above.
4797 2013-10-13 Kenichi Handa <handa@gnu.org>
4799 * international/mule-cmds.el (select-safe-coding-system): Remove a
4800 superfluous condition in chekcing whether a coding system is safe
4803 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4805 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4807 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4809 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4811 2013-10-13 Glenn Morris <rgm@gnu.org>
4813 * menu-bar.el (menu-bar-update-buffers):
4814 Unify Buffers menu prompt string. (Bug#15576)
4816 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4818 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4820 (authors-fixed-entries): Use accented form of name.
4822 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4824 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4825 method calls (bug#15594).
4826 (ruby-smie--args-separator-p): New function.
4827 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4828 recognize paren-free method calls.
4830 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4831 internals of universal-argument.
4833 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4835 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4836 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4837 dropped menu on second mouse click on the menu bar.
4839 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4841 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4842 (explicit-shell-file-name): Declare.
4843 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4844 (sh-completion-at-point-function): New function.
4846 (sh-smie--keyword-p): Remove unused argument.
4847 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4849 (sh-set-shell): Always setup SMIE, even if we use the
4850 old indentation code.
4852 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4854 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4856 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4857 predicate would return nil are almost non-existent.
4858 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4860 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4861 cache also after commands that modify the buffer but don't move
4864 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4866 * env.el (substitute-env-in-file-name): New function.
4867 (substitute-env-vars): Extend the meaning of the optional arg.
4869 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4871 * term/w32-win.el (dynamic-library-alist): Define separate lists
4872 of GIF DLLs for versions before and after 5.0.0 of giflib.
4875 2013-10-10 João Távora <joaotavora@gmail.com>
4877 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4878 not locked, use last revision and current source as
4879 defaults. (Bug#15569)
4881 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4883 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4886 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4888 * window.el (pop-to-buffer-same-window): Fix doc-string.
4891 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4895 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4897 * calendar/icalendar.el (icalendar-import-file):
4898 Fix interactive spec. (Bug#15482)
4900 2013-10-10 Glenn Morris <rgm@gnu.org>
4902 * desktop.el (desktop-save): Default to saving in .emacs.d,
4903 since PWD is no longer in desktop-path by default. (Bug#15319)
4905 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4906 now that text mode has a menu with the same entry.
4907 (menu-bar-text-mode-auto-fill): Remove now unused func.
4908 * textmodes/text-mode.el (text-mode-map):
4909 Use auto-fill help text from menu-bar.el.
4911 2013-10-10 John Anthony <john@jo.hnanthony.com>
4913 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4915 2013-10-09 Juri Linkov <juri@jurta.org>
4917 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4918 instead of this-command-keys. Add universal-argument-more and
4919 universal-argument-minus to the list of prefix commands. (Bug#15568)
4921 2013-10-09 Glenn Morris <rgm@gnu.org>
4923 * vc/vc-svn.el (vc-svn-create-repo):
4924 Expand paths in file://... url. (Bug#15446)
4926 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4928 (authors): Remove unused local variables.
4930 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4932 * profiler.el: Create a more coherent calltree from partial backtraces.
4933 (profiler-format): Hide the tail with `invisible' so that C-s can still
4934 find the hidden elements.
4935 (profiler-calltree-depth): Don't recurse so enthusiastically.
4936 (profiler-function-equal): New hash-table-test.
4937 (profiler-calltree-build-unified): New function.
4938 (profiler-calltree-build): Use it.
4939 (profiler-report-make-name-part): Indent the calltree less.
4940 (profiler-report-mode): Add visibility specs for profiler-format.
4941 (profiler-report-expand-entry, profiler-report-toggle-entry):
4942 Expand the whole subtree when provided with a prefix arg.
4944 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4946 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4948 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4949 hanging iuwu-mod token.
4950 (ruby-smie--forward-token): Do not include a dot after a token in
4952 (ruby-smie--backward-token): Likewise.
4954 2013-10-08 Juri Linkov <juri@jurta.org>
4956 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4957 to isearch-other-control-char.
4958 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4959 and isearch-post-command-hook to post-command-hook.
4960 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4961 and isearch-post-command-hook from post-command-hook.
4962 (isearch-unread-key-sequence)
4963 (isearch-reread-key-sequence-naturally)
4964 (isearch-lookup-scroll-key, isearch-other-control-char)
4965 (isearch-other-meta-char): Remove functions.
4966 (isearch-pre-command-hook, isearch-post-command-hook):
4967 New functions based on isearch-other-meta-char rewritten
4968 relying on the new behavior of overriding-terminal-local-map
4969 that does not replace the local keymaps any more. (Bug#15200)
4971 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4973 Support menus on text-mode terminals.
4974 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4977 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4979 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4980 Move here from mouse.el.
4981 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4983 (tty-menu-navigation-map): New map for TTY menu navigation.
4985 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4987 * frame.el (display-mouse-p): Report text-mode mouse as available
4989 (display-popup-menus-p): Report availability if mouse is
4990 available; don't condition on window-system.
4992 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4993 (tty-menu-selected-face): New faces.
4995 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4998 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4999 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5000 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5002 (lisp-mode-variables): New `elisp' argument.
5003 (emacs-lisp-mode): Use it.
5004 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5005 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5007 * indent.el: Use lexical-binding.
5008 (indent-region): Add progress reporter.
5009 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5011 (indent--next-tab-stop): New function to implement this behavior.
5012 (tab-to-tab-stop, move-to-tab-stop): Use it.
5014 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5016 * indent.el (indent-rigidly--current-indentation): New function.
5017 (indent-rigidly-map): New var.
5018 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5020 2013-10-08 Bastien Guerry <bzg@gnu.org>
5022 * register.el (insert-register): Fix 2013-10-07 change.
5024 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5026 * progmodes/perl-mode.el: Use lexical-binding.
5027 Remove redundant :group args.
5028 (perl-nochange): Change default to be closer to other major modes's
5030 (perl-indent-line): Don't consider text on current line as a
5031 valid beginning of function from which to indent.
5033 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5034 with more than one argument (bug#15538).
5036 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5038 * vc/pcvs.el: Use lexical-binding.
5039 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5040 environment of `eval'.
5041 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5042 than a list of expressions. Adjust callers.
5043 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5045 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5047 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5048 case of the dot in a chained method call being on the following line.
5050 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * electric.el (electric-indent-inhibit): New var.
5053 (electric-indent-post-self-insert-function): Use it.
5054 * progmodes/python.el (python-mode): Set it.
5056 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5059 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5061 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5062 (css-mode): Use electric-indent-chars.
5064 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5065 (font-lock-beg, font-lock-end): Move before first use.
5066 (nxml-mode): Use syntax-propertize-function.
5067 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5068 (nxml-extend-after-change-region): Remove.
5069 * nxml/xmltok.el: Use lexical-binding.
5070 (xmltok-save): Use `declare'.
5071 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5072 * nxml/nxml-util.el: Use lexical-binding.
5073 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5075 * nxml/nxml-ns.el: Use lexical-binding.
5076 (nxml-ns-save): Use `declare'.
5077 (nxml-ns-prefixes-for): Avoid add-to-list.
5078 * nxml/rng-match.el: Use lexical-binding.
5079 (rng--ipattern): Use cl-defstruct.
5080 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5081 (rng-cons-group-after, rng-subst-group-after)
5082 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5083 Use closures instead of `(lambda...).
5085 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5087 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5090 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5091 Use `tramp-handle-insert-file-contents'.
5092 (tramp-gvfs-handle-insert-file-contents): Remove function.
5094 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5095 Use `save-restriction' in order to keep markers.
5097 * net/trampver.el: Update release number.
5099 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5101 * progmodes/compile.el (compilation-parse-errors):
5102 Use compilation--put-prop.
5103 (compilation--ensure-parse): Check compilation-multiline.
5105 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5107 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5110 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5112 * progmodes/ruby-mode.el: Fix recently added tests.
5113 (ruby-smie-grammar): Add - and +.
5114 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5115 (ruby-smie--backward-id): New functions.
5116 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5117 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5120 2013-10-07 Leo Liu <sdl.web@gmail.com>
5122 * register.el (register-preview-delay)
5123 (register-preview-functions): New variables.
5124 (register-read-with-preview, register-preview)
5125 (register-describe-oneline): New functions.
5126 (point-to-register, window-configuration-to-register)
5127 (frame-configuration-to-register, jump-to-register)
5128 (number-to-register, view-register, insert-register)
5129 (copy-to-register, append-to-register, prepend-to-register)
5130 (copy-rectangle-to-register): Use register-read-with-preview to
5131 read register. (Bug#15525)
5133 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5135 * net/network-stream.el (network-stream-open-starttls): Don't add
5136 --insecure if it's already present, because that gnutls-cli
5137 rejects getting that parameter twice.
5139 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5141 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5144 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5146 * newcomment.el (comment-use-global-state): Change default value
5147 to t, mark obsolete (Bug#15251).
5148 (comment-beginning): In addition to `comment-to-syntax', check the
5149 value of `comment-use-global-state'.
5151 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5153 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5154 (ruby-comment-column): Follow the global default, by default.
5155 (ruby-smie-grammar): Add assignment syntax.
5156 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5157 open-paren, a comma, or a \.
5158 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5159 and line continuations.
5160 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5161 followed by implicit semi-colons. Add rule for string concatenation
5162 and for indentation at BOB.
5163 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5165 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5166 calling next-sexp, since next-token may have skipped chars which
5167 next-sexp doesn't know should be skipped!
5169 2013-10-05 Leo Liu <sdl.web@gmail.com>
5171 * progmodes/octave.el (octave-send-region):
5172 Call compilation-forget-errors.
5174 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5176 * vc/vc-svn.el (vc-svn-find-admin-dir):
5177 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5178 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5179 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5180 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5182 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5184 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5186 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5188 * subr.el (read-passwd): Hide chars even when called within a context
5189 where after-change-functions is disabled (bug#15501).
5190 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5191 until we removed ourself from overriding-terminal-local-map.
5193 2013-10-04 Leo Liu <sdl.web@gmail.com>
5195 * progmodes/octave.el (inferior-octave-mode):
5196 Call compilation-forget-errors.
5198 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5200 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5202 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5204 * net/secrets.el (secrets-create-collection): Add optional
5205 argument ALIAS. Use proper Label keyword. Append ALIAS as
5206 dbus-call-method argument. (Bug#15516)
5208 2013-10-04 Leo Liu <sdl.web@gmail.com>
5210 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5211 (inferior-octave-compilation-font-lock-keywords): New variables.
5212 (compilation-error-regexp-alist)
5213 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5214 (inferior-octave-mode): Use compilation-shell-minor-mode.
5216 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5218 * minibuffer.el (completion--replace): Be careful that `end' might be
5221 2013-10-03 Daiki Ueno <ueno@gnu.org>
5223 Add support for package signature checking.
5224 * emacs-lisp/package.el (url-http-file-exists-p)
5225 (epg-make-context, epg-context-set-home-directory)
5226 (epg-verify-string, epg-context-result-for)
5227 (epg-signature-status, epg-signature-to-string)
5228 (epg-check-configuration, epg-configuration)
5229 (epg-import-keys-from-file): Declare.
5230 (package-check-signature): New user option.
5231 (package-unsigned-archives): New user option.
5232 (package-desc): Add `signed' field.
5233 (package-load-descriptor): Set `signed' field if .signed file exists.
5234 (package--archive-file-exists-p): New function.
5235 (package--check-signature): New function.
5236 (package-install-from-archive): Check package signature.
5237 (package--download-one-archive): Check archive signature.
5238 (package-delete): Remove .signed file.
5239 (package-import-keyring): New command.
5240 (package-refresh-contents): Import default keyring.
5241 (package-desc-status): Add "unsigned" status.
5242 (describe-package-1, package-menu--print-info)
5243 (package-menu-mark-delete, package-menu--find-upgrades)
5244 (package-menu--status-predicate): Support "unsigned" status.
5246 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5248 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5249 the new compilation scheme using the new byte-codes.
5251 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5252 (byte-pophandler): New byte codes.
5253 (byte-goto-ops): Adjust accordingly.
5254 (byte-compile--use-old-handlers): New var.
5255 (byte-compile-catch): Use new byte codes depending on
5256 byte-compile--use-old-handlers.
5257 (byte-compile-condition-case--old): Rename from
5258 byte-compile-condition-case.
5259 (byte-compile-condition-case--new): New function.
5260 (byte-compile-condition-case): New function that dispatches depending
5261 on byte-compile--use-old-handlers.
5262 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5265 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5266 Optimize under `condition-case' and `catch' if
5267 byte-compile--use-old-handlers is nil.
5268 (disassemble-offset): Handle new bytecodes.
5270 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5272 * subr.el (error): Use `declare'.
5273 (decode-char, encode-char): Use advertised-calling-convention instead
5274 of the docstring to discourage use of the `restriction' arg.
5276 2013-10-03 Daiki Ueno <ueno@gnu.org>
5278 * epg.el (epg-verify-file): Add a comment saying that it does not
5279 notify verification error as a return value nor a signal.
5280 (epg-verify-string): Ditto.
5282 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5284 * progmodes/compile.el (compilation-start): Try globbing the arg to
5287 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5289 Sync with Tramp 2.2.8.
5291 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5292 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5293 * net/trampver.el: Update release number.
5295 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5297 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5298 and default-process-coding-system for darwin only.
5300 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5302 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5304 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5306 * vc/vc-git.el (vc-git-grep): Disable pager.
5308 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5310 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5311 Use :url instead of :homepage, as per
5312 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5314 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5315 non-nil, use `syntax-ppss' (Bug#15251).
5317 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5319 * progmodes/octave.el (inferior-octave-startup-file):
5320 Prefer ~/.emacs.d/init_octave.m.
5322 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5324 * emacs-lisp/package.el (package-desc-from-define):
5325 Accept additional arguments as plist, convert them to an alist and store
5326 them in the `extras' slot.
5327 (package-generate-description-file): Convert extras alist back to
5328 plist and append to the `define-package' form arguments.
5329 (package--alist-to-plist): New function.
5330 (package--ac-desc): Add `extras' slot.
5331 (package--add-to-archive-contents): Check if the archive-contents
5332 vector is long enough, and if it is, pass its `extras' slot value
5333 to `package-desc-create'.
5334 (package-buffer-info): Call `lm-homepage', pass the returned value
5335 to `package-desc-from-define'.
5336 (describe-package-1): Render the homepage button (Bug#13291).
5338 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5339 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5341 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5343 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5344 and default-process-coding-system to utf-8-unix (Bug#15402).
5346 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5348 * subr.el (looking-back): Do not recommend using looking-back.
5350 2013-09-28 Alan Mackenzie <acm@muc.de>
5352 Fix indentation/fontification of Java enum with "implements".
5354 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5355 regexp which matches "implements", etc., in Java.
5356 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5357 specifier clauses coming after "enum".
5358 * progmodes/cc-fonts.el (c-font-lock-declarations)
5359 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5362 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5364 * faces.el (region): Change ns_selection_color to
5365 ns_selection_fg_color, add ns_selection_bg_color.
5367 2013-09-28 Leo Liu <sdl.web@gmail.com>
5369 * progmodes/octave.el (inferior-octave-completion-table)
5370 (inferior-octave-completion-at-point): Minor tweaks.
5372 * textmodes/ispell.el (ispell-lookup-words): Rename from
5373 lookup-words. (Bug#15460)
5374 (lookup-words): Obsolete.
5375 (ispell-complete-word, ispell-command-loop): All uses changed.
5377 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5379 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5380 (octave-mode-menu): Add octave-send-buffer.
5381 (octave-send-buffer): New function.
5383 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5385 * progmodes/octave.el (octave-mode-map): Add key binding for
5387 (octave-mode-menu): Add octave-lookfor.
5388 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5390 (octave-lookfor): New function.
5392 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5394 * emacs-lisp/cl-macs.el:
5395 (cl--loop-destr-temps): Remove.
5396 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5398 (cl--loop-set-iterator-function): New function.
5399 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5400 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5401 Bind `it' with `let' instead of substituting it with `cl-subst'.
5402 (cl--unused-var-p): New function.
5403 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5404 Eliminate some unused variable warnings (bug#15326).
5406 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5408 * doc-view.el (doc-view-scale-reset): Rename from
5409 `doc-view-reset-zoom-level'.
5410 (doc-view-scale-adjust): New command.
5411 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5412 `doc-view-scale-adjust'.
5414 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5416 * doc-view.el (doc-view-reset-zoom-level): New command.
5417 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5418 zoom commands (bug#15466).
5420 2013-09-26 Kenichi Handa <handa@gnu.org>
5422 * international/quail.el (quail-help): Make it not a command.
5424 2013-09-26 Leo Liu <sdl.web@gmail.com>
5426 * minibuffer.el (completion-all-sorted-completions): Make args
5427 optional as they are.
5429 2013-09-25 Daniel Colascione <dancol@dancol.org>
5431 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5432 specs are and that they're not evaluated.
5434 2013-09-24 Sam Steingold <sds@gnu.org>
5436 * midnight.el (clean-buffer-list-kill-regexps)
5437 (clean-buffer-list-kill-buffer-names): Update for the new Man
5438 buffer naming which includes the object name.
5440 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5442 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5443 (eshell-parse-command, eshell-parse-pipeline): Use it since
5444 eshell-separate-commands requires a dynamic scoped var.
5445 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5447 2013-09-23 Leo Liu <sdl.web@gmail.com>
5449 * autoinsert.el (auto-insert-alist): Make the value of
5450 lexical-binding match its file setting.
5452 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5454 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5456 * autoarg.el (autoarg-kp-digit-argument):
5457 * electric.el (Electric-command-loop):
5458 * kmacro.el (kmacro-step-edit-insert):
5459 Do not set universal-argument-num-events.
5461 2013-09-22 Leo Liu <sdl.web@gmail.com>
5463 * files.el (interpreter-mode-alist): Add octave.
5465 2013-09-21 Alan Mackenzie <acm@muc.de>
5467 C++: fontify identifier in declaration following "public:" correctly.
5468 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5469 to match "public", etc.
5470 (c-decl-prefix-re): Add ":" into the C++ value.
5471 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5472 bit. Add a check for a ":" preceded by "public", etc.
5474 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5476 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5477 recognized by GDB 7.5 and later.
5479 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5481 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5483 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5485 * subr.el (internal--call-interactively): New const.
5486 (called-interactively-p): Use it (bug#3984).
5488 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5490 * vc/pcvs.el (cvs-mode-ignore):
5491 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5492 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5494 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5496 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5497 (eshell-ls-orig-insert-directory): Remove.
5498 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5499 (eshell-ls-use-in-dired): Use advice-add/remove.
5500 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5501 Add `orig-fun' arg for use in :around advice.
5502 Make it check (redundantly) eshell-ls-use-in-dired.
5504 2013-09-19 Glenn Morris <rgm@gnu.org>
5506 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5508 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5510 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5512 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5514 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5515 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5516 (tramp-get-remote-python): New defuns.
5517 (tramp-get-remote-uid-with-perl)
5518 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5519 contributed by yary <not.com@gmail.com> (tiny change).
5520 (tramp-get-remote-uid-with-python)
5521 (tramp-get-remote-gid-with-python): New defuns. Python code
5522 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5523 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5525 2013-09-19 Glenn Morris <rgm@gnu.org>
5527 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5529 * eshell/em-unix.el (eshell-remove-entries):
5530 Rename argument to avoid name-clash with global `top-level'.
5532 * eshell/esh-proc.el (eshell-kill-process-function):
5533 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5534 (eshell-reset-after-proc): Remove unused arg `proc'.
5536 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5537 (directory-files-and-attributes): Mark unused arg.
5539 * eshell/em-unix.el (eshell-remove-entries):
5540 Remove unused arg `path'. Update callers.
5542 * eshell/em-hist.el (eshell-hist-parse-arguments):
5543 Remove unused arg `silent'. Update callers.
5545 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5546 Fix (f)boundp mix-up.
5548 * eshell/em-smart.el (eshell-smart-scroll-window)
5549 (eshell-disable-after-change):
5550 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5552 2013-09-18 Alan Mackenzie <acm@muc.de>
5554 Fix fontification of type when followed by "const".
5555 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5556 "known" types from fontification.
5558 2013-09-18 Glenn Morris <rgm@gnu.org>
5560 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5561 (chart-face-list): Drop Emacsen without display-color-p.
5563 * net/eww.el (libxml-parse-html-region): Declare.
5564 (eww-display-html): Explicit error if no libxml2 support.
5566 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5568 * image.el (image-type-from-buffer, image-multi-frame-p):
5569 Remove --without-x warning/error.
5571 * mouse.el (mouse-yank-primary):
5572 * term.el (term-mouse-paste):
5573 Reorder to silence --without-x compilation.
5575 * mpc.el (doc-view-mode): Silence --without-x compilation.
5577 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5578 Silence --without-x compilation.
5580 * progmodes/gud.el (gud-find-file, gud-mode):
5581 Silence --without-x compilation.
5582 (tooltip-mode): Declare.
5584 * wdired.el (dired-backup-overwrite): Remove declaration.
5585 (wdired-mode-map): Add doc string.
5587 * custom.el (x-get-resource): Declare.
5589 * eshell/em-glob.el (ange-cache):
5590 * eshell/em-unix.el (ange-cache): Declare.
5592 * faces.el (x-display-list, x-open-connection, x-get-resource):
5595 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5596 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5599 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5601 * net/gnutls.el (gnutls-log-level): Declare.
5603 * net/shr.el (image-size, image-animate): Declare.
5605 * simple.el (font-info): Declare.
5607 * subr.el (x-popup-dialog): Declare.
5609 * term/common-win.el (x-select-enable-primary)
5610 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5613 * term/ns-win.el (x-handle-args): Declare.
5615 * term/x-win.el (x-select-enable-clipboard): Declare.
5617 * term/w32-win.el (create-default-fontset): Declare.
5619 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5622 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5623 (fit-frame-to-buffer): Explicit error if --without-x.
5624 (mouse-autoselect-window-select): Silence compiler.
5626 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5628 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5629 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5630 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5631 * eshell/esh-util.el (eshell-sublist):
5632 Remove unused local variables.
5634 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5636 * textmodes/two-column.el: Make 2C-split work for --without-x.
5637 (scroll-bar-columns): Autoload.
5638 (top-level): Require fringe when compiling.
5640 2013-09-18 Leo Liu <sdl.web@gmail.com>
5642 * subr.el (add-hook): Robustify to handle closure as well.
5644 2013-09-17 Glenn Morris <rgm@gnu.org>
5646 * simple.el (messages-buffer-mode-map): Unbind "g".
5648 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5650 * help-mode.el (help-mode-finish): Use derived-mode-p.
5651 Remove obsolete highlighting.
5653 * play/life.el (life-mode): Use define-derived-mode. Derive from
5655 (life): Let-bind inhibit-read-only.
5656 (life-setup): Avoid `setq'. Use `life-mode'.
5658 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5659 which should not be needed any more.
5660 (package-menu-refresh, package-menu-describe-package): Use user-error.
5662 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5663 (eshell-post-rewrite-command-hook): Make obsolete.
5664 (eshell-parse-command): Simplify.
5665 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5666 (eshell--cmd): Declare.
5667 (eshell-parse-pipeline): Remove unused var `final-p'.
5668 Pass a dynvar to eshell-post-rewrite-command-hook.
5669 Implement the new eshell-post-rewrite-command-function.
5670 (eshell-invoke-directly): Remove unused arg `input'.
5671 * eshell/esh-io.el (eshell-io-initialize):
5672 Use eshell-post-rewrite-command-function (bug#15399).
5673 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5674 adjust to new calling convention.
5675 (eshell-create-handles): Rename args to avoid clashing with dynvar
5678 2013-09-17 Glenn Morris <rgm@gnu.org>
5680 * simple.el (messages-buffer-mode): New major mode.
5681 (messages-buffer): New function.
5682 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5683 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5684 (ert-run-test): Use `messages-buffer' function.
5685 (ert--force-message-log-buffer-truncation): Ignore read-only.
5686 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5687 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5689 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5693 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5695 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5697 * icomplete.el (icomplete-in-buffer): New var.
5698 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5699 vars and replace them with functions.
5700 (icomplete-minibuffer-setup): Adjust accordingly.
5701 (icomplete--completion-table, icomplete--completion-predicate)
5702 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5704 (icomplete-forward-completions, icomplete-backward-completions)
5705 (icomplete-simple-completing-p, icomplete-exhibit)
5706 (icomplete-completions): Use them.
5707 (icomplete--in-region-buffer): New var.
5708 (icomplete--in-region-setup): New function.
5709 (icomplete-mode): Use it.
5711 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5713 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5714 return args and options.
5715 (eshell-eval-using-options): Use the new return value of
5716 eshell--do-opts to set the options's vars in their scope.
5717 (eshell--set-option): Rename from eshell-set-option.
5719 (eshell--process-option): Rename from eshell-process-option.
5721 (eshell--process-args): Use an `opt-vals' alist to store the options's
5722 values during their processing and return them additionally to the
5725 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5727 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5728 continuation character an operator, as far as indentation is
5729 concerned (Bug#15369).
5731 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5733 * window.el (window--state-put-2): Don't process buffer state
5734 when buffer doesn't exist any more (Bug#15382).
5736 2013-09-15 Glenn Morris <rgm@gnu.org>
5738 * eshell/em-unix.el (eshell/rm):
5739 Make -f ignore missing files. (Bug#15373)
5741 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5742 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5743 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5745 2013-09-14 Glenn Morris <rgm@gnu.org>
5747 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5749 2013-09-13 Glenn Morris <rgm@gnu.org>
5751 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5752 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5754 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5756 * frame.el (x-focus-frame): Mark as declared in frame.c.
5758 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5760 * ls-lisp.el: Use advice-add.
5761 (original-insert-directory): Remove.
5762 (ls-lisp--insert-directory): Rename from insert-directory; add
5763 `orig-fun' argument.
5764 (insert-directory): Advise.
5766 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5768 * term.el (term-emulate-terminal): Decode the command string
5769 before passing it to term-command-hook. (Bug#15337)
5771 2013-09-13 Glenn Morris <rgm@gnu.org>
5773 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5775 * eshell/esh-ext.el (eshell-search-path): Declare.
5777 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5778 Otherwise an error occurs if eshell-dirs module not loaded.
5780 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5782 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5784 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5785 `tramp-check-proper-host'. Check for a valid method name.
5787 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5788 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5789 * net/tramp-sh.el (tramp-maybe-open-connection):
5790 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5792 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5793 also for hash values.
5795 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5797 * term/ns-win.el (parameters): Don't declare as dynamic.
5798 (before-make-frame-hook): Don't add ineffective function.
5800 * eshell/*.el: Use lexical-binding (bug#15231).
5802 2013-09-12 Kenichi Handa <handa@gnu.org>
5804 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5806 2013-09-12 Glenn Morris <rgm@gnu.org>
5808 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5809 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5811 * subr.el (do-after-load-evaluation): Also give compiler warnings
5812 when obsolete files are used (except by obsolete files).
5814 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5815 in the status output, assume `filename' is the first. (Bug#15322)
5817 * vc/vc.el (vc-deduce-fileset): Doc fix.
5819 * calc/calc-help.el (Info-goto-node):
5820 * progmodes/cperl-mode.el (Info-find-node):
5821 * vc/ediff.el (Info-goto-node): Update declarations.
5823 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5825 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5826 (vc-bzr-pull): Require vc-dispatcher.
5827 * vc/vc-git.el (vc-compilation-mode): Declare.
5828 (vc-git-pull): Require vc-dispatcher.
5830 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5832 * progmodes/octave.el (help-button-action): Declare.
5834 * shell.el (shell-directory-tracker): Output error as a message
5835 rather than just returning it as a string.
5836 (shell-process-pushd): Remove useless use of message.
5838 * dframe.el (dframe-timer-fn):
5839 * files.el (dir-locals-read-from-file):
5840 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5842 * reveal.el (reveal-post-command):
5843 * saveplace.el (load-save-place-alist-from-file):
5844 * shell.el (shell-resync-dirs):
5845 * w32-common-fns.el (x-get-selection-value):
5846 * emacs-lisp/copyright.el (copyright-find-copyright):
5847 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5848 * emulation/tpu-edt.el (tpu-copy-keyfile):
5849 * play/bubbles.el (bubbles--mark-neighbourhood):
5850 * progmodes/executable.el
5851 (executable-make-buffer-file-executable-if-script-p):
5852 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5854 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5856 Cleanup Eshell to rely less on dynamic scoping.
5857 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5858 last-value, and ext-command here. Bind `args' closer to `body'.
5859 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5860 (eshell--args): Declare new dynamic var.
5861 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5862 last-value, and ext-command. Pass `args' to `body'.
5863 (eshell-process-args): Bind eshell--args.
5864 (eshell-set-option): Use eshell--args.
5865 * eshell/eshell.el (eshell): Use derived-mode-p.
5866 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5867 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5868 (eshell-glob-function): Declare.
5869 * eshell/esh-util.el: Require cl-lib.
5870 (eshell-read-hosts-file): Avoid add-to-list.
5871 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5873 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5875 (eshell/diff): Remove unused var `err'.
5876 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5878 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5879 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5881 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5882 Move declaration before first use.
5883 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5884 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5887 2013-09-12 Glenn Morris <rgm@gnu.org>
5889 * term/ns-win.el (global-map): Remove binding for ispell-next,
5890 deleted 1999-05-29. (Bug#15357)
5892 2013-09-11 Glenn Morris <rgm@gnu.org>
5894 * echistory.el (electric-command-history): Remove call to deleted func.
5896 * play/landmark.el (landmark-mode): Fix typos.
5898 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5899 Check cvs-sort-ignore-file is bound.
5901 * savehist.el: No need for cl when compiling on Emacs.
5903 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5905 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5907 (eshell-self-insert-command, eshell-send-invisible):
5908 Remove unused argument.
5909 (eshell-handle-control-codes): Remove unused var `orig'.
5910 Avoid delete-backward-char.
5912 * files.el (set-auto-mode): Simplify a bit further.
5914 2013-09-11 Glenn Morris <rgm@gnu.org>
5916 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5917 (set-auto-mode): Don't regexp-quote elements.
5918 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5919 * progmodes/cc-mode.el (interpreter-mode-alist):
5920 * progmodes/ruby-mode.el (interpreter-mode-alist):
5921 Revert previous change.
5923 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5925 * play/snake.el (snake-mode):
5926 * play/mpuz.el (mpuz-mode):
5927 * play/landmark.el (lm-mode):
5928 * play/blackbox.el (blackbox-mode):
5929 * play/5x5.el (5x5-mode):
5930 * obsolete/options.el (Edit-options-mode):
5931 * net/quickurl.el (quickurl-list-mode):
5932 * net/newst-treeview.el (newsticker-treeview-mode):
5933 * mail/rmailsum.el (rmail-summary-mode):
5934 * mail/mspools.el (mspools-mode):
5935 * locate.el (locate-mode):
5936 * ibuffer.el (ibuffer-mode):
5937 * emulation/ws-mode.el (wordstar-mode):
5938 * emacs-lisp/debug.el (debugger-mode):
5939 * array.el (array-mode):
5940 * net/eudc.el (eudc-mode): Use define-derived-mode.
5941 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5942 Move initialization into declaration.
5943 (mairix-searches-mode): Use define-derived-mode.
5944 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5945 (eudc-edit-hotlist): Use dolist.
5946 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5947 (Man-mode): Use define-derived-mode.
5948 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5949 (Info-edit-mode): Use define-derived-mode.
5950 (Info-cease-edit): Use Info-mode.
5951 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5953 (eshell-mode): Use define-derived-mode.
5954 * chistory.el (command-history-mode-map): Rename from
5955 command-history-map.
5956 (command-history-mode): Use define-derived-mode.
5957 (Command-history-setup): Remove function.
5958 * calc/calc.el (calc-trail-mode-map): New var.
5959 (calc-trail-mode): Use define-derived-mode.
5960 (calc-trail-buffer): Set calc-main-buffer manually.
5961 * bookmark.el (bookmark-insert-annotation): New function.
5962 (bookmark-edit-annotation): Use it.
5963 (bookmark-edit-annotation-mode): Make it a proper major mode.
5964 (bookmark-send-edited-annotation): Use derived-mode-p.
5965 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5966 closer to its ideal place. Use \' to match EOS.
5968 * profiler.el (profiler-calltree-find): Use function-equal.
5970 2013-09-10 Glenn Morris <rgm@gnu.org>
5972 * files.el (interpreter-mode-alist): Convert to regexps.
5973 (set-auto-mode): Adapt for this. (Bug#15306)
5974 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5975 Comment out unused variable.
5976 * progmodes/cc-mode.el (interpreter-mode-alist):
5977 * progmodes/python.el (interpreter-mode-alist):
5978 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5979 * progmodes/sh-script.el (sh-set-shell):
5980 No longer use interpreter-mode-alist to get list of shells.
5982 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5984 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5986 * simple.el: Use set-temporary-overlay-map for universal-argument.
5987 (universal-argument-map): Don't use default-bindings (bug#15317).
5988 Bind switch-frame explicitly. Replace universal-argument-minus with
5989 a conditional binding.
5990 (universal-argument-num-events, saved-overriding-map): Remove.
5991 (restore-overriding-map): Remove.
5992 (universal-argument--mode): Rename from save&set-overriding-map,
5994 (universal-argument, universal-argument-more, negative-argument)
5995 (digit-argument): Adjust accordingly.
5996 (universal-argument-minus): Remove.
5997 (universal-argument-other-key): Remove.
5999 * subr.el (with-demoted-errors): Add `format' argument.
6001 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6003 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6004 `tramp-cleanup-connection'.
6006 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6007 parameters KEEP-DEBUG and KEEP-PASSWORD.
6009 * net/tramp.el (tramp-file-name-handler):
6010 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6011 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6012 (tramp-maybe-open-connection):
6013 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6014 Use `tramp-cleanup-connection'.
6016 * net/tramp-sh.el (tramp-maybe-open-connection):
6017 Catch 'uname-changed inside the progress reporter.
6019 2013-09-10 Glenn Morris <rgm@gnu.org>
6021 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6023 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6024 returns "alternate access method" in mode (eg "-rw-r--r--.").
6026 2013-09-08 Glenn Morris <rgm@gnu.org>
6028 * saveplace.el (load-save-place-alist-from-file):
6029 Demote errors. (Bug#15305)
6031 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6033 Improve compatibility with older Emacsen, and XEmacs.
6035 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6036 only if it is bound. It isn't for XEmacs.
6037 (with-tramp-progress-reporter): Do not let-bind `result'.
6038 This yields to scoping errors in XEmacs.
6039 (tramp-handle-make-auto-save-file-name): New function, moved from
6042 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6043 for `make-auto-save-file-name'.
6044 (tramp-adb--gnu-switches-to-ash):
6045 Use `tramp-compat-replace-regexp-in-string'.
6047 * net/tramp-cache.el (tramp-cache-print): Call
6048 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6050 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6051 bound. It isn't for XEmacs.
6053 * net/tramp-compat.el (tramp-compat-copy-file):
6054 Catch `wrong-number-of-arguments' error.
6055 (tramp-compat-replace-regexp-in-string): New defun.
6057 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6058 for `make-auto-save-file-name'.
6059 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6061 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6062 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6063 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6065 * net/tramp-gw.el (tramp-gw-open-network-stream):
6066 Use `tramp-compat-replace-regexp-in-string'.
6068 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6069 Call `tramp-handle-make-auto-save-file-name'.
6070 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6071 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6072 (tramp-sh-file-inotifywait-process-filter):
6073 Use `tramp-compat-replace-regexp-in-string'.
6074 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6076 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6077 for `make-auto-save-file-name'.
6078 (tramp-smb-handle-copy-directory):
6079 Call `tramp-compat-replace-regexp-in-string'.
6080 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6081 (tramp-smb-handle-copy-file): Improve error message.
6082 (tramp-smb-handle-rename-file): Rename directly only in case
6083 `newname' does not exist yet. This is a restriction of smbclient.
6084 (tramp-smb-maybe-open-connection): Rerun the function only when
6085 `auth-sources' is non-nil.
6087 2013-09-08 Kenichi Handa <handa@gnu.org>
6089 * international/characters.el: Set category "^" (Combining) for
6092 2013-09-07 Alan Mackenzie <acm@muc.de>
6094 Correctly fontify Java class constructors.
6095 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6097 (c-recognize-typeless-decls): Set the Java value to t.
6098 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6099 While handling a "(", add a check for, effectively, Java, and handle a
6100 "typeless" declaration there.
6102 2013-09-07 Roland Winkler <winkler@gnu.org>
6104 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6105 field subtitle for entry type book.
6107 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6109 * minibuffer.el: Make minibuffer-complete call completion-in-region
6110 rather than other way around.
6111 (completion--some, completion-pcm--find-all-completions):
6112 Don't delay signals when debugging.
6113 (minibuffer-completion-contents): Beware fields within the
6114 minibuffer contents.
6115 (completion-all-sorted-completions): Use defvar-local.
6116 (completion--do-completion, completion--cache-all-sorted-completions)
6117 (completion-all-sorted-completions, minibuffer-force-complete):
6118 Add args `beg' and `end'.
6119 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6120 (minibuffer-complete): Use completion-in-region.
6121 (completion-complete-and-exit): New fun, extracted from
6122 minibuffer-complete-and-exit.
6123 (minibuffer-complete-and-exit): Use it.
6124 (completion--complete-and-exit): Rename from
6125 minibuffer--complete-and-exit.
6126 (completion-in-region--single-word): New function, extracted from
6127 minibuffer-complete-word.
6128 (minibuffer-complete-word): Use it.
6129 (display-completion-list): Make `common-substring' argument obsolete.
6130 (completion--in-region): Call completion--in-region-1 instead of
6131 minibuffer-complete.
6132 (completion-help-at-point): Pass boundaries to
6133 minibuffer-completion-help as args rather than via an overlay.
6134 (completion-pcm--string->pattern): Use `any-delim'.
6135 (completion-pcm--optimize-pattern): New function.
6136 (completion-pcm--pattern->regex): Handle `any-delim'.
6137 * icomplete.el (icomplete-forward-completions)
6138 (icomplete-backward-completions, icomplete-completions):
6139 Adjust calls to completion-all-sorted-completions and
6140 completion--cache-all-sorted-completions.
6141 (icomplete-with-completion-tables): Default to t.
6142 * emacs-lisp/crm.el (crm--current-element): Rename from
6143 crm--select-current-element. Don't put an overlay but return the
6145 (crm--completion-command): Take two new args to bind to the boundaries.
6146 (crm-completion-help): Adjust accordingly.
6147 (crm-complete): Use completion-in-region.
6148 (crm-complete-word): Use completion-in-region--single-word.
6149 (crm-complete-and-exit): Use completion-complete-and-exit.
6151 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6153 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6156 2013-09-06 Juri Linkov <juri@jurta.org>
6158 * info.el (Info-display-images-node): When image file doesn't exist
6159 display text version of the image if it's provided in the Info file.
6160 Otherwise, display the location of missing image from SRC attribute.
6161 Add help-echo text property from ALT attribute. (Bug#15279)
6163 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6165 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6166 (edit-abbrevs-mode): Use define-derived-mode.
6168 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6169 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6171 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6172 Use define-derived-mode.
6174 * epg.el (epg-start-encrypt): Minor CSE simplification.
6176 2013-09-06 William Xu <william.xwl@gmail.com>
6178 * arc-mode.el: Add support for 7za (bug#15264).
6179 (archive-7z-program): New var.
6180 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6181 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6182 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6184 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6188 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6189 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6190 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6191 (tramp-postfix-host-format, tramp-file-name-regexp)
6192 (tramp-completion-file-name-regexp)
6193 (tramp-completion-dissect-file-name)
6194 (tramp-handle-substitute-in-file-name): Remove 'url case.
6195 (tramp-file-name-regexp-url)
6196 (tramp-completion-file-name-regexp-url): Remove constants.
6198 2013-09-06 Glenn Morris <rgm@gnu.org>
6200 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6202 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6204 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6205 keywords" below "here-doc beginnings" (Bug#15270).
6207 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6209 * subr.el (pop): Use `car-safe'.
6210 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6211 to detect unused `pop' return value.
6213 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6215 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6216 (python-fill-string): Remove unused var `marker'.
6217 (python-skeleton-add-menu-items): Remove unused var `items'.
6219 * international/mule-cmds.el: Require CL.
6220 (find-coding-systems-for-charsets): Avoid add-to-list.
6221 (sanitize-coding-system-list): New function, extracted from
6222 select-safe-coding-system-interactively.
6223 (select-safe-coding-system-interactively): Use it.
6224 (read-input-method-name): Accept symbols for `default'.
6226 * emacs-lisp/advice.el (defadvice): Add indent rule.
6228 2013-09-05 Daniel Hackney <dan@haxney.org>
6232 * net/browse-url.el:
6235 * net/eudcb-ldap.el:
6248 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6249 byte compiler. Remove some unused let-bound variables.
6251 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6253 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6254 a "ref-cell", since it gets better optimized (bug#14883).
6256 2013-09-05 Glenn Morris <rgm@gnu.org>
6258 * progmodes/cc-awk.el (c-forward-sws): Declare.
6260 2013-09-04 Glenn Morris <rgm@gnu.org>
6262 * generic-x.el [rul-generic-mode]: Require cc-mode.
6263 (c++-mode-syntax-table): Declare.
6264 (rul-generic-mode-syntax-table): Init in the defvar.
6266 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6269 (vc-do-command, vc-set-async-update):
6270 * vc/vc-mtn.el (vc-mtn-dir-status):
6271 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6272 (vc-hg-pull, vc-hg-merge-branch):
6273 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6274 (vc-git-merge-branch):
6275 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6276 (vc-cvs-dir-status-files):
6277 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6278 (vc-bzr-dir-status-files):
6279 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6280 * vc/vc-annotate.el: Use lexical-binding.
6281 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6282 (vc-sentinel-movepoint): Declare.
6283 (vc-annotate): Don't use `goto-line'.
6284 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6285 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6286 (vc-sentinel-movepoint): Declare.
6287 * vc/vc-svn.el: Use lexical-binding.
6288 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6290 * vc/vc-rcs.el: Use lexical-binding.
6292 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6293 `deleted'. Don't drop errors silently.
6295 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6297 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6299 * vc/vc.el (vc-ignore): Rewrite.
6300 (vc-default-ignore): New function.
6301 (vc-default-ignore-completion-table): Use find-ignore-file.
6303 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6304 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6305 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6306 Remove. Most code moved to vc.el.
6308 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6310 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6311 * net/tramp-smb.el (tramp-smb-get-file-entries):
6312 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6313 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6315 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6317 (eww-change-select): Remove unused var `properties'.
6318 (eww-make-unique-file-name): Remove unused var `base'.
6320 * finder.el (finder-compile-keywords): Don't mess with windows.
6322 * calculator.el (calculator-funcall): Fix typo in last change.
6324 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6326 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6327 <pkg>-autoloads.el file stop us.
6329 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6330 warnings, and factor out common code.
6332 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6334 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6335 two-character operators and whether the character preceding them
6336 changes their meaning (Bug#15208).
6338 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6340 Format code sent to Python shell for robustness.
6341 * progmodes/python.el (python-shell-buffer-substring):
6343 (python-shell-send-region, python-shell-send-buffer): Use it.
6345 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6347 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6348 * net/tramp.el (tramp-user-error): ... here.
6349 (tramp-find-method, tramp-check-proper-host)
6350 (tramp-dissect-file-name, tramp-debug-message)
6351 (tramp-handle-shell-command):
6352 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6353 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6355 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6357 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6359 * avoid.el (mouse-avoidance-point-position)
6360 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6363 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6365 * progmodes/python.el (python-shell-completion-get-completions):
6366 Drop use of deleted `comint-last-prompt-overlay'.
6367 (python-nav-if-name-main): New command.
6369 2013-09-01 Glenn Morris <rgm@gnu.org>
6371 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6372 Avoid leading space in $wins. Otherwise the sed command used by
6373 eg compile-main ends up containing "/*.el". (Bug#15170)
6375 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6377 2013-08-30 Glenn Morris <rgm@gnu.org>
6379 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6380 Fix is-this-a-directory logic. (Bug#15220)
6382 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6384 * textmodes/css-mode.el: Use SMIE.
6385 (css-smie-grammar): New var.
6386 (css-smie--forward-token, css-smie--backward-token)
6387 (css-smie-rules): New functions.
6388 (css-mode): Use them.
6389 (css-navigation-syntax-table): Remove var.
6390 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6391 (css-indent-calculate, css-indent-line): Remove functions.
6393 Misc changes to reduce use of `(lambda...); and other cleanups.
6394 * cus-edit.el: Use lexical-binding.
6395 (customize-push-and-save, customize-apropos)
6396 (custom-buffer-create-internal): Use closures.
6397 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6398 * progmodes/ada-xref.el: Use setq.
6399 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6400 * dframe.el: Use lexical-binding.
6401 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6402 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6403 * descr-text.el: Use lexical-binding.
6404 (describe-text-widget, describe-text-sexp, describe-property-list):
6406 * comint.el (comint-history-isearch-push-state): Use a closure.
6407 * calculator.el: Use lexical-binding.
6408 (calculator-number-to-string): Make it work with lexical-binding.
6409 (calculator-funcall): Same and use cl-letf.
6411 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6412 (lisp--company-doc-string, lisp--company-location): New functions.
6413 (lisp-completion-at-point): Use them to improve Company support.
6415 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6416 params of lambda expressions.
6417 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6418 (ruby-smie--opening-pipe-p): New function.
6419 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6420 symbols and matched |...| for formal params.
6421 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6422 from being treated as hanging. Handle "rescue".
6424 2013-08-29 Glenn Morris <rgm@gnu.org>
6426 * progmodes/cc-engine.el (c-pull-open-brace):
6427 Move definition before use.
6429 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6431 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6432 are immutable. Don't use `unsafe' any more.
6433 (cl--defsubst-expand): Don't substitute at the same time as keeping
6434 a residual unused let-binding. Don't use `unsafe' any more.
6436 2013-08-29 Glenn Morris <rgm@gnu.org>
6438 * calendar/cal-china.el (calendar-chinese-year-cache):
6441 * nxml/nxml-util.el (nxml-debug-clear-inside):
6442 Use cl-loop rather than loop.
6444 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6446 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6448 2013-08-28 Glenn Morris <rgm@gnu.org>
6450 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6452 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6454 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6456 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6458 * simple.el (repeat-complex-command--called-interactively-skip):
6460 (repeat-complex-command): Use it (bug#14136).
6462 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6463 (c-define-abbrev-table): Add `doc' argument.
6464 (c-mode-abbrev-table, c++-mode-abbrev-table)
6465 (objc-mode-abbrev-table, java-mode-abbrev-table)
6466 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6467 (awk-mode-abbrev-table): Use it.
6468 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6469 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6470 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6471 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6472 Move initialization into the declaration; and remove any
6475 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6476 and dynamic let binding.
6478 * vc/smerge-mode.el: Remove redundant :group args.
6480 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6483 2013-08-28 Juri Linkov <juri@jurta.org>
6485 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6486 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6487 (isearch-other-meta-char): Handle an undefined shifted printing
6488 character by downshifting it. (Bug#15200)
6490 2013-08-28 Juri Linkov <juri@jurta.org>
6492 * isearch.el (isearch-search): Change regexp error message for
6493 non-regexp searches. (Bug#15166)
6495 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6497 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6498 for portability to hosts where /bin/sh has problems.
6500 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6502 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6504 2013-08-27 Juri Linkov <juri@jurta.org>
6506 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6507 in the keyboard macro. (Bug#15126)
6509 2013-08-27 Juri Linkov <juri@jurta.org>
6511 * isearch.el (isearch-quote-char): Comment out converting unibyte
6512 to multibyte, thus syncing with its `quoted-insert' counterpart.
6515 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6517 * window.el (display-buffer-use-some-window): Add missing
6518 argument in call of get-largest-window (Bug#15185).
6519 Reported by Stephen Leake.
6521 2013-08-27 Glenn Morris <rgm@gnu.org>
6523 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6525 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6527 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6528 from a matcher-function unless there's no more matches (bug#15161).
6530 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6532 * minibuffer.el: Revert change from 2013-08-20.
6534 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6535 with text property `tramp-default', if appropriate.
6536 (tramp-check-proper-host): New defun.
6537 (tramp-dissect-file-name): Do not check hostname. Revert change
6539 (tramp-backtrace): Make VEC-OR-PROC optional.
6541 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6542 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6543 * net/tramp-sh.el (tramp-maybe-open-connection):
6544 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6545 Apply `tramp-check-proper-host'.
6547 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6549 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6550 lambda expression in order to have `describe-variable' display it.
6552 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6554 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6555 BUF can be optional. (Bug#15186)
6557 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6559 * progmodes/flymake.el (flymake-get-real-file-name-function):
6560 Fix broken customization. (Bug#15184)
6562 2013-08-25 Alan Mackenzie <acm@muc.de>
6564 Improve indentation of bracelists defined by macros (without "=").
6566 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6567 expansion begins with "{", regard it as bracelist when it doesn't
6570 Parse C++ inher-intro when there's a template split over 2 lines.
6572 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6573 rigorously the search for "class" etc. followed by ":".
6575 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6576 random languages a regexp which never matches rather than nil.
6578 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6580 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6581 (c-awk-regexp-one-line-possibly-open-char-list-re)
6582 (c-awk-one-line-possibly-open-regexp-re)
6583 (c-awk-one-line-non-syn-ws*-re): Remove.
6584 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6585 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6586 (c-awk-space*-unclosed-regexp-/-re): New constants.
6587 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6588 aren't regexp delimiters.
6590 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6591 handling for a rare situation in AWK Mode involving unterminated
6594 2013-08-23 Glenn Morris <rgm@gnu.org>
6596 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6598 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6600 * files.el (create-file-buffer): If the result would begin with
6601 spaces, prepend a "|" instead of removing them. (Bug#15162)
6603 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6605 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6606 text-properties (bug#15155).
6608 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6610 (calc-keypad-redraw): Remove unused var `pad'.
6611 (calc-keypad-press): Remove unused var `menu'.
6613 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6615 * window.el (display-buffer-pop-up-frame):
6616 Call pop-up-frame-function with BUFFER current so `make-frame' will
6617 use it as the new frame's buffer (Bug#15133).
6619 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * calendar/timeclock.el: Minor cleanups.
6622 (timeclock-ask-before-exiting, timeclock-use-display-time):
6624 (timeclock-modeline-display): Define as alias before the
6626 (timeclock-mode-line-display): Use define-minor-mode.
6627 (timeclock-day-list-template): Make it a function, add an argument.
6628 (timeclock-day-list-required, timeclock-day-list-length)
6629 (timeclock-day-list-debt, timeclock-day-list-span)
6630 (timeclock-day-list-break): Adjust calls accordingly.
6632 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6634 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6635 Use read--expression so that completion works again.
6637 2013-08-21 Sam Steingold <sds@gnu.org>
6639 Add rudimentary inferior shell interaction
6640 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6641 (sh-set-shell): Reset it.
6642 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6643 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6645 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6647 * align.el: Use lexical-binding.
6648 (align-region): Simplify accordingly.
6650 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6652 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6654 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6657 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6661 * net/tramp-cmds.el:
6663 * net/tramp-gvfs.el:
6665 * net/tramp-sh.el: Don't wrap external variable declarations by
6666 `eval-when-compile'.
6668 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6670 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6671 now that Emacs supports ImageMagick animations.
6673 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6675 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6676 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6678 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6680 * window.el (mouse-autoselect-window-select): Do autoselect when
6681 mouse pointer is on margin.
6683 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6685 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6687 2013-08-16 Glenn Morris <rgm@gnu.org>
6689 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6690 Handle "Remote Directory" response of some clients. (Bug#15058)
6692 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6693 Tweak warning. (Bug#14926)
6695 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6696 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6698 * image-mode.el (image-mode-map): Add menu items to reverse,
6699 increase, decrease, reset animation speed.
6700 (image--set-speed, image-increase-speed, image-decrease-speed)
6701 (image-reverse-speed, image-reset-speed): New functions.
6702 (image-mode-map): Add bindings for speed commands.
6704 * image.el (image-animate-get-speed, image-animate-set-speed):
6706 (image-animate-timeout): Respect image :speed property.
6708 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6710 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6711 previous line (bug#15101).
6712 (debugger-eval-expression, debugger-record-expression):
6713 Use read--expression (bug#15102).
6715 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6717 Remove byte compiler warnings, visible when compiling with
6718 `byte-compile-force-lexical-warnings' set to t.
6720 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6721 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6722 (tramp-handle-unhandled-file-name-directory)
6723 (tramp-handle-file-notify-add-watch, tramp-action-login)
6724 (tramp-action-succeed, tramp-action-permission-denied)
6725 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6728 * net/tramp-adb.el (tramp-adb-parse-device-names)
6729 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6730 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6731 (tramp-adb-handle-file-truename): Remove unused arguments.
6733 * net/tramp-cache.el (tramp-flush-directory-property)
6734 (tramp-flush-connection-property, tramp-list-connections)
6735 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6737 * net/tramp-compat.el (tramp-compat-make-temp-file):
6738 Rename FILENAME to F.
6740 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6741 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6742 (tramp-zeroconf-parse-workstation-device-names)
6743 (tramp-zeroconf-parse-webdav-device-names)
6744 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6746 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6747 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6749 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6751 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6752 (tramp-sh-handle-insert-file-contents-literally)
6753 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6755 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6756 Remove unused variables.
6758 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6759 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6760 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6762 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6763 Make them a defconst.
6764 (tramp-uuencode-region): Remove unused variable.
6766 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6768 * frameset.el (frameset--prop-setter): New function.
6769 (frameset-prop): Add gv-setter declaration.
6770 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6771 parameter was already set in FILTERED. Doc fix.
6772 (frameset--record-minibuffer-relationships): Allow saving a
6773 minibufferless frame without its corresponding minibuffer frame.
6774 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6775 frame, if the frame id matches.
6776 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6777 frames before orphaned ones.
6778 (frameset-restore): Warn about orphaned windows, instead of error out.
6780 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6782 * window.el (window-make-atom): Don't overwrite parameter
6784 (display-buffer-in-atom-window): Handle special case where we
6785 split an already atomic window.
6786 (window--major-non-side-window, display-buffer-in-side-window)
6787 (window--side-check): Ignore minibuffer window when walking
6789 (window-deletable-p): Return 'frame only if no other frame uses
6790 our minibuffer window.
6791 (record-window-buffer): Run buffer-list-update-hook.
6792 (split-window): Make sure window--check-frame won't destroy an
6793 existing atomic window in case the new window gets nested
6795 (display-buffer-at-bottom): Ignore minibuffer window when
6796 walking window tree. Don't split a side window.
6797 (pop-to-buffer): Don't set-buffer here, the select-window call
6799 (mouse-autoselect-window-select): Autoselect only if we are in the
6800 text portion of the window.
6802 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6804 * net/shr.el (shr-parse-image-data): New function to grab both the
6805 data itself and the Content-Type.
6806 (shr-put-image): Use it.
6808 * net/eww.el (eww-display-image): Ditto.
6810 * image.el (image-content-type-suffixes): New variable.
6812 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6814 * progmodes/python.el (python-imenu--build-tree)
6815 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6817 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6819 * simple.el (backward-word): Mention the optional argument.
6821 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6823 * frameset.el (frameset--make): Rename constructor from make-frameset.
6824 (frameset-p, frameset-valid-p): Don't autoload.
6825 (frameset-valid-p): Use normal accessors.
6827 2013-08-13 Glenn Morris <rgm@gnu.org>
6829 * progmodes/compile.el (compile-command): Tweak example in doc.
6830 * obsolete/scribe.el (scribe-mode):
6831 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6833 * mail/feedmail.el (feedmail-confirm-outgoing)
6834 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6836 * cus-start.el (truncate-partial-width-windows): Fix type.
6838 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6840 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6842 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6844 * emacs-lisp/timer.el (timer--time-setter): New function.
6845 (timer--time): Use it as gv-setter.
6847 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6848 setter is not a symbol.
6850 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6852 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6853 if sending fails. This makes debugging easier.
6855 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6857 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6858 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6859 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6861 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6863 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6865 2013-08-12 Glenn Morris <rgm@gnu.org>
6867 * format.el (format-annotate-function):
6868 Handle read-only text properties in the source. (Bug#14887)
6870 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6872 * net/eww.el (eww-display-html): Ignore coding system errors.
6873 One web site uses "utf-8lias" as the coding system.
6875 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6877 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6879 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6881 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6882 (tutorial--detailed-help): Remove unused local variables.
6883 (tutorial--save-tutorial-to): Use ignore-errors.
6884 (help-with-tutorial): Use looking-at-p.
6886 * view.el (view-buffer-other-window, view-buffer-other-frame):
6887 Mark unused arguments.
6889 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6890 (woman-select-symbol-fonts, woman, woman-find-file)
6891 (woman-insert-file-contents, woman-non-underline-faces):
6893 (woman1-unquote): Move declaration.
6895 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6896 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6897 argument. Remove unused local variable.
6898 (xml-parse-elem-type): Use string-match-p.
6899 (xml-substitute-numeric-entities): Use ignore-errors.
6901 * calculator.el (calculator): Mark unused argument.
6902 (calculator-paste, calculator-quit, calculator-integer-p):
6904 (calculator-string-to-number, calculator-decimal, calculator-exp)
6905 (calculator-op-or-exp): Use string-match-p.
6907 * dired.el (dired-buffer-more-recently-used-p): Declare.
6908 (dired-insert-set-properties, dired-insert-old-subdirs):
6911 * dired-aux.el (dired-compress): Use ignore-errors.
6912 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6913 (dired-do-async-shell-command, dired-do-shell-command)
6914 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6915 (dired-insert-subdir-validate): Use string-match-p.
6916 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6917 (dired-add-entry): Use string-match-p, looking-at-p.
6918 (dired-insert-subdir-newpos): Remove unused local variable.
6920 * filenotify.el (file-notify-callback): Remove unused local variable.
6922 * filesets.el (filesets-error): Mark unused argument.
6923 (filesets-which-command-p, filesets-filter-dir-names)
6924 (filesets-directory-files, filesets-get-external-viewer)
6925 (filesets-ingroup-get-data): Use string-match-p.
6927 * find-file.el (ff-other-file-name, ff-other-file-name)
6928 (ff-find-the-other-file, ff-cc-hh-converter):
6929 Remove unused local variables.
6930 (ff-get-file-name): Use string-match-p.
6931 (ff-all-dirs-under): Use ignore-errors.
6933 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6934 (follow-select-if-visible): Remove unused local variable.
6936 * forms.el (read-file-filter): Move declaration.
6937 (forms--make-format, forms--make-parser, forms-insert-record):
6938 Quote function with #'.
6939 (forms--update): Use string-match-p. Quote function with #'.
6941 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6942 (help-make-xrefs): Use looking-at-p.
6943 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6945 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6946 (ibuffer-confirm-operation-on): Use string-match-p.
6948 * msb.el (msb-item-handler, msb-dired-item-handler):
6949 Mark unused arguments.
6951 * ses.el (ses-decode-cell-symbol)
6952 (ses-kill-override): Remove unused local variable.
6953 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6954 (ses-load): Use ignore-errors, looking-at-p.
6955 (ses-jump-safe): Use ignore-errors.
6956 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6958 * tabify.el (untabify, tabify): Mark unused arguments.
6960 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6961 Mark unused argument.
6962 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6963 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6965 * emacs-lisp/timer.el (timer--time): Define setter with
6966 gv-define-setter to avoid deprecation warning.
6968 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6969 (*record-cmpl-statistics-p*): Remove (was commented out).
6970 (cmpl-statistics-block): Remove (body was commented out).
6971 All callers changed.
6972 (add-completions-from-buffer, load-completions-from-file):
6973 Remove unused variables.
6975 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6977 * filecache.el (file-cache-delete-file-list):
6978 Print message only when told so.
6979 (file-cache-files-matching): Use #' in mapconcat argument.
6981 * ffap.el (ffap-url-at-point): Fix reference to variable
6982 thing-at-point-default-mail-uri-scheme.
6984 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6986 * subr.el (define-error): New function.
6987 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6988 error-file-not-found and define with define-error.
6989 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6990 and define with define-error.
6991 * userlock.el (file-locked, file-supersession):
6992 * simple.el (mark-inactive):
6993 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6994 * progmodes/ada-mode.el (ada-mode-errors):
6995 * play/life.el (life-extinct):
6996 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6997 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6998 * nxml/rng-util.el (rng-error):
6999 * nxml/rng-uri.el (rng-uri-error):
7000 * nxml/rng-match.el (rng-compile-error):
7001 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7002 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7003 * nxml/nxml-rap.el (nxml-scan-error):
7004 * nxml/nxml-outln.el (nxml-outline-error):
7005 * net/soap-client.el (soap-error):
7006 * net/gnutls.el (gnutls-error):
7007 * net/ange-ftp.el (ftp-error):
7008 * mpc.el (mpc-proc-error):
7009 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7010 (json-number-format, json-string-escape, json-string-format)
7011 (json-key-format, json-object-format):
7012 * jka-compr.el (compression-error):
7013 * international/quail.el (quail-error):
7014 * international/kkc.el (kkc-error):
7015 * emacs-lisp/ert.el (ert-test-failed):
7016 * calc/calc.el (calc-error, inexact-result, math-overflow)
7018 * bookmark.el (bookmark-error-no-filename):
7019 * epg.el (epg-error): Define with define-error.
7021 * time.el (display-time-event-handler)
7022 (display-time-next-load-average): Don't call sit-for since it seems
7023 unnecessary (bug#15045).
7025 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7026 Use #' instead of ' to quote functions.
7027 (checkdoc-output-mode): Use setq-local.
7028 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7029 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7030 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7031 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7032 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7033 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7034 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7035 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7037 * ido.el (ido-completion-help): Fix up compiler warning.
7039 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7041 * frameset.el (frameset-p): Add autoload cookie.
7042 (frameset--jump-to-register): New function, based on code moved from
7044 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7046 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7047 (frameset-restore, frameset-save, frameset-session-filter-alist):
7048 Remove declarations.
7049 (register-alist): Doc fix.
7050 (frameset-to-register): Move to frameset.el.
7051 (jump-to-register, describe-register-1): Remove frameset-specific code.
7053 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7055 * allout-widgets.el (allout-widgets-pre-command-business)
7056 (allout-widgets-post-command-business)
7057 (allout-widgets-after-change-handler)
7058 (allout-decorate-item-and-context, allout-set-boundary-marker)
7059 (allout-body-modification-handler)
7060 (allout-graphics-modification-handler): Mark ignored arguments.
7061 (allout-widgets-post-command-business)
7062 (allout-widgets-exposure-change-processor)
7063 (allout-widgets-exposure-undo-processor)
7064 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7065 (allout-parse-item-at-point, allout-decorate-item-guides)
7066 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7067 * allout.el (epa-passphrase-callback-function): Declare.
7068 (allout-overlay-insert-in-front-handler)
7069 (allout-overlay-interior-modification-handler)
7070 (allout-isearch-end-handler, allout-chart-siblings)
7071 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7072 (allout-yank-processing, allout-process-exposed)
7073 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7074 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7075 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7076 (lisp-indent-defform): Mark ignored arguments.
7077 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7078 (calculate-lisp-indent): Remove unused variables.
7079 * international/characters.el (indian-2-column, arabic-2-column)
7080 (tibetan): Mark ignored arguments.
7081 (use-cjk-char-width-table): Mark ignored arguments.
7082 Remove unused variables.
7083 * international/fontset.el (build-default-fontset-data)
7084 (x-compose-font-name, create-fontset-from-fontset-spec):
7085 Mark ignored arguments.
7086 (fontset-plain-name): Remove unused variables.
7087 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7088 (keyboard-coding-system): Mark ignored arguments.
7089 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7090 * help.el (resize-temp-buffer-window):
7091 * window.el (display-buffer-in-major-side-window)
7092 (display-buffer-in-side-window, display-buffer-in-previous-window):
7093 Remove unused variables.
7094 * isearch.el (isearch-forward-symbol):
7095 * version.el (emacs-bzr-version-bzr):
7096 * international/mule-cmds.el (current-language-environment):
7097 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7099 * term/pc-win.el (x-list-fonts, x-display-planes)
7100 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7101 (x-server-version, x-display-screens, x-display-mm-height)
7102 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7103 (x-selection-owner-p, x-own-selection-internal)
7104 (x-disown-selection-internal, x-get-selection-internal)
7105 (msdos-initialize-window-system):
7106 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7107 * term/x-win.el (x-handle-no-bitmap-icon):
7108 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7109 (vc-default-find-file-hook, vc-default-extra-menu):
7110 Mark ignored arguments.
7112 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7114 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7115 break-condition in the context of the debugged code (bug#12685).
7117 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7120 Do not use an overlay to highlight the last prompt. (Bug#14744)
7121 (comint-mode): Make comint-last-prompt buffer local.
7122 (comint-last-prompt): New variable.
7123 (comint-last-prompt-overlay): Remove. Superseded by
7125 (comint-snapshot-last-prompt, comint-output-filter):
7126 Use comint-last-prompt.
7128 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7130 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7131 (frameset-save): Check validity of the resulting frameset.
7133 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7135 * ido.el (ido-record-command): Add doc string.
7137 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7139 * frameset.el (frameset): Do not disable creation of the default
7140 frameset-p predicate. Doc fix.
7141 (frameset-valid-p): New function, copied from the old predicate-p.
7142 Add additional checks.
7143 (frameset-restore): Check with frameset-valid-p.
7144 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7145 (frameset-name, frameset-description, frameset-properties)
7146 (frameset-states): Add docstring.
7147 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7148 (frameset-filter-alist): Doc fixes.
7150 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7152 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7154 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7156 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7157 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7158 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7159 (byte-compile-normal-call): Remove obsolescence check.
7161 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7163 * frameset.el (frameset-restore): Doc fix.
7165 * register.el (frameset-frame-id, frameset-frame-with-id)
7166 (frameset-p, frameset-restore, frameset-save): Declare.
7167 (register-alist): Document framesets.
7168 (frameset-session-filter-alist): Declare.
7169 (frameset-to-register): New function.
7170 (jump-to-register): Implement jumping to framesets. Doc fix.
7171 (describe-register-1): Describe framesets.
7173 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7175 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7177 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7178 Use lexical-binding.
7180 * frameset.el (frameset): Use type vector, not list (incompatible
7181 change). Do not declare a new constructor, use the default one.
7182 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7183 `name' and `description', respectively, and add read-only slot
7184 `timestamp'. Doc fixes.
7185 (frameset-copy, frameset-persistent-filter-alist)
7186 (frameset-filter-alist, frameset-switch-to-gui-p)
7187 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7188 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7189 (frameset-filter-iconified, frameset-keep-original-display-p):
7191 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7192 Rename from frameset-filter-(save|restore)-param. All callers changed.
7194 (frameset-p): Adapt to change to vector and be more thorough.
7195 Change arg name to OBJECT. Doc fix.
7196 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7197 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7198 All callers changed.
7199 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7200 All callers changed.
7201 (frameset--record-minibuffer-relationships): Rename from
7202 frameset--process-minibuffer-frames. All callers changed.
7203 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7204 Use new default constructor (again). Doc fix.
7205 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7206 All callers changed.
7207 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7208 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7210 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7211 PARAMETERS and WINDOW-STATE, respectively.
7212 (frameset-restore): Add new keyword argument PREDICATE.
7213 Reset frameset--target-display to nil. Doc fix.
7215 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7217 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7219 (bat-mode-syntax-table): Mark \n as end-of-comment.
7220 (bat-font-lock-keywords): Remove comment rule.
7222 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7223 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7225 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7226 (byte-compile-callargs-warn): Use `push'.
7227 (byte-compile-arglist-warn): Ignore higher-order "calls".
7228 (byte-compile-file-form-autoload): Use `pcase'.
7229 (byte-compile-function-form): If quoting a symbol, check that it exists.
7231 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7233 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7234 and add a few popular commands found in batch files.
7235 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7236 (dos-mode): Doc fixes.
7238 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7240 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7241 (dos-mode): Use setq-local. Add space after "rem".
7242 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7243 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7245 2013-08-07 Arni Magnusson <arnima@hafro.is>
7247 * progmodes/dos.el: New file.
7248 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7251 2013-08-06 Glenn Morris <rgm@gnu.org>
7253 * calendar/calendar.el: Add new faces, and day-header-array.
7254 (calendar-weekday-header, calendar-weekend-header)
7255 (calendar-month-header): New faces.
7256 (calendar-day-header-construct): New function.
7257 (calendar-day-header-width): Also :set calendar-day-header-array.
7258 (calendar-american-month-header, calendar-european-month-header)
7259 (calendar-iso-month-header): Use calendar- faces.
7260 (calendar-generate-month):
7261 Use calendar-day-header-array for day headers; apply faces to them.
7262 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7263 (calendar-abbrev-construct): Add optional maxlen argument.
7264 (calendar-day-name-array): Doc fix.
7265 (calendar-day-name-array, calendar-abbrev-length)
7266 (calendar-day-abbrev-array):
7267 Also :set calendar-day-header-array, and maybe redraw.
7268 (calendar-day-header-array): New option. (Bug#15007)
7269 (calendar-font-lock-keywords): Set to nil and make obsolete.
7270 (calendar-day-name): Add option to use header array.
7272 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7274 * net/shr.el (shr-render-td): Remove debugging.
7275 (shr-render-td): Make width computation consistent by defaulting
7276 all zero-width columns to 10 characters. This may not be optimal,
7277 but it's at least consistent.
7278 (shr-make-table-1): Redo last change to fix the real problem in
7281 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7283 * files.el (cache-long-line-scans):
7284 Make obsolete alias to `cache-long-scans'.
7286 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7288 * frameset.el (frameset, frameset-filter-alist)
7289 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7290 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7291 (frameset-compute-pos): Rename from frameset--compute-pos,
7293 (frameset-move-onscreen): Use frameset-compute-pos.
7294 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7296 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7297 Fix typos in docstrings.
7299 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7301 * frame.el (get-other-frame): Tiny cleanup.
7303 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7305 * vc/vc.el (vc-default-ignore-completion-table):
7306 Silence byte-compiler warning.
7308 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7309 slot, which can indeed be nil.
7310 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7311 Move entry for `left' from persistent to live filter alist.
7312 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7314 (frameset-filter-params): When restoring a frame, copy items added to
7315 `filtered', to avoid unwittingly modifying the original parameters.
7316 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7317 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7319 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7320 to use looking-at-p instead of looking-at. (Bug#15028)
7322 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7324 Revert introduction of isearch-filter-predicates (bug#14714).
7325 Rely on add-function instead.
7326 * isearch.el (isearch-filter-predicates): Rename it back to
7327 isearch-filter-predicate.
7328 (isearch-message-prefix): Use advice-function-mapc and advice
7329 properties to get the isearch-message-prefix.
7330 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7331 instead of run-hook-with-args-until-failure.
7332 (isearch-filter-visible): Not obsolete any more.
7333 * loadup.el: Preload nadvice.
7334 * replace.el (perform-replace): Revert to funcall
7335 instead of run-hook-with-args-until-failure.
7336 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7337 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7338 dired-isearch-filenames-toggle; make it into a proper minor mode.
7339 Use add/remove-function.
7340 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7341 Call the minor-mode rather than add/remove-hook.
7342 (dired-isearch-filter-filenames):
7343 Remove isearch-message-prefix property.
7344 * info.el (Info--search-loop): New function, extracted from Info-search.
7345 Funcall isearch-filter-predicate instead of
7346 run-hook-with-args-until-failure isearch-filter-predicates.
7347 (Info-search): Use it.
7348 (Info-mode): Use isearch-filter-predicate instead of
7349 isearch-filter-predicates.
7351 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7353 Do not call to `selected-window' where it is assumed by default.
7354 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7355 `window-hscroll', `window-width', `window-height', `window-buffer',
7356 `window-frame', `window-start', `window-point', `next-window'
7357 and `window-display-table'.
7358 * abbrev.el (abbrev--default-expand):
7359 * bs.el (bs--show-with-configuration):
7360 * buff-menu.el (Buffer-menu-mouse-select):
7361 * calc/calc.el (calc):
7362 * calendar/calendar.el (calendar-generate-window):
7363 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7365 * comint.el (send-invisible, comint-dynamic-complete-filename)
7366 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7367 * completion.el (complete):
7368 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7369 * disp-table.el (describe-current-display-table):
7370 * doc-view.el (doc-view-insert-image):
7371 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7372 * ehelp.el (with-electric-help):
7373 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7374 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7375 * emacs-lisp/helper.el (Helper-help-scroller):
7376 * emulation/cua-base.el (cua--post-command-handler-1):
7377 * eshell/esh-mode.el (eshell-output-filter):
7378 * ffap.el (ffap-gnus-wrapper):
7379 * help-macro.el (make-help-screen):
7380 * hilit-chg.el (highlight-compare-buffers):
7381 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7382 * hl-line.el (global-hl-line-highlight):
7383 * icomplete.el (icomplete-simple-completing-p):
7384 * isearch.el (isearch-done):
7385 * jit-lock.el (jit-lock-stealth-fontify):
7386 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7387 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7388 * mpc.el (mpc-tagbrowser, mpc):
7389 * net/rcirc.el (rcirc-any-buffer):
7390 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7391 * play/landmark.el (landmark-max-width, landmark-max-height):
7392 * play/zone.el (zone):
7393 * progmodes/compile.el (compilation-goto-locus):
7394 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7395 * progmodes/etags.el (find-tag-other-window):
7396 * progmodes/fortran.el (fortran-column-ruler):
7397 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7398 * progmodes/verilog-mode.el (verilog-point-text):
7399 * reposition.el (reposition-window):
7400 * rot13.el (toggle-rot13-mode):
7401 * server.el (server-switch-buffer):
7402 * shell.el (shell-dynamic-complete-command)
7403 (shell-dynamic-complete-environment-variable):
7404 * simple.el (insert-buffer, set-selective-display)
7405 (delete-completion-window):
7406 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7407 (speedbar-recenter):
7408 * startup.el (fancy-splash-head):
7409 * textmodes/ispell.el (ispell-command-loop):
7410 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7411 * tutorial.el (help-with-tutorial):
7412 * vc/add-log.el (add-change-log-entry):
7413 * vc/compare-w.el (compare-windows):
7414 * vc/ediff-help.el (ediff-indent-help-message):
7415 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7416 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7417 (ediff-setup-control-frame):
7418 * vc/emerge.el (emerge-position-region):
7419 * vc/pcvs-util.el (cvs-bury-buffer):
7420 * window.el (walk-windows, mouse-autoselect-window-select):
7421 * winner.el (winner-set-conf, winner-undo): Related users changed.
7423 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7425 * frameset.el (frameset--set-id): Doc fix.
7426 (frameset-frame-id, frameset-frame-id-equal-p)
7427 (frameset-locate-frame-id): New functions.
7428 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7429 (frameset-restore): Use them.
7431 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7433 Do not call to `selected-frame' where it is assumed by default.
7434 Affected functions are `raise-frame', `redraw-frame',
7435 `frame-first-window', `frame-terminal' and `delete-frame'.
7436 * calendar/appt.el (appt-disp-window):
7437 * epg.el (epg-wait-for-completion):
7438 * follow.el (follow-delete-other-windows-and-split)
7439 (follow-avoid-tail-recenter):
7440 * international/mule.el (set-terminal-coding-system):
7441 * mail/rmail.el (rmail-mail-return):
7442 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7443 * progmodes/f90.el (f90-add-imenu-menu):
7444 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7445 * server.el (server-switch-buffer):
7446 * simple.el (delete-completion-window):
7448 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7449 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7450 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7451 * vc/ediff.el (ediff-documentation): Related users changed.
7452 * frame.el (selected-terminal): Remove the leftover.
7454 2013-08-05 Glenn Morris <rgm@gnu.org>
7456 * calendar/calendar.el (calendar-generate-month):
7457 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7458 (calendar-generate-month, calendar-font-lock-keywords):
7459 Fix for calendar-day-header-width > length of any day name.
7461 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7463 * desktop.el (desktop-clear): Use new name of sort predicate.
7465 * frameset.el (frameset): Add docstring. Move :version property to its
7467 (frameset-copy): Rename from copy-frameset.
7468 (frameset-p): Check more thoroughly.
7469 (frameset-prop): Do not check for :version, which is no longer a prop.
7470 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7471 Use new :never value instead of t.
7472 (frameset-filter-alist): Expand and clarify docstring.
7473 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7474 (frameset-filter-minibuffer, frameset-filter-save-param)
7475 (frameset-filter-restore-param, frameset-filter-iconified):
7476 Add pointer to docstring of frameset-filter-alist.
7477 (frameset-filter-params): Rename filter values to be more meaningful:
7478 :never instead of t, and reverse the meanings of :save and :restore.
7479 (frameset--process-minibuffer-frames): Clarify error message.
7480 (frameset-save): Avoid unnecessary and confusing call to framep.
7481 Use new BOA constructor for framesets.
7482 (frameset--reuse-list): Doc fix.
7483 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7484 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7485 (frameset-minibufferless-first-p): Doc fix.
7486 Rename from frameset-sort-frames-for-deletion.
7487 (frameset-restore): Doc fixes. Use new function names.
7488 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7490 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7492 * desktop.el (desktop-restore-forces-onscreen)
7493 (desktop-restore-reuses-frames): Document :keyword constant values.
7494 (desktop-filter-parameters-alist): Remove, now identical to
7495 frameset-filter-alist.
7496 (desktop--filter-tty*): Remove, moved to frameset.el.
7497 (desktop-save-frameset, desktop-restore-frameset):
7498 Do not pass :filters argument.
7500 * frameset.el (frameset-live-filter-alist)
7501 (frameset-persistent-filter-alist): New variables.
7502 (frameset-filter-alist): Use them. Add autoload cookie.
7503 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7504 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7505 `frameset--id' (it's supposed to be internal to frameset.el).
7506 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7507 (frameset--initial-params): New function.
7508 (frameset--get-frame): Use it. Doc fix.
7509 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7510 Accept :all, not 'all.
7511 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7512 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7513 with fbound symbols. Fix frame id matching, and remove matching ids if
7514 the frame being restored is deleted. Obey :delete.
7516 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * subr.el (macrop): New function.
7519 (text-clone--maintaining): New var.
7520 (text-clone--maintain): Rename from text-clone-maintain. Use it
7521 instead of inhibit-modification-hooks.
7523 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7524 a proxy, so as handle autoloads and redefinitions of the target.
7525 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7527 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7528 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7529 (pcase--mutually-exclusive-p): New function.
7530 (pcase--split-consp): Use it.
7531 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7532 mutually exclusive with the current predicate.
7534 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7535 (edebug-macrop): Remove. Use `macrop' instead.
7536 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7538 * eshell/esh-cmd.el (eshell-macrop):
7539 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7541 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7543 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7544 (advice-mapc): New function, using it.
7545 (advice-function-member-p): New function.
7546 (advice--normalize): Store the cdr in advice--saved-rewrite since
7547 that's the part that will be changed.
7548 (advice--symbol-function): New function.
7549 (advice-remove): Handle removal before the function is defined.
7550 Adjust to new advice--saved-rewrite.
7551 (advice-member-p): Use advice-function-member-p and
7552 advice--symbol-function.
7554 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7556 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7557 (frameset-filter-minibuffer): Doc fix.
7558 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7559 (frameset--set-id, frameset--process-minibuffer-frames)
7560 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7561 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7563 * desktop.el (desktop-clear): Only delete frames when called
7564 interactively and desktop-restore-frames is non-nil. Doc fix.
7565 (desktop-read): Set desktop-saved-frameset to nil.
7567 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7569 * vc/vc.el (vc-ignore): Rewrite.
7570 (vc-default-ignore-completion-table):
7572 (vc--add-line, vc--remove-regexp): New functions.
7574 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7575 (vc-svn-ignore-completion-table): New function.
7577 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7578 (vc-hg-ignore-completion-table):
7579 (vc-hg-find-ignore-file): New functions.
7581 * vc/vc-git.el (vc-git-ignore): Rewrite.
7582 (vc-git-ignore-completion-table):
7583 (vc-git-find-ignore-file): New functions.
7585 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7587 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7588 (vc-bzr-ignore-completion-table):
7589 (vc-bzr-find-ignore-file): New functions.
7591 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7593 * frameset.el (frameset-prop): New function and setter.
7594 (frameset-save): Do not modify frame list passed by the caller.
7596 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7598 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7600 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7602 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7603 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7605 * custom.el (custom-initialize-default, custom-initialize-set)
7606 (custom-initialize-reset, custom-initialize-changed): Affect the
7607 toplevel-default-value (bug#6275, bug#14586).
7608 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7611 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7613 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7614 Add cl-def* expressions.
7616 * frameset.el (frameset-filter-params): Fix order of arguments.
7618 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7620 Move code related to saving frames to frameset.el.
7621 * desktop.el: Require frameset.
7622 (desktop-restore-frames): Doc fix.
7623 (desktop-restore-reuses-frames): Rename from
7624 desktop-restoring-reuses-frames.
7625 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7626 (desktop-clear): Clear frames too.
7627 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7628 (desktop--filter-tty*, desktop-save, desktop-read):
7629 Use frameset functions.
7630 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7631 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7632 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7633 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7634 (desktop--process-minibuffer-frames, desktop-save-frames)
7635 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7636 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7637 (desktop--sort-states, desktop-restoring-frames-p)
7638 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7639 (desktop-restoring-frameset-p, desktop-restore-frameset)
7640 (desktop--check-dont-save, desktop-save-frameset): New functions.
7641 (desktop--app-id): New constant.
7642 (desktop-first-buffer, desktop-buffer-ok-count)
7643 (desktop-buffer-fail-count): Move before first use.
7644 * frameset.el: New file.
7646 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7648 * files.el: Use lexical-binding.
7649 (dir-locals-read-from-file): Remove unused `err' variable.
7650 (hack-dir-local-variables--warned-coding): New var.
7651 (hack-dir-local-variables): Use it to avoid repeated warnings.
7652 (make-backup-file-name--default-function): New function.
7653 (make-backup-file-name-function): Use it as default.
7654 (buffer-stale--default-function): New function.
7655 (buffer-stale-function): Use it as default.
7656 (revert-buffer-insert-file-contents--default-function): New function.
7657 (revert-buffer-insert-file-contents-function): Use it as default.
7658 (insert-directory): Avoid add-to-list.
7660 * autorevert.el (auto-revert-handler): Simplify.
7661 Use buffer-stale--default-function.
7663 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7665 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7667 * whitespace.el (whitespace-ensure-local-variables): New function.
7668 (whitespace-cleanup-region): Call it.
7669 (whitespace-turn-on): Call it.
7671 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7673 Complete file name handlers.
7675 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7676 (tramp-handle-verify-visited-file-modtime)
7677 (tramp-handle-file-notify-rm-watch): New functions.
7678 (tramp-call-process): Do not bind `default-directory'.
7680 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7681 Order alphabetically.
7682 [access-file, add-name-to-file, dired-call-process]:
7683 [dired-compress-file, file-acl, file-notify-rm-watch]:
7684 [file-ownership-preserved-p, file-selinux-context]:
7685 [make-directory-internal, make-symbolic-link, set-file-acl]:
7686 [set-file-selinux-context, set-visited-file-modtime]:
7687 [verify-visited-file-modtime]: Add handler.
7688 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7690 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7691 [file-notify-add-watch, file-notify-rm-watch]:
7692 [set-file-times, set-visited-file-modtime]:
7693 [verify-visited-file-modtime]: Add handler.
7694 (with-tramp-gvfs-error-message)
7695 (tramp-gvfs-handle-set-visited-file-modtime)
7696 (tramp-gvfs-fuse-file-name): Remove.
7697 (tramp-gvfs-handle-file-notify-add-watch)
7698 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7699 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7701 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7702 Order alphabetically.
7703 [file-notify-rm-watch ]: Use default Tramp handler.
7704 [executable-find]: Remove private handler.
7705 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7706 `default-directory'.
7707 (tramp-sh-handle-executable-find)
7708 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7709 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7710 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7711 Do not use `format' in `tramp-message'.
7713 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7714 [file-notify-rm-watch, set-visited-file-modtime]:
7715 [verify-visited-file-modtime]: Add handler.
7716 (tramp-smb-call-winexe): Do not bind `default-directory'.
7718 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7720 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7722 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7724 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7726 (log-view-diff-changeset): Same.
7727 (log-view-diff-common): Call backend command `previous-revision'
7728 to find out the previous revision, in both cases. Swap the
7729 variables `to' and `fr', so that `fr' usually refers to the
7730 earlier revision (Bug#14989).
7732 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7734 * ibuf-ext.el (ibuffer-filter-by-filename):
7735 Make it work with dired buffers too.
7737 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7739 * emacs-lisp/re-builder.el (reb-color-display-p):
7740 * files.el (save-buffers-kill-terminal):
7741 * net/browse-url.el (browse-url):
7742 * server.el (server-save-buffers-kill-terminal):
7743 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7744 Prefer nil to selected-frame for the first arg of frame-parameter.
7746 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7748 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7750 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7752 * minibuffer.el (completion--twq-all): Try and preserve each
7753 completion's case choice (bug#14907).
7755 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7757 * net/network-stream.el (open-network-stream): Mention the new
7758 :nogreeting parameter.
7759 (network-stream-open-starttls): Use the :nogreeting parameter
7762 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7764 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7765 more natural than popping.
7767 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7768 (shr-urlify): Highlight under mouse.
7770 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7772 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7774 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7776 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7779 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7780 point-min==1. Fix search string. Fix parentheses missing.
7782 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7783 assume point-min==1. Fix search string. Fix parentheses missing.
7785 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7787 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7790 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7792 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7793 initial frame is minibuffer-less. (Bug#14841)
7795 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7797 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7800 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7801 (tramp-maybe-open-connection): Use it.
7803 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7805 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7806 minimal set of parameters passed when creating a frame, because
7807 the minibuffer status of a frame cannot be changed later.
7809 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7811 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7812 replace-regexp-in-string and inadvertent omissions in previous change.
7813 (todo-filter-items): Ensure only file names are comma-separated in
7814 name of filtered items buffer.
7816 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7818 * desktop.el: Optionally force offscreen frames back onscreen.
7819 (desktop-restoring-reuses-frames): New option.
7820 (desktop--compute-pos, desktop--move-onscreen): New functions.
7821 (desktop--make-frame): Use desktop--move-onscreen.
7823 2013-07-27 Alan Mackenzie <acm@muc.de>
7825 Fontify a Java generic method as a function.
7826 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7829 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7831 * calendar/todo-mode.el: Add command to rename todo files.
7832 (todo-rename-file): New command.
7833 (todo-key-bindings-t): Add key binding for it. Change the
7834 bindings of todo-filter-regexp-items(-multifile) to use `x'
7835 instead of `r', since the latter is better suited to the new
7838 2013-07-27 Alan Mackenzie <acm@muc.de>
7840 Make Java try-with-resources statement parse properly.
7841 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7842 (c-block-stmt-1-2-key): New language constants/variables.
7843 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7844 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7845 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7846 with c-block-stmt-1-2-key.
7848 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7850 * desktop.el (desktop--make-frame): Apply most frame parameters after
7851 creating the frame to force (partially or totally) offscreen frames to
7852 be restored as such.
7854 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7856 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7859 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7861 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7862 `base' arg of backtrace-frame.
7864 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7866 * simple.el (list-processes): Doc fix.
7868 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7870 * desktop.el (desktop--select-frame):
7871 Try harder to reuse existing frames.
7873 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7875 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7876 (edebug-eval): Use backtrace-eval.
7877 (edebug--display, edebug--recursive-edit): Don't let-bind the
7878 edebug-outer-* vars that keep track of variables we locally let-bind.
7879 (edebug-outside-excursion): Don't restore outside values of locally
7881 (edebug--display): Use user-error.
7882 (cl-lexical-debug, cl-debug-env): Remove.
7884 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7886 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7887 are restored to be sure that they are visible before deleting any
7890 2013-07-26 Matthias Meulien <orontee@gmail.com>
7892 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7893 vc-print-root-log. (Bug#14948)
7895 2013-07-26 Richard Stallman <rms@gnu.org>
7897 Add aliases for encrypting mail.
7898 * epa.el (epa-mail-aliases): New option.
7899 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7900 Bind inhibit-read-only so read-only text doesn't ruin everything.
7901 (epa-mail-default-recipients): New subroutine broken out.
7902 Handle epa-mail-aliases.
7904 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7906 Add support for lexical variables to the debugger's `e' command.
7907 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7908 vars, except for debugger-outer-match-data.
7909 (debugger-frame-number): Move check for "on a function call" from
7910 callers into it. Add `skip-base' argument.
7911 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7912 (debugger-env-macro): Only reset the state stored in non-variables,
7913 i.e. current-buffer and match-data.
7914 (debugger-eval-expression): Rewrite using backtrace-eval.
7915 * subr.el (internal--called-interactively-p--get-frame): Remove.
7916 (called-interactively-p):
7917 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7918 `base' arg of backtrace-frame instead.
7920 2013-07-26 Glenn Morris <rgm@gnu.org>
7922 * align.el (align-regexp): Doc fix. (Bug#14857)
7923 (align-region): Explicit error if subexpression missing/does not match.
7925 * simple.el (global-visual-line-mode):
7926 Do not duplicate the mode lighter. (Bug#14858)
7928 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7930 * window.el (display-buffer): In display-buffer bind
7931 split-window-keep-point to t, bug#14829.
7933 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7935 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7936 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7937 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7938 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7940 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7941 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7943 2013-07-25 Glenn Morris <rgm@gnu.org>
7945 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7947 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7949 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7950 parameter to modify-frame-parameters if the value has not changed;
7951 this is a workaround for bug#14949.
7952 (desktop--make-frame): On cl-delete-if call, check parameter name,
7955 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7957 * vc/vc.el (vc-ignore): New function.
7959 * vc/vc-svn.el (vc-svn-ignore): New function.
7961 * vc/vc-hg.el (vc-hg-ignore): New function.
7963 * vc/vc-git.el (vc-git-ignore): New function.
7965 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7966 (vc-dir-ignore): New function.
7968 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7969 (cvs-append-to-ignore): Move here from pcvs.el.
7971 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7973 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7975 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7977 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7978 (desktop-restore-frames): Warn when deleting an existing frame failed.
7980 2013-07-24 Glenn Morris <rgm@gnu.org>
7982 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7984 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7986 * filenotify.el (file-notify-supported-p):
7987 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7990 * autorevert.el (auto-revert-use-notify):
7991 (auto-revert-notify-add-watch):
7992 * net/tramp.el (tramp-file-name-for-operation):
7993 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7994 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7995 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7996 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7997 Remove `file-notify-supported-p' entry.
7999 2013-07-24 Glenn Morris <rgm@gnu.org>
8001 * printing.el: Replace all uses of deleted ps-windows-system,
8002 ps-lp-system, ps-flatten-list with lpr- versions.
8004 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8006 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8007 checked with memq (bug#14935).
8009 * files.el (revert-buffer-function): Use a non-nil default.
8010 (revert-buffer-preserve-modes): Declare var to
8011 provide access to the `preserve-modes' argument.
8012 (revert-buffer): Let-bind it.
8013 (revert-buffer--default): New function, extracted from revert-buffer.
8015 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8017 * lpr.el: Signal print errors more prominently.
8018 (print-region-function): Don't default to nil.
8019 (lpr-print-region): New function, extracted from print-region-1.
8020 Check lpr's return value and signal an error in case of problem.
8021 (print-region-1): Use it.
8022 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8024 (ps-printer-name): Default to nil.
8025 (ps-printer-name-option): Default to lpr-printer-switch.
8026 (ps-print-region-function): Don't default to nil.
8027 (ps-postscript-code-directory): Simplify default.
8028 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8029 (ps-string-list, ps-eval-switch, ps-flatten-list)
8030 (ps-flatten-list-1): Remove.
8031 (ps-multibyte-buffer): Avoid setq.
8032 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8033 (print-region-function, ps-print-region-function): Don't set them here.
8035 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8037 * ido.el (ido-fractionp):
8038 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8039 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8040 (ido-max-directory-size, ido-max-dir-file-cache)
8041 (ido-decorations): Doc fix.
8043 * ansi-color.el: Fix old URL.
8045 2013-07-23 Michael R. Mauger <michael@mauger.com>
8047 * progmodes/sql.el: Version 3.3
8048 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8049 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8050 (sql-interactive-remove-continuation-prompt): Rewrite, use
8051 functions above. Fix continuation prompt and complete output line
8053 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8054 redirected output buffer.
8055 (sql-mode): Restore deleted code (Bug#13591).
8057 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8059 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8061 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8063 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8065 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8066 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8067 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8069 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8071 * desktop.el (desktop-clear): Simplify; remove useless checks
8072 against invalid buffer names.
8073 (desktop-list*): Use cl-list*.
8074 (desktop-buffer-info, desktop-create-buffer): Simplify.
8076 2013-07-23 Leo Liu <sdl.web@gmail.com>
8078 * bookmark.el (bookmark-make-record): Restore NAME as a default
8081 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8083 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8084 extracted from autoload--insert-text.
8085 (autoload--insert-text): Remove.
8086 (autoload--print-cookie-text): New function, extracted from
8087 autoload--insert-cookie-text.
8088 (autoload--insert-cookie-text): Remove.
8089 (autoload-generate-file-autoloads): Adjust calls accordingly.
8091 * winner.el (winner-hook-installed-p): Remove.
8092 (winner-mode): Simplify accordingly.
8094 * subr.el (add-to-list): Fix compiler-macro when `append' is
8095 not constant. Don't use `cl-member' for the base case.
8097 * progmodes/subword.el: Fix boundary case (bug#13758).
8098 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8100 (subword-backward-regexp): Make it a constant.
8101 (subword-forward-internal): Don't treat a trailing capital as the
8102 beginning of a word.
8104 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8106 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8107 global value of tabulated-list-revert-hook (bug#14930).
8109 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8111 * desktop.el: Require 'cl-lib.
8112 (desktop-before-saving-frames-functions): New hook.
8113 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8114 for frames being saved. Rename from desktop--save-minibuffer-frames.
8115 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8116 Do not save frames with non-nil `desktop-dont-save' parameter.
8117 Filter out deleted frames.
8118 (desktop--find-frame): Use cl-find-if.
8119 (desktop--select-frame): Use cl-(first|second|third) to access values
8121 (desktop--make-frame): Use cl-delete-if.
8122 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8123 (desktop-restore-frames): Use cl-(first|second|third) to access values
8124 of desktop-mini. Look for visible frame at the end, not while
8127 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8128 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8129 Use string-match-p, looking-at-p (bug#14927).
8131 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8133 * desktop.el (desktop-saved-frame-states):
8134 Rename from desktop--saved-states; all users changed.
8135 (desktop-save-frames): Rename from desktop--save-frames.
8136 Do not save state to desktop file.
8137 (desktop-save): Save desktop-saved-frame-states to desktop file
8139 (desktop-restoring-frames-p): New function.
8140 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8141 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8142 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8144 * desktop.el: Correctly restore iconified frames.
8145 (desktop--filter-iconified-position): New function.
8146 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8148 2013-07-20 Glenn Morris <rgm@gnu.org>
8150 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8151 Let `message' do the formatting.
8152 (def-gdb-preempt-display-buffer): Add explicit format.
8154 * image-dired.el (image-dired-track-original-file):
8155 Use with-current-buffer.
8156 (image-dired-track-thumbnail): Use with-current-buffer.
8157 Avoid changing point of wrong window.
8159 * image-dired.el (image-dired-track-original-file):
8160 Avoid changing point of wrong window. (Bug#14909)
8162 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8164 * progmodes/gdb-mi.el (gdb-done-or-error):
8165 Guard against "%" in gdb output. (Bug#14127)
8167 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8169 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8172 * international/mule.el (coding-system-iso-2022-flags): Fix last
8175 2013-07-20 Kenichi Handa <handa@gnu.org>
8177 * international/mule.el (coding-system-iso-2022-flags):
8178 Add `8-bit-level-4'. (Bug#8522)
8180 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8182 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8185 * net/eww.el (eww-process-text-input): Allow inputting when the
8186 point is at the start of the line, as the properties aren't
8189 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8192 2013-07-19 Richard Stallman <rms@gnu.org>
8194 * epa.el (epa-popup-info-window): Doc fix.
8196 * subr.el (split-string): New arg TRIM.
8198 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8200 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8201 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8203 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8205 * filenotify.el (file-notify--library): Rename from
8206 `file-notify-support'. Do not autoload. Adapt all uses.
8207 (file-notify-supported-p): New defun.
8209 * autorevert.el (auto-revert-use-notify):
8210 Use `file-notify-supported-p' instead of `file-notify-support'.
8212 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8214 * net/tramp.el (tramp-file-name-for-operation):
8215 Add `file-notify-supported-p'.
8217 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8219 (tramp-sh-file-name-handler-alist): Add it as handler for
8220 `file-notify-supported-p '.
8222 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8223 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8224 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8225 Add `ignore' as handler for `file-notify-*' functions.
8227 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8229 * simple.el (line-move-partial, line-move): Don't start vscroll or
8230 scroll-up if the current line is not taller than the window.
8233 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8235 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8236 highlight question marks in the method names as strings.
8237 (ruby-block-beg-keywords): Inline.
8238 (ruby-font-lock-keyword-beg-re): Extract from
8239 `ruby-font-lock-keywords'.
8241 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8243 * frame.el (blink-cursor-blinks): New defcustom.
8244 (blink-cursor-blinks-done): New defvar.
8245 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8246 (blink-cursor-timer-function): Check if number of blinks has been
8248 (blink-cursor-suspend, blink-cursor-check): New defuns.
8250 2013-07-15 Glenn Morris <rgm@gnu.org>
8252 * edmacro.el (edmacro-format-keys): Fix previous change.
8254 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8256 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8257 The hack didn't work outside English locales anyway.
8259 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8261 * simple.el (define-alternatives): Rename from alternatives-define,
8262 per RMS' suggestion.
8264 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8266 * desktop.el (desktop-restore-frames): Change default to t.
8267 (desktop-restore-in-current-display): Now offer more options.
8268 (desktop-restoring-reuses-frames): New customization option.
8269 (desktop--saved-states): Doc fix.
8270 (desktop-filter-parameters-alist): New variable, renamed and expanded
8271 from desktop--excluded-frame-parameters.
8272 (desktop--target-display): New variable.
8273 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8274 (desktop--filter-tty*, desktop--filter-*-color)
8275 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8276 (desktop--filter-save-desktop-parm)
8277 (desktop-restore-in-original-display-p): New functions.
8278 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8279 (desktop--save-minibuffer-frames): New function, inspired by a similar
8280 function from Martin Rudalics.
8281 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8282 (desktop--restore-in-this-display-p): Remove.
8283 (desktop--find-frame): Rename from desktop--find-frame-in-display
8284 and add predicate argument.
8285 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8286 (desktop--reuse-list): New variable.
8287 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8289 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8291 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8293 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8295 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8297 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8298 Highlight conversion methods on Kernel.
8300 2013-07-13 Alan Mackenzie <acm@muc.de>
8302 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8303 and comment it out. This out-commenting enables certain C++
8304 declarations to be parsed correctly.
8306 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8308 * international/mule.el (define-coding-system): Doc fix.
8310 * simple.el (default-font-height): Don't call font-info if the
8311 frame's default font didn't change since the frame was created.
8314 2013-07-13 Leo Liu <sdl.web@gmail.com>
8316 * ido.el (ido-read-file-name): Guard against non-symbol value.
8318 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8320 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8323 2013-07-13 Leo Liu <sdl.web@gmail.com>
8325 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8326 ido-set-matches call. (Bug#6852)
8328 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8330 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8331 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8333 (ruby-font-lock-keywords): Distinguish calls to functions with
8334 module-like names from module references. Highlight character
8337 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8339 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8340 (gdb-send): Handle continued commands. (Bug#14847)
8342 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8344 * desktop.el (desktop--v2s): Remove unused local variable.
8345 (desktop-save-buffer): Make defvar-local; adjust docstring.
8346 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8347 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8349 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8351 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8353 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8355 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8358 2013-07-12 Glenn Morris <rgm@gnu.org>
8360 * doc-view.el: Require cl-lib at runtime too.
8361 (doc-view-remove-if): Remove.
8362 (doc-view-search-next-match, doc-view-search-previous-match):
8365 * edmacro.el: Require cl-lib at runtime too.
8366 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8367 (edmacro-mismatch, edmacro-subseq): Remove.
8369 * shadowfile.el: Require cl-lib.
8370 (shadow-remove-if): Remove.
8371 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8374 * wid-edit.el: Require cl-lib.
8375 (widget-choose): Use cl-remove-if.
8376 (widget-remove-if): Remove.
8378 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8379 (ebrowse-delete-if-not): Remove.
8380 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8381 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8382 Use cl-delete-if-not.
8384 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8386 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8387 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8389 2013-07-12 Leo Liu <sdl.web@gmail.com>
8391 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8393 2013-07-11 Glenn Morris <rgm@gnu.org>
8395 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8396 (edebug-gensym-index, edebug-gensym):
8397 Remove reimplementation of cl-gensym.
8398 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8400 * thumbs.el: Require cl-lib at run-time too.
8401 (thumbs-gensym-counter, thumbs-gensym):
8402 Remove reimplementation of cl-gensym.
8403 (thumbs-temp-file): Use cl-gensym.
8405 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8406 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8407 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8408 (ert--union, ert--gensym-counter, ert--gensym-counter)
8409 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8410 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8411 (ert-make-test-unbound, ert--expand-should-1)
8412 (ert--expand-should, ert--should-error-handle-error)
8413 (should-error, ert--explain-equal-rec)
8414 (ert--plist-difference-explanation, ert-select-tests)
8415 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8416 Use cl-lib functions rather than reimplementations.
8418 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8420 * net/tramp.el (tramp-methods): Extend docstring.
8421 (tramp-connection-timeout): New defcustom.
8422 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8423 (with-tramp-progress-reporter): Simplify.
8424 (tramp-process-actions): Improve messages.
8426 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8427 * net/tramp-sh.el (tramp-maybe-open-connection):
8428 Use `tramp-connection-timeout'.
8429 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8432 2013-07-11 Leo Liu <sdl.web@gmail.com>
8434 * ido.el (ido-read-file-name): Conform to the requirements of
8435 read-file-name. (Bug#11861)
8436 (ido-read-directory-name): Conform to the requirements of
8437 read-directory-name.
8439 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8441 * subr.el (delay-warning): New function.
8443 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8445 * simple.el (default-line-height): New function.
8446 (line-move-partial, line-move): Use it instead of computing the
8448 (line-move-partial): Always compute ROWH. If the last line is
8449 partially-visible, but its text is completely visible, allow
8450 cursor to enter such a partially-visible line.
8452 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8454 Improve error messages. (Bug#14808)
8456 * net/tramp.el (tramp-current-connection): New defvar, moved from
8458 (tramp-message-show-progress-reporter-message): Remove, not
8460 (tramp-error-with-buffer): Show message in minibuffer.
8461 Discard input before waiting. Reset connection timestamp.
8462 (with-tramp-progress-reporter): Improve messages.
8463 (tramp-process-actions): Use progress reporter. Delete process in
8464 case of error. Improve messages.
8466 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8467 Call `tramp-error-with-buffer' with vector and buffer.
8468 (tramp-current-connection): Remove.
8469 (tramp-maybe-open-connection): The car of
8470 `tramp-current-connection' are the first 3 slots of the vector.
8472 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8474 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8475 inside continued strings.
8477 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8479 Timestamp fixes for undo (Bug#14824).
8480 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8482 2013-07-10 Leo Liu <sdl.web@gmail.com>
8484 * files.el (require-final-newline): Allow safe local value.
8487 2013-07-09 Leo Liu <sdl.web@gmail.com>
8489 * ido.el (ido-read-directory-name): Handle fallback.
8490 (ido-read-file-name): Update DIR to ido-current-directory.
8492 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8494 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8496 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8497 "autoload". Remove "warn lower camel case" section, previously
8498 commented out. Highlight negation char. Do not highlight the
8499 target in singleton method definitions.
8501 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8503 * faces.el (tty-setup-hook): Declare the hook.
8505 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8506 and detect when a guard/pred depends on local vars (bug#14773).
8507 (pcase--u1): Adjust caller.
8509 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8511 * simple.el (line-move-partial, line-move): Account for
8513 (line-move-partial): Avoid setting vscroll when the last
8514 partially-visible line in window is of default height.
8516 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8518 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8521 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8523 * subr.el (read-quoted-char): Remove unused local variable `char'.
8525 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8527 * ediff.el (ediff-version): Version update.
8528 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8529 (ediff-merge-with-ancestor-command, ediff-directories-command)
8530 (ediff-directories3-command, ediff-merge-directories-command)
8531 (ediff-merge-directories-with-ancestor-command): New functions.
8532 All are command-line interfaces to ediff: to facilitate calling
8533 Emacs with the appropriate ediff functions invoked.
8535 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8536 (viper-save-kill-buffer): Check if buffer is modified.
8538 * viper.el (viper-version): Version update.
8539 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8541 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8543 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8544 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8545 (viper-intercept-ESC-key): Simplify.
8546 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8547 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8548 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8549 (viper-setup-ESC-to-escape): New functions.
8550 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8551 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8553 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8555 * simple.el (default-font-height, window-screen-lines):
8557 (line-move, line-move-partial): Use them instead of
8558 frame-char-height and window-text-height. This makes scrolling
8559 text smoother when the buffer's default face uses a font that is
8560 different from the frame's default font.
8562 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8564 * files.el (write-file): Do not display confirm dialog for NS,
8565 it does its own dialog, which can't be canceled (Bug#14578).
8567 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8569 * simple.el (line-move-partial): Adjust the row returned by
8570 posn-at-point for the current window-vscroll. (Bug#14567)
8572 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8574 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8575 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8578 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8580 * window.el (window-state-put-stale-windows): New variable.
8581 (window--state-put-2): Save list of windows without matching buffer.
8582 (window-state-put): Remove "bufferless" windows if possible.
8584 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8586 * simple.el (alternatives-define): Remove leftover :group keyword.
8589 2013-07-06 Leo Liu <sdl.web@gmail.com>
8591 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8592 (ido-enable-virtual-buffers): New variable.
8593 (ido-buffer-internal, ido-toggle-virtual-buffers)
8594 (ido-make-buffer-list): Use it.
8595 (ido-exhibit): Support turning on and off virtual buffers
8598 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8600 * simple.el (alternatives-define): New macro.
8602 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8604 * subr.el (read-quoted-char): Use read-key.
8605 (sit-for): Let read-event decode tty input (bug#14782).
8607 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8609 * calendar/todo-mode.el: Add handling of file deletion, both by
8610 mode command and externally. Fix various related bugs.
8611 Clarify Commentary and improve some documentation strings and code.
8612 (todo-delete-file): New command.
8613 (todo-check-file): New function.
8614 (todo-show): Handle external deletion of the file we're trying to
8615 show (bug#14688). Replace called-interactively-p by an optional
8616 prefix argument to avoid problematic interaction with catch form
8617 when byte compiled (bug#14702).
8618 (todo-quit): Handle external deletion of the archive's todo file.
8619 Make sure the buffer that was visiting the archive file is still
8620 live before trying to bury it.
8621 (todo-category-completions): Handle external deletion of any
8622 category completion files.
8623 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8624 of todo files, in case of external deletion.
8625 (todo-add-file): Replace unnecessary setq by let-binding.
8626 (todo-find-archive): Check whether there are any archives.
8627 Replace unnecessary setq by let-binding.
8628 (todo-archive-done-item): Use find-file-noselect to get the
8629 archive buffer whether or not the archive already exists.
8630 Remove superfluous code. Use file size instead of buffer-file-name to
8631 check if the archive is new; if it is, update list of archives.
8632 (todo-default-todo-file): Allow nil to be a valid value for when
8633 there are no todo files.
8634 (todo-reevaluate-default-file-defcustom): Use corrected definition
8635 of todo-default-todo-file.
8636 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8637 (todo-delete-category, todo-show-categories-table)
8638 (todo-category-number): Clarify comment.
8639 (todo-filter-items): Clarify documentation string.
8640 (todo-show-current-file, todo-display-as-todo-file)
8641 (todo-reset-and-enable-done-separator): Tweak documentation string.
8642 (todo-done-separator): Make separator length window-width, since
8643 bug#2749 is now fixed.
8645 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8647 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8648 Support both "gvfs-monitor-dir" and "inotifywait".
8649 (tramp-sh-file-inotifywait-process-filter): Rename from
8650 `tramp-sh-file-notify-process-filter'.
8651 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8652 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8654 2013-07-05 Leo Liu <sdl.web@gmail.com>
8656 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8658 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8660 * frame.el (display-pixel-height, display-pixel-width)
8661 (display-mm-height, display-mm-width): Mention behavior on
8662 multi-monitor setups in docstrings.
8663 (w32-display-monitor-attributes-list): Declare function.
8664 (display-monitor-attributes-list): Use it.
8666 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8668 * filenotify.el: New package.
8670 * autorevert.el (top): Require filenotify.el.
8671 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8673 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8674 (auto-revert-notify-handler): Use `file-notify-*' functions.
8676 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8678 * net/tramp.el (tramp-file-name-for-operation):
8679 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8681 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8682 for `file-notify-add-watch' and `file-notify-rm-watch'.
8683 (tramp-process-sentinel): Improve trace.
8684 (tramp-sh-handle-file-notify-add-watch)
8685 (tramp-sh-file-notify-process-filter)
8686 (tramp-sh-handle-file-notify-rm-watch)
8687 (tramp-get-remote-inotifywait): New defuns.
8689 2013-07-03 Juri Linkov <juri@jurta.org>
8691 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8692 call of `occur-read-primary-args' to interactive spec.
8694 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8695 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8697 2013-07-03 Matthias Meulien <orontee@gmail.com>
8699 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8700 `Buffer-menu-multi-occur'. Add it to the menu.
8701 (Buffer-menu-mode): Document it in docstring.
8702 (Buffer-menu-multi-occur): New command. (Bug#14673)
8704 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8706 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8707 keywords and built-ins.
8709 2013-07-03 Glenn Morris <rgm@gnu.org>
8711 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8713 Make info-xref checks case-sensitive by default
8714 * info.el (Info-find-node, Info-find-in-tag-table)
8715 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8716 Add option for exact case matching of nodes.
8717 * info-xref.el (info-xref): New custom group.
8718 (info-xref-case-fold): New option.
8719 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8721 2013-07-03 Leo Liu <sdl.web@gmail.com>
8723 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8725 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8727 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8728 middle of block statement initially, lower the depth. Remove
8729 FIXME comment, not longer valid. Remove middle of block statement
8730 detection, no need to do that anymore since we've been using
8731 `ruby-parse-region' here.
8733 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8735 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8737 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8739 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8741 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8743 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8744 (desktop-restore-in-current-display): New customization option.
8745 (desktop--excluded-frame-parameters): Add `font'.
8746 (desktop--save-frames): Rename from desktop--save-windows.
8747 (desktop--restore-in-this-display-p): New function.
8748 (desktop--make-full-frame): Remove unwanted width/height from
8749 full(width|height) frames.
8750 (desktop--restore-frames): Rename from desktop--restore-windows.
8751 Obey desktop-restore-current-display. Do not delete old frames or
8752 select a new frame unless we were able to restore at least one frame.
8754 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8756 * files.el (find-file-noselect): Simplify conditional expression.
8758 * textmodes/remember.el (remember-append-to-file):
8759 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8761 Add `remember-notes' function to store random notes across Emacs
8763 * textmodes/remember.el (remember-data-file): Add :set callback to
8764 affect notes buffer (if any).
8765 (remember-notes): New command.
8766 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8767 New defcustoms for the `remember-notes' function.
8768 (remember-notes-save-and-bury-buffer): New command.
8769 (remember-notes-mode-map): New variable.
8770 (remember-mode): New minor mode.
8771 (remember-notes--kill-buffer-query): New function.
8772 * startup.el (initial-buffer-choice): Add notes to custom type.
8774 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8776 * bindings.el (right-char, left-char): Don't call sit-for, this is
8777 no longer needed. Use arithmetic comparison only for numerical
8780 * international/mule-cmds.el (select-safe-coding-system):
8781 Handle the case of FROM being a string correctly. (Bug#14755)
8783 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8785 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8786 progression on degenerate tables.
8787 (shr-rescale-image): ImageMagick animated images currently don't work.
8789 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8791 Some fixes and improvements for desktop frame restoration.
8792 It is still experimental and disabled by default.
8793 * desktop.el (desktop--save-windows): Put the selected frame at
8794 the head of the list.
8795 (desktop--make-full-frame): New function.
8796 (desktop--restore-windows): Try to re-select the frame that was
8797 selected upon saving. Do not abort if some frames fail to restore,
8798 just show an error message and continue. Set up maximized frames
8799 so they have default non-maximized dimensions.
8801 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8803 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8804 Don't start heredoc inside a string or comment.
8806 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8808 * bindings.el (visual-order-cursor-movement): New defcustom.
8809 (right-char, left-char): Provide visual-order cursor motion by
8810 calling move-point-visually. Update the doc strings.
8812 2013-06-28 Kenichi Handa <handa@gnu.org>
8814 * international/mule.el (define-coding-system): New coding system
8815 properties :inhibit-null-byte-detection,
8816 :inhibit-iso-escape-detection, and :prefer-utf-8.
8817 (set-buffer-file-coding-system): If :charset-list property of
8818 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8819 appropriate for setting.
8821 * international/mule-cmds.el (select-safe-coding-system):
8822 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8823 multibyte characters, return utf-8 (or one of its siblings).
8825 * international/mule-conf.el (prefer-utf-8): New coding system.
8826 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8829 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8831 * net/shr.el (shr-render-region): New function.
8833 * net/eww.el: Autoload `eww-browse-url'.
8835 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8837 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8838 Adapt to `package-desc-version' being a list.
8839 Use `package--ac-desc-version' to retrieve version from a package
8842 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8844 New experimental feature to save&restore window and frame setup.
8845 * desktop.el (desktop-save-windows): New defcustom.
8846 (desktop--saved-states): New var.
8847 (desktop--excluded-frame-parameters): New defconst.
8848 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8849 (desktop--restore-windows, desktop--save-windows): New functions.
8850 (desktop-save): Call `desktop--save-windows'.
8851 (desktop-read): Call `desktop--restore-windows'.
8853 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8855 * net/shr.el (add-face-text-property): Remove compat definition.
8857 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8859 * info.el (Info-try-follow-nearest-node): Move search for footnote
8860 above search for node name to prevent missing a footnote (bug#14717).
8862 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8864 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8866 2013-06-27 Leo Liu <sdl.web@gmail.com>
8868 * net/eww.el (eww-read-bookmarks): Check file size.
8870 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8872 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8873 advice--pending if newdef is nil or an autoload (bug#13820).
8874 (advice-mapc): New function.
8876 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8878 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8880 (eww-mode-map): Add a menu bar.
8881 (eww-add-bookmark): New command.
8882 (eww-bookmark-mode): New mode and commands.
8883 (eww-add-bookmark): Remove newlines from the title.
8884 (eww-bookmark-browse): Don't bug out if it's the only window.
8886 2013-06-26 Glenn Morris <rgm@gnu.org>
8888 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8889 (hfy-size): Handle ttys. (Bug#14668)
8891 * info-xref.el: Update for Texinfo 5 change in *note format.
8892 (info-xref-node-re, info-xref-note-re): New constants.
8893 (info-xref-check-buffer): Use info-xref-note-re.
8895 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8897 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8899 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8900 nil terminate the loop (bug#14718).
8902 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8904 * net/eww.el: Rework history traversal. When going forward/back,
8905 put these actions into the history, too, so that they can be
8907 (eww-render): Move the history reset to the correct buffer.
8909 2013-06-25 Juri Linkov <juri@jurta.org>
8911 * files-x.el (modify-dir-local-variable): Change the header comment
8912 in the file with directory local variables. (Bug#14692)
8914 * files-x.el (read-file-local-variable-value): Add `default'.
8917 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8919 * net/eww.el (eww-make-unique-file-name): Create a unique file
8920 name before saving to entering `y' accidentally asynchronously.
8922 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8924 * net/eww.el (eww-download): New command and keystroke.
8926 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8928 * net/eww.el (eww-copy-page-url): Change name of command.
8930 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8931 be more consistent with Info and dired.
8933 * net/eww.el (eww-mode-map): Ditto.
8935 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8937 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8938 packages from archives.
8939 (package-archive-contents): Change format; include obsolete packages.
8940 (package-desc): Use `dir' to mark builtin packages.
8941 (package--from-builtin): Set the `dir' field to `builtin'.
8942 (generated-autoload-file, version-control): Declare.
8943 (package-compute-transaction): Change first arg and return value to be
8944 lists of package-descs. Adjust to new package-archive-contents format.
8945 (package--add-to-archive-contents): Adjust to new
8946 package-archive-contents format.
8947 (package-download-transaction): Arg is now a list of package-descs.
8948 (package-install): If `pkg' is a package name, pass it as
8949 a requirement, so it is subject to the usual (e.g. disabled) checks.
8950 (describe-package): Accept package-desc as well.
8951 (describe-package-1): Describe a specific package-desc. Add links to
8952 other package-descs for the same package name.
8953 (package-menu-describe-package): Pass the actual package-desc.
8954 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8956 (package-desc-status): New function.
8957 (package-menu--refresh): New function, extracted
8958 from package-menu--generate.
8959 (package-menu--generate): Use it.
8960 (package-delete): Update package-alist.
8961 (package-menu-execute): Don't call package-initialize.
8963 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8964 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8965 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8966 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8967 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8968 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8970 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8972 * window.el (window--state-get-1): Workaround for bug#14527.
8973 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8975 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8977 * net/eww.el (eww-back-url): Implement the history by stashing all
8978 the data into a list.
8979 (eww-forward-url): Allow going forward in the history, too.
8981 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8983 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8984 for values and use read--expression for expressions (bug#14710).
8985 (read-file-local-variable): Avoid setq.
8986 (read-file-local-variable-mode): Use minor-mode-list.
8988 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8990 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8993 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8995 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8996 Update imenu-support when dialect changes.
8998 2013-06-25 Leo Liu <sdl.web@gmail.com>
9000 * ido.el (ido-read-internal): Allow forward slash on windows.
9002 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9004 * net/eww.el (eww): Start of strings is \\`, not ^.
9006 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9008 * net/shr.el (shr-browse-url): Fix interactive spec.
9010 * net/eww.el (eww): Add a trailing slash to domain names.
9012 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9014 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9016 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9018 * net/shr.el (shr-browse-url): Use an external browser if given a
9021 * net/eww.el (eww-external-browser): Move to shr.
9023 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9025 * net/eww.el (eww): Work more correctly for file: URLs.
9026 (eww-detect-charset): Allow quoted charsets.
9027 (eww-yank-page-url): New command and keystroke.
9029 2013-06-24 Daiki Ueno <ueno@gnu.org>
9031 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9032 file name of gpg executable.
9033 (epg-context-program): New function.
9034 (epg-context-home-directory): New function.
9035 (epg-context-set-program): New function.
9036 (epg-context-set-home-directory): New function.
9037 (epg--start): Use `epg-context-program' instead of
9039 (epg--list-keys-1): Likewise.
9041 2013-06-24 Leo Liu <sdl.web@gmail.com>
9043 * ido.el (ido-read-internal): Fix bug#14620.
9045 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9047 * faces.el (face-documentation): Simplify.
9048 (read-face-attribute, tty-find-type, x-resolve-font-name):
9049 Use `string-match-p'.
9050 (list-faces-display): Use `string-match-p'. Simplify.
9051 (face-spec-recalc): Check face to avoid face alias loops.
9052 (read-color): Use `string-match-p' and non-capturing parenthesis.
9054 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9056 * net/shr.el (shr-rescale-image): Use the new
9057 :max-width/:max-height functionality.
9059 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9061 * net/eww.el (eww-search-prefix): New variable.
9063 (eww-external-browser): New variable.
9064 (eww-mode-map): New keystroke.
9065 (eww-browse-with-external-browser): New command.
9067 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9069 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9071 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9072 Don't skip aligning the next header field when padding is 0;
9073 otherwise, field width is not respected unless the title is as
9076 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9078 * emacs-lisp/package.el (package-el-version): Remove.
9079 (package-process-define-package): Fix inf-loop.
9080 (package-install): Allow symbols as arguments again.
9082 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9084 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9085 add some more keyword-like methods.
9086 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9088 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9090 * bs.el (bs-buffer-show-mark): Make defvar-local.
9091 (bs-mode): Use setq-local.
9093 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9094 (emacs-lock--try-unlocking): Make defvar-local.
9096 2013-06-22 Glenn Morris <rgm@gnu.org>
9098 * play/cookie1.el (cookie-apropos): Minor simplification.
9100 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9102 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9104 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9105 `regexp-opt', it breaks the build during dumping.
9107 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9109 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9110 Highlight keyword-like methods on Kernel and Module with
9111 font-lock-builtin-face.
9112 (auto-mode-alist): Consolidate different entries into one regexp
9113 and add more *file-s.
9115 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9117 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9119 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9120 (diary-entry): Use it in the action of this button type instead of
9123 * calendar/todo-mode.el: New version.
9124 (todo-add-category): Append new category to end of file and give
9125 it the highest number, instead of putting it at the beginning and
9126 giving it 0. Incorporate noninteractive functionality.
9127 (todo-forward-category): Adapt to 1-based category numbering.
9128 Allow skipping over archived categories.
9129 (todo-backward-category): Derive from todo-forward-category.
9130 (todo-backward-item, todo-forward-item): Make noninteractive and
9131 delegate interactive part to new commands. Make sensitive to done items.
9132 (todo-categories): Make value an alist of category names and
9133 vectors of item counts.
9134 (todo-category-beg): Make a defconst.
9135 (todo-category-number): Use 1 instead of 0 as initial value.
9136 (todo-category-select): Make sensitive to overlays, optional item
9137 highlighting and done items.
9138 (todo-delete-item): Make sensitive to overlays and marked and done items.
9139 (todo-edit-item): Make sensitive to overlays and editing of
9140 date/time header optional. Add format checks.
9141 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9142 no-op if point is not on an item. Advertise using todo-edit-quit.
9143 (todo-edit-mode): Make sensitive to new format, font-locking, and
9144 multiple todo files.
9145 (todo-insert-item, todo-insert-item-here): Derive from
9146 todo-basic-insert-item and extend functionality.
9147 (todo-item-end, todo-item-start): Make sensitive to done items.
9148 (todo-item-string): Don't return text properties. Restore point.
9149 (todo-jump-to-category): Make sensitive to multiple todo files and
9150 todo archives. Use extended category completion.
9151 (todo-lower-item, todo-raise-item): Rename to *-priority and
9152 derive from todo-set-item-priority.
9153 (todo-mode): Derive from special-mode. Make sensitive to new
9154 format, font-locking and multiple todo files. Make read-only.
9155 (todo-mode-map): Don't suppress digit keys, so they can supply
9156 prefix arguments. Add many new key bindings.
9157 (todo-prefix): Insert as an overlay instead of file text.
9158 Change semantics from diary date expression to purely visual mark.
9159 (todo-print): Rename to todo-print-buffer. Make buffer display
9160 features printable. Remove option to restrict number of items
9161 printed. Add option to print to file.
9162 (todo-print-function): Rename to todo-print-buffer-function.
9163 (todo-quit): Extend to handle exiting new todo modes.
9164 (todo-remove-item): Make sensitive to overlays.
9165 (todo-save): Extend to buffers of filtered items.
9166 (todo-show): Make sensitive to done items, multiple todo files and
9167 new todo modes. Offer to convert legacy todo file before creating
9168 first new todo file.
9169 (todo-show-priorities): Rename to todo-top-priorities.
9170 Change semantics of value 0.
9171 (todo-top-priorities): Rename to todo-filter-top-priorities,
9172 derive from todo-filter-items and extend functionality.
9173 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9174 and extend functionality to other types of filtered items.
9175 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9176 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9177 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9178 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9179 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9180 (todo-edit-mode-hook, todo-entry-prefix-function)
9181 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9182 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9183 (todo-initials, todo-insert-threshold, todo-item-string-start)
9184 (todo-line-string, todo-menu, todo-mode-hook)
9185 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9186 (todo-print-priorities, todo-remove-separator)
9187 (todo-save-top-priorities-too, todo-string-count-lines)
9188 (todo-string-multiline-p, todo-time-string-format)
9189 (todo-tmp-buffer-name): Remove.
9190 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9191 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9192 (todo-edit-category-diary-inclusion)
9193 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9194 (todo-edit-file, todo-edit-item-date-day)
9195 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9196 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9197 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9198 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9199 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9200 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9201 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9202 (todo-filter-top-priorities-multifile, todo-find-archive)
9203 (todo-find-filtered-items-file, todo-go-to-source-item)
9204 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9205 (todo-jump-to-archive-category, todo-lower-category)
9206 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9207 (todo-move-category, todo-move-item, todo-next-button)
9208 (todo-next-item, todo-padded-string, todo-powerset)
9209 (todo-previous-button, todo-previous-item)
9210 (todo-print-buffer-to-file, todo-raise-category)
9211 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9212 (todo-set-category-number, todo-set-item-priority)
9213 (todo-set-top-priorities-in-category)
9214 (todo-set-top-priorities-in-file, todo-show-categories-table)
9215 (todo-sort-categories-alphabetically-or-numerically)
9216 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9217 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9218 (todo-toggle-item-header, todo-toggle-item-highlighting)
9219 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9220 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9221 (todo-unarchive-items, todo-unmark-category): New commands.
9222 (todo-absolute-file-name, todo-add-to-buffer-list)
9223 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9224 (todo-basic-insert-item, todo-category-completions)
9225 (todo-category-number, todo-category-string-matcher-1)
9226 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9227 (todo-check-format, todo-clear-matches)
9228 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9229 (todo-current-category, todo-date-string-matcher)
9230 (todo-define-insertion-command, todo-diary-expired-matcher)
9231 (todo-diary-goto-entry, todo-diary-item-p)
9232 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9233 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9234 (todo-done-item-section-p, todo-done-separator)
9235 (todo-done-string-matcher, todo-files, todo-filter-items)
9236 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9237 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9238 (todo-insert-category-line, todo-insert-item-from-calendar)
9239 (todo-insert-sort-button, todo-insert-with-overlays)
9240 (todo-insertion-command-name, todo-insertion-key-bindings)
9241 (todo-label-to-key, todo-longest-category-name-length)
9242 (todo-make-categories-list, todo-mode-external-set)
9243 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9244 (todo-modes-set-3, todo-multiple-filter-files)
9245 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9246 (todo-read-category, todo-read-date, todo-read-dayname)
9247 (todo-read-file-name, todo-read-time)
9248 (todo-reevaluate-category-completions-files-defcustom)
9249 (todo-reevaluate-default-file-defcustom)
9250 (todo-reevaluate-filelist-defcustoms)
9251 (todo-reevaluate-filter-files-defcustom)
9252 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9253 (todo-reset-done-separator, todo-reset-done-separator-string)
9254 (todo-reset-done-string, todo-reset-global-current-todo-file)
9255 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9256 (todo-reset-prefix, todo-set-categories)
9257 (todo-set-date-from-calendar, todo-set-show-current-file)
9258 (todo-set-top-priorities, todo-short-file-name)
9259 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9260 (todo-total-item-counts, todo-update-buffer-list)
9261 (todo-update-categories-display, todo-update-categories-sexp)
9262 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9264 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9266 (todo-categories, todo-display, todo-edit, todo-faces)
9267 (todo-filtered): New defgroups.
9268 (todo-archived-only, todo-button, todo-category-string, todo-date)
9269 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9270 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9271 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9272 (todo-add-item-if-new-category, todo-always-add-time-string)
9273 (todo-categories-align, todo-categories-archived-label)
9274 (todo-categories-category-label, todo-categories-diary-label)
9275 (todo-categories-done-label, todo-categories-number-separator)
9276 (todo-categories-todo-label, todo-categories-totals-label)
9277 (todo-category-completions-files, todo-completion-ignore-case)
9278 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9279 (todo-done-separator-string, todo-done-string)
9280 (todo-files-function, todo-filter-done-items, todo-filter-files)
9281 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9282 (todo-initial-category, todo-initial-file, todo-item-mark)
9283 (todo-legacy-date-time-regexp, todo-mode-line-function)
9284 (todo-nondiary-marker, todo-number-prefix)
9285 (todo-print-buffer-function, todo-show-current-file)
9286 (todo-show-done-only, todo-show-first, todo-show-with-done)
9287 (todo-skip-archived-categories, todo-top-priorities-overrides)
9288 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9289 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9291 (todo-category-done, todo-date-pattern, todo-date-string-start)
9292 (todo-diary-items-buffer, todo-done-string-start)
9293 (todo-filtered-items-buffer, todo-item-start)
9294 (todo-month-abbrev-array, todo-month-name-array)
9295 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9296 (todo-top-priorities-buffer): New defconsts.
9297 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9298 (todo-categories-with-marks, todo-category-string-face)
9299 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9300 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9301 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9302 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9303 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9304 (todo-font-lock-keywords, todo-global-current-todo-file)
9305 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9306 (todo-insertion-commands-args)
9307 (todo-insertion-commands-args-genlist)
9308 (todo-insertion-commands-names, todo-insertion-map)
9309 (todo-key-bindings-t, todo-key-bindings-t+a)
9310 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9311 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9312 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9313 (todo-visited): New variables.
9315 2013-06-21 Glenn Morris <rgm@gnu.org>
9317 * play/cookie1.el (cookie-apropos): Add optional display argument.
9318 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9319 (psychoanalyze-pinhead): Use cookie-doctor.
9321 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9323 * emacs-lisp/package.el (tar-get-file-descriptor)
9324 (tar--extract): Declare.
9326 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9328 Extend flymake's warning predicate to be a function (bug#14217).
9329 * progmodes/flymake.el (flymake-warning-predicate): New.
9330 (flymake-parse-line): Use it.
9331 (flymake-warning-re): Make obsolete alias to
9332 `flymake-warning-predicate'.
9334 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9336 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9337 (package-obsolete-list): Remove.
9338 (package-activate): Remove min-version argument. Add `force' argument.
9339 Adjust to new package-alist format.
9340 (package-mark-obsolete): Remove.
9341 (package-unpack): Force reload of the package's autoloads.
9342 (package-installed-p): Check builtins if the installed package is not
9344 (package-initialize): Don't reset package-obsolete-list.
9345 Don't specify which package version to activate.
9346 (package-process-define-package, describe-package-1)
9347 (package-menu--generate): Adjust to new package-alist format.
9349 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9351 * allout-widgets.el (allout-widgets-mode-off)
9352 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9353 (allout-widgets-post-command-business)
9354 (allout-widgets-after-copy-or-kill-function)
9355 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9356 (allout-decorate-item-and-context)
9357 (allout-graphics-modification-handler): Fix typos in docstrings.
9358 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9360 * cmuscheme.el (scheme-start-file): Doc fix.
9361 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9362 (scheme-input-filter): Use `string-match-p'.
9364 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9366 * dired-x.el: Use Dired consistently in docstrings.
9368 * dired.el: Use Dired consistently in docstrings.
9369 (dired-readin, dired-mode): Use `setq-local'.
9370 (dired-switches-alist): Make defvar-local.
9371 (dired-buffers-for-dir): Use `zerop'.
9372 (dired-safe-switches-p, dired-switches-escape-p)
9373 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9374 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9375 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9376 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9377 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9378 (dired-toggle-marks, dired-mark-files-containing-regexp)
9379 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9380 (dired-flag-auto-save-files, dired-flag-backup-files):
9382 (dired-mark-files-regexp, dired-build-subdir-alist):
9383 Use `string-match-p', `looking-at-p'.
9385 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9386 (direct-print-region-helper): Use `string-match-p'.
9388 2013-06-21 Leo Liu <sdl.web@gmail.com>
9390 * comint.el (comint-redirect-results-list-from-process):
9393 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9395 * net/eww.el (eww-update-header-line-format): Quote % characters.
9397 2013-06-21 Glenn Morris <rgm@gnu.org>
9399 * play/cookie1.el (cookie): New custom group.
9400 (cookie-file): New option.
9401 (cookie-check-file): New function.
9402 (cookie): Make it interactive. Make start and end messages optional.
9403 Interactively, display the result. Default to cookie-file.
9404 (cookie-insert): Default to cookie-file.
9405 (cookie-snarf): Make start and end messages optional.
9406 Default to cookie-file. Use with-temp-buffer.
9407 (cookie-read): Rename from read-cookie.
9408 Make start and end messages optional. Default to cookie-file.
9409 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9411 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9412 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9414 2013-06-21 Leo Liu <sdl.web@gmail.com>
9416 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9418 2013-06-21 Glenn Morris <rgm@gnu.org>
9420 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9422 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9423 Daniel Hackney <dan@haxney.org>
9425 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9426 Consolidate the single-file vs tarball code.
9427 (package-desc-suffix): New function.
9428 (package-desc-full-name): Don't bother inlining it.
9429 (package-load-descriptor): Return the new package-desc.
9430 (package-mark-obsolete): Remove unused arg `package'.
9431 (package-unpack): Make it work for single files as well.
9432 Make it update package-alist.
9433 (package--make-autoloads-and-stuff): Rename from
9434 package--make-autoloads-and-compile. Don't compile any more.
9435 (package--compile): New function.
9436 (package-generate-description-file): New function, extracted from
9437 package-unpack-single.
9438 (package-unpack-single): Remove.
9439 (package--with-work-buffer): Add indentation and debugging info.
9440 (package-download-single): Remove.
9441 (package-install-from-archive): Rename from package-download-tar, make
9442 it take a pkg-desc, and make it work for single files as well.
9443 (package-download-transaction): Simplify.
9444 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9445 external tar program.
9446 (package-install-from-buffer): Remove `pkg-desc' argument.
9447 Use package-tar-file-info for tar-mode buffers.
9448 (package-install-file): Simplify accordingly.
9449 (package-archive-base): Change to take a pkg-desc.
9450 * tar-mode.el (tar--check-descriptor): New function, extracted from
9452 (tar-get-descriptor): Use it.
9453 (tar-get-file-descriptor): New function.
9454 (tar--extract): New function, extracted from tar-extract.
9455 (tar--extract): Use it.
9456 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9457 case the summary uses non-ascii. Adjust to new calling convention of
9458 package-tar-file-info.
9460 2013-06-21 Leo Liu <sdl.web@gmail.com>
9462 * comint.el (comint-redirect-results-list-from-process):
9463 Fix random delay. (Bug#14681)
9465 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9467 * profiler.el (profiler-format-number): Use log, not log10.
9469 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9471 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9473 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9475 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9476 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9478 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9479 (AUTOGENEL): ... here.
9480 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9481 (cl--defsubst-expand): Use it.
9483 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9485 * subr.el (log10): Move here from C code, and declare as obsolete.
9486 All uses of (log10 X) replaced with (log X 10).
9488 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9490 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9491 Declare with `defvar-local'.
9492 (tabulated-list-use-header-line, tabulated-list-entries)
9493 (tabulated-list-padding, tabulated-list-printer)
9494 (tabulated-list-sort-key): Declare with `defvar-local'.
9495 (tabulated-list-init-header, tabulated-list-print-fake-header):
9498 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9500 * arc-mode.el (archive-mode): Add `archive-write-file' to
9501 `write-contents-functions' also for remote files. (Bug#14652)
9503 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9505 * cus-edit.el (custom-commands): Fix typos.
9506 (custom-display): Fix tooltip text.
9507 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9508 Fix typos in docstrings.
9509 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9510 (custom-unlispify-menu-entry, custom-magic-value-create)
9511 (custom-add-see-also, custom-group-value-create): Use ?\s.
9512 (custom-guess-type, customize-apropos, editable-field)
9513 (custom-face-value-create): Use `string-match-p'.
9514 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9516 * custom.el (custom-load-symbol): Use `string-match-p'.
9518 * ansi-color.el: Convert to lexical binding.
9519 (ansi-colors): Fix URL.
9520 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9521 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9522 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9524 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9526 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9528 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9530 2013-06-19 Tom Tromey <tromey@redhat.com>
9532 * net/eww.el (eww-top-url): Remove.
9533 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9534 (eww-render): Set new variables. Don't set eww-top-url.
9535 (eww-handle-link): Handle "prev", "home", and "contents".
9536 Downcase the rel text.
9537 (eww-top-url): Choose best top URL.
9539 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9541 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9542 relying in widget.el. Using widget.el leads to too many
9543 user interface inconsistencies.
9544 (eww-self-insert): Implement entering commands in text fields.
9545 (eww-process-text-input): New function to make text input field editing
9547 (eww-submit): Rewrite to use the new-style form methods.
9548 (eww-select-display): Display the correct selected item.
9549 (eww-change-select): Implement changing the select value.
9550 (eww-toggle-checkbox): Implement radio/checkboxes.
9551 (eww-update-field): Fix compilation error.
9552 (eww-tag-textarea): Implement <textarea>.
9554 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9555 we don't shadow mode-specific bindings.
9557 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9560 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9562 2013-06-19 Glenn Morris <rgm@gnu.org>
9564 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9566 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9568 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9571 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9573 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9575 * net/browse-url.el (browse-url-browser-function):
9576 `eww-browse-url' has the right calling signature, `eww' does not.
9578 2013-06-19 Glenn Morris <rgm@gnu.org>
9580 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9581 Only eval autoloaded macros.
9582 (byte-compile-autoload): Only give the macro warning for macros.
9584 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9585 (ps-underlined-faces): Declare.
9587 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9588 (speedbar-add-supported-extension): Declare.
9590 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9591 Don't include a date stamp in the header of the generated file;
9592 it leads to needless differences between output files.
9594 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9596 * net/secrets.el (secrets-struct-secret-content-type):
9597 Replace check of introspection data by a test call of "CreateItem".
9598 Some servers do not offer introspection.
9600 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9602 * electric.el (electric-pair-mode): Improve interaction with
9603 electric-layout-mode.
9604 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9605 (electric-pair-syntax): Use text-mode-syntax-table in comments
9607 (electric-pair--insert): New function.
9608 (electric-pair-post-self-insert-function): Use it and
9609 electric--after-char-pos.
9611 2013-06-19 Leo Liu <sdl.web@gmail.com>
9613 * progmodes/octave.el (octave-help): Fix regexp.
9615 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9617 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9618 (shr-table-horizontal-line): Allow nil as a value, and change the
9620 (shr-insert-table-ruler): Respect the nil value.
9622 2013-06-18 Tom Tromey <tromey@barimba>
9624 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9626 (eww-open-file): New defun.
9627 (eww-render): Initialize new variables.
9628 (eww-display-html): Handle "link" and "a".
9629 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9630 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9631 (eww-back-url): Rename from eww-previous-url.
9632 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9635 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9637 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9638 Distinguish ternary operator tokens from slash symbol and slash
9641 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9643 Convert symbol prettification into minor mode and global minor mode.
9645 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9646 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9647 (prettify-symbols--keywords): Rename from
9648 `prog-prettify-symbols-alist' and make a local defvar.
9649 (prettify-symbols--compose-symbol): Rename from
9650 `prog--prettify-font-lock-compose-symbol'.
9651 (prettify-symbols--make-keywords): Rename from
9652 `prog-prettify-font-lock-symbols-keywords' and simplify.
9653 (prog-prettify-install): Remove.
9654 (prettify-symbols-mode): New minor mode, based on
9655 `prog-prettify-install'.
9656 (turn-on-prettify-symbols-mode): New function.
9657 (global-prettify-symbols-mode): New globalized minor mode.
9659 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9660 * progmodes/cfengine.el (cfengine3-mode):
9661 * progmodes/perl-mode.el (perl-mode): Don't call
9662 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9664 2013-06-18 Juri Linkov <juri@jurta.org>
9666 * files-x.el (modify-file-local-variable-message): New function.
9667 (modify-file-local-variable)
9668 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9669 and call `modify-file-local-variable-message' when it's non-nil.
9670 (add-file-local-variable, delete-file-local-variable)
9671 (add-file-local-variable-prop-line)
9672 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9673 and use it. (Bug#9820)
9675 2013-06-18 Juri Linkov <juri@jurta.org>
9677 * emulation/vi.el (vi-shell-op):
9678 * emulation/vip.el (vip-execute-com, ex-command):
9679 * emulation/viper-cmd.el (viper-exec-bang):
9680 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9681 the call of `shell-command-on-region'. (Bug#14637)
9683 * simple.el (shell-command-on-region): Doc fix.
9685 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9687 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9690 2013-06-18 Glenn Morris <rgm@gnu.org>
9692 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9694 * newcomment.el (comment-search-forward, comment-search-backward):
9695 Doc fix. (Bug#14376)
9697 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9699 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9700 (buffer-face-mode-invoke): Doc fix.
9702 2013-06-18 Matthias Meulien <orontee@gmail.com>
9704 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9705 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9707 2013-06-18 Glenn Morris <rgm@gnu.org>
9709 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9710 Replace obsolete function generic-make-keywords with its expansion.
9712 * progmodes/python.el (ffap-alist): Declare.
9714 * textmodes/reftex.el (bibtex-mode-map): Declare.
9716 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9718 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9719 (package-unpack, package-unpack-single): Return the pkg-dir.
9720 (package-download-transaction): Use it to update package-alist.
9722 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9724 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9727 2013-06-17 Juri Linkov <juri@jurta.org>
9729 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9731 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9733 * emacs-lisp/package.el (package-load-descriptor):
9734 Remove `with-syntax-table' call, `read' doesn't need it.
9735 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9737 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9739 * startup.el (command-line): Expand package name returned by
9740 `package--description-file' (bug#14639).
9742 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9744 * emacs-lisp/package.el (package-load-descriptor): Do not call
9745 `emacs-lisp-mode', just use its syntax table.
9747 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9749 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9750 `font-lock-extra-managed-props' if any prettifying keyword is added.
9751 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9752 (prog-mode): Use `setq-local'.
9754 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9756 * international/characters.el (standard-case-table): Set syntax of ?»
9757 and ?« to punctuation.
9759 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9761 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9762 Save relevant match data before calling `syntax-ppss' (bug#14595).
9764 2013-06-15 Juri Linkov <juri@jurta.org>
9766 * files-x.el (modify-file-local-variable-prop-line): Add local
9767 variables to the end of the existing comment on the first line.
9768 Use `file-auto-mode-skip' to skip interpreter magic line,
9769 and also skip XML declaration.
9771 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9773 * startup.el (package--builtin-versions): New var.
9774 (package-subdirectory-regexp): Remove.
9775 (package--description-file): Hard code its value instead.
9777 * emacs-lisp/package.el: Don't activate packages older than builtin.
9778 (package-obsolete-list): Rename from package-obsolete-alist, and make
9779 it into a simple list of package-desc.
9780 (package-strip-version): Remove.
9781 (package-built-in-p): Use package--builtin-versions.
9782 (package-mark-obsolete): Simplify.
9783 (package-process-define-package): Mark it obsolete if older than the
9785 (package-handle-response): Use line-end-position.
9786 (package-read-archive-contents, package--download-one-archive):
9788 (package--add-to-archive-contents): Skip if older than the builtin or
9790 (package-menu-describe-package): Fix last change.
9791 (package-list-unversioned): New var.
9792 (package-menu--generate): Use it.
9794 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9795 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9796 (autoload-builtin-package-versions): New variable.
9797 (autoload-generate-file-autoloads): Use them.
9798 Remove the list of autoloaded functions/macros from the
9799 (autoload...) comments.
9801 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9803 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9805 * simple.el (line-move-partial): Don't jump to the next screen
9806 line as soon as it becomes visible. Instead, continue enlarging
9807 the vscroll until the portion of a tall screen line that's left on
9808 display is about the height of the frame's default font.
9811 2013-06-15 Glenn Morris <rgm@gnu.org>
9813 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9814 compilation-error-regexp-alist void, or local while let-bound.
9816 * progmodes/make-mode.el (makefile-mode-syntax-table):
9817 Treat "=" as punctuation. (Bug#14614)
9819 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9821 * help-fns.el (describe-variable):
9822 Add extra line for permanent-local variables.
9824 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9826 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9827 Add export, import, library. (Bug#9164)
9828 (library): Set indent function.
9830 2013-06-14 Glenn Morris <rgm@gnu.org>
9832 * term/xterm.el (xterm--query):
9833 Stop after first matching handler. (Bug#14615)
9835 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9837 Add support for dired in saveplace.
9838 * dired.el (dired-initial-position-hook): New variable.
9839 (dired-initial-position): Call hook to place cursor position.
9840 * saveplace.el (save-place-to-alist): Add dired position.
9841 (save-place-dired-hook): New function.
9843 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9845 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9846 through a symbol rather than letrec.
9848 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9849 (package-desc): Add `dir' field.
9850 (package-desc-full-name): New function.
9851 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9852 (package-maybe-load-descriptor): Remove.
9853 (package-load-all-descriptors): Just call package-load-descriptor.
9854 (package--disabled-p): New function.
9855 (package-desc-vers, package-desc-doc): Remove aliases.
9856 (package--dir): Remove function.
9857 (package-activate): Check if a package is disabled.
9858 (package-process-define-package): New function, extracted from
9860 (define-package): Turn into a place holder.
9861 (package-unpack-single, package-tar-file-info):
9862 Use package--description-file.
9863 (package-compute-transaction): Use package--disabled-p.
9864 (package-download-transaction): Don't call
9865 package-maybe-load-descriptor since they're all loaded anyway.
9866 (package-install): Change argument to be a pkg-desc.
9867 (package-delete): Use a single pkg-desc argument.
9868 (describe-package-1): Use package-desc-dir instead of package--dir.
9869 Use package-desc property instead of package-symbol.
9870 (package-install-button-action): Adjust accordingly.
9871 (package--push): Rewrite.
9872 (package-menu--print-info): Adjust accordingly. Change the ID format
9874 (package-menu-describe-package, package-menu-get-status)
9875 (package-menu--find-upgrades, package-menu-mark-upgrades)
9876 (package-menu-execute, package-menu--name-predicate):
9878 * startup.el (package--description-file): New function.
9879 (command-line): Use it.
9880 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9881 Use package-desc-version.
9883 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9884 (byte-compile-preprocess): Use it.
9885 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9886 can't quite recognize.
9887 (byte-compile-add-to-list): Remove.
9888 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9889 (cconv-closure-convert): Add assertion.
9891 * emacs-lisp/map-ynp.el: Use lexical-binding.
9892 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9893 Factor out some repeated code.
9895 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9897 * subr.el (with-eval-after-load): New macro.
9898 (eval-after-load): Allow form to be a function.
9899 take advantage of lexical-binding.
9900 (do-after-load-evaluation): Use dolist and adjust to new format.
9901 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9903 2013-06-13 Juri Linkov <juri@jurta.org>
9905 * replace.el (perform-replace): Display "symbol " and other search
9906 modes from `isearch-message-prefix' in the *Help* buffer.
9908 * isearch.el (isearch-query-replace): Add " symbol" and other
9909 possible search modes from `isearch-message-prefix' to the prompt.
9910 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9911 when reading a regexp to collect.
9913 2013-06-13 Juri Linkov <juri@jurta.org>
9915 * isearch.el (word-search-regexp): Match whitespace if the search
9916 string begins or ends in whitespace. The LAX arg is applied to
9917 both ends of the search string. Use `regexp-quote' and explicit
9918 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9919 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9920 boundaries are replaced with symbol boundaries, and characters
9921 between symbols match non-word non-symbol syntax. (Bug#14602)
9923 2013-06-13 Juri Linkov <juri@jurta.org>
9925 * isearch.el (isearch-del-char): Don't exceed the length of
9926 `isearch-string' by the prefix arg. (Bug#14563)
9928 2013-06-13 Juri Linkov <juri@jurta.org>
9930 * isearch.el (isearch-yank-word, isearch-yank-line)
9931 (isearch-char-by-name, isearch-quote-char)
9932 (isearch-printing-char, isearch-process-search-char):
9933 Add optional count prefix arg. (Bug#14563)
9935 * international/isearch-x.el
9936 (isearch-process-search-multibyte-characters):
9937 Add optional count prefix arg.
9939 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9941 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9942 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9945 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9947 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9949 2013-06-13 Glenn Morris <rgm@gnu.org>
9951 * startup.el (tty-handle-args):
9952 Don't just discard "--" and anything after. (Bug#14608)
9954 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9956 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9958 Implement changes in Secret Service API. Make it backward compatible.
9959 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9960 (secrets-create-item): Use it. Prefix properties with interface.
9962 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9964 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9965 (term-emulate-terminal): Respect term-suppress-hard-newline.
9967 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9969 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9970 Only remove a `thumb-file' overlay. (Bug#14548)
9972 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9974 * mail/reporter.el (reporter-submit-bug-report):
9975 Handle missing package-name. (Bug#14600)
9977 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9979 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9980 (reftex-citation-prompt, reftex-default-bibliography)
9981 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9982 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9983 (reftex-bib-sort-author, reftex-bib-sort-year)
9984 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9985 (reftex-extract-bib-entries-from-thebibliography)
9986 (reftex-get-bibkey-default, reftex-get-bib-names)
9987 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9988 (reftex-format-bib-entry, reftex-parse-bibitem)
9989 (reftex-format-bibitem, reftex-do-citation)
9990 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9991 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9992 (reftex-insert-bib-matches, reftex-format-citation)
9993 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9994 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9995 existing comments into docstrings.
9997 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9999 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10001 2013-06-12 Andreas Schwab <schwab@suse.de>
10003 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10004 for auto-save files.
10006 2013-06-12 Glenn Morris <rgm@gnu.org>
10008 * ido.el (ido-delete-ignored-files): Remove.
10009 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10010 Go back to calling ido-ignore-item-p directly.
10012 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10014 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10016 * ido.el (ido-delete-ignored-files): New function,
10017 split from ido-make-file-list-1.
10018 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10019 (ido-make-file-list-1): Use ido-delete-ignored-files.
10021 2013-06-12 Leo Liu <sdl.web@gmail.com>
10023 * progmodes/octave.el (inferior-octave-startup)
10024 (inferior-octave-completion-table)
10025 (inferior-octave-track-window-width-change)
10026 (octave-eldoc-function-signatures, octave-help)
10027 (octave-find-definition): Use single quoted strings.
10028 (inferior-octave-startup-args): Change default value.
10029 (inferior-octave-startup): Do not hard code "-i" and
10030 "--no-line-editing".
10031 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10032 (inferior-octave-directory-tracker): Use it.
10033 (octave-goto-function-definition): Robustify.
10034 (octave-help): Support highlighting operators in 'See also'.
10035 (octave-find-definition): Find subfunctions only in Octave mode.
10037 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10039 * help-fns.el (help-fns--compiler-macro): If the handler function is
10040 named, then put a link to it.
10041 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10042 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10043 (cl-typep): Use it.
10044 (cl-eval-when): Simplify debug spec.
10045 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10046 compiler-macro function instead of setting `compiler-macro-file'.
10048 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10050 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10051 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10053 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10054 Daniel Hackney <dan@haxney.org>
10056 First part of Daniel Hackney's patch to package.el.
10057 * emacs-lisp/package.el: Use defstruct.
10058 (package-desc): New, main struct.
10059 (package--bi-desc, package--ac-desc): New structs, used to describe the
10060 format in external files.
10061 (package-desc-vers): Replace with package-desc-version accessor.
10062 (package-desc-doc): Replace with package-desc-summary accessor.
10063 (package-activate-1): Remove `package' arg since the pkg-vec now
10065 (define-package): Use package-desc-from-define.
10066 (package-unpack-single): Change file-name arg to be a symbol.
10067 (package--add-to-archive-contents): Use package-desc-create and new
10068 accessor functions to package--ac-desc.
10069 (package-buffer-info, package-tar-file-info): Return a package-desc.
10070 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10071 arg to be a package-desc.
10072 (package-install-file): Adjust accordingly. Use \' to match EOS.
10073 (package--from-builtin): New function.
10074 (describe-package-1, package-menu--generate): Use it.
10075 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10076 (package-generate-autoloads): Idem and return the name of the file.
10077 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10078 Change pkg-info arg to be a package-desc.
10079 Use package-make-ac-desc.
10080 (package-upload-file): Use \' to match EOS.
10081 * finder.el (finder-compile-keywords): Use package-make-builtin.
10083 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10085 * vc/vc.el (vc-deduce-fileset): Change error message.
10086 (vc-read-backend): New function.
10087 (vc-next-action): Use it.
10089 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10091 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10092 (prolog-font-lock-keywords): Use regexp-opt instead.
10093 Don't manually highlight strings.
10094 (prolog-mode-variables): Simplify comment-start-skip.
10095 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10097 * emacs-lisp/generic.el (generic--normalise-comments)
10098 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10099 (generic-mode-set-comments): Use them.
10100 (generic-bracket-support): Use setq-local.
10101 (generic-make-keywords-list): Declare obsolete.
10103 2013-06-11 Glenn Morris <rgm@gnu.org>
10105 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10106 Prettify after setting font-lock-defaults. (Bug#14574)
10108 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10110 * replace.el (query-replace, occur-read-regexp-defaults-function)
10112 * subr.el (declare-function, number-sequence, local-set-key)
10113 (substitute-key-definition, locate-user-emacs-file)
10114 (with-silent-modifications, split-string, eval-after-load):
10115 Fix typos, remove unneeded backslashes and reflow some docstrings.
10117 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10119 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10120 default for Elisp files.
10122 2013-06-11 Glenn Morris <rgm@gnu.org>
10124 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10125 although define-derived-mode was doing this anyway. (Bug#14583)
10127 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10129 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10130 Fix make-variable-buffer-local call to refer to the correct variable.
10132 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10134 * eshell/em-term.el (eshell-visual-commands)
10135 (eshell-visual-subcommands, eshell-visual-options):
10136 Add summary line to docstrings. Add cross-references.
10138 2013-06-10 Glenn Morris <rgm@gnu.org>
10140 * epa.el (epa-read-file-name): New function. (Bug#14510)
10141 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10143 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10145 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10146 output redirection to be ignored with visual commands.
10148 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10150 * eshell/em-term.el (eshell-visual-command-p): New function.
10151 (eshell-term-initialize): Move long lambda to separate function
10152 eshell-visual-command-p.
10153 * eshell/em-dirs.el (eshell-dirs-initialise):
10154 * eshell/em-script.el (eshell-script-initialize):
10155 Add missing #' to lambda.
10157 2013-06-08 Leo Liu <sdl.web@gmail.com>
10159 * progmodes/octave.el (octave-add-log-current-defun): New function.
10160 (octave-mode): Set add-log-current-defun-function.
10161 (octave-goto-function-definition): Do not move point if not found.
10162 (octave-find-definition): Enhance to try subfunctions first.
10164 2013-06-08 Glenn Morris <rgm@gnu.org>
10166 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10167 (byte-compile-backward-char, byte-compile-backward-word):
10168 Improve previous change, to handle non-explicit nil.
10170 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10172 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10173 (smie--opener/closer-at-point): New function.
10174 (smie--matching-block-data): Use it. Don't match from right after an
10175 opener or right before a closer. Obey smie-blink-matching-inners.
10176 Don't signal a mismatch for repeated inners like "switch..case..case".
10178 2013-06-07 Leo Liu <sdl.web@gmail.com>
10180 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10182 (octave-function-header-regexp): Fix. (Bug#14570)
10183 (octave-help-mode-finish-hook, octave-help-mode-finish):
10184 Remove. Just use temp-buffer-show-hook.
10186 * newcomment.el (comment-search-backward): Revert last change.
10189 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10191 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10193 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10194 through xargs, to avoid failure due to MS-Windows limitations on
10195 command-line length.
10197 2013-06-06 Glenn Morris <rgm@gnu.org>
10199 * font-lock.el (lisp-font-lock-keywords-2):
10200 Treat user-error like error.
10202 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10203 (byte-compile-backward-char, byte-compile-backward-word):
10204 Handle explicit nil arguments. (Bug#14565)
10206 2013-06-05 Alan Mackenzie <acm@muc.de>
10208 * isearch.el (isearch-allow-prefix): New user option.
10209 (isearch-other-meta-char): Don't exit isearch when a prefix
10210 argument is typed whilst `isearch-allow-prefix' is non-nil.
10213 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10215 * autorevert.el (auto-revert-notify-handler): Use memq.
10216 Hide assertion failure.
10218 * skeleton.el: Use cl-lib.
10219 (skeleton-further-elements): Use defvar-local.
10220 (skeleton-insert): Use cl-progv.
10222 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10224 * progmodes/prog-mode.el (prog-prettify-symbols)
10225 (prog-prettify-install): Update docstrings.
10227 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10229 * simple.el: Move all the prog-mode code to prog-mode.el.
10230 * progmodes/prog-mode.el: New file.
10231 * loadup.el: Add prog-mode.el.
10233 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10235 * simple.el (prog-prettify-symbols): Add version.
10236 (prog-prettify-install): Add convenience function to prettify symbols.
10238 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10239 (perl--augmented-font-lock-keywords-1)
10240 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10241 variables and use it.
10243 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10244 (cfengine3-mode): Remove unneeded variable and use it.
10246 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10247 (lisp--augmented-font-lock-keywords-1)
10248 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10249 Remove unneeded variables and use it.
10251 2013-06-05 João Távora <joaotavora@gmail.com>
10253 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10254 to point when opening the connection. (Bug#14380)
10256 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10258 * subr.el (load-history-regexp, load-history-filename-element)
10259 (eval-after-load, after-load-functions, do-after-load-evaluation)
10260 (eval-next-after-load, display-delayed-warnings)
10261 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10262 definition of save-match-data.
10263 (overriding-local-map): Remove accidental obsolescence declaration.
10265 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10267 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10269 Generalize symbol prettify support to prog-mode and implement it
10270 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10271 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10272 (prog--prettify-font-lock-compose-symbol)
10273 (prog-prettify-font-lock-symbols-keywords): New variables and
10274 functions to support symbol prettification.
10275 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10276 (lisp--augmented-font-lock-keywords-1)
10277 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10278 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10279 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10280 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10281 Implement prettify of -> => :: strings.
10282 * progmodes/perl-mode.el (perl-prettify-symbols)
10283 (perl--font-lock-compose-symbol)
10284 (perl--font-lock-symbols-keywords): Move to prog-mode.
10285 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10286 (perl-font-lock-keywords-1)
10287 (perl-font-lock-keywords-2): Remove explicit prettify support.
10288 (perl--augmented-font-lock-keywords)
10289 (perl--augmented-font-lock-keywords-1)
10290 (perl--augmented-font-lock-keywords-2, perl-mode):
10291 Implement prettify support.
10293 2013-06-05 Leo Liu <sdl.web@gmail.com>
10295 Re-implement smie matching block highlight using
10296 show-paren-data-function. (Bug#14395)
10297 * emacs-lisp/smie.el (smie-matching-block-highlight)
10298 (smie--highlight-matching-block-overlay)
10299 (smie--highlight-matching-block-lastpos)
10300 (smie-highlight-matching-block)
10301 (smie-highlight-matching-block-mode): Remove.
10302 (smie--matching-block-data-cache): New variable.
10303 (smie--matching-block-data): New function.
10304 (smie-setup): Use smie--matching-block-data for
10305 show-paren-data-function.
10307 * progmodes/octave.el (octave-mode-menu): Fix.
10308 (octave-find-definition): Skip garbage lines.
10310 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10312 Fix compilation error with simultaneous dynamic+lexical scoping.
10313 Add warning when a defvar appears after the first let-binding.
10314 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10315 (byte-compile-close-variables): Initialize it.
10316 (byte-compile--declare-var): New function.
10317 (byte-compile-file-form-defvar)
10318 (byte-compile-file-form-define-abbrev-table)
10319 (byte-compile-file-form-custom-declare-variable): Use it.
10320 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10321 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10322 (byte-compile-bind): Handle dynamic bindings that shadow
10324 (byte-compile-unbind): Make arg non-optional.
10325 (byte-compile-let): Simplify.
10326 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10327 (cconv--analyse-function, cconv-analyse-form): Populate it.
10328 Protect byte-compile-bound-variables to limit the scope of defvars.
10329 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10330 Remove unneeded rule for `declare'.
10332 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10333 so as to avoid depending on cl-adjoin at run-time.
10334 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10336 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10337 (macroexp--warn-and-return): Use it.
10339 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10341 * subr.el: Convert to lexical binding.
10342 (overriding-local-map): Make obsolete.
10343 (add-to-list): Doc fix. Add compiler macro.
10344 (read-key): Swap values of local maps.
10346 2013-06-05 Leo Liu <sdl.web@gmail.com>
10348 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10350 2013-06-04 Leo Liu <sdl.web@gmail.com>
10352 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10353 (compilation-auto-jump): Suppress the "Mark set" message to give
10354 way to exit message.
10356 2013-06-04 Alan Mackenzie <acm@muc.de>
10358 Remove faulty optimisation from indentation calculation.
10359 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10360 search limit based on 2000 characters back from indent-point.
10362 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10364 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10366 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10368 * emacs-lisp/lisp.el: Use lexical-binding.
10369 (lisp--local-variables-1, lisp--local-variables): New functions.
10370 (lisp--local-variables-completion-table): New var.
10371 (lisp-completion-at-point): Use it complete let-bound vars.
10373 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10374 eagerly (bug#14422).
10376 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10378 * autorevert.el (auto-revert-notify-enabled)
10379 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10380 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10381 (auto-revert-notify-handler): Handle also gfilenotify.
10383 * subr.el (file-notify-handle-event): New defun. Replacing ...
10384 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10387 2013-06-03 Juri Linkov <juri@jurta.org>
10389 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10390 `M-s h .'. (Bug#14427)
10392 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10393 command `hi-lock-face-symbol-at-point'.
10394 (hi-lock-face-symbol-at-point): New command.
10395 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10396 (hi-lock-menu): Add `highlight-symbol-at-point'.
10397 (hi-lock-mode): Doc fix.
10399 * isearch.el (isearch-forward-symbol-at-point): New command.
10400 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10401 (isearch-highlight-regexp): Add a regexp which matches
10402 words/symbols for word/symbol mode.
10404 * subr.el (find-tag-default-bounds): New function with the body
10405 mostly moved from `find-tag-default'.
10406 (find-tag-default): Move most code to `find-tag-default-bounds',
10407 call it and apply `buffer-substring-no-properties' afterwards.
10409 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10411 * eshell/em-term.el (eshell-term-initialize):
10412 Use `cl-intersection' rather than `intersection'.
10414 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10416 * vc/log-view.el: Doc fix.
10417 (log-view-mode-map): Copy keymap from `special-mode-map'.
10419 2013-06-02 Eric Ludlam <zappo@gnu.org>
10421 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10422 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10423 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10424 (eieio-unbound, eieio-default-superclass)
10425 (eieio--define-field-accessors, method-static, method-before)
10426 (method-primary, method-after, method-num-lists)
10427 (method-generic-before, method-generic-primary)
10428 (method-generic-after, method-num-slots)
10429 (eieio-specialized-key-to-generic-key)
10430 (eieio--check-type, class-v, class-p)
10431 (eieio-class-name, define-obsolete-function-alias)
10432 (eieio-class-parents-fast, eieio-class-children-fast)
10433 (same-class-fast-p, class-constructor, generic-p)
10434 (generic-primary-only-p, generic-primary-only-one-p)
10435 (class-option-assoc, class-option, eieio-object-p)
10436 (class-abstract-p, class-method-invocation-order)
10437 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10438 (eieio-class-un-autoload, eieio-defclass)
10439 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10440 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10441 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10442 (eieio-defgeneric-reset-generic-form)
10443 (eieio-defgeneric-form-primary-only)
10444 (eieio-defgeneric-reset-generic-form-primary-only)
10445 (eieio-defgeneric-form-primary-only-one)
10446 (eieio-defgeneric-reset-generic-form-primary-only-one)
10447 (eieio-unbind-method-implementations)
10448 (eieio--defmethod, eieio--typep)
10449 (eieio-perform-slot-validation, eieio-validate-slot-value)
10450 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10451 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10452 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10453 (eieio-slot-name-index, eieio-class-slot-name-index)
10454 (eieio-set-defaults, eieio-initarg-to-attribute)
10455 (eieio-attribute-to-initarg, eieio-c3-candidate)
10456 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10457 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10458 (eieio-class-precedence-list, eieio-generic-call-methodname)
10459 (eieio-generic-call-arglst, eieio-generic-call-key)
10460 (eieio-generic-call-next-method-list)
10461 (eieio-pre-method-execution-functions, eieio-generic-call)
10462 (eieio-generic-call-primary-only, eieiomt-method-list)
10463 (eieiomt-optimizing-obarray, eieiomt-install)
10464 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10465 (eieio-generic-form, eieio-defmethod, make-obsolete)
10466 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10467 (defclass): Remove `eval-and-compile' from macro.
10468 (call-next-method, shared-initialize): Instead of using
10469 `scoped-class' variable, use new eieio--scoped-class, and
10470 eieio--with-scoped-class.
10471 (initialize-instance): Rename local variable 'scoped-class' to
10472 'this-class' to remove ambiguitity from old global.
10474 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10476 (eieio--scoped-class-stack): New variable.
10477 (eieio--scoped-class): New fcn.
10478 (eieio--with-scoped-class): New scoping macro.
10479 (eieio-defclass): Use pushnew instead of add-to-list.
10480 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10481 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10482 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10483 `scoped-class' variable, use new eieio--scoped-class, and
10484 eieio--with-scoped-class.
10486 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10488 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10490 * eshell/esh-ext.el (eshell-external-command): Pass args to
10491 `eshell-find-interpreter'.
10492 (eshell-find-interpreter): Add new second parameter ARGS.
10494 * eshell/em-script.el (eshell-script-initialize): Add second arg
10495 to the function added as MATCH to `eshell-interpreter-alist'.
10497 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10498 the function added as MATCH to `eshell-interpreter-alist'.
10500 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10501 (eshell-visual-options): New defcustom.
10502 (eshell-escape-control-x): Adapt docstring.
10503 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10504 `eshell-visual-options' in addition to `eshell-visual-commands'.
10505 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10507 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10509 * progmodes/python.el (python-indent-block-enders): Add break,
10510 continue and raise keywords.
10512 2013-06-01 Glenn Morris <rgm@gnu.org>
10514 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10516 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10517 * progmodes/cc-cmds.el (delete-forward-p):
10518 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10519 * progmodes/cc-engine.el (buffer-syntactic-context):
10520 * progmodes/cc-fonts.el (face-property-instance):
10521 * progmodes/cc-mode.el (set-keymap-parents):
10522 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10523 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10524 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10525 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10526 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10528 * progmodes/cc-vars.el (other): Emacs has this widget since
10529 at least 21.1, so don't (re)define it.
10531 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10532 Replace the obsolete alias pcomplete-arg-quote-list.
10534 2013-06-01 Leo Liu <sdl.web@gmail.com>
10536 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10537 punctuation syntax.
10538 (inferior-octave-minimal-columns)
10539 (inferior-octave-last-column-width): New variables.
10540 (inferior-octave-track-window-width-change): New function.
10541 (inferior-octave-mode): Adjust column width so that Octave output,
10542 for example from 'ls', can fit into the window nicely.
10544 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10546 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10547 Highlight expansions inside regexp literals.
10549 2013-05-31 Glenn Morris <rgm@gnu.org>
10551 * obsolete/sym-comp.el (symbol-complete):
10552 Replace obsolete completion-annotate-function.
10554 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10556 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10558 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10559 New function, checks if point is inside a literal that allows
10560 expression expansion.
10561 (ruby-syntax-propertize-expansion): Use it.
10562 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10565 2013-05-30 Juri Linkov <juri@jurta.org>
10567 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10569 (isearch-invisible): New variable.
10570 (isearch-forward): Doc fix.
10571 (isearch-mode): Set `isearch-invisible'
10572 to the value of `search-invisible'.
10573 (isearch-toggle-case-fold): Doc fix.
10574 (isearch-toggle-invisible): New command.
10575 (isearch-query-replace): Let-bind `search-invisible'
10576 to the value of `isearch-invisible'.
10577 (isearch-search): Use `isearch-invisible' instead of
10578 `search-invisible'. Let-bind `search-invisible'
10579 to the value of `isearch-invisible'. (Bug#11378)
10581 2013-05-30 Juri Linkov <juri@jurta.org>
10583 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10584 call when `query-flag' is nil and `search-invisible' is non-nil.
10587 2013-05-30 Glenn Morris <rgm@gnu.org>
10589 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10591 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10592 (cc-require): Suppress spurious "noruntime" warnings.
10593 (cc-require-when-compile): Use fboundp, for sake of compiler.
10595 * progmodes/cc-mode.el: Move load of cc-vars before that of
10596 cc-langs (which in turn loads cc-vars), to quieten compiler.
10598 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10600 * paren.el: Simplify the code.
10601 (show-paren-mode): Always start the timer.
10602 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10603 (show-paren--overlay, show-paren--overlay-1): Rename from
10604 show-paren-overlay and show-paren-overlay-1, and initialize to an
10605 overlay rather than to nil.
10606 (show-paren-function): Misc cleanup and simplifications.
10608 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10610 * paren.el (show-paren-data-function): New hook.
10611 (show-paren--default): New function, extracted from show-paren-function.
10612 (show-paren-function): Use show-paren-data-function.
10614 2013-05-30 Glenn Morris <rgm@gnu.org>
10616 * ielm.el (ielm-map, ielm-complete-symbol):
10617 Use completion-at-point rather than obsolete functions.
10618 (inferior-emacs-lisp-mode): Doc fix.
10619 Set completion-at-point-functions, rather than
10620 comint-dynamic-complete-functions.
10622 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10623 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10624 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10626 * image.el (image-animated-p): Tweak definition.
10628 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10629 (rlogin-process-connection-type): Tweak default. Add set-after.
10630 (rlogin-host): Doc fix.
10631 (rlogin): Tweak prompt.
10632 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10634 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10635 * progmodes/tcl.el (inferior-tcl-mode-map):
10636 Use completion-at-point rather than obsolete alias.
10638 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10640 * minibuffer.el (read-file-name-completion-ignore-case):
10641 Move before completion--in-region, for eager macro expansion.
10643 2013-05-29 Juri Linkov <juri@jurta.org>
10645 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10646 for total count of matching lines. Add `global-matches' for total
10647 count of matches. Rename `matches' to `lines' for count of
10648 matching lines. Add `matches' for count of matches.
10649 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10650 to `prev-line' for line number of prev match endpt.
10651 Increment `matches' for every match. Print the number of
10652 matching lines in the header.
10653 (occur-context-lines): Rename `lines' to `curr-line'.
10654 Rename `prev-lines' to `prev-line'. (Bug#14017)
10656 2013-05-29 Juri Linkov <juri@jurta.org>
10658 * replace.el (perform-replace): Add `skip-read-only-count',
10659 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10660 Increment them for corresponding conditions and report the number
10661 of skipped occurrences in the final message. (Bug#11746)
10662 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10663 (replace-string, replace-regexp): Doc fix.
10665 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10667 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10669 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10670 prog-mode-map (bug#14504).
10672 2013-05-29 Leo Liu <sdl.web@gmail.com>
10674 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10675 (octave-help): Small simplification.
10677 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10678 off the highlight first.
10680 2013-05-29 Glenn Morris <rgm@gnu.org>
10682 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10683 Handle idlwave-last-system-routine-info-cons-cell being nil.
10685 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10686 (idlwave-write-paths): Simplify via with-temp-buffer.
10688 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10689 * emulation/cua-rect.el: Also load cua-base at run time.
10691 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10692 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10693 (cperl-imenu-on-info): Require imenu.
10695 2013-05-28 Alan Mackenzie <acm@muc.de>
10697 Handle "capitalised keywords" correctly.
10698 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10700 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10702 * eshell/em-unix.el: Add -r option to cp.
10704 2013-05-28 Glenn Morris <rgm@gnu.org>
10706 * vc/vc-arch.el (vc-exec-after): Declare.
10707 (vc-switches): Autoload.
10708 * vc/vc-bzr.el: No need to require vc when compiling.
10709 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10710 (vc-resynch-buffer, vc-dir-refresh): Declare.
10711 (vc-setup-buffer, vc-switches): Autoload.
10712 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10713 (vc-resynch-buffer): Declare.
10714 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10715 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10716 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10717 (grep-read-regexp, grep-read-files, grep-expand-template)
10718 (vc-dir-refresh): Declare.
10719 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10720 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10721 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10722 * vc/vc-mtn.el (vc-exec-after): Declare.
10723 (vc-switches): Autoload.
10724 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10725 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10726 (vc-file-tree-walk): Declare.
10727 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10728 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10729 (vc-tag-precondition, vc-rename-master): Autoload.
10730 * vc/vc-svn.el (vc-exec-after): Declare.
10731 (vc-switches, vc-setup-buffer): Autoload.
10732 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10734 (vc-resynch-buffer): Declare.
10736 * obsolete/fast-lock.el (byte-compile-warnings):
10737 Don't warn about obsolete features in this obsolete file.
10739 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10740 Move definition before use.
10742 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10743 (dun-unix-verbs): Remove dun-zippy.
10744 (dun-zippy): Remove function.
10746 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10748 2013-05-27 Juri Linkov <juri@jurta.org>
10750 * replace.el (replace-search): New function with code moved out
10751 from `perform-replace'.
10752 (replace-highlight, replace-dehighlight): Move function definitions
10753 up closer to `replace-search'. (Bug#11746)
10755 2013-05-27 Juri Linkov <juri@jurta.org>
10757 * replace.el (perform-replace): Ignore invisible matches.
10758 In addition to checking `query-replace-skip-read-only', also
10759 filter out matches by calling `run-hook-with-args-until-failure'
10760 on `isearch-filter-predicates', and also check `search-invisible'
10761 for t or call `isearch-range-invisible'.
10762 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10764 2013-05-27 Juri Linkov <juri@jurta.org>
10766 * isearch.el (isearch-filter-predicates): Rename from
10767 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10768 (isearch-message-prefix): Display text from the property
10769 `isearch-message-prefix' of the currently active filters.
10770 (isearch-search): Don't compare `isearch-filter-predicate' with
10771 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10772 on `isearch-filter-predicates'. Also check `search-invisible' for t
10773 or call `isearch-range-invisible'.
10774 (isearch-filter-visible): Make obsolete.
10775 (isearch-lazy-highlight-search):
10776 Call `run-hook-with-args-until-failure' on
10777 `isearch-filter-predicates' and use `isearch-range-invisible'.
10779 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10780 `isearch-filter-predicates' instead of `funcall'ing
10781 `isearch-filter-predicate'.
10782 (Info-mode): Set `Info-isearch-filter' to
10783 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10785 * dired-aux.el (dired-isearch-filter-predicate-orig):
10787 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10788 (dired-isearch-filenames-end): Add and remove
10789 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10790 instead of changing the value of `isearch-filter-predicate'.
10791 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10792 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10793 Put property `isearch-message-prefix' to "filename " on
10794 `dired-isearch-filter-filenames'.
10796 * wdired.el (wdired-change-to-wdired-mode):
10797 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10798 locally instead of changing `isearch-filter-predicate'.
10799 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10801 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10803 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10804 return the commit hash (Bug#14459). Also set the
10805 `vc-git-detached' property.
10806 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10807 (vc-git-mode-line-string): Use the same help-echo format whether
10808 in detached mode or not, because we know the actual revision now.
10809 When in detached mode, shorten the revision to 7 chars.
10811 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10813 * emacs-lisp/easy-mmode.el (define-minor-mode):
10814 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10815 mode hook and provide a docstring.
10817 2013-05-27 Alan Mackenzie <acm@muc.de>
10819 Remove spurious syntax-table text properties inserted by C-y.
10820 * progmodes/cc-mode.el (c-after-change): Also clear hard
10821 syntax-table property with value nil.
10823 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10825 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10826 when reading the events; the buffer layout shall not be changed.
10828 2013-05-27 Leo Liu <sdl.web@gmail.com>
10830 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10832 (inferior-octave-directory-tracker): Automatically re-sync
10834 (octave-help): Improve handling of 'See also'.
10836 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10838 * doc-view.el: Minor naming convention tweaks.
10839 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10841 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10842 even if there's no `display' property yet (bug#14435).
10844 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10846 * subr.el (unmsys--file-name): Rename from reveal-filename.
10848 * Makefile.in (custom-deps, finder-data, autoloads)
10849 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10850 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10851 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10853 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10855 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10856 error-completion on the first 2 args of condition-case (bug#14446).
10859 2013-05-25 Leo Liu <sdl.web@gmail.com>
10861 * comint.el (comint-previous-matching-input): Do not flood the
10862 *Messages* buffer with trivial messages.
10864 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10866 * progmodes/flymake.el (flymake-nop): Don't return a string.
10867 (flymake-set-at): Fix typo.
10869 * simple.el (read--expression): New function, extracted from
10870 eval-expression. Set completion-at-point-functions (bug#14465).
10871 (eval-expression, eval-minibuffer): Use it.
10873 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10875 * progmodes/flymake.el (flymake-save-buffer-in-file)
10876 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10877 (flymake-selected-frame, flymake-log, flymake-ins-after)
10878 (flymake-set-at, flymake-get-buildfile-from-cache)
10879 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10880 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10881 Refine the doc string.
10882 (flymake-get-file-name-mode-and-masks): Reformat.
10883 (flymake-get-real-file-name-function): Fix a minor bug.
10885 2013-05-24 Juri Linkov <juri@jurta.org>
10887 * progmodes/grep.el (grep-mode-font-lock-keywords):
10888 Support =linenumber= format used by git-grep for lines with
10889 function names. (Bug#13549)
10891 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10894 0 after a semi-colon; it works better for smie-auto-fill.
10895 (octave--indent-new-comment-line): New function.
10896 (octave-indent-new-comment-line): Use it (indirectly).
10897 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10898 modify comment-line-break-function.
10900 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10901 (smie-setup): Use add-function to set it.
10903 2013-05-24 Sam Steingold <sds@gnu.org>
10905 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10906 argument (before the `interactive' argument).
10908 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10910 * image-mode.el (image-mode-winprops): Add winprops to
10911 image-mode-winprops-alist before running
10912 image-mode-new-window-functions.
10913 * doc-view.el (doc-view-new-window-function): Don't delay
10914 doc-view-goto-page via timers (bug#14435).
10916 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10918 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10919 (doc-view-desktop-save-buffer): New function.
10920 (doc-view-restore-desktop-buffer): New function.
10921 (desktop-buffer-mode-handlers):
10922 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10924 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10925 `desktop-save-buffer' function.
10927 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10929 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10930 (tramp-gvfs-file-name-handler): Raise a user error when
10931 `tramp-gvfs-enabled' is nil.
10932 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10933 Do not raise a user error when loading package. (Bug#14447)
10935 * net/xesam.el: Move to obsolete/.
10937 2013-05-24 Glenn Morris <rgm@gnu.org>
10939 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10941 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10943 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10944 (Info-find-node, Man-getpage-in-background): Declare.
10946 * mail/unrmail.el (unrmail):
10947 Replace obsolete detect-coding-with-priority.
10949 * net/socks.el (socks-split-string): Use this rather than split-string.
10950 (socks-nslookup-host): Update for above change.
10951 (dynamic-choice, s5-dynamic-choice-match)
10952 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10953 Comment out unused code.
10955 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10956 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10957 (gud-tooltip-echo-area): Make obsolete.
10958 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10960 * progmodes/js.el (js--optimize-arglist): Declare.
10962 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10964 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10965 (ediff-window-C): Declare.
10967 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10968 Tweak requires to silence compiler.
10970 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10971 (he-search-string, he-tried-table, he-expand-list)
10972 (he-init-string, he-string-member, he-substitute-string)
10973 (he-reset-string): Declare.
10975 * obsolete/options.el (list-options): Use custom-variable-p,
10976 rather than obsolete alias.
10978 2013-05-23 Sam Steingold <sds@gnu.org>
10980 * simple.el (shell-command-on-region): Pass the `replace' argument
10981 down to `call-process-region' to comply with the doc as reported on
10982 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10984 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10986 * emacs-lisp/smie.el (smie-indent-forward-token)
10987 (smie-indent-backward-token): Handle string tokens (bug#14381).
10989 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10991 * ielm.el (ielm-menu): New menu.
10992 (inferior-emacs-lisp-mode): Set comment-start.
10994 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10996 * textmodes/reftex.el (reftex-ref-style-toggle):
10997 Fix deactivate action.
10999 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11000 Add cleveref macros.
11002 * textmodes/reftex-parse.el
11003 (reftex-locate-bibliography-files): Accept options for
11004 bibliography commands.
11005 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11006 Add addbibresource. Basic Biblatex support.
11008 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11010 * net/tramp-gvfs.el (top):
11011 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11012 when loading package. (Bug#14447)
11014 2013-05-23 Glenn Morris <rgm@gnu.org>
11016 * progmodes/js.el: No need to load comint when compiling.
11017 (ring-insert, comint-send-string, comint-send-input)
11018 (comint-last-input-end, ido-chop): Declare.
11020 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11021 * vc/ediff-mult.el: Adjust requires.
11022 (ediff-directories-internal, ediff-directory-revisions-internal)
11023 (ediff-patch-file-internal): Declare.
11024 * vc/ediff-ptch.el: Adjust requires.
11025 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11026 (ediff-find-file): Autoload.
11027 * vc/ediff-util.el: No need to load ediff when compiling.
11028 (ediff-regions-internal): Declare.
11029 * vc/ediff-wind.el: Adjust requires.
11030 (ediff-compute-toolbar-width): Define when compiling.
11031 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11032 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11033 (dired-get-filename, dired-get-marked-files)
11034 (ediff-last-dir-patch, ediff-patch-default-directory)
11035 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11036 (ediff-patch-buffer-internal): Declare.
11038 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11039 (ispell-process, ispell-buffer-local-words, lm-summary)
11040 (lm-section-start, lm-section-end): Declare.
11041 (checkdoc-ispell-init): Simplify.
11043 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11044 (he-string-member, he-reset-string, he-substitute-string): Declare.
11046 * eshell/em-ls.el: Adjust requires.
11047 (eshell-glob-regexp): Declare.
11048 * eshell/em-tramp.el: Adjust requires.
11049 (eshell-parse-command): Autoload.
11050 * eshell/em-xtra.el: Adjust requires.
11051 (eshell-parse-command): Autoload.
11052 * eshell/esh-ext.el: Adjust requires.
11053 (eshell-parse-command, eshell-close-handles): Autoload.
11054 * eshell/esh-io.el: Adjust requires.
11055 (eshell-output-filter): Autoload.
11056 * eshell/esh-util.el: No need to load tramp when compiling.
11057 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11059 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11060 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11061 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11062 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11063 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11064 * eshell/esh-opt.el, eshell/esh-proc.el:
11065 * eshell/esh-var.el: Adjust requires.
11066 * eshell/eshell.el: Do not require esh-util twice.
11067 (eshell-add-input-to-history): Declare.
11068 (eshell-command): Check history module is active before using it.
11070 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11072 2013-05-22 Leo Liu <sdl.web@gmail.com>
11074 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11076 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11078 * autorevert.el (auto-revert-notify-add-watch)
11079 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11080 it indicates changes in file modification time.
11082 2013-05-22 Glenn Morris <rgm@gnu.org>
11084 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11085 Always delete the autoloaded function from the noruntime and
11086 unresolved functions lists.
11088 * allout.el: No need to load epa, epg, overlay when compiling.
11089 (epg-context-set-passphrase-callback, epg-list-keys)
11090 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11091 (epg-key-user-id-list): Declare.
11093 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11094 (viper-set-parsing-style-toggling-macro)
11095 (viper-set-emacs-state-searchstyle-macros):
11096 Use called-interactively-p on Emacs.
11097 (viper-looking-back): Make it an obsolete alias. Update callers.
11098 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11099 Use looking-back rather than viper-looking-back.
11100 (viper-tmp-insert-at-eob, viper-enlarge-region)
11101 (viper-read-string-with-history, viper-register-to-point)
11102 (viper-append-to-register, viper-change-state-to-vi)
11103 (viper-backward-char-carefully, viper-forward-char-carefully)
11104 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11105 (viper-change-state-to-emacs): Declare.
11106 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11107 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11108 * emulation/viper-mous.el: Do not load viper-cmd.
11109 (viper-backward-char-carefully, viper-forward-char-carefully)
11110 (viper-forward-word, viper-adjust-window): Declare.
11112 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11114 * progmodes/idlw-help.el (idlwave-help-fontify):
11115 Use called-interactively-p.
11117 * term/w32console.el (w32-get-console-codepage)
11118 (w32-get-console-output-codepage): Declare.
11120 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11121 Remove unnecessary declarations.
11122 (dframe-message): Doc fix.
11124 * info.el (dframe-select-attached-frame, dframe-current-frame):
11127 * speedbar.el (speedbar-message): Make it an obsolete alias.
11128 Update all callers.
11129 (speedbar-with-attached-buffer)
11130 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11131 (speedbar-with-writable): Use backquote.
11132 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11133 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11134 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11135 rather than speedbar- aliases.
11136 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11137 (speedbar-make-specialized-keymap, speedbar-insert-button)
11138 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11139 (speedbar-do-function-pointer): Declare.
11140 (rmail-speedbar-button, rmail-speedbar-find-file)
11141 (rmail-speedbar-move-message):
11142 Use dframe-with-attached-buffer rather than speedbar- alias.
11143 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11144 (dframe-message, speedbar-make-specialized-keymap)
11145 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11146 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11147 (speedbar-insert-button, dframe-select-attached-frame)
11148 (dframe-maybee-jump-to-attached-frame)
11149 (speedbar-change-initial-expansion-list)
11150 (speedbar-previously-used-expansion-list-name): Declare.
11151 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11152 Use dframe-message, dframe-with-attached-buffer rather than
11154 (gud-sentinel): Silence compiler.
11155 * progmodes/vhdl-mode.el (speedbar-refresh)
11156 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11157 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11158 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11159 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11160 (speedbar-file-lists, speedbar-make-tag-line)
11161 (speedbar-line-directory, speedbar-goto-this-file)
11162 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11163 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11164 (speedbar-make-button, speedbar-reset-scanners)
11165 (speedbar-files-item-info, speedbar-line-text)
11166 (speedbar-find-file-in-frame, speedbar-set-timer)
11167 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11168 (speedbar-with-writable): Do not (re)define it.
11169 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11170 rather than speedbar- alias.
11172 2013-05-21 Leo Liu <sdl.web@gmail.com>
11174 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11176 (octave-mode): Tweak fill-nobreak-predicate.
11177 (inferior-octave-startup): Check process to avoid infinite loop.
11178 (inferior-octave): Pop to buffer first to show abornmal process
11181 2013-05-21 Glenn Morris <rgm@gnu.org>
11183 * printing.el (pr-menu-bar): Define when compiling.
11185 2013-05-21 Leo Liu <sdl.web@gmail.com>
11187 * progmodes/octave.el (octave-auto-fill): Remove.
11188 (octave-indent-new-comment-line): Improve.
11189 (octave-mode): Use auto fill mode through
11190 comment-line-break-function and fill-nobreak-predicate.
11191 (octave-goto-function-definition): Support DEFUN_DLD.
11192 (octave-beginning-of-defun): Small tweak.
11193 (octave-help): Show parent directory.
11195 2013-05-21 Glenn Morris <rgm@gnu.org>
11197 * files.el (dired-unmark):
11198 * progmodes/gud.el (gdb-input): Update declarations.
11200 * calculator.el (electric, ehelp): No need to load when compiling.
11201 (Electric-command-loop, electric-describe-mode): Declare.
11203 * doc-view.el (doc-view-current-converter-processes): Move before use.
11205 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11206 Move MODE-set-explicitly definition before use.
11208 * international/mule-diag.el (mule-diag):
11209 Don't use obsolete window-system-version.
11211 * mail/feedmail.el (smtpmail): No need to load when compiling.
11212 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11214 * mail/mail-utils.el (rfc822): No need to load when compiling.
11215 (rfc822-addresses): Autoload it.
11216 (mail-strip-quoted-names): Trivial simplification.
11218 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11219 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11221 * net/snmp-mode.el (tempo): Don't duplicate requires.
11223 * progmodes/prolog.el (info): No need to load when compiling.
11224 (comint): Require before shell requires it.
11225 (Info-goto-node): Autoload it.
11226 (Info-follow-nearest-node): Declare.
11227 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11229 * textmodes/artist.el (picture-mode-exit): Declare.
11231 * textmodes/reftex-parse.el (reftex-parse-from-file):
11232 Trivial rewrite so the compiler can parse it better.
11234 2013-05-20 Leo Liu <sdl.web@gmail.com>
11236 * progmodes/octave.el (octave-help-mode-map)
11237 (octave-help-mode-finish-hook): New variables.
11238 (octave-help-mode, octave-help-mode-finish): New functions.
11239 (octave-help): Use octave-help-mode.
11241 2013-05-20 Glenn Morris <rgm@gnu.org>
11243 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11245 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11247 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11248 start at point, so that expansion starting right after opening
11249 slash in a regexp is recognized.
11250 (ruby-syntax-before-regexp-re): New defvar, extracted from
11251 ruby-syntax-propertize-function. Since the value of this regexp
11252 is looked up at runtime now, we should be able to turn
11253 `ruby-syntax-methods-before-regexp' into a defcustom later.
11254 (ruby-syntax-propertize-function): Split regexp matching into two
11255 parts, for opening and closing slashes. That allows us to skip
11256 over string interpolations and support multiline regexps.
11257 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11258 for them, which calls `ruby-syntax-propertize-expansion'.
11259 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11260 call to `ruby-syntax-propertize-function'.
11261 (ruby-syntax-propertize-expansion): Extracted from
11262 `ruby-syntax-propertize-expansions'. Handles one expansion.
11263 (ruby-syntax-propertize-percent-literal): Leave point right after
11264 the percent symbol, so that the expression expansion rule can
11265 propertize the contents.
11266 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11268 (ruby-syntax-propertize-expansions): Remove.
11270 2013-05-18 Juri Linkov <juri@jurta.org>
11272 * man.el (Man-default-man-entry): Remove `-' from the end
11273 of the default value. (Bug#14400)
11275 2013-05-18 Glenn Morris <rgm@gnu.org>
11277 * comint.el (comint-password-prompt-regexp):
11278 Allow "password for XXX" where XXX contains colons (eg https://...).
11280 2013-05-18 Leo Liu <sdl.web@gmail.com>
11282 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11283 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11284 (octave-source-directories): Don't check process.
11285 (octave-source-directories, octave-find-definition): Doc fix.
11287 2013-05-18 Glenn Morris <rgm@gnu.org>
11289 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11290 Remove backspace/delete bindings. (Bug#14392)
11292 * cus-dep.el (custom-make-dependencies): Sort the output.
11293 (custom-versions-load-alist): Convert comment to doc.
11295 2013-05-17 Leo Liu <sdl.web@gmail.com>
11297 * newcomment.el (comment-search-backward): Stricter in finding
11298 comment start. (Bug#14303)
11300 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11301 (octave-comment-start-skip): Properly anchored.
11303 2013-05-17 Leo Liu <sdl.web@gmail.com>
11305 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11306 Clean up when turned off. (Bug#14395)
11307 (smie--highlight-matching-block-overlay): No longer buffer-local.
11308 (smie-highlight-matching-block): Adjust.
11310 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11312 Doc string fix for "nanoseconds" (Bug#14406).
11313 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11314 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11316 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11318 * calc/calc-units.el (math-extract-units): Preserve powers
11321 2013-05-17 Leo Liu <sdl.web@gmail.com>
11323 * subr.el (delete-consecutive-dups): New function.
11324 * ido.el (ido-set-matches-1): Use it.
11325 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11326 * ido.el (ido-remove-consecutive-dups): Remove.
11328 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11330 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11331 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11332 regexp-opt's `words'.
11334 2013-05-16 Leo Liu <sdl.web@gmail.com>
11336 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11337 (smie--highlight-matching-block-overlay)
11338 (smie--highlight-matching-block-lastpos)
11339 (smie--highlight-matching-block-timer): New variables.
11340 (smie-highlight-matching-block): New function.
11341 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11342 (smie-setup): Conditionally enable smie-blink-matching-open.
11344 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11346 Sync with upstream verilog-mode r840.
11347 * progmodes/verilog-mode.el (verilog-mode-version)
11348 (verilog-mode-release-date): Update.
11349 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11350 (verilog-sig-tieoff): Fix string error on
11351 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11352 (verilog-read-decls): Fix parameters confusing
11353 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11355 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11357 * subr.el (reveal-filename): New function.
11359 * loadup.el: Compute Emacs executable versions on MS-Windows,
11360 where executables have the .exe extension. Add a hard link
11361 emacs-XX.YY.ZZ.exe on MS-Windows.
11363 * Makefile.in (XARGS_LIMIT): New variable.
11364 (custom-deps, finder-data, autoloads)
11365 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11366 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11367 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11368 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11370 2013-05-16 Leo Liu <sdl.web@gmail.com>
11372 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11373 (octave-mode-menu, octave-mode-map): Remove its uses.
11375 2013-05-16 Reto Zimmermann <reto@gnu.org>
11377 Sync with upstream vhdl mode v3.34.2.
11378 * progmodes/vhdl-mode.el: Use `push' throughout.
11379 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11380 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11381 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11382 (vhdl-actual-generic-name): New option to derive actual generic name.
11383 (vhdl-port-paste-signals): Replace formal by actual generics.
11384 (vhdl-beautify): New name for old group vhdl-align. Update users.
11385 (vhdl-beautify-options): New option.
11386 (vhdl-last-input-event): New compat alias. Use throughout.
11387 (vhdl-goto-line): Replace user level function `goto-line'.
11388 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11389 vhdl-fix-statement-buffer.
11390 (vhdl-create-mode-menu): Add some entries.
11391 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11392 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11393 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11394 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11395 to force statements on one line.
11396 (vhdl-remove-trailing-spaces-region):
11397 New, split from vhdl-remove-trailing-spaces.
11398 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11399 Respect vhdl-beautify-options.
11400 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11401 (vhdl-update-sensitivity-list): Not add with index if exists without.
11402 Not include array index with signal. Ignore keywords in comments.
11403 (vhdl-get-visible-signals): Regexp tweaks.
11404 (vhdl-template-component-inst): Handle empty library.
11405 (vhdl-template-type): Add template for 'enum' type.
11406 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11407 Use vhdl-replace-string.
11408 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11409 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11410 (vhdl-speedbar-initialize): Update for above name change.
11411 (vhdl-compose-wire-components): Fix in handling of constants.
11412 (vhdl-error-regexp-emacs-alist): New variable.
11413 (vhdl-error-regexp-add-emacs): New function;
11414 adds support for new compile.el (Emacs 22+)
11415 (vhdl-generate-makefile-1): Change target order for single lib. units.
11416 Allow use of absolute file names.
11418 2013-05-16 Leo Liu <sdl.web@gmail.com>
11420 * simple.el (prog-indent-sexp): Indent enclosing defun.
11422 2013-05-15 Glenn Morris <rgm@gnu.org>
11424 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11425 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11426 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11427 (whitespace-highlight): Move to whitespace group.
11429 * comint.el (comint-source):
11430 * pcmpl-linux.el (pcmpl-linux):
11431 * shell.el (shell-faces):
11432 * eshell/esh-opt.el (eshell-opt):
11433 * international/ccl.el (ccl): Remove empty custom groups.
11435 * completion.el (dynamic-completion-mode):
11436 * jit-lock.el (jit-lock-debug-mode):
11437 * minibuffer.el (completion-in-region-mode):
11438 * type-break.el (type-break-mode-line-message-mode)
11439 (type-break-query-mode):
11440 * emulation/tpu-edt.el (tpu-edt-mode):
11441 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11442 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11443 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11445 * term/xterm.el (xterm): Change parent group to terminals.
11447 * master.el (master): Remove empty custom group.
11448 (master-mode): Remove unused :group argument.
11449 * textmodes/refill.el (refill): Remove empty custom group.
11450 (refill-mode): Remove unused :group argument.
11452 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11454 * cus-dep.el: Provide a feature.
11455 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11456 Don't mistakenly ignore files whose basenames match a basename
11457 from preloaded-file-list (eg cedet/ede/simple.el).
11458 Add a fallback method for getting :group.
11460 2013-05-15 Juri Linkov <juri@jurta.org>
11462 * isearch.el (isearch-char-by-name): Rename from
11463 `isearch-insert-char-by-name'. Doc fix.
11464 (isearch-forward): Mention `isearch-char-by-name' in
11465 the docstring. (Bug#13348)
11467 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11468 `exit-minibuffer' instead of
11469 `isearch-nonincremental-exit-minibuffer'.
11470 (isearch-edit-string): Remove mention of
11471 `isearch-nonincremental-exit-minibuffer' from docstring.
11472 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11473 (isearch-forward-exit-minibuffer)
11474 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11476 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11478 * loadup.el: Just use unversioned DOC.
11480 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11481 literals as extending to EOB.
11482 (nxml-last-fontify-end): Remove unused variable.
11483 (nxml-after-change1): Use with-silent-modifications.
11484 (nxml-extend-after-change-region): Simplify.
11485 (nxml-extend-after-change-region1): Remove function.
11486 (nxml-after-change1): Don't adjust for dependent regions.
11487 (nxml-fontify-matcher): Simplify.
11488 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11489 (xmltok-add-dependent): Remove function.
11490 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11491 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11492 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11493 unclosed <[[, <?, comment, and other literals as extending to EOB.
11494 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11495 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11497 (rng-do-some-validation-1): Don't mark dependent regions.
11498 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11499 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11500 (nxml-clear-dependent-regions): Remove functions.
11501 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11502 (nxml-ensure-scan-up-to-date):
11503 Don't clear&mark dependent regions.
11505 2013-05-15 Leo Liu <sdl.web@gmail.com>
11507 * progmodes/octave.el (octave-goto-function-definition):
11508 Improve and fix callers.
11510 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11512 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11513 the setter (bug#14387).
11515 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11516 surrounding group (bug#14402).
11518 2013-05-14 Juri Linkov <juri@jurta.org>
11520 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11523 2013-05-14 Glenn Morris <rgm@gnu.org>
11525 * progmodes/f90.el (f90-imenu-generic-expression):
11526 Fix typo in 2013-05-08 change. (Bug#14402)
11528 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11530 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11531 Remove signals for which replies are never received.
11533 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11535 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11536 (gdb-handler-alist, gdb-handler-number): Remove variables.
11537 (gdb-handler-list): New variable.
11538 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11539 (gdb-pending-handler-p, gdb-handle-reply)
11540 (gdb-remove-all-pending-triggers): New functions.
11541 (gdb-discard-unordered-replies): New defcustom.
11542 (gdb-handler): New defstruct.
11543 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11544 instead of gdb-pending-triggers. Update docstring.
11545 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11546 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11547 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11548 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11549 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11550 (gdb-frame-handler): Pending triggers are now automatically managed.
11551 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11553 (gdb-input): Automatically handles pending triggers. Update docstring.
11554 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11555 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11557 (gdb-done-or-error): Now use gdb-handle-reply.
11559 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11561 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11564 2013-05-14 Glenn Morris <rgm@gnu.org>
11566 * subr.el (user-emacs-directory-warning): New option.
11567 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11569 2013-05-14 Leo Liu <sdl.web@gmail.com>
11571 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11573 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11574 (octave-font-lock-texinfo-comment): Fix invalid search bound
11575 error: wrong side of point.
11577 2013-05-14 Glenn Morris <rgm@gnu.org>
11579 * progmodes/flymake.el (flymake-xml-program): New option.
11580 (flymake-xml-init): Use it.
11582 * term/xterm.el: Provide a feature.
11584 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11586 2013-05-13 Glenn Morris <rgm@gnu.org>
11588 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11589 Add compat aliases as a hack workaround. (Bug#14384)
11591 2013-05-13 Leo Liu <sdl.web@gmail.com>
11593 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11595 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11597 (octave-comment-start-skip): Include %!.
11598 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11600 2013-05-12 Leo Liu <sdl.web@gmail.com>
11602 * progmodes/octave.el (inferior-octave-startup): Store the value
11603 of __octave_srcdir__ for octave-source-directories.
11604 (inferior-octave-check-process): New function refactored out of
11605 inferior-octave-send-list-and-digest.
11606 (octave-source-directories)
11607 (octave-find-definition-filename-function): New variables.
11608 (octave-source-directories)
11609 (octave-find-definition-default-filename): New functions.
11610 (octave-find-definition): Improve to find functions implemented in C++.
11612 2013-05-12 Glenn Morris <rgm@gnu.org>
11614 * calendar/diary-lib.el (diary-outlook-format-1):
11615 Don't include dayname in the output. (Bug#14349)
11617 2013-05-11 Glenn Morris <rgm@gnu.org>
11619 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11621 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11622 Treat cc-provide like provide.
11624 2013-05-11 Kevin Ryde <user42@zip.com.au>
11626 * cus-dep.el (custom-make-dependencies):
11627 Use generated-autoload-load-name for the sake of files such
11628 such cedet/semantic/bovine/c.el, where the base file name
11629 is not in load-path. (Bug#5277)
11631 2013-05-11 Glenn Morris <rgm@gnu.org>
11633 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11636 2013-05-11 Leo Liu <sdl.web@gmail.com>
11638 * progmodes/octave.el (octave-indent-comment): Improve.
11639 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11640 (octave-eldoc-function-signatures, octave-eldoc-function):
11642 (octave-mode, inferior-octave-mode): Add eldoc support.
11644 2013-05-11 Richard Stallman <rms@gnu.org>
11646 * epa.el (epa-decrypt-file): Take output file name as argument
11647 and read it using `interactive'.
11649 2013-05-11 Leo Liu <sdl.web@gmail.com>
11651 * progmodes/octave.el (octave-beginning-of-line)
11652 (octave-end-of-line): Check before using up-list because it jumps
11653 out of more syntactic contructs since moving to smie.
11654 (octave-indent-comment): New function.
11655 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11656 (octave-begin-keywords, octave-end-keywords)
11657 (octave-reserved-words, octave-smie-bnf-table)
11658 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11660 2013-05-11 Glenn Morris <rgm@gnu.org>
11662 * faces.el (internal-face-x-get-resource):
11663 * frame.el (ns-display-monitor-attributes-list):
11664 * calc/calc-aent.el (math-to-radians-2):
11665 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11668 * calc/calc-menu.el: Make it loadable in isolation.
11670 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11671 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11672 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11673 (eudc-bbdb-query-internal): Require 'bbdb.
11675 * lpr.el (lpr-headers-switches):
11676 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11678 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11680 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11682 * term.el (term-set-escape-char): Make it idempotent.
11684 2013-05-10 Leo Liu <sdl.web@gmail.com>
11686 * progmodes/octave.el (inferior-octave-completion-table):
11687 No longer a function and all uses changed. Use cache to speed up
11688 completion due to bug#11906.
11689 (octave-beginning-of-defun): Re-write to be more general.
11691 2013-05-10 Glenn Morris <rgm@gnu.org>
11693 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11695 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11697 * comint.el (comint-redirect-send-command-to-process): Use :around
11698 rather than :override for comint-redirect-filter.
11699 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11700 Call it instead of comint-redirect-original-filter-function (which
11701 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11703 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11705 * frame.el (display-monitor-attributes-list): Add NS case.
11706 (ns-display-monitor-attributes-list): Declare.
11708 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11710 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11712 2013-05-09 Glenn Morris <rgm@gnu.org>
11714 * international/fontset.el (vertical-centering-font-regexp):
11715 Set standard-value.
11717 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11719 * bookmark.el (bookmark-search-delay):
11720 * cus-start.el (vertical-centering-font-regexp):
11721 * ps-mule.el (ps-mule-font-info-database-default):
11722 * ps-print.el (ps-default-fg, ps-default-bg):
11723 * type-break.el (type-break-good-break-interval):
11724 * whitespace.el (whitespace-indentation-regexp)
11725 (whitespace-space-after-tab-regexp):
11726 * emacs-lisp/testcover.el (testcover-1value-functions)
11727 (testcover-noreturn-functions, testcover-progn-functions)
11728 (testcover-prog1-functions):
11729 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11730 * eshell/em-glob.el (eshell-glob-translate-alist):
11731 * play/tetris.el (tetris-tty-colors):
11732 * progmodes/cpp.el (cpp-face-default-list):
11733 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11734 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11735 (idlwave-help-browser-generic-args):
11736 * progmodes/make-mode.el (makefile-special-targets-list):
11737 * progmodes/python.el (python-shell-virtualenv-path):
11738 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11739 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11740 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11741 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11742 * textmodes/reftex-vars.el (reftex-format-label-function):
11743 * textmodes/remember.el (remember-diary-file): Fix custom types.
11745 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11748 2013-05-09 Leo Liu <sdl.web@gmail.com>
11750 * progmodes/octave.el (inferior-octave-completion-at-point):
11751 Restore file completion. (Bug#14300)
11752 (inferior-octave-startup): Fix incorrect highlighting for the
11755 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11757 * progmodes/ruby-mode.el: First cut at SMIE support.
11758 (ruby-use-smie): New var.
11759 (ruby-smie-grammar): New constant.
11760 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11761 (ruby-smie--forward-token, ruby-smie--backward-token)
11762 (ruby-smie-rules): New functions.
11763 (ruby-mode-variables): Setup SMIE if applicable.
11765 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11767 * simple.el (line-move-visual): Signal beginning/end of buffer
11768 only if vertical-motion moved less than it was requested. Avoids
11769 silly incorrect error messages when there are display strings with
11770 multiple newlines at EOL.
11772 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11774 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11775 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11776 (prolog-char-quote-workaround):
11777 * progmodes/cperl-mode.el (cperl-under-as-char):
11778 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11780 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11782 (vhdl-mode-syntax-table-init): Remove.
11784 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11787 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11789 (ld-script-font-lock-keywords):
11790 Change regexps to use things like \_< and \_>.
11792 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11793 Change all regexps to use things like \_< and \_>.
11795 * progmodes/autoconf.el (autoconf-definition-regexp)
11796 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11797 Handle a _ with symbol syntax.
11798 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11800 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11801 Consolidate declaration.
11802 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11804 (ada-create-syntax-table): Remove.
11805 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11806 already has the right syntax nowadays.
11807 (ada-goto-next-word): Don't change the syntax of "_".
11809 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11812 2013-05-08 Sam Steingold <sds@gnu.org>
11814 * thingatpt.el (thing-at-point): Accept optional second argument
11815 NO-PROPERTIES to strip the text properties from the return value.
11816 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11817 to `thing-at-point' instead of stripping the properties ourselves.
11818 Also, when `thing-at-point' fails to find a url, prepend "http://"
11819 to the filename at point on the assumption that the user is
11820 pointing at something like gnu.org/gnu.
11822 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11824 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11825 * faces.el (crm-separator):
11826 Silence byte-compiler.
11828 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11829 (tool-bar-map): Remove unneeded defvars.
11831 2013-05-08 Leo Liu <sdl.web@gmail.com>
11833 Re-work a fix for bug#10994 based on Le Wang's patch.
11834 * ido.el (ido-remove-consecutive-dups): New helper.
11835 (ido-completing-read): Use it.
11836 (ido-chop): Revert fix for bug#10994.
11838 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11840 * cus-edit.el (custom-save-variables):
11841 Pretty-print long values. (Bug#14187)
11843 2013-05-08 Glenn Morris <rgm@gnu.org>
11845 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11846 (m4-mode-syntax-table): Init in the defvar.
11847 (m4-mode-abbrev-table): Let define-derived-mode define it.
11849 2013-05-08 Tom Tromey <tromey@redhat.com>
11851 * progmodes/m4-mode.el (m4-mode-syntax-table):
11852 Do not treat "_" as word constituent. (Bug#14167)
11854 2013-05-07 Glenn Morris <rgm@gnu.org>
11856 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11857 Remove explicit eshell-isearch-cancel-map.
11859 * progmodes/f90.el (f90-smart-end-names): New option.
11860 (f90-smart-end): Doc fix.
11861 (f90-end-block-optional-name): New constant.
11862 (f90-block-match): Respect f90-smart-end-names.
11864 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11867 about implicit semi-colons (bug#14218).
11869 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11871 * frame.el (display-monitor-attributes-list)
11872 (frame-monitor-attributes): New functions.
11874 2013-05-06 Leo Liu <sdl.web@gmail.com>
11876 * progmodes/octave.el (octave-syntax-propertize-function): Change
11877 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11878 (octave-font-lock-keywords): Use octave-operator-regexp.
11879 (octave-completion-at-point): Rename from
11880 octave-completion-at-point-function.
11881 (inferior-octave-directory-tracker): Robustify.
11882 (octave-text-functions): Remove and fix its uses. No such things
11885 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11887 * emacs-lisp/trace.el (trace--display-buffer): New function.
11888 (trace-make-advice): Use it.
11890 2013-05-06 Juri Linkov <juri@jurta.org>
11892 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11893 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11895 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11896 in the help string. (Bug#12985)
11898 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11900 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11902 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11904 * progmodes/perl-mode.el: Add support for here documents.
11905 (perl-syntax-propertize-function): Match here-doc markers.
11906 (perl-syntax-propertize-special-constructs): Find their end.
11907 (perl-imenu-generic-expression): Use [:alnum:].
11909 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11910 (advice--add-function): Refresh the advice if already present
11913 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11915 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11917 2013-05-06 Glenn Morris <rgm@gnu.org>
11919 * w32-fns.el (w32-charset-info-alist): Declare.
11921 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11922 of its defcustom properties.
11923 (eshell-cmpl-initialize): No need to load pcomplete.
11925 * generic-x.el: No need to require comint when compiling.
11927 * net/eudc-export.el: Make it loadable without bbdb.
11928 (top-level): Use require rather than load-library.
11929 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11930 (eudc-batch-export-records-to-bbdb)
11931 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11934 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11936 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11937 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11938 some tweaks, instead.
11940 2013-05-05 Leo Liu <sdl.web@gmail.com>
11942 * progmodes/octave.el (octave-font-lock-keywords)
11943 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11944 (inferior-octave-send-list-and-digest): Improve error message.
11945 (octave-mode, inferior-octave-mode): Use setq-local.
11946 (octave-help): Set info-lookup-mode.
11948 2013-05-05 Richard Stallman <rms@gnu.org>
11950 * vc/compare-w.el (compare-windows-whitespace):
11951 Treat no-break space as whitespace.
11953 * mail/rmailsum.el (rmail-summary-rmail-update):
11954 Detect empty summary and don't change selected message.
11955 (rmail-summary-goto-msg): Likewise.
11957 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11958 Doc fixes, rename args.
11960 2013-05-05 Alan Mackenzie <acm@muc.de>
11962 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11964 2013-05-05 Juri Linkov <juri@jurta.org>
11966 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11967 to not add the length of the summary segment to the return value.
11970 2013-05-05 Leo Liu <sdl.web@gmail.com>
11972 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11973 (inferior-octave-output-filter): Remove.
11974 (octave-send-region, inferior-octave-startup): Fix callers.
11975 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11976 (octave-binary-file-extensions): New user variable.
11977 (octave-find-definition): Confirm if opening binary files.
11978 (octave-help-file): Use octave-find-definition to get the binary
11980 (octave-help): Adjust for octave-help-file change.
11982 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11984 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11985 Merge the two entries that handle function definitions.
11986 (pascal--syntax-propertize): New const.
11987 (pascal-mode): Use it. Use setq-local.
11989 2013-05-04 Glenn Morris <rgm@gnu.org>
11991 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11992 (diary-from-outlook): Respect diary-from-outlook-function.
11994 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11996 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11997 Move the declaration from C.
11998 (read-minibuffer, eval-minibuffer): Move from C.
11999 (completion-setup-function): Avoid minibuffer-completion-contents.
12001 2013-05-03 Leo Liu <sdl.web@gmail.com>
12003 * progmodes/octave.el (octave-font-lock-keywords): Do not
12004 dehighlight 'end' in comments or strings.
12005 (octave-completing-read, octave-goto-function-definition):
12007 (octave-help-buffer): New user variable.
12008 (octave-help-file, octave-help-function): New button types.
12009 (octave-help): New command and bind it to C-h ;.
12010 (octave-find-definition): New command and bind it to M-.
12011 (user-error): Alias to error if not defined.
12013 2013-05-02 Leo Liu <sdl.web@gmail.com>
12015 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12017 (octave-font-lock-keywords): Include [ and {.
12019 2013-05-02 Leo Liu <sdl.web@gmail.com>
12021 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12022 (inferior-octave): Remove calling comint-mode and return the buffer.
12023 (inferior-octave-startup): Cosmetic changes.
12025 2013-05-02 Leo Liu <sdl.web@gmail.com>
12027 * progmodes/octave.el (octave-syntax-propertize-function):
12028 Include the case when ' is at line beginning. (Bug#14336)
12030 2013-05-02 Glenn Morris <rgm@gnu.org>
12032 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12033 * desktop.el (vc-dir-mode): Just autoload it here.
12035 2013-05-02 Alan Mackenzie <acm@muc.de>
12037 Eliminate variable c-standard-font-lock-fontify-region-function.
12038 * progmodes/cc-mode.el
12039 (c-standard-font-lock-fontify-region-function): Remove.
12040 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12042 2013-05-01 Leo Liu <sdl.web@gmail.com>
12044 * progmodes/octave.el: Compatible with older emacs-24 releases.
12045 (inferior-octave-has-built-in-variables): Remove. Built-in
12046 variables were removed from Octave in 2007.
12047 (inferior-octave-startup): Fix uses.
12048 (comint-line-beginning-position): Remove compatibility code for
12051 2013-05-01 Juri Linkov <juri@jurta.org>
12053 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12055 2013-05-01 Juri Linkov <juri@jurta.org>
12057 * comint.el (comint-previous-matching-input): Don't print message
12058 "History item: %d" when `isearch-mode' is active.
12059 (comint-history-isearch-message): Print message "History item: %d"
12060 when `comint-input-ring-index' is not empty and this function is
12061 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12063 2013-05-01 Leo Liu <sdl.web@gmail.com>
12065 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12066 definitions. Use completion-at-point to insert keywords.
12067 (octave-abbrev-start): Remove.
12068 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12070 2013-04-30 Leo Liu <sdl.web@gmail.com>
12072 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12075 2013-04-30 Alan Mackenzie <acm@muc.de>
12077 Handle arbitrarily long C++ member initialisation lists.
12078 * progmodes/cc-engine.el (c-back-over-member-initializers):
12080 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12081 (most) member init lists.
12083 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12085 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12088 2013-04-30 Leo Liu <sdl.web@gmail.com>
12090 * progmodes/octave.el (octave-variables): Remove. No builtin
12091 variables any more. All converted to functions.
12092 (octave-font-lock-keywords, octave-completion-at-point-function):
12094 (octave-font-lock-texinfo-comment): New user variable.
12095 (octave-texinfo-font-lock-keywords): New variable for texinfo
12097 (octave-function-comment-block): New face.
12098 (octave-font-lock-texinfo-comment): New function.
12099 (octave-mode): Font lock texinfo comment block.
12101 2013-04-29 Leo Liu <sdl.web@gmail.com>
12103 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12104 indexing expression.
12105 (octave-continuation-string): Do not use \.
12106 (inferior-octave-complete-impossible): Remove.
12107 (inferior-octave-completion-table)
12108 (inferior-octave-completion-at-point): Remove its uses.
12109 (inferior-octave-startup): completion_matches was introduced to
12110 Octave in 1996 so safe to assume it.
12111 (octave-function-file-comment): Improve to follow how Octave does it.
12112 (octave-update-function-file-comment): Tweak.
12114 2013-04-29 Leo Liu <sdl.web@gmail.com>
12116 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12117 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12118 (octave-function-file-comment): Fix typo.
12119 (octave-sync-function-file-names): Use read-char-choice.
12121 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12123 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12124 to t for the less important warnings.
12126 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12128 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12130 2013-04-27 Glenn Morris <rgm@gnu.org>
12132 * vc/log-view.el (log-view-current-entry):
12133 Treat "---" separator lines as part of the following rev. (Bug#14169)
12135 2013-04-27 Juri Linkov <juri@jurta.org>
12137 * subr.el (read-number): Doc fix about using it by interactive
12138 code letter `n'. (Bug#14254)
12140 2013-04-27 Juri Linkov <juri@jurta.org>
12142 * desktop.el (desktop-auto-save-timeout): New option.
12143 (desktop-file-checksum): New variable.
12144 (desktop-save): Add optional arg `auto-save' and don't auto-save
12145 if nothing changed.
12146 (desktop-auto-save-timer): New variable.
12147 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12148 (after-init-hook): Call `desktop-auto-save-set-timer'.
12149 Suggested by Reuben Thomas <rrt@sc3d.org> in
12150 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12152 2013-04-27 Leo Liu <sdl.web@gmail.com>
12154 * progmodes/octave.el (octave-function-file-p)
12155 (octave-skip-comment-forward, octave-function-file-comment)
12156 (octave-update-function-file-comment): New functions.
12157 (octave-mode-map): Bind C-c ; to
12158 octave-update-function-file-comment.
12159 (octave-mode-menu): Add octave-update-function-file-comment.
12160 (octave-mode, inferior-octave-mode): Fix doc-string.
12161 (octave-insert-defun): Conform to Octave's coding convention.
12164 * files.el (basic-save-buffer): Don't let errors in
12165 before-save-hook prevent saving buffer.
12167 2013-04-20 Roland Winkler <winkler@gnu.org>
12169 * faces.el (read-face-name): Use completing-read if arg multiple
12172 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12174 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12175 displayed, move point to after the totals line.
12176 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12179 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12181 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12182 Add current dir to the load-path.
12183 (package-generate-autoloads): Don't rely on
12184 autoload-ensure-default-file.
12186 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12188 * textmodes/remember.el (remember-store-in-files): Document that
12189 the file name format is passed to `format-time-string'.
12191 2013-04-26 Leo Liu <sdl.web@gmail.com>
12193 * progmodes/octave.el (octave-sync-function-file-names): New function.
12194 (octave-mode): Use it in before-save-hook.
12196 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12198 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12201 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12202 \n and comment, even if it's not an implicit ; (bug#14218).
12204 2013-04-26 Glenn Morris <rgm@gnu.org>
12206 * subr.el (read-number): Once more use `read' rather than
12207 `string-to-number', to trap non-numeric input. (Bug#14254)
12209 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12211 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12212 Use `syntax-multiline' text property consistently instead of
12213 `font-lock-multiline'. (Bug#14237)
12215 2013-04-26 Glenn Morris <rgm@gnu.org>
12217 * emacs-lisp/shadow.el (list-load-path-shadows):
12218 No longer necessary to check for duplicate simple.el, since
12219 2012-07-07 change to init_lread to not include installation lisp
12220 directories in load-path when running uninstalled. (Bug#14270)
12222 2013-04-26 Leo Liu <sdl.web@gmail.com>
12224 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12225 (octave-mode, inferior-octave-mode): Use setq-local.
12226 (octave-not-in-string-or-comment-p): Rename to
12227 octave-in-string-or-comment-p.
12228 (octave-in-comment-p, octave-in-string-p)
12229 (octave-in-string-or-comment-p): Replace defsubst with defun.
12231 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12233 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12235 2013-04-25 Bastien Guerry <bzg@gnu.org>
12237 * textmodes/remember.el (remember-data-directory)
12238 (remember-directory-file-name-format): Fix custom types.
12240 2013-04-25 Leo Liu <sdl.web@gmail.com>
12242 * progmodes/octave.el (octave-completion-at-point-function):
12243 Make use of inferior octave process.
12244 (octave-initialize-completions): Remove.
12245 (inferior-octave-completion-table): New function.
12246 (inferior-octave-completion-at-point): Use it.
12247 (octave-completion-alist): Remove.
12249 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12251 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12252 (opascal-mode-syntax-table): New var.
12253 (opascal-literal-kind, opascal-is-literal-end)
12254 (opascal-literal-token-at): Rewrite.
12255 (opascal--literal-start-re, opascal-font-lock-keywords)
12256 (opascal--syntax-propertize): New constants.
12257 (opascal-font-lock-defaults): Adjust.
12258 (opascal-mode): Use them. Set comment-<foo> variables as well.
12259 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12260 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12261 (delphi-other-face, opascal-other-face): Remove face variables.
12262 (opascal-save-state): Remove macro.
12263 (opascal-fontifying-progress-step): Remove constant.
12264 (opascal--ignore-changes): Remove var.
12265 (opascal-set-token-property, opascal-parse-next-literal)
12266 (opascal-is-stable-literal, opascal-complete-literal)
12267 (opascal-is-literal-start, opascal-face-of)
12268 (opascal-parse-region, opascal-parse-region-until-stable)
12269 (opascal-fontify-region, opascal-after-change)
12270 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12271 (opascal-debug-parse-region, opascal-debug-parse-window)
12272 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12273 (opascal-debug-fontify-buffer): Remove.
12274 (opascal-debug-mode-map): Adjust accordingly.
12276 2013-04-25 Leo Liu <sdl.web@gmail.com>
12278 Merge octave-mod.el and octave-inf.el into octave.el with some
12280 * progmodes/octave.el: New file renamed from octave-mod.el.
12281 * progmodes/octave-inf.el: Merged into octave.el.
12282 * progmodes/octave-mod.el: Renamed to octave.el.
12284 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12286 * textmodes/reftex-vars.el
12287 (reftex-label-ignored-macros-and-environments): New defcustom.
12289 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12291 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12293 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12294 (smie-indent-keyword): Improve the check to ensure that the next
12295 comment is really on the same line.
12296 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12298 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12299 semi-colons if the line is not otherwise empty (bug#14218).
12301 2013-04-25 Glenn Morris <rgm@gnu.org>
12303 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12305 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12307 * progmodes/opascal.el (opascal-set-token-property): Rename from
12308 opascal-set-text-properties and only set `token' (bug#14134).
12309 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12310 (opascal-literal-text-properties): Remove.
12311 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12314 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12316 * textmodes/remember.el (remember-handler-functions): Add an
12317 option for a new handler `remember-store-in-files'.
12318 (remember-data-directory, remember-directory-file-name-format):
12320 (remember-store-in-files): New function to store remember notes
12321 as separate files within a directory.
12323 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12325 * progmodes/compile.el (compilation-next-error-function):
12326 Pass "formats" to compilation-find-file (bug#11777).
12328 2013-04-24 Glenn Morris <rgm@gnu.org>
12330 * vc/vc-bzr.el (vc-bzr-print-log):
12331 * vc/vc-hg.el (vc-hg-print-log):
12332 * vc/vc-svn.el (vc-svn-print-log):
12333 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12335 * vc/vc-bzr.el (vc-bzr-print-log):
12336 * vc/vc-cvs.el (vc-cvs-print-log):
12337 * vc/vc-git.el (vc-git-print-log):
12338 * vc/vc-hg.el (vc-hg-print-log):
12339 * vc/vc-mtn.el (vc-mtn-print-log):
12340 * vc/vc-rcs.el (vc-rcs-print-log):
12341 * vc/vc-sccs.el (vc-sccs-print-log):
12342 * vc/vc-svn.el (vc-svn-print-log):
12343 * vc/vc.el (vc-print-log-internal): Doc fixes.
12345 2013-04-23 Glenn Morris <rgm@gnu.org>
12347 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12348 Remove venerable code attempting to avoid substitute-command-keys.
12350 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12352 * textmodes/reftex-vars.el (reftex-label-regexps):
12353 Call `reftex-compile-variables' after changes to this variable.
12355 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12357 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12358 Use lexical-binding.
12359 (jit-lock-force-redisplay): Use markers, check buffer's continued
12360 existence and beware narrowed buffers.
12361 (jit-lock-fontify-now): Adjust call accordingly.
12363 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12365 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12366 to avoid misleading the user.
12368 2013-04-22 Leo Liu <sdl.web@gmail.com>
12370 * info-look.el: Prefer latex2e.info. (Bug#14240)
12372 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12374 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12376 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12377 * net/tramp.el (tramp-call-process): ... here.
12378 (tramp-set-completion-function, tramp-parse-putty):
12379 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12380 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12381 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12382 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12383 (tramp-call-local-coding-command): Use `tramp-call-process'
12384 instead of `tramp-compat-call-process'.
12386 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12387 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12388 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12389 (tramp-find-inline-compress): Improve traces.
12390 (tramp-maybe-send-script): Check for Perl binary.
12391 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12393 2013-04-22 Daiki Ueno <ueno@gnu.org>
12395 * epg.el (epg-context-pinentry-mode): New function.
12396 (epg-context-set-pinentry-mode): New function.
12397 (epg--start): Pass --pinentry-mode option to gpg command.
12399 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12401 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12402 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12403 `completion-at-point'. (Bug#13774)
12405 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12406 default key binding for `describe-distribution' has been moved to
12407 `C-h C-o'. (Bug#13970)
12409 2013-04-21 Glenn Morris <rgm@gnu.org>
12411 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12413 (vc-print-log): Clarify interactive prompt.
12415 2013-04-20 Glenn Morris <rgm@gnu.org>
12417 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12418 No longer include timestamp etc information.
12420 2013-04-20 Roland Winkler <winkler@gnu.org>
12422 * faces.el (read-face-name): Bug fix, return just one face if arg
12423 multiple is nil. (Bug#14209)
12425 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12427 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12428 (remove-function): Autoload.
12430 * comint.el (comint-redirect-original-filter-function): Remove.
12431 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12432 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12433 (vc-cvs-annotate-command):
12434 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12435 * progmodes/prolog.el (prolog-consult-compile):
12436 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12437 Use add/remove-function instead.
12438 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12439 (gud-tooltip-process-output, gud-tooltip-tips):
12440 Use add/remove-function instead.
12441 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12442 (scheme-interaction-mode, exit-scheme-interaction-mode):
12443 Use add/remove-function instead.
12445 * vc/vc-dispatcher.el: Use lexical-binding.
12446 (vc--process-sentinel): Rename from vc-process-sentinel.
12447 Change last arg to be the code to run. Don't use vc-previous-sentinel
12448 and vc-sentinel-commands any more.
12449 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12450 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12452 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12454 * progmodes/sh-script.el (sh-imenu-generic-expression):
12455 Handle function names with a single character. (Bug#14111)
12457 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12459 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12460 for subroutines defined in an eval (bug#14182).
12462 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12464 * bookmark.el (bookmark-completing-read): Improve handling of empty
12465 string (bug#14176).
12467 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12469 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12471 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12473 New faster Imenu implementation (bug#14058).
12474 * progmodes/python.el:
12475 (python-imenu-prev-index-position):
12476 (python-imenu-format-item-label-function)
12477 (python-imenu-format-parent-item-label-function)
12478 (python-imenu-format-parent-item-jump-label-function):
12480 (python-imenu-format-item-label)
12481 (python-imenu-format-parent-item-label)
12482 (python-imenu-format-parent-item-jump-label)
12483 (python-imenu--put-parent, python-imenu--build-tree)
12484 (python-imenu-create-index, python-imenu-create-flat-index)
12485 (python-util-popn): New functions.
12486 (python-mode): Set imenu-create-index-function to
12487 python-imenu-create-index.
12489 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12491 * winner.el (winner-active-region): Use region-active-p, activate-mark
12492 and deactivate-mark (bug#14225).
12494 * simple.el (deactivate-mark): Don't inline it.
12496 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12498 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12500 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12502 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12503 file extensions from the archive-mode entry in order to prefer
12504 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12506 2013-04-18 Leo Liu <sdl.web@gmail.com>
12508 * bindings.el (help-event-list): Add ?\?.
12510 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12512 * subr.el (with-wrapper-hook): Declare obsolete.
12513 * simple.el (filter-buffer-substring-function): New hook.
12514 (filter-buffer-substring): Use it.
12515 (filter-buffer-substring-functions): Mark obsolete.
12516 * minibuffer.el (completion-in-region-function): New hook.
12517 (completion-in-region): Use it.
12518 (completion-in-region-functions): Mark obsolete.
12519 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12520 * abbrev.el (abbrev-expand-function): New hook.
12521 (expand-abbrev): Use it.
12522 (abbrev-expand-functions): Mark obsolete.
12523 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12524 and :filter-return.
12526 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12528 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12529 and do not care about match data.
12531 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12533 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12534 completion tables when completing error conditions and
12535 `declare' arguments.
12536 (lisp-complete-symbol, field-complete): Mark as obsolete.
12537 (check-parens): Unmatched parens are user errors.
12538 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12540 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12542 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12543 command changed buffer (ie. `flyspell-pre-buffer' is not current
12544 buffer), which prevents making decisions based on invalid value of
12545 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12546 cause an error when `flyspell-pre-point' was nil after switching
12548 (flyspell-post-command-hook): No longer needs to change buffers when
12549 checking pre-word. While at it remove unnecessary progn.
12551 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12553 * textmodes/ispell.el (ispell-add-per-file-word-list):
12554 Fix `flyspell-correct-word-before-point' error when accepting
12555 words and `coment-padding' is an integer by using
12556 `comment-normalize-vars' (Bug #14214).
12558 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12560 New defun movement commands.
12561 * progmodes/python.el (python-nav--syntactically)
12562 (python-nav--forward-defun, python-nav-backward-defun)
12563 (python-nav-forward-defun): New functions.
12565 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12567 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12568 (python-syntax-context): Use named compiler-macro for backwards
12569 compatibility with Emacs 24.x.
12571 2013-04-17 Leo Liu <sdl.web@gmail.com>
12573 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12574 octave-hide-process-buffer.
12576 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12581 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12583 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12584 Fix adjustment of offset when receiving incomplete responses from GDB
12587 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12589 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12590 python-mode-abbrev-table.
12591 (python-skeleton-define): Adjust accordingly.
12592 (python-mode-abbrev-table): New table that inherits from it so that
12593 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12595 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12596 (abbrev-symbol): Use it.
12597 (abbrev--before-point): Use it since we already handle inheritance.
12599 2013-04-16 Leo Liu <sdl.web@gmail.com>
12601 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12602 binding to info-lookup-symbol.
12604 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12606 * minibuffer.el (completion--twq-all):
12607 * term/ns-win.el (ns-initialize-window-system):
12608 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12610 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12612 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12615 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12617 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12619 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12620 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12622 (ruby-end-of-defun): Remove the unused arg, change the docstring
12623 to reflect that this function is only used as the value of
12624 `end-of-defun-function'.
12625 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12626 to reflect an earlier change that beginning/end-of-defun functions
12627 jump between methods in a class definition, as well as top-level
12630 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12632 * minibuffer.el (minibuffer-complete): Don't just scroll
12633 a *Completions* that's been iconified.
12634 (minibuffer-force-complete): Make sure repetitions do cycle when going
12635 through completion-in-region -> minibuffer-complete.
12637 2013-04-15 Alan Mackenzie <acm@muc.de>
12639 Correct the placement of c-cpp-delimiters when there're #s not at
12642 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12643 place a submatch around the #.
12644 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12645 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12648 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12650 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12651 (advice--member-p): New arg `name'.
12652 (advice--add-function, advice-member-p): Use it (bug#14202).
12654 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12656 Reformulate java imenu-generic-expression.
12657 The old expression contained ill formed regexps.
12659 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12660 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12661 (cc-imenu-java-method-arg-regexp): New defconsts.
12662 (cc-imenu-java-build-type-args-regex): New defun.
12663 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12664 handling of spaces in the regexp.
12666 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12668 * textmodes/ispell.el (ispell-command-loop): Remove
12669 flyspell highlight of a word when ispell accepts it (bug #14178).
12671 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12673 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12674 uses code from the previous `ange-ftp-run-real-handler'.
12675 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12676 only in case that function exist. This is needed for proper
12677 unloading of Tramp.
12679 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12681 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12683 * textmodes/reftex.el (reftex-compile-variables): Use it.
12685 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12687 * files.el (normal-mode): Only use default major-mode if no other mode
12690 * emacs-lisp/trace.el (trace-values): New function.
12692 * files.el: Allow : in local variables (bug#14089).
12693 (hack-local-variable-regexp): New var.
12694 (hack-local-variables-prop-line, hack-local-variables): Use it.
12696 2013-04-13 Roland Winkler <winkler@gnu.org>
12698 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12699 data before it gets modified by bibtex-beginning-of-entry.
12701 2013-04-13 Roland Winkler <winkler@gnu.org>
12703 * textmodes/bibtex.el (bibtex-url): Doc fix.
12705 2013-04-13 Roland Winkler <winkler@gnu.org>
12707 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12708 does not visit a BibTeX file, exclude it from the list of buffers
12709 returned by bibtex-initialize.
12711 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12713 * window.el (split-window): Remove interactive form, since as a
12714 command this function is a special case of split-window-below.
12715 Correct doc string.
12717 2013-04-12 Roland Winkler <winkler@gnu.org>
12719 * faces.el (read-face-name): Do not override value of arg default.
12720 Allow single faces and strings as default values. Remove those
12721 elements from return value that are not faces.
12722 (describe-face): Simplify.
12723 (face-at-point): New optional args thing and multiple so that this
12724 function can provide the same functionality previously provided by
12726 (make-face-bold, make-face-unbold, make-face-italic)
12727 (make-face-unitalic, make-face-bold-italic, invert-face)
12728 (modify-face, read-face-and-attribute): Use face-at-point.
12730 * cus-edit.el (customize-face, customize-face-other-window)
12731 * cus-theme.el (custom-theme-add-face)
12732 * face-remap.el (buffer-face-set)
12733 * facemenu.el (facemenu-set-face): Use face-at-point.
12735 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12737 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12739 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12741 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12742 off leading { and trailing } from field values.
12744 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12746 * emacs-lisp/timer.el (timer--check): New function.
12747 (timer--time, timer-set-function, timer-event-handler): Use it.
12748 (timer-set-idle-time): Simplify.
12749 (timer--activate): CSE.
12750 (timer-event-handler): Give more info in error message.
12751 (internal-timer-start-idle): New function, moved from C.
12753 * mpc.el (mpc-proc): Add `restart' argument.
12754 (mpc-proc-cmd): Use it.
12755 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12756 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12759 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12761 * progmodes/sh-script.el: Implement `sh-mode' own
12762 `add-log-current-defun-function' (bug#14112).
12763 (sh-current-defun-name): New function.
12764 (sh-mode): Use the function.
12766 2013-04-09 Bastien Guerry <bzg@gnu.org>
12768 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12770 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12772 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12774 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12777 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12779 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12782 2013-04-07 Leo Liu <sdl.web@gmail.com>
12784 * pcmpl-x.el: New file.
12786 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12788 Do not set x-display-name until X connection is established.
12789 This is needed to prevent from weird situation described at
12790 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12791 * frame.el (make-frame): Set x-display-name after call to
12792 window system initialization function, not before.
12793 * term/x-win.el (x-initialize-window-system): Add optional
12794 display argument and use it.
12795 * term/w32-win.el (w32-initialize-window-system):
12796 * term/ns-win.el (ns-initialize-window-system):
12797 * term/pc-win.el (msdos-initialize-window-system):
12798 Add compatible optional display argument.
12800 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12802 * files.el (normal-backup-enable-predicate): On MS-Windows and
12803 MS-DOS compare truenames of temporary-file-directory and of the
12804 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12805 don't fail comparison by compare-strings. Also, compare file
12806 names case-insensitively on MS-Windows and MS-DOS.
12808 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12810 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12811 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12813 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12815 * whitespace.el (whitespace-color-on, whitespace-color-off):
12816 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12818 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12820 * ispell.el (ispell-set-spellchecker-params):
12821 Really set `ispell-args' for all equivs.
12823 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12825 * ido.el (ido-completions): Use extra elements of ido-decorations
12827 (ido-decorations): Update docstring.
12829 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12831 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12832 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12833 nil during initialization, in order not to miss changes since the
12834 file was opened. (Bug#14140)
12836 2013-04-05 Leo Liu <sdl.web@gmail.com>
12838 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12840 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12842 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12844 2013-04-04 Glenn Morris <rgm@gnu.org>
12846 * electric.el (electric-pair-inhibit-predicate): Add :version.
12848 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12850 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12851 when a package is required several times (bug#14082).
12853 2013-04-04 Roland Winkler <winkler@gnu.org>
12855 * faces.el (read-face-name): Behave as promised by the docstring.
12856 Assume that arg default is a list of faces.
12857 (describe-face): Call read-face-name with list of default faces.
12859 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12861 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12862 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12863 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12865 (bookmark-exit-hook-internal): Save even if list is empty.
12867 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12869 * emacs-lisp/package.el (package-pinned-packages): New var.
12870 (package--add-to-archive-contents): Obey it (bug#14118).
12872 2013-04-03 Alan Mackenzie <acm@muc.de>
12874 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12875 Also adapt to the new values of element 7 of a parse state.
12877 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12878 parameter `not-in-delimiter'. Handle being inside comment opener.
12879 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12880 character in case we're typing a '*' after a '/'.
12881 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12882 instead by passing the parameter to c-state-pp-to-literal.
12884 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12885 for elt. 7 of a parse state.
12887 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12889 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12890 * international/latin1-disp.el, international/mule-util.el:
12891 * language/cyril-util.el, language/european.el, language/ind-util.el:
12892 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12893 * language/tibetan.el, language/viet-util.el:
12894 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12896 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12898 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12899 (electric-pair-post-self-insert-function): Use it.
12900 (electric-pair-default-inhibit): New function, extracted from
12901 electric-pair-post-self-insert-function.
12903 2013-03-31 Roland Winkler <winkler@gnu.org>
12905 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12907 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12909 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12911 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12913 Un-indent after "pass" and "return" statements (Bug#13888)
12914 * progmodes/python.el (python-indent-block-enders): New var.
12915 (python-indent-calculate-indentation): Use it.
12917 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12919 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12920 defun. Defining it as defalias could introduce too eager
12921 byte-compiler optimization. (Bug#14030)
12923 2013-03-30 Chong Yidong <cyd@gnu.org>
12925 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12927 2013-03-30 Leo Liu <sdl.web@gmail.com>
12929 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12930 (kmacro-execute-from-register): Pass the keyboard macro to
12931 kmacro-call-macro or repeating won't work correctly.
12933 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12935 * progmodes/subword.el: Back to using `forward-symbol'.
12937 * subr.el (forward-whitespace, forward-symbol)
12938 (forward-same-syntax): Move from thingatpt.el.
12940 2013-03-29 Leo Liu <sdl.web@gmail.com>
12942 * kmacro.el (kmacro-to-register): New command.
12943 (kmacro-execute-from-register): New function.
12944 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12946 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12948 * mpc.el: Use defvar-local and setq-local.
12949 (mpc--proc-connect): Connection failures are not bugs.
12950 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12951 (mpc-volume-map): Bind to the up-events.
12953 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12955 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12956 instead of `forward-symbol'.
12958 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12961 (edebug--recursive-edit): Use it.
12962 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12963 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12965 2013-03-28 Leo Liu <sdl.web@gmail.com>
12967 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12969 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12971 * facemenu.el (list-colors-callback): New defvar.
12972 (list-colors-redisplay): New function.
12973 (list-colors-display): Install list-colors-redisplay as the
12974 revert-buffer-function. (Bug#14063)
12976 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12978 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12979 and suffixes don't overlap (bug#14061).
12981 * case-table.el: Use lexical-binding.
12982 (case-table-get-table): New function.
12983 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12985 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12987 * progmodes/subword.el: Add `superword-mode' to do word motion
12988 over symbol_words (parallels and leverages `subword-mode' which
12989 does word motion inside MixedCaseWords).
12991 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12993 * eshell/em-unix.el: Move su and sudo to...
12994 * eshell/em-tramp.el: ...Eshell tramp module.
12996 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12998 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12999 Change return value to be a sexp. Delay `get-buffer' to after
13000 restoring the desktop (bug#13951).
13002 2013-03-26 Leo Liu <sdl.web@gmail.com>
13004 * register.el: Move semantic tag handling back to
13005 cedet/semantic/senator.el. (Bug#14052)
13007 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13009 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13010 into the prompt either (bug#13963).
13012 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13014 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13015 part of "(error-foo)".
13017 2013-03-24 Juri Linkov <juri@jurta.org>
13019 * replace.el (list-matching-lines-prefix-face): New defcustom.
13020 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13021 `occur-engine' if `face-differs-from-default-p' returns t.
13022 (occur-engine): Add `,' inside backquote construct to evaluate
13023 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13024 Pass `prefix-face' to the functions `occur-context-lines' and
13025 `occur-engine-add-prefix'.
13026 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13027 `prefix-face' and propertize the prefix with `prefix-face'.
13030 2013-03-24 Leo Liu <sdl.web@gmail.com>
13032 * nxml/rng-valid.el (rng-validate-while-idle)
13033 (rng-validate-quick-while-idle): Guard against deleted buffer.
13036 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13037 is the last entry in kill-buffer-hook.
13039 * files.el (kill-buffer-hook): Doc fix.
13041 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13043 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13044 Make it safe-local.
13046 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13048 2013-03-23 Leo Liu <sdl.web@gmail.com>
13050 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13053 * nxml/rng-valid.el (rng-validate-mode)
13054 (rng-after-change-function, rng-do-some-validation):
13055 * nxml/rng-maint.el (rng-validate-buffer):
13056 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13057 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13058 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13059 (nxml-extend-after-change-region): Use with-silent-modifications.
13061 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13064 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13065 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13066 timer-idle-list. (Bug#13999)
13068 2013-03-23 Juri Linkov <juri@jurta.org>
13070 * info.el (info-index-match): New face.
13071 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13072 main pattern and add text properties with the new face to matches
13073 in index entries relative to the beginning of the index entry.
13076 2013-03-21 Eric Ludlam <zappo@gnu.org>
13078 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13079 Inhibit read only while inserting objects.
13081 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13083 * progmodes/cfengine.el: Update docs to mention
13084 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13085 symbol motion. Remove "_" from the word syntax.
13087 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13089 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13090 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13092 2013-03-20 Juri Linkov <juri@jurta.org>
13094 * info.el (Info-next-reference-or-link)
13095 (Info-prev-reference-or-link): New functions.
13096 (Info-next-reference, Info-prev-reference): Use them.
13097 (Info-try-follow-nearest-node): Handle footnote navigation.
13098 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13100 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13102 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13103 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13105 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13107 Suppress unnecessary non-ASCII chatter during build process.
13108 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13109 (batch-skkdic-convert): Suppress most of the chatter.
13110 It's not needed so much now that machines are faster,
13111 and its non-ASCII component was confusing; see Dmitry Gutov in
13112 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13114 2013-03-20 Leo Liu <sdl.web@gmail.com>
13116 * ido.el (ido-chop): Fix bug#10994.
13118 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13120 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13122 (whitespace-color-on, whitespace-color-off):
13123 Use `font-lock-fontify-buffer' (Bug#13817).
13125 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13127 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13128 remapping in mode-line.
13129 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13131 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13133 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13134 value for `whitespace-line' face (Bug#13875).
13135 (whitespace-font-lock-keywords): Change description.
13136 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13137 the constructed keywords instead.
13138 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13140 2013-03-19 Leo Liu <sdl.web@gmail.com>
13142 * progmodes/compile.el (compilation-display-error): New command.
13143 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13146 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13148 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13150 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13152 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13154 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13156 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13158 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13159 * net/tramp-gvfs.el (top):
13160 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13161 (tramp-handle-shell-command): Use it.
13162 (tramp-dissect-file-name): Raise an error when hostname is a
13163 method name, and neither method nor user is specified.
13165 * net/trampver.el: Update release number.
13167 2013-03-18 Leo Liu <sdl.web@gmail.com>
13169 Make sure eldoc can be turned off properly.
13170 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13172 (eldoc-display-message-p): Revert last change.
13173 (eldoc-display-message-no-interference-p)
13174 (eldoc-print-current-symbol-info): Tweak.
13176 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13178 * doc-view.el (doc-view-new-window-function): Check the new window
13179 overlay's display property instead the char property of the
13180 buffer's first char. Use `with-selected-window' instead of
13181 `save-window-excursion' with `select-window'.
13182 (doc-view-document->bitmap): Check the current doc-view overlay's
13183 display property instead the char property of the buffer's first char.
13185 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13187 Automate the build of ja-dic.el (Bug#13984).
13188 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13189 from the input, rather than assume that it's been done for us by the
13190 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13191 the current date into a ja-dic.el comment, as that complicates
13192 regression testing.
13194 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13196 * whitespace.el: Fix double evaluation.
13197 (whitespace-space, whitespace-hspace, whitespace-tab)
13198 (whitespace-newline, whitespace-trailing, whitespace-line)
13199 (whitespace-space-before-tab, whitespace-indentation)
13200 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13202 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13203 (whitespace-color-on): Use a single font-lock-add-keywords call.
13204 Fix double-evaluation of face variables.
13206 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13208 * net/tramp-adb.el (tramp-adb-parse-device-names):
13209 Use `start-process' instead of `call-process'. Otherwise, the
13210 function might be blocked under MS Windows. (Bug#13299)
13212 2013-03-17 Leo Liu <sdl.web@gmail.com>
13214 Extend eldoc to display info in the mode-line. (Bug#13978)
13215 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13216 (eldoc-mode-line-string): New variable.
13217 (eldoc-minibuffer-message): New function.
13218 (eldoc-message-function): New variable.
13219 (eldoc-message): Use it.
13220 (eldoc-display-message-p)
13221 (eldoc-display-message-no-interference-p):
13222 Support eldoc-post-insert-mode.
13224 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13225 (eval-expression): Run it.
13227 2013-03-17 Roland Winkler <winkler@gnu.org>
13229 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13230 strings in the list of return values.
13232 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13234 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13235 radix before checking for HMS forms.
13237 2013-03-16 Leo Liu <sdl.web@gmail.com>
13239 * progmodes/scheme.el: Add indentation and font-locking for λ.
13242 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13244 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13245 token before point (bug#13942).
13247 2013-03-16 Leo Liu <sdl.web@gmail.com>
13249 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13251 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13253 * startup.el (command-line-normalize-file-name): Fix handling of
13254 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13255 <xfq.free@gmail.com> in
13256 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13258 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13260 Sync with Tramp 2.2.7.
13262 * net/trampver.el: Update release number.
13264 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13266 * doc-view.el: Fix bug#13887.
13267 (doc-view-insert-image): Don't modify overlay associated to
13268 non-live windows, and implement horizontal centering of image in
13269 case it's smaller than the window.
13270 (doc-view-new-window-function): Force redisplay of new windows on
13273 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13275 * saveplace.el (save-place-alist-to-file): Don't sort
13276 `save-place-alist', just pretty-print it (bug#13882).
13278 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13280 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13281 Check whether `default-file-name-coding-system' is bound.
13282 It isn't in XEmacs.
13284 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13286 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13287 backquotes for `obsolete' (bug#13929).
13289 * international/mule.el (find-auto-coding): Include file name in
13290 obsolescence warning (bug#13922).
13292 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13294 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13295 for CFEngine 3-specific indentation.
13296 (cfengine3-indent-line): Use it. Fix up category regex.
13297 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13299 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13301 * type-break.el (type-break-file-name):
13302 * textmodes/remember.el (remember-data-file):
13303 * strokes.el (strokes-file):
13304 * shadowfile.el (shadow-initialize):
13305 * saveplace.el (save-place-file):
13306 * ps-bdf.el (bdf-cache-file):
13307 * progmodes/idlwave.el (idlwave-config-directory):
13308 * net/quickurl.el (quickurl-url-file):
13309 * international/kkc.el (kkc-init-file-name):
13310 * ido.el (ido-save-directory-list-file):
13311 * emulation/viper.el (viper-custom-file-name):
13312 * emulation/vip.el (vip-startup-file):
13313 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13314 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13316 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13318 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13319 * language/thai-word.el: Switch to UTF-8.
13321 See ChangeLog.16 for earlier changes.
13323 ;; Local Variables:
13327 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13329 This file is part of GNU Emacs.
13331 GNU Emacs is free software: you can redistribute it and/or modify
13332 it under the terms of the GNU General Public License as published by
13333 the Free Software Foundation, either version 3 of the License, or
13334 (at your option) any later version.
13336 GNU Emacs is distributed in the hope that it will be useful,
13337 but WITHOUT ANY WARRANTY; without even the implied warranty of
13338 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13339 GNU General Public License for more details.
13341 You should have received a copy of the GNU General Public License
13342 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.