1 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
3 * simple.el (choose-completion): Fix docstring typo.
4 (read-quoted-char-radix): Remove unneeded * in docstring.
5 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
6 Don't escape parentheses unnecessarily in docstrings.
8 2014-02-21 Martin Rudalics <rudalics@gmx.at>
10 Fix handling of window-min-height/-width (Bug#16738).
11 * window.el (window--dump-window, window--dump-frame): New
13 (window--min-size-1): Account for window dividers. When
14 window-resize-pixelwise is nil, delay rounding till after the
15 sum of the window components has been calculated.
16 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
17 nil make sure at least one text line and two text columns remain
19 (window-resize): Signal an error when window-resize-apply fails.
20 (window--resize-child-windows): Fix calculation of by how many
21 pixels a window can still be shrunk via window-new-normal.
22 (adjust-window-trailing-edge): Call window--resizable with
23 correct TRAIL argument.
25 (with-temp-buffer-window): Don't evaluate BODY within
26 with-current-buffer (Bug#16816).
28 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
30 * net/tramp.el (tramp-check-cached-permissions):
31 Call `file-attributes' with `suffix' being a symbol but a string.
33 2014-02-21 Daniel Colascione <dancol@dancol.org>
35 * net/dbus.el (dbus-init-bus-1): Declare new subr.
36 (dbus-init-bus): New function: call into dbus-init-bus-1
37 and installs a handler for the disconnect signal.
38 (dbus-call-method): Rewrite to look for result in cons.
39 (dbus-call-method-handler): Store result in cons.
40 (dbus-check-event): Recognize events with nil sender as valid.
41 (dbus-handle-bus-disconnect): New function. React to bus
42 disconnection signal by synthesizing dbus error for each
43 pending synchronous or asynchronous call.
44 (dbus-notice-synchronous-call-errors): New function.
45 (dbus-handle-event): Raise errors directly only when `dbus-debug'
46 is true, not all the time.
48 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
50 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
51 Remove obsolescence declarations, these variables do not exist anymore.
53 * savehist.el (savehist-save-minibuffer-history)
54 (savehist-additional-variables, savehist-file, savehist-mode-hook)
55 (savehist-save-hook, savehist-coding-system, savehist-loaded)
56 (savehist-load, savehist-install, savehist-autosave): Fix typos;
57 mostly, refer to "Savehist mode" when talking about the mode,
60 * saveplace.el (save-place): Remove redundant info in docstring.
61 (save-place-forget-unreadable-files, toggle-save-place)
62 (save-place-forget-unreadable-files, save-place-dired-hook):
63 Fix typos and remove unneeded backslashes.
65 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
67 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
68 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
70 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
71 <insert-directory>: Use `tramp-handle-insert-directory.
72 (tramp-gvfs-handle-insert-directory): Remove function.
74 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
75 Call `tramp-handle-insert-directory'.
77 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
79 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
80 before the start of buffer/region (bug#16799).
82 2014-02-20 Glenn Morris <rgm@gnu.org>
84 * isearch.el (search-invisible): Doc fix.
86 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
88 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
91 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
93 * frameset.el (frameset-restore): Delay removing an old frame's
94 duplicate id until the new frame has been correctly created.
96 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
98 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
99 (tramp-check-cached-permissions): Call `file-attributes' if the
102 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
103 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
105 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
106 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
107 (tramp-gvfs-maybe-open-connection): Set always connection
108 properties, even if target is mounted already.
110 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
111 Set tramp-autoload cookie.
112 (tramp-get-remote-touch): New defun.
113 (tramp-sh-handle-set-file-times): Use it.
114 (tramp-sh-handle-directory-files-and-attributes):
115 Use `tramp-handle-directory-files-and-attributes' if neither stat
116 nor perl are available on the remote host.
118 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
119 "/". Write long listing only when "l" belongs to the switches.
121 * net/trampver.el: Update release number.
123 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
125 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
127 2014-02-19 Martin Rudalics <rudalics@gmx.at>
129 * window.el (window-state-put): Allow WINDOW to refer to an
130 internal window (Bug#16793).
132 2014-02-19 Glenn Morris <rgm@gnu.org>
134 * textmodes/remember.el: Move provide statement to end.
135 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
136 (remember-notes): Doc fixes.
138 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
140 * delsel.el (delete-char): Restore incorrectly erased property
143 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
145 * frameset.el (frameset--restore-frame): When a frame is being reused
146 and its root window is not alive, delete all the frame's windows before
147 restoring the window state. This works around the issue in bug#16793.
149 2014-02-18 Glenn Morris <rgm@gnu.org>
151 * textmodes/remember.el (remember-data-directory)
152 (remember-directory-file-name-format, remember-store-in-files)
153 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
154 (remember-notes-save-and-bury-buffer)
155 (remember-notes--kill-buffer-query): Doc fixes.
157 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
159 2014-02-17 Alan Mackenzie <acm@muc.de>
161 Connect electric-indent-mode up with CC Mode. Bug #15478.
162 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
163 to electric-indent-{,local-}-mode.
164 (c-basic-common-init): Set electric-indent-inhibit.
165 Initialise c-electric-flag from electric-indent-mode.
166 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
167 New hook functions which propagate electric-indent-mode to CC mode.
169 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
170 hit, toggle electric-indent-local-mode.
172 * electric.el (electric-indent-mode-has-been-called):
175 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
177 * frameset.el (frameset-cfg-id): New function.
178 (frameset--reuse-frame, frameset-restore): Use it.
179 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
181 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
183 * ido.el (ido-file-internal): Remove unused var `d'.
184 Use \` for to match BoS. Fit within 80n columns.
186 2014-02-17 Daniel Colascione <dancol@dancol.org>
188 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
189 dbus-call-method check for completion using a busy-wait loop with
192 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
194 Sync with Tramp 2.2.9.
196 * net/trampver.el: Update release number.
198 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
200 * ido.el (ido-file-internal): Don't add the name of an existing
201 directory twice. (Bug#16747)
203 2014-02-16 Glenn Morris <rgm@gnu.org>
205 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
206 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
208 2014-02-15 Michael R. Mauger <michael@mauger.com>
210 * progmodes/sql.el: Version 3.4
211 (sql-oracle-options): New default value ("-L").
212 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
213 (sql-placeholders-filter): Correct placeholder pattern.
214 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
215 (sql-login-delay): New variable.
216 (sql-product-interactive): Use it.
218 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
220 * frameset.el (frameset--jump-to-register): Check that buffer is live
223 2014-02-15 Glenn Morris <rgm@gnu.org>
225 * info.el (info-initialize): Revert 2014-01-10 change.
227 2014-02-14 Glenn Morris <rgm@gnu.org>
229 * replace.el (map-query-replace-regexp)
230 (read-regexp-defaults-function, read-regexp): Doc fixes.
232 * dired.el (dired-read-regexp):
233 * faces.el (list-faces-display):
234 * misearch.el (multi-isearch-read-matching-buffers)
235 (multi-isearch-read-matching-files):
236 * play/cookie1.el (cookie-apropos):
237 * progmodes/grep.el (grep-read-regexp): Doc fixes.
239 * textmodes/remember.el (remember): Use frameset-to-register
240 rather than frame-configuration-to-register.
242 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
244 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
245 incorrect keybinding.
247 2014-02-13 Daniel Colascione <dancol@dancol.org>
249 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
250 when adding overlays so that line numbers from compiler match line
253 2014-02-13 Glenn Morris <rgm@gnu.org>
255 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
257 * jit-lock.el (jit-lock-mode): Doc fix.
259 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
261 * apropos.el (apropos-read-pattern): When the user passes an empty
262 string, give a more helpful error message than "Wrong type
263 argument: stringp, nil".
265 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
267 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
269 2014-02-13 Glenn Morris <rgm@gnu.org>
271 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
273 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
275 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
276 shift-select commands.
278 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
280 * progmodes/js.el (js-indent-line): Don't widen.
281 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
283 2014-02-12 Glenn Morris <rgm@gnu.org>
285 * icomplete.el (icomplete): Add info-link to defgroup.
286 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
287 (icomplete-minibuffer-map, icomplete-mode)
288 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
290 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
291 (package-menu-filter): Rename from package-menu-filter-interactive.
294 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
296 * frameset.el (frameset--jump-to-register): Select the required
297 window and buffer before restoring position (bug#16696).
299 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
301 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
303 2014-02-10 Glenn Morris <rgm@gnu.org>
305 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
307 2014-02-10 Eli Zaretskii <eliz@gnu.org>
309 * w32-common-fns.el (x-get-selection): Doc fix.
310 * select.el (x-get-selection): Doc fix. (Bug#15109)
312 * face-remap.el (face-remap-add-relative)
313 (face-remap-remove-relative, face-remap-reset-base)
314 (face-remap-set-base): Call force-mode-line-update to redisplay
315 the current buffer due to potential change in faces. (Bug#16709)
317 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
319 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
320 script more robustly.
322 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
324 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
326 * simple.el (choose-completion): Doc fix (bug#14160).
328 * subr.el (event-start): Say what a nil EVENT value means.
330 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
333 * progmodes/grep.el (find-program): Doc fix (bug#14289).
335 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
337 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
339 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
340 predicate function (bug#15455).
342 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
344 * ielm.el (inferior-emacs-lisp-mode): Instead of
345 `comment-use-global-state', set `comment-use-syntax'.
347 2014-02-10 Glenn Morris <rgm@gnu.org>
349 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
351 2014-02-09 Alan Mackenzie <acm@muc.de>
353 Fix c-invalidate-state-cache on narrowed buffers.
354 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
355 Widen when setting and clearing the CPP delimiter properties.
357 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
359 * help.el (describe-bindings): Doc fix (bug#9888).
361 * files.el (save-buffer): Use ARG as the parameter name for
362 consistency (bug#10346).
363 (save-buffer): Clarify the 0 argument (bug#10346).
365 * cus-edit.el (customize-apropos): Fix error string.
366 (custom-buffer-create): Doc fix (bug#11122).
367 (custom-sort-items): Doc fix (bug#11121).
369 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
371 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
372 (icomplete-simple-completing-p): Mention the previous variable.
374 * font-lock.el (font-lock-value-in-major-mode): Clarify the
375 meaning of the parameter (bug#12282).
377 * files.el (find-file-noselect): Clarify prompt when changing
378 readedness (bug#13261).
379 (locate-file): Suffixes aren't returned, so don't say that they
381 (backup-inhibited): Doc clarification (bug#12525).
383 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
384 before we actually start to delete things (bug#16331).
386 * subr.el (event-start): Doc fix (bug#14228).
389 2014-02-09 Glenn Morris <rgm@gnu.org>
391 * emacs-lisp/warnings.el (lwarn):
392 Empower help-enable-auto-load. (Bug#15940)
394 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
396 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
399 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
401 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
402 Insert output at end of buffer. (Bug#16120)
404 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
406 * simple.el (choose-completion-string-functions): Document new
407 calling convention (bug#14153).
408 (execute-extended-command): Clarify doc string (bug#13373).
410 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
412 * find-dired.el (find-name-dired): Doc fix (bug#14290).
413 (find-grep-dired): Doc fix (bug#14288).
415 2014-02-08 Juri Linkov <juri@jurta.org>
417 * isearch.el (isearch-quote-char): Check character validity
418 like in `quoted-insert' (bug#16677).
420 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
422 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
424 * isearch.el (isearch-hide-immediately): Doc clarification
427 * simple.el (line-move): Document utility function used many
428 places in the Emacs sources (bug#14843).
430 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
431 (dired-prev-marked-file): Doc fix (bug#14855).
432 (dired-up-directory): Doc fix (bug#14848).
434 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
436 * files.el (file-relative-name): Doc fix (bug#15159).
438 * fringe.el (fringe-styles): Doc fix (bug#15239).
440 * isearch.el (isearch-filter-predicate): Documentation typo fix
443 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
445 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
447 * replace.el (replace-match-maybe-edit): Doc clarification
450 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
452 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
454 2014-02-08 Glenn Morris <rgm@gnu.org>
456 * help-fns.el (describe-variable):
457 Check {file,dir}-local-variables-alist, and buffer-file-name,
458 in the correct buffer.
460 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
462 * help-fns.el (describe-variable): Fix the case where
463 a value is directory-local with no dir-locals file. (Bug#16635)
465 2014-02-08 Glenn Morris <rgm@gnu.org>
467 * abbrev.el (edit-abbrevs-mode):
468 Derive from fundamental-mode. (Bug#16682)
470 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
472 * simple.el (quoted-insert): Check character validity (bug#16677).
474 2014-02-07 Juri Linkov <juri@jurta.org>
476 * desktop.el (desktop-read): Claim the lock when the owner is not
477 the current process. (Bug#16157)
479 2014-02-07 Juri Linkov <juri@jurta.org>
481 * desktop.el (desktop-buffers-not-to-save): Change default from nil
482 to "\\` ". (Bug#16651)
484 2014-02-07 Juri Linkov <juri@jurta.org>
486 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
487 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
488 (desktop-auto-save-cancel-timer): New function with some code from
489 `desktop-auto-save-set-timer'.
490 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
491 Instead of setting `desktop-save-mode' to nil, call
492 `desktop-save-mode' with arg 0. (Bug#16630)
494 2014-02-07 Glenn Morris <rgm@gnu.org>
496 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
497 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
498 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
500 * obsolete/iswitchb.el: Move to obsolete/.
501 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
502 since obsolete/ is not scanned for autoloads.
503 * emacs-lisp/authors.el (authors-valid-file-names):
506 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
507 Disable now non-functional find-file-hook.
509 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
511 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
512 instead of ";" in order to avoid additional prompts. Let heredoc
513 scripts read from tty. (Bug#16582)
514 (tramp-send-command): No special handling of heredocs, it isn't
517 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
519 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
520 with a space (bug#16664). Limit the symbols considered to the ones
521 that are bound or fbound (bug#16646).
523 2014-02-06 Glenn Morris <rgm@gnu.org>
525 * epa.el (epa-mail-aliases): Doc fix.
527 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
529 * emacs-lisp/lisp.el (lisp-completion-at-point):
530 Use `completion-table-merge' instead of `completion-table-in-turn'
533 * minibuffer.el (completion-table-merge): New function.
535 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
537 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
538 (tramp-sh-handle-set-file-acl)
539 (tramp-sh-handle-start-file-process)
540 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
541 (tramp-find-executable, tramp-send-command): Use it.
543 2014-02-05 Glenn Morris <rgm@gnu.org>
545 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
547 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
549 * progmodes/python.el (python-shell-send-string):
550 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
552 2014-02-04 Anders Lindgren <andlind@gmail.com>
554 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
555 the names (bug#16620).
557 2014-02-03 Martin Rudalics <rudalics@gmx.at>
559 * faces.el (window-divider): New default value. Rewrite doc-string.
560 (window-divider-first-pixel, window-divider-last-pixel): New faces.
562 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
564 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
565 `protected' and `public' can also be called without arguments.
567 2014-02-03 Glenn Morris <rgm@gnu.org>
569 * register.el (window-configuration-to-register)
570 (frame-configuration-to-register): Unadvertise unused argument.
571 * frameset.el (frameset-to-register): Remove unused argument.
573 * frameset.el (frameset-to-register):
574 * kmacro.el (kmacro-to-register):
575 * register.el (increment-register):
576 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
577 (calc-append-to-register, calc-prepend-to-register):
578 * play/gametree.el (gametree-layout-to-register)
579 (gametree-apply-register-layout):
580 * textmodes/picture.el (picture-clear-rectangle-to-register)
581 (picture-yank-rectangle-from-register):
582 * vc/emerge.el (emerge-combine-versions-register):
583 Use register-read-with-preview to read registers.
585 2014-02-03 João Távora <joaotavora@gmail.com>
587 * elec-pair.el (electric-pair-backward-delete-char): Don't error
588 when at beginning of (possibly narrowed) buffer.
590 2014-02-02 Daniel Colascione <dancol@dancol.org>
592 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
593 Also try to display local help from just before point.
595 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
597 c-parse-state. Don't "append-lower-brace-pair" in certain
598 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
599 recognised as a comment.
601 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
602 as well as normal comment starter.
603 (c-parse-state-get-strategy): Extra return possibility
605 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
606 return value list to indicate replacement of a brace-pair cons
608 (c-parse-state-1): With 'back-and-forward, only call
609 c-append-lower-brace-pair-to state-cache when cons-separated.
611 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
613 * term/ns-win.el (ns-suspend-error): New function.
614 (ns-initialize-window-system): Add ns-suspend-error to
615 suspend-hook (Bug#16612).
617 2014-02-02 Daniel Colascione <dancol@dancol.org>
619 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
621 2014-02-02 Daniel Colascione <dancol@dancol.org>
623 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
625 2014-02-02 Glenn Morris <rgm@gnu.org>
627 * register.el (register-read-with-preview, point-to-register)
628 (window-configuration-to-register, frame-configuration-to-register)
629 (jump-to-register, number-to-register, view-register, insert-register)
630 (copy-to-register, append-to-register, prepend-to-register)
631 (copy-rectangle-to-register): Doc fixes.
633 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
635 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
636 * emacs-lisp/find-func.el (find-function-C-source): Idem.
637 * emacs-lisp/nadvice.el (advice--cd*r): New function.
638 * help-fns.el (describe-function-1): Use it.
640 2014-02-02 Glenn Morris <rgm@gnu.org>
642 * register.el (register-preview-default): New function,
643 split from register-preview.
644 (register-preview-function): Rename from register-preview-functions,
646 (register-preview): Use register-preview-function.
647 (register-read-with-preview): Error on non-character event. (Bug#16595)
649 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
651 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
652 `:' before binary operators (bug#16609). Don't check for `:'
653 before `[' and `(', or their syntax status. A percent literal
654 can't end with either.
655 (ruby-font-lock-keywords): For built-ins that require arguments,
656 check that they're followed by something that looks like argument
659 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
661 * subr.el (butlast): Document what an omitted N means (bug#13437).
664 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
666 * net/shr.el (shr-generic): Make into a defsubst to make the stack
667 depth shallower (bug#16587).
668 (shr-tag-svg): Respect `shr-inhibit-images'.
669 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
671 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
673 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
674 (ruby-smie-grammar): Make "." right-associative. Make its priority
675 lower than the ternary and all binary operators.
676 (ruby-smie-rules): Indent "(" relative to the first non-"."
677 parent, or the first "." parent at indentation.
678 Use `ruby-align-chained-calls' for indentation of "." tokens.
681 2014-01-31 Juri Linkov <juri@jurta.org>
683 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
684 from `make-hash-table'.
686 * textmodes/ispell.el (ispell-init-process): Change message format
687 to be consistent with other messages.
689 2014-01-31 Glenn Morris <rgm@gnu.org>
691 * delsel.el (delete-selection-mode): Doc fix.
693 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
694 (trace-function-background): Doc fixes.
696 * ido.el (ido-use-virtual-buffers): Doc fix.
697 Reset :version, since the default value has not changed.
699 * register.el (register-preview-delay, register-read-with-preview):
702 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
703 do not mess with mail-buffer position (fixes 2009-11-03 change).
704 * progmodes/cc-mode.el (c-submit-bug-report):
705 Check auto-fill-mode is bound. (Bug#16592)
707 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
709 * startup.el (fancy-splash-image-file): New function,
710 split from fancy-splash-head.
711 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
712 so that we are both using the same image. (Bug#16574)
714 2014-01-30 Glenn Morris <rgm@gnu.org>
716 * simple.el (eval-expression): Doc fix.
718 * hexl.el (hexl-mode-hook):
719 * ielm.el (ielm-mode-hook):
720 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
721 (lisp-interaction-mode-hook):
722 * progmodes/cfengine.e (cfengine3-documentation-function):
723 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
725 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
727 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
728 is a symbol (bug#16584).
730 2014-01-30 Glenn Morris <rgm@gnu.org>
732 * help.el (help-for-help-internal): Add "P" to text.
734 2014-01-29 Glenn Morris <rgm@gnu.org>
736 * simple.el (just-one-space, cycle-spacing): Doc fixes.
738 2014-01-28 Martin Rudalics <rudalics@gmx.at>
740 * window.el (fit-frame-to-buffer): Fix calculations for margins and
743 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
745 * progmodes/hideif.el: Extend to full CPP expression syntax.
746 (hif-token-alist): Add missing tokens.
747 (hif-token-regexp): Add support for float/octal/hex immediates.
748 (hif-string-literal-regexp): New const.
749 (hif-tokenize): Recognize strings and float/octal/hex immediates.
750 (hif-exprlist): New function.
751 (hif-parse-if-exp): Use it.
752 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
753 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
754 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
755 (hif-logxor, hif-comma): New functions.
757 2014-01-28 Glenn Morris <rgm@gnu.org>
759 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
761 * indent.el (tab-stop-list): Doc fix. Add :version.
763 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
764 (cvs-append-to-ignore): Add compatibility alias.
766 2014-01-27 Glenn Morris <rgm@gnu.org>
768 * dired.el (dired-hide-details-mode): Don't autoload it,
769 since it cannot be used outside Dired buffers anyway.
771 * emulation/cua-base.el (cua-mode): Doc fix.
773 * dired.el (dired-hide-details-hide-symlink-targets)
774 (dired-hide-details-hide-information-lines)
775 (dired-hide-details-mode): Doc fixes.
777 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
778 * strokes.el (strokes-file): Doc fix. Bump :version.
779 (strokes-help): Doc fix.
780 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
781 * emulation/viper.el (viper): Doc fix for custom group.
782 (top-level): Remove oh-so-no-longer-relevant text about vip.
783 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
785 * ido.el (ido-save-directory-list-file):
786 * saveplace.el (save-place-file):
787 * calendar/timeclock.el (timeclock-file):
788 * net/quickurl.el (quickurl-url-file):
789 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
790 * progmodes/idlwave.el (idlwave-config-directory):
791 * textmodes/remember.el (remember-data-file):
794 2014-01-26 Glenn Morris <rgm@gnu.org>
796 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
797 Doc fix. Make obsolete.
798 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
800 * sort.el (delete-duplicate-lines): Doc fix.
802 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
804 * progmodes/ada-mode.el (ada):
805 * woman.el (woman): Link to info manual and Commentary section.
807 * progmodes/flymake.el (flymake):
808 * nxml/nxml-mode.el (nxml):
810 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
811 * htmlfontify.el (htmlfontify):
814 * ido.el (ido): Link to info manual.
816 2014-01-25 Leo Liu <sdl.web@gmail.com>
818 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
820 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
822 * net/shr.el (shr-tag-img): Prefer the title over the alt text
825 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
827 * net/eww.el (eww-download-callback):
828 Fix reference to eww-download-directory.
830 * emacs-lisp/bytecomp.el (byte-compile-file):
831 Remove unused local variable `file-name'.
833 2014-01-24 Glenn Morris <rgm@gnu.org>
835 * woman.el (woman-default-faces, woman-monochrome-faces):
836 Fix obsolescence specification.
838 * subr.el (with-demoted-errors): Doc fix.
840 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
842 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
843 (cl--macroexp-fboundp): New function.
844 (cl--make-type-test): Use it.
846 2014-01-23 Glenn Morris <rgm@gnu.org>
848 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
849 * simple.el (eval-expression): Doc fixes.
851 2014-01-22 Glenn Morris <rgm@gnu.org>
853 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
855 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
857 * emacs-lisp/package.el: Write files silently.
858 (package-autoload-ensure-default-file, package--write-file-no-coding)
859 (package-generate-description-file, package--download-one-archive)
860 (package-install-from-archive): Tell `write-region' to stay quiet.
861 (package-menu-mode, package-menu--print-info): Omit the Archive column
862 if there's only one archive.
863 (package-all-keywords, package--has-keyword-p): Remove dead code.
865 2014-01-22 Glenn Morris <rgm@gnu.org>
867 * version.el (emacs-bzr-version-bzr): Fix typo.
869 * version.el (emacs-repository-get-version):
870 Check either .bzr or .git, but not both.
871 Make the git case actually use the DIR argument, and return nil
872 rather than the empty string.
873 Avoid error if .git exists but the git executable is not found.
875 2014-01-22 Martin Rudalics <rudalics@gmx.at>
877 Fixes in window size functions around Bug#16430 and Bug#16470.
878 * window.el (window-total-size, window-size): New argument ROUND.
879 (window--min-delta-1, window-min-delta, window--max-delta-1):
880 Be more conservative when calculating the numbers of lines or
881 columns a window can shrink (Bug#16430).
882 (fit-window-to-buffer): Simplify code.
883 * term.el (term-window-width): Call window-body-width again.
885 2014-01-22 Glenn Morris <rgm@gnu.org>
887 * image.el (image-format-suffixes): Doc fix.
889 * international/quail.el (quail-define-package): Doc fix.
891 * emacs-lisp/authors.el (authors-valid-file-names):
892 (authors-renamed-files-alist): Additions.
894 * vc/vc-git.el (vc-git-print-log): Remove --follow;
895 reverts 2014-01-09 change. (Bug#16422)
897 * calc/calc-embed.el (thing-at-point-looking-at):
898 * emacs-lisp/map-ynp.el (x-popup-dialog):
899 * obsolete/lmenu.el (x-popup-dialog):
900 * emacs-lisp/package.el (url-recreate-url):
901 * mail/mailclient.el (clipboard-kill-ring-save):
902 * subr.el (x-popup-dialog): Update declaration.
903 * mail/rmail.el (rmail-mime-message-p):
904 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
906 2014-01-21 Daniel Colascione <dancol@dancol.org>
908 * progmodes/sh-script.el (sh--inside-noncommand-expression):
909 Correctly detect when we're inside an arithmetic expansion form
910 containing nested parenthesis.
911 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
912 to detect cases where we shouldn't expand "<<" to a heredoc
915 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
917 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
918 (eldoc--message-command-p): New function.
919 (eldoc-display-message-p): Use it.
920 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
921 message is not automatically erased for us.
922 (eldoc-print-current-symbol-info): Erase previous message, if any.
924 2014-01-21 Tassilo Horn <tsdh@gnu.org>
926 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
927 specify it's an interactive function.
929 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
930 Fix regex used for scanning for citation keys which failed for
931 citations with optional arguments.
933 2014-01-21 Leo Liu <sdl.web@gmail.com>
935 * simple.el (read--expression): Don't enable eldoc-mode.
937 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
939 * simple.el (move-beginning-of-line): Make sure we don't move forward
942 2014-01-20 Juri Linkov <juri@jurta.org>
944 * saveplace.el (toggle-save-place, save-place-to-alist)
945 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
946 'dired-mode) before checking for dired-directory. (Bug#16477)
948 2014-01-20 Juri Linkov <juri@jurta.org>
950 * indent.el (indent-line-to): Use backward-to-indentation
951 instead of back-to-indentation. (Bug#16461)
953 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
955 Revert some of the CANNOT_DUMP fix (Bug#16494).
956 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
957 but fixing this can wait until after the next release.
958 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
960 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
962 * eshell/esh-mode.el (eshell-password-prompt-regexp):
963 Use `password-word-equivalents'.
964 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
965 to t. (Bug#5664, Bug#13124)
967 2014-01-19 Alan Mackenzie <acm@muc.de>
969 Bind open-paren-in-column-0-is-defun-start to nil at some entry
971 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
972 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
973 * progmodes/cc-mode.el (c-before-change, c-after-change)
974 (c-font-lock-fontify-region): Bind it here.
976 2014-01-19 Martin Rudalics <rudalics@gmx.at>
978 * term.el (term-window-width): Call window-text-width instead of
979 window-width (Bug#16470).
981 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
983 * simple.el (password-word-equivalents): Remove duplicates.
984 Sort, to make this easier next time.
985 Downcase. Omit ": " after "jelszó".
987 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
989 * term/common-win.el (saved-region-selection): Defvar it.
990 (x-select-text): Set saved-region-selection (Bug#16382).
992 2014-01-18 Glenn Morris <rgm@gnu.org>
994 * emacs-lisp/authors.el (authors-aliases)
995 (authors-renamed-files-alist): Add some entries.
997 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
999 * net/tramp.el (tramp-password-prompt-regexp):
1000 Use `password-word-equivalents' if available.
1001 (tramp-action-password, tramp-process-one-action)
1002 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1004 2014-01-17 Chong Yidong <cyd@gnu.org>
1006 * simple.el (password-word-equivalents): New defcustom.
1007 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1009 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1012 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1014 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1015 (ruby-align-to-stmt-keywords): Change the default value.
1016 Use `ruby-alignable-keywords' to generate the possible customization
1018 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1019 keywords, check against the value of `ruby-alignable-keywords'
1020 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1022 2014-01-17 Glenn Morris <rgm@gnu.org>
1024 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1026 Make M-x authors return zero *Authors Errors* from current logs.
1027 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1028 (authors-ignored-files): Add some entries, remove others.
1029 (authors-ambiguous-files, authors-valid-file-names):
1031 (authors-renamed-files-alist): Add, remove, and adjust entries.
1032 (authors-renamed-files-regexps): Add some entries.
1033 Remove some very broad ones. Make some entries `lax'.
1034 (authors-lax-changelogs): New constant.
1035 (authors-disambiguate-file-name): Treat top-level specially.
1036 (authors-lax-changelog-p): New function.
1037 (authors-canonical-file-name): Check file as written against
1038 authors-valid-file-names. Do not special-case etc/.
1039 Handle `lax' logs and authors-renamed-files-regexps elements.
1041 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1043 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1044 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1047 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1049 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1050 Assume we're already in the proper buffer.
1051 Inspired by Anders Lindgren <andlind@gmail.com>.
1052 (follow-post-command-hook): Call it from the right buffer.
1053 (follow-comint-scroll-to-bottom): Adjust call.
1054 (follow-all-followers): Use get-buffer-window-list.
1056 2014-01-15 Daniel Colascione <dancol@dancol.org>
1058 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1059 `buffer-file-name' in interactive-form so that we don't leave
1060 pathless file names in `file-name-history'.
1062 2014-01-15 Juri Linkov <juri@jurta.org>
1064 * indent.el (indent-rigidly): Set deactivate-mark to nil
1065 in transient indentation mode. (Bug#16438)
1067 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1069 * emacs-lisp/package.el (package-desc-keywords): New function
1071 (describe-package-1, package-all-keywords)
1072 (package--has-keyword-p): Use it.
1074 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1076 * simple.el (define-alternatives): When creating the
1077 COMMAND-alternatives variable, assign COMMAND as its definition
1078 name so that `describe-variable' can relocate it.
1080 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1082 * font-lock.el (font-lock-keywords): Fix typo in docstring
1085 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1087 * ispell.el (ispell-region): Reset `in-comment' for new line
1088 instead of wrongly reset `add-coment' (bug#13577).
1090 2014-01-14 Daiki Ueno <ueno@gnu.org>
1092 * epa-file.el (epa-file-write-region): Encode the region according
1093 to `buffer-file-format'. Problem reported at:
1094 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1096 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1098 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1099 so it applies in the right buffer (bug#16410).
1101 2014-01-13 Daniel Colascione <dancol@dancol.org>
1103 * textmodes/rst.el (rst-define-key): Provide deprecated
1104 keybindings through named functions instead of anonymous ones so
1105 that "??" doesn't appear in describe-mode output.
1107 2014-01-13 Bastien Guerry <bzg@gnu.org>
1109 * simple.el (define-alternatives): Call the selected command
1110 interactively. When setting `COMMAND--implementation' for the
1111 first time, tell the user how to chose another implementation.
1112 Enhance the docstring.
1114 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1116 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1117 (log-edit--match-first-line): New function.
1118 (log-edit-font-lock-keywords): Use it.
1119 (log-edit-mode): Make jit-lock-defer-multiline work.
1121 2014-01-13 Bastien Guerry <bzg@gnu.org>
1123 * rect.el (rectangle-mark-mode): When the region is not active,
1124 display a message saying that the mark as been set and that
1125 rectangle mode is in use.
1126 (rectangle--highlight-for-redisplay): Only put an overlay with a
1127 visible vertical bar when (display-graphic-p) is non-nil.
1128 This partially fixes Bug#16403.
1130 2014-01-13 Juri Linkov <juri@jurta.org>
1132 * info.el (Info-find-file): Go to DIR before displaying the error
1133 about a nonexistent file if no previous Info file is visited.
1134 Use `user-error' instead of `error' for "Info file %s does not exist".
1135 (Info-find-node-2): In case of a nonexistent node in unwind forms
1136 go to the Top node if there is no previous node to revert to.
1139 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1141 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1142 * window.el (fit-frame-to-buffer): Fix doc-string.
1143 Respect window-min-height/-width. Fit pixelwise when
1144 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1145 when avoiding that frame goes partially off-screen.
1146 (fit-window-to-buffer): Respect window-min-height/-width
1149 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1151 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1152 after an empty line.
1154 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * net/shr.el (shr-render-region): Autoload.
1158 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1160 * net/eww.el (eww-download-directory): Rename from
1161 `eww-download-path' (Bug#16419).
1163 2014-01-12 Leo Liu <sdl.web@gmail.com>
1165 * dired-x.el (dired-mode-map): Fix last change.
1167 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1169 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1172 * emacs-lisp/generic.el (generic--normalize-comments):
1173 Rename from generic--normalise-comments. All uses changed.
1174 * play/bubbles.el (bubbles--neighborhood-score):
1175 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1176 (bubbles--neighborhood-available)
1177 (bubbles--update-neighborhood-score):
1178 Rename from names with 'neighbourhood'. All uses changed.
1180 2014-01-12 Leo Liu <sdl.web@gmail.com>
1182 Re-implement the feature of showing eldoc info after editing.
1183 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1184 (eldoc-edit-message-commands): New function.
1185 (eldoc-print-after-edit): New variable.
1186 (eldoc-pre-command-refresh-echo-area): Emit message only by
1187 eldoc-message-commands.
1188 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1189 if eldoc-print-after-edit is set. (Bug#16346)
1190 * simple.el (read--expression): Enable eldoc-mode.
1191 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1193 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1194 Eric S. Raymond <esr@thyrsus.com>
1196 * version.el (emacs-repository-get-version): Enhance so the
1197 function works correctly in either a Bazaar or Git repo.
1199 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1201 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1202 Goes with removal of the joke manpages from /etc.
1204 2014-01-10 Kenichi Handa <handa@gnu.org>
1206 * mail/rmail.el (rmail-get-coding-system):
1207 Check rmail-get-coding-function before "funcall"ing it.
1209 2014-01-10 Glenn Morris <rgm@gnu.org>
1211 * emacs-lisp/authors.el (authors-fixed-entries):
1212 Update for files that no longer exist.
1214 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1216 * version.el (emacs-bzr-get-version): Restore compatibilty with
1219 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1221 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1224 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1226 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1228 2014-01-10 Chong Yidong <cyd@gnu.org>
1230 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1232 2014-01-10 Anders Lindgren <andlind@gmail.com>
1234 * follow.el (follow-cache-command-list): Include right-char and
1237 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1240 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1241 * woman.el (woman-mark-horizontal-position):
1242 Rename from woman-mark-horizonal-position. Use changed.
1244 2014-01-10 Glenn Morris <rgm@gnu.org>
1246 * info.el (info-initialize): If running uninstalled, ensure our
1247 own info files are always found first, even if INFOPATH is set.
1249 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1251 2014-01-09 David Engster <deng@randomsample.de>
1253 * emacs-lisp/eieio-custom.el:
1254 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1255 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1256 * emacs-lisp/eieio.el: Regenerate autoloads.
1258 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1260 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1261 following renames. (Bug#8756)
1263 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1265 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1267 (activate-mark): Add `no-tmm' argument.
1268 (set-mark, push-mark-command): Use it instead of running
1269 activate-mark-hook by hand.
1271 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1273 In preparation for the move to git, sanitize out some
1274 Bazaar-specific names.
1276 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1278 * version.el (emacs-bzr-version): Name changed to
1279 emacs-repository-version. Obsolete-variable alias made.
1280 * loadup.el: Follow through on this name change.
1281 * mail/emacsbug.el (report-emacs-bug): Factor out any
1282 assumption about the version control system in use.
1284 2014-01-08 David Engster <deng@randomsample.de>
1286 * help-fns.el (help-fns-describe-function-functions):
1287 New variable to call functions for augmenting help buffers.
1288 (describe-function-1): Remove explicit calls to
1289 `help-fns--compiler-macro', `help-fns--parent-mode' and
1290 `help-fns--obsolete'. Put them in above new variable instead, and
1291 call them through `run-hook-with-args'.
1292 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1293 `eieio-describe-class'. Not meant for interactive use anymore,
1294 but to augment existing help buffers. Remove optional second
1295 argument. Create proper button for file location.
1296 Rewrite function to use `insert' instead of `princ' and `prin1' where
1298 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1299 (eieio-method-def, eieio-class-def): Move further up.
1300 (describe-method, describe-generic, eieio-describe-method):
1302 (eieio-help-constructor, eieio-help-generic): Rename from
1303 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1304 Rewrite to use `insert' in the current buffer and use proper help
1306 (eieio-help-find-method-definition)
1307 (eieio-help-find-class-definition): Also accept symbols as
1309 (eieio-help-mode-augmentation-maybee): Remove.
1310 (eieio-describe-class-sb): Use `describe-function'.
1311 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1312 Add `eieio-help-generic' and `eieio-help-constructor'.
1314 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1317 * language/china-util.el (hz-ascii-designation):
1318 Rename from hz-ascii-designnation.
1319 (hz-ascii-designation): Rename from hz-ascii-designnation.
1322 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1324 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1327 2014-01-08 Bastien Guerry <bzg@gnu.org>
1329 * emacs-lisp/package.el (package-delete):
1330 Correctly delete the package from package-alist.
1332 2014-01-08 Daiki Ueno <ueno@gnu.org>
1334 * emacs-lisp/package.el (url-recreate-url): Declare.
1335 (url-http-target-url): Declare.
1336 (package-handle-response): Include requested URL in the error message.
1337 (package--check-signature): Don't re-signal errors from
1338 package--with-work-buffer. Suggested by Stefan Monnier.
1340 2014-01-07 Bastien Guerry <bzg@gnu.org>
1342 * minibuffer.el (completion--try-word-completion): When both a
1343 hyphen and a space are possible candidates for the character
1344 following a word, display both candidates. (Bug#15980)
1346 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1348 * window.el (balance-windows-2): While rounding don't give a
1349 window more than the remainder. Bug#16351, bug#16383.
1351 2014-01-07 Glenn Morris <rgm@gnu.org>
1353 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1354 (menu-bar-help-menu): Use view-external-packages instead.
1356 2014-01-07 Bastien Guerry <bzg@gnu.org>
1358 * emacs-lisp/package.el (package-delete): Also delete the package
1359 name from `package-alist', not its description only.
1361 2014-01-07 Glenn Morris <rgm@gnu.org>
1363 * help.el (view-external-packages):
1364 * menu-bar.el (menu-bar-help-extra-packages):
1365 Visit efaq.info rather than etc/MORE.STUFF.
1367 2014-01-07 Juri Linkov <juri@jurta.org>
1369 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1370 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1372 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1373 that shadows RET. (Bug#16342)
1375 2014-01-07 Chong Yidong <cyd@gnu.org>
1377 * isearch.el (isearch-yank-char, isearch-yank-word)
1378 (isearch-yank-line): Doc fix.
1380 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1382 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1383 * emacs-lisp/elint.el (elint-find-builtins):
1384 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1385 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1386 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1387 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1388 * apropos.el (apropos-safe-documentation):
1389 * subr.el (symbol-file): Remove redundant fboundp.
1390 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1392 2014-01-06 Bastien Guerry <bzg@gnu.org>
1394 * hl-line.el (global-hl-line-overlay): Make a local variable.
1395 (global-hl-line-overlays): New variable to store all overlays.
1396 (global-hl-line-mode): Don't delete overlays from the current
1397 buffer when `global-hl-line-sticky-flag' is non-nil.
1398 (global-hl-line-highlight): Add new overlays to
1399 `global-hl-line-overlays'.
1400 (global-hl-line-unhighlight-all): New function to delete all
1401 overlays when turning off `global-hl-line-mode'.
1402 This fixes Bug#16183.
1404 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * subr.el (set-transient-map): Fix nested case and docstring.
1408 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1410 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1413 2014-01-06 Daniel Colascione <dancol@dancol.org>
1415 Fix defun navigation in vc log view.
1417 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1418 like `beginning-of-defun'.
1419 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1420 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1421 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1422 (log-view-extract-comment): Call `log-view-current-entry' directly
1423 instead of relying on broken `log-view-beginning-of-defun' behavior.
1425 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1428 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1429 * emacs-lisp/debug.el (cancel-debug-on-entry):
1430 * epg.el (epg-error-to-string):
1431 * files.el (recover-file):
1432 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1433 * mail/emacsbug.el (report-emacs-bug-hook):
1434 * mail/sendmail.el (mail-recover):
1435 * ses.el (ses-yank-resize):
1436 * term/ns-win.el (ns-print-buffer):
1437 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1438 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1440 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1442 2014-01-06 Leo Liu <sdl.web@gmail.com>
1444 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1445 to avoid shadowing global key. (Bug#16354)
1447 2014-01-06 Daniel Colascione <dancol@dancol.org>
1449 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1452 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1454 * window.el (balance-windows): Add mising t to fix Bug#16351.
1456 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1458 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1460 (shr-insert): If we have a word that's longer than `shr-width',
1461 break after it anyway. Otherwise we'll do no breaking once we get
1464 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1466 * net/eww.el (eww): Support single/double quote for search.
1467 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1468 (eww-history-quit): Delete and use quit-window.
1469 (eww-history-kill): Delete, because it doesn't work well and
1471 (eww-history-mode-map): Delete some keys and add easy-menu.
1473 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1475 Fix misspelling of 'chinese' in rx (Bug#16237).
1476 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1479 Change subword regexps back to vars (Bug#16296).
1480 * progmodes/subword.el (subword-forward-regexp)
1481 (subword-backward-regexp): Change these back to variables.
1483 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1485 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1486 syntax-begin-function (bug#16247).
1488 2014-01-03 Chong Yidong <cyd@gnu.org>
1490 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1491 (advice--docstring): Delete variable.
1492 (advice--make-1): Leave the docstring empty.
1493 (advice-add): Use function-documentation for advised docstring.
1495 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1496 Ignore function-documentation property when getting documentation.
1497 (ad-activate-advised-definition): Use function-documentation
1498 generate the docstring.
1499 (ad-make-advised-definition): Don't call
1500 ad-make-advised-definition-docstring.
1501 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1504 * progmodes/sql.el (sql-help): Use function-documentation instead
1505 of dynamic-docstring-function property. No need to autoload now.
1506 (sql--help-docstring): New variable.
1507 (sql--make-help-docstring): Use it.
1509 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1511 * ielm.el (ielm-tab): Retarget.
1512 (ielm-map): Use ielm-tab for tab.
1513 (ielm-complete-filename): Use comint-filename-completion.
1514 (ielm-complete-symbol): Remove.
1515 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1516 remove ielm-tab from completion-at-point-functions (bug#16224).
1518 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1519 Beware signals raised by predicates (bug#16201).
1521 2014-01-02 Richard Stallman <rms@gnu.org>
1523 * dired-aux.el (dired-do-print): Handle printer-name.
1525 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1526 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1527 (rmail-epa-decrypt): Turn off mime processing.
1529 * mail/rmail.el (rmail-make-in-reply-to-field):
1530 Add parens in message-id.
1532 * mail/rmail.el (rmail-get-coding-function): Variable.
1533 (rmail-get-coding-system): Use it.
1535 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1537 * international/mule-conf.el: Unify the charset indian-is13194.
1538 (indian-is13194): Specify unify-map.
1540 2013-12-31 Leo Liu <sdl.web@gmail.com>
1542 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1544 2013-12-30 Daniel Colascione <dancol@dancol.org>
1546 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1547 of printing a useless when we resume from sleep.
1549 * progmodes/sh-script.el
1550 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1551 in indentation code. (Bug#16233)
1553 2013-12-28 João Távora <joaotavora@gmail.com>
1555 * elec-pair.el (electric-pair-post-self-insert-function):
1556 Don't open extra newlines at beginning of buffer. (Bug#16272)
1558 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1560 * frame.el (window-system-for-display): Don't allow to create a
1561 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1563 2013-12-28 Glenn Morris <rgm@gnu.org>
1565 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1568 * apropos.el (apropos-match-face):
1569 * calculator.el (calculator-displayer):
1570 * dabbrev.el (dabbrev-search-these-buffers-only):
1571 * face-remap.el (buffer-face-mode-face):
1572 * simple.el (yank-handled-properties):
1573 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1574 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1575 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1576 (hashcash-double-spend-database):
1577 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1578 (ruby-deep-indent-paren-style):
1579 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1580 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1581 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1582 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1583 Specify custom types.
1585 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1586 * bookmark.el (bookmark-bmenu-use-header-line):
1587 * doc-view.el (doc-view-scale-internally):
1588 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1589 * register.el (register-preview-delay):
1590 * net/shr.el (shr-bullet):
1591 * progmodes/cfengine.el (cfengine-cf-promises)
1592 (cfengine-parameters-indent):
1593 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1594 * textmodes/reftex-vars.el (reftex-label-regexps):
1595 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1597 * net/tls.el (tls-certtool-program): Fix default value.
1599 * desktop.el (desktop-restore-in-current-display):
1600 * newcomment.el (comment-empty-lines):
1601 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1602 (idlwave-pad-keyword):
1603 * progmodes/tcl.el (tcl-tab-always-indent):
1604 * textmodes/reftex-vars.el (reftex-index-default-tag):
1605 * elec-pair.el (electric-pair-skip-whitespace):
1606 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1608 * emacs-lisp/authors.el (authors-ignored-files)
1609 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1611 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1613 * shell.el (shell-dynamic-complete-command): Doc fix.
1614 (shell--command-completion-data): Shell completion now matches
1615 executable filenames from the current buffer's directory, on
1616 systems in which this behavior is the default (windows-nt, ms-dos).
1618 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1620 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1622 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1624 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1627 * electric.el: Move all electric-pair-* to elec-pair.el.
1628 * elec-pair.el: New file, split from electric.el.
1630 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1632 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1633 indentation level is larger than the width, because that will
1635 (shr-insert): Fill repeatedly long texts, so that Japanese is
1636 formatted correctly (bug#16263).
1637 (shr-find-fill-point): Off by one error in comparison with the
1640 2013-12-26 João Távora <joaotavora@gmail.com>
1642 * electric.el (electric-pair-mode): More flexible engine for skip-
1643 and inhibit predicates, new options for pairing-related functionality.
1644 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1645 if that keeps or improves their balance in buffers.
1646 (electric-pair-delete-adjacent-pairs): Delete the pair when
1647 backspacing over adjacent matched delimiters.
1648 (electric-pair-open-extra-newline): Open extra newline when
1649 inserting newlines between adjacent matched delimiters.
1650 (electric--sort-post-self-insertion-hook):
1651 Sort post-self-insert-hook according to priority values when
1652 minor-modes are activated.
1653 * simple.el (newline-and-indent): Call newline with interactive
1655 (blink-paren-post-self-insert-function): Set priority to 100.
1656 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1657 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1658 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1659 electric-pair-open-newline-between-pairs to nil.
1661 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1663 * progmodes/python.el: Use lexical-binding.
1664 (python-nav-beginning-of-defun): Stop searching ASAP.
1666 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1668 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1669 Fix interactive spec. Doc fix. (Bug#15754)
1671 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1673 * emacs-lisp/byte-run.el (eval-when-compile):
1674 * progmodes/cc-defs.el (cc-eval-when-compile):
1675 Fix edebug spec (bug#16184).
1677 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1679 * net/shr.el (shr-visit-file): Remove debugging function.
1680 (shr-insert): Don't infloop if we can't find a good place to break
1681 the line (bug#16256).
1683 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1685 * progmodes/python.el:
1686 (python-nav--lisp-forward-sexp): New function.
1687 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1688 python-nav-lisp-forward-sexp-safe.
1689 (python-nav--forward-sexp): New argument SAFE allows switching
1690 forward sexp movement behavior for parens.
1691 (python-nav-forward-sexp): Throw errors on unterminated parens
1693 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1694 (python-nav-backward-sexp-safe): New functions.
1695 (python-shell-buffer-substring):
1696 Use `python-nav-forward-sexp-safe'.
1698 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1700 * net/shr.el (shr-find-fill-point): Don't break lines before a
1702 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1703 (shr-find-fill-point): Remove the special checks for the quotation
1704 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1706 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1708 * net/eww.el (eww-form-textarea): Use a different face for
1709 textareas than text input since they have different keymaps
1712 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1714 * progmodes/python.el (python-nav-beginning-of-statement):
1715 Speed up (Bug#15295).
1717 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1719 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1720 the window configuration.
1722 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1724 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1725 we run on MS-Windows or MS-DOS.
1727 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1729 * window.el (balance-windows-area): Call window-size instead of
1730 window-height and window-width. Bug#16241.
1732 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1734 * net/eww.el (eww-bookmark-quit): Remove.
1735 (eww-bookmark-browse): Restore the window configuration when you
1736 choose a bookmark (bug#16144).
1738 2013-12-24 Daniel Colascione <dancol@dancol.org>
1740 * icomplete.el: Remove redundant :group arguments to `defcustom'
1742 (icomplete-show-matches-on-no-input): New customizable variable.
1743 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1744 we have something to show.
1745 (icomplete-exhibit): Compute completions even if we have no user input.
1747 2013-12-23 Daniel Colascione <dancol@dancol.org>
1749 * icomplete.el: Move `provide' to end of file.
1751 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1753 * net/gnutls.el (gnutls-verify-error): Add version tag.
1755 2013-12-23 Chong Yidong <cyd@gnu.org>
1757 * subr.el (set-transient-map): Rename from
1758 set-temporary-overlay-map. Doc fix.
1760 * face-remap.el (text-scale-adjust):
1761 * indent.el (indent-rigidly):
1762 * kmacro.el (kmacro-call-macro):
1763 * minibuffer.el (minibuffer-force-complete):
1764 * repeat.el (repeat):
1765 * simple.el (universal-argument--mode):
1766 * calendar/todo-mode.el (todo-insert-item--next-param):
1767 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1769 * indent.el (indent-rigidly): Use substitute-command-keys.
1771 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1773 * net/eww.el (eww-tag-select): Add text-property to jump to next
1775 (eww): Add non-supported ftp error.
1777 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1779 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1780 comments. Handle electric indent after typing `?' and `!'.
1782 2013-12-22 Chong Yidong <cyd@gnu.org>
1784 * faces.el (face-spec-recalc): If the theme specs are not
1785 applicable to a frame, fall back on the defface spec.
1786 This prevents themes from obliterating faces on low-color terminals.
1788 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1790 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1791 after `{'. We need it after block openers, and it doesn't seem
1792 to hurt after hash openers.
1794 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1796 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1797 extracted from `ruby-smie-rules'.
1798 (ruby--electric-indent-chars): New variable.
1799 (ruby--electric-indent-p): New function.
1800 (ruby-mode): Use `electric-indent-functions' instead of
1801 `electric-indent-chars'.
1803 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1805 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1807 (ruby-smie-rules): Indent plus one level after `=>'.
1809 2013-12-21 Richard Stallman <rms@gnu.org>
1811 * simple.el (newline): Doc fix.
1813 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1815 * net/eww.el (eww-list-histories, eww-list-histories)
1816 (eww-history-browse, eww-history-quit, eww-history-kill)
1817 (eww-history-mode-map, eww-history-mode): New command and
1818 functions to list browser histories.
1819 (eww-form-text): Support text form with disabled
1820 and readonly attributes.
1821 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1823 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1825 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1826 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1827 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1828 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1830 (eww-bookmark-mode-map): Add menu.
1831 (eww-render, eww-mode): Use `setq-local'.
1832 (eww-tool-bar-map): New variable.
1833 (eww-mode): Set `tool-bar-map'.
1834 (eww-view-source): Check for `html-mode' with `fboundp'.
1836 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1838 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1839 elements with text inside. Also remove debugging.
1841 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1843 * cus-start.el (all): Add ns-use-srgb-colorspace.
1845 2013-12-21 Chong Yidong <cyd@gnu.org>
1847 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1848 undefined. Thus, theme settings for undefined faces do not take
1849 effect until the faces are defined with defface, the same as with
1852 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1853 (face-spec-reset-face): Don't assign extra properties in temacs.
1854 (face-spec-recalc): Apply X resources too.
1856 2013-12-21 Chong Yidong <cyd@gnu.org>
1858 * faces.el (face-spec-set):
1859 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1860 * custom.el (defface): Doc fixes (Bug#16203).
1862 * indent.el (indent-rigidly-map): Add docstring, and move commands
1863 into named functions.
1864 (indent-rigidly-left, indent-rigidly-right)
1865 (indent-rigidly-left-to-tab-stop)
1866 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1867 indentation direction based on bidi direction, and accumulate
1868 sequential commands in a single undo boundary.
1869 (indent-rigidly--pop-undo): New utility function.
1871 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1873 * faces.el (read-face-name): Require crm.el when using crm-separator.
1875 2013-12-20 Daniel Colascione <dancol@dancol.org>
1877 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1878 so that we don't reflow comments into the shebang line.
1880 2013-12-20 Juri Linkov <juri@jurta.org>
1882 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1883 a position when `dired-directory' is non-nil. Check integer
1884 positions with `integerp'.
1885 (toggle-save-place, save-places-to-alist): Add check for
1887 (save-place-find-file-hook): Check integer positions with
1889 (save-place-dired-hook): Use `dired-goto-file' when
1890 `dired-filename' is found in the assoc list. Check integer
1891 positions with `integerp'.
1892 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1894 * dired.el (dired-initial-position-hook): Rename back from
1895 `dired-initial-point-hook'.
1896 (dired-initial-position): Rename `dired-initial-point-hook' to
1897 `dired-initial-position-hook'.
1898 (dired-file-name-at-point): Doc fix. (Bug#15329)
1900 2013-12-20 Juri Linkov <juri@jurta.org>
1902 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1903 (read-regexp-suggestions): New function.
1904 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1905 Use `read-regexp-suggestions'. Add non-empty default to history
1907 (occur-read-regexp-defaults-function): Remove function.
1908 (occur-read-primary-args): Use `regexp-history-last' instead of
1909 `occur-read-regexp-defaults-function'.
1911 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1912 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1913 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1914 `hi-lock-read-regexp-defaults-function'. Doc fix.
1915 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1916 with `find-tag-default-as-symbol-regexp'. Doc fix.
1917 (hi-lock-read-regexp-defaults): Remove function.
1918 (hi-lock-regexp-okay): Add check for null.
1920 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1921 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1923 * subr.el (find-tag-default-as-symbol-regexp): New function.
1924 (find-tag-default-as-regexp): Move symbol regexp formatting to
1925 `find-tag-default-as-symbol-regexp'.
1927 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1929 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1932 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1934 * calendar/todo-mode.el: New implementation of item insertion
1935 commands and key bindings.
1936 (todo-key-prompt): New face.
1937 (todo-insert-item): New command.
1938 (todo-insert-item--parameters): New defconst, replacing defvar
1939 todo-insertion-commands-args-genlist.
1940 (todo-insert-item--param-key-alist): New defconst, replacing
1941 defvar todo-insertion-commands-arg-key-list.
1942 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1943 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1944 (todo-insert-item--next-param): New functions.
1945 (todo-insert-item--args, todo-insert-item--argleft)
1946 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1948 (todo-key-bindings-t): Change binding of "i" from
1949 todo-insertion-map to todo-insert-item.
1950 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1951 (todo-insertion-command-name, todo-insertion-commands-names)
1952 (todo-define-insertion-command, todo-insertion-commands)
1953 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1955 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1957 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1958 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1960 (todo-move-category): Allow choosing a non-existing todo file to
1961 move the category to, and create that file.
1962 (todo-default-priority): New user option.
1963 (todo-set-item-priority): Use it.
1964 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1965 (desktop-restore-file-buffer): Declare.
1966 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1967 (todo-modes-set-2): Locally set desktop-save-buffer to
1968 todo-desktop-save-buffer.
1969 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1970 (auto-mode-alist): Add autoload cookie.
1972 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1974 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1975 helpers.el was a poor choice of name.
1976 (string-remove-prefix): New function.
1977 (string-remove-suffix): New function.
1979 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1981 Fix assignment for new window total sizes.
1982 * window.el (window--pixel-to-size): Remove function.
1983 (window--pixel-to-total-1, window--pixel-to-total):
1984 Fix calculation of new total sizes.
1986 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1988 * comint.el (comint-output-filter): Fix rear-nonsticky property
1989 placement (Bug#16010).
1991 2013-12-20 Chong Yidong <cyd@gnu.org>
1993 * faces.el (read-color): Minor fix for completion function.
1995 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1997 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1998 New option. (Bug#16182)
1999 (ruby-smie--indent-to-stmt-p): Use it.
2000 (ruby-smie-rules): Revert the logic in the handling of `when'.
2001 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2002 (ruby-deep-arglist, ruby-deep-indent-paren)
2003 (ruby-deep-indent-paren-style): Update docstrings to note that the
2004 vars don't have any effect with SMIE.
2006 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2008 * calc/calc.el (calc-enter, calc-pop): Use the variable
2009 `calc-context-sensitive-enter'.
2011 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2013 * net/shr.el (shr-insert): Protect against infloops in degenerate
2016 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2018 * progmodes/octave.el (octave): Add link to manual and octave
2020 (octave-mode-menu): Link to octave-mode manual.
2022 2013-12-20 Leo Liu <sdl.web@gmail.com>
2024 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2025 insertion using skeleton-end-newline. (Bug#16138)
2027 2013-12-20 Juri Linkov <juri@jurta.org>
2029 * replace.el (occur-engine): Use `add-face-text-property'
2030 to add the face property to matches and titles. (Bug#14645)
2032 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2033 the palette of other hi-lock colors.
2034 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2036 2013-12-19 Juri Linkov <juri@jurta.org>
2038 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2039 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2040 (minibuffer-history-symbol): Move variable declaration closer to
2043 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2046 2013-12-19 Juri Linkov <juri@jurta.org>
2048 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2050 (log-edit-hook): Add it to :options. (Bug#16170)
2052 2013-12-19 Juri Linkov <juri@jurta.org>
2054 * simple.el (eval-expression-print-format): Don't check for
2055 command names and the last command. Always display additional
2056 formats of the integer result in the echo area, and insert them
2057 to the current buffer only with a zero prefix arg.
2058 Display character when char-displayable-p is non-nil.
2059 (eval-expression): With a zero prefix arg, set `print-length' and
2060 `print-level' to nil, and insert the integer values from
2061 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2063 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2064 `eval-last-sexp-arg-internal'. Doc fix.
2065 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2066 `eval-last-sexp-print-value'. Doc fix.
2067 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2068 Set `print-length' and `print-level' to nil when arg is zero.
2069 (eval-last-sexp): Doc fix.
2070 (eval-defun-2): Print the integer values from
2071 `eval-expression-print-format' at the end.
2073 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2074 values from `eval-expression-print-format' at the end.
2076 * ielm.el (ielm-eval-input): Print the integer
2077 values from `eval-expression-print-format' at the end.
2079 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2081 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2082 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2084 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2086 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2087 (hl-line-highlight, global-hl-line-highlight): Use it.
2088 (hl-line-overlay): Use defvar-local.
2090 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2092 * term/ns-win.el: Require dnd.
2093 (global-map): Remove drag items.
2094 (ns-insert-text, ns-set-foreground-at-mouse)
2095 (ns-set-background-at-mouse):
2096 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2097 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2100 2013-12-19 Glenn Morris <rgm@gnu.org>
2102 * emacs-lisp/ert.el (ert-select-tests):
2103 Fix string/symbol mixup. (Bug#16121)
2105 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2107 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2108 keywords to their parent.
2110 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2112 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2113 first arg to be a string (fixed dead code), or an operator symbol.
2114 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2116 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2117 did nothing. Don't respond to `(:after ".")', it will be called
2118 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2119 change anything. Only return indentation for binary operators
2120 when they are hanging. De-dent opening paren when its parent is
2121 `.', otherwise it looks bad when the dot is not at bol or eol
2124 2013-12-19 Juri Linkov <juri@jurta.org>
2126 * replace.el (query-replace-read-args): Split a non-negative arg
2127 and a negative arg into separate elements.
2128 (query-replace, query-replace-regexp, replace-string)
2129 (replace-regexp): Add arg `backward'. Doc fix.
2130 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2131 move point to the beginning of the match.
2132 (replace-search, replace-highlight): Use new arg `backward'
2133 to set the value of `isearch-forward'.
2134 (perform-replace): Add arg `backward' and use it to perform
2135 replacement backward. (Bug#14979)
2137 * isearch.el (isearch-query-replace): Use a negative prefix arg
2138 to call `perform-replace' with a non-nil arg `backward'.
2140 2013-12-18 Juri Linkov <juri@jurta.org>
2142 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2143 to the default list. Move `log-edit-show-files' to the end.
2144 Add more available functions to options.
2145 (log-edit): Move default specific settings to
2146 `log-edit-insert-message-template'. Don't move point.
2147 (log-edit-insert-message-template): New function.
2148 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2151 2013-12-18 Juri Linkov <juri@jurta.org>
2153 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2154 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2156 2013-12-18 Leo Liu <sdl.web@gmail.com>
2158 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2161 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2163 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2164 formats for displaying file sizes when the -s switch is given.
2165 Instead, compute a separate format for displaying the size in
2166 blocks, which is displayed in addition to the "regular" size.
2167 When -h is given in addition to -s, produce size in blocks in
2168 human-readable form as well. (Bug#16179)
2170 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2172 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2173 Reference tables with ~\ref{...} instead of only \ref{...}.
2175 2013-12-18 Chong Yidong <cyd@gnu.org>
2177 * cus-edit.el (custom-magic-alist): Fix "themed" description
2180 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2181 is non-nil, do not create a new entry in the symbol's theme-value
2182 or theme-face property; update theme-settings only (Bug#14664).
2183 (custom-available-themes): Doc fix.
2185 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2188 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2190 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2192 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2195 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2197 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2199 2013-12-18 Glenn Morris <rgm@gnu.org>
2201 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2202 * cus-start.el (load-prefer-newer): New option.
2204 2013-12-18 Le Wang <l26wang@gmail.com>
2206 * comint.el (comint-previous-matching-input-from-input):
2207 Retain point (Bug#13404).
2209 2013-12-18 Chong Yidong <cyd@gnu.org>
2211 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2213 2013-12-18 Glenn Morris <rgm@gnu.org>
2215 * mail/emacsbug.el (report-emacs-bug):
2216 Only mention enable-multibyte-characters if non-standard.
2218 2013-12-17 Juri Linkov <juri@jurta.org>
2220 * arc-mode.el (archive-extract-by-file): Check if directory exists
2221 before deletion to not show irrelevant errors if it doesn't exist.
2223 2013-12-17 Juri Linkov <juri@jurta.org>
2225 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2228 * net/eww.el (browse-web): Add alias to `eww'.
2229 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2230 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2232 * net/browse-url.el (browse-url-browser-function): Move `eww'
2233 closer to similar functions.
2235 * startup.el (fancy-startup-screen, fancy-about-screen):
2236 Set browse-url-browser-function to eww-browse-url locally.
2239 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2241 * window.el (window--pixel-to-total): Remove unused `mini' var.
2242 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2243 (split-window): Remove unused `new' var.
2244 (window--display-buffer): Remove unused `frame' and `delta' vars.
2245 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2248 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2250 * dired.el (dired-mark-pop-up):
2251 * register.el (register-preview): Don't bind
2252 split-height-threshold here since it's now done in
2253 display-buffer-below-selected.
2255 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2257 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2258 xterm-rgb-convert-to-16bit.
2259 (rxvt-register-default-colors): Standardize with
2260 xterm-register-default-colors (Bug#14078).
2262 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2264 * simple.el (kill-region): Pass mark first, then point, so that
2265 kill-append works right (Bug#12819).
2266 (copy-region-as-kill, kill-ring-save): Likewise.
2268 2013-12-17 Leo Liu <sdl.web@gmail.com>
2270 * net/rcirc.el (rcirc-add-face):
2271 * eshell/em-prompt.el (eshell-emit-prompt):
2272 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2275 2013-12-17 Chong Yidong <cyd@gnu.org>
2277 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2278 Suggested by Xue Fuqiao.
2280 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2282 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2284 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2286 * net/shr.el (shr-insert-document): Remove unused var
2287 `shr-preliminary-table-render'.
2288 (shr-rescale-image): Remove unused arg `force'.
2289 (shr-put-image): Update calls accordingly.
2290 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2292 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2294 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2295 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2296 :close-all, to see which indentation method to use (Bug#16116).
2297 (smie-rules-function): Document the method :close-all.
2299 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2301 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2303 * net/eww.el (eww-display-html): If we can't find the anchor we're
2304 looking for, then go to point-min.
2306 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2308 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2309 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2310 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2311 Expand dir too, in case it's relative.
2313 2013-12-16 Juri Linkov <juri@jurta.org>
2315 * desktop.el (desktop-auto-save-timeout): Change default to
2316 `auto-save-timeout'. Doc fix.
2317 (desktop-save): Skip the timestamp in desktop-saved-frameset
2318 when checking for auto-save changes.
2319 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2320 `desktop-auto-save' is called repeatedly by the idle timer.
2321 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2322 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2325 2013-12-16 Juri Linkov <juri@jurta.org>
2327 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2329 (isearch-pre-command-hook): Check `this-command' for symbolp.
2331 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2333 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2335 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2337 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2338 (cfengine3--current-function): Bring in the current-function
2339 functionality from `cfengine3--current-word'.
2340 (cfengine3-completion-function): Bring in the
2341 bounds-of-current-word functionality from
2342 `cfengine3--current-word'.
2344 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2346 * window.el (display-buffer-below-selected):
2347 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2349 2013-12-16 Leo Liu <sdl.web@gmail.com>
2351 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2352 Remove NOMSG arg and all uses changed.
2354 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2356 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2357 (cua--deactivate-rectangle): Don't deactivate the mark.
2358 (cua-set-rectangle-mark): Don't set mark-active since
2359 cua--activate-rectangle already does it for us.
2360 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2361 non-rectangular region.
2363 * emulation/cua-base.el (cua-repeat-replace-region):
2364 Use with-current-buffer.
2366 * net/gnutls.el: Use cl-lib.
2367 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2369 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2371 * emacs-lisp/package.el (package-built-in-p): Support both
2372 built-in and the package.el converted package descriptions.
2373 (package-show-package-list): Allow keywords.
2374 (package-keyword-button-action): Use it instead of
2375 `finder-list-matches'.
2376 (package-menu-filter-interactive): Interactive filtering (by
2378 (package-menu--generate): Support keywords and change keymappings
2379 and headers when they are given.
2380 (package--has-keyword-p): Helper function.
2381 (package-menu--refresh): Use it.
2382 (package--mapc): Helper function.
2383 (package-all-keywords): Use it.
2384 (package-menu-mode-map): Set up menu items and keybindings to
2385 provide a filtering UI.
2387 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2389 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2390 the behavior when a certificate fails validation. Defaults to
2391 old behavior: never abort, just warn.
2392 (gnutls-negotiate): Use it.
2394 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2396 * window.el (display-buffer-below-selected): Never split window
2397 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2399 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2401 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2402 (package-buffer-info): Use it (bug#15108).
2404 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2406 * icomplete.el (icomplete-completions): Make sure the prefix is already
2407 displayed elsewhere before hiding it (bug#16219).
2409 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2411 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2412 open-paren tokens when preceded by a open-paren, too.
2413 (ruby-smie-rules): Handle virtual indentation after open-paren
2414 tokens specially. If there is code between it and eol, return the
2415 column where is starts (Bug#16118).
2417 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2419 * progmodes/cfengine.el: Fix `add-hook' doc.
2420 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2421 (cfengine3--current-word): Fix parameters.
2422 (cfengine3-make-syntax-cache): Simplify further.
2423 (cfengine3-completion-function, cfengine3--current-function):
2424 Use `assq' for symbols.
2425 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2427 2013-12-13 Glenn Morris <rgm@gnu.org>
2429 * loadup.el (load-path): Warn if site-load or site-init changes it.
2430 No more need to reset it when bootstrapping.
2432 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2434 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2435 locations for cf-promises.
2436 (cfengine-mode-syntax-functions-regex): New caching variable.
2437 (cfengine3-fallback-syntax): Fallback syntax for cases where
2438 cf-promises doesn't run.
2439 (cfengine3--current-word): Reimplement using
2440 `cfengine-mode-syntax-functions-regex'.
2441 (cfengine3-completion-function, cfengine3--current-function):
2442 Use `cfengine3-make-syntax-cache' directly.
2443 (cfengine3-clear-syntax-cache): New function.
2444 (cfengine3-make-syntax-cache): Simplify and create
2445 `cfengine-mode-syntax-functions-regex' on demand.
2446 (cfengine3-format-function-docstring): Don't call
2447 `cfengine3-make-syntax-cache' explicitly.
2449 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2451 Fix windmove-find-other-window broken after pixelwise resizing
2453 * windmove.el (windmove-other-window-loc): Revert change from
2455 (windmove-find-other-window): Call window-in-direction.
2456 * window.el (window-in-direction): New arguments SIGN, WRAP and
2457 MINI to emulate original windmove-find-other-window behavior.
2459 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2461 * simple.el (blink-matching--overlay): New variable.
2462 (blink-matching-open): Instead of moving point, highlight the
2463 matching paren with an overlay
2464 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2466 * faces.el (paren-showing-faces, show-paren-match)
2467 (show-paren-mismatch): Move from paren.el.
2469 2013-12-13 Leo Liu <sdl.web@gmail.com>
2471 * indent.el (indent-region): Disable progress reporter in
2472 minibuffer. (Bug#16108)
2474 * bindings.el (visual-order-cursor-movement): Fix version.
2476 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2478 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2479 Also match after beginning of line.
2480 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2481 files. Thanks to Russell Sim. (Bug#15378)
2483 2013-12-13 Juri Linkov <juri@jurta.org>
2485 * simple.el <Keypad support>: Remove key bindings duplicated
2486 with bindings.el. (Bug#14397)
2488 2013-12-13 Juri Linkov <juri@jurta.org>
2490 * comint.el (comint-mode-map): Replace `delete-char' with
2491 `delete-forward-char'. (Bug#16109)
2493 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2495 * progmodes/python.el (python-indent-calculate-indentation):
2496 Fix de-denters cornercase. (Bug#15731)
2498 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2500 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2501 (advice--make): Pay attention to `depth'.
2502 (advice--make-1): Don't autoload commands eagerly.
2503 * emacs-lisp/elp.el (elp-instrument-function):
2504 * emacs-lisp/trace.el (trace-function-internal):
2505 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2507 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2509 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2511 * term/w32-win.el (w32-handle-dropped-file):
2512 * startup.el (normal-top-level):
2513 * net/browse-url.el (browse-url-file-url):
2514 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2515 decode file names using 'utf-8' rather than
2516 file-name-coding-system.
2518 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2520 * progmodes/python.el (python-indent-context)
2521 (python-indent-calculate-indentation): Fix auto-identation
2522 behavior for comment blocks. (Bug#15916)
2524 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2526 * progmodes/python.el (python-indent-calculate-indentation):
2527 When determining indentation, don't treat "return", "pass", etc., as
2528 operators when they are just string constituents. (Bug#15812)
2530 2013-12-12 Juri Linkov <juri@jurta.org>
2532 * uniquify.el (uniquify-buffer-name-style): Change default to
2533 `post-forward-angle-brackets'.
2535 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2536 `uniquify'. Change default to `post-forward-angle-brackets'.
2538 2013-12-11 Glenn Morris <rgm@gnu.org>
2540 * emacs-lisp/package.el (finder-list-matches):
2541 Autoload rather than falsely declaring.
2543 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2545 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2546 (eww-mode-map): Use them.
2548 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2550 * window.el (display-buffer-in-side-window): Fix doc-string
2553 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2555 * vc/vc-git.el: Silence byte-compiler warnings.
2556 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2557 (log-edit-set-header): Declare.
2559 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2561 * Makefile.in (custom-deps, finder-data): Run output file names
2562 through unmsys--file-name. (Bug#16099)
2564 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2566 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2567 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2569 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2570 instead of deleting the selection "by hand" (bug#16098).
2571 Rely on insert-for-yank to yank rectangles.
2572 (cua-highlight-region-shift-only): Mark obsolete.
2573 (cua-mode): Don't enable/disable transient-mark-mode,
2574 shift-select-mode (cua-mode works both with and without them), and
2575 pc-selection-mode (obsolete).
2576 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2577 (cua--deactivate-rectangle): Deactivate it.
2579 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2580 (delete-selection-helper): Make sure yank starts at the top of the
2582 (minibuffer-keyboard-quit): Use region-active-p.
2584 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2586 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2587 to `delete' (bug#16109).
2589 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2591 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2592 info manual and show keybindings and set `:group' keyword.
2594 2013-12-11 Juri Linkov <juri@jurta.org>
2596 * delsel.el (delete-active-region): Let-bind `this-command'
2597 to prevent `kill-region' from changing its original value.
2598 (delete-selection-helper): Handle `overwrite-mode' for the type
2599 `kill' exactly the same way as for the type `t'.
2600 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2601 Support more commands. (Bug#13312)
2603 2013-12-11 Juri Linkov <juri@jurta.org>
2605 * bindings.el: Map kp keys to non-kp keys systematically
2606 with basic modifiers control, meta and shift. (Bug#14397)
2608 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2610 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2611 "Close browser" menu items. Fix wrong function of "List
2614 2013-12-11 Juri Linkov <juri@jurta.org>
2616 * misearch.el (multi-isearch-buffers): Set the value of
2617 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2618 arg of isearch-forward to t.
2619 (multi-isearch-buffers-regexp): Set the value of
2620 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2621 arg of isearch-forward-regexp to t.
2622 (multi-isearch-files): Set the value of
2623 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2624 arg of isearch-forward to t.
2625 (multi-isearch-files-regexp): Set the value of
2626 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2627 arg of isearch-forward-regexp to t. (Bug#16035)
2629 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2630 arg of isearch-forward to t.
2631 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2632 arg of isearch-forward-regexp to t.
2633 (dired-isearch-filter-filenames): Remove unnecessary check for
2634 `dired-isearch-filenames'.
2636 * comint.el (comint-history-isearch-backward):
2637 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2638 (comint-history-isearch-backward-regexp):
2639 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2641 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2643 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2644 unmsys--file-name. (Bug#16099)
2646 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2648 * emacs-lisp/package.el (package-keyword-button-action):
2649 Remove finder.el require dependency.
2651 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2653 * emacs-lisp/package.el: Require finder.el.
2654 (describe-package-1): Add keyword buttons.
2655 (package-make-button): New convenience function.
2656 (package-keyword-button-action): Keyword button action using
2657 `finder-list-matches'.
2659 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2661 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2664 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2666 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2669 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2671 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2672 after the end of a percent literal.
2674 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2676 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2677 Handle caret-delimited strings (Bug#16079).
2679 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2681 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2682 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2683 `ruby-parse-partial' (Bug#16078).
2685 2013-12-09 Leo Liu <sdl.web@gmail.com>
2687 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2689 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2691 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2692 (js-switch-indent-offset): New option.
2693 (js--proper-indentation): Use it. And handle the case when
2694 "default" is actually a key in an object literal.
2695 (js--same-line): New function.
2696 (js--multi-line-declaration-indentation): Use it.
2697 (js--indent-in-array-comp, js--array-comp-indentation):
2699 (js--proper-indentation): Use them, to handle array comprehension
2702 2013-12-08 Leo Liu <sdl.web@gmail.com>
2704 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2705 (flymake-make-overlay): Remove arg MOUSE-FACE.
2706 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2708 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2710 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2712 (redisplay-highlight-region-function): Use it.
2714 * emulation/cua-base.el (cua--explicit-region-start)
2715 (cua--last-region-shifted): Remove.
2716 (cua--deactivate): Use deactivate-mark.
2717 (cua--pre-command-handler-1): Don't handle shift-selection.
2718 (cua--post-command-handler-1): Don't change transient-mark-mode.
2719 (cua--select-keymaps): Use region-active-p rather than
2720 cua--explicit-region-start or cua--last-region-shifted.
2721 (cua-mode): Enable shift-select-mode.
2723 2013-12-08 Leo Liu <sdl.web@gmail.com>
2725 * progmodes/flymake.el (flymake-popup-current-error-menu):
2726 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2727 (flymake-posn-at-point-as-event, flymake-popup-menu)
2728 (flymake-make-emacs-menu): Remove. (Bug#16077)
2730 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2732 * rect.el (rectangle-mark-mode): Activate mark even if
2733 transient-mark-mode is off (bug#16066).
2734 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2735 is > mark and at bolp.
2737 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2738 (region-extract-function): Use it.
2739 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2740 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2742 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2743 kill-ring-save, kill-region, delete-char, delete-forward-char.
2744 Ignore self-insert-iso.
2746 * emulation/cua-gmrk.el (cua--init-global-mark):
2747 Ignore `self-insert-iso'.
2749 * emulation/cua-base.el (cua--prefix-copy-handler)
2750 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2751 checking cua--rectangle.
2752 (cua-delete-region): Use region-extract-function.
2753 (cua-replace-region): Delete function.
2754 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2755 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2756 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2757 (cua--init-keymaps): Don't remap delete-selection commands.
2758 (cua-mode): Use delete-selection-mode instead of rolling our own
2761 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2762 Obey region-extract-function.
2764 Make registers and delete-selection-mode work on rectangles.
2765 * register.el (describe-register-1): Don't modify the register's value.
2766 (copy-to-register): Obey region-extract-function.
2767 * delsel.el (delete-active-region): Obey region-extract-function.
2769 2013-12-08 Leo Liu <sdl.web@gmail.com>
2771 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2772 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2773 (flymake-compilation-prevents-syntax-check)
2774 (flymake-start-syntax-check-on-newline)
2775 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2776 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2777 (flymake-xml-program, flymake-master-file-dirs)
2778 (flymake-master-file-count-limit)
2779 (flymake-allowed-file-name-masks): Relocate.
2780 (flymake-makehash, flymake-float-time)
2781 (flymake-replace-regexp-in-string, flymake-split-string)
2782 (flymake-get-temp-dir): Remove.
2783 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2784 (flymake-current-row, flymake-selected-frame)
2785 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2786 related functions. (Bug#16077)
2788 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2790 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2792 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2794 * help-fns.el (describe-function-1): Use new advice-* functions
2795 rather than old ad-* functions. Fix function type description and
2796 source links for advised functions and subrs.
2798 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2800 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2802 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2804 * progmodes/compile.el (compilation-start):
2805 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2807 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2808 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2810 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2812 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2813 Touch up the last change.
2815 2013-12-06 Leo Liu <sdl.web@gmail.com>
2817 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2818 (inferior-octave-startup): Always use "octave> " for prompt.
2819 (octave-goto-function-definition)
2820 (octave-sync-function-file-names)
2821 (octave-find-definition-default-filename): Remove redundant backquotes.
2823 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2825 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2827 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2828 where appropriate already.
2829 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2830 end of method names (Bug#15874).
2832 2013-12-06 Juri Linkov <juri@jurta.org>
2834 * isearch.el (isearch--saved-overriding-local-map):
2835 New internal variable.
2836 (isearch-mode): Set it to the initial value of
2837 `overriding-terminal-local-map'.
2838 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2839 with `isearch--saved-overriding-local-map'. (Bug#16035)
2841 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2843 * progmodes/octave.el (inferior-octave-completion-table):
2844 Turn back into function, use `completion-table-with-cache'
2845 (Bug#11906). Update all references.
2847 * minibuffer.el (completion-table-with-cache): New function.
2849 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2851 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2853 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2855 * net/eww.el (eww-current-source): New variable to store page
2857 (eww-display-html, eww-mode, eww-save-history)
2858 (eww-restore-history): Use it.
2859 (eww-view-source): New command to view page source.
2860 Opportunistically uses `html-mode' to highlight the buffer.
2861 (eww-mode-map): Install it.
2863 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2865 * net/dbus.el (dbus-unregister-service)
2866 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2868 (dbus-unregister-service): Skip :serial entries in
2869 `dbus-registered-objects-table'.
2870 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2872 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2874 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2875 around keywords with extra `split-string' argument.
2877 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2879 * windmove.el (windmove-other-window-loc): Handle navigation
2880 between windows (excluding the minibuffer window - Bug#16017).
2882 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2884 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2885 in D-Bus type syntax.
2886 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2887 preserve unibyte strings. (Bug#16048)
2889 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2891 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2892 Call force-mode-line-update is the proper buffer (bug#16042).
2894 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2896 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2897 `log-edit-remember-comment', make argument optional. Adjust all
2899 (log-edit-mode): Add `log-edit-remember-comment' to
2900 `kill-buffer-hook' locally.
2901 (log-edit-kill-buffer): Don't remember comment explicitly since
2902 the buffer is killed anyway.
2904 2013-12-04 Juri Linkov <juri@jurta.org>
2906 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2907 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2909 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2911 * notifications.el (notifications-close-notification): Call the
2912 D-Bus method with ID being a `:uint32'. (Bug#16030)
2914 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2916 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2918 2013-12-03 Juri Linkov <juri@jurta.org>
2920 * progmodes/compile.el (compilation-start): Rename window alist
2921 entry `no-display-ok' to `allow-no-window'.
2923 * simple.el (shell-command): Add window alist entry
2924 `allow-no-window' to `display-buffer'.
2925 (async-shell-command): Doc fix.
2927 * window.el (display-buffer-no-window): New action function.
2928 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2930 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2932 * vc/log-edit.el (log-edit-set-header): Extract from
2933 `log-edit-toggle-header'.
2934 (log-edit-extract-headers): Separate the summary, when extracted
2935 from header, from the rest of the message with an empty line.
2937 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2938 line, if present, to the Summary header.
2940 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2942 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2943 in current-buffer (bug#16029).
2945 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2947 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2948 (debugger-mode-map): Bind it.
2949 (debugger--backtrace-base): New function.
2950 (debugger-eval-expression): Use it.
2951 (debugger-frame-number): Skip local vars when present.
2952 (debugger--locals-visible-p, debugger--insert-locals)
2953 (debugger--show-locals, debugger--hide-locals): New functions.
2955 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2957 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2959 (tramp-get-remote-locale): New defun.
2960 (tramp-open-connection-setup-interactive-shell): Use it.
2962 2013-12-02 Leo Liu <sdl.web@gmail.com>
2964 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2966 * progmodes/sh-script.el (sh-shell-process):
2967 * progmodes/octave.el (inferior-octave-process-live-p):
2968 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2969 (gdb-inferior-io-sentinel):
2970 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2972 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2974 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2975 `save-selected-window' to `log-edit-hide-buf'. This makes
2976 `log-edit-show-files' idempotent.
2977 (log-edit-show-files): Mark the new window as dedicated.
2979 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2981 * vc/log-edit.el (log-edit-mode-map): Add binding for
2982 `log-edit-kill-biffer'.
2983 (log-edit-hide-buf): Add a FIXME comment.
2984 (log-edit-add-new-comment): New function, extracted from
2986 (log-edit-done, log-edit-add-to-changelog): Use it.
2987 (log-edit-kill-buffer): New command.
2989 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2991 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2992 instead of killing the buffer.
2994 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2996 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2998 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3000 * net/eww.el (eww-form-checkbox-selected-symbol)
3001 (eww-form-checkbox-symbol): New customizable variable.
3002 (eww-form-checkbox, eww-toggle-checkbox):
3003 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3005 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3006 (shr--get-media-pref, shr--extract-best-source): New function.
3007 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3008 no :src tag was specified.
3010 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3011 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3012 Use \\` to match beginning of string instead of ^.
3013 (eww-browse-with-external-browser): Provide optional URL parameter.
3014 (eww-render): Set `eww-current-title' back to "".
3016 * net/shr.el (shr-tag-video): Display content for video if no
3017 poster is available.
3018 (shr-tag-audio): Add support for <audio> tag.
3020 * net/eww.el (eww-text-input-types): New const.
3021 (eww-process-text-input): Treat input types in
3022 `eww-text-input-types' as text.
3024 * net/shr.el (shr-tag-table): Fix comment typo.
3026 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3028 * net/eww.el (eww-follow-link): New command to avoid reloading
3029 pages when we follow #target links (bug#15243).
3030 (eww-quit): Special mode buffers shouldn't query before exiting.
3032 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3034 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3037 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3039 * net/eww.el (eww-restore-history): Update the window title after
3040 moving in the history.
3041 (eww-current-dom): New variable used to save the current DOM.
3043 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3045 * vc/log-edit.el (log-edit-mode-map): Add binding for
3046 `log-edit-beginning-of-line'.
3047 (log-edit-setup-add-author): New user option.
3048 (log-edit-beginning-of-line): New command.
3049 (log-edit): Move major mode call above the contents setup so that
3050 the local variable values are already applied.
3051 (log-edit): Only insert "Author: " when
3052 `log-edit-setup-add-author' is non-nil.
3053 (log-edit): When SETUP is non-nil, position point after ": "
3054 instead of point-min.
3056 2013-12-01 Glenn Morris <rgm@gnu.org>
3058 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3060 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3062 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3063 redisplay to make sure the initial frame gets a chance to become
3064 visible. (Bug#16014)
3066 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3068 Support resizing frames and windows pixelwise.
3069 * cus-start.el (frame-resize-pixelwise)
3070 (window-resize-pixelwise): New entries.
3071 * emacs-lisp/debug.el (debug): Use window-total-height instead
3072 of window-total-size.
3073 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3074 * help.el (describe-bindings-internal): Call help-buffer
3075 (temp-buffer-max-width): New option.
3076 (resize-temp-buffer-window, help-window-setup)
3077 (with-help-window): Rewrite.
3078 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3080 * window.el (frame-char-size, window-min-pixel-height)
3081 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3082 (window-min-pixel-width, window-safe-min-pixel-size)
3083 (window-combination-p, window-safe-min-size)
3084 (window-resizable-p, window--size-to-pixel)
3085 (window--pixel-to-size, window--resize-apply-p): New functions.
3086 (window-safe-min-height): Fix doc-string.
3087 (window-size, window-min-size, window--min-size-1)
3088 (window-sizable, window-sizable-p, window--min-delta-1)
3089 (window-min-delta, window--max-delta-1, window-max-delta)
3090 (window--resizable, window--resizable-p, window-resizable)
3091 (window-full-height-p, window-full-width-p, window-at-side-p)
3092 (window--in-direction-2, window-in-direction)
3093 (window--resize-reset-1, window--resize-mini-window)
3094 (window-resize, window-resize-no-error)
3095 (window--resize-child-windows-normal)
3096 (window--resize-child-windows, window--resize-siblings)
3097 (window--resize-this-window, window--resize-root-window)
3098 (window--resize-root-window-vertically)
3099 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3100 (maximize-window, minimize-window, delete-window)
3101 (quit-restore-window, window-split-min-size, split-window)
3102 (balance-windows-2, balance-windows)
3103 (balance-windows-area-adjust, balance-windows-area)
3104 (window--state-get-1, window-state-get, window--state-put-1)
3105 (window--state-put-2, window-state-put)
3106 (display-buffer-record-window, window--display-buffer):
3107 Make functions handle pixelwise sizing of windows.
3108 (display-buffer--action-function-custom-type)
3109 (display-buffer-fallback-action):
3110 Add display-buffer-in-previous-window.
3111 (display-buffer-use-some-window): Resize window to height it had
3113 (fit-window-to-buffer-horizontally): New option.
3114 (fit-frame-to-buffer): Describe new values.
3115 (fit-frame-to-buffer-bottom-margin): Replace with
3116 fit-frame-to-buffer-margins.
3117 (window--sanitize-margin): New function.
3118 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3119 using window-text-pixel-size.
3121 2013-11-30 Glenn Morris <rgm@gnu.org>
3123 * emacs-lisp/bytecomp.el (byte-compile-form):
3124 Make the `interactive-only' warning like the `obsolete' one.
3125 * comint.el (comint-run):
3126 * files.el (insert-file-literally, insert-file):
3127 * replace.el (replace-string, replace-regexp):
3128 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3129 (goto-line, insert-buffer, next-line, previous-line):
3130 Tweak `interactive-only' spec.
3132 Stop keeping (most) generated cedet grammar files in the repository.
3133 * Makefile.in (semantic): New.
3134 (compile-main): Depend on semantic.
3136 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3138 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3139 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3141 * uniquify.el (uniquify-buffer-name-style): Change default.
3143 * loadup.el: Preload "uniquify".
3145 * time.el (display-time-update): Update all mode lines (bug#15999).
3147 * electric.el (electric-indent-mode): Enable by default.
3148 * loadup.el: Preload "electric".
3150 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3152 * emacs-lisp/helpers.el (string-empty-p): New function.
3153 (string-blank-p): New function.
3155 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3157 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3160 2013-11-29 Andreas Politz <politza@fh-trier.de>
3161 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3162 allow non-lambda lists as functions.
3163 (imenu--in-alist): Don't recurse into non-subalists.
3164 (imenu): Don't pass function itself as an argument (Bug#14029).
3166 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3168 * progmodes/python.el (python-mode-map): Remove binding for ":".
3169 (python-indent-electric-colon): Remove command.
3170 (python-indent-post-self-insert-function): Integrate the previous code
3171 of python-indent-electric-colon. Make it conditional on
3172 electric-indent-mode.
3173 (python-mode): Add ?: to electric-indent-chars.
3174 Move python-indent-post-self-insert-function to the end of
3175 post-self-insert-hook.
3177 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3179 * doc-view.el (doc-view-goto-page): Update mode-line.
3181 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3183 2013-11-27 Glenn Morris <rgm@gnu.org>
3185 * international/charprop.el, international/uni-bidi.el:
3186 * international/uni-category.el, international/uni-combining.el:
3187 * international/uni-comment.el, international/uni-decimal.el:
3188 * international/uni-decomposition.el, international/uni-digit.el:
3189 * international/uni-lowercase.el, international/uni-mirrored.el:
3190 * international/uni-name.el, international/uni-numeric.el:
3191 * international/uni-old-name.el, international/uni-titlecase.el:
3192 * international/uni-uppercase.el:
3193 Remove generated files from VCS repository.
3195 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3197 * filenotify.el (file-notify-add-watch): Don't special-case
3198 w32notify when computing the directory to watch.
3200 2013-11-27 Glenn Morris <rgm@gnu.org>
3202 Make bootstrap without generated uni-*.el files possible again.
3203 * loadup.el: Update command-line-args checking for unidata-gen.
3204 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3205 * composite.el, international/characters.el:
3206 Handle unicode tables being undefined.
3208 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3209 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3210 (compile-main): Depend on leim rule.
3212 * loadup.el: Move leim-list.el to leim/ subdirectory.
3213 * startup.el (normal-top-level): No more leim directory.
3214 * international/ja-dic-cnv.el (skkdic-convert):
3215 Disable version-control and autoloads in output files.
3216 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3217 Disable version-control and autoloads in output files.
3218 * leim/quail: Move here from ../leim.
3219 * leim/quail/hangul.el (hangul-input-method-activate):
3220 Add autoload cookie.
3221 (generated-autoload-load-name): Set file-local value.
3222 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3223 (generated-autoload-load-name): Set file-local value.
3225 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3227 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3228 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3229 (eww-quit): Ask confirmation before quitting eww.
3231 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3233 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3234 reading output from Diff on MS-Windows and MS-DOS.
3236 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3238 * emacs-lisp/helpers.el (string-reverse): New function.
3240 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3242 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3243 names on MS Windows, like "/[::1]:".
3245 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3248 2013-11-26 Glenn Morris <rgm@gnu.org>
3250 * progmodes/python.el (python-indent-guess-indent-offset):
3251 Avoid corner-case error. (Bug#15975)
3253 Preload leim-list.el. (Bug#4789)
3254 * loadup.el: Load leim-list.el when found.
3255 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3257 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3259 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3261 * emacs-lisp/helpers.el (string-join): New function.
3263 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3265 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3266 Mark as obsolete and replace it with a symbol property.
3267 (byte-compile-form): Use new 'interactive-only property.
3268 * comint.el, files.el, replace.el, simple.el:
3269 Apply new 'interactive-only properly.
3271 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3273 * window.el (display-buffer-at-bottom): Make sure that
3274 split-window-sensibly creates the new window on bottom
3277 2013-11-23 David Kastrup <dak@gnu.org>
3279 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3280 on the conflict markers when available.
3281 (smerge--get-marker): New function.
3282 (smerge-end-re, smerge-base-re): Add subgroup.
3284 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3286 * frame.el (handle-focus-in, handle-focus-out): Add missing
3289 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3291 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3292 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3294 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3296 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3297 (gomoku--last-pos): New var.
3298 (gomoku--intangible-chars): New const.
3299 (gomoku--intangible): New function.
3300 (gomoku-mode): Use it. Derive from special-mode.
3301 (gomoku-move-up): Adjust line count.
3302 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3303 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3304 Simplify accordingly.
3306 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3307 Remove blink-cursor code.
3308 (blink-cursor-timer-function, blink-cursor-suspend):
3309 Don't special-case GUIs.
3310 (blink-cursor-mode): Use focus-in/out-hook.
3312 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3314 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3315 work when annotation is invisible (Bug#13886).
3317 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3319 * json.el (json-alist-p): Only return non-nil if the alist has
3320 simple keys (Bug#13518).
3322 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3324 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3325 when control-statement is the first statement in a buffer (Bug#15956).
3327 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3329 * imenu.el (imenu-generic-skip-comments-and-strings):
3330 New option (Bug#15560).
3331 (imenu--generic-function): Use it.
3333 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3335 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3338 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3340 * emacs-lisp/helpers.el: Add some string helpers.
3341 (string-trim-left): Removes leading whitespace.
3342 (string-trim-right): Removes trailing whitespace.
3343 (string-trim): Removes leading and trailing whitespace.
3345 * subr.el (string-suffix-p): New function.
3347 2013-11-23 Glenn Morris <rgm@gnu.org>
3349 * progmodes/python.el (python-shell-send-file):
3350 Add option to delete file when done. (Bug#15647)
3351 (python-shell-send-string, python-shell-send-region): Use it.
3353 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3355 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3356 to set buffer-read-only to t, never to nil. (Bug#15938)
3358 * textmodes/tex-mode.el (latex-noindent-environments):
3359 Add safe-local-variable property. (Bug#15936)
3361 2013-11-23 Glenn Morris <rgm@gnu.org>
3363 * textmodes/enriched.el (enriched-mode): Doc fix.
3364 * emacs-lisp/authors.el (authors-renamed-files-alist):
3365 Add enriched.doc -> enriched.txt.
3367 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3369 2013-11-22 Leo Liu <sdl.web@gmail.com>
3371 * progmodes/octave.el (inferior-octave-startup): Spit out error
3374 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3376 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3379 (ruby-encoding-magic-comment-style): Add :version.
3381 2013-11-22 Leo Liu <sdl.web@gmail.com>
3383 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3385 (octave-help-mode): Adapt to change to help-mode-finish to use
3386 derived-mode-p on 2013-09-17.
3387 (inferior-octave-prompt): Also match octave-gui.
3388 (octave-kill-process): Don't ask twice. (Bug#10564)
3390 2013-11-22 Leo Liu <sdl.web@gmail.com>
3392 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3393 (inferior-octave-startup, inferior-octave-check-process)
3394 (inferior-octave-track-window-width-change)
3395 (octave-completion-at-point, octave-eldoc-function): Use it.
3396 (octave-kill-process): Provide confirmation. (Bug#10564)
3398 2013-11-21 Leo Liu <sdl.web@gmail.com>
3400 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3401 Fix obsolete variable comment-use-global-state.
3403 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3405 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3406 Add `octave-source-file'.
3407 (octave-source-file): New function. (Bug#15935)
3409 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3411 * net/eww.el (eww-local-regex): New variable.
3412 (eww): Use it to detect localhost and similar.
3414 2013-11-21 Leo Liu <sdl.web@gmail.com>
3416 Add completion for command `ag'.
3417 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3418 (pcomplete/ag): New function.
3419 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3421 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3423 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3425 (make-obsolete): Remove interactive spec.
3427 2013-11-21 Glenn Morris <rgm@gnu.org>
3429 * startup.el (command-line-1): Use path-separator with -L.
3431 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3433 * emacs-lisp/package.el (describe-package-1): Add package archive
3436 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3438 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3439 Change default to "# encoding: %s" to differentiate it from the
3440 default Ruby encoding comment template.
3442 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3444 * ses.el (ses-mode): Doc fix. (Bug#14748)
3446 2013-11-20 Leo Liu <sdl.web@gmail.com>
3448 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3450 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3452 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3453 when rebase or bisect are in progress.
3455 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3457 * filenotify.el (file-notify-add-watch): Doc fix.
3459 2013-11-19 Leo Liu <sdl.web@gmail.com>
3461 * obsolete/rcompile.el: Mark obsolete.
3463 * progmodes/compile.el (compilation-start)
3464 (compilation-goto-locus, compilation-find-file):
3465 Pass no-display-ok and handle nil value from display-buffer.
3468 * window.el (display-buffer-alist, display-buffer): Document the
3469 new parameter no-display-ok. Return either a window or nil
3470 but never a non-window value.
3472 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3474 * electric.el (electric-indent-mode-map): Remove.
3475 (electric-indent-mode): Change the global-map instead (bug#15915).
3477 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3480 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3482 * emacs-lisp/nadvice.el (remove-function): Align with
3483 add-function's behavior.
3485 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3486 (gdb--string-regexp): New constant.
3487 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3488 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3489 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3491 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3492 Adjust use accordingly.
3493 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3495 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3497 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3498 interpolation curlies (Bug#15914).
3500 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3502 * calc/calc.el (calc-context-sensitive-enter): New variable.
3503 (calc-enter): Use `calc-context-sensitive-enter'.
3505 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3507 * progmodes/cfengine.el: Version bump.
3508 (cfengine-cf-promises): New defcustom to locate cf-promises.
3509 (cfengine3-vartypes): Add new "data" type.
3510 (cfengine3--current-word): New function to get current name-like
3512 (cfengine3--current-function): New function to look up a CFEngine
3513 function's definition.
3514 (cfengine3-format-function-docstring): New function.
3515 (cfengine3-make-syntax-cache): New function.
3516 (cfengine3-documentation-function): New function: ElDoc glue.
3517 (cfengine3-completion-function): New function: completion glue.
3518 (cfengine3-mode): Set `compile-command',
3519 `eldoc-documentation-function', and add to
3520 `completion-at-point-functions'.
3522 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3524 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3525 `tramp-current-connection'.
3527 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3529 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3530 nil/self/true/false with "end of symbol".
3532 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3534 * subr.el (version-regexp-alist): Fix a typo.
3536 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3538 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3539 "en_US.utf8" and "LC_CTYPE" to "".
3540 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3541 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3543 2013-11-15 Leo Liu <sdl.web@gmail.com>
3545 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3547 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * progmodes/gud.el (ctl-x-map):
3550 Remove C-x SPC binding. (Bug#12342)
3551 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3553 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3555 * subr.el (version-regexp-alist):
3556 Recognize hg, svn and darcs versions as snapshot versions.
3558 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3559 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3560 (ruby--encoding-comment-required-p): Extract from
3561 `ruby-mode-set-encoding'.
3562 (ruby-mode-set-encoding): Add the ability to always insert an
3563 utf-8 encoding comment. Fix and simplify coding comment update
3566 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3568 * net/tramp-gvfs.el (top): Run init code only when
3569 `tramp-gvfs-enabled' is not nil.
3570 (tramp-gvfs-enabled): Check also :system bus.
3572 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3574 Sync with upstream verilog-mode revision 78e66ba.
3575 * progmodes/verilog-mode.el (verilog-end-of-defun)
3576 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3577 (verilog-get-end-of-defun): Remove unused argument.
3578 (verilog-comment-depth): Remove unused local `e'.
3579 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3580 Don't pass arg to verilog-get-end-of-defun.
3582 2013-11-14 Glenn Morris <rgm@gnu.org>
3584 * obsolete/assoc.el (aget): Prefix dynamic variable.
3586 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3588 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3590 * widget.el, hfy-cmap.el: Remove bogus package version number.
3592 2013-11-13 Glenn Morris <rgm@gnu.org>
3594 * replace.el (replace-eval-replacement):
3595 Try to give more helpful error message. (Bug#15836)
3597 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3598 (archive-7z-update): Avoid custom type mismatches.
3600 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3602 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3604 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3605 address can be empty.
3607 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3608 Accept nil SWITCHES.
3609 (tramp-gvfs-handle-write-region): Implement APPEND.
3611 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3613 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3614 binary "|" operator and closing block args delimiter.
3615 Remove FIXME comment referring to Ruby 1.8-only syntax.
3616 (ruby-smie--implicit-semi-p): Not after "|" operator.
3617 (ruby-smie--closing-pipe-p): New function.
3618 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3619 (ruby-smie-rules): Indent after "|".
3621 2013-11-12 Glenn Morris <rgm@gnu.org>
3623 * ps-print.el (ps-face-attribute-list):
3624 Handle anonymous faces. (Bug#15827)
3626 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3628 * window.el (display-buffer-other-frame): Fix doc-string.
3631 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3633 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3635 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3637 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3638 (tramp-sh-handle-file-local-copy): Don't write a message when
3639 saving temporary files.
3641 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3642 both directories are remote.
3643 (tramp-smb-handle-directory-files): Do not return double entries.
3644 Do not expand full file names.
3645 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3646 (tramp-smb-handle-write-region): Implement APPEND.
3647 (tramp-smb-get-stat-capability): Fix a stupid bug.
3649 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3651 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3653 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3655 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3656 throwing error over malformed let/let* (bug#15814).
3658 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3660 * iswitchb.el (iswitchb-mode): Mark obsolete.
3662 2013-11-11 Glenn Morris <rgm@gnu.org>
3664 * international/uni-bidi.el, international/uni-category.el:
3665 * international/uni-name.el, international/uni-numeric.el:
3666 Regenerate for Unicode 6.3.0.
3668 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3670 * net/tramp.el (tramp-methods):
3671 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3672 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3674 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3676 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3677 Force highlighting text after Summary keyword in doc face for rpm.
3679 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3681 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3682 available and the word has no wildcards, append one to the grep pattern.
3683 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3684 (ispell-complete-word): Call `ispell-lookup-words' with the value
3685 independent of `ispell-look-p'.
3687 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3689 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3691 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3694 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3696 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3697 (ruby-font-lock-keywords): Use backquote.
3699 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3701 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3702 (ruby-smie--backward-token): Only consider full-string matches.
3704 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3706 * faces.el (describe-face): Add distant-foreground.
3708 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3710 * progmodes/ruby-mode.el: Improve encoding comment handling.
3711 (ruby-encoding-magic-comment-style): New option.
3712 (ruby-custom-encoding-magic-comment-template): New option.
3713 (ruby--insert-coding-comment, ruby--detect-encoding):
3714 New functions extracted from `ruby-mode-set-encoding'.
3715 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3716 to control the style of the auto-inserted encoding comment.
3718 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3720 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3721 Use `smie-backward-sexp' with token argument.
3723 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3725 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3726 Remove instrumentation code.
3728 2013-11-08 Glenn Morris <rgm@gnu.org>
3730 * progmodes/autoconf.el (autoconf-mode):
3731 Tweak comment-start-skip. (Bug#15822)
3733 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3735 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3736 at bobp (bug#15826).
3737 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3739 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3741 * man.el (Man-start-calling): New macro, extracted from
3742 Man-getpage-in-background.
3743 (Man-getpage-in-background): Use it.
3744 (Man-update-manpage): New command.
3745 (Man-mode-map): Bind it.
3747 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3749 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3750 of "and", "or", "&&" and "||".
3751 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3752 argument. Prohibit opening curly brace because it could only be a
3753 block opener in that position.
3754 (ruby-smie--forward-token, ruby-smie--backward-token):
3755 Separate "|" from "&" or "*" going after it. That can happen in block
3757 (ruby-smie--indent-to-stmt): New function, seeks the end of
3758 previous statement or beginning of buffer.
3759 (ruby-smie-rules): Use it.
3760 (ruby-smie-rules): Check if there's a ":" before a curly block
3761 opener candidate; if there is, it's a hash.
3763 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3765 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3766 (cl--block-wrapper): Fix last accidental change.
3768 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3770 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3771 Instrument, in order to hunt failure on hydra.
3773 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3775 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3776 malformed bindings form (bug#15814).
3778 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3780 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3781 "." compared to " @ ". This incidentally fixes some indentation
3783 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3784 (ruby-smie-grammar): New tokens: "and" and "or".
3785 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3786 Exclude "and" and "or". Remove "do" in order to work around token
3788 (ruby-smie-rules): Add all infix tokens. Handle the case of
3789 beginning-of-buffer.
3791 2013-11-06 Glenn Morris <rgm@gnu.org>
3793 * Makefile.in (setwins_almost, setwins_for_subdirs):
3794 Avoid accidental matches.
3796 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3798 * menu-bar.el (popup-menu): Use key-binding.
3800 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3802 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3803 menus, support also the menus produced by minor modes.
3806 2013-11-06 Leo Liu <sdl.web@gmail.com>
3808 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3809 DISTANCE to bound the search. All uses changed. (Bug#15808)
3811 2013-11-06 Glenn Morris <rgm@gnu.org>
3813 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3814 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3815 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3817 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3819 * electric.el (electric-indent-just-newline): New command.
3820 (electric-indent-mode-map): New keymap.
3821 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3822 Re-add :group which weren't redundant.
3824 * electric.el (electric-indent-local-mode): New minor mode.
3825 (electric-indent-functions-without-reindent): New var.
3826 (electric-indent-post-self-insert-function): Use it.
3827 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3829 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3831 * international/quail.el (quail-help): Be more explicit about the
3832 meaning of the labels shown on the keys. (Bug#15800)
3834 * startup.el (normal-top-level): Load the subdirs.el files before
3835 setting the locale environment. (Bug#15805)
3837 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3839 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3840 via arguments so as to get the right ones (bug#15418).
3842 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3844 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3846 Fix problems found while writing a test suite.
3848 * net/tramp-compat.el (tramp-compat-load): New defun.
3849 * net/tramp.el (tramp-handle-load): Use it.
3851 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3852 "(numberp ok-if-already-exists)" correctly.
3854 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3856 * international/characters.el (glyphless-char-display-control):
3859 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3861 * progmodes/python.el (python-mode):
3862 * progmodes/scheme.el (scheme-mode):
3863 * progmodes/prolog.el (prolog-mode):
3864 * progmodes/ruby-mode.el (ruby-mode):
3865 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3866 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3868 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3870 * rect.el (rectangle--highlight-for-redisplay):
3871 * emacs-lisp/smie.el (smie--next-indent-change):
3872 Use buffer-chars-modified-tick.
3874 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3876 * electric.el (electric-indent-post-self-insert-function):
3877 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3879 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3881 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3883 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3885 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3888 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3890 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3892 * progmodes/python.el: Fix up last change.
3893 (python-shell--save-temp-file): New function.
3894 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3895 `string' comes from the current buffer.
3896 (python-shell-send-string-no-output): Remove `msg' arg.
3897 (python--use-fake-loc): New var.
3898 (python-shell-buffer-substring): Obey it. Try to compensate for the
3899 extra coding line added by python-shell--save-temp-file.
3900 (python-shell-send-region): Use python-shell--save-temp-file and
3901 python-shell-send-file directly. Add `nomain' argument.
3902 (python-shell-send-buffer): Use python-shell-send-region.
3903 (python-electric-pair-string-delimiter): New function.
3904 (python-mode): Use it.
3906 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3908 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3909 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3910 environment and decoding all of the default-directory's to here
3912 (command-line): Decode also argv[0].
3914 * loadup.el: Error out if default-directory is a multibyte string
3915 when we are dumping.
3917 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3919 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3921 * emacs-lisp/package.el (package-menu-mode)
3922 (package-menu--print-info, package-menu--archive-predicate):
3923 Add Archive column to package list.
3925 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3927 Fix problems found while writing a test suite.
3929 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3930 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3931 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3932 to nil when running original file name handler. Otherwise,
3933 there are problems with constructs like "$$FOO".
3935 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3938 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3940 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3942 * subr.el (version<, version<=, version=):
3943 Update docstrings with information for snapshot versions.
3945 * helpers.el: New library for misc helper functions.
3946 (hash-table-keys): New function returning a list of hash keys.
3947 (hash-table-values): New function returning a list of hash values.
3949 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3951 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3952 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3954 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3956 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3957 checking whether point is after a 1-letter word.
3959 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3961 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3962 Don't infloop when expanding region over `multiline' syntax-type that
3963 begins a line (bug#15778).
3965 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3967 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3968 Make it into a proper minor mode.
3969 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3970 (rectangle-mark-mode-map): New keymap.
3971 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3973 2013-11-04 Glenn Morris <rgm@gnu.org>
3975 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3977 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3979 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3980 (ruby-smie-rules): Use smie-rule-parent instead.
3982 * emacs-lisp/smie.el (smie-rule-parent): Always call
3983 smie-indent-virtual rather than only for hanging tokens.
3984 (smie--next-indent-change): New helper command.
3986 2013-11-03 Glenn Morris <rgm@gnu.org>
3988 * Makefile.in (abs_srcdir): Remove.
3989 (emacs): Unset EMACSLOADPATH.
3991 2013-11-02 Glenn Morris <rgm@gnu.org>
3993 * Makefile.in (EMACS): Use a relative filename.
3994 (abs_top_builddir): Remove.
3995 (custom-deps, finder-data, autoloads): Use --chdir.
3997 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3999 Use relative filenames in TAGS files.
4000 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4001 (lisptagsfiles4, TAGS): Use relative file names.
4002 (TAGS-LISP): Remove.
4003 (maintainer-clean): No more TAGS-LISP file.
4005 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4006 (lisptagsfiles4): Use absolute filenames again.
4007 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4008 Remove all *loaddefs files, not just the first. Remove esh-groups.
4009 (maintainer-clean): Delete TAGS, TAGS-LISP.
4011 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4013 * emacs-lisp/package.el (package-version-join):
4014 Recognize snapshot versions.
4016 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4018 * subr.el (version-regexp-alist): Add support for snapshot versions.
4020 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4022 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4023 New function, replacement for `smie-rule-parent' for when we want to
4024 skip over our direct parent if it's an assignment token..
4025 (ruby-smie-rules): Use it.
4027 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4029 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4030 unconditionally. Remove now unnecessary forward declarations.
4031 Remove XEmacs-specific setup.
4032 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4033 (ruby-font-lock-syntactic-keywords)
4034 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4035 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4036 (ruby-here-doc-end-syntax): Remove.
4037 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4038 defined as function.
4040 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4042 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4044 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4046 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4047 table and abbrev table, `define-derived-mode' does that for us
4050 2013-11-01 Glenn Morris <rgm@gnu.org>
4052 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4053 files is atomic for some time, so no parallel compilation issues).
4055 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4057 * faces.el (face-x-resources): Add :distant-foreground.
4058 (region): Use :distant-foreground for gtk and ns.
4060 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4062 Allow multiple bibliographies when BibLaTeX is used rather than
4064 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4065 (reftex-locate-bibliography-files): Us it.
4067 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4069 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4070 allow comments in pbm files.
4072 * term/w32-win.el (dynamic-library-alist): Support newer versions
4073 of libjpeg starting with v7: look only for the DLL from the
4074 version against which Emacs was built.
4075 Support versions of libpng beyond 1.4.x.
4076 Support libtiff v4.x.
4078 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4080 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4081 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4083 (ruby-deep-arglist): Add property :type.
4085 2013-10-31 Glenn Morris <rgm@gnu.org>
4087 * Makefile.in (custom-deps, finder-data): No need to setq the target
4088 variables, we are in the right directory and the defaults work fine.
4090 2013-10-30 Glenn Morris <rgm@gnu.org>
4092 * Makefile.in (autoloads): Do not use abs_lisp.
4094 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4095 `newline' does not respect `standard-output', so use `princ'.
4097 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4099 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4100 * buff-menu.el (Buffer-menu--unmark): New function.
4101 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4103 2013-10-30 Glenn Morris <rgm@gnu.org>
4105 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4107 * emacs-lisp/package.el (lm-homepage): Declare.
4109 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4112 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4114 * Makefile.in (finder-data, autoloads, update-subdirs)
4115 (compile-main, compile-clean, compile-always, bootstrap-clean):
4116 Check return value of cd.
4117 (compile-calc): Remove.
4119 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4121 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4123 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4124 (byte-compile-and-folded): New function.
4125 (=, <, >, <=, >=): Use it.
4127 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4128 (path-separator, null-device, buffer-file-coding-system)
4129 (lpr-headers-switches): Check system-type before modifying them.
4130 (find-buffer-file-type-coding-system): Mark obsolete.
4131 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4132 find-file-not-found-set-buffer-file-coding-system.
4133 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4134 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4135 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4136 (w32-direct-print-region-helper, w32-direct-print-region-function)
4137 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4138 * startup.el (normal-top-level-add-subdirs-to-load-path):
4139 * ps-print.el (ps-print-region-function):
4140 * lpr.el (print-region-function): Use new name.
4142 * subr.el (custom-declare-variable-early): Remove function.
4143 (custom-declare-variable-list): Remove var.
4144 (error, user-error): Remove `while' loop.
4145 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4146 (user-emacs-directory-warning, locate-user-emacs-file):
4148 * simple.el (read-quoted-char-radix, read-quoted-char):
4149 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4151 * custom.el (custom-declare-variable-list): Don't process
4152 custom-declare-variable-list.
4154 * progmodes/python.el (python-shell-get-buffer): New function.
4155 (python-shell-get-process): Use it.
4156 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4157 Python which encoding was used. Don't split-string since we only care
4158 about the first line. Return the temp-file, if applicable.
4159 (python-shell-send-region): Tell compile.el how to turn locations in
4160 the temp-file into locations in the source buffer.
4162 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4164 * subr.el (undefined): Add missing behavior from the C code for
4167 * rect.el: Use lexical-binding. Add new rectangular region support.
4168 (rectangle-mark): New command.
4169 (rectangle--region): New var.
4170 (deactivate-mark-hook): Reset rectangle--region.
4171 (rectangle--extract-region, rectangle--insert-for-yank)
4172 (rectangle--highlight-for-redisplay)
4173 (rectangle--unhighlight-for-redisplay): New functions.
4174 (region-extract-function, redisplay-unhighlight-region-function)
4175 (redisplay-highlight-region-function): Use them to handle
4177 * simple.el (region-extract-function): New var.
4178 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4179 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4180 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4181 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4182 (redisplay-unhighlight-region-function)
4183 (redisplay-highlight-region-function): New vars.
4184 (redisplay--update-region-highlight): New function.
4185 (pre-redisplay-function): Use it.
4186 (exchange-point-and-mark): Don't deactivate the mark before
4187 reactivate-it anyway.
4188 * comint.el (comint-kill-region): Remove yank-handler argument.
4189 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4190 (delete-char): Remove property, since it's now part of their
4192 (self-insert-iso): Remove property since this command doesn't exist.
4194 * emacs-lisp/package.el (package--download-one-archive)
4195 (describe-package-1): Don't query the user about final newline.
4197 2013-10-29 Daniel Colascione <dancol@dancol.org>
4199 * net/tramp.el (tramp-methods): Document new functionality.
4200 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4201 tramp-hostname-checker if method provides one instead of scanning
4202 argument list for "%h" to decide hostname acceptability.
4204 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4206 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4207 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4208 Handle COPY-CONTENTS. (Bug#15737)
4210 2013-10-28 Daiki Ueno <ueno@gnu.org>
4213 (epa-file-cache-passphrase-for-symmetric-encryption):
4214 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4216 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4218 * image.el (defimage):
4219 (image-load-path): Doc fixes.
4221 2013-10-27 Alan Mackenzie <acm@muc.de>
4223 Indent statements in macros following "##" correctly.
4224 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4225 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4227 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4229 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4231 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4233 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4234 after `=' is probably a new expression.
4236 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4238 * man.el (man-imenu-title): New option.
4239 (Man-mode-map): Add menu. (Bug#15722)
4240 (Man-mode): Add imenu to menu.
4242 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4244 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4245 specific in what the first arg can be: a non-keyword word,
4246 string/regexp/percent literal opener, opening paren, or unary
4247 operator followed directly by word.
4249 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4251 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4252 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4253 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4254 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4255 Remove vars, they do not apply any more.
4256 (prolog-mode-abbrev-table): Remove redundant declaration.
4257 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4258 (prolog-use-smie): Remove.
4259 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4260 supported by prolog-electric-if-then-else-flag.
4261 (prolog-mode-variables, prolog-menu): Use setq-local.
4262 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4263 Remove binding to `Backspace' since this key doesn't exist anyway.
4264 Remove bindings for electric self-inserting keys.
4265 (prog-mode): Assume it's defined.
4266 (prolog-post-self-insert): New function.
4267 (prolog-mode): Use it.
4268 (prolog-indent-line, prolog-indent-level)
4269 (prolog-find-indent-of-matching-paren)
4270 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4271 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4272 (prolog-goto-next-paren, prolog-in-string-or-comment)
4273 (prolog-tokenize, prolog-inside-mline-comment)
4274 (prolog-find-start-of-mline-comment): Remove functions.
4275 (prolog-find-unmatched-paren, prolog-clause-end)
4276 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4277 (prolog-electric--if-then-else): Rename from
4278 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4279 (prolog-tokenize-searchkey): Remove const.
4280 (prolog-clause-info): Use forward-sexp.
4281 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4282 (prolog-electric-if-then-else): Remove commands.
4283 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4284 for use in post-self-insert-hook.
4285 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4286 for use in post-self-insert-hook.
4287 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4288 for use in post-self-insert-hook.
4289 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4290 adapt it for use in post-self-insert-hook.
4292 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4294 * emacs-lisp/ert.el (ert-run-tests-interactively):
4295 Use `completing-read'. (Bug#9756)
4297 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4299 * simple.el (line-move): Call line-move-1 instead of
4300 line-move-visual when the current window hscroll is zero, but
4301 temporary-goal-column indicates we will need to hscroll as result
4302 of the movement. (Bug#15712)
4304 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4306 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4307 capitalization. Use :visible instead of :active.
4308 Fix `ruby-indent-exp' reference. Add menu items for the generic
4309 commands that are used with SMIE.
4310 (ruby-do-end-to-brace): Insert space after `{'.
4312 2013-10-25 John Anthony <john@jo.hnanthony.com>
4314 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4316 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4318 2013-10-25 Glenn Morris <rgm@gnu.org>
4320 * vc/vc.el (vc-print-log): Don't use a working revision unless
4321 one was explicitly specified. (Bug#15322)
4323 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4325 * subr.el (add-to-list): Preserve return value in compiler-macro
4328 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4330 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4331 result. Ask user to retry using '-all' flag. (Bug#15701)
4333 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4335 * emacs-lisp/smie.el: New smie-config system.
4336 (smie-config): New defcustom.
4337 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4338 (smie-config-guess, smie-config-save): New commands.
4339 (smie-config--mode-local, smie-config--buffer-local)
4340 (smie-config--trace, smie-config--modefuns): New vars.
4341 (smie-config--advice, smie-config--mode-hook)
4342 (smie-config--setter, smie-config-local, smie-config--get-trace)
4343 (smie-config--guess-value, smie-config--guess): New functions.
4344 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4345 text properties. Treat "string fence" syntax like string syntax.
4347 * progmodes/sh-script.el (sh-use-smie): Change default.
4348 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4349 (sh-var-value): Simplify by CSE.
4350 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4351 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4353 (sh-guess-basic-offset): Use cl-incf.
4354 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4356 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4358 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4361 2013-10-24 Glenn Morris <rgm@gnu.org>
4363 * Makefile.in (abs_top_srcdir): Remove.
4364 (update-subdirs): Use relative path to update-subdirs.
4366 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4368 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4369 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4370 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4371 Call unmsys--file-name before expand-file-name, not after it.
4373 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4375 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4376 (ert-test-skipped): New error.
4377 (ert-skip, ert-stats-skipped): New defuns.
4378 (ert--skip-unless): New macro.
4379 (ert-test-skipped): New struct.
4380 (ert--run-test-debugger, ert-test-result-type-p)
4381 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4382 (ert--stats-set-test-and-result, ert-char-for-test-result)
4383 (ert-string-for-test-result, ert-run-tests-batch)
4384 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4385 Handle skipped tests. (Bug#9803)
4387 2013-10-24 Glenn Morris <rgm@gnu.org>
4389 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4391 * Makefile.in (abs_top_srcdir): New, set by configure.
4392 (update-subdirs): Correct build-aux location.
4394 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4396 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4397 value, whether we could auto-deduce `backend', or not.
4399 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4400 with parameters" example. Simplify the "is it block or is it
4401 hash" check, but also make it more thorough.
4403 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4405 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4407 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4409 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4412 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4415 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4417 * progmodes/compile.el (compilation-directory-matcher)
4418 (compilation-page-delimiter):
4419 Support GNU Make-4.0 directory quoting. (Bug#15678)
4421 2013-10-23 Leo Liu <sdl.web@gmail.com>
4423 * ido.el (ido-tidy): Handle read-only text.
4425 2013-10-23 Glenn Morris <rgm@gnu.org>
4427 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4428 (emacs, compile, compile-always):
4429 Quote entities that might contain whitespace.
4430 (custom-deps, finder-data, autoloads): Use abs_lisp.
4431 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4432 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4433 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4435 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4437 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4438 Use `following-char'.
4440 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4442 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4443 * progmodes/ruby-mode.el (ruby-smie-rules):
4444 Remove corresponding workaround. Fix indentation rule of ";" so it
4445 also applies when ";" is the parent.
4447 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4449 * frame.el (display-screens, display-pixel-height)
4450 (display-pixel-width, display-mm-width, display-backing-store)
4451 (display-save-under, display-planes, display-color-cells)
4452 (display-visual-class, display-monitor-attributes-list):
4453 Mention the optional ‘display’ argument in doc strings.
4455 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4457 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4458 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4460 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4462 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4463 TODO. Add "." after " @ ".
4464 (ruby-smie--at-dot-call): New function. Checks if point at method
4465 call with explicit target.
4466 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4467 to the method name tokens when it precedes them.
4468 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4469 (ruby-smie-rules): Add rule for indentation before and after "."
4472 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4474 * textmodes/remember.el (remember-diary-extract-entries):
4477 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4480 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4482 * progmodes/ruby-mode.el (ruby-smie-grammar):
4483 Add (almost) all infix operators.
4484 (ruby-smie--implicit-semi-p): Add new operator chars.
4486 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4488 (ruby-smie--args-separator-p): Check that there's no newline
4489 between method call and its arguments.
4491 2013-10-20 Alan Mackenzie <acm@muc.de>
4493 Allow comma separated lists after Java "implements".
4495 * progmodes/cc-engine.el (c-backward-over-enum-header):
4497 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4498 from a "disallowed" list in enum fontification.
4500 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4502 * startup.el (default-frame-background-mode): Remove unused defvar.
4504 * progmodes/verilog-mode.el (verilog-mode): Don't set
4505 comment-indent-function globally.
4507 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4509 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4510 Move Info menu item creation to ns-win.el.
4512 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4515 * menu-bar.el: Move GNUstep specific menus...
4517 * term/ns-win.el (ns-initialize-window-system): ... to here.
4519 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4521 * simple.el (newline): Only run post-self-insert-hook when
4522 called interactively.
4524 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4526 * icomplete.el (icomplete-with-completion-tables): Add :version.
4528 2013-10-19 Alan Mackenzie <acm@muc.de>
4530 Fix fontification bugs with constructors and const.
4532 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4533 CASE 2) Remove the check for the absence of a suffix construct
4534 after a function declaration with only types (no identifiers) in
4535 the parentheses. Also, accept a function declaration with just a
4536 type inside the parentheses, if this type can be positively
4537 recognised as such, or if a prefix keyword like "explicit" nails
4538 down the construct as a declaration.
4540 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4542 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4543 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4544 the problem whereby selecting a menu item that leads to a
4545 minibuffer prompt moves the cursor out of the minibuffer window,
4546 making it hard to type at the prompt. Suggested by Stefan Monnier
4547 <monnier@iro.umontreal.ca>.
4549 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4551 * menu-bar.el: Don't make Services menu.
4553 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4555 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4556 (ffap-alist): Use ffap-c++-mode for c++-mode.
4557 (ffap-c++-path): New variable.
4558 (ffap-c++-mode): New function.
4560 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4562 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4564 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4566 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4567 introduced on 2013-09-08, which results in an infinite loop
4568 requesting a password.
4570 2013-10-18 Glenn Morris <rgm@gnu.org>
4572 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4574 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4576 Sync with upstream verilog-mode revision 1a6ecec7.
4577 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4578 (verilog-mode-release-date): Remove.
4579 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4580 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4581 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4582 (verilog-auto-tieoff-ignore-regexp)
4583 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4584 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4585 (verilog-signals-with, verilog-dir-cache-preserving)
4586 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4588 (verilog-case-fold): New option, to control case folding in
4589 regexp searches, bug597.
4590 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4591 (verilog-string-match-fold, verilog-in-paren-count)
4592 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4593 (verilog-at-close-struct-p): New functions.
4594 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4595 (verilog-forward-sexp, verilog-set-auto-endcomments):
4596 (verilog-leap-to-case-head): Handle "unique0" case.
4597 (verilog-in-constraint-re): New constant.
4598 (verilog-keywords, verilog-type-font-keywords):
4599 Add some SystemVerilog 1800-2012 keywords.
4600 (verilog-label-be): Remove unimplemented argument, bug669.
4601 (verilog-batch-execute-func): When batch expanding clear
4602 create-lockfiles to prevent spurious user locks when a file ends
4604 (verilog-calculate-indent, verilog-calc-1)
4605 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4606 (verilog-do-indent): Fix indentation of nested constraints
4608 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4609 (verilog-auto-inst-param): Use verilog-string-match-fold.
4610 (verilog-read-inst-module-matcher):
4611 Fix AUTOINST on gate primitives with #1.
4612 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4613 Reads all user-defined typed variables.
4614 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4615 (verilog-signals-matching-regexp)
4616 (verilog-signals-not-matching-regexp, verilog-auto):
4617 Respect verilog-case-fold.
4618 (verilog-diff-report): Fix line count.
4619 (verilog-auto-assign-modport): Remove unused local `modi'.
4620 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4621 better handle multidimensional arrays.
4622 Fix packed array ports misadding bit index in AUTOINST, bug637.
4623 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4624 to not double-declare existing outputs and inputs, respectively.
4625 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4626 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4627 (verilog-sk-uvm-component): New skeleton.
4628 (verilog-submit-bug-report): Add verilog-case-fold,
4629 remove verilog-mode-release-date.
4631 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4633 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4636 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4638 * textmodes/remember.el (remember): Set buffer-offer-save in
4639 remember buffers (bug#13566).
4641 2013-10-18 Daniel Colascione <dancol@dancol.org>
4643 When evaluating forms in ielm, direct standard output to ielm
4644 buffer. Add new ielm-return-for-effect command. Remove trailing
4645 whitespace throughout.
4647 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4648 (ielm-return-for-effect): New command.
4649 (ielm-send-input): Accept optional `for-effect' parameter.
4650 (ielm-eval-input): Accept optional `for-effect' parameter.
4651 Bind `standard-output' to stream we create using
4652 `ielm-standard-output-impl'. Suppress printing result when
4654 (ielm-standard-output-impl): New function.
4655 (inferior-emacs-lisp-mode): Explain new features in documentation.
4657 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4661 * net/tramp.el (tramp-debug-message): Do not check for connection
4663 (tramp-message): Use "vector" connection property.
4665 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4666 (tramp-equal-remote, tramp-eshell-directory-change)
4667 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4668 (tramp-adb-handle-rename-file)
4669 * net/tramp-cmds.el (tramp-list-remote-buffers)
4670 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4671 * net/tramp-compat.el (tramp-compat-process-running-p)
4672 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4673 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4674 (tramp-gvfs-handle-rename-file)
4675 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4676 (tramp-set-file-uid-gid)
4677 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4678 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4681 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4682 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4683 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4684 (tramp-gw-open-network-stream): Suppress unrelated traces.
4686 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4687 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4688 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4689 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4690 connection property.
4692 * net/tramp-cache.el (top): Suppress traces when reading
4695 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4696 Refactor common code. Improve debug message.
4697 (tramp-maybe-open-connection)
4698 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4699 connection buffer too early.
4701 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4702 from `tramp-smb-actions-with-acl'.
4703 (tramp-smb-actions-set-acl): New defconst.
4704 (tramp-smb-handle-copy-directory)
4705 (tramp-smb-action-get-acl): New defun, renamed from
4706 `tramp-smb-action-with-acl'.
4707 (tramp-smb-action-set-acl): New defun.
4708 (tramp-smb-handle-set-file-acl): Rewrite.
4710 2013-10-17 Glenn Morris <rgm@gnu.org>
4712 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4714 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4716 * skeleton.el (skeleton-newline): Remove.
4717 (skeleton-internal-1): Use (insert "\n") instead.
4719 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4722 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4723 forward-sexp-function while we redo its job (bug#15613).
4725 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4727 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4728 represented by lists.
4730 2013-10-16 Glenn Morris <rgm@gnu.org>
4732 * tmm.el (tmm--history): New dynamic variable.
4733 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4735 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4737 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4738 (tramp-smb-errors): Add error messages.
4739 (tramp-smb-actions-with-acl): New defconst.
4740 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4741 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4742 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4743 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4744 (tramp-smb-get-stat-capability): Fix tests.
4746 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4748 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4751 2013-10-16 Glenn Morris <rgm@gnu.org>
4753 * ansi-color.el (ansi-color-drop-regexp):
4754 Add 1J, 1K, 2K. (Bug#15617)
4756 * files.el (hack-local-variables--warned-lexical): New.
4757 (hack-local-variables):
4758 Warn about misplaced lexical-binding. (Bug#15616)
4760 * net/eww.el (eww-render): Always set eww-current-url,
4761 and update header line. (Bug#15622)
4762 (eww-display-html): ... Rather than just doing it here.
4764 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4766 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4767 menu navigations commands.
4769 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4771 * progmodes/subword.el (subword-capitalize): Be careful when
4772 the search for [[:alpha:]] fails (bug#15580).
4774 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4776 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4777 to commands that scroll the menu.
4779 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4781 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4782 Handle methods ending with `?' and `!'.
4784 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4786 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4787 `japanese-cp932' to `cp932' to fix the problem where saving a
4788 source file written in Shift_JIS twice would end up having
4789 `coding: japanese-cp932' which Ruby could not recognize.
4790 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4791 in `ruby-encoding-map'.
4792 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4793 doesn't need to be explicitly declared in magic comment.
4794 (ruby-encoding-map): Add type declaration for better customize UI.
4796 2013-10-13 Glenn Morris <rgm@gnu.org>
4798 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4799 Occur buffers are read-only. http://bugs.debian.org/720775
4801 * emacs-lisp/authors.el (authors-fixed-entries):
4802 Comment out old alpha stuff.
4804 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4806 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4807 to `after-save-hook' instead of `before-save-hook'.
4808 (ruby-mode-set-encoding): Use the value of coding system used to
4809 write the file. Call `basic-save-buffer-1' after modifying the
4812 2013-10-13 Alan Mackenzie <acm@muc.de>
4814 Fix indentation/fontification of Java enum with
4815 "implements"/generic.
4817 * progmodes/cc-engine.el (c-backward-over-enum-header):
4818 Extracted from the three other places and enhanced to handle generics.
4819 (c-inside-bracelist-p): Uses new function above.
4820 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4822 (c-font-lock-enum-tail): Uses new function above.
4824 2013-10-13 Kenichi Handa <handa@gnu.org>
4826 * international/mule-cmds.el (select-safe-coding-system): Remove a
4827 superfluous condition in chekcing whether a coding system is safe
4830 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4832 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4834 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4836 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4838 2013-10-13 Glenn Morris <rgm@gnu.org>
4840 * menu-bar.el (menu-bar-update-buffers):
4841 Unify Buffers menu prompt string. (Bug#15576)
4843 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4845 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4847 (authors-fixed-entries): Use accented form of name.
4849 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4851 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4852 method calls (bug#15594).
4853 (ruby-smie--args-separator-p): New function.
4854 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4855 recognize paren-free method calls.
4857 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4858 internals of universal-argument.
4860 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4862 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4863 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4864 dropped menu on second mouse click on the menu bar.
4866 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4868 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4869 (explicit-shell-file-name): Declare.
4870 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4871 (sh-completion-at-point-function): New function.
4873 (sh-smie--keyword-p): Remove unused argument.
4874 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4876 (sh-set-shell): Always setup SMIE, even if we use the
4877 old indentation code.
4879 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4881 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4883 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4884 predicate would return nil are almost non-existent.
4885 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4887 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4888 cache also after commands that modify the buffer but don't move
4891 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4893 * env.el (substitute-env-in-file-name): New function.
4894 (substitute-env-vars): Extend the meaning of the optional arg.
4896 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4898 * term/w32-win.el (dynamic-library-alist): Define separate lists
4899 of GIF DLLs for versions before and after 5.0.0 of giflib.
4902 2013-10-10 João Távora <joaotavora@gmail.com>
4904 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4905 not locked, use last revision and current source as
4906 defaults. (Bug#15569)
4908 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4910 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4913 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4915 * window.el (pop-to-buffer-same-window): Fix doc-string.
4918 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4920 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4922 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4924 * calendar/icalendar.el (icalendar-import-file):
4925 Fix interactive spec. (Bug#15482)
4927 2013-10-10 Glenn Morris <rgm@gnu.org>
4929 * desktop.el (desktop-save): Default to saving in .emacs.d,
4930 since PWD is no longer in desktop-path by default. (Bug#15319)
4932 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4933 now that text mode has a menu with the same entry.
4934 (menu-bar-text-mode-auto-fill): Remove now unused func.
4935 * textmodes/text-mode.el (text-mode-map):
4936 Use auto-fill help text from menu-bar.el.
4938 2013-10-10 John Anthony <john@jo.hnanthony.com>
4940 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4942 2013-10-09 Juri Linkov <juri@jurta.org>
4944 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4945 instead of this-command-keys. Add universal-argument-more and
4946 universal-argument-minus to the list of prefix commands. (Bug#15568)
4948 2013-10-09 Glenn Morris <rgm@gnu.org>
4950 * vc/vc-svn.el (vc-svn-create-repo):
4951 Expand paths in file://... url. (Bug#15446)
4953 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4955 (authors): Remove unused local variables.
4957 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4959 * profiler.el: Create a more coherent calltree from partial backtraces.
4960 (profiler-format): Hide the tail with `invisible' so that C-s can still
4961 find the hidden elements.
4962 (profiler-calltree-depth): Don't recurse so enthusiastically.
4963 (profiler-function-equal): New hash-table-test.
4964 (profiler-calltree-build-unified): New function.
4965 (profiler-calltree-build): Use it.
4966 (profiler-report-make-name-part): Indent the calltree less.
4967 (profiler-report-mode): Add visibility specs for profiler-format.
4968 (profiler-report-expand-entry, profiler-report-toggle-entry):
4969 Expand the whole subtree when provided with a prefix arg.
4971 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4973 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4975 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4976 hanging iuwu-mod token.
4977 (ruby-smie--forward-token): Do not include a dot after a token in
4979 (ruby-smie--backward-token): Likewise.
4981 2013-10-08 Juri Linkov <juri@jurta.org>
4983 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4984 to isearch-other-control-char.
4985 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4986 and isearch-post-command-hook to post-command-hook.
4987 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4988 and isearch-post-command-hook from post-command-hook.
4989 (isearch-unread-key-sequence)
4990 (isearch-reread-key-sequence-naturally)
4991 (isearch-lookup-scroll-key, isearch-other-control-char)
4992 (isearch-other-meta-char): Remove functions.
4993 (isearch-pre-command-hook, isearch-post-command-hook):
4994 New functions based on isearch-other-meta-char rewritten
4995 relying on the new behavior of overriding-terminal-local-map
4996 that does not replace the local keymaps any more. (Bug#15200)
4998 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5000 Support menus on text-mode terminals.
5001 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5004 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5006 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5007 Move here from mouse.el.
5008 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5010 (tty-menu-navigation-map): New map for TTY menu navigation.
5012 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5014 * frame.el (display-mouse-p): Report text-mode mouse as available
5016 (display-popup-menus-p): Report availability if mouse is
5017 available; don't condition on window-system.
5019 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5020 (tty-menu-selected-face): New faces.
5022 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5024 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5025 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5026 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5027 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5029 (lisp-mode-variables): New `elisp' argument.
5030 (emacs-lisp-mode): Use it.
5031 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5032 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5034 * indent.el: Use lexical-binding.
5035 (indent-region): Add progress reporter.
5036 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5038 (indent--next-tab-stop): New function to implement this behavior.
5039 (tab-to-tab-stop, move-to-tab-stop): Use it.
5041 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5043 * indent.el (indent-rigidly--current-indentation): New function.
5044 (indent-rigidly-map): New var.
5045 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5047 2013-10-08 Bastien Guerry <bzg@gnu.org>
5049 * register.el (insert-register): Fix 2013-10-07 change.
5051 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * progmodes/perl-mode.el: Use lexical-binding.
5054 Remove redundant :group args.
5055 (perl-nochange): Change default to be closer to other major modes's
5057 (perl-indent-line): Don't consider text on current line as a
5058 valid beginning of function from which to indent.
5060 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5061 with more than one argument (bug#15538).
5063 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5065 * vc/pcvs.el: Use lexical-binding.
5066 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5067 environment of `eval'.
5068 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5069 than a list of expressions. Adjust callers.
5070 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5072 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5074 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5075 case of the dot in a chained method call being on the following line.
5077 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5079 * electric.el (electric-indent-inhibit): New var.
5080 (electric-indent-post-self-insert-function): Use it.
5081 * progmodes/python.el (python-mode): Set it.
5083 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5086 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5088 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5089 (css-mode): Use electric-indent-chars.
5091 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5092 (font-lock-beg, font-lock-end): Move before first use.
5093 (nxml-mode): Use syntax-propertize-function.
5094 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5095 (nxml-extend-after-change-region): Remove.
5096 * nxml/xmltok.el: Use lexical-binding.
5097 (xmltok-save): Use `declare'.
5098 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5099 * nxml/nxml-util.el: Use lexical-binding.
5100 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5102 * nxml/nxml-ns.el: Use lexical-binding.
5103 (nxml-ns-save): Use `declare'.
5104 (nxml-ns-prefixes-for): Avoid add-to-list.
5105 * nxml/rng-match.el: Use lexical-binding.
5106 (rng--ipattern): Use cl-defstruct.
5107 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5108 (rng-cons-group-after, rng-subst-group-after)
5109 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5110 Use closures instead of `(lambda...).
5112 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5114 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5117 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5118 Use `tramp-handle-insert-file-contents'.
5119 (tramp-gvfs-handle-insert-file-contents): Remove function.
5121 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5122 Use `save-restriction' in order to keep markers.
5124 * net/trampver.el: Update release number.
5126 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5128 * progmodes/compile.el (compilation-parse-errors):
5129 Use compilation--put-prop.
5130 (compilation--ensure-parse): Check compilation-multiline.
5132 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5134 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5137 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5139 * progmodes/ruby-mode.el: Fix recently added tests.
5140 (ruby-smie-grammar): Add - and +.
5141 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5142 (ruby-smie--backward-id): New functions.
5143 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5144 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5147 2013-10-07 Leo Liu <sdl.web@gmail.com>
5149 * register.el (register-preview-delay)
5150 (register-preview-functions): New variables.
5151 (register-read-with-preview, register-preview)
5152 (register-describe-oneline): New functions.
5153 (point-to-register, window-configuration-to-register)
5154 (frame-configuration-to-register, jump-to-register)
5155 (number-to-register, view-register, insert-register)
5156 (copy-to-register, append-to-register, prepend-to-register)
5157 (copy-rectangle-to-register): Use register-read-with-preview to
5158 read register. (Bug#15525)
5160 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5162 * net/network-stream.el (network-stream-open-starttls): Don't add
5163 --insecure if it's already present, because that gnutls-cli
5164 rejects getting that parameter twice.
5166 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5168 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5171 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5173 * newcomment.el (comment-use-global-state): Change default value
5174 to t, mark obsolete (Bug#15251).
5175 (comment-beginning): In addition to `comment-to-syntax', check the
5176 value of `comment-use-global-state'.
5178 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5180 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5181 (ruby-comment-column): Follow the global default, by default.
5182 (ruby-smie-grammar): Add assignment syntax.
5183 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5184 open-paren, a comma, or a \.
5185 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5186 and line continuations.
5187 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5188 followed by implicit semi-colons. Add rule for string concatenation
5189 and for indentation at BOB.
5190 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5192 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5193 calling next-sexp, since next-token may have skipped chars which
5194 next-sexp doesn't know should be skipped!
5196 2013-10-05 Leo Liu <sdl.web@gmail.com>
5198 * progmodes/octave.el (octave-send-region):
5199 Call compilation-forget-errors.
5201 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5203 * vc/vc-svn.el (vc-svn-find-admin-dir):
5204 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5205 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5206 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5207 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5209 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5211 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5213 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5215 * subr.el (read-passwd): Hide chars even when called within a context
5216 where after-change-functions is disabled (bug#15501).
5217 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5218 until we removed ourself from overriding-terminal-local-map.
5220 2013-10-04 Leo Liu <sdl.web@gmail.com>
5222 * progmodes/octave.el (inferior-octave-mode):
5223 Call compilation-forget-errors.
5225 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5227 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5229 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5231 * net/secrets.el (secrets-create-collection): Add optional
5232 argument ALIAS. Use proper Label keyword. Append ALIAS as
5233 dbus-call-method argument. (Bug#15516)
5235 2013-10-04 Leo Liu <sdl.web@gmail.com>
5237 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5238 (inferior-octave-compilation-font-lock-keywords): New variables.
5239 (compilation-error-regexp-alist)
5240 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5241 (inferior-octave-mode): Use compilation-shell-minor-mode.
5243 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5245 * minibuffer.el (completion--replace): Be careful that `end' might be
5248 2013-10-03 Daiki Ueno <ueno@gnu.org>
5250 Add support for package signature checking.
5251 * emacs-lisp/package.el (url-http-file-exists-p)
5252 (epg-make-context, epg-context-set-home-directory)
5253 (epg-verify-string, epg-context-result-for)
5254 (epg-signature-status, epg-signature-to-string)
5255 (epg-check-configuration, epg-configuration)
5256 (epg-import-keys-from-file): Declare.
5257 (package-check-signature): New user option.
5258 (package-unsigned-archives): New user option.
5259 (package-desc): Add `signed' field.
5260 (package-load-descriptor): Set `signed' field if .signed file exists.
5261 (package--archive-file-exists-p): New function.
5262 (package--check-signature): New function.
5263 (package-install-from-archive): Check package signature.
5264 (package--download-one-archive): Check archive signature.
5265 (package-delete): Remove .signed file.
5266 (package-import-keyring): New command.
5267 (package-refresh-contents): Import default keyring.
5268 (package-desc-status): Add "unsigned" status.
5269 (describe-package-1, package-menu--print-info)
5270 (package-menu-mark-delete, package-menu--find-upgrades)
5271 (package-menu--status-predicate): Support "unsigned" status.
5273 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5275 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5276 the new compilation scheme using the new byte-codes.
5278 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5279 (byte-pophandler): New byte codes.
5280 (byte-goto-ops): Adjust accordingly.
5281 (byte-compile--use-old-handlers): New var.
5282 (byte-compile-catch): Use new byte codes depending on
5283 byte-compile--use-old-handlers.
5284 (byte-compile-condition-case--old): Rename from
5285 byte-compile-condition-case.
5286 (byte-compile-condition-case--new): New function.
5287 (byte-compile-condition-case): New function that dispatches depending
5288 on byte-compile--use-old-handlers.
5289 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5292 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5293 Optimize under `condition-case' and `catch' if
5294 byte-compile--use-old-handlers is nil.
5295 (disassemble-offset): Handle new bytecodes.
5297 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5299 * subr.el (error): Use `declare'.
5300 (decode-char, encode-char): Use advertised-calling-convention instead
5301 of the docstring to discourage use of the `restriction' arg.
5303 2013-10-03 Daiki Ueno <ueno@gnu.org>
5305 * epg.el (epg-verify-file): Add a comment saying that it does not
5306 notify verification error as a return value nor a signal.
5307 (epg-verify-string): Ditto.
5309 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5311 * progmodes/compile.el (compilation-start): Try globbing the arg to
5314 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5316 Sync with Tramp 2.2.8.
5318 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5319 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5320 * net/trampver.el: Update release number.
5322 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5324 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5325 and default-process-coding-system for darwin only.
5327 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5329 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5331 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5333 * vc/vc-git.el (vc-git-grep): Disable pager.
5335 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5337 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5338 Use :url instead of :homepage, as per
5339 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5341 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5342 non-nil, use `syntax-ppss' (Bug#15251).
5344 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5346 * progmodes/octave.el (inferior-octave-startup-file):
5347 Prefer ~/.emacs.d/init_octave.m.
5349 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5351 * emacs-lisp/package.el (package-desc-from-define):
5352 Accept additional arguments as plist, convert them to an alist and store
5353 them in the `extras' slot.
5354 (package-generate-description-file): Convert extras alist back to
5355 plist and append to the `define-package' form arguments.
5356 (package--alist-to-plist): New function.
5357 (package--ac-desc): Add `extras' slot.
5358 (package--add-to-archive-contents): Check if the archive-contents
5359 vector is long enough, and if it is, pass its `extras' slot value
5360 to `package-desc-create'.
5361 (package-buffer-info): Call `lm-homepage', pass the returned value
5362 to `package-desc-from-define'.
5363 (describe-package-1): Render the homepage button (Bug#13291).
5365 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5366 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5368 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5370 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5371 and default-process-coding-system to utf-8-unix (Bug#15402).
5373 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5375 * subr.el (looking-back): Do not recommend using looking-back.
5377 2013-09-28 Alan Mackenzie <acm@muc.de>
5379 Fix indentation/fontification of Java enum with "implements".
5381 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5382 regexp which matches "implements", etc., in Java.
5383 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5384 specifier clauses coming after "enum".
5385 * progmodes/cc-fonts.el (c-font-lock-declarations)
5386 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5389 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5391 * faces.el (region): Change ns_selection_color to
5392 ns_selection_fg_color, add ns_selection_bg_color.
5394 2013-09-28 Leo Liu <sdl.web@gmail.com>
5396 * progmodes/octave.el (inferior-octave-completion-table)
5397 (inferior-octave-completion-at-point): Minor tweaks.
5399 * textmodes/ispell.el (ispell-lookup-words): Rename from
5400 lookup-words. (Bug#15460)
5401 (lookup-words): Obsolete.
5402 (ispell-complete-word, ispell-command-loop): All uses changed.
5404 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5406 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5407 (octave-mode-menu): Add octave-send-buffer.
5408 (octave-send-buffer): New function.
5410 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5412 * progmodes/octave.el (octave-mode-map): Add key binding for
5414 (octave-mode-menu): Add octave-lookfor.
5415 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5417 (octave-lookfor): New function.
5419 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5421 * emacs-lisp/cl-macs.el:
5422 (cl--loop-destr-temps): Remove.
5423 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5425 (cl--loop-set-iterator-function): New function.
5426 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5427 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5428 Bind `it' with `let' instead of substituting it with `cl-subst'.
5429 (cl--unused-var-p): New function.
5430 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5431 Eliminate some unused variable warnings (bug#15326).
5433 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5435 * doc-view.el (doc-view-scale-reset): Rename from
5436 `doc-view-reset-zoom-level'.
5437 (doc-view-scale-adjust): New command.
5438 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5439 `doc-view-scale-adjust'.
5441 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5443 * doc-view.el (doc-view-reset-zoom-level): New command.
5444 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5445 zoom commands (bug#15466).
5447 2013-09-26 Kenichi Handa <handa@gnu.org>
5449 * international/quail.el (quail-help): Make it not a command.
5451 2013-09-26 Leo Liu <sdl.web@gmail.com>
5453 * minibuffer.el (completion-all-sorted-completions): Make args
5454 optional as they are.
5456 2013-09-25 Daniel Colascione <dancol@dancol.org>
5458 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5459 specs are and that they're not evaluated.
5461 2013-09-24 Sam Steingold <sds@gnu.org>
5463 * midnight.el (clean-buffer-list-kill-regexps)
5464 (clean-buffer-list-kill-buffer-names): Update for the new Man
5465 buffer naming which includes the object name.
5467 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5469 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5470 (eshell-parse-command, eshell-parse-pipeline): Use it since
5471 eshell-separate-commands requires a dynamic scoped var.
5472 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5474 2013-09-23 Leo Liu <sdl.web@gmail.com>
5476 * autoinsert.el (auto-insert-alist): Make the value of
5477 lexical-binding match its file setting.
5479 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5481 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5483 * autoarg.el (autoarg-kp-digit-argument):
5484 * electric.el (Electric-command-loop):
5485 * kmacro.el (kmacro-step-edit-insert):
5486 Do not set universal-argument-num-events.
5488 2013-09-22 Leo Liu <sdl.web@gmail.com>
5490 * files.el (interpreter-mode-alist): Add octave.
5492 2013-09-21 Alan Mackenzie <acm@muc.de>
5494 C++: fontify identifier in declaration following "public:" correctly.
5495 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5496 to match "public", etc.
5497 (c-decl-prefix-re): Add ":" into the C++ value.
5498 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5499 bit. Add a check for a ":" preceded by "public", etc.
5501 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5503 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5504 recognized by GDB 7.5 and later.
5506 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5508 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5510 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5512 * subr.el (internal--call-interactively): New const.
5513 (called-interactively-p): Use it (bug#3984).
5515 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5517 * vc/pcvs.el (cvs-mode-ignore):
5518 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5519 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5521 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5523 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5524 (eshell-ls-orig-insert-directory): Remove.
5525 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5526 (eshell-ls-use-in-dired): Use advice-add/remove.
5527 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5528 Add `orig-fun' arg for use in :around advice.
5529 Make it check (redundantly) eshell-ls-use-in-dired.
5531 2013-09-19 Glenn Morris <rgm@gnu.org>
5533 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5535 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5537 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5539 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5541 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5542 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5543 (tramp-get-remote-python): New defuns.
5544 (tramp-get-remote-uid-with-perl)
5545 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5546 contributed by yary <not.com@gmail.com> (tiny change).
5547 (tramp-get-remote-uid-with-python)
5548 (tramp-get-remote-gid-with-python): New defuns. Python code
5549 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5550 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5552 2013-09-19 Glenn Morris <rgm@gnu.org>
5554 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5556 * eshell/em-unix.el (eshell-remove-entries):
5557 Rename argument to avoid name-clash with global `top-level'.
5559 * eshell/esh-proc.el (eshell-kill-process-function):
5560 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5561 (eshell-reset-after-proc): Remove unused arg `proc'.
5563 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5564 (directory-files-and-attributes): Mark unused arg.
5566 * eshell/em-unix.el (eshell-remove-entries):
5567 Remove unused arg `path'. Update callers.
5569 * eshell/em-hist.el (eshell-hist-parse-arguments):
5570 Remove unused arg `silent'. Update callers.
5572 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5573 Fix (f)boundp mix-up.
5575 * eshell/em-smart.el (eshell-smart-scroll-window)
5576 (eshell-disable-after-change):
5577 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5579 2013-09-18 Alan Mackenzie <acm@muc.de>
5581 Fix fontification of type when followed by "const".
5582 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5583 "known" types from fontification.
5585 2013-09-18 Glenn Morris <rgm@gnu.org>
5587 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5588 (chart-face-list): Drop Emacsen without display-color-p.
5590 * net/eww.el (libxml-parse-html-region): Declare.
5591 (eww-display-html): Explicit error if no libxml2 support.
5593 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5595 * image.el (image-type-from-buffer, image-multi-frame-p):
5596 Remove --without-x warning/error.
5598 * mouse.el (mouse-yank-primary):
5599 * term.el (term-mouse-paste):
5600 Reorder to silence --without-x compilation.
5602 * mpc.el (doc-view-mode): Silence --without-x compilation.
5604 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5605 Silence --without-x compilation.
5607 * progmodes/gud.el (gud-find-file, gud-mode):
5608 Silence --without-x compilation.
5609 (tooltip-mode): Declare.
5611 * wdired.el (dired-backup-overwrite): Remove declaration.
5612 (wdired-mode-map): Add doc string.
5614 * custom.el (x-get-resource): Declare.
5616 * eshell/em-glob.el (ange-cache):
5617 * eshell/em-unix.el (ange-cache): Declare.
5619 * faces.el (x-display-list, x-open-connection, x-get-resource):
5622 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5623 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5626 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5628 * net/gnutls.el (gnutls-log-level): Declare.
5630 * net/shr.el (image-size, image-animate): Declare.
5632 * simple.el (font-info): Declare.
5634 * subr.el (x-popup-dialog): Declare.
5636 * term/common-win.el (x-select-enable-primary)
5637 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5640 * term/ns-win.el (x-handle-args): Declare.
5642 * term/x-win.el (x-select-enable-clipboard): Declare.
5644 * term/w32-win.el (create-default-fontset): Declare.
5646 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5649 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5650 (fit-frame-to-buffer): Explicit error if --without-x.
5651 (mouse-autoselect-window-select): Silence compiler.
5653 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5655 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5656 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5657 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5658 * eshell/esh-util.el (eshell-sublist):
5659 Remove unused local variables.
5661 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5663 * textmodes/two-column.el: Make 2C-split work for --without-x.
5664 (scroll-bar-columns): Autoload.
5665 (top-level): Require fringe when compiling.
5667 2013-09-18 Leo Liu <sdl.web@gmail.com>
5669 * subr.el (add-hook): Robustify to handle closure as well.
5671 2013-09-17 Glenn Morris <rgm@gnu.org>
5673 * simple.el (messages-buffer-mode-map): Unbind "g".
5675 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5677 * help-mode.el (help-mode-finish): Use derived-mode-p.
5678 Remove obsolete highlighting.
5680 * play/life.el (life-mode): Use define-derived-mode. Derive from
5682 (life): Let-bind inhibit-read-only.
5683 (life-setup): Avoid `setq'. Use `life-mode'.
5685 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5686 which should not be needed any more.
5687 (package-menu-refresh, package-menu-describe-package): Use user-error.
5689 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5690 (eshell-post-rewrite-command-hook): Make obsolete.
5691 (eshell-parse-command): Simplify.
5692 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5693 (eshell--cmd): Declare.
5694 (eshell-parse-pipeline): Remove unused var `final-p'.
5695 Pass a dynvar to eshell-post-rewrite-command-hook.
5696 Implement the new eshell-post-rewrite-command-function.
5697 (eshell-invoke-directly): Remove unused arg `input'.
5698 * eshell/esh-io.el (eshell-io-initialize):
5699 Use eshell-post-rewrite-command-function (bug#15399).
5700 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5701 adjust to new calling convention.
5702 (eshell-create-handles): Rename args to avoid clashing with dynvar
5705 2013-09-17 Glenn Morris <rgm@gnu.org>
5707 * simple.el (messages-buffer-mode): New major mode.
5708 (messages-buffer): New function.
5709 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5710 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5711 (ert-run-test): Use `messages-buffer' function.
5712 (ert--force-message-log-buffer-truncation): Ignore read-only.
5713 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5714 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5716 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5718 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5720 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5722 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5724 * icomplete.el (icomplete-in-buffer): New var.
5725 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5726 vars and replace them with functions.
5727 (icomplete-minibuffer-setup): Adjust accordingly.
5728 (icomplete--completion-table, icomplete--completion-predicate)
5729 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5731 (icomplete-forward-completions, icomplete-backward-completions)
5732 (icomplete-simple-completing-p, icomplete-exhibit)
5733 (icomplete-completions): Use them.
5734 (icomplete--in-region-buffer): New var.
5735 (icomplete--in-region-setup): New function.
5736 (icomplete-mode): Use it.
5738 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5740 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5741 return args and options.
5742 (eshell-eval-using-options): Use the new return value of
5743 eshell--do-opts to set the options's vars in their scope.
5744 (eshell--set-option): Rename from eshell-set-option.
5746 (eshell--process-option): Rename from eshell-process-option.
5748 (eshell--process-args): Use an `opt-vals' alist to store the options's
5749 values during their processing and return them additionally to the
5752 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5754 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5755 continuation character an operator, as far as indentation is
5756 concerned (Bug#15369).
5758 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5760 * window.el (window--state-put-2): Don't process buffer state
5761 when buffer doesn't exist any more (Bug#15382).
5763 2013-09-15 Glenn Morris <rgm@gnu.org>
5765 * eshell/em-unix.el (eshell/rm):
5766 Make -f ignore missing files. (Bug#15373)
5768 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5769 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5770 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5772 2013-09-14 Glenn Morris <rgm@gnu.org>
5774 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5776 2013-09-13 Glenn Morris <rgm@gnu.org>
5778 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5779 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5781 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5783 * frame.el (x-focus-frame): Mark as declared in frame.c.
5785 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5787 * ls-lisp.el: Use advice-add.
5788 (original-insert-directory): Remove.
5789 (ls-lisp--insert-directory): Rename from insert-directory; add
5790 `orig-fun' argument.
5791 (insert-directory): Advise.
5793 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5795 * term.el (term-emulate-terminal): Decode the command string
5796 before passing it to term-command-hook. (Bug#15337)
5798 2013-09-13 Glenn Morris <rgm@gnu.org>
5800 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5802 * eshell/esh-ext.el (eshell-search-path): Declare.
5804 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5805 Otherwise an error occurs if eshell-dirs module not loaded.
5807 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5809 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5811 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5812 `tramp-check-proper-host'. Check for a valid method name.
5814 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5815 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5816 * net/tramp-sh.el (tramp-maybe-open-connection):
5817 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5819 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5820 also for hash values.
5822 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5824 * term/ns-win.el (parameters): Don't declare as dynamic.
5825 (before-make-frame-hook): Don't add ineffective function.
5827 * eshell/*.el: Use lexical-binding (bug#15231).
5829 2013-09-12 Kenichi Handa <handa@gnu.org>
5831 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5833 2013-09-12 Glenn Morris <rgm@gnu.org>
5835 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5836 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5838 * subr.el (do-after-load-evaluation): Also give compiler warnings
5839 when obsolete files are used (except by obsolete files).
5841 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5842 in the status output, assume `filename' is the first. (Bug#15322)
5844 * vc/vc.el (vc-deduce-fileset): Doc fix.
5846 * calc/calc-help.el (Info-goto-node):
5847 * progmodes/cperl-mode.el (Info-find-node):
5848 * vc/ediff.el (Info-goto-node): Update declarations.
5850 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5852 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5853 (vc-bzr-pull): Require vc-dispatcher.
5854 * vc/vc-git.el (vc-compilation-mode): Declare.
5855 (vc-git-pull): Require vc-dispatcher.
5857 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5859 * progmodes/octave.el (help-button-action): Declare.
5861 * shell.el (shell-directory-tracker): Output error as a message
5862 rather than just returning it as a string.
5863 (shell-process-pushd): Remove useless use of message.
5865 * dframe.el (dframe-timer-fn):
5866 * files.el (dir-locals-read-from-file):
5867 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5869 * reveal.el (reveal-post-command):
5870 * saveplace.el (load-save-place-alist-from-file):
5871 * shell.el (shell-resync-dirs):
5872 * w32-common-fns.el (x-get-selection-value):
5873 * emacs-lisp/copyright.el (copyright-find-copyright):
5874 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5875 * emulation/tpu-edt.el (tpu-copy-keyfile):
5876 * play/bubbles.el (bubbles--mark-neighbourhood):
5877 * progmodes/executable.el
5878 (executable-make-buffer-file-executable-if-script-p):
5879 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5881 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5883 Cleanup Eshell to rely less on dynamic scoping.
5884 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5885 last-value, and ext-command here. Bind `args' closer to `body'.
5886 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5887 (eshell--args): Declare new dynamic var.
5888 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5889 last-value, and ext-command. Pass `args' to `body'.
5890 (eshell-process-args): Bind eshell--args.
5891 (eshell-set-option): Use eshell--args.
5892 * eshell/eshell.el (eshell): Use derived-mode-p.
5893 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5894 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5895 (eshell-glob-function): Declare.
5896 * eshell/esh-util.el: Require cl-lib.
5897 (eshell-read-hosts-file): Avoid add-to-list.
5898 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5900 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5902 (eshell/diff): Remove unused var `err'.
5903 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5905 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5906 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5908 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5909 Move declaration before first use.
5910 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5911 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5914 2013-09-12 Glenn Morris <rgm@gnu.org>
5916 * term/ns-win.el (global-map): Remove binding for ispell-next,
5917 deleted 1999-05-29. (Bug#15357)
5919 2013-09-11 Glenn Morris <rgm@gnu.org>
5921 * echistory.el (electric-command-history): Remove call to deleted func.
5923 * play/landmark.el (landmark-mode): Fix typos.
5925 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5926 Check cvs-sort-ignore-file is bound.
5928 * savehist.el: No need for cl when compiling on Emacs.
5930 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5932 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5934 (eshell-self-insert-command, eshell-send-invisible):
5935 Remove unused argument.
5936 (eshell-handle-control-codes): Remove unused var `orig'.
5937 Avoid delete-backward-char.
5939 * files.el (set-auto-mode): Simplify a bit further.
5941 2013-09-11 Glenn Morris <rgm@gnu.org>
5943 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5944 (set-auto-mode): Don't regexp-quote elements.
5945 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5946 * progmodes/cc-mode.el (interpreter-mode-alist):
5947 * progmodes/ruby-mode.el (interpreter-mode-alist):
5948 Revert previous change.
5950 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5952 * play/snake.el (snake-mode):
5953 * play/mpuz.el (mpuz-mode):
5954 * play/landmark.el (lm-mode):
5955 * play/blackbox.el (blackbox-mode):
5956 * play/5x5.el (5x5-mode):
5957 * obsolete/options.el (Edit-options-mode):
5958 * net/quickurl.el (quickurl-list-mode):
5959 * net/newst-treeview.el (newsticker-treeview-mode):
5960 * mail/rmailsum.el (rmail-summary-mode):
5961 * mail/mspools.el (mspools-mode):
5962 * locate.el (locate-mode):
5963 * ibuffer.el (ibuffer-mode):
5964 * emulation/ws-mode.el (wordstar-mode):
5965 * emacs-lisp/debug.el (debugger-mode):
5966 * array.el (array-mode):
5967 * net/eudc.el (eudc-mode): Use define-derived-mode.
5968 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5969 Move initialization into declaration.
5970 (mairix-searches-mode): Use define-derived-mode.
5971 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5972 (eudc-edit-hotlist): Use dolist.
5973 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5974 (Man-mode): Use define-derived-mode.
5975 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5976 (Info-edit-mode): Use define-derived-mode.
5977 (Info-cease-edit): Use Info-mode.
5978 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5980 (eshell-mode): Use define-derived-mode.
5981 * chistory.el (command-history-mode-map): Rename from
5982 command-history-map.
5983 (command-history-mode): Use define-derived-mode.
5984 (Command-history-setup): Remove function.
5985 * calc/calc.el (calc-trail-mode-map): New var.
5986 (calc-trail-mode): Use define-derived-mode.
5987 (calc-trail-buffer): Set calc-main-buffer manually.
5988 * bookmark.el (bookmark-insert-annotation): New function.
5989 (bookmark-edit-annotation): Use it.
5990 (bookmark-edit-annotation-mode): Make it a proper major mode.
5991 (bookmark-send-edited-annotation): Use derived-mode-p.
5992 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5993 closer to its ideal place. Use \' to match EOS.
5995 * profiler.el (profiler-calltree-find): Use function-equal.
5997 2013-09-10 Glenn Morris <rgm@gnu.org>
5999 * files.el (interpreter-mode-alist): Convert to regexps.
6000 (set-auto-mode): Adapt for this. (Bug#15306)
6001 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6002 Comment out unused variable.
6003 * progmodes/cc-mode.el (interpreter-mode-alist):
6004 * progmodes/python.el (interpreter-mode-alist):
6005 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6006 * progmodes/sh-script.el (sh-set-shell):
6007 No longer use interpreter-mode-alist to get list of shells.
6009 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6011 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * simple.el: Use set-temporary-overlay-map for universal-argument.
6014 (universal-argument-map): Don't use default-bindings (bug#15317).
6015 Bind switch-frame explicitly. Replace universal-argument-minus with
6016 a conditional binding.
6017 (universal-argument-num-events, saved-overriding-map): Remove.
6018 (restore-overriding-map): Remove.
6019 (universal-argument--mode): Rename from save&set-overriding-map,
6021 (universal-argument, universal-argument-more, negative-argument)
6022 (digit-argument): Adjust accordingly.
6023 (universal-argument-minus): Remove.
6024 (universal-argument-other-key): Remove.
6026 * subr.el (with-demoted-errors): Add `format' argument.
6028 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6030 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6031 `tramp-cleanup-connection'.
6033 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6034 parameters KEEP-DEBUG and KEEP-PASSWORD.
6036 * net/tramp.el (tramp-file-name-handler):
6037 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6038 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6039 (tramp-maybe-open-connection):
6040 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6041 Use `tramp-cleanup-connection'.
6043 * net/tramp-sh.el (tramp-maybe-open-connection):
6044 Catch 'uname-changed inside the progress reporter.
6046 2013-09-10 Glenn Morris <rgm@gnu.org>
6048 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6050 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6051 returns "alternate access method" in mode (eg "-rw-r--r--.").
6053 2013-09-08 Glenn Morris <rgm@gnu.org>
6055 * saveplace.el (load-save-place-alist-from-file):
6056 Demote errors. (Bug#15305)
6058 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6060 Improve compatibility with older Emacsen, and XEmacs.
6062 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6063 only if it is bound. It isn't for XEmacs.
6064 (with-tramp-progress-reporter): Do not let-bind `result'.
6065 This yields to scoping errors in XEmacs.
6066 (tramp-handle-make-auto-save-file-name): New function, moved from
6069 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6070 for `make-auto-save-file-name'.
6071 (tramp-adb--gnu-switches-to-ash):
6072 Use `tramp-compat-replace-regexp-in-string'.
6074 * net/tramp-cache.el (tramp-cache-print): Call
6075 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6077 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6078 bound. It isn't for XEmacs.
6080 * net/tramp-compat.el (tramp-compat-copy-file):
6081 Catch `wrong-number-of-arguments' error.
6082 (tramp-compat-replace-regexp-in-string): New defun.
6084 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6085 for `make-auto-save-file-name'.
6086 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6088 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6089 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6090 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6092 * net/tramp-gw.el (tramp-gw-open-network-stream):
6093 Use `tramp-compat-replace-regexp-in-string'.
6095 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6096 Call `tramp-handle-make-auto-save-file-name'.
6097 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6098 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6099 (tramp-sh-file-inotifywait-process-filter):
6100 Use `tramp-compat-replace-regexp-in-string'.
6101 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6103 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6104 for `make-auto-save-file-name'.
6105 (tramp-smb-handle-copy-directory):
6106 Call `tramp-compat-replace-regexp-in-string'.
6107 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6108 (tramp-smb-handle-copy-file): Improve error message.
6109 (tramp-smb-handle-rename-file): Rename directly only in case
6110 `newname' does not exist yet. This is a restriction of smbclient.
6111 (tramp-smb-maybe-open-connection): Rerun the function only when
6112 `auth-sources' is non-nil.
6114 2013-09-08 Kenichi Handa <handa@gnu.org>
6116 * international/characters.el: Set category "^" (Combining) for
6119 2013-09-07 Alan Mackenzie <acm@muc.de>
6121 Correctly fontify Java class constructors.
6122 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6124 (c-recognize-typeless-decls): Set the Java value to t.
6125 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6126 While handling a "(", add a check for, effectively, Java, and handle a
6127 "typeless" declaration there.
6129 2013-09-07 Roland Winkler <winkler@gnu.org>
6131 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6132 field subtitle for entry type book.
6134 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6136 * minibuffer.el: Make minibuffer-complete call completion-in-region
6137 rather than other way around.
6138 (completion--some, completion-pcm--find-all-completions):
6139 Don't delay signals when debugging.
6140 (minibuffer-completion-contents): Beware fields within the
6141 minibuffer contents.
6142 (completion-all-sorted-completions): Use defvar-local.
6143 (completion--do-completion, completion--cache-all-sorted-completions)
6144 (completion-all-sorted-completions, minibuffer-force-complete):
6145 Add args `beg' and `end'.
6146 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6147 (minibuffer-complete): Use completion-in-region.
6148 (completion-complete-and-exit): New fun, extracted from
6149 minibuffer-complete-and-exit.
6150 (minibuffer-complete-and-exit): Use it.
6151 (completion--complete-and-exit): Rename from
6152 minibuffer--complete-and-exit.
6153 (completion-in-region--single-word): New function, extracted from
6154 minibuffer-complete-word.
6155 (minibuffer-complete-word): Use it.
6156 (display-completion-list): Make `common-substring' argument obsolete.
6157 (completion--in-region): Call completion--in-region-1 instead of
6158 minibuffer-complete.
6159 (completion-help-at-point): Pass boundaries to
6160 minibuffer-completion-help as args rather than via an overlay.
6161 (completion-pcm--string->pattern): Use `any-delim'.
6162 (completion-pcm--optimize-pattern): New function.
6163 (completion-pcm--pattern->regex): Handle `any-delim'.
6164 * icomplete.el (icomplete-forward-completions)
6165 (icomplete-backward-completions, icomplete-completions):
6166 Adjust calls to completion-all-sorted-completions and
6167 completion--cache-all-sorted-completions.
6168 (icomplete-with-completion-tables): Default to t.
6169 * emacs-lisp/crm.el (crm--current-element): Rename from
6170 crm--select-current-element. Don't put an overlay but return the
6172 (crm--completion-command): Take two new args to bind to the boundaries.
6173 (crm-completion-help): Adjust accordingly.
6174 (crm-complete): Use completion-in-region.
6175 (crm-complete-word): Use completion-in-region--single-word.
6176 (crm-complete-and-exit): Use completion-complete-and-exit.
6178 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6180 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6183 2013-09-06 Juri Linkov <juri@jurta.org>
6185 * info.el (Info-display-images-node): When image file doesn't exist
6186 display text version of the image if it's provided in the Info file.
6187 Otherwise, display the location of missing image from SRC attribute.
6188 Add help-echo text property from ALT attribute. (Bug#15279)
6190 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6192 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6193 (edit-abbrevs-mode): Use define-derived-mode.
6195 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6196 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6198 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6199 Use define-derived-mode.
6201 * epg.el (epg-start-encrypt): Minor CSE simplification.
6203 2013-09-06 William Xu <william.xwl@gmail.com>
6205 * arc-mode.el: Add support for 7za (bug#15264).
6206 (archive-7z-program): New var.
6207 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6208 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6209 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6211 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6215 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6216 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6217 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6218 (tramp-postfix-host-format, tramp-file-name-regexp)
6219 (tramp-completion-file-name-regexp)
6220 (tramp-completion-dissect-file-name)
6221 (tramp-handle-substitute-in-file-name): Remove 'url case.
6222 (tramp-file-name-regexp-url)
6223 (tramp-completion-file-name-regexp-url): Remove constants.
6225 2013-09-06 Glenn Morris <rgm@gnu.org>
6227 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6229 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6231 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6232 keywords" below "here-doc beginnings" (Bug#15270).
6234 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6236 * subr.el (pop): Use `car-safe'.
6237 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6238 to detect unused `pop' return value.
6240 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6242 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6243 (python-fill-string): Remove unused var `marker'.
6244 (python-skeleton-add-menu-items): Remove unused var `items'.
6246 * international/mule-cmds.el: Require CL.
6247 (find-coding-systems-for-charsets): Avoid add-to-list.
6248 (sanitize-coding-system-list): New function, extracted from
6249 select-safe-coding-system-interactively.
6250 (select-safe-coding-system-interactively): Use it.
6251 (read-input-method-name): Accept symbols for `default'.
6253 * emacs-lisp/advice.el (defadvice): Add indent rule.
6255 2013-09-05 Daniel Hackney <dan@haxney.org>
6259 * net/browse-url.el:
6262 * net/eudcb-ldap.el:
6275 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6276 byte compiler. Remove some unused let-bound variables.
6278 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6280 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6281 a "ref-cell", since it gets better optimized (bug#14883).
6283 2013-09-05 Glenn Morris <rgm@gnu.org>
6285 * progmodes/cc-awk.el (c-forward-sws): Declare.
6287 2013-09-04 Glenn Morris <rgm@gnu.org>
6289 * generic-x.el [rul-generic-mode]: Require cc-mode.
6290 (c++-mode-syntax-table): Declare.
6291 (rul-generic-mode-syntax-table): Init in the defvar.
6293 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6295 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6296 (vc-do-command, vc-set-async-update):
6297 * vc/vc-mtn.el (vc-mtn-dir-status):
6298 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6299 (vc-hg-pull, vc-hg-merge-branch):
6300 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6301 (vc-git-merge-branch):
6302 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6303 (vc-cvs-dir-status-files):
6304 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6305 (vc-bzr-dir-status-files):
6306 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6307 * vc/vc-annotate.el: Use lexical-binding.
6308 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6309 (vc-sentinel-movepoint): Declare.
6310 (vc-annotate): Don't use `goto-line'.
6311 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6312 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6313 (vc-sentinel-movepoint): Declare.
6314 * vc/vc-svn.el: Use lexical-binding.
6315 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6317 * vc/vc-rcs.el: Use lexical-binding.
6319 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6320 `deleted'. Don't drop errors silently.
6322 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6324 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6326 * vc/vc.el (vc-ignore): Rewrite.
6327 (vc-default-ignore): New function.
6328 (vc-default-ignore-completion-table): Use find-ignore-file.
6330 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6331 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6332 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6333 Remove. Most code moved to vc.el.
6335 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6337 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6338 * net/tramp-smb.el (tramp-smb-get-file-entries):
6339 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6340 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6342 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6344 (eww-change-select): Remove unused var `properties'.
6345 (eww-make-unique-file-name): Remove unused var `base'.
6347 * finder.el (finder-compile-keywords): Don't mess with windows.
6349 * calculator.el (calculator-funcall): Fix typo in last change.
6351 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6353 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6354 <pkg>-autoloads.el file stop us.
6356 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6357 warnings, and factor out common code.
6359 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6361 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6362 two-character operators and whether the character preceding them
6363 changes their meaning (Bug#15208).
6365 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6367 Format code sent to Python shell for robustness.
6368 * progmodes/python.el (python-shell-buffer-substring):
6370 (python-shell-send-region, python-shell-send-buffer): Use it.
6372 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6374 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6375 * net/tramp.el (tramp-user-error): ... here.
6376 (tramp-find-method, tramp-check-proper-host)
6377 (tramp-dissect-file-name, tramp-debug-message)
6378 (tramp-handle-shell-command):
6379 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6380 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6382 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6384 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6386 * avoid.el (mouse-avoidance-point-position)
6387 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6390 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6392 * progmodes/python.el (python-shell-completion-get-completions):
6393 Drop use of deleted `comint-last-prompt-overlay'.
6394 (python-nav-if-name-main): New command.
6396 2013-09-01 Glenn Morris <rgm@gnu.org>
6398 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6399 Avoid leading space in $wins. Otherwise the sed command used by
6400 eg compile-main ends up containing "/*.el". (Bug#15170)
6402 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6404 2013-08-30 Glenn Morris <rgm@gnu.org>
6406 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6407 Fix is-this-a-directory logic. (Bug#15220)
6409 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6411 * textmodes/css-mode.el: Use SMIE.
6412 (css-smie-grammar): New var.
6413 (css-smie--forward-token, css-smie--backward-token)
6414 (css-smie-rules): New functions.
6415 (css-mode): Use them.
6416 (css-navigation-syntax-table): Remove var.
6417 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6418 (css-indent-calculate, css-indent-line): Remove functions.
6420 Misc changes to reduce use of `(lambda...); and other cleanups.
6421 * cus-edit.el: Use lexical-binding.
6422 (customize-push-and-save, customize-apropos)
6423 (custom-buffer-create-internal): Use closures.
6424 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6425 * progmodes/ada-xref.el: Use setq.
6426 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6427 * dframe.el: Use lexical-binding.
6428 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6429 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6430 * descr-text.el: Use lexical-binding.
6431 (describe-text-widget, describe-text-sexp, describe-property-list):
6433 * comint.el (comint-history-isearch-push-state): Use a closure.
6434 * calculator.el: Use lexical-binding.
6435 (calculator-number-to-string): Make it work with lexical-binding.
6436 (calculator-funcall): Same and use cl-letf.
6438 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6439 (lisp--company-doc-string, lisp--company-location): New functions.
6440 (lisp-completion-at-point): Use them to improve Company support.
6442 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6443 params of lambda expressions.
6444 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6445 (ruby-smie--opening-pipe-p): New function.
6446 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6447 symbols and matched |...| for formal params.
6448 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6449 from being treated as hanging. Handle "rescue".
6451 2013-08-29 Glenn Morris <rgm@gnu.org>
6453 * progmodes/cc-engine.el (c-pull-open-brace):
6454 Move definition before use.
6456 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6458 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6459 are immutable. Don't use `unsafe' any more.
6460 (cl--defsubst-expand): Don't substitute at the same time as keeping
6461 a residual unused let-binding. Don't use `unsafe' any more.
6463 2013-08-29 Glenn Morris <rgm@gnu.org>
6465 * calendar/cal-china.el (calendar-chinese-year-cache):
6468 * nxml/nxml-util.el (nxml-debug-clear-inside):
6469 Use cl-loop rather than loop.
6471 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6473 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6475 2013-08-28 Glenn Morris <rgm@gnu.org>
6477 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6479 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6481 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6483 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6485 * simple.el (repeat-complex-command--called-interactively-skip):
6487 (repeat-complex-command): Use it (bug#14136).
6489 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6490 (c-define-abbrev-table): Add `doc' argument.
6491 (c-mode-abbrev-table, c++-mode-abbrev-table)
6492 (objc-mode-abbrev-table, java-mode-abbrev-table)
6493 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6494 (awk-mode-abbrev-table): Use it.
6495 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6496 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6497 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6498 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6499 Move initialization into the declaration; and remove any
6502 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6503 and dynamic let binding.
6505 * vc/smerge-mode.el: Remove redundant :group args.
6507 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6510 2013-08-28 Juri Linkov <juri@jurta.org>
6512 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6513 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6514 (isearch-other-meta-char): Handle an undefined shifted printing
6515 character by downshifting it. (Bug#15200)
6517 2013-08-28 Juri Linkov <juri@jurta.org>
6519 * isearch.el (isearch-search): Change regexp error message for
6520 non-regexp searches. (Bug#15166)
6522 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6524 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6525 for portability to hosts where /bin/sh has problems.
6527 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6529 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6531 2013-08-27 Juri Linkov <juri@jurta.org>
6533 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6534 in the keyboard macro. (Bug#15126)
6536 2013-08-27 Juri Linkov <juri@jurta.org>
6538 * isearch.el (isearch-quote-char): Comment out converting unibyte
6539 to multibyte, thus syncing with its `quoted-insert' counterpart.
6542 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6544 * window.el (display-buffer-use-some-window): Add missing
6545 argument in call of get-largest-window (Bug#15185).
6546 Reported by Stephen Leake.
6548 2013-08-27 Glenn Morris <rgm@gnu.org>
6550 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6552 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6554 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6555 from a matcher-function unless there's no more matches (bug#15161).
6557 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6559 * minibuffer.el: Revert change from 2013-08-20.
6561 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6562 with text property `tramp-default', if appropriate.
6563 (tramp-check-proper-host): New defun.
6564 (tramp-dissect-file-name): Do not check hostname. Revert change
6566 (tramp-backtrace): Make VEC-OR-PROC optional.
6568 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6569 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6570 * net/tramp-sh.el (tramp-maybe-open-connection):
6571 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6572 Apply `tramp-check-proper-host'.
6574 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6576 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6577 lambda expression in order to have `describe-variable' display it.
6579 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6581 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6582 BUF can be optional. (Bug#15186)
6584 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6586 * progmodes/flymake.el (flymake-get-real-file-name-function):
6587 Fix broken customization. (Bug#15184)
6589 2013-08-25 Alan Mackenzie <acm@muc.de>
6591 Improve indentation of bracelists defined by macros (without "=").
6593 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6594 expansion begins with "{", regard it as bracelist when it doesn't
6597 Parse C++ inher-intro when there's a template split over 2 lines.
6599 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6600 rigorously the search for "class" etc. followed by ":".
6602 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6603 random languages a regexp which never matches rather than nil.
6605 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6607 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6608 (c-awk-regexp-one-line-possibly-open-char-list-re)
6609 (c-awk-one-line-possibly-open-regexp-re)
6610 (c-awk-one-line-non-syn-ws*-re): Remove.
6611 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6612 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6613 (c-awk-space*-unclosed-regexp-/-re): New constants.
6614 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6615 aren't regexp delimiters.
6617 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6618 handling for a rare situation in AWK Mode involving unterminated
6621 2013-08-23 Glenn Morris <rgm@gnu.org>
6623 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6625 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6627 * files.el (create-file-buffer): If the result would begin with
6628 spaces, prepend a "|" instead of removing them. (Bug#15162)
6630 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6632 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6633 text-properties (bug#15155).
6635 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6637 (calc-keypad-redraw): Remove unused var `pad'.
6638 (calc-keypad-press): Remove unused var `menu'.
6640 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6642 * window.el (display-buffer-pop-up-frame):
6643 Call pop-up-frame-function with BUFFER current so `make-frame' will
6644 use it as the new frame's buffer (Bug#15133).
6646 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6648 * calendar/timeclock.el: Minor cleanups.
6649 (timeclock-ask-before-exiting, timeclock-use-display-time):
6651 (timeclock-modeline-display): Define as alias before the
6653 (timeclock-mode-line-display): Use define-minor-mode.
6654 (timeclock-day-list-template): Make it a function, add an argument.
6655 (timeclock-day-list-required, timeclock-day-list-length)
6656 (timeclock-day-list-debt, timeclock-day-list-span)
6657 (timeclock-day-list-break): Adjust calls accordingly.
6659 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6661 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6662 Use read--expression so that completion works again.
6664 2013-08-21 Sam Steingold <sds@gnu.org>
6666 Add rudimentary inferior shell interaction
6667 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6668 (sh-set-shell): Reset it.
6669 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6670 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6672 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6674 * align.el: Use lexical-binding.
6675 (align-region): Simplify accordingly.
6677 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6679 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6681 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6684 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6688 * net/tramp-cmds.el:
6690 * net/tramp-gvfs.el:
6692 * net/tramp-sh.el: Don't wrap external variable declarations by
6693 `eval-when-compile'.
6695 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6697 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6698 now that Emacs supports ImageMagick animations.
6700 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6702 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6703 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6705 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6707 * window.el (mouse-autoselect-window-select): Do autoselect when
6708 mouse pointer is on margin.
6710 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6712 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6714 2013-08-16 Glenn Morris <rgm@gnu.org>
6716 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6717 Handle "Remote Directory" response of some clients. (Bug#15058)
6719 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6720 Tweak warning. (Bug#14926)
6722 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6723 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6725 * image-mode.el (image-mode-map): Add menu items to reverse,
6726 increase, decrease, reset animation speed.
6727 (image--set-speed, image-increase-speed, image-decrease-speed)
6728 (image-reverse-speed, image-reset-speed): New functions.
6729 (image-mode-map): Add bindings for speed commands.
6731 * image.el (image-animate-get-speed, image-animate-set-speed):
6733 (image-animate-timeout): Respect image :speed property.
6735 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6737 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6738 previous line (bug#15101).
6739 (debugger-eval-expression, debugger-record-expression):
6740 Use read--expression (bug#15102).
6742 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6744 Remove byte compiler warnings, visible when compiling with
6745 `byte-compile-force-lexical-warnings' set to t.
6747 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6748 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6749 (tramp-handle-unhandled-file-name-directory)
6750 (tramp-handle-file-notify-add-watch, tramp-action-login)
6751 (tramp-action-succeed, tramp-action-permission-denied)
6752 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6755 * net/tramp-adb.el (tramp-adb-parse-device-names)
6756 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6757 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6758 (tramp-adb-handle-file-truename): Remove unused arguments.
6760 * net/tramp-cache.el (tramp-flush-directory-property)
6761 (tramp-flush-connection-property, tramp-list-connections)
6762 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6764 * net/tramp-compat.el (tramp-compat-make-temp-file):
6765 Rename FILENAME to F.
6767 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6768 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6769 (tramp-zeroconf-parse-workstation-device-names)
6770 (tramp-zeroconf-parse-webdav-device-names)
6771 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6773 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6774 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6776 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6778 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6779 (tramp-sh-handle-insert-file-contents-literally)
6780 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6782 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6783 Remove unused variables.
6785 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6786 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6787 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6789 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6790 Make them a defconst.
6791 (tramp-uuencode-region): Remove unused variable.
6793 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6795 * frameset.el (frameset--prop-setter): New function.
6796 (frameset-prop): Add gv-setter declaration.
6797 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6798 parameter was already set in FILTERED. Doc fix.
6799 (frameset--record-minibuffer-relationships): Allow saving a
6800 minibufferless frame without its corresponding minibuffer frame.
6801 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6802 frame, if the frame id matches.
6803 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6804 frames before orphaned ones.
6805 (frameset-restore): Warn about orphaned windows, instead of error out.
6807 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6809 * window.el (window-make-atom): Don't overwrite parameter
6811 (display-buffer-in-atom-window): Handle special case where we
6812 split an already atomic window.
6813 (window--major-non-side-window, display-buffer-in-side-window)
6814 (window--side-check): Ignore minibuffer window when walking
6816 (window-deletable-p): Return 'frame only if no other frame uses
6817 our minibuffer window.
6818 (record-window-buffer): Run buffer-list-update-hook.
6819 (split-window): Make sure window--check-frame won't destroy an
6820 existing atomic window in case the new window gets nested
6822 (display-buffer-at-bottom): Ignore minibuffer window when
6823 walking window tree. Don't split a side window.
6824 (pop-to-buffer): Don't set-buffer here, the select-window call
6826 (mouse-autoselect-window-select): Autoselect only if we are in the
6827 text portion of the window.
6829 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6831 * net/shr.el (shr-parse-image-data): New function to grab both the
6832 data itself and the Content-Type.
6833 (shr-put-image): Use it.
6835 * net/eww.el (eww-display-image): Ditto.
6837 * image.el (image-content-type-suffixes): New variable.
6839 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6841 * progmodes/python.el (python-imenu--build-tree)
6842 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6844 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6846 * simple.el (backward-word): Mention the optional argument.
6848 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6850 * frameset.el (frameset--make): Rename constructor from make-frameset.
6851 (frameset-p, frameset-valid-p): Don't autoload.
6852 (frameset-valid-p): Use normal accessors.
6854 2013-08-13 Glenn Morris <rgm@gnu.org>
6856 * progmodes/compile.el (compile-command): Tweak example in doc.
6857 * obsolete/scribe.el (scribe-mode):
6858 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6860 * mail/feedmail.el (feedmail-confirm-outgoing)
6861 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6863 * cus-start.el (truncate-partial-width-windows): Fix type.
6865 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6867 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6869 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6871 * emacs-lisp/timer.el (timer--time-setter): New function.
6872 (timer--time): Use it as gv-setter.
6874 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6875 setter is not a symbol.
6877 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6879 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6880 if sending fails. This makes debugging easier.
6882 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6884 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6885 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6886 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6888 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6890 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6892 2013-08-12 Glenn Morris <rgm@gnu.org>
6894 * format.el (format-annotate-function):
6895 Handle read-only text properties in the source. (Bug#14887)
6897 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6899 * net/eww.el (eww-display-html): Ignore coding system errors.
6900 One web site uses "utf-8lias" as the coding system.
6902 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6904 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6906 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6908 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6909 (tutorial--detailed-help): Remove unused local variables.
6910 (tutorial--save-tutorial-to): Use ignore-errors.
6911 (help-with-tutorial): Use looking-at-p.
6913 * view.el (view-buffer-other-window, view-buffer-other-frame):
6914 Mark unused arguments.
6916 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6917 (woman-select-symbol-fonts, woman, woman-find-file)
6918 (woman-insert-file-contents, woman-non-underline-faces):
6920 (woman1-unquote): Move declaration.
6922 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6923 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6924 argument. Remove unused local variable.
6925 (xml-parse-elem-type): Use string-match-p.
6926 (xml-substitute-numeric-entities): Use ignore-errors.
6928 * calculator.el (calculator): Mark unused argument.
6929 (calculator-paste, calculator-quit, calculator-integer-p):
6931 (calculator-string-to-number, calculator-decimal, calculator-exp)
6932 (calculator-op-or-exp): Use string-match-p.
6934 * dired.el (dired-buffer-more-recently-used-p): Declare.
6935 (dired-insert-set-properties, dired-insert-old-subdirs):
6938 * dired-aux.el (dired-compress): Use ignore-errors.
6939 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6940 (dired-do-async-shell-command, dired-do-shell-command)
6941 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6942 (dired-insert-subdir-validate): Use string-match-p.
6943 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6944 (dired-add-entry): Use string-match-p, looking-at-p.
6945 (dired-insert-subdir-newpos): Remove unused local variable.
6947 * filenotify.el (file-notify-callback): Remove unused local variable.
6949 * filesets.el (filesets-error): Mark unused argument.
6950 (filesets-which-command-p, filesets-filter-dir-names)
6951 (filesets-directory-files, filesets-get-external-viewer)
6952 (filesets-ingroup-get-data): Use string-match-p.
6954 * find-file.el (ff-other-file-name, ff-other-file-name)
6955 (ff-find-the-other-file, ff-cc-hh-converter):
6956 Remove unused local variables.
6957 (ff-get-file-name): Use string-match-p.
6958 (ff-all-dirs-under): Use ignore-errors.
6960 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6961 (follow-select-if-visible): Remove unused local variable.
6963 * forms.el (read-file-filter): Move declaration.
6964 (forms--make-format, forms--make-parser, forms-insert-record):
6965 Quote function with #'.
6966 (forms--update): Use string-match-p. Quote function with #'.
6968 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6969 (help-make-xrefs): Use looking-at-p.
6970 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6972 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6973 (ibuffer-confirm-operation-on): Use string-match-p.
6975 * msb.el (msb-item-handler, msb-dired-item-handler):
6976 Mark unused arguments.
6978 * ses.el (ses-decode-cell-symbol)
6979 (ses-kill-override): Remove unused local variable.
6980 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6981 (ses-load): Use ignore-errors, looking-at-p.
6982 (ses-jump-safe): Use ignore-errors.
6983 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6985 * tabify.el (untabify, tabify): Mark unused arguments.
6987 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6988 Mark unused argument.
6989 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6990 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6992 * emacs-lisp/timer.el (timer--time): Define setter with
6993 gv-define-setter to avoid deprecation warning.
6995 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6996 (*record-cmpl-statistics-p*): Remove (was commented out).
6997 (cmpl-statistics-block): Remove (body was commented out).
6998 All callers changed.
6999 (add-completions-from-buffer, load-completions-from-file):
7000 Remove unused variables.
7002 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7004 * filecache.el (file-cache-delete-file-list):
7005 Print message only when told so.
7006 (file-cache-files-matching): Use #' in mapconcat argument.
7008 * ffap.el (ffap-url-at-point): Fix reference to variable
7009 thing-at-point-default-mail-uri-scheme.
7011 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7013 * subr.el (define-error): New function.
7014 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7015 error-file-not-found and define with define-error.
7016 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7017 and define with define-error.
7018 * userlock.el (file-locked, file-supersession):
7019 * simple.el (mark-inactive):
7020 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7021 * progmodes/ada-mode.el (ada-mode-errors):
7022 * play/life.el (life-extinct):
7023 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7024 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7025 * nxml/rng-util.el (rng-error):
7026 * nxml/rng-uri.el (rng-uri-error):
7027 * nxml/rng-match.el (rng-compile-error):
7028 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7029 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7030 * nxml/nxml-rap.el (nxml-scan-error):
7031 * nxml/nxml-outln.el (nxml-outline-error):
7032 * net/soap-client.el (soap-error):
7033 * net/gnutls.el (gnutls-error):
7034 * net/ange-ftp.el (ftp-error):
7035 * mpc.el (mpc-proc-error):
7036 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7037 (json-number-format, json-string-escape, json-string-format)
7038 (json-key-format, json-object-format):
7039 * jka-compr.el (compression-error):
7040 * international/quail.el (quail-error):
7041 * international/kkc.el (kkc-error):
7042 * emacs-lisp/ert.el (ert-test-failed):
7043 * calc/calc.el (calc-error, inexact-result, math-overflow)
7045 * bookmark.el (bookmark-error-no-filename):
7046 * epg.el (epg-error): Define with define-error.
7048 * time.el (display-time-event-handler)
7049 (display-time-next-load-average): Don't call sit-for since it seems
7050 unnecessary (bug#15045).
7052 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7053 Use #' instead of ' to quote functions.
7054 (checkdoc-output-mode): Use setq-local.
7055 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7056 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7057 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7058 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7059 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7060 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7061 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7062 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7064 * ido.el (ido-completion-help): Fix up compiler warning.
7066 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7068 * frameset.el (frameset-p): Add autoload cookie.
7069 (frameset--jump-to-register): New function, based on code moved from
7071 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7073 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7074 (frameset-restore, frameset-save, frameset-session-filter-alist):
7075 Remove declarations.
7076 (register-alist): Doc fix.
7077 (frameset-to-register): Move to frameset.el.
7078 (jump-to-register, describe-register-1): Remove frameset-specific code.
7080 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7082 * allout-widgets.el (allout-widgets-pre-command-business)
7083 (allout-widgets-post-command-business)
7084 (allout-widgets-after-change-handler)
7085 (allout-decorate-item-and-context, allout-set-boundary-marker)
7086 (allout-body-modification-handler)
7087 (allout-graphics-modification-handler): Mark ignored arguments.
7088 (allout-widgets-post-command-business)
7089 (allout-widgets-exposure-change-processor)
7090 (allout-widgets-exposure-undo-processor)
7091 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7092 (allout-parse-item-at-point, allout-decorate-item-guides)
7093 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7094 * allout.el (epa-passphrase-callback-function): Declare.
7095 (allout-overlay-insert-in-front-handler)
7096 (allout-overlay-interior-modification-handler)
7097 (allout-isearch-end-handler, allout-chart-siblings)
7098 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7099 (allout-yank-processing, allout-process-exposed)
7100 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7101 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7102 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7103 (lisp-indent-defform): Mark ignored arguments.
7104 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7105 (calculate-lisp-indent): Remove unused variables.
7106 * international/characters.el (indian-2-column, arabic-2-column)
7107 (tibetan): Mark ignored arguments.
7108 (use-cjk-char-width-table): Mark ignored arguments.
7109 Remove unused variables.
7110 * international/fontset.el (build-default-fontset-data)
7111 (x-compose-font-name, create-fontset-from-fontset-spec):
7112 Mark ignored arguments.
7113 (fontset-plain-name): Remove unused variables.
7114 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7115 (keyboard-coding-system): Mark ignored arguments.
7116 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7117 * help.el (resize-temp-buffer-window):
7118 * window.el (display-buffer-in-major-side-window)
7119 (display-buffer-in-side-window, display-buffer-in-previous-window):
7120 Remove unused variables.
7121 * isearch.el (isearch-forward-symbol):
7122 * version.el (emacs-bzr-version-bzr):
7123 * international/mule-cmds.el (current-language-environment):
7124 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7126 * term/pc-win.el (x-list-fonts, x-display-planes)
7127 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7128 (x-server-version, x-display-screens, x-display-mm-height)
7129 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7130 (x-selection-owner-p, x-own-selection-internal)
7131 (x-disown-selection-internal, x-get-selection-internal)
7132 (msdos-initialize-window-system):
7133 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7134 * term/x-win.el (x-handle-no-bitmap-icon):
7135 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7136 (vc-default-find-file-hook, vc-default-extra-menu):
7137 Mark ignored arguments.
7139 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7141 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7142 break-condition in the context of the debugged code (bug#12685).
7144 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7147 Do not use an overlay to highlight the last prompt. (Bug#14744)
7148 (comint-mode): Make comint-last-prompt buffer local.
7149 (comint-last-prompt): New variable.
7150 (comint-last-prompt-overlay): Remove. Superseded by
7152 (comint-snapshot-last-prompt, comint-output-filter):
7153 Use comint-last-prompt.
7155 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7157 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7158 (frameset-save): Check validity of the resulting frameset.
7160 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7162 * ido.el (ido-record-command): Add doc string.
7164 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7166 * frameset.el (frameset): Do not disable creation of the default
7167 frameset-p predicate. Doc fix.
7168 (frameset-valid-p): New function, copied from the old predicate-p.
7169 Add additional checks.
7170 (frameset-restore): Check with frameset-valid-p.
7171 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7172 (frameset-name, frameset-description, frameset-properties)
7173 (frameset-states): Add docstring.
7174 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7175 (frameset-filter-alist): Doc fixes.
7177 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7179 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7181 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7183 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7184 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7185 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7186 (byte-compile-normal-call): Remove obsolescence check.
7188 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7190 * frameset.el (frameset-restore): Doc fix.
7192 * register.el (frameset-frame-id, frameset-frame-with-id)
7193 (frameset-p, frameset-restore, frameset-save): Declare.
7194 (register-alist): Document framesets.
7195 (frameset-session-filter-alist): Declare.
7196 (frameset-to-register): New function.
7197 (jump-to-register): Implement jumping to framesets. Doc fix.
7198 (describe-register-1): Describe framesets.
7200 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7202 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7204 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7205 Use lexical-binding.
7207 * frameset.el (frameset): Use type vector, not list (incompatible
7208 change). Do not declare a new constructor, use the default one.
7209 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7210 `name' and `description', respectively, and add read-only slot
7211 `timestamp'. Doc fixes.
7212 (frameset-copy, frameset-persistent-filter-alist)
7213 (frameset-filter-alist, frameset-switch-to-gui-p)
7214 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7215 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7216 (frameset-filter-iconified, frameset-keep-original-display-p):
7218 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7219 Rename from frameset-filter-(save|restore)-param. All callers changed.
7221 (frameset-p): Adapt to change to vector and be more thorough.
7222 Change arg name to OBJECT. Doc fix.
7223 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7224 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7225 All callers changed.
7226 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7227 All callers changed.
7228 (frameset--record-minibuffer-relationships): Rename from
7229 frameset--process-minibuffer-frames. All callers changed.
7230 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7231 Use new default constructor (again). Doc fix.
7232 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7233 All callers changed.
7234 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7235 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7237 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7238 PARAMETERS and WINDOW-STATE, respectively.
7239 (frameset-restore): Add new keyword argument PREDICATE.
7240 Reset frameset--target-display to nil. Doc fix.
7242 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7244 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7246 (bat-mode-syntax-table): Mark \n as end-of-comment.
7247 (bat-font-lock-keywords): Remove comment rule.
7249 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7250 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7252 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7253 (byte-compile-callargs-warn): Use `push'.
7254 (byte-compile-arglist-warn): Ignore higher-order "calls".
7255 (byte-compile-file-form-autoload): Use `pcase'.
7256 (byte-compile-function-form): If quoting a symbol, check that it exists.
7258 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7260 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7261 and add a few popular commands found in batch files.
7262 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7263 (dos-mode): Doc fixes.
7265 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7267 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7268 (dos-mode): Use setq-local. Add space after "rem".
7269 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7270 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7272 2013-08-07 Arni Magnusson <arnima@hafro.is>
7274 * progmodes/dos.el: New file.
7275 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7278 2013-08-06 Glenn Morris <rgm@gnu.org>
7280 * calendar/calendar.el: Add new faces, and day-header-array.
7281 (calendar-weekday-header, calendar-weekend-header)
7282 (calendar-month-header): New faces.
7283 (calendar-day-header-construct): New function.
7284 (calendar-day-header-width): Also :set calendar-day-header-array.
7285 (calendar-american-month-header, calendar-european-month-header)
7286 (calendar-iso-month-header): Use calendar- faces.
7287 (calendar-generate-month):
7288 Use calendar-day-header-array for day headers; apply faces to them.
7289 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7290 (calendar-abbrev-construct): Add optional maxlen argument.
7291 (calendar-day-name-array): Doc fix.
7292 (calendar-day-name-array, calendar-abbrev-length)
7293 (calendar-day-abbrev-array):
7294 Also :set calendar-day-header-array, and maybe redraw.
7295 (calendar-day-header-array): New option. (Bug#15007)
7296 (calendar-font-lock-keywords): Set to nil and make obsolete.
7297 (calendar-day-name): Add option to use header array.
7299 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7301 * net/shr.el (shr-render-td): Remove debugging.
7302 (shr-render-td): Make width computation consistent by defaulting
7303 all zero-width columns to 10 characters. This may not be optimal,
7304 but it's at least consistent.
7305 (shr-make-table-1): Redo last change to fix the real problem in
7308 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7310 * files.el (cache-long-line-scans):
7311 Make obsolete alias to `cache-long-scans'.
7313 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7315 * frameset.el (frameset, frameset-filter-alist)
7316 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7317 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7318 (frameset-compute-pos): Rename from frameset--compute-pos,
7320 (frameset-move-onscreen): Use frameset-compute-pos.
7321 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7323 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7324 Fix typos in docstrings.
7326 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7328 * frame.el (get-other-frame): Tiny cleanup.
7330 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7332 * vc/vc.el (vc-default-ignore-completion-table):
7333 Silence byte-compiler warning.
7335 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7336 slot, which can indeed be nil.
7337 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7338 Move entry for `left' from persistent to live filter alist.
7339 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7341 (frameset-filter-params): When restoring a frame, copy items added to
7342 `filtered', to avoid unwittingly modifying the original parameters.
7343 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7344 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7346 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7347 to use looking-at-p instead of looking-at. (Bug#15028)
7349 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7351 Revert introduction of isearch-filter-predicates (bug#14714).
7352 Rely on add-function instead.
7353 * isearch.el (isearch-filter-predicates): Rename it back to
7354 isearch-filter-predicate.
7355 (isearch-message-prefix): Use advice-function-mapc and advice
7356 properties to get the isearch-message-prefix.
7357 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7358 instead of run-hook-with-args-until-failure.
7359 (isearch-filter-visible): Not obsolete any more.
7360 * loadup.el: Preload nadvice.
7361 * replace.el (perform-replace): Revert to funcall
7362 instead of run-hook-with-args-until-failure.
7363 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7364 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7365 dired-isearch-filenames-toggle; make it into a proper minor mode.
7366 Use add/remove-function.
7367 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7368 Call the minor-mode rather than add/remove-hook.
7369 (dired-isearch-filter-filenames):
7370 Remove isearch-message-prefix property.
7371 * info.el (Info--search-loop): New function, extracted from Info-search.
7372 Funcall isearch-filter-predicate instead of
7373 run-hook-with-args-until-failure isearch-filter-predicates.
7374 (Info-search): Use it.
7375 (Info-mode): Use isearch-filter-predicate instead of
7376 isearch-filter-predicates.
7378 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7380 Do not call to `selected-window' where it is assumed by default.
7381 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7382 `window-hscroll', `window-width', `window-height', `window-buffer',
7383 `window-frame', `window-start', `window-point', `next-window'
7384 and `window-display-table'.
7385 * abbrev.el (abbrev--default-expand):
7386 * bs.el (bs--show-with-configuration):
7387 * buff-menu.el (Buffer-menu-mouse-select):
7388 * calc/calc.el (calc):
7389 * calendar/calendar.el (calendar-generate-window):
7390 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7392 * comint.el (send-invisible, comint-dynamic-complete-filename)
7393 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7394 * completion.el (complete):
7395 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7396 * disp-table.el (describe-current-display-table):
7397 * doc-view.el (doc-view-insert-image):
7398 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7399 * ehelp.el (with-electric-help):
7400 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7401 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7402 * emacs-lisp/helper.el (Helper-help-scroller):
7403 * emulation/cua-base.el (cua--post-command-handler-1):
7404 * eshell/esh-mode.el (eshell-output-filter):
7405 * ffap.el (ffap-gnus-wrapper):
7406 * help-macro.el (make-help-screen):
7407 * hilit-chg.el (highlight-compare-buffers):
7408 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7409 * hl-line.el (global-hl-line-highlight):
7410 * icomplete.el (icomplete-simple-completing-p):
7411 * isearch.el (isearch-done):
7412 * jit-lock.el (jit-lock-stealth-fontify):
7413 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7414 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7415 * mpc.el (mpc-tagbrowser, mpc):
7416 * net/rcirc.el (rcirc-any-buffer):
7417 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7418 * play/landmark.el (landmark-max-width, landmark-max-height):
7419 * play/zone.el (zone):
7420 * progmodes/compile.el (compilation-goto-locus):
7421 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7422 * progmodes/etags.el (find-tag-other-window):
7423 * progmodes/fortran.el (fortran-column-ruler):
7424 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7425 * progmodes/verilog-mode.el (verilog-point-text):
7426 * reposition.el (reposition-window):
7427 * rot13.el (toggle-rot13-mode):
7428 * server.el (server-switch-buffer):
7429 * shell.el (shell-dynamic-complete-command)
7430 (shell-dynamic-complete-environment-variable):
7431 * simple.el (insert-buffer, set-selective-display)
7432 (delete-completion-window):
7433 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7434 (speedbar-recenter):
7435 * startup.el (fancy-splash-head):
7436 * textmodes/ispell.el (ispell-command-loop):
7437 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7438 * tutorial.el (help-with-tutorial):
7439 * vc/add-log.el (add-change-log-entry):
7440 * vc/compare-w.el (compare-windows):
7441 * vc/ediff-help.el (ediff-indent-help-message):
7442 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7443 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7444 (ediff-setup-control-frame):
7445 * vc/emerge.el (emerge-position-region):
7446 * vc/pcvs-util.el (cvs-bury-buffer):
7447 * window.el (walk-windows, mouse-autoselect-window-select):
7448 * winner.el (winner-set-conf, winner-undo): Related users changed.
7450 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7452 * frameset.el (frameset--set-id): Doc fix.
7453 (frameset-frame-id, frameset-frame-id-equal-p)
7454 (frameset-locate-frame-id): New functions.
7455 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7456 (frameset-restore): Use them.
7458 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7460 Do not call to `selected-frame' where it is assumed by default.
7461 Affected functions are `raise-frame', `redraw-frame',
7462 `frame-first-window', `frame-terminal' and `delete-frame'.
7463 * calendar/appt.el (appt-disp-window):
7464 * epg.el (epg-wait-for-completion):
7465 * follow.el (follow-delete-other-windows-and-split)
7466 (follow-avoid-tail-recenter):
7467 * international/mule.el (set-terminal-coding-system):
7468 * mail/rmail.el (rmail-mail-return):
7469 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7470 * progmodes/f90.el (f90-add-imenu-menu):
7471 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7472 * server.el (server-switch-buffer):
7473 * simple.el (delete-completion-window):
7475 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7476 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7477 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7478 * vc/ediff.el (ediff-documentation): Related users changed.
7479 * frame.el (selected-terminal): Remove the leftover.
7481 2013-08-05 Glenn Morris <rgm@gnu.org>
7483 * calendar/calendar.el (calendar-generate-month):
7484 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7485 (calendar-generate-month, calendar-font-lock-keywords):
7486 Fix for calendar-day-header-width > length of any day name.
7488 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7490 * desktop.el (desktop-clear): Use new name of sort predicate.
7492 * frameset.el (frameset): Add docstring. Move :version property to its
7494 (frameset-copy): Rename from copy-frameset.
7495 (frameset-p): Check more thoroughly.
7496 (frameset-prop): Do not check for :version, which is no longer a prop.
7497 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7498 Use new :never value instead of t.
7499 (frameset-filter-alist): Expand and clarify docstring.
7500 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7501 (frameset-filter-minibuffer, frameset-filter-save-param)
7502 (frameset-filter-restore-param, frameset-filter-iconified):
7503 Add pointer to docstring of frameset-filter-alist.
7504 (frameset-filter-params): Rename filter values to be more meaningful:
7505 :never instead of t, and reverse the meanings of :save and :restore.
7506 (frameset--process-minibuffer-frames): Clarify error message.
7507 (frameset-save): Avoid unnecessary and confusing call to framep.
7508 Use new BOA constructor for framesets.
7509 (frameset--reuse-list): Doc fix.
7510 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7511 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7512 (frameset-minibufferless-first-p): Doc fix.
7513 Rename from frameset-sort-frames-for-deletion.
7514 (frameset-restore): Doc fixes. Use new function names.
7515 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7517 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7519 * desktop.el (desktop-restore-forces-onscreen)
7520 (desktop-restore-reuses-frames): Document :keyword constant values.
7521 (desktop-filter-parameters-alist): Remove, now identical to
7522 frameset-filter-alist.
7523 (desktop--filter-tty*): Remove, moved to frameset.el.
7524 (desktop-save-frameset, desktop-restore-frameset):
7525 Do not pass :filters argument.
7527 * frameset.el (frameset-live-filter-alist)
7528 (frameset-persistent-filter-alist): New variables.
7529 (frameset-filter-alist): Use them. Add autoload cookie.
7530 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7531 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7532 `frameset--id' (it's supposed to be internal to frameset.el).
7533 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7534 (frameset--initial-params): New function.
7535 (frameset--get-frame): Use it. Doc fix.
7536 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7537 Accept :all, not 'all.
7538 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7539 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7540 with fbound symbols. Fix frame id matching, and remove matching ids if
7541 the frame being restored is deleted. Obey :delete.
7543 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7545 * subr.el (macrop): New function.
7546 (text-clone--maintaining): New var.
7547 (text-clone--maintain): Rename from text-clone-maintain. Use it
7548 instead of inhibit-modification-hooks.
7550 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7551 a proxy, so as handle autoloads and redefinitions of the target.
7552 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7554 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7555 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7556 (pcase--mutually-exclusive-p): New function.
7557 (pcase--split-consp): Use it.
7558 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7559 mutually exclusive with the current predicate.
7561 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7562 (edebug-macrop): Remove. Use `macrop' instead.
7563 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7565 * eshell/esh-cmd.el (eshell-macrop):
7566 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7568 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7570 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7571 (advice-mapc): New function, using it.
7572 (advice-function-member-p): New function.
7573 (advice--normalize): Store the cdr in advice--saved-rewrite since
7574 that's the part that will be changed.
7575 (advice--symbol-function): New function.
7576 (advice-remove): Handle removal before the function is defined.
7577 Adjust to new advice--saved-rewrite.
7578 (advice-member-p): Use advice-function-member-p and
7579 advice--symbol-function.
7581 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7583 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7584 (frameset-filter-minibuffer): Doc fix.
7585 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7586 (frameset--set-id, frameset--process-minibuffer-frames)
7587 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7588 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7590 * desktop.el (desktop-clear): Only delete frames when called
7591 interactively and desktop-restore-frames is non-nil. Doc fix.
7592 (desktop-read): Set desktop-saved-frameset to nil.
7594 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7596 * vc/vc.el (vc-ignore): Rewrite.
7597 (vc-default-ignore-completion-table):
7599 (vc--add-line, vc--remove-regexp): New functions.
7601 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7602 (vc-svn-ignore-completion-table): New function.
7604 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7605 (vc-hg-ignore-completion-table):
7606 (vc-hg-find-ignore-file): New functions.
7608 * vc/vc-git.el (vc-git-ignore): Rewrite.
7609 (vc-git-ignore-completion-table):
7610 (vc-git-find-ignore-file): New functions.
7612 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7614 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7615 (vc-bzr-ignore-completion-table):
7616 (vc-bzr-find-ignore-file): New functions.
7618 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7620 * frameset.el (frameset-prop): New function and setter.
7621 (frameset-save): Do not modify frame list passed by the caller.
7623 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7625 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7627 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7629 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7630 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7632 * custom.el (custom-initialize-default, custom-initialize-set)
7633 (custom-initialize-reset, custom-initialize-changed): Affect the
7634 toplevel-default-value (bug#6275, bug#14586).
7635 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7638 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7640 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7641 Add cl-def* expressions.
7643 * frameset.el (frameset-filter-params): Fix order of arguments.
7645 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7647 Move code related to saving frames to frameset.el.
7648 * desktop.el: Require frameset.
7649 (desktop-restore-frames): Doc fix.
7650 (desktop-restore-reuses-frames): Rename from
7651 desktop-restoring-reuses-frames.
7652 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7653 (desktop-clear): Clear frames too.
7654 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7655 (desktop--filter-tty*, desktop-save, desktop-read):
7656 Use frameset functions.
7657 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7658 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7659 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7660 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7661 (desktop--process-minibuffer-frames, desktop-save-frames)
7662 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7663 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7664 (desktop--sort-states, desktop-restoring-frames-p)
7665 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7666 (desktop-restoring-frameset-p, desktop-restore-frameset)
7667 (desktop--check-dont-save, desktop-save-frameset): New functions.
7668 (desktop--app-id): New constant.
7669 (desktop-first-buffer, desktop-buffer-ok-count)
7670 (desktop-buffer-fail-count): Move before first use.
7671 * frameset.el: New file.
7673 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7675 * files.el: Use lexical-binding.
7676 (dir-locals-read-from-file): Remove unused `err' variable.
7677 (hack-dir-local-variables--warned-coding): New var.
7678 (hack-dir-local-variables): Use it to avoid repeated warnings.
7679 (make-backup-file-name--default-function): New function.
7680 (make-backup-file-name-function): Use it as default.
7681 (buffer-stale--default-function): New function.
7682 (buffer-stale-function): Use it as default.
7683 (revert-buffer-insert-file-contents--default-function): New function.
7684 (revert-buffer-insert-file-contents-function): Use it as default.
7685 (insert-directory): Avoid add-to-list.
7687 * autorevert.el (auto-revert-handler): Simplify.
7688 Use buffer-stale--default-function.
7690 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7692 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7694 * whitespace.el (whitespace-ensure-local-variables): New function.
7695 (whitespace-cleanup-region): Call it.
7696 (whitespace-turn-on): Call it.
7698 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7700 Complete file name handlers.
7702 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7703 (tramp-handle-verify-visited-file-modtime)
7704 (tramp-handle-file-notify-rm-watch): New functions.
7705 (tramp-call-process): Do not bind `default-directory'.
7707 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7708 Order alphabetically.
7709 <access-file, add-name-to-file, dired-call-process>:
7710 <dired-compress-file, file-acl, file-notify-rm-watch>:
7711 <file-ownership-preserved-p, file-selinux-context>:
7712 <make-directory-internal, make-symbolic-link, set-file-acl>:
7713 <set-file-selinux-context, set-visited-file-modtime>:
7714 <verify-visited-file-modtime>: Add handler.
7715 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7717 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7718 <file-notify-add-watch, file-notify-rm-watch>:
7719 <set-file-times, set-visited-file-modtime>:
7720 <verify-visited-file-modtime>: Add handler.
7721 (with-tramp-gvfs-error-message)
7722 (tramp-gvfs-handle-set-visited-file-modtime)
7723 (tramp-gvfs-fuse-file-name): Remove.
7724 (tramp-gvfs-handle-file-notify-add-watch)
7725 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7726 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7728 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7729 Order alphabetically.
7730 <file-notify-rm-watch>: Use default Tramp handler.
7731 <executable-find>: Remove private handler.
7732 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7733 `default-directory'.
7734 (tramp-sh-handle-executable-find)
7735 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7736 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7737 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7738 Do not use `format' in `tramp-message'.
7740 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7741 <file-notify-rm-watch, set-visited-file-modtime>:
7742 <verify-visited-file-modtime>: Add handler.
7743 (tramp-smb-call-winexe): Do not bind `default-directory'.
7745 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7747 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7749 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7751 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7753 (log-view-diff-changeset): Same.
7754 (log-view-diff-common): Call backend command `previous-revision'
7755 to find out the previous revision, in both cases. Swap the
7756 variables `to' and `fr', so that `fr' usually refers to the
7757 earlier revision (Bug#14989).
7759 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7761 * ibuf-ext.el (ibuffer-filter-by-filename):
7762 Make it work with dired buffers too.
7764 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7766 * emacs-lisp/re-builder.el (reb-color-display-p):
7767 * files.el (save-buffers-kill-terminal):
7768 * net/browse-url.el (browse-url):
7769 * server.el (server-save-buffers-kill-terminal):
7770 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7771 Prefer nil to selected-frame for the first arg of frame-parameter.
7773 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7775 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7777 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7779 * minibuffer.el (completion--twq-all): Try and preserve each
7780 completion's case choice (bug#14907).
7782 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7784 * net/network-stream.el (open-network-stream): Mention the new
7785 :nogreeting parameter.
7786 (network-stream-open-starttls): Use the :nogreeting parameter
7789 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7791 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7792 more natural than popping.
7794 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7795 (shr-urlify): Highlight under mouse.
7797 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7799 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7801 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7803 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7806 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7807 point-min==1. Fix search string. Fix parentheses missing.
7809 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7810 assume point-min==1. Fix search string. Fix parentheses missing.
7812 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7814 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7817 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7819 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7820 initial frame is minibuffer-less. (Bug#14841)
7822 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7824 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7827 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7828 (tramp-maybe-open-connection): Use it.
7830 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7832 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7833 minimal set of parameters passed when creating a frame, because
7834 the minibuffer status of a frame cannot be changed later.
7836 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7838 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7839 replace-regexp-in-string and inadvertent omissions in previous change.
7840 (todo-filter-items): Ensure only file names are comma-separated in
7841 name of filtered items buffer.
7843 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7845 * desktop.el: Optionally force offscreen frames back onscreen.
7846 (desktop-restoring-reuses-frames): New option.
7847 (desktop--compute-pos, desktop--move-onscreen): New functions.
7848 (desktop--make-frame): Use desktop--move-onscreen.
7850 2013-07-27 Alan Mackenzie <acm@muc.de>
7852 Fontify a Java generic method as a function.
7853 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7856 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7858 * calendar/todo-mode.el: Add command to rename todo files.
7859 (todo-rename-file): New command.
7860 (todo-key-bindings-t): Add key binding for it. Change the
7861 bindings of todo-filter-regexp-items(-multifile) to use `x'
7862 instead of `r', since the latter is better suited to the new
7865 2013-07-27 Alan Mackenzie <acm@muc.de>
7867 Make Java try-with-resources statement parse properly.
7868 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7869 (c-block-stmt-1-2-key): New language constants/variables.
7870 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7871 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7872 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7873 with c-block-stmt-1-2-key.
7875 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7877 * desktop.el (desktop--make-frame): Apply most frame parameters after
7878 creating the frame to force (partially or totally) offscreen frames to
7879 be restored as such.
7881 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7883 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7886 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7888 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7889 `base' arg of backtrace-frame.
7891 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7893 * simple.el (list-processes): Doc fix.
7895 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7897 * desktop.el (desktop--select-frame):
7898 Try harder to reuse existing frames.
7900 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7902 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7903 (edebug-eval): Use backtrace-eval.
7904 (edebug--display, edebug--recursive-edit): Don't let-bind the
7905 edebug-outer-* vars that keep track of variables we locally let-bind.
7906 (edebug-outside-excursion): Don't restore outside values of locally
7908 (edebug--display): Use user-error.
7909 (cl-lexical-debug, cl-debug-env): Remove.
7911 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7913 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7914 are restored to be sure that they are visible before deleting any
7917 2013-07-26 Matthias Meulien <orontee@gmail.com>
7919 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7920 vc-print-root-log. (Bug#14948)
7922 2013-07-26 Richard Stallman <rms@gnu.org>
7924 Add aliases for encrypting mail.
7925 * epa.el (epa-mail-aliases): New option.
7926 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7927 Bind inhibit-read-only so read-only text doesn't ruin everything.
7928 (epa-mail-default-recipients): New subroutine broken out.
7929 Handle epa-mail-aliases.
7931 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7933 Add support for lexical variables to the debugger's `e' command.
7934 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7935 vars, except for debugger-outer-match-data.
7936 (debugger-frame-number): Move check for "on a function call" from
7937 callers into it. Add `skip-base' argument.
7938 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7939 (debugger-env-macro): Only reset the state stored in non-variables,
7940 i.e. current-buffer and match-data.
7941 (debugger-eval-expression): Rewrite using backtrace-eval.
7942 * subr.el (internal--called-interactively-p--get-frame): Remove.
7943 (called-interactively-p):
7944 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7945 `base' arg of backtrace-frame instead.
7947 2013-07-26 Glenn Morris <rgm@gnu.org>
7949 * align.el (align-regexp): Doc fix. (Bug#14857)
7950 (align-region): Explicit error if subexpression missing/does not match.
7952 * simple.el (global-visual-line-mode):
7953 Do not duplicate the mode lighter. (Bug#14858)
7955 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7957 * window.el (display-buffer): In display-buffer bind
7958 split-window-keep-point to t, bug#14829.
7960 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7962 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7963 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7964 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7965 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7967 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7968 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7970 2013-07-25 Glenn Morris <rgm@gnu.org>
7972 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7974 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7976 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7977 parameter to modify-frame-parameters if the value has not changed;
7978 this is a workaround for bug#14949.
7979 (desktop--make-frame): On cl-delete-if call, check parameter name,
7982 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7984 * vc/vc.el (vc-ignore): New function.
7986 * vc/vc-svn.el (vc-svn-ignore): New function.
7988 * vc/vc-hg.el (vc-hg-ignore): New function.
7990 * vc/vc-git.el (vc-git-ignore): New function.
7992 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7993 (vc-dir-ignore): New function.
7995 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7996 (cvs-append-to-ignore): Move here from pcvs.el.
7998 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8000 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8002 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8004 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8005 (desktop-restore-frames): Warn when deleting an existing frame failed.
8007 2013-07-24 Glenn Morris <rgm@gnu.org>
8009 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8011 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8013 * filenotify.el (file-notify-supported-p):
8014 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8017 * autorevert.el (auto-revert-use-notify):
8018 (auto-revert-notify-add-watch):
8019 * net/tramp.el (tramp-file-name-for-operation):
8020 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8021 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8022 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8023 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8024 Remove `file-notify-supported-p' entry.
8026 2013-07-24 Glenn Morris <rgm@gnu.org>
8028 * printing.el: Replace all uses of deleted ps-windows-system,
8029 ps-lp-system, ps-flatten-list with lpr- versions.
8031 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8033 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8034 checked with memq (bug#14935).
8036 * files.el (revert-buffer-function): Use a non-nil default.
8037 (revert-buffer-preserve-modes): Declare var to
8038 provide access to the `preserve-modes' argument.
8039 (revert-buffer): Let-bind it.
8040 (revert-buffer--default): New function, extracted from revert-buffer.
8042 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8044 * lpr.el: Signal print errors more prominently.
8045 (print-region-function): Don't default to nil.
8046 (lpr-print-region): New function, extracted from print-region-1.
8047 Check lpr's return value and signal an error in case of problem.
8048 (print-region-1): Use it.
8049 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8051 (ps-printer-name): Default to nil.
8052 (ps-printer-name-option): Default to lpr-printer-switch.
8053 (ps-print-region-function): Don't default to nil.
8054 (ps-postscript-code-directory): Simplify default.
8055 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8056 (ps-string-list, ps-eval-switch, ps-flatten-list)
8057 (ps-flatten-list-1): Remove.
8058 (ps-multibyte-buffer): Avoid setq.
8059 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8060 (print-region-function, ps-print-region-function): Don't set them here.
8062 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8064 * ido.el (ido-fractionp):
8065 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8066 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8067 (ido-max-directory-size, ido-max-dir-file-cache)
8068 (ido-decorations): Doc fix.
8070 * ansi-color.el: Fix old URL.
8072 2013-07-23 Michael R. Mauger <michael@mauger.com>
8074 * progmodes/sql.el: Version 3.3
8075 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8076 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8077 (sql-interactive-remove-continuation-prompt): Rewrite, use
8078 functions above. Fix continuation prompt and complete output line
8080 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8081 redirected output buffer.
8082 (sql-mode): Restore deleted code (Bug#13591).
8084 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8086 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8088 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8090 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8092 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8093 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8094 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8096 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8098 * desktop.el (desktop-clear): Simplify; remove useless checks
8099 against invalid buffer names.
8100 (desktop-list*): Use cl-list*.
8101 (desktop-buffer-info, desktop-create-buffer): Simplify.
8103 2013-07-23 Leo Liu <sdl.web@gmail.com>
8105 * bookmark.el (bookmark-make-record): Restore NAME as a default
8108 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8110 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8111 extracted from autoload--insert-text.
8112 (autoload--insert-text): Remove.
8113 (autoload--print-cookie-text): New function, extracted from
8114 autoload--insert-cookie-text.
8115 (autoload--insert-cookie-text): Remove.
8116 (autoload-generate-file-autoloads): Adjust calls accordingly.
8118 * winner.el (winner-hook-installed-p): Remove.
8119 (winner-mode): Simplify accordingly.
8121 * subr.el (add-to-list): Fix compiler-macro when `append' is
8122 not constant. Don't use `cl-member' for the base case.
8124 * progmodes/subword.el: Fix boundary case (bug#13758).
8125 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8127 (subword-backward-regexp): Make it a constant.
8128 (subword-forward-internal): Don't treat a trailing capital as the
8129 beginning of a word.
8131 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8133 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8134 global value of tabulated-list-revert-hook (bug#14930).
8136 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8138 * desktop.el: Require 'cl-lib.
8139 (desktop-before-saving-frames-functions): New hook.
8140 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8141 for frames being saved. Rename from desktop--save-minibuffer-frames.
8142 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8143 Do not save frames with non-nil `desktop-dont-save' parameter.
8144 Filter out deleted frames.
8145 (desktop--find-frame): Use cl-find-if.
8146 (desktop--select-frame): Use cl-(first|second|third) to access values
8148 (desktop--make-frame): Use cl-delete-if.
8149 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8150 (desktop-restore-frames): Use cl-(first|second|third) to access values
8151 of desktop-mini. Look for visible frame at the end, not while
8154 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8155 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8156 Use string-match-p, looking-at-p (bug#14927).
8158 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8160 * desktop.el (desktop-saved-frame-states):
8161 Rename from desktop--saved-states; all users changed.
8162 (desktop-save-frames): Rename from desktop--save-frames.
8163 Do not save state to desktop file.
8164 (desktop-save): Save desktop-saved-frame-states to desktop file
8166 (desktop-restoring-frames-p): New function.
8167 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8168 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8169 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8171 * desktop.el: Correctly restore iconified frames.
8172 (desktop--filter-iconified-position): New function.
8173 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8175 2013-07-20 Glenn Morris <rgm@gnu.org>
8177 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8178 Let `message' do the formatting.
8179 (def-gdb-preempt-display-buffer): Add explicit format.
8181 * image-dired.el (image-dired-track-original-file):
8182 Use with-current-buffer.
8183 (image-dired-track-thumbnail): Use with-current-buffer.
8184 Avoid changing point of wrong window.
8186 * image-dired.el (image-dired-track-original-file):
8187 Avoid changing point of wrong window. (Bug#14909)
8189 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8191 * progmodes/gdb-mi.el (gdb-done-or-error):
8192 Guard against "%" in gdb output. (Bug#14127)
8194 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8196 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8199 * international/mule.el (coding-system-iso-2022-flags): Fix last
8202 2013-07-20 Kenichi Handa <handa@gnu.org>
8204 * international/mule.el (coding-system-iso-2022-flags):
8205 Add `8-bit-level-4'. (Bug#8522)
8207 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8209 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8212 * net/eww.el (eww-process-text-input): Allow inputting when the
8213 point is at the start of the line, as the properties aren't
8216 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8219 2013-07-19 Richard Stallman <rms@gnu.org>
8221 * epa.el (epa-popup-info-window): Doc fix.
8223 * subr.el (split-string): New arg TRIM.
8225 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8227 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8228 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8230 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8232 * filenotify.el (file-notify--library): Rename from
8233 `file-notify-support'. Do not autoload. Adapt all uses.
8234 (file-notify-supported-p): New defun.
8236 * autorevert.el (auto-revert-use-notify):
8237 Use `file-notify-supported-p' instead of `file-notify-support'.
8239 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8241 * net/tramp.el (tramp-file-name-for-operation):
8242 Add `file-notify-supported-p'.
8244 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8246 (tramp-sh-file-name-handler-alist): Add it as handler for
8247 `file-notify-supported-p '.
8249 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8250 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8251 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8252 Add `ignore' as handler for `file-notify-*' functions.
8254 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8256 * simple.el (line-move-partial, line-move): Don't start vscroll or
8257 scroll-up if the current line is not taller than the window.
8260 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8262 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8263 highlight question marks in the method names as strings.
8264 (ruby-block-beg-keywords): Inline.
8265 (ruby-font-lock-keyword-beg-re): Extract from
8266 `ruby-font-lock-keywords'.
8268 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8270 * frame.el (blink-cursor-blinks): New defcustom.
8271 (blink-cursor-blinks-done): New defvar.
8272 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8273 (blink-cursor-timer-function): Check if number of blinks has been
8275 (blink-cursor-suspend, blink-cursor-check): New defuns.
8277 2013-07-15 Glenn Morris <rgm@gnu.org>
8279 * edmacro.el (edmacro-format-keys): Fix previous change.
8281 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8283 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8284 The hack didn't work outside English locales anyway.
8286 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8288 * simple.el (define-alternatives): Rename from alternatives-define,
8289 per RMS' suggestion.
8291 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8293 * desktop.el (desktop-restore-frames): Change default to t.
8294 (desktop-restore-in-current-display): Now offer more options.
8295 (desktop-restoring-reuses-frames): New customization option.
8296 (desktop--saved-states): Doc fix.
8297 (desktop-filter-parameters-alist): New variable, renamed and expanded
8298 from desktop--excluded-frame-parameters.
8299 (desktop--target-display): New variable.
8300 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8301 (desktop--filter-tty*, desktop--filter-*-color)
8302 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8303 (desktop--filter-save-desktop-parm)
8304 (desktop-restore-in-original-display-p): New functions.
8305 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8306 (desktop--save-minibuffer-frames): New function, inspired by a similar
8307 function from Martin Rudalics.
8308 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8309 (desktop--restore-in-this-display-p): Remove.
8310 (desktop--find-frame): Rename from desktop--find-frame-in-display
8311 and add predicate argument.
8312 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8313 (desktop--reuse-list): New variable.
8314 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8316 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8318 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8320 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8322 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8324 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8325 Highlight conversion methods on Kernel.
8327 2013-07-13 Alan Mackenzie <acm@muc.de>
8329 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8330 and comment it out. This out-commenting enables certain C++
8331 declarations to be parsed correctly.
8333 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8335 * international/mule.el (define-coding-system): Doc fix.
8337 * simple.el (default-font-height): Don't call font-info if the
8338 frame's default font didn't change since the frame was created.
8341 2013-07-13 Leo Liu <sdl.web@gmail.com>
8343 * ido.el (ido-read-file-name): Guard against non-symbol value.
8345 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8347 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8350 2013-07-13 Leo Liu <sdl.web@gmail.com>
8352 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8353 ido-set-matches call. (Bug#6852)
8355 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8357 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8358 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8360 (ruby-font-lock-keywords): Distinguish calls to functions with
8361 module-like names from module references. Highlight character
8364 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8366 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8367 (gdb-send): Handle continued commands. (Bug#14847)
8369 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8371 * desktop.el (desktop--v2s): Remove unused local variable.
8372 (desktop-save-buffer): Make defvar-local; adjust docstring.
8373 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8374 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8376 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8378 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8380 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8382 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8385 2013-07-12 Glenn Morris <rgm@gnu.org>
8387 * doc-view.el: Require cl-lib at runtime too.
8388 (doc-view-remove-if): Remove.
8389 (doc-view-search-next-match, doc-view-search-previous-match):
8392 * edmacro.el: Require cl-lib at runtime too.
8393 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8394 (edmacro-mismatch, edmacro-subseq): Remove.
8396 * shadowfile.el: Require cl-lib.
8397 (shadow-remove-if): Remove.
8398 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8401 * wid-edit.el: Require cl-lib.
8402 (widget-choose): Use cl-remove-if.
8403 (widget-remove-if): Remove.
8405 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8406 (ebrowse-delete-if-not): Remove.
8407 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8408 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8409 Use cl-delete-if-not.
8411 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8413 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8414 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8416 2013-07-12 Leo Liu <sdl.web@gmail.com>
8418 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8420 2013-07-11 Glenn Morris <rgm@gnu.org>
8422 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8423 (edebug-gensym-index, edebug-gensym):
8424 Remove reimplementation of cl-gensym.
8425 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8427 * thumbs.el: Require cl-lib at run-time too.
8428 (thumbs-gensym-counter, thumbs-gensym):
8429 Remove reimplementation of cl-gensym.
8430 (thumbs-temp-file): Use cl-gensym.
8432 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8433 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8434 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8435 (ert--union, ert--gensym-counter, ert--gensym-counter)
8436 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8437 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8438 (ert-make-test-unbound, ert--expand-should-1)
8439 (ert--expand-should, ert--should-error-handle-error)
8440 (should-error, ert--explain-equal-rec)
8441 (ert--plist-difference-explanation, ert-select-tests)
8442 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8443 Use cl-lib functions rather than reimplementations.
8445 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8447 * net/tramp.el (tramp-methods): Extend docstring.
8448 (tramp-connection-timeout): New defcustom.
8449 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8450 (with-tramp-progress-reporter): Simplify.
8451 (tramp-process-actions): Improve messages.
8453 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8454 * net/tramp-sh.el (tramp-maybe-open-connection):
8455 Use `tramp-connection-timeout'.
8456 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8459 2013-07-11 Leo Liu <sdl.web@gmail.com>
8461 * ido.el (ido-read-file-name): Conform to the requirements of
8462 read-file-name. (Bug#11861)
8463 (ido-read-directory-name): Conform to the requirements of
8464 read-directory-name.
8466 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8468 * subr.el (delay-warning): New function.
8470 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8472 * simple.el (default-line-height): New function.
8473 (line-move-partial, line-move): Use it instead of computing the
8475 (line-move-partial): Always compute ROWH. If the last line is
8476 partially-visible, but its text is completely visible, allow
8477 cursor to enter such a partially-visible line.
8479 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8481 Improve error messages. (Bug#14808)
8483 * net/tramp.el (tramp-current-connection): New defvar, moved from
8485 (tramp-message-show-progress-reporter-message): Remove, not
8487 (tramp-error-with-buffer): Show message in minibuffer.
8488 Discard input before waiting. Reset connection timestamp.
8489 (with-tramp-progress-reporter): Improve messages.
8490 (tramp-process-actions): Use progress reporter. Delete process in
8491 case of error. Improve messages.
8493 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8494 Call `tramp-error-with-buffer' with vector and buffer.
8495 (tramp-current-connection): Remove.
8496 (tramp-maybe-open-connection): The car of
8497 `tramp-current-connection' are the first 3 slots of the vector.
8499 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8501 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8502 inside continued strings.
8504 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8506 Timestamp fixes for undo (Bug#14824).
8507 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8509 2013-07-10 Leo Liu <sdl.web@gmail.com>
8511 * files.el (require-final-newline): Allow safe local value.
8514 2013-07-09 Leo Liu <sdl.web@gmail.com>
8516 * ido.el (ido-read-directory-name): Handle fallback.
8517 (ido-read-file-name): Update DIR to ido-current-directory.
8519 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8521 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8523 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8524 "autoload". Remove "warn lower camel case" section, previously
8525 commented out. Highlight negation char. Do not highlight the
8526 target in singleton method definitions.
8528 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8530 * faces.el (tty-setup-hook): Declare the hook.
8532 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8533 and detect when a guard/pred depends on local vars (bug#14773).
8534 (pcase--u1): Adjust caller.
8536 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8538 * simple.el (line-move-partial, line-move): Account for
8540 (line-move-partial): Avoid setting vscroll when the last
8541 partially-visible line in window is of default height.
8543 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8545 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8548 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8550 * subr.el (read-quoted-char): Remove unused local variable `char'.
8552 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8554 * ediff.el (ediff-version): Version update.
8555 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8556 (ediff-merge-with-ancestor-command, ediff-directories-command)
8557 (ediff-directories3-command, ediff-merge-directories-command)
8558 (ediff-merge-directories-with-ancestor-command): New functions.
8559 All are command-line interfaces to ediff: to facilitate calling
8560 Emacs with the appropriate ediff functions invoked.
8562 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8563 (viper-save-kill-buffer): Check if buffer is modified.
8565 * viper.el (viper-version): Version update.
8566 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8568 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8570 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8571 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8572 (viper-intercept-ESC-key): Simplify.
8573 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8574 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8575 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8576 (viper-setup-ESC-to-escape): New functions.
8577 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8578 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8580 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8582 * simple.el (default-font-height, window-screen-lines):
8584 (line-move, line-move-partial): Use them instead of
8585 frame-char-height and window-text-height. This makes scrolling
8586 text smoother when the buffer's default face uses a font that is
8587 different from the frame's default font.
8589 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8591 * files.el (write-file): Do not display confirm dialog for NS,
8592 it does its own dialog, which can't be canceled (Bug#14578).
8594 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8596 * simple.el (line-move-partial): Adjust the row returned by
8597 posn-at-point for the current window-vscroll. (Bug#14567)
8599 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8601 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8602 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8605 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8607 * window.el (window-state-put-stale-windows): New variable.
8608 (window--state-put-2): Save list of windows without matching buffer.
8609 (window-state-put): Remove "bufferless" windows if possible.
8611 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8613 * simple.el (alternatives-define): Remove leftover :group keyword.
8616 2013-07-06 Leo Liu <sdl.web@gmail.com>
8618 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8619 (ido-enable-virtual-buffers): New variable.
8620 (ido-buffer-internal, ido-toggle-virtual-buffers)
8621 (ido-make-buffer-list): Use it.
8622 (ido-exhibit): Support turning on and off virtual buffers
8625 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8627 * simple.el (alternatives-define): New macro.
8629 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8631 * subr.el (read-quoted-char): Use read-key.
8632 (sit-for): Let read-event decode tty input (bug#14782).
8634 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8636 * calendar/todo-mode.el: Add handling of file deletion, both by
8637 mode command and externally. Fix various related bugs.
8638 Clarify Commentary and improve some documentation strings and code.
8639 (todo-delete-file): New command.
8640 (todo-check-file): New function.
8641 (todo-show): Handle external deletion of the file we're trying to
8642 show (bug#14688). Replace called-interactively-p by an optional
8643 prefix argument to avoid problematic interaction with catch form
8644 when byte compiled (bug#14702).
8645 (todo-quit): Handle external deletion of the archive's todo file.
8646 Make sure the buffer that was visiting the archive file is still
8647 live before trying to bury it.
8648 (todo-category-completions): Handle external deletion of any
8649 category completion files.
8650 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8651 of todo files, in case of external deletion.
8652 (todo-add-file): Replace unnecessary setq by let-binding.
8653 (todo-find-archive): Check whether there are any archives.
8654 Replace unnecessary setq by let-binding.
8655 (todo-archive-done-item): Use find-file-noselect to get the
8656 archive buffer whether or not the archive already exists.
8657 Remove superfluous code. Use file size instead of buffer-file-name to
8658 check if the archive is new; if it is, update list of archives.
8659 (todo-default-todo-file): Allow nil to be a valid value for when
8660 there are no todo files.
8661 (todo-reevaluate-default-file-defcustom): Use corrected definition
8662 of todo-default-todo-file.
8663 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8664 (todo-delete-category, todo-show-categories-table)
8665 (todo-category-number): Clarify comment.
8666 (todo-filter-items): Clarify documentation string.
8667 (todo-show-current-file, todo-display-as-todo-file)
8668 (todo-reset-and-enable-done-separator): Tweak documentation string.
8669 (todo-done-separator): Make separator length window-width, since
8670 bug#2749 is now fixed.
8672 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8674 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8675 Support both "gvfs-monitor-dir" and "inotifywait".
8676 (tramp-sh-file-inotifywait-process-filter): Rename from
8677 `tramp-sh-file-notify-process-filter'.
8678 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8679 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8681 2013-07-05 Leo Liu <sdl.web@gmail.com>
8683 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8685 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8687 * frame.el (display-pixel-height, display-pixel-width)
8688 (display-mm-height, display-mm-width): Mention behavior on
8689 multi-monitor setups in docstrings.
8690 (w32-display-monitor-attributes-list): Declare function.
8691 (display-monitor-attributes-list): Use it.
8693 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8695 * filenotify.el: New package.
8697 * autorevert.el (top): Require filenotify.el.
8698 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8700 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8701 (auto-revert-notify-handler): Use `file-notify-*' functions.
8703 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8705 * net/tramp.el (tramp-file-name-for-operation):
8706 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8708 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8709 for `file-notify-add-watch' and `file-notify-rm-watch'.
8710 (tramp-process-sentinel): Improve trace.
8711 (tramp-sh-handle-file-notify-add-watch)
8712 (tramp-sh-file-notify-process-filter)
8713 (tramp-sh-handle-file-notify-rm-watch)
8714 (tramp-get-remote-inotifywait): New defuns.
8716 2013-07-03 Juri Linkov <juri@jurta.org>
8718 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8719 call of `occur-read-primary-args' to interactive spec.
8721 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8722 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8724 2013-07-03 Matthias Meulien <orontee@gmail.com>
8726 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8727 `Buffer-menu-multi-occur'. Add it to the menu.
8728 (Buffer-menu-mode): Document it in docstring.
8729 (Buffer-menu-multi-occur): New command. (Bug#14673)
8731 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8733 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8734 keywords and built-ins.
8736 2013-07-03 Glenn Morris <rgm@gnu.org>
8738 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8740 Make info-xref checks case-sensitive by default
8741 * info.el (Info-find-node, Info-find-in-tag-table)
8742 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8743 Add option for exact case matching of nodes.
8744 * info-xref.el (info-xref): New custom group.
8745 (info-xref-case-fold): New option.
8746 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8748 2013-07-03 Leo Liu <sdl.web@gmail.com>
8750 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8752 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8754 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8755 middle of block statement initially, lower the depth. Remove
8756 FIXME comment, not longer valid. Remove middle of block statement
8757 detection, no need to do that anymore since we've been using
8758 `ruby-parse-region' here.
8760 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8762 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8764 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8766 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8768 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8770 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8771 (desktop-restore-in-current-display): New customization option.
8772 (desktop--excluded-frame-parameters): Add `font'.
8773 (desktop--save-frames): Rename from desktop--save-windows.
8774 (desktop--restore-in-this-display-p): New function.
8775 (desktop--make-full-frame): Remove unwanted width/height from
8776 full(width|height) frames.
8777 (desktop--restore-frames): Rename from desktop--restore-windows.
8778 Obey desktop-restore-current-display. Do not delete old frames or
8779 select a new frame unless we were able to restore at least one frame.
8781 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8783 * files.el (find-file-noselect): Simplify conditional expression.
8785 * textmodes/remember.el (remember-append-to-file):
8786 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8788 Add `remember-notes' function to store random notes across Emacs
8790 * textmodes/remember.el (remember-data-file): Add :set callback to
8791 affect notes buffer (if any).
8792 (remember-notes): New command.
8793 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8794 New defcustoms for the `remember-notes' function.
8795 (remember-notes-save-and-bury-buffer): New command.
8796 (remember-notes-mode-map): New variable.
8797 (remember-mode): New minor mode.
8798 (remember-notes--kill-buffer-query): New function.
8799 * startup.el (initial-buffer-choice): Add notes to custom type.
8801 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8803 * bindings.el (right-char, left-char): Don't call sit-for, this is
8804 no longer needed. Use arithmetic comparison only for numerical
8807 * international/mule-cmds.el (select-safe-coding-system):
8808 Handle the case of FROM being a string correctly. (Bug#14755)
8810 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8812 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8813 progression on degenerate tables.
8814 (shr-rescale-image): ImageMagick animated images currently don't work.
8816 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8818 Some fixes and improvements for desktop frame restoration.
8819 It is still experimental and disabled by default.
8820 * desktop.el (desktop--save-windows): Put the selected frame at
8821 the head of the list.
8822 (desktop--make-full-frame): New function.
8823 (desktop--restore-windows): Try to re-select the frame that was
8824 selected upon saving. Do not abort if some frames fail to restore,
8825 just show an error message and continue. Set up maximized frames
8826 so they have default non-maximized dimensions.
8828 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8830 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8831 Don't start heredoc inside a string or comment.
8833 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8835 * bindings.el (visual-order-cursor-movement): New defcustom.
8836 (right-char, left-char): Provide visual-order cursor motion by
8837 calling move-point-visually. Update the doc strings.
8839 2013-06-28 Kenichi Handa <handa@gnu.org>
8841 * international/mule.el (define-coding-system): New coding system
8842 properties :inhibit-null-byte-detection,
8843 :inhibit-iso-escape-detection, and :prefer-utf-8.
8844 (set-buffer-file-coding-system): If :charset-list property of
8845 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8846 appropriate for setting.
8848 * international/mule-cmds.el (select-safe-coding-system):
8849 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8850 multibyte characters, return utf-8 (or one of its siblings).
8852 * international/mule-conf.el (prefer-utf-8): New coding system.
8853 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8856 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8858 * net/shr.el (shr-render-region): New function.
8860 * net/eww.el: Autoload `eww-browse-url'.
8862 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8864 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8865 Adapt to `package-desc-version' being a list.
8866 Use `package--ac-desc-version' to retrieve version from a package
8869 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8871 New experimental feature to save&restore window and frame setup.
8872 * desktop.el (desktop-save-windows): New defcustom.
8873 (desktop--saved-states): New var.
8874 (desktop--excluded-frame-parameters): New defconst.
8875 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8876 (desktop--restore-windows, desktop--save-windows): New functions.
8877 (desktop-save): Call `desktop--save-windows'.
8878 (desktop-read): Call `desktop--restore-windows'.
8880 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8882 * net/shr.el (add-face-text-property): Remove compat definition.
8884 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8886 * info.el (Info-try-follow-nearest-node): Move search for footnote
8887 above search for node name to prevent missing a footnote (bug#14717).
8889 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8891 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8893 2013-06-27 Leo Liu <sdl.web@gmail.com>
8895 * net/eww.el (eww-read-bookmarks): Check file size.
8897 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8899 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8900 advice--pending if newdef is nil or an autoload (bug#13820).
8901 (advice-mapc): New function.
8903 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8905 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8907 (eww-mode-map): Add a menu bar.
8908 (eww-add-bookmark): New command.
8909 (eww-bookmark-mode): New mode and commands.
8910 (eww-add-bookmark): Remove newlines from the title.
8911 (eww-bookmark-browse): Don't bug out if it's the only window.
8913 2013-06-26 Glenn Morris <rgm@gnu.org>
8915 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8916 (hfy-size): Handle ttys. (Bug#14668)
8918 * info-xref.el: Update for Texinfo 5 change in *note format.
8919 (info-xref-node-re, info-xref-note-re): New constants.
8920 (info-xref-check-buffer): Use info-xref-note-re.
8922 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8924 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8926 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8927 nil terminate the loop (bug#14718).
8929 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8931 * net/eww.el: Rework history traversal. When going forward/back,
8932 put these actions into the history, too, so that they can be
8934 (eww-render): Move the history reset to the correct buffer.
8936 2013-06-25 Juri Linkov <juri@jurta.org>
8938 * files-x.el (modify-dir-local-variable): Change the header comment
8939 in the file with directory local variables. (Bug#14692)
8941 * files-x.el (read-file-local-variable-value): Add `default'.
8944 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8946 * net/eww.el (eww-make-unique-file-name): Create a unique file
8947 name before saving to entering `y' accidentally asynchronously.
8949 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8951 * net/eww.el (eww-download): New command and keystroke.
8953 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955 * net/eww.el (eww-copy-page-url): Change name of command.
8957 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8958 be more consistent with Info and dired.
8960 * net/eww.el (eww-mode-map): Ditto.
8962 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8964 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8965 packages from archives.
8966 (package-archive-contents): Change format; include obsolete packages.
8967 (package-desc): Use `dir' to mark builtin packages.
8968 (package--from-builtin): Set the `dir' field to `builtin'.
8969 (generated-autoload-file, version-control): Declare.
8970 (package-compute-transaction): Change first arg and return value to be
8971 lists of package-descs. Adjust to new package-archive-contents format.
8972 (package--add-to-archive-contents): Adjust to new
8973 package-archive-contents format.
8974 (package-download-transaction): Arg is now a list of package-descs.
8975 (package-install): If `pkg' is a package name, pass it as
8976 a requirement, so it is subject to the usual (e.g. disabled) checks.
8977 (describe-package): Accept package-desc as well.
8978 (describe-package-1): Describe a specific package-desc. Add links to
8979 other package-descs for the same package name.
8980 (package-menu-describe-package): Pass the actual package-desc.
8981 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8983 (package-desc-status): New function.
8984 (package-menu--refresh): New function, extracted
8985 from package-menu--generate.
8986 (package-menu--generate): Use it.
8987 (package-delete): Update package-alist.
8988 (package-menu-execute): Don't call package-initialize.
8990 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8991 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8992 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8993 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8994 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8995 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8997 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8999 * window.el (window--state-get-1): Workaround for bug#14527.
9000 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9002 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9004 * net/eww.el (eww-back-url): Implement the history by stashing all
9005 the data into a list.
9006 (eww-forward-url): Allow going forward in the history, too.
9008 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9010 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9011 for values and use read--expression for expressions (bug#14710).
9012 (read-file-local-variable): Avoid setq.
9013 (read-file-local-variable-mode): Use minor-mode-list.
9015 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9017 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9020 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9022 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9023 Update imenu-support when dialect changes.
9025 2013-06-25 Leo Liu <sdl.web@gmail.com>
9027 * ido.el (ido-read-internal): Allow forward slash on windows.
9029 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9031 * net/eww.el (eww): Start of strings is \\`, not ^.
9033 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9035 * net/shr.el (shr-browse-url): Fix interactive spec.
9037 * net/eww.el (eww): Add a trailing slash to domain names.
9039 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9041 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9043 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9045 * net/shr.el (shr-browse-url): Use an external browser if given a
9048 * net/eww.el (eww-external-browser): Move to shr.
9050 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9052 * net/eww.el (eww): Work more correctly for file: URLs.
9053 (eww-detect-charset): Allow quoted charsets.
9054 (eww-yank-page-url): New command and keystroke.
9056 2013-06-24 Daiki Ueno <ueno@gnu.org>
9058 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9059 file name of gpg executable.
9060 (epg-context-program): New function.
9061 (epg-context-home-directory): New function.
9062 (epg-context-set-program): New function.
9063 (epg-context-set-home-directory): New function.
9064 (epg--start): Use `epg-context-program' instead of
9066 (epg--list-keys-1): Likewise.
9068 2013-06-24 Leo Liu <sdl.web@gmail.com>
9070 * ido.el (ido-read-internal): Fix bug#14620.
9072 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9074 * faces.el (face-documentation): Simplify.
9075 (read-face-attribute, tty-find-type, x-resolve-font-name):
9076 Use `string-match-p'.
9077 (list-faces-display): Use `string-match-p'. Simplify.
9078 (face-spec-recalc): Check face to avoid face alias loops.
9079 (read-color): Use `string-match-p' and non-capturing parenthesis.
9081 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9083 * net/shr.el (shr-rescale-image): Use the new
9084 :max-width/:max-height functionality.
9086 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9088 * net/eww.el (eww-search-prefix): New variable.
9090 (eww-external-browser): New variable.
9091 (eww-mode-map): New keystroke.
9092 (eww-browse-with-external-browser): New command.
9094 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9096 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9098 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9099 Don't skip aligning the next header field when padding is 0;
9100 otherwise, field width is not respected unless the title is as
9103 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9105 * emacs-lisp/package.el (package-el-version): Remove.
9106 (package-process-define-package): Fix inf-loop.
9107 (package-install): Allow symbols as arguments again.
9109 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9111 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9112 add some more keyword-like methods.
9113 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9115 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9117 * bs.el (bs-buffer-show-mark): Make defvar-local.
9118 (bs-mode): Use setq-local.
9120 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9121 (emacs-lock--try-unlocking): Make defvar-local.
9123 2013-06-22 Glenn Morris <rgm@gnu.org>
9125 * play/cookie1.el (cookie-apropos): Minor simplification.
9127 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9129 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9131 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9132 `regexp-opt', it breaks the build during dumping.
9134 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9136 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9137 Highlight keyword-like methods on Kernel and Module with
9138 font-lock-builtin-face.
9139 (auto-mode-alist): Consolidate different entries into one regexp
9140 and add more *file-s.
9142 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9144 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9146 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9147 (diary-entry): Use it in the action of this button type instead of
9150 * calendar/todo-mode.el: New version.
9151 (todo-add-category): Append new category to end of file and give
9152 it the highest number, instead of putting it at the beginning and
9153 giving it 0. Incorporate noninteractive functionality.
9154 (todo-forward-category): Adapt to 1-based category numbering.
9155 Allow skipping over archived categories.
9156 (todo-backward-category): Derive from todo-forward-category.
9157 (todo-backward-item, todo-forward-item): Make noninteractive and
9158 delegate interactive part to new commands. Make sensitive to done items.
9159 (todo-categories): Make value an alist of category names and
9160 vectors of item counts.
9161 (todo-category-beg): Make a defconst.
9162 (todo-category-number): Use 1 instead of 0 as initial value.
9163 (todo-category-select): Make sensitive to overlays, optional item
9164 highlighting and done items.
9165 (todo-delete-item): Make sensitive to overlays and marked and done items.
9166 (todo-edit-item): Make sensitive to overlays and editing of
9167 date/time header optional. Add format checks.
9168 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9169 no-op if point is not on an item. Advertise using todo-edit-quit.
9170 (todo-edit-mode): Make sensitive to new format, font-locking, and
9171 multiple todo files.
9172 (todo-insert-item, todo-insert-item-here): Derive from
9173 todo-basic-insert-item and extend functionality.
9174 (todo-item-end, todo-item-start): Make sensitive to done items.
9175 (todo-item-string): Don't return text properties. Restore point.
9176 (todo-jump-to-category): Make sensitive to multiple todo files and
9177 todo archives. Use extended category completion.
9178 (todo-lower-item, todo-raise-item): Rename to *-priority and
9179 derive from todo-set-item-priority.
9180 (todo-mode): Derive from special-mode. Make sensitive to new
9181 format, font-locking and multiple todo files. Make read-only.
9182 (todo-mode-map): Don't suppress digit keys, so they can supply
9183 prefix arguments. Add many new key bindings.
9184 (todo-prefix): Insert as an overlay instead of file text.
9185 Change semantics from diary date expression to purely visual mark.
9186 (todo-print): Rename to todo-print-buffer. Make buffer display
9187 features printable. Remove option to restrict number of items
9188 printed. Add option to print to file.
9189 (todo-print-function): Rename to todo-print-buffer-function.
9190 (todo-quit): Extend to handle exiting new todo modes.
9191 (todo-remove-item): Make sensitive to overlays.
9192 (todo-save): Extend to buffers of filtered items.
9193 (todo-show): Make sensitive to done items, multiple todo files and
9194 new todo modes. Offer to convert legacy todo file before creating
9195 first new todo file.
9196 (todo-show-priorities): Rename to todo-top-priorities.
9197 Change semantics of value 0.
9198 (todo-top-priorities): Rename to todo-filter-top-priorities,
9199 derive from todo-filter-items and extend functionality.
9200 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9201 and extend functionality to other types of filtered items.
9202 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9203 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9204 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9205 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9206 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9207 (todo-edit-mode-hook, todo-entry-prefix-function)
9208 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9209 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9210 (todo-initials, todo-insert-threshold, todo-item-string-start)
9211 (todo-line-string, todo-menu, todo-mode-hook)
9212 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9213 (todo-print-priorities, todo-remove-separator)
9214 (todo-save-top-priorities-too, todo-string-count-lines)
9215 (todo-string-multiline-p, todo-time-string-format)
9216 (todo-tmp-buffer-name): Remove.
9217 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9218 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9219 (todo-edit-category-diary-inclusion)
9220 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9221 (todo-edit-file, todo-edit-item-date-day)
9222 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9223 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9224 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9225 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9226 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9227 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9228 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9229 (todo-filter-top-priorities-multifile, todo-find-archive)
9230 (todo-find-filtered-items-file, todo-go-to-source-item)
9231 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9232 (todo-jump-to-archive-category, todo-lower-category)
9233 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9234 (todo-move-category, todo-move-item, todo-next-button)
9235 (todo-next-item, todo-padded-string, todo-powerset)
9236 (todo-previous-button, todo-previous-item)
9237 (todo-print-buffer-to-file, todo-raise-category)
9238 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9239 (todo-set-category-number, todo-set-item-priority)
9240 (todo-set-top-priorities-in-category)
9241 (todo-set-top-priorities-in-file, todo-show-categories-table)
9242 (todo-sort-categories-alphabetically-or-numerically)
9243 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9244 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9245 (todo-toggle-item-header, todo-toggle-item-highlighting)
9246 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9247 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9248 (todo-unarchive-items, todo-unmark-category): New commands.
9249 (todo-absolute-file-name, todo-add-to-buffer-list)
9250 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9251 (todo-basic-insert-item, todo-category-completions)
9252 (todo-category-number, todo-category-string-matcher-1)
9253 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9254 (todo-check-format, todo-clear-matches)
9255 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9256 (todo-current-category, todo-date-string-matcher)
9257 (todo-define-insertion-command, todo-diary-expired-matcher)
9258 (todo-diary-goto-entry, todo-diary-item-p)
9259 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9260 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9261 (todo-done-item-section-p, todo-done-separator)
9262 (todo-done-string-matcher, todo-files, todo-filter-items)
9263 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9264 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9265 (todo-insert-category-line, todo-insert-item-from-calendar)
9266 (todo-insert-sort-button, todo-insert-with-overlays)
9267 (todo-insertion-command-name, todo-insertion-key-bindings)
9268 (todo-label-to-key, todo-longest-category-name-length)
9269 (todo-make-categories-list, todo-mode-external-set)
9270 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9271 (todo-modes-set-3, todo-multiple-filter-files)
9272 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9273 (todo-read-category, todo-read-date, todo-read-dayname)
9274 (todo-read-file-name, todo-read-time)
9275 (todo-reevaluate-category-completions-files-defcustom)
9276 (todo-reevaluate-default-file-defcustom)
9277 (todo-reevaluate-filelist-defcustoms)
9278 (todo-reevaluate-filter-files-defcustom)
9279 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9280 (todo-reset-done-separator, todo-reset-done-separator-string)
9281 (todo-reset-done-string, todo-reset-global-current-todo-file)
9282 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9283 (todo-reset-prefix, todo-set-categories)
9284 (todo-set-date-from-calendar, todo-set-show-current-file)
9285 (todo-set-top-priorities, todo-short-file-name)
9286 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9287 (todo-total-item-counts, todo-update-buffer-list)
9288 (todo-update-categories-display, todo-update-categories-sexp)
9289 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9291 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9293 (todo-categories, todo-display, todo-edit, todo-faces)
9294 (todo-filtered): New defgroups.
9295 (todo-archived-only, todo-button, todo-category-string, todo-date)
9296 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9297 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9298 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9299 (todo-add-item-if-new-category, todo-always-add-time-string)
9300 (todo-categories-align, todo-categories-archived-label)
9301 (todo-categories-category-label, todo-categories-diary-label)
9302 (todo-categories-done-label, todo-categories-number-separator)
9303 (todo-categories-todo-label, todo-categories-totals-label)
9304 (todo-category-completions-files, todo-completion-ignore-case)
9305 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9306 (todo-done-separator-string, todo-done-string)
9307 (todo-files-function, todo-filter-done-items, todo-filter-files)
9308 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9309 (todo-initial-category, todo-initial-file, todo-item-mark)
9310 (todo-legacy-date-time-regexp, todo-mode-line-function)
9311 (todo-nondiary-marker, todo-number-prefix)
9312 (todo-print-buffer-function, todo-show-current-file)
9313 (todo-show-done-only, todo-show-first, todo-show-with-done)
9314 (todo-skip-archived-categories, todo-top-priorities-overrides)
9315 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9316 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9318 (todo-category-done, todo-date-pattern, todo-date-string-start)
9319 (todo-diary-items-buffer, todo-done-string-start)
9320 (todo-filtered-items-buffer, todo-item-start)
9321 (todo-month-abbrev-array, todo-month-name-array)
9322 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9323 (todo-top-priorities-buffer): New defconsts.
9324 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9325 (todo-categories-with-marks, todo-category-string-face)
9326 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9327 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9328 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9329 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9330 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9331 (todo-font-lock-keywords, todo-global-current-todo-file)
9332 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9333 (todo-insertion-commands-args)
9334 (todo-insertion-commands-args-genlist)
9335 (todo-insertion-commands-names, todo-insertion-map)
9336 (todo-key-bindings-t, todo-key-bindings-t+a)
9337 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9338 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9339 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9340 (todo-visited): New variables.
9342 2013-06-21 Glenn Morris <rgm@gnu.org>
9344 * play/cookie1.el (cookie-apropos): Add optional display argument.
9345 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9346 (psychoanalyze-pinhead): Use cookie-doctor.
9348 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9350 * emacs-lisp/package.el (tar-get-file-descriptor)
9351 (tar--extract): Declare.
9353 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9355 Extend flymake's warning predicate to be a function (bug#14217).
9356 * progmodes/flymake.el (flymake-warning-predicate): New.
9357 (flymake-parse-line): Use it.
9358 (flymake-warning-re): Make obsolete alias to
9359 `flymake-warning-predicate'.
9361 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9363 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9364 (package-obsolete-list): Remove.
9365 (package-activate): Remove min-version argument. Add `force' argument.
9366 Adjust to new package-alist format.
9367 (package-mark-obsolete): Remove.
9368 (package-unpack): Force reload of the package's autoloads.
9369 (package-installed-p): Check builtins if the installed package is not
9371 (package-initialize): Don't reset package-obsolete-list.
9372 Don't specify which package version to activate.
9373 (package-process-define-package, describe-package-1)
9374 (package-menu--generate): Adjust to new package-alist format.
9376 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9378 * allout-widgets.el (allout-widgets-mode-off)
9379 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9380 (allout-widgets-post-command-business)
9381 (allout-widgets-after-copy-or-kill-function)
9382 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9383 (allout-decorate-item-and-context)
9384 (allout-graphics-modification-handler): Fix typos in docstrings.
9385 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9387 * cmuscheme.el (scheme-start-file): Doc fix.
9388 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9389 (scheme-input-filter): Use `string-match-p'.
9391 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9393 * dired-x.el: Use Dired consistently in docstrings.
9395 * dired.el: Use Dired consistently in docstrings.
9396 (dired-readin, dired-mode): Use `setq-local'.
9397 (dired-switches-alist): Make defvar-local.
9398 (dired-buffers-for-dir): Use `zerop'.
9399 (dired-safe-switches-p, dired-switches-escape-p)
9400 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9401 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9402 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9403 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9404 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9405 (dired-toggle-marks, dired-mark-files-containing-regexp)
9406 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9407 (dired-flag-auto-save-files, dired-flag-backup-files):
9409 (dired-mark-files-regexp, dired-build-subdir-alist):
9410 Use `string-match-p', `looking-at-p'.
9412 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9413 (direct-print-region-helper): Use `string-match-p'.
9415 2013-06-21 Leo Liu <sdl.web@gmail.com>
9417 * comint.el (comint-redirect-results-list-from-process):
9420 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9422 * net/eww.el (eww-update-header-line-format): Quote % characters.
9424 2013-06-21 Glenn Morris <rgm@gnu.org>
9426 * play/cookie1.el (cookie): New custom group.
9427 (cookie-file): New option.
9428 (cookie-check-file): New function.
9429 (cookie): Make it interactive. Make start and end messages optional.
9430 Interactively, display the result. Default to cookie-file.
9431 (cookie-insert): Default to cookie-file.
9432 (cookie-snarf): Make start and end messages optional.
9433 Default to cookie-file. Use with-temp-buffer.
9434 (cookie-read): Rename from read-cookie.
9435 Make start and end messages optional. Default to cookie-file.
9436 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9438 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9439 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9441 2013-06-21 Leo Liu <sdl.web@gmail.com>
9443 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9445 2013-06-21 Glenn Morris <rgm@gnu.org>
9447 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9449 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9450 Daniel Hackney <dan@haxney.org>
9452 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9453 Consolidate the single-file vs tarball code.
9454 (package-desc-suffix): New function.
9455 (package-desc-full-name): Don't bother inlining it.
9456 (package-load-descriptor): Return the new package-desc.
9457 (package-mark-obsolete): Remove unused arg `package'.
9458 (package-unpack): Make it work for single files as well.
9459 Make it update package-alist.
9460 (package--make-autoloads-and-stuff): Rename from
9461 package--make-autoloads-and-compile. Don't compile any more.
9462 (package--compile): New function.
9463 (package-generate-description-file): New function, extracted from
9464 package-unpack-single.
9465 (package-unpack-single): Remove.
9466 (package--with-work-buffer): Add indentation and debugging info.
9467 (package-download-single): Remove.
9468 (package-install-from-archive): Rename from package-download-tar, make
9469 it take a pkg-desc, and make it work for single files as well.
9470 (package-download-transaction): Simplify.
9471 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9472 external tar program.
9473 (package-install-from-buffer): Remove `pkg-desc' argument.
9474 Use package-tar-file-info for tar-mode buffers.
9475 (package-install-file): Simplify accordingly.
9476 (package-archive-base): Change to take a pkg-desc.
9477 * tar-mode.el (tar--check-descriptor): New function, extracted from
9479 (tar-get-descriptor): Use it.
9480 (tar-get-file-descriptor): New function.
9481 (tar--extract): New function, extracted from tar-extract.
9482 (tar--extract): Use it.
9483 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9484 case the summary uses non-ascii. Adjust to new calling convention of
9485 package-tar-file-info.
9487 2013-06-21 Leo Liu <sdl.web@gmail.com>
9489 * comint.el (comint-redirect-results-list-from-process):
9490 Fix random delay. (Bug#14681)
9492 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9494 * profiler.el (profiler-format-number): Use log, not log10.
9496 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9498 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9500 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9502 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9503 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9505 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9506 (AUTOGENEL): ... here.
9507 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9508 (cl--defsubst-expand): Use it.
9510 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9512 * subr.el (log10): Move here from C code, and declare as obsolete.
9513 All uses of (log10 X) replaced with (log X 10).
9515 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9517 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9518 Declare with `defvar-local'.
9519 (tabulated-list-use-header-line, tabulated-list-entries)
9520 (tabulated-list-padding, tabulated-list-printer)
9521 (tabulated-list-sort-key): Declare with `defvar-local'.
9522 (tabulated-list-init-header, tabulated-list-print-fake-header):
9525 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9527 * arc-mode.el (archive-mode): Add `archive-write-file' to
9528 `write-contents-functions' also for remote files. (Bug#14652)
9530 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9532 * cus-edit.el (custom-commands): Fix typos.
9533 (custom-display): Fix tooltip text.
9534 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9535 Fix typos in docstrings.
9536 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9537 (custom-unlispify-menu-entry, custom-magic-value-create)
9538 (custom-add-see-also, custom-group-value-create): Use ?\s.
9539 (custom-guess-type, customize-apropos, editable-field)
9540 (custom-face-value-create): Use `string-match-p'.
9541 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9543 * custom.el (custom-load-symbol): Use `string-match-p'.
9545 * ansi-color.el: Convert to lexical binding.
9546 (ansi-colors): Fix URL.
9547 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9548 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9549 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9551 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9553 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9555 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9557 2013-06-19 Tom Tromey <tromey@redhat.com>
9559 * net/eww.el (eww-top-url): Remove.
9560 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9561 (eww-render): Set new variables. Don't set eww-top-url.
9562 (eww-handle-link): Handle "prev", "home", and "contents".
9563 Downcase the rel text.
9564 (eww-top-url): Choose best top URL.
9566 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9568 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9569 relying in widget.el. Using widget.el leads to too many
9570 user interface inconsistencies.
9571 (eww-self-insert): Implement entering commands in text fields.
9572 (eww-process-text-input): New function to make text input field editing
9574 (eww-submit): Rewrite to use the new-style form methods.
9575 (eww-select-display): Display the correct selected item.
9576 (eww-change-select): Implement changing the select value.
9577 (eww-toggle-checkbox): Implement radio/checkboxes.
9578 (eww-update-field): Fix compilation error.
9579 (eww-tag-textarea): Implement <textarea>.
9581 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9582 we don't shadow mode-specific bindings.
9584 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9587 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9589 2013-06-19 Glenn Morris <rgm@gnu.org>
9591 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9593 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9595 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9598 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9600 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9602 * net/browse-url.el (browse-url-browser-function):
9603 `eww-browse-url' has the right calling signature, `eww' does not.
9605 2013-06-19 Glenn Morris <rgm@gnu.org>
9607 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9608 Only eval autoloaded macros.
9609 (byte-compile-autoload): Only give the macro warning for macros.
9611 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9612 (ps-underlined-faces): Declare.
9614 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9615 (speedbar-add-supported-extension): Declare.
9617 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9618 Don't include a date stamp in the header of the generated file;
9619 it leads to needless differences between output files.
9621 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9623 * net/secrets.el (secrets-struct-secret-content-type):
9624 Replace check of introspection data by a test call of "CreateItem".
9625 Some servers do not offer introspection.
9627 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9629 * electric.el (electric-pair-mode): Improve interaction with
9630 electric-layout-mode.
9631 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9632 (electric-pair-syntax): Use text-mode-syntax-table in comments
9634 (electric-pair--insert): New function.
9635 (electric-pair-post-self-insert-function): Use it and
9636 electric--after-char-pos.
9638 2013-06-19 Leo Liu <sdl.web@gmail.com>
9640 * progmodes/octave.el (octave-help): Fix regexp.
9642 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9644 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9645 (shr-table-horizontal-line): Allow nil as a value, and change the
9647 (shr-insert-table-ruler): Respect the nil value.
9649 2013-06-18 Tom Tromey <tromey@barimba>
9651 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9653 (eww-open-file): New defun.
9654 (eww-render): Initialize new variables.
9655 (eww-display-html): Handle "link" and "a".
9656 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9657 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9658 (eww-back-url): Rename from eww-previous-url.
9659 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9662 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9664 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9665 Distinguish ternary operator tokens from slash symbol and slash
9668 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9670 Convert symbol prettification into minor mode and global minor mode.
9672 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9673 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9674 (prettify-symbols--keywords): Rename from
9675 `prog-prettify-symbols-alist' and make a local defvar.
9676 (prettify-symbols--compose-symbol): Rename from
9677 `prog--prettify-font-lock-compose-symbol'.
9678 (prettify-symbols--make-keywords): Rename from
9679 `prog-prettify-font-lock-symbols-keywords' and simplify.
9680 (prog-prettify-install): Remove.
9681 (prettify-symbols-mode): New minor mode, based on
9682 `prog-prettify-install'.
9683 (turn-on-prettify-symbols-mode): New function.
9684 (global-prettify-symbols-mode): New globalized minor mode.
9686 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9687 * progmodes/cfengine.el (cfengine3-mode):
9688 * progmodes/perl-mode.el (perl-mode): Don't call
9689 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9691 2013-06-18 Juri Linkov <juri@jurta.org>
9693 * files-x.el (modify-file-local-variable-message): New function.
9694 (modify-file-local-variable)
9695 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9696 and call `modify-file-local-variable-message' when it's non-nil.
9697 (add-file-local-variable, delete-file-local-variable)
9698 (add-file-local-variable-prop-line)
9699 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9700 and use it. (Bug#9820)
9702 2013-06-18 Juri Linkov <juri@jurta.org>
9704 * emulation/vi.el (vi-shell-op):
9705 * emulation/vip.el (vip-execute-com, ex-command):
9706 * emulation/viper-cmd.el (viper-exec-bang):
9707 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9708 the call of `shell-command-on-region'. (Bug#14637)
9710 * simple.el (shell-command-on-region): Doc fix.
9712 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9714 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9717 2013-06-18 Glenn Morris <rgm@gnu.org>
9719 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9721 * newcomment.el (comment-search-forward, comment-search-backward):
9722 Doc fix. (Bug#14376)
9724 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9726 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9727 (buffer-face-mode-invoke): Doc fix.
9729 2013-06-18 Matthias Meulien <orontee@gmail.com>
9731 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9732 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9734 2013-06-18 Glenn Morris <rgm@gnu.org>
9736 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9737 Replace obsolete function generic-make-keywords with its expansion.
9739 * progmodes/python.el (ffap-alist): Declare.
9741 * textmodes/reftex.el (bibtex-mode-map): Declare.
9743 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9745 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9746 (package-unpack, package-unpack-single): Return the pkg-dir.
9747 (package-download-transaction): Use it to update package-alist.
9749 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9751 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9754 2013-06-17 Juri Linkov <juri@jurta.org>
9756 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9758 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9760 * emacs-lisp/package.el (package-load-descriptor):
9761 Remove `with-syntax-table' call, `read' doesn't need it.
9762 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9764 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9766 * startup.el (command-line): Expand package name returned by
9767 `package--description-file' (bug#14639).
9769 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9771 * emacs-lisp/package.el (package-load-descriptor): Do not call
9772 `emacs-lisp-mode', just use its syntax table.
9774 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9776 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9777 `font-lock-extra-managed-props' if any prettifying keyword is added.
9778 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9779 (prog-mode): Use `setq-local'.
9781 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9783 * international/characters.el (standard-case-table): Set syntax of ?»
9784 and ?« to punctuation.
9786 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9788 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9789 Save relevant match data before calling `syntax-ppss' (bug#14595).
9791 2013-06-15 Juri Linkov <juri@jurta.org>
9793 * files-x.el (modify-file-local-variable-prop-line): Add local
9794 variables to the end of the existing comment on the first line.
9795 Use `file-auto-mode-skip' to skip interpreter magic line,
9796 and also skip XML declaration.
9798 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9800 * startup.el (package--builtin-versions): New var.
9801 (package-subdirectory-regexp): Remove.
9802 (package--description-file): Hard code its value instead.
9804 * emacs-lisp/package.el: Don't activate packages older than builtin.
9805 (package-obsolete-list): Rename from package-obsolete-alist, and make
9806 it into a simple list of package-desc.
9807 (package-strip-version): Remove.
9808 (package-built-in-p): Use package--builtin-versions.
9809 (package-mark-obsolete): Simplify.
9810 (package-process-define-package): Mark it obsolete if older than the
9812 (package-handle-response): Use line-end-position.
9813 (package-read-archive-contents, package--download-one-archive):
9815 (package--add-to-archive-contents): Skip if older than the builtin or
9817 (package-menu-describe-package): Fix last change.
9818 (package-list-unversioned): New var.
9819 (package-menu--generate): Use it.
9821 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9822 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9823 (autoload-builtin-package-versions): New variable.
9824 (autoload-generate-file-autoloads): Use them.
9825 Remove the list of autoloaded functions/macros from the
9826 (autoload...) comments.
9828 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9830 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9832 * simple.el (line-move-partial): Don't jump to the next screen
9833 line as soon as it becomes visible. Instead, continue enlarging
9834 the vscroll until the portion of a tall screen line that's left on
9835 display is about the height of the frame's default font.
9838 2013-06-15 Glenn Morris <rgm@gnu.org>
9840 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9841 compilation-error-regexp-alist void, or local while let-bound.
9843 * progmodes/make-mode.el (makefile-mode-syntax-table):
9844 Treat "=" as punctuation. (Bug#14614)
9846 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9848 * help-fns.el (describe-variable):
9849 Add extra line for permanent-local variables.
9851 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9853 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9854 Add export, import, library. (Bug#9164)
9855 (library): Set indent function.
9857 2013-06-14 Glenn Morris <rgm@gnu.org>
9859 * term/xterm.el (xterm--query):
9860 Stop after first matching handler. (Bug#14615)
9862 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9864 Add support for dired in saveplace.
9865 * dired.el (dired-initial-position-hook): New variable.
9866 (dired-initial-position): Call hook to place cursor position.
9867 * saveplace.el (save-place-to-alist): Add dired position.
9868 (save-place-dired-hook): New function.
9870 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9872 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9873 through a symbol rather than letrec.
9875 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9876 (package-desc): Add `dir' field.
9877 (package-desc-full-name): New function.
9878 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9879 (package-maybe-load-descriptor): Remove.
9880 (package-load-all-descriptors): Just call package-load-descriptor.
9881 (package--disabled-p): New function.
9882 (package-desc-vers, package-desc-doc): Remove aliases.
9883 (package--dir): Remove function.
9884 (package-activate): Check if a package is disabled.
9885 (package-process-define-package): New function, extracted from
9887 (define-package): Turn into a place holder.
9888 (package-unpack-single, package-tar-file-info):
9889 Use package--description-file.
9890 (package-compute-transaction): Use package--disabled-p.
9891 (package-download-transaction): Don't call
9892 package-maybe-load-descriptor since they're all loaded anyway.
9893 (package-install): Change argument to be a pkg-desc.
9894 (package-delete): Use a single pkg-desc argument.
9895 (describe-package-1): Use package-desc-dir instead of package--dir.
9896 Use package-desc property instead of package-symbol.
9897 (package-install-button-action): Adjust accordingly.
9898 (package--push): Rewrite.
9899 (package-menu--print-info): Adjust accordingly. Change the ID format
9901 (package-menu-describe-package, package-menu-get-status)
9902 (package-menu--find-upgrades, package-menu-mark-upgrades)
9903 (package-menu-execute, package-menu--name-predicate):
9905 * startup.el (package--description-file): New function.
9906 (command-line): Use it.
9907 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9908 Use package-desc-version.
9910 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9911 (byte-compile-preprocess): Use it.
9912 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9913 can't quite recognize.
9914 (byte-compile-add-to-list): Remove.
9915 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9916 (cconv-closure-convert): Add assertion.
9918 * emacs-lisp/map-ynp.el: Use lexical-binding.
9919 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9920 Factor out some repeated code.
9922 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9924 * subr.el (with-eval-after-load): New macro.
9925 (eval-after-load): Allow form to be a function.
9926 take advantage of lexical-binding.
9927 (do-after-load-evaluation): Use dolist and adjust to new format.
9928 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9930 2013-06-13 Juri Linkov <juri@jurta.org>
9932 * replace.el (perform-replace): Display "symbol " and other search
9933 modes from `isearch-message-prefix' in the *Help* buffer.
9935 * isearch.el (isearch-query-replace): Add " symbol" and other
9936 possible search modes from `isearch-message-prefix' to the prompt.
9937 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9938 when reading a regexp to collect.
9940 2013-06-13 Juri Linkov <juri@jurta.org>
9942 * isearch.el (word-search-regexp): Match whitespace if the search
9943 string begins or ends in whitespace. The LAX arg is applied to
9944 both ends of the search string. Use `regexp-quote' and explicit
9945 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9946 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9947 boundaries are replaced with symbol boundaries, and characters
9948 between symbols match non-word non-symbol syntax. (Bug#14602)
9950 2013-06-13 Juri Linkov <juri@jurta.org>
9952 * isearch.el (isearch-del-char): Don't exceed the length of
9953 `isearch-string' by the prefix arg. (Bug#14563)
9955 2013-06-13 Juri Linkov <juri@jurta.org>
9957 * isearch.el (isearch-yank-word, isearch-yank-line)
9958 (isearch-char-by-name, isearch-quote-char)
9959 (isearch-printing-char, isearch-process-search-char):
9960 Add optional count prefix arg. (Bug#14563)
9962 * international/isearch-x.el
9963 (isearch-process-search-multibyte-characters):
9964 Add optional count prefix arg.
9966 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9968 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9969 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9972 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9974 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9976 2013-06-13 Glenn Morris <rgm@gnu.org>
9978 * startup.el (tty-handle-args):
9979 Don't just discard "--" and anything after. (Bug#14608)
9981 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9983 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9985 Implement changes in Secret Service API. Make it backward compatible.
9986 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9987 (secrets-create-item): Use it. Prefix properties with interface.
9989 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9991 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9992 (term-emulate-terminal): Respect term-suppress-hard-newline.
9994 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9996 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9997 Only remove a `thumb-file' overlay. (Bug#14548)
9999 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10001 * mail/reporter.el (reporter-submit-bug-report):
10002 Handle missing package-name. (Bug#14600)
10004 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10006 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10007 (reftex-citation-prompt, reftex-default-bibliography)
10008 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10009 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10010 (reftex-bib-sort-author, reftex-bib-sort-year)
10011 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10012 (reftex-extract-bib-entries-from-thebibliography)
10013 (reftex-get-bibkey-default, reftex-get-bib-names)
10014 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10015 (reftex-format-bib-entry, reftex-parse-bibitem)
10016 (reftex-format-bibitem, reftex-do-citation)
10017 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10018 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10019 (reftex-insert-bib-matches, reftex-format-citation)
10020 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10021 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10022 existing comments into docstrings.
10024 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10026 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10028 2013-06-12 Andreas Schwab <schwab@suse.de>
10030 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10031 for auto-save files.
10033 2013-06-12 Glenn Morris <rgm@gnu.org>
10035 * ido.el (ido-delete-ignored-files): Remove.
10036 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10037 Go back to calling ido-ignore-item-p directly.
10039 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10041 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10043 * ido.el (ido-delete-ignored-files): New function,
10044 split from ido-make-file-list-1.
10045 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10046 (ido-make-file-list-1): Use ido-delete-ignored-files.
10048 2013-06-12 Leo Liu <sdl.web@gmail.com>
10050 * progmodes/octave.el (inferior-octave-startup)
10051 (inferior-octave-completion-table)
10052 (inferior-octave-track-window-width-change)
10053 (octave-eldoc-function-signatures, octave-help)
10054 (octave-find-definition): Use single quoted strings.
10055 (inferior-octave-startup-args): Change default value.
10056 (inferior-octave-startup): Do not hard code "-i" and
10057 "--no-line-editing".
10058 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10059 (inferior-octave-directory-tracker): Use it.
10060 (octave-goto-function-definition): Robustify.
10061 (octave-help): Support highlighting operators in 'See also'.
10062 (octave-find-definition): Find subfunctions only in Octave mode.
10064 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10066 * help-fns.el (help-fns--compiler-macro): If the handler function is
10067 named, then put a link to it.
10068 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10069 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10070 (cl-typep): Use it.
10071 (cl-eval-when): Simplify debug spec.
10072 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10073 compiler-macro function instead of setting `compiler-macro-file'.
10075 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10077 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10078 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10080 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10081 Daniel Hackney <dan@haxney.org>
10083 First part of Daniel Hackney's patch to package.el.
10084 * emacs-lisp/package.el: Use defstruct.
10085 (package-desc): New, main struct.
10086 (package--bi-desc, package--ac-desc): New structs, used to describe the
10087 format in external files.
10088 (package-desc-vers): Replace with package-desc-version accessor.
10089 (package-desc-doc): Replace with package-desc-summary accessor.
10090 (package-activate-1): Remove `package' arg since the pkg-vec now
10092 (define-package): Use package-desc-from-define.
10093 (package-unpack-single): Change file-name arg to be a symbol.
10094 (package--add-to-archive-contents): Use package-desc-create and new
10095 accessor functions to package--ac-desc.
10096 (package-buffer-info, package-tar-file-info): Return a package-desc.
10097 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10098 arg to be a package-desc.
10099 (package-install-file): Adjust accordingly. Use \' to match EOS.
10100 (package--from-builtin): New function.
10101 (describe-package-1, package-menu--generate): Use it.
10102 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10103 (package-generate-autoloads): Idem and return the name of the file.
10104 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10105 Change pkg-info arg to be a package-desc.
10106 Use package-make-ac-desc.
10107 (package-upload-file): Use \' to match EOS.
10108 * finder.el (finder-compile-keywords): Use package-make-builtin.
10110 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10112 * vc/vc.el (vc-deduce-fileset): Change error message.
10113 (vc-read-backend): New function.
10114 (vc-next-action): Use it.
10116 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10118 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10119 (prolog-font-lock-keywords): Use regexp-opt instead.
10120 Don't manually highlight strings.
10121 (prolog-mode-variables): Simplify comment-start-skip.
10122 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10124 * emacs-lisp/generic.el (generic--normalise-comments)
10125 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10126 (generic-mode-set-comments): Use them.
10127 (generic-bracket-support): Use setq-local.
10128 (generic-make-keywords-list): Declare obsolete.
10130 2013-06-11 Glenn Morris <rgm@gnu.org>
10132 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10133 Prettify after setting font-lock-defaults. (Bug#14574)
10135 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10137 * replace.el (query-replace, occur-read-regexp-defaults-function)
10139 * subr.el (declare-function, number-sequence, local-set-key)
10140 (substitute-key-definition, locate-user-emacs-file)
10141 (with-silent-modifications, split-string, eval-after-load):
10142 Fix typos, remove unneeded backslashes and reflow some docstrings.
10144 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10146 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10147 default for Elisp files.
10149 2013-06-11 Glenn Morris <rgm@gnu.org>
10151 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10152 although define-derived-mode was doing this anyway. (Bug#14583)
10154 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10156 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10157 Fix make-variable-buffer-local call to refer to the correct variable.
10159 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10161 * eshell/em-term.el (eshell-visual-commands)
10162 (eshell-visual-subcommands, eshell-visual-options):
10163 Add summary line to docstrings. Add cross-references.
10165 2013-06-10 Glenn Morris <rgm@gnu.org>
10167 * epa.el (epa-read-file-name): New function. (Bug#14510)
10168 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10170 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10172 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10173 output redirection to be ignored with visual commands.
10175 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10177 * eshell/em-term.el (eshell-visual-command-p): New function.
10178 (eshell-term-initialize): Move long lambda to separate function
10179 eshell-visual-command-p.
10180 * eshell/em-dirs.el (eshell-dirs-initialise):
10181 * eshell/em-script.el (eshell-script-initialize):
10182 Add missing #' to lambda.
10184 2013-06-08 Leo Liu <sdl.web@gmail.com>
10186 * progmodes/octave.el (octave-add-log-current-defun): New function.
10187 (octave-mode): Set add-log-current-defun-function.
10188 (octave-goto-function-definition): Do not move point if not found.
10189 (octave-find-definition): Enhance to try subfunctions first.
10191 2013-06-08 Glenn Morris <rgm@gnu.org>
10193 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10194 (byte-compile-backward-char, byte-compile-backward-word):
10195 Improve previous change, to handle non-explicit nil.
10197 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10199 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10200 (smie--opener/closer-at-point): New function.
10201 (smie--matching-block-data): Use it. Don't match from right after an
10202 opener or right before a closer. Obey smie-blink-matching-inners.
10203 Don't signal a mismatch for repeated inners like "switch..case..case".
10205 2013-06-07 Leo Liu <sdl.web@gmail.com>
10207 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10209 (octave-function-header-regexp): Fix. (Bug#14570)
10210 (octave-help-mode-finish-hook, octave-help-mode-finish):
10211 Remove. Just use temp-buffer-show-hook.
10213 * newcomment.el (comment-search-backward): Revert last change.
10216 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10218 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10220 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10221 through xargs, to avoid failure due to MS-Windows limitations on
10222 command-line length.
10224 2013-06-06 Glenn Morris <rgm@gnu.org>
10226 * font-lock.el (lisp-font-lock-keywords-2):
10227 Treat user-error like error.
10229 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10230 (byte-compile-backward-char, byte-compile-backward-word):
10231 Handle explicit nil arguments. (Bug#14565)
10233 2013-06-05 Alan Mackenzie <acm@muc.de>
10235 * isearch.el (isearch-allow-prefix): New user option.
10236 (isearch-other-meta-char): Don't exit isearch when a prefix
10237 argument is typed whilst `isearch-allow-prefix' is non-nil.
10240 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10242 * autorevert.el (auto-revert-notify-handler): Use memq.
10243 Hide assertion failure.
10245 * skeleton.el: Use cl-lib.
10246 (skeleton-further-elements): Use defvar-local.
10247 (skeleton-insert): Use cl-progv.
10249 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10251 * progmodes/prog-mode.el (prog-prettify-symbols)
10252 (prog-prettify-install): Update docstrings.
10254 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * simple.el: Move all the prog-mode code to prog-mode.el.
10257 * progmodes/prog-mode.el: New file.
10258 * loadup.el: Add prog-mode.el.
10260 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10262 * simple.el (prog-prettify-symbols): Add version.
10263 (prog-prettify-install): Add convenience function to prettify symbols.
10265 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10266 (perl--augmented-font-lock-keywords-1)
10267 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10268 variables and use it.
10270 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10271 (cfengine3-mode): Remove unneeded variable and use it.
10273 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10274 (lisp--augmented-font-lock-keywords-1)
10275 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10276 Remove unneeded variables and use it.
10278 2013-06-05 João Távora <joaotavora@gmail.com>
10280 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10281 to point when opening the connection. (Bug#14380)
10283 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10285 * subr.el (load-history-regexp, load-history-filename-element)
10286 (eval-after-load, after-load-functions, do-after-load-evaluation)
10287 (eval-next-after-load, display-delayed-warnings)
10288 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10289 definition of save-match-data.
10290 (overriding-local-map): Remove accidental obsolescence declaration.
10292 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10294 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10296 Generalize symbol prettify support to prog-mode and implement it
10297 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10298 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10299 (prog--prettify-font-lock-compose-symbol)
10300 (prog-prettify-font-lock-symbols-keywords): New variables and
10301 functions to support symbol prettification.
10302 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10303 (lisp--augmented-font-lock-keywords-1)
10304 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10305 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10306 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10307 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10308 Implement prettify of -> => :: strings.
10309 * progmodes/perl-mode.el (perl-prettify-symbols)
10310 (perl--font-lock-compose-symbol)
10311 (perl--font-lock-symbols-keywords): Move to prog-mode.
10312 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10313 (perl-font-lock-keywords-1)
10314 (perl-font-lock-keywords-2): Remove explicit prettify support.
10315 (perl--augmented-font-lock-keywords)
10316 (perl--augmented-font-lock-keywords-1)
10317 (perl--augmented-font-lock-keywords-2, perl-mode):
10318 Implement prettify support.
10320 2013-06-05 Leo Liu <sdl.web@gmail.com>
10322 Re-implement smie matching block highlight using
10323 show-paren-data-function. (Bug#14395)
10324 * emacs-lisp/smie.el (smie-matching-block-highlight)
10325 (smie--highlight-matching-block-overlay)
10326 (smie--highlight-matching-block-lastpos)
10327 (smie-highlight-matching-block)
10328 (smie-highlight-matching-block-mode): Remove.
10329 (smie--matching-block-data-cache): New variable.
10330 (smie--matching-block-data): New function.
10331 (smie-setup): Use smie--matching-block-data for
10332 show-paren-data-function.
10334 * progmodes/octave.el (octave-mode-menu): Fix.
10335 (octave-find-definition): Skip garbage lines.
10337 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10339 Fix compilation error with simultaneous dynamic+lexical scoping.
10340 Add warning when a defvar appears after the first let-binding.
10341 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10342 (byte-compile-close-variables): Initialize it.
10343 (byte-compile--declare-var): New function.
10344 (byte-compile-file-form-defvar)
10345 (byte-compile-file-form-define-abbrev-table)
10346 (byte-compile-file-form-custom-declare-variable): Use it.
10347 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10348 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10349 (byte-compile-bind): Handle dynamic bindings that shadow
10351 (byte-compile-unbind): Make arg non-optional.
10352 (byte-compile-let): Simplify.
10353 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10354 (cconv--analyse-function, cconv-analyse-form): Populate it.
10355 Protect byte-compile-bound-variables to limit the scope of defvars.
10356 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10357 Remove unneeded rule for `declare'.
10359 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10360 so as to avoid depending on cl-adjoin at run-time.
10361 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10363 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10364 (macroexp--warn-and-return): Use it.
10366 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10368 * subr.el: Convert to lexical binding.
10369 (overriding-local-map): Make obsolete.
10370 (add-to-list): Doc fix. Add compiler macro.
10371 (read-key): Swap values of local maps.
10373 2013-06-05 Leo Liu <sdl.web@gmail.com>
10375 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10377 2013-06-04 Leo Liu <sdl.web@gmail.com>
10379 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10380 (compilation-auto-jump): Suppress the "Mark set" message to give
10381 way to exit message.
10383 2013-06-04 Alan Mackenzie <acm@muc.de>
10385 Remove faulty optimisation from indentation calculation.
10386 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10387 search limit based on 2000 characters back from indent-point.
10389 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10391 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10393 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10395 * emacs-lisp/lisp.el: Use lexical-binding.
10396 (lisp--local-variables-1, lisp--local-variables): New functions.
10397 (lisp--local-variables-completion-table): New var.
10398 (lisp-completion-at-point): Use it complete let-bound vars.
10400 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10401 eagerly (bug#14422).
10403 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10405 * autorevert.el (auto-revert-notify-enabled)
10406 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10407 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10408 (auto-revert-notify-handler): Handle also gfilenotify.
10410 * subr.el (file-notify-handle-event): New defun. Replacing ...
10411 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10414 2013-06-03 Juri Linkov <juri@jurta.org>
10416 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10417 `M-s h .'. (Bug#14427)
10419 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10420 command `hi-lock-face-symbol-at-point'.
10421 (hi-lock-face-symbol-at-point): New command.
10422 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10423 (hi-lock-menu): Add `highlight-symbol-at-point'.
10424 (hi-lock-mode): Doc fix.
10426 * isearch.el (isearch-forward-symbol-at-point): New command.
10427 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10428 (isearch-highlight-regexp): Add a regexp which matches
10429 words/symbols for word/symbol mode.
10431 * subr.el (find-tag-default-bounds): New function with the body
10432 mostly moved from `find-tag-default'.
10433 (find-tag-default): Move most code to `find-tag-default-bounds',
10434 call it and apply `buffer-substring-no-properties' afterwards.
10436 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10438 * eshell/em-term.el (eshell-term-initialize):
10439 Use `cl-intersection' rather than `intersection'.
10441 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10443 * vc/log-view.el: Doc fix.
10444 (log-view-mode-map): Copy keymap from `special-mode-map'.
10446 2013-06-02 Eric Ludlam <zappo@gnu.org>
10448 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10449 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10450 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10451 (eieio-unbound, eieio-default-superclass)
10452 (eieio--define-field-accessors, method-static, method-before)
10453 (method-primary, method-after, method-num-lists)
10454 (method-generic-before, method-generic-primary)
10455 (method-generic-after, method-num-slots)
10456 (eieio-specialized-key-to-generic-key)
10457 (eieio--check-type, class-v, class-p)
10458 (eieio-class-name, define-obsolete-function-alias)
10459 (eieio-class-parents-fast, eieio-class-children-fast)
10460 (same-class-fast-p, class-constructor, generic-p)
10461 (generic-primary-only-p, generic-primary-only-one-p)
10462 (class-option-assoc, class-option, eieio-object-p)
10463 (class-abstract-p, class-method-invocation-order)
10464 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10465 (eieio-class-un-autoload, eieio-defclass)
10466 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10467 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10468 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10469 (eieio-defgeneric-reset-generic-form)
10470 (eieio-defgeneric-form-primary-only)
10471 (eieio-defgeneric-reset-generic-form-primary-only)
10472 (eieio-defgeneric-form-primary-only-one)
10473 (eieio-defgeneric-reset-generic-form-primary-only-one)
10474 (eieio-unbind-method-implementations)
10475 (eieio--defmethod, eieio--typep)
10476 (eieio-perform-slot-validation, eieio-validate-slot-value)
10477 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10478 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10479 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10480 (eieio-slot-name-index, eieio-class-slot-name-index)
10481 (eieio-set-defaults, eieio-initarg-to-attribute)
10482 (eieio-attribute-to-initarg, eieio-c3-candidate)
10483 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10484 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10485 (eieio-class-precedence-list, eieio-generic-call-methodname)
10486 (eieio-generic-call-arglst, eieio-generic-call-key)
10487 (eieio-generic-call-next-method-list)
10488 (eieio-pre-method-execution-functions, eieio-generic-call)
10489 (eieio-generic-call-primary-only, eieiomt-method-list)
10490 (eieiomt-optimizing-obarray, eieiomt-install)
10491 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10492 (eieio-generic-form, eieio-defmethod, make-obsolete)
10493 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10494 (defclass): Remove `eval-and-compile' from macro.
10495 (call-next-method, shared-initialize): Instead of using
10496 `scoped-class' variable, use new eieio--scoped-class, and
10497 eieio--with-scoped-class.
10498 (initialize-instance): Rename local variable 'scoped-class' to
10499 'this-class' to remove ambiguitity from old global.
10501 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10503 (eieio--scoped-class-stack): New variable.
10504 (eieio--scoped-class): New fcn.
10505 (eieio--with-scoped-class): New scoping macro.
10506 (eieio-defclass): Use pushnew instead of add-to-list.
10507 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10508 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10509 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10510 `scoped-class' variable, use new eieio--scoped-class, and
10511 eieio--with-scoped-class.
10513 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10515 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10517 * eshell/esh-ext.el (eshell-external-command): Pass args to
10518 `eshell-find-interpreter'.
10519 (eshell-find-interpreter): Add new second parameter ARGS.
10521 * eshell/em-script.el (eshell-script-initialize): Add second arg
10522 to the function added as MATCH to `eshell-interpreter-alist'.
10524 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10525 the function added as MATCH to `eshell-interpreter-alist'.
10527 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10528 (eshell-visual-options): New defcustom.
10529 (eshell-escape-control-x): Adapt docstring.
10530 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10531 `eshell-visual-options' in addition to `eshell-visual-commands'.
10532 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10534 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10536 * progmodes/python.el (python-indent-block-enders): Add break,
10537 continue and raise keywords.
10539 2013-06-01 Glenn Morris <rgm@gnu.org>
10541 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10543 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10544 * progmodes/cc-cmds.el (delete-forward-p):
10545 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10546 * progmodes/cc-engine.el (buffer-syntactic-context):
10547 * progmodes/cc-fonts.el (face-property-instance):
10548 * progmodes/cc-mode.el (set-keymap-parents):
10549 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10550 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10551 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10552 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10553 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10555 * progmodes/cc-vars.el (other): Emacs has this widget since
10556 at least 21.1, so don't (re)define it.
10558 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10559 Replace the obsolete alias pcomplete-arg-quote-list.
10561 2013-06-01 Leo Liu <sdl.web@gmail.com>
10563 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10564 punctuation syntax.
10565 (inferior-octave-minimal-columns)
10566 (inferior-octave-last-column-width): New variables.
10567 (inferior-octave-track-window-width-change): New function.
10568 (inferior-octave-mode): Adjust column width so that Octave output,
10569 for example from 'ls', can fit into the window nicely.
10571 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10573 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10574 Highlight expansions inside regexp literals.
10576 2013-05-31 Glenn Morris <rgm@gnu.org>
10578 * obsolete/sym-comp.el (symbol-complete):
10579 Replace obsolete completion-annotate-function.
10581 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10583 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10585 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10586 New function, checks if point is inside a literal that allows
10587 expression expansion.
10588 (ruby-syntax-propertize-expansion): Use it.
10589 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10592 2013-05-30 Juri Linkov <juri@jurta.org>
10594 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10596 (isearch-invisible): New variable.
10597 (isearch-forward): Doc fix.
10598 (isearch-mode): Set `isearch-invisible'
10599 to the value of `search-invisible'.
10600 (isearch-toggle-case-fold): Doc fix.
10601 (isearch-toggle-invisible): New command.
10602 (isearch-query-replace): Let-bind `search-invisible'
10603 to the value of `isearch-invisible'.
10604 (isearch-search): Use `isearch-invisible' instead of
10605 `search-invisible'. Let-bind `search-invisible'
10606 to the value of `isearch-invisible'. (Bug#11378)
10608 2013-05-30 Juri Linkov <juri@jurta.org>
10610 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10611 call when `query-flag' is nil and `search-invisible' is non-nil.
10614 2013-05-30 Glenn Morris <rgm@gnu.org>
10616 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10618 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10619 (cc-require): Suppress spurious "noruntime" warnings.
10620 (cc-require-when-compile): Use fboundp, for sake of compiler.
10622 * progmodes/cc-mode.el: Move load of cc-vars before that of
10623 cc-langs (which in turn loads cc-vars), to quieten compiler.
10625 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10627 * paren.el: Simplify the code.
10628 (show-paren-mode): Always start the timer.
10629 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10630 (show-paren--overlay, show-paren--overlay-1): Rename from
10631 show-paren-overlay and show-paren-overlay-1, and initialize to an
10632 overlay rather than to nil.
10633 (show-paren-function): Misc cleanup and simplifications.
10635 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10637 * paren.el (show-paren-data-function): New hook.
10638 (show-paren--default): New function, extracted from show-paren-function.
10639 (show-paren-function): Use show-paren-data-function.
10641 2013-05-30 Glenn Morris <rgm@gnu.org>
10643 * ielm.el (ielm-map, ielm-complete-symbol):
10644 Use completion-at-point rather than obsolete functions.
10645 (inferior-emacs-lisp-mode): Doc fix.
10646 Set completion-at-point-functions, rather than
10647 comint-dynamic-complete-functions.
10649 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10650 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10651 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10653 * image.el (image-animated-p): Tweak definition.
10655 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10656 (rlogin-process-connection-type): Tweak default. Add set-after.
10657 (rlogin-host): Doc fix.
10658 (rlogin): Tweak prompt.
10659 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10661 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10662 * progmodes/tcl.el (inferior-tcl-mode-map):
10663 Use completion-at-point rather than obsolete alias.
10665 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10667 * minibuffer.el (read-file-name-completion-ignore-case):
10668 Move before completion--in-region, for eager macro expansion.
10670 2013-05-29 Juri Linkov <juri@jurta.org>
10672 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10673 for total count of matching lines. Add `global-matches' for total
10674 count of matches. Rename `matches' to `lines' for count of
10675 matching lines. Add `matches' for count of matches.
10676 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10677 to `prev-line' for line number of prev match endpt.
10678 Increment `matches' for every match. Print the number of
10679 matching lines in the header.
10680 (occur-context-lines): Rename `lines' to `curr-line'.
10681 Rename `prev-lines' to `prev-line'. (Bug#14017)
10683 2013-05-29 Juri Linkov <juri@jurta.org>
10685 * replace.el (perform-replace): Add `skip-read-only-count',
10686 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10687 Increment them for corresponding conditions and report the number
10688 of skipped occurrences in the final message. (Bug#11746)
10689 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10690 (replace-string, replace-regexp): Doc fix.
10692 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10694 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10696 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10697 prog-mode-map (bug#14504).
10699 2013-05-29 Leo Liu <sdl.web@gmail.com>
10701 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10702 (octave-help): Small simplification.
10704 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10705 off the highlight first.
10707 2013-05-29 Glenn Morris <rgm@gnu.org>
10709 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10710 Handle idlwave-last-system-routine-info-cons-cell being nil.
10712 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10713 (idlwave-write-paths): Simplify via with-temp-buffer.
10715 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10716 * emulation/cua-rect.el: Also load cua-base at run time.
10718 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10719 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10720 (cperl-imenu-on-info): Require imenu.
10722 2013-05-28 Alan Mackenzie <acm@muc.de>
10724 Handle "capitalised keywords" correctly.
10725 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10727 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10729 * eshell/em-unix.el: Add -r option to cp.
10731 2013-05-28 Glenn Morris <rgm@gnu.org>
10733 * vc/vc-arch.el (vc-exec-after): Declare.
10734 (vc-switches): Autoload.
10735 * vc/vc-bzr.el: No need to require vc when compiling.
10736 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10737 (vc-resynch-buffer, vc-dir-refresh): Declare.
10738 (vc-setup-buffer, vc-switches): Autoload.
10739 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10740 (vc-resynch-buffer): Declare.
10741 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10742 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10743 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10744 (grep-read-regexp, grep-read-files, grep-expand-template)
10745 (vc-dir-refresh): Declare.
10746 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10747 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10748 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10749 * vc/vc-mtn.el (vc-exec-after): Declare.
10750 (vc-switches): Autoload.
10751 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10752 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10753 (vc-file-tree-walk): Declare.
10754 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10755 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10756 (vc-tag-precondition, vc-rename-master): Autoload.
10757 * vc/vc-svn.el (vc-exec-after): Declare.
10758 (vc-switches, vc-setup-buffer): Autoload.
10759 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10761 (vc-resynch-buffer): Declare.
10763 * obsolete/fast-lock.el (byte-compile-warnings):
10764 Don't warn about obsolete features in this obsolete file.
10766 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10767 Move definition before use.
10769 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10770 (dun-unix-verbs): Remove dun-zippy.
10771 (dun-zippy): Remove function.
10773 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10775 2013-05-27 Juri Linkov <juri@jurta.org>
10777 * replace.el (replace-search): New function with code moved out
10778 from `perform-replace'.
10779 (replace-highlight, replace-dehighlight): Move function definitions
10780 up closer to `replace-search'. (Bug#11746)
10782 2013-05-27 Juri Linkov <juri@jurta.org>
10784 * replace.el (perform-replace): Ignore invisible matches.
10785 In addition to checking `query-replace-skip-read-only', also
10786 filter out matches by calling `run-hook-with-args-until-failure'
10787 on `isearch-filter-predicates', and also check `search-invisible'
10788 for t or call `isearch-range-invisible'.
10789 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10791 2013-05-27 Juri Linkov <juri@jurta.org>
10793 * isearch.el (isearch-filter-predicates): Rename from
10794 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10795 (isearch-message-prefix): Display text from the property
10796 `isearch-message-prefix' of the currently active filters.
10797 (isearch-search): Don't compare `isearch-filter-predicate' with
10798 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10799 on `isearch-filter-predicates'. Also check `search-invisible' for t
10800 or call `isearch-range-invisible'.
10801 (isearch-filter-visible): Make obsolete.
10802 (isearch-lazy-highlight-search):
10803 Call `run-hook-with-args-until-failure' on
10804 `isearch-filter-predicates' and use `isearch-range-invisible'.
10806 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10807 `isearch-filter-predicates' instead of `funcall'ing
10808 `isearch-filter-predicate'.
10809 (Info-mode): Set `Info-isearch-filter' to
10810 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10812 * dired-aux.el (dired-isearch-filter-predicate-orig):
10814 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10815 (dired-isearch-filenames-end): Add and remove
10816 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10817 instead of changing the value of `isearch-filter-predicate'.
10818 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10819 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10820 Put property `isearch-message-prefix' to "filename " on
10821 `dired-isearch-filter-filenames'.
10823 * wdired.el (wdired-change-to-wdired-mode):
10824 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10825 locally instead of changing `isearch-filter-predicate'.
10826 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10828 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10830 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10831 return the commit hash (Bug#14459). Also set the
10832 `vc-git-detached' property.
10833 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10834 (vc-git-mode-line-string): Use the same help-echo format whether
10835 in detached mode or not, because we know the actual revision now.
10836 When in detached mode, shorten the revision to 7 chars.
10838 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10840 * emacs-lisp/easy-mmode.el (define-minor-mode):
10841 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10842 mode hook and provide a docstring.
10844 2013-05-27 Alan Mackenzie <acm@muc.de>
10846 Remove spurious syntax-table text properties inserted by C-y.
10847 * progmodes/cc-mode.el (c-after-change): Also clear hard
10848 syntax-table property with value nil.
10850 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10852 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10853 when reading the events; the buffer layout shall not be changed.
10855 2013-05-27 Leo Liu <sdl.web@gmail.com>
10857 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10859 (inferior-octave-directory-tracker): Automatically re-sync
10861 (octave-help): Improve handling of 'See also'.
10863 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10865 * doc-view.el: Minor naming convention tweaks.
10866 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10868 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10869 even if there's no `display' property yet (bug#14435).
10871 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10873 * subr.el (unmsys--file-name): Rename from reveal-filename.
10875 * Makefile.in (custom-deps, finder-data, autoloads)
10876 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10877 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10878 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10880 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10882 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10883 error-completion on the first 2 args of condition-case (bug#14446).
10886 2013-05-25 Leo Liu <sdl.web@gmail.com>
10888 * comint.el (comint-previous-matching-input): Do not flood the
10889 *Messages* buffer with trivial messages.
10891 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10893 * progmodes/flymake.el (flymake-nop): Don't return a string.
10894 (flymake-set-at): Fix typo.
10896 * simple.el (read--expression): New function, extracted from
10897 eval-expression. Set completion-at-point-functions (bug#14465).
10898 (eval-expression, eval-minibuffer): Use it.
10900 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10902 * progmodes/flymake.el (flymake-save-buffer-in-file)
10903 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10904 (flymake-selected-frame, flymake-log, flymake-ins-after)
10905 (flymake-set-at, flymake-get-buildfile-from-cache)
10906 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10907 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10908 Refine the doc string.
10909 (flymake-get-file-name-mode-and-masks): Reformat.
10910 (flymake-get-real-file-name-function): Fix a minor bug.
10912 2013-05-24 Juri Linkov <juri@jurta.org>
10914 * progmodes/grep.el (grep-mode-font-lock-keywords):
10915 Support =linenumber= format used by git-grep for lines with
10916 function names. (Bug#13549)
10918 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10920 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10921 0 after a semi-colon; it works better for smie-auto-fill.
10922 (octave--indent-new-comment-line): New function.
10923 (octave-indent-new-comment-line): Use it (indirectly).
10924 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10925 modify comment-line-break-function.
10927 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10928 (smie-setup): Use add-function to set it.
10930 2013-05-24 Sam Steingold <sds@gnu.org>
10932 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10933 argument (before the `interactive' argument).
10935 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * image-mode.el (image-mode-winprops): Add winprops to
10938 image-mode-winprops-alist before running
10939 image-mode-new-window-functions.
10940 * doc-view.el (doc-view-new-window-function): Don't delay
10941 doc-view-goto-page via timers (bug#14435).
10943 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10945 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10946 (doc-view-desktop-save-buffer): New function.
10947 (doc-view-restore-desktop-buffer): New function.
10948 (desktop-buffer-mode-handlers):
10949 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10951 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10952 `desktop-save-buffer' function.
10954 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10956 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10957 (tramp-gvfs-file-name-handler): Raise a user error when
10958 `tramp-gvfs-enabled' is nil.
10959 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10960 Do not raise a user error when loading package. (Bug#14447)
10962 * net/xesam.el: Move to obsolete/.
10964 2013-05-24 Glenn Morris <rgm@gnu.org>
10966 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10968 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10970 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10971 (Info-find-node, Man-getpage-in-background): Declare.
10973 * mail/unrmail.el (unrmail):
10974 Replace obsolete detect-coding-with-priority.
10976 * net/socks.el (socks-split-string): Use this rather than split-string.
10977 (socks-nslookup-host): Update for above change.
10978 (dynamic-choice, s5-dynamic-choice-match)
10979 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10980 Comment out unused code.
10982 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10983 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10984 (gud-tooltip-echo-area): Make obsolete.
10985 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10987 * progmodes/js.el (js--optimize-arglist): Declare.
10989 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10991 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10992 (ediff-window-C): Declare.
10994 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10995 Tweak requires to silence compiler.
10997 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10998 (he-search-string, he-tried-table, he-expand-list)
10999 (he-init-string, he-string-member, he-substitute-string)
11000 (he-reset-string): Declare.
11002 * obsolete/options.el (list-options): Use custom-variable-p,
11003 rather than obsolete alias.
11005 2013-05-23 Sam Steingold <sds@gnu.org>
11007 * simple.el (shell-command-on-region): Pass the `replace' argument
11008 down to `call-process-region' to comply with the doc as reported on
11009 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11011 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11013 * emacs-lisp/smie.el (smie-indent-forward-token)
11014 (smie-indent-backward-token): Handle string tokens (bug#14381).
11016 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11018 * ielm.el (ielm-menu): New menu.
11019 (inferior-emacs-lisp-mode): Set comment-start.
11021 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11023 * textmodes/reftex.el (reftex-ref-style-toggle):
11024 Fix deactivate action.
11026 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11027 Add cleveref macros.
11029 * textmodes/reftex-parse.el
11030 (reftex-locate-bibliography-files): Accept options for
11031 bibliography commands.
11032 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11033 Add addbibresource. Basic Biblatex support.
11035 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11037 * net/tramp-gvfs.el (top):
11038 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11039 when loading package. (Bug#14447)
11041 2013-05-23 Glenn Morris <rgm@gnu.org>
11043 * progmodes/js.el: No need to load comint when compiling.
11044 (ring-insert, comint-send-string, comint-send-input)
11045 (comint-last-input-end, ido-chop): Declare.
11047 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11048 * vc/ediff-mult.el: Adjust requires.
11049 (ediff-directories-internal, ediff-directory-revisions-internal)
11050 (ediff-patch-file-internal): Declare.
11051 * vc/ediff-ptch.el: Adjust requires.
11052 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11053 (ediff-find-file): Autoload.
11054 * vc/ediff-util.el: No need to load ediff when compiling.
11055 (ediff-regions-internal): Declare.
11056 * vc/ediff-wind.el: Adjust requires.
11057 (ediff-compute-toolbar-width): Define when compiling.
11058 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11059 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11060 (dired-get-filename, dired-get-marked-files)
11061 (ediff-last-dir-patch, ediff-patch-default-directory)
11062 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11063 (ediff-patch-buffer-internal): Declare.
11065 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11066 (ispell-process, ispell-buffer-local-words, lm-summary)
11067 (lm-section-start, lm-section-end): Declare.
11068 (checkdoc-ispell-init): Simplify.
11070 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11071 (he-string-member, he-reset-string, he-substitute-string): Declare.
11073 * eshell/em-ls.el: Adjust requires.
11074 (eshell-glob-regexp): Declare.
11075 * eshell/em-tramp.el: Adjust requires.
11076 (eshell-parse-command): Autoload.
11077 * eshell/em-xtra.el: Adjust requires.
11078 (eshell-parse-command): Autoload.
11079 * eshell/esh-ext.el: Adjust requires.
11080 (eshell-parse-command, eshell-close-handles): Autoload.
11081 * eshell/esh-io.el: Adjust requires.
11082 (eshell-output-filter): Autoload.
11083 * eshell/esh-util.el: No need to load tramp when compiling.
11084 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11086 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11087 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11088 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11089 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11090 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11091 * eshell/esh-opt.el, eshell/esh-proc.el:
11092 * eshell/esh-var.el: Adjust requires.
11093 * eshell/eshell.el: Do not require esh-util twice.
11094 (eshell-add-input-to-history): Declare.
11095 (eshell-command): Check history module is active before using it.
11097 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11099 2013-05-22 Leo Liu <sdl.web@gmail.com>
11101 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11103 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11105 * autorevert.el (auto-revert-notify-add-watch)
11106 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11107 it indicates changes in file modification time.
11109 2013-05-22 Glenn Morris <rgm@gnu.org>
11111 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11112 Always delete the autoloaded function from the noruntime and
11113 unresolved functions lists.
11115 * allout.el: No need to load epa, epg, overlay when compiling.
11116 (epg-context-set-passphrase-callback, epg-list-keys)
11117 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11118 (epg-key-user-id-list): Declare.
11120 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11121 (viper-set-parsing-style-toggling-macro)
11122 (viper-set-emacs-state-searchstyle-macros):
11123 Use called-interactively-p on Emacs.
11124 (viper-looking-back): Make it an obsolete alias. Update callers.
11125 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11126 Use looking-back rather than viper-looking-back.
11127 (viper-tmp-insert-at-eob, viper-enlarge-region)
11128 (viper-read-string-with-history, viper-register-to-point)
11129 (viper-append-to-register, viper-change-state-to-vi)
11130 (viper-backward-char-carefully, viper-forward-char-carefully)
11131 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11132 (viper-change-state-to-emacs): Declare.
11133 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11134 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11135 * emulation/viper-mous.el: Do not load viper-cmd.
11136 (viper-backward-char-carefully, viper-forward-char-carefully)
11137 (viper-forward-word, viper-adjust-window): Declare.
11139 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11141 * progmodes/idlw-help.el (idlwave-help-fontify):
11142 Use called-interactively-p.
11144 * term/w32console.el (w32-get-console-codepage)
11145 (w32-get-console-output-codepage): Declare.
11147 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11148 Remove unnecessary declarations.
11149 (dframe-message): Doc fix.
11151 * info.el (dframe-select-attached-frame, dframe-current-frame):
11154 * speedbar.el (speedbar-message): Make it an obsolete alias.
11155 Update all callers.
11156 (speedbar-with-attached-buffer)
11157 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11158 (speedbar-with-writable): Use backquote.
11159 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11160 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11161 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11162 rather than speedbar- aliases.
11163 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11164 (speedbar-make-specialized-keymap, speedbar-insert-button)
11165 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11166 (speedbar-do-function-pointer): Declare.
11167 (rmail-speedbar-button, rmail-speedbar-find-file)
11168 (rmail-speedbar-move-message):
11169 Use dframe-with-attached-buffer rather than speedbar- alias.
11170 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11171 (dframe-message, speedbar-make-specialized-keymap)
11172 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11173 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11174 (speedbar-insert-button, dframe-select-attached-frame)
11175 (dframe-maybee-jump-to-attached-frame)
11176 (speedbar-change-initial-expansion-list)
11177 (speedbar-previously-used-expansion-list-name): Declare.
11178 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11179 Use dframe-message, dframe-with-attached-buffer rather than
11181 (gud-sentinel): Silence compiler.
11182 * progmodes/vhdl-mode.el (speedbar-refresh)
11183 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11184 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11185 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11186 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11187 (speedbar-file-lists, speedbar-make-tag-line)
11188 (speedbar-line-directory, speedbar-goto-this-file)
11189 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11190 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11191 (speedbar-make-button, speedbar-reset-scanners)
11192 (speedbar-files-item-info, speedbar-line-text)
11193 (speedbar-find-file-in-frame, speedbar-set-timer)
11194 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11195 (speedbar-with-writable): Do not (re)define it.
11196 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11197 rather than speedbar- alias.
11199 2013-05-21 Leo Liu <sdl.web@gmail.com>
11201 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11203 (octave-mode): Tweak fill-nobreak-predicate.
11204 (inferior-octave-startup): Check process to avoid infinite loop.
11205 (inferior-octave): Pop to buffer first to show abornmal process
11208 2013-05-21 Glenn Morris <rgm@gnu.org>
11210 * printing.el (pr-menu-bar): Define when compiling.
11212 2013-05-21 Leo Liu <sdl.web@gmail.com>
11214 * progmodes/octave.el (octave-auto-fill): Remove.
11215 (octave-indent-new-comment-line): Improve.
11216 (octave-mode): Use auto fill mode through
11217 comment-line-break-function and fill-nobreak-predicate.
11218 (octave-goto-function-definition): Support DEFUN_DLD.
11219 (octave-beginning-of-defun): Small tweak.
11220 (octave-help): Show parent directory.
11222 2013-05-21 Glenn Morris <rgm@gnu.org>
11224 * files.el (dired-unmark):
11225 * progmodes/gud.el (gdb-input): Update declarations.
11227 * calculator.el (electric, ehelp): No need to load when compiling.
11228 (Electric-command-loop, electric-describe-mode): Declare.
11230 * doc-view.el (doc-view-current-converter-processes): Move before use.
11232 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11233 Move MODE-set-explicitly definition before use.
11235 * international/mule-diag.el (mule-diag):
11236 Don't use obsolete window-system-version.
11238 * mail/feedmail.el (smtpmail): No need to load when compiling.
11239 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11241 * mail/mail-utils.el (rfc822): No need to load when compiling.
11242 (rfc822-addresses): Autoload it.
11243 (mail-strip-quoted-names): Trivial simplification.
11245 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11246 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11248 * net/snmp-mode.el (tempo): Don't duplicate requires.
11250 * progmodes/prolog.el (info): No need to load when compiling.
11251 (comint): Require before shell requires it.
11252 (Info-goto-node): Autoload it.
11253 (Info-follow-nearest-node): Declare.
11254 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11256 * textmodes/artist.el (picture-mode-exit): Declare.
11258 * textmodes/reftex-parse.el (reftex-parse-from-file):
11259 Trivial rewrite so the compiler can parse it better.
11261 2013-05-20 Leo Liu <sdl.web@gmail.com>
11263 * progmodes/octave.el (octave-help-mode-map)
11264 (octave-help-mode-finish-hook): New variables.
11265 (octave-help-mode, octave-help-mode-finish): New functions.
11266 (octave-help): Use octave-help-mode.
11268 2013-05-20 Glenn Morris <rgm@gnu.org>
11270 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11272 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11274 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11275 start at point, so that expansion starting right after opening
11276 slash in a regexp is recognized.
11277 (ruby-syntax-before-regexp-re): New defvar, extracted from
11278 ruby-syntax-propertize-function. Since the value of this regexp
11279 is looked up at runtime now, we should be able to turn
11280 `ruby-syntax-methods-before-regexp' into a defcustom later.
11281 (ruby-syntax-propertize-function): Split regexp matching into two
11282 parts, for opening and closing slashes. That allows us to skip
11283 over string interpolations and support multiline regexps.
11284 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11285 for them, which calls `ruby-syntax-propertize-expansion'.
11286 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11287 call to `ruby-syntax-propertize-function'.
11288 (ruby-syntax-propertize-expansion): Extracted from
11289 `ruby-syntax-propertize-expansions'. Handles one expansion.
11290 (ruby-syntax-propertize-percent-literal): Leave point right after
11291 the percent symbol, so that the expression expansion rule can
11292 propertize the contents.
11293 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11295 (ruby-syntax-propertize-expansions): Remove.
11297 2013-05-18 Juri Linkov <juri@jurta.org>
11299 * man.el (Man-default-man-entry): Remove `-' from the end
11300 of the default value. (Bug#14400)
11302 2013-05-18 Glenn Morris <rgm@gnu.org>
11304 * comint.el (comint-password-prompt-regexp):
11305 Allow "password for XXX" where XXX contains colons (eg https://...).
11307 2013-05-18 Leo Liu <sdl.web@gmail.com>
11309 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11310 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11311 (octave-source-directories): Don't check process.
11312 (octave-source-directories, octave-find-definition): Doc fix.
11314 2013-05-18 Glenn Morris <rgm@gnu.org>
11316 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11317 Remove backspace/delete bindings. (Bug#14392)
11319 * cus-dep.el (custom-make-dependencies): Sort the output.
11320 (custom-versions-load-alist): Convert comment to doc.
11322 2013-05-17 Leo Liu <sdl.web@gmail.com>
11324 * newcomment.el (comment-search-backward): Stricter in finding
11325 comment start. (Bug#14303)
11327 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11328 (octave-comment-start-skip): Properly anchored.
11330 2013-05-17 Leo Liu <sdl.web@gmail.com>
11332 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11333 Clean up when turned off. (Bug#14395)
11334 (smie--highlight-matching-block-overlay): No longer buffer-local.
11335 (smie-highlight-matching-block): Adjust.
11337 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11339 Doc string fix for "nanoseconds" (Bug#14406).
11340 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11341 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11343 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11345 * calc/calc-units.el (math-extract-units): Preserve powers
11348 2013-05-17 Leo Liu <sdl.web@gmail.com>
11350 * subr.el (delete-consecutive-dups): New function.
11351 * ido.el (ido-set-matches-1): Use it.
11352 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11353 * ido.el (ido-remove-consecutive-dups): Remove.
11355 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11357 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11358 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11359 regexp-opt's `words'.
11361 2013-05-16 Leo Liu <sdl.web@gmail.com>
11363 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11364 (smie--highlight-matching-block-overlay)
11365 (smie--highlight-matching-block-lastpos)
11366 (smie--highlight-matching-block-timer): New variables.
11367 (smie-highlight-matching-block): New function.
11368 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11369 (smie-setup): Conditionally enable smie-blink-matching-open.
11371 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11373 Sync with upstream verilog-mode r840.
11374 * progmodes/verilog-mode.el (verilog-mode-version)
11375 (verilog-mode-release-date): Update.
11376 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11377 (verilog-sig-tieoff): Fix string error on
11378 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11379 (verilog-read-decls): Fix parameters confusing
11380 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11382 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11384 * subr.el (reveal-filename): New function.
11386 * loadup.el: Compute Emacs executable versions on MS-Windows,
11387 where executables have the .exe extension. Add a hard link
11388 emacs-XX.YY.ZZ.exe on MS-Windows.
11390 * Makefile.in (XARGS_LIMIT): New variable.
11391 (custom-deps, finder-data, autoloads)
11392 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11393 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11394 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11395 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11397 2013-05-16 Leo Liu <sdl.web@gmail.com>
11399 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11400 (octave-mode-menu, octave-mode-map): Remove its uses.
11402 2013-05-16 Reto Zimmermann <reto@gnu.org>
11404 Sync with upstream vhdl mode v3.34.2.
11405 * progmodes/vhdl-mode.el: Use `push' throughout.
11406 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11407 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11408 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11409 (vhdl-actual-generic-name): New option to derive actual generic name.
11410 (vhdl-port-paste-signals): Replace formal by actual generics.
11411 (vhdl-beautify): New name for old group vhdl-align. Update users.
11412 (vhdl-beautify-options): New option.
11413 (vhdl-last-input-event): New compat alias. Use throughout.
11414 (vhdl-goto-line): Replace user level function `goto-line'.
11415 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11416 vhdl-fix-statement-buffer.
11417 (vhdl-create-mode-menu): Add some entries.
11418 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11419 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11420 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11421 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11422 to force statements on one line.
11423 (vhdl-remove-trailing-spaces-region):
11424 New, split from vhdl-remove-trailing-spaces.
11425 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11426 Respect vhdl-beautify-options.
11427 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11428 (vhdl-update-sensitivity-list): Not add with index if exists without.
11429 Not include array index with signal. Ignore keywords in comments.
11430 (vhdl-get-visible-signals): Regexp tweaks.
11431 (vhdl-template-component-inst): Handle empty library.
11432 (vhdl-template-type): Add template for 'enum' type.
11433 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11434 Use vhdl-replace-string.
11435 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11436 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11437 (vhdl-speedbar-initialize): Update for above name change.
11438 (vhdl-compose-wire-components): Fix in handling of constants.
11439 (vhdl-error-regexp-emacs-alist): New variable.
11440 (vhdl-error-regexp-add-emacs): New function;
11441 adds support for new compile.el (Emacs 22+)
11442 (vhdl-generate-makefile-1): Change target order for single lib. units.
11443 Allow use of absolute file names.
11445 2013-05-16 Leo Liu <sdl.web@gmail.com>
11447 * simple.el (prog-indent-sexp): Indent enclosing defun.
11449 2013-05-15 Glenn Morris <rgm@gnu.org>
11451 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11452 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11453 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11454 (whitespace-highlight): Move to whitespace group.
11456 * comint.el (comint-source):
11457 * pcmpl-linux.el (pcmpl-linux):
11458 * shell.el (shell-faces):
11459 * eshell/esh-opt.el (eshell-opt):
11460 * international/ccl.el (ccl): Remove empty custom groups.
11462 * completion.el (dynamic-completion-mode):
11463 * jit-lock.el (jit-lock-debug-mode):
11464 * minibuffer.el (completion-in-region-mode):
11465 * type-break.el (type-break-mode-line-message-mode)
11466 (type-break-query-mode):
11467 * emulation/tpu-edt.el (tpu-edt-mode):
11468 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11469 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11470 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11472 * term/xterm.el (xterm): Change parent group to terminals.
11474 * master.el (master): Remove empty custom group.
11475 (master-mode): Remove unused :group argument.
11476 * textmodes/refill.el (refill): Remove empty custom group.
11477 (refill-mode): Remove unused :group argument.
11479 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11481 * cus-dep.el: Provide a feature.
11482 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11483 Don't mistakenly ignore files whose basenames match a basename
11484 from preloaded-file-list (eg cedet/ede/simple.el).
11485 Add a fallback method for getting :group.
11487 2013-05-15 Juri Linkov <juri@jurta.org>
11489 * isearch.el (isearch-char-by-name): Rename from
11490 `isearch-insert-char-by-name'. Doc fix.
11491 (isearch-forward): Mention `isearch-char-by-name' in
11492 the docstring. (Bug#13348)
11494 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11495 `exit-minibuffer' instead of
11496 `isearch-nonincremental-exit-minibuffer'.
11497 (isearch-edit-string): Remove mention of
11498 `isearch-nonincremental-exit-minibuffer' from docstring.
11499 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11500 (isearch-forward-exit-minibuffer)
11501 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11503 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11505 * loadup.el: Just use unversioned DOC.
11507 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11508 literals as extending to EOB.
11509 (nxml-last-fontify-end): Remove unused variable.
11510 (nxml-after-change1): Use with-silent-modifications.
11511 (nxml-extend-after-change-region): Simplify.
11512 (nxml-extend-after-change-region1): Remove function.
11513 (nxml-after-change1): Don't adjust for dependent regions.
11514 (nxml-fontify-matcher): Simplify.
11515 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11516 (xmltok-add-dependent): Remove function.
11517 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11518 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11519 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11520 unclosed <[[, <?, comment, and other literals as extending to EOB.
11521 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11522 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11524 (rng-do-some-validation-1): Don't mark dependent regions.
11525 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11526 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11527 (nxml-clear-dependent-regions): Remove functions.
11528 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11529 (nxml-ensure-scan-up-to-date):
11530 Don't clear&mark dependent regions.
11532 2013-05-15 Leo Liu <sdl.web@gmail.com>
11534 * progmodes/octave.el (octave-goto-function-definition):
11535 Improve and fix callers.
11537 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11539 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11540 the setter (bug#14387).
11542 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11543 surrounding group (bug#14402).
11545 2013-05-14 Juri Linkov <juri@jurta.org>
11547 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11550 2013-05-14 Glenn Morris <rgm@gnu.org>
11552 * progmodes/f90.el (f90-imenu-generic-expression):
11553 Fix typo in 2013-05-08 change. (Bug#14402)
11555 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11557 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11558 Remove signals for which replies are never received.
11560 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11562 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11563 (gdb-handler-alist, gdb-handler-number): Remove variables.
11564 (gdb-handler-list): New variable.
11565 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11566 (gdb-pending-handler-p, gdb-handle-reply)
11567 (gdb-remove-all-pending-triggers): New functions.
11568 (gdb-discard-unordered-replies): New defcustom.
11569 (gdb-handler): New defstruct.
11570 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11571 instead of gdb-pending-triggers. Update docstring.
11572 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11573 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11574 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11575 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11576 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11577 (gdb-frame-handler): Pending triggers are now automatically managed.
11578 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11580 (gdb-input): Automatically handles pending triggers. Update docstring.
11581 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11582 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11584 (gdb-done-or-error): Now use gdb-handle-reply.
11586 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11588 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11591 2013-05-14 Glenn Morris <rgm@gnu.org>
11593 * subr.el (user-emacs-directory-warning): New option.
11594 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11596 2013-05-14 Leo Liu <sdl.web@gmail.com>
11598 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11600 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11601 (octave-font-lock-texinfo-comment): Fix invalid search bound
11602 error: wrong side of point.
11604 2013-05-14 Glenn Morris <rgm@gnu.org>
11606 * progmodes/flymake.el (flymake-xml-program): New option.
11607 (flymake-xml-init): Use it.
11609 * term/xterm.el: Provide a feature.
11611 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11613 2013-05-13 Glenn Morris <rgm@gnu.org>
11615 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11616 Add compat aliases as a hack workaround. (Bug#14384)
11618 2013-05-13 Leo Liu <sdl.web@gmail.com>
11620 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11622 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11624 (octave-comment-start-skip): Include %!.
11625 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11627 2013-05-12 Leo Liu <sdl.web@gmail.com>
11629 * progmodes/octave.el (inferior-octave-startup): Store the value
11630 of __octave_srcdir__ for octave-source-directories.
11631 (inferior-octave-check-process): New function refactored out of
11632 inferior-octave-send-list-and-digest.
11633 (octave-source-directories)
11634 (octave-find-definition-filename-function): New variables.
11635 (octave-source-directories)
11636 (octave-find-definition-default-filename): New functions.
11637 (octave-find-definition): Improve to find functions implemented in C++.
11639 2013-05-12 Glenn Morris <rgm@gnu.org>
11641 * calendar/diary-lib.el (diary-outlook-format-1):
11642 Don't include dayname in the output. (Bug#14349)
11644 2013-05-11 Glenn Morris <rgm@gnu.org>
11646 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11648 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11649 Treat cc-provide like provide.
11651 2013-05-11 Kevin Ryde <user42@zip.com.au>
11653 * cus-dep.el (custom-make-dependencies):
11654 Use generated-autoload-load-name for the sake of files such
11655 such cedet/semantic/bovine/c.el, where the base file name
11656 is not in load-path. (Bug#5277)
11658 2013-05-11 Glenn Morris <rgm@gnu.org>
11660 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11663 2013-05-11 Leo Liu <sdl.web@gmail.com>
11665 * progmodes/octave.el (octave-indent-comment): Improve.
11666 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11667 (octave-eldoc-function-signatures, octave-eldoc-function):
11669 (octave-mode, inferior-octave-mode): Add eldoc support.
11671 2013-05-11 Richard Stallman <rms@gnu.org>
11673 * epa.el (epa-decrypt-file): Take output file name as argument
11674 and read it using `interactive'.
11676 2013-05-11 Leo Liu <sdl.web@gmail.com>
11678 * progmodes/octave.el (octave-beginning-of-line)
11679 (octave-end-of-line): Check before using up-list because it jumps
11680 out of more syntactic contructs since moving to smie.
11681 (octave-indent-comment): New function.
11682 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11683 (octave-begin-keywords, octave-end-keywords)
11684 (octave-reserved-words, octave-smie-bnf-table)
11685 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11687 2013-05-11 Glenn Morris <rgm@gnu.org>
11689 * faces.el (internal-face-x-get-resource):
11690 * frame.el (ns-display-monitor-attributes-list):
11691 * calc/calc-aent.el (math-to-radians-2):
11692 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11695 * calc/calc-menu.el: Make it loadable in isolation.
11697 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11698 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11699 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11700 (eudc-bbdb-query-internal): Require 'bbdb.
11702 * lpr.el (lpr-headers-switches):
11703 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11705 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11707 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11709 * term.el (term-set-escape-char): Make it idempotent.
11711 2013-05-10 Leo Liu <sdl.web@gmail.com>
11713 * progmodes/octave.el (inferior-octave-completion-table):
11714 No longer a function and all uses changed. Use cache to speed up
11715 completion due to bug#11906.
11716 (octave-beginning-of-defun): Re-write to be more general.
11718 2013-05-10 Glenn Morris <rgm@gnu.org>
11720 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11722 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11724 * comint.el (comint-redirect-send-command-to-process): Use :around
11725 rather than :override for comint-redirect-filter.
11726 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11727 Call it instead of comint-redirect-original-filter-function (which
11728 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11730 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11732 * frame.el (display-monitor-attributes-list): Add NS case.
11733 (ns-display-monitor-attributes-list): Declare.
11735 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11737 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11739 2013-05-09 Glenn Morris <rgm@gnu.org>
11741 * international/fontset.el (vertical-centering-font-regexp):
11742 Set standard-value.
11744 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11746 * bookmark.el (bookmark-search-delay):
11747 * cus-start.el (vertical-centering-font-regexp):
11748 * ps-mule.el (ps-mule-font-info-database-default):
11749 * ps-print.el (ps-default-fg, ps-default-bg):
11750 * type-break.el (type-break-good-break-interval):
11751 * whitespace.el (whitespace-indentation-regexp)
11752 (whitespace-space-after-tab-regexp):
11753 * emacs-lisp/testcover.el (testcover-1value-functions)
11754 (testcover-noreturn-functions, testcover-progn-functions)
11755 (testcover-prog1-functions):
11756 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11757 * eshell/em-glob.el (eshell-glob-translate-alist):
11758 * play/tetris.el (tetris-tty-colors):
11759 * progmodes/cpp.el (cpp-face-default-list):
11760 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11761 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11762 (idlwave-help-browser-generic-args):
11763 * progmodes/make-mode.el (makefile-special-targets-list):
11764 * progmodes/python.el (python-shell-virtualenv-path):
11765 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11766 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11767 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11768 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11769 * textmodes/reftex-vars.el (reftex-format-label-function):
11770 * textmodes/remember.el (remember-diary-file): Fix custom types.
11772 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11775 2013-05-09 Leo Liu <sdl.web@gmail.com>
11777 * progmodes/octave.el (inferior-octave-completion-at-point):
11778 Restore file completion. (Bug#14300)
11779 (inferior-octave-startup): Fix incorrect highlighting for the
11782 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11784 * progmodes/ruby-mode.el: First cut at SMIE support.
11785 (ruby-use-smie): New var.
11786 (ruby-smie-grammar): New constant.
11787 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11788 (ruby-smie--forward-token, ruby-smie--backward-token)
11789 (ruby-smie-rules): New functions.
11790 (ruby-mode-variables): Setup SMIE if applicable.
11792 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11794 * simple.el (line-move-visual): Signal beginning/end of buffer
11795 only if vertical-motion moved less than it was requested. Avoids
11796 silly incorrect error messages when there are display strings with
11797 multiple newlines at EOL.
11799 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11801 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11802 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11803 (prolog-char-quote-workaround):
11804 * progmodes/cperl-mode.el (cperl-under-as-char):
11805 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11807 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11809 (vhdl-mode-syntax-table-init): Remove.
11811 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11814 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11816 (ld-script-font-lock-keywords):
11817 Change regexps to use things like \_< and \_>.
11819 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11820 Change all regexps to use things like \_< and \_>.
11822 * progmodes/autoconf.el (autoconf-definition-regexp)
11823 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11824 Handle a _ with symbol syntax.
11825 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11827 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11828 Consolidate declaration.
11829 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11831 (ada-create-syntax-table): Remove.
11832 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11833 already has the right syntax nowadays.
11834 (ada-goto-next-word): Don't change the syntax of "_".
11836 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11839 2013-05-08 Sam Steingold <sds@gnu.org>
11841 * thingatpt.el (thing-at-point): Accept optional second argument
11842 NO-PROPERTIES to strip the text properties from the return value.
11843 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11844 to `thing-at-point' instead of stripping the properties ourselves.
11845 Also, when `thing-at-point' fails to find a url, prepend "http://"
11846 to the filename at point on the assumption that the user is
11847 pointing at something like gnu.org/gnu.
11849 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11851 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11852 * faces.el (crm-separator):
11853 Silence byte-compiler.
11855 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11856 (tool-bar-map): Remove unneeded defvars.
11858 2013-05-08 Leo Liu <sdl.web@gmail.com>
11860 Re-work a fix for bug#10994 based on Le Wang's patch.
11861 * ido.el (ido-remove-consecutive-dups): New helper.
11862 (ido-completing-read): Use it.
11863 (ido-chop): Revert fix for bug#10994.
11865 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11867 * cus-edit.el (custom-save-variables):
11868 Pretty-print long values. (Bug#14187)
11870 2013-05-08 Glenn Morris <rgm@gnu.org>
11872 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11873 (m4-mode-syntax-table): Init in the defvar.
11874 (m4-mode-abbrev-table): Let define-derived-mode define it.
11876 2013-05-08 Tom Tromey <tromey@redhat.com>
11878 * progmodes/m4-mode.el (m4-mode-syntax-table):
11879 Do not treat "_" as word constituent. (Bug#14167)
11881 2013-05-07 Glenn Morris <rgm@gnu.org>
11883 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11884 Remove explicit eshell-isearch-cancel-map.
11886 * progmodes/f90.el (f90-smart-end-names): New option.
11887 (f90-smart-end): Doc fix.
11888 (f90-end-block-optional-name): New constant.
11889 (f90-block-match): Respect f90-smart-end-names.
11891 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11893 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11894 about implicit semi-colons (bug#14218).
11896 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11898 * frame.el (display-monitor-attributes-list)
11899 (frame-monitor-attributes): New functions.
11901 2013-05-06 Leo Liu <sdl.web@gmail.com>
11903 * progmodes/octave.el (octave-syntax-propertize-function): Change
11904 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11905 (octave-font-lock-keywords): Use octave-operator-regexp.
11906 (octave-completion-at-point): Rename from
11907 octave-completion-at-point-function.
11908 (inferior-octave-directory-tracker): Robustify.
11909 (octave-text-functions): Remove and fix its uses. No such things
11912 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11914 * emacs-lisp/trace.el (trace--display-buffer): New function.
11915 (trace-make-advice): Use it.
11917 2013-05-06 Juri Linkov <juri@jurta.org>
11919 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11920 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11922 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11923 in the help string. (Bug#12985)
11925 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11927 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11929 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11931 * progmodes/perl-mode.el: Add support for here documents.
11932 (perl-syntax-propertize-function): Match here-doc markers.
11933 (perl-syntax-propertize-special-constructs): Find their end.
11934 (perl-imenu-generic-expression): Use [:alnum:].
11936 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11937 (advice--add-function): Refresh the advice if already present
11940 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11942 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11944 2013-05-06 Glenn Morris <rgm@gnu.org>
11946 * w32-fns.el (w32-charset-info-alist): Declare.
11948 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11949 of its defcustom properties.
11950 (eshell-cmpl-initialize): No need to load pcomplete.
11952 * generic-x.el: No need to require comint when compiling.
11954 * net/eudc-export.el: Make it loadable without bbdb.
11955 (top-level): Use require rather than load-library.
11956 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11957 (eudc-batch-export-records-to-bbdb)
11958 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11961 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11963 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11964 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11965 some tweaks, instead.
11967 2013-05-05 Leo Liu <sdl.web@gmail.com>
11969 * progmodes/octave.el (octave-font-lock-keywords)
11970 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11971 (inferior-octave-send-list-and-digest): Improve error message.
11972 (octave-mode, inferior-octave-mode): Use setq-local.
11973 (octave-help): Set info-lookup-mode.
11975 2013-05-05 Richard Stallman <rms@gnu.org>
11977 * vc/compare-w.el (compare-windows-whitespace):
11978 Treat no-break space as whitespace.
11980 * mail/rmailsum.el (rmail-summary-rmail-update):
11981 Detect empty summary and don't change selected message.
11982 (rmail-summary-goto-msg): Likewise.
11984 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11985 Doc fixes, rename args.
11987 2013-05-05 Alan Mackenzie <acm@muc.de>
11989 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11991 2013-05-05 Juri Linkov <juri@jurta.org>
11993 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11994 to not add the length of the summary segment to the return value.
11997 2013-05-05 Leo Liu <sdl.web@gmail.com>
11999 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12000 (inferior-octave-output-filter): Remove.
12001 (octave-send-region, inferior-octave-startup): Fix callers.
12002 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12003 (octave-binary-file-extensions): New user variable.
12004 (octave-find-definition): Confirm if opening binary files.
12005 (octave-help-file): Use octave-find-definition to get the binary
12007 (octave-help): Adjust for octave-help-file change.
12009 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12011 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12012 Merge the two entries that handle function definitions.
12013 (pascal--syntax-propertize): New const.
12014 (pascal-mode): Use it. Use setq-local.
12016 2013-05-04 Glenn Morris <rgm@gnu.org>
12018 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12019 (diary-from-outlook): Respect diary-from-outlook-function.
12021 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12023 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12024 Move the declaration from C.
12025 (read-minibuffer, eval-minibuffer): Move from C.
12026 (completion-setup-function): Avoid minibuffer-completion-contents.
12028 2013-05-03 Leo Liu <sdl.web@gmail.com>
12030 * progmodes/octave.el (octave-font-lock-keywords): Do not
12031 dehighlight 'end' in comments or strings.
12032 (octave-completing-read, octave-goto-function-definition):
12034 (octave-help-buffer): New user variable.
12035 (octave-help-file, octave-help-function): New button types.
12036 (octave-help): New command and bind it to C-h ;.
12037 (octave-find-definition): New command and bind it to M-.
12038 (user-error): Alias to error if not defined.
12040 2013-05-02 Leo Liu <sdl.web@gmail.com>
12042 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12044 (octave-font-lock-keywords): Include [ and {.
12046 2013-05-02 Leo Liu <sdl.web@gmail.com>
12048 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12049 (inferior-octave): Remove calling comint-mode and return the buffer.
12050 (inferior-octave-startup): Cosmetic changes.
12052 2013-05-02 Leo Liu <sdl.web@gmail.com>
12054 * progmodes/octave.el (octave-syntax-propertize-function):
12055 Include the case when ' is at line beginning. (Bug#14336)
12057 2013-05-02 Glenn Morris <rgm@gnu.org>
12059 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12060 * desktop.el (vc-dir-mode): Just autoload it here.
12062 2013-05-02 Alan Mackenzie <acm@muc.de>
12064 Eliminate variable c-standard-font-lock-fontify-region-function.
12065 * progmodes/cc-mode.el
12066 (c-standard-font-lock-fontify-region-function): Remove.
12067 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12069 2013-05-01 Leo Liu <sdl.web@gmail.com>
12071 * progmodes/octave.el: Compatible with older emacs-24 releases.
12072 (inferior-octave-has-built-in-variables): Remove. Built-in
12073 variables were removed from Octave in 2007.
12074 (inferior-octave-startup): Fix uses.
12075 (comint-line-beginning-position): Remove compatibility code for
12078 2013-05-01 Juri Linkov <juri@jurta.org>
12080 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12082 2013-05-01 Juri Linkov <juri@jurta.org>
12084 * comint.el (comint-previous-matching-input): Don't print message
12085 "History item: %d" when `isearch-mode' is active.
12086 (comint-history-isearch-message): Print message "History item: %d"
12087 when `comint-input-ring-index' is not empty and this function is
12088 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12090 2013-05-01 Leo Liu <sdl.web@gmail.com>
12092 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12093 definitions. Use completion-at-point to insert keywords.
12094 (octave-abbrev-start): Remove.
12095 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12097 2013-04-30 Leo Liu <sdl.web@gmail.com>
12099 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12102 2013-04-30 Alan Mackenzie <acm@muc.de>
12104 Handle arbitrarily long C++ member initialisation lists.
12105 * progmodes/cc-engine.el (c-back-over-member-initializers):
12107 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12108 (most) member init lists.
12110 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12112 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12115 2013-04-30 Leo Liu <sdl.web@gmail.com>
12117 * progmodes/octave.el (octave-variables): Remove. No builtin
12118 variables any more. All converted to functions.
12119 (octave-font-lock-keywords, octave-completion-at-point-function):
12121 (octave-font-lock-texinfo-comment): New user variable.
12122 (octave-texinfo-font-lock-keywords): New variable for texinfo
12124 (octave-function-comment-block): New face.
12125 (octave-font-lock-texinfo-comment): New function.
12126 (octave-mode): Font lock texinfo comment block.
12128 2013-04-29 Leo Liu <sdl.web@gmail.com>
12130 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12131 indexing expression.
12132 (octave-continuation-string): Do not use \.
12133 (inferior-octave-complete-impossible): Remove.
12134 (inferior-octave-completion-table)
12135 (inferior-octave-completion-at-point): Remove its uses.
12136 (inferior-octave-startup): completion_matches was introduced to
12137 Octave in 1996 so safe to assume it.
12138 (octave-function-file-comment): Improve to follow how Octave does it.
12139 (octave-update-function-file-comment): Tweak.
12141 2013-04-29 Leo Liu <sdl.web@gmail.com>
12143 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12144 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12145 (octave-function-file-comment): Fix typo.
12146 (octave-sync-function-file-names): Use read-char-choice.
12148 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12150 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12151 to t for the less important warnings.
12153 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12155 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12157 2013-04-27 Glenn Morris <rgm@gnu.org>
12159 * vc/log-view.el (log-view-current-entry):
12160 Treat "---" separator lines as part of the following rev. (Bug#14169)
12162 2013-04-27 Juri Linkov <juri@jurta.org>
12164 * subr.el (read-number): Doc fix about using it by interactive
12165 code letter `n'. (Bug#14254)
12167 2013-04-27 Juri Linkov <juri@jurta.org>
12169 * desktop.el (desktop-auto-save-timeout): New option.
12170 (desktop-file-checksum): New variable.
12171 (desktop-save): Add optional arg `auto-save' and don't auto-save
12172 if nothing changed.
12173 (desktop-auto-save-timer): New variable.
12174 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12175 (after-init-hook): Call `desktop-auto-save-set-timer'.
12176 Suggested by Reuben Thomas <rrt@sc3d.org> in
12177 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12179 2013-04-27 Leo Liu <sdl.web@gmail.com>
12181 * progmodes/octave.el (octave-function-file-p)
12182 (octave-skip-comment-forward, octave-function-file-comment)
12183 (octave-update-function-file-comment): New functions.
12184 (octave-mode-map): Bind C-c ; to
12185 octave-update-function-file-comment.
12186 (octave-mode-menu): Add octave-update-function-file-comment.
12187 (octave-mode, inferior-octave-mode): Fix doc-string.
12188 (octave-insert-defun): Conform to Octave's coding convention.
12191 * files.el (basic-save-buffer): Don't let errors in
12192 before-save-hook prevent saving buffer.
12194 2013-04-20 Roland Winkler <winkler@gnu.org>
12196 * faces.el (read-face-name): Use completing-read if arg multiple
12199 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12201 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12202 displayed, move point to after the totals line.
12203 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12206 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12208 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12209 Add current dir to the load-path.
12210 (package-generate-autoloads): Don't rely on
12211 autoload-ensure-default-file.
12213 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12215 * textmodes/remember.el (remember-store-in-files): Document that
12216 the file name format is passed to `format-time-string'.
12218 2013-04-26 Leo Liu <sdl.web@gmail.com>
12220 * progmodes/octave.el (octave-sync-function-file-names): New function.
12221 (octave-mode): Use it in before-save-hook.
12223 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12225 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12228 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12229 \n and comment, even if it's not an implicit ; (bug#14218).
12231 2013-04-26 Glenn Morris <rgm@gnu.org>
12233 * subr.el (read-number): Once more use `read' rather than
12234 `string-to-number', to trap non-numeric input. (Bug#14254)
12236 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12238 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12239 Use `syntax-multiline' text property consistently instead of
12240 `font-lock-multiline'. (Bug#14237)
12242 2013-04-26 Glenn Morris <rgm@gnu.org>
12244 * emacs-lisp/shadow.el (list-load-path-shadows):
12245 No longer necessary to check for duplicate simple.el, since
12246 2012-07-07 change to init_lread to not include installation lisp
12247 directories in load-path when running uninstalled. (Bug#14270)
12249 2013-04-26 Leo Liu <sdl.web@gmail.com>
12251 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12252 (octave-mode, inferior-octave-mode): Use setq-local.
12253 (octave-not-in-string-or-comment-p): Rename to
12254 octave-in-string-or-comment-p.
12255 (octave-in-comment-p, octave-in-string-p)
12256 (octave-in-string-or-comment-p): Replace defsubst with defun.
12258 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12260 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12262 2013-04-25 Bastien Guerry <bzg@gnu.org>
12264 * textmodes/remember.el (remember-data-directory)
12265 (remember-directory-file-name-format): Fix custom types.
12267 2013-04-25 Leo Liu <sdl.web@gmail.com>
12269 * progmodes/octave.el (octave-completion-at-point-function):
12270 Make use of inferior octave process.
12271 (octave-initialize-completions): Remove.
12272 (inferior-octave-completion-table): New function.
12273 (inferior-octave-completion-at-point): Use it.
12274 (octave-completion-alist): Remove.
12276 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12278 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12279 (opascal-mode-syntax-table): New var.
12280 (opascal-literal-kind, opascal-is-literal-end)
12281 (opascal-literal-token-at): Rewrite.
12282 (opascal--literal-start-re, opascal-font-lock-keywords)
12283 (opascal--syntax-propertize): New constants.
12284 (opascal-font-lock-defaults): Adjust.
12285 (opascal-mode): Use them. Set comment-<foo> variables as well.
12286 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12287 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12288 (delphi-other-face, opascal-other-face): Remove face variables.
12289 (opascal-save-state): Remove macro.
12290 (opascal-fontifying-progress-step): Remove constant.
12291 (opascal--ignore-changes): Remove var.
12292 (opascal-set-token-property, opascal-parse-next-literal)
12293 (opascal-is-stable-literal, opascal-complete-literal)
12294 (opascal-is-literal-start, opascal-face-of)
12295 (opascal-parse-region, opascal-parse-region-until-stable)
12296 (opascal-fontify-region, opascal-after-change)
12297 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12298 (opascal-debug-parse-region, opascal-debug-parse-window)
12299 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12300 (opascal-debug-fontify-buffer): Remove.
12301 (opascal-debug-mode-map): Adjust accordingly.
12303 2013-04-25 Leo Liu <sdl.web@gmail.com>
12305 Merge octave-mod.el and octave-inf.el into octave.el with some
12307 * progmodes/octave.el: New file renamed from octave-mod.el.
12308 * progmodes/octave-inf.el: Merged into octave.el.
12309 * progmodes/octave-mod.el: Renamed to octave.el.
12311 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12313 * textmodes/reftex-vars.el
12314 (reftex-label-ignored-macros-and-environments): New defcustom.
12316 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12318 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12320 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12321 (smie-indent-keyword): Improve the check to ensure that the next
12322 comment is really on the same line.
12323 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12325 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12326 semi-colons if the line is not otherwise empty (bug#14218).
12328 2013-04-25 Glenn Morris <rgm@gnu.org>
12330 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12332 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12334 * progmodes/opascal.el (opascal-set-token-property): Rename from
12335 opascal-set-text-properties and only set `token' (bug#14134).
12336 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12337 (opascal-literal-text-properties): Remove.
12338 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12341 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12343 * textmodes/remember.el (remember-handler-functions): Add an
12344 option for a new handler `remember-store-in-files'.
12345 (remember-data-directory, remember-directory-file-name-format):
12347 (remember-store-in-files): New function to store remember notes
12348 as separate files within a directory.
12350 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12352 * progmodes/compile.el (compilation-next-error-function):
12353 Pass "formats" to compilation-find-file (bug#11777).
12355 2013-04-24 Glenn Morris <rgm@gnu.org>
12357 * vc/vc-bzr.el (vc-bzr-print-log):
12358 * vc/vc-hg.el (vc-hg-print-log):
12359 * vc/vc-svn.el (vc-svn-print-log):
12360 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12362 * vc/vc-bzr.el (vc-bzr-print-log):
12363 * vc/vc-cvs.el (vc-cvs-print-log):
12364 * vc/vc-git.el (vc-git-print-log):
12365 * vc/vc-hg.el (vc-hg-print-log):
12366 * vc/vc-mtn.el (vc-mtn-print-log):
12367 * vc/vc-rcs.el (vc-rcs-print-log):
12368 * vc/vc-sccs.el (vc-sccs-print-log):
12369 * vc/vc-svn.el (vc-svn-print-log):
12370 * vc/vc.el (vc-print-log-internal): Doc fixes.
12372 2013-04-23 Glenn Morris <rgm@gnu.org>
12374 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12375 Remove venerable code attempting to avoid substitute-command-keys.
12377 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12379 * textmodes/reftex-vars.el (reftex-label-regexps):
12380 Call `reftex-compile-variables' after changes to this variable.
12382 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12384 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12385 Use lexical-binding.
12386 (jit-lock-force-redisplay): Use markers, check buffer's continued
12387 existence and beware narrowed buffers.
12388 (jit-lock-fontify-now): Adjust call accordingly.
12390 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12392 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12393 to avoid misleading the user.
12395 2013-04-22 Leo Liu <sdl.web@gmail.com>
12397 * info-look.el: Prefer latex2e.info. (Bug#14240)
12399 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12401 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12403 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12404 * net/tramp.el (tramp-call-process): ... here.
12405 (tramp-set-completion-function, tramp-parse-putty):
12406 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12407 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12408 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12409 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12410 (tramp-call-local-coding-command): Use `tramp-call-process'
12411 instead of `tramp-compat-call-process'.
12413 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12414 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12415 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12416 (tramp-find-inline-compress): Improve traces.
12417 (tramp-maybe-send-script): Check for Perl binary.
12418 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12420 2013-04-22 Daiki Ueno <ueno@gnu.org>
12422 * epg.el (epg-context-pinentry-mode): New function.
12423 (epg-context-set-pinentry-mode): New function.
12424 (epg--start): Pass --pinentry-mode option to gpg command.
12426 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12428 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12429 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12430 `completion-at-point'. (Bug#13774)
12432 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12433 default key binding for `describe-distribution' has been moved to
12434 `C-h C-o'. (Bug#13970)
12436 2013-04-21 Glenn Morris <rgm@gnu.org>
12438 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12440 (vc-print-log): Clarify interactive prompt.
12442 2013-04-20 Glenn Morris <rgm@gnu.org>
12444 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12445 No longer include timestamp etc information.
12447 2013-04-20 Roland Winkler <winkler@gnu.org>
12449 * faces.el (read-face-name): Bug fix, return just one face if arg
12450 multiple is nil. (Bug#14209)
12452 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12454 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12455 (remove-function): Autoload.
12457 * comint.el (comint-redirect-original-filter-function): Remove.
12458 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12459 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12460 (vc-cvs-annotate-command):
12461 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12462 * progmodes/prolog.el (prolog-consult-compile):
12463 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12464 Use add/remove-function instead.
12465 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12466 (gud-tooltip-process-output, gud-tooltip-tips):
12467 Use add/remove-function instead.
12468 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12469 (scheme-interaction-mode, exit-scheme-interaction-mode):
12470 Use add/remove-function instead.
12472 * vc/vc-dispatcher.el: Use lexical-binding.
12473 (vc--process-sentinel): Rename from vc-process-sentinel.
12474 Change last arg to be the code to run. Don't use vc-previous-sentinel
12475 and vc-sentinel-commands any more.
12476 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12477 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12479 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12481 * progmodes/sh-script.el (sh-imenu-generic-expression):
12482 Handle function names with a single character. (Bug#14111)
12484 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12486 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12487 for subroutines defined in an eval (bug#14182).
12489 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12491 * bookmark.el (bookmark-completing-read): Improve handling of empty
12492 string (bug#14176).
12494 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12496 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12498 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12500 New faster Imenu implementation (bug#14058).
12501 * progmodes/python.el:
12502 (python-imenu-prev-index-position):
12503 (python-imenu-format-item-label-function)
12504 (python-imenu-format-parent-item-label-function)
12505 (python-imenu-format-parent-item-jump-label-function):
12507 (python-imenu-format-item-label)
12508 (python-imenu-format-parent-item-label)
12509 (python-imenu-format-parent-item-jump-label)
12510 (python-imenu--put-parent, python-imenu--build-tree)
12511 (python-imenu-create-index, python-imenu-create-flat-index)
12512 (python-util-popn): New functions.
12513 (python-mode): Set imenu-create-index-function to
12514 python-imenu-create-index.
12516 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12518 * winner.el (winner-active-region): Use region-active-p, activate-mark
12519 and deactivate-mark (bug#14225).
12521 * simple.el (deactivate-mark): Don't inline it.
12523 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12525 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12527 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12529 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12530 file extensions from the archive-mode entry in order to prefer
12531 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12533 2013-04-18 Leo Liu <sdl.web@gmail.com>
12535 * bindings.el (help-event-list): Add ?\?.
12537 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12539 * subr.el (with-wrapper-hook): Declare obsolete.
12540 * simple.el (filter-buffer-substring-function): New hook.
12541 (filter-buffer-substring): Use it.
12542 (filter-buffer-substring-functions): Mark obsolete.
12543 * minibuffer.el (completion-in-region-function): New hook.
12544 (completion-in-region): Use it.
12545 (completion-in-region-functions): Mark obsolete.
12546 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12547 * abbrev.el (abbrev-expand-function): New hook.
12548 (expand-abbrev): Use it.
12549 (abbrev-expand-functions): Mark obsolete.
12550 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12551 and :filter-return.
12553 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12555 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12556 and do not care about match data.
12558 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12560 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12561 completion tables when completing error conditions and
12562 `declare' arguments.
12563 (lisp-complete-symbol, field-complete): Mark as obsolete.
12564 (check-parens): Unmatched parens are user errors.
12565 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12567 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12569 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12570 command changed buffer (ie. `flyspell-pre-buffer' is not current
12571 buffer), which prevents making decisions based on invalid value of
12572 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12573 cause an error when `flyspell-pre-point' was nil after switching
12575 (flyspell-post-command-hook): No longer needs to change buffers when
12576 checking pre-word. While at it remove unnecessary progn.
12578 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12580 * textmodes/ispell.el (ispell-add-per-file-word-list):
12581 Fix `flyspell-correct-word-before-point' error when accepting
12582 words and `coment-padding' is an integer by using
12583 `comment-normalize-vars' (Bug #14214).
12585 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12587 New defun movement commands.
12588 * progmodes/python.el (python-nav--syntactically)
12589 (python-nav--forward-defun, python-nav-backward-defun)
12590 (python-nav-forward-defun): New functions.
12592 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12594 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12595 (python-syntax-context): Use named compiler-macro for backwards
12596 compatibility with Emacs 24.x.
12598 2013-04-17 Leo Liu <sdl.web@gmail.com>
12600 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12601 octave-hide-process-buffer.
12603 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12608 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12610 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12611 Fix adjustment of offset when receiving incomplete responses from GDB
12614 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12616 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12617 python-mode-abbrev-table.
12618 (python-skeleton-define): Adjust accordingly.
12619 (python-mode-abbrev-table): New table that inherits from it so that
12620 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12622 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12623 (abbrev-symbol): Use it.
12624 (abbrev--before-point): Use it since we already handle inheritance.
12626 2013-04-16 Leo Liu <sdl.web@gmail.com>
12628 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12629 binding to info-lookup-symbol.
12631 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12633 * minibuffer.el (completion--twq-all):
12634 * term/ns-win.el (ns-initialize-window-system):
12635 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12637 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12639 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12642 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12644 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12646 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12647 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12649 (ruby-end-of-defun): Remove the unused arg, change the docstring
12650 to reflect that this function is only used as the value of
12651 `end-of-defun-function'.
12652 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12653 to reflect an earlier change that beginning/end-of-defun functions
12654 jump between methods in a class definition, as well as top-level
12657 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12659 * minibuffer.el (minibuffer-complete): Don't just scroll
12660 a *Completions* that's been iconified.
12661 (minibuffer-force-complete): Make sure repetitions do cycle when going
12662 through completion-in-region -> minibuffer-complete.
12664 2013-04-15 Alan Mackenzie <acm@muc.de>
12666 Correct the placement of c-cpp-delimiters when there're #s not at
12669 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12670 place a submatch around the #.
12671 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12672 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12675 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12677 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12678 (advice--member-p): New arg `name'.
12679 (advice--add-function, advice-member-p): Use it (bug#14202).
12681 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12683 Reformulate java imenu-generic-expression.
12684 The old expression contained ill formed regexps.
12686 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12687 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12688 (cc-imenu-java-method-arg-regexp): New defconsts.
12689 (cc-imenu-java-build-type-args-regex): New defun.
12690 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12691 handling of spaces in the regexp.
12693 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12695 * textmodes/ispell.el (ispell-command-loop): Remove
12696 flyspell highlight of a word when ispell accepts it (bug #14178).
12698 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12700 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12701 uses code from the previous `ange-ftp-run-real-handler'.
12702 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12703 only in case that function exist. This is needed for proper
12704 unloading of Tramp.
12706 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12708 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12710 * textmodes/reftex.el (reftex-compile-variables): Use it.
12712 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12714 * files.el (normal-mode): Only use default major-mode if no other mode
12717 * emacs-lisp/trace.el (trace-values): New function.
12719 * files.el: Allow : in local variables (bug#14089).
12720 (hack-local-variable-regexp): New var.
12721 (hack-local-variables-prop-line, hack-local-variables): Use it.
12723 2013-04-13 Roland Winkler <winkler@gnu.org>
12725 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12726 data before it gets modified by bibtex-beginning-of-entry.
12728 2013-04-13 Roland Winkler <winkler@gnu.org>
12730 * textmodes/bibtex.el (bibtex-url): Doc fix.
12732 2013-04-13 Roland Winkler <winkler@gnu.org>
12734 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12735 does not visit a BibTeX file, exclude it from the list of buffers
12736 returned by bibtex-initialize.
12738 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12740 * window.el (split-window): Remove interactive form, since as a
12741 command this function is a special case of split-window-below.
12742 Correct doc string.
12744 2013-04-12 Roland Winkler <winkler@gnu.org>
12746 * faces.el (read-face-name): Do not override value of arg default.
12747 Allow single faces and strings as default values. Remove those
12748 elements from return value that are not faces.
12749 (describe-face): Simplify.
12750 (face-at-point): New optional args thing and multiple so that this
12751 function can provide the same functionality previously provided by
12753 (make-face-bold, make-face-unbold, make-face-italic)
12754 (make-face-unitalic, make-face-bold-italic, invert-face)
12755 (modify-face, read-face-and-attribute): Use face-at-point.
12757 * cus-edit.el (customize-face, customize-face-other-window)
12758 * cus-theme.el (custom-theme-add-face)
12759 * face-remap.el (buffer-face-set)
12760 * facemenu.el (facemenu-set-face): Use face-at-point.
12762 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12764 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12766 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12768 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12769 off leading { and trailing } from field values.
12771 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12773 * emacs-lisp/timer.el (timer--check): New function.
12774 (timer--time, timer-set-function, timer-event-handler): Use it.
12775 (timer-set-idle-time): Simplify.
12776 (timer--activate): CSE.
12777 (timer-event-handler): Give more info in error message.
12778 (internal-timer-start-idle): New function, moved from C.
12780 * mpc.el (mpc-proc): Add `restart' argument.
12781 (mpc-proc-cmd): Use it.
12782 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12783 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12786 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12788 * progmodes/sh-script.el: Implement `sh-mode' own
12789 `add-log-current-defun-function' (bug#14112).
12790 (sh-current-defun-name): New function.
12791 (sh-mode): Use the function.
12793 2013-04-09 Bastien Guerry <bzg@gnu.org>
12795 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12797 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12801 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12804 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12806 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12809 2013-04-07 Leo Liu <sdl.web@gmail.com>
12811 * pcmpl-x.el: New file.
12813 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12815 Do not set x-display-name until X connection is established.
12816 This is needed to prevent from weird situation described at
12817 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12818 * frame.el (make-frame): Set x-display-name after call to
12819 window system initialization function, not before.
12820 * term/x-win.el (x-initialize-window-system): Add optional
12821 display argument and use it.
12822 * term/w32-win.el (w32-initialize-window-system):
12823 * term/ns-win.el (ns-initialize-window-system):
12824 * term/pc-win.el (msdos-initialize-window-system):
12825 Add compatible optional display argument.
12827 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12829 * files.el (normal-backup-enable-predicate): On MS-Windows and
12830 MS-DOS compare truenames of temporary-file-directory and of the
12831 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12832 don't fail comparison by compare-strings. Also, compare file
12833 names case-insensitively on MS-Windows and MS-DOS.
12835 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12837 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12838 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12840 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12842 * whitespace.el (whitespace-color-on, whitespace-color-off):
12843 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12845 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12847 * ispell.el (ispell-set-spellchecker-params):
12848 Really set `ispell-args' for all equivs.
12850 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * ido.el (ido-completions): Use extra elements of ido-decorations
12854 (ido-decorations): Update docstring.
12856 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12858 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12859 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12860 nil during initialization, in order not to miss changes since the
12861 file was opened. (Bug#14140)
12863 2013-04-05 Leo Liu <sdl.web@gmail.com>
12865 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12867 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12869 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12871 2013-04-04 Glenn Morris <rgm@gnu.org>
12873 * electric.el (electric-pair-inhibit-predicate): Add :version.
12875 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12877 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12878 when a package is required several times (bug#14082).
12880 2013-04-04 Roland Winkler <winkler@gnu.org>
12882 * faces.el (read-face-name): Behave as promised by the docstring.
12883 Assume that arg default is a list of faces.
12884 (describe-face): Call read-face-name with list of default faces.
12886 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12888 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12889 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12890 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12892 (bookmark-exit-hook-internal): Save even if list is empty.
12894 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12896 * emacs-lisp/package.el (package-pinned-packages): New var.
12897 (package--add-to-archive-contents): Obey it (bug#14118).
12899 2013-04-03 Alan Mackenzie <acm@muc.de>
12901 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12902 Also adapt to the new values of element 7 of a parse state.
12904 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12905 parameter `not-in-delimiter'. Handle being inside comment opener.
12906 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12907 character in case we're typing a '*' after a '/'.
12908 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12909 instead by passing the parameter to c-state-pp-to-literal.
12911 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12912 for elt. 7 of a parse state.
12914 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12916 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12917 * international/latin1-disp.el, international/mule-util.el:
12918 * language/cyril-util.el, language/european.el, language/ind-util.el:
12919 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12920 * language/tibetan.el, language/viet-util.el:
12921 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12923 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12925 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12926 (electric-pair-post-self-insert-function): Use it.
12927 (electric-pair-default-inhibit): New function, extracted from
12928 electric-pair-post-self-insert-function.
12930 2013-03-31 Roland Winkler <winkler@gnu.org>
12932 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12934 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12936 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12938 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12940 Un-indent after "pass" and "return" statements (Bug#13888)
12941 * progmodes/python.el (python-indent-block-enders): New var.
12942 (python-indent-calculate-indentation): Use it.
12944 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12946 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12947 defun. Defining it as defalias could introduce too eager
12948 byte-compiler optimization. (Bug#14030)
12950 2013-03-30 Chong Yidong <cyd@gnu.org>
12952 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12954 2013-03-30 Leo Liu <sdl.web@gmail.com>
12956 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12957 (kmacro-execute-from-register): Pass the keyboard macro to
12958 kmacro-call-macro or repeating won't work correctly.
12960 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12962 * progmodes/subword.el: Back to using `forward-symbol'.
12964 * subr.el (forward-whitespace, forward-symbol)
12965 (forward-same-syntax): Move from thingatpt.el.
12967 2013-03-29 Leo Liu <sdl.web@gmail.com>
12969 * kmacro.el (kmacro-to-register): New command.
12970 (kmacro-execute-from-register): New function.
12971 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12973 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12975 * mpc.el: Use defvar-local and setq-local.
12976 (mpc--proc-connect): Connection failures are not bugs.
12977 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12978 (mpc-volume-map): Bind to the up-events.
12980 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12982 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12983 instead of `forward-symbol'.
12985 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12987 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12988 (edebug--recursive-edit): Use it.
12989 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12990 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12992 2013-03-28 Leo Liu <sdl.web@gmail.com>
12994 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12996 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12998 * facemenu.el (list-colors-callback): New defvar.
12999 (list-colors-redisplay): New function.
13000 (list-colors-display): Install list-colors-redisplay as the
13001 revert-buffer-function. (Bug#14063)
13003 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13005 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13006 and suffixes don't overlap (bug#14061).
13008 * case-table.el: Use lexical-binding.
13009 (case-table-get-table): New function.
13010 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13012 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13014 * progmodes/subword.el: Add `superword-mode' to do word motion
13015 over symbol_words (parallels and leverages `subword-mode' which
13016 does word motion inside MixedCaseWords).
13018 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13020 * eshell/em-unix.el: Move su and sudo to...
13021 * eshell/em-tramp.el: ...Eshell tramp module.
13023 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13025 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13026 Change return value to be a sexp. Delay `get-buffer' to after
13027 restoring the desktop (bug#13951).
13029 2013-03-26 Leo Liu <sdl.web@gmail.com>
13031 * register.el: Move semantic tag handling back to
13032 cedet/semantic/senator.el. (Bug#14052)
13034 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13036 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13037 into the prompt either (bug#13963).
13039 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13041 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13042 part of "(error-foo)".
13044 2013-03-24 Juri Linkov <juri@jurta.org>
13046 * replace.el (list-matching-lines-prefix-face): New defcustom.
13047 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13048 `occur-engine' if `face-differs-from-default-p' returns t.
13049 (occur-engine): Add `,' inside backquote construct to evaluate
13050 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13051 Pass `prefix-face' to the functions `occur-context-lines' and
13052 `occur-engine-add-prefix'.
13053 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13054 `prefix-face' and propertize the prefix with `prefix-face'.
13057 2013-03-24 Leo Liu <sdl.web@gmail.com>
13059 * nxml/rng-valid.el (rng-validate-while-idle)
13060 (rng-validate-quick-while-idle): Guard against deleted buffer.
13063 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13064 is the last entry in kill-buffer-hook.
13066 * files.el (kill-buffer-hook): Doc fix.
13068 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13070 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13071 Make it safe-local.
13073 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13075 2013-03-23 Leo Liu <sdl.web@gmail.com>
13077 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13080 * nxml/rng-valid.el (rng-validate-mode)
13081 (rng-after-change-function, rng-do-some-validation):
13082 * nxml/rng-maint.el (rng-validate-buffer):
13083 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13084 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13085 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13086 (nxml-extend-after-change-region): Use with-silent-modifications.
13088 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13091 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13092 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13093 timer-idle-list. (Bug#13999)
13095 2013-03-23 Juri Linkov <juri@jurta.org>
13097 * info.el (info-index-match): New face.
13098 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13099 main pattern and add text properties with the new face to matches
13100 in index entries relative to the beginning of the index entry.
13103 2013-03-21 Eric Ludlam <zappo@gnu.org>
13105 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13106 Inhibit read only while inserting objects.
13108 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13110 * progmodes/cfengine.el: Update docs to mention
13111 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13112 symbol motion. Remove "_" from the word syntax.
13114 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13116 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13117 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13119 2013-03-20 Juri Linkov <juri@jurta.org>
13121 * info.el (Info-next-reference-or-link)
13122 (Info-prev-reference-or-link): New functions.
13123 (Info-next-reference, Info-prev-reference): Use them.
13124 (Info-try-follow-nearest-node): Handle footnote navigation.
13125 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13127 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13129 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13130 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13132 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13134 Suppress unnecessary non-ASCII chatter during build process.
13135 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13136 (batch-skkdic-convert): Suppress most of the chatter.
13137 It's not needed so much now that machines are faster,
13138 and its non-ASCII component was confusing; see Dmitry Gutov in
13139 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13141 2013-03-20 Leo Liu <sdl.web@gmail.com>
13143 * ido.el (ido-chop): Fix bug#10994.
13145 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13147 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13149 (whitespace-color-on, whitespace-color-off):
13150 Use `font-lock-fontify-buffer' (Bug#13817).
13152 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13154 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13155 remapping in mode-line.
13156 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13158 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13160 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13161 value for `whitespace-line' face (Bug#13875).
13162 (whitespace-font-lock-keywords): Change description.
13163 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13164 the constructed keywords instead.
13165 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13167 2013-03-19 Leo Liu <sdl.web@gmail.com>
13169 * progmodes/compile.el (compilation-display-error): New command.
13170 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13173 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13175 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13177 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13179 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13181 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13183 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13185 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13186 * net/tramp-gvfs.el (top):
13187 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13188 (tramp-handle-shell-command): Use it.
13189 (tramp-dissect-file-name): Raise an error when hostname is a
13190 method name, and neither method nor user is specified.
13192 * net/trampver.el: Update release number.
13194 2013-03-18 Leo Liu <sdl.web@gmail.com>
13196 Make sure eldoc can be turned off properly.
13197 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13199 (eldoc-display-message-p): Revert last change.
13200 (eldoc-display-message-no-interference-p)
13201 (eldoc-print-current-symbol-info): Tweak.
13203 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13205 * doc-view.el (doc-view-new-window-function): Check the new window
13206 overlay's display property instead the char property of the
13207 buffer's first char. Use `with-selected-window' instead of
13208 `save-window-excursion' with `select-window'.
13209 (doc-view-document->bitmap): Check the current doc-view overlay's
13210 display property instead the char property of the buffer's first char.
13212 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13214 Automate the build of ja-dic.el (Bug#13984).
13215 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13216 from the input, rather than assume that it's been done for us by the
13217 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13218 the current date into a ja-dic.el comment, as that complicates
13219 regression testing.
13221 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13223 * whitespace.el: Fix double evaluation.
13224 (whitespace-space, whitespace-hspace, whitespace-tab)
13225 (whitespace-newline, whitespace-trailing, whitespace-line)
13226 (whitespace-space-before-tab, whitespace-indentation)
13227 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13229 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13230 (whitespace-color-on): Use a single font-lock-add-keywords call.
13231 Fix double-evaluation of face variables.
13233 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13235 * net/tramp-adb.el (tramp-adb-parse-device-names):
13236 Use `start-process' instead of `call-process'. Otherwise, the
13237 function might be blocked under MS Windows. (Bug#13299)
13239 2013-03-17 Leo Liu <sdl.web@gmail.com>
13241 Extend eldoc to display info in the mode-line. (Bug#13978)
13242 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13243 (eldoc-mode-line-string): New variable.
13244 (eldoc-minibuffer-message): New function.
13245 (eldoc-message-function): New variable.
13246 (eldoc-message): Use it.
13247 (eldoc-display-message-p)
13248 (eldoc-display-message-no-interference-p):
13249 Support eldoc-post-insert-mode.
13251 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13252 (eval-expression): Run it.
13254 2013-03-17 Roland Winkler <winkler@gnu.org>
13256 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13257 strings in the list of return values.
13259 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13261 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13262 radix before checking for HMS forms.
13264 2013-03-16 Leo Liu <sdl.web@gmail.com>
13266 * progmodes/scheme.el: Add indentation and font-locking for λ.
13269 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13271 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13272 token before point (bug#13942).
13274 2013-03-16 Leo Liu <sdl.web@gmail.com>
13276 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13278 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13280 * startup.el (command-line-normalize-file-name): Fix handling of
13281 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13282 <xfq.free@gmail.com> in
13283 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13285 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13287 Sync with Tramp 2.2.7.
13289 * net/trampver.el: Update release number.
13291 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13293 * doc-view.el: Fix bug#13887.
13294 (doc-view-insert-image): Don't modify overlay associated to
13295 non-live windows, and implement horizontal centering of image in
13296 case it's smaller than the window.
13297 (doc-view-new-window-function): Force redisplay of new windows on
13300 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13302 * saveplace.el (save-place-alist-to-file): Don't sort
13303 `save-place-alist', just pretty-print it (bug#13882).
13305 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13307 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13308 Check whether `default-file-name-coding-system' is bound.
13309 It isn't in XEmacs.
13311 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13313 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13314 backquotes for `obsolete' (bug#13929).
13316 * international/mule.el (find-auto-coding): Include file name in
13317 obsolescence warning (bug#13922).
13319 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13321 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13322 for CFEngine 3-specific indentation.
13323 (cfengine3-indent-line): Use it. Fix up category regex.
13324 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13326 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13328 * type-break.el (type-break-file-name):
13329 * textmodes/remember.el (remember-data-file):
13330 * strokes.el (strokes-file):
13331 * shadowfile.el (shadow-initialize):
13332 * saveplace.el (save-place-file):
13333 * ps-bdf.el (bdf-cache-file):
13334 * progmodes/idlwave.el (idlwave-config-directory):
13335 * net/quickurl.el (quickurl-url-file):
13336 * international/kkc.el (kkc-init-file-name):
13337 * ido.el (ido-save-directory-list-file):
13338 * emulation/viper.el (viper-custom-file-name):
13339 * emulation/vip.el (vip-startup-file):
13340 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13341 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13343 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13345 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13346 * language/thai-word.el: Switch to UTF-8.
13348 See ChangeLog.16 for earlier changes.
13350 ;; Local Variables:
13354 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13356 This file is part of GNU Emacs.
13358 GNU Emacs is free software: you can redistribute it and/or modify
13359 it under the terms of the GNU General Public License as published by
13360 the Free Software Foundation, either version 3 of the License, or
13361 (at your option) any later version.
13363 GNU Emacs is distributed in the hope that it will be useful,
13364 but WITHOUT ANY WARRANTY; without even the implied warranty of
13365 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13366 GNU General Public License for more details.
13368 You should have received a copy of the GNU General Public License
13369 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.