1 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
3 * minibuffer.el (completion--try-word-completion):
4 Fix error when completing M-x commands (bug#16808).
6 2014-02-24 Leo Liu <sdl.web@gmail.com>
8 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
10 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
12 * apropos.el (apropos-print): Avoid formatting error when
13 apropos-do-all and apropos-compact-layout are both t.
15 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
17 * apropos.el (apropos-property, apropos-all-words-regexp)
18 (apropos-true-hit, apropos-variable, apropos-print):
19 Fix docstring typos, and remove obsolete comment.
21 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
23 * net/tramp-sh.el (tramp-sh-handle-file-truename):
24 Preserve trailing "/". (Bug#16851)
26 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
28 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
29 after `=>' (bug#16811).
30 (ruby-smie-rules): Handle the inconsistent second element of the
31 list returned by `smie-indent--parent'.
32 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
35 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
37 * elec-pair.el (electric-pair-text-syntax-table)
38 (electric-pair-syntax-info, electric-pair--syntax-ppss)
39 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
40 (electric-pair--looking-at-unterminated-string-p): Doc fix.
41 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
43 2014-02-22 Glenn Morris <rgm@gnu.org>
45 * imenu.el (imenu--generic-function): Doc fix.
47 * register.el (frame-configuration-to-register): Make obsolete.
49 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
51 * desktop.el (desktop-save-buffer-p): Do not fail when
52 desktop-files-not-to-save is nil. Return t for true result
55 2014-02-22 Daniel Colascione <dancol@dancol.org>
57 * net/secrets.el (secrets-create-item,secrets-search-items): Check
58 that attribute values are strings, avoiding the construction of
59 invalid dbus messages.
61 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
63 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
64 defun-declarations-alist.
66 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
68 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
71 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
73 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
74 (whitespace-newline, whitespace-trailing, whitespace-line)
75 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
76 (whitespace-space-after-tab): Fix typo in docstrings.
78 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
80 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
82 * electric.el (electric-indent-functions-without-reindent):
83 Add `yaml-indent-line'.
85 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
87 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
88 It has done nothing for years; should be removed after the release.
90 * simple.el (choose-completion): Fix docstring typo.
91 (read-quoted-char-radix): Remove unneeded * in docstring.
92 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
93 Don't escape parentheses unnecessarily in docstrings.
95 2014-02-21 Martin Rudalics <rudalics@gmx.at>
97 Fix handling of window-min-height/-width (Bug#16738).
98 * window.el (window--dump-window, window--dump-frame):
100 (window--min-size-1): Account for window dividers.
101 When window-resize-pixelwise is nil, delay rounding till after the
102 sum of the window components has been calculated.
103 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
104 nil make sure at least one text line and two text columns remain
106 (window-resize): Signal an error when window-resize-apply fails.
107 (window--resize-child-windows): Fix calculation of by how many
108 pixels a window can still be shrunk via window-new-normal.
109 (adjust-window-trailing-edge): Call window--resizable with
110 correct TRAIL argument.
112 (with-temp-buffer-window): Don't evaluate BODY within
113 with-current-buffer (Bug#16816).
115 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
117 * net/tramp.el (tramp-check-cached-permissions):
118 Call `file-attributes' with `suffix' being a symbol but a string.
120 2014-02-21 Daniel Colascione <dancol@dancol.org>
122 * net/dbus.el (dbus-init-bus-1): Declare new subr.
123 (dbus-init-bus): New function: call into dbus-init-bus-1
124 and installs a handler for the disconnect signal.
125 (dbus-call-method): Rewrite to look for result in cons.
126 (dbus-call-method-handler): Store result in cons.
127 (dbus-check-event): Recognize events with nil sender as valid.
128 (dbus-handle-bus-disconnect): New function. React to bus
129 disconnection signal by synthesizing dbus error for each
130 pending synchronous or asynchronous call.
131 (dbus-notice-synchronous-call-errors): New function.
132 (dbus-handle-event): Raise errors directly only when `dbus-debug'
133 is true, not all the time.
135 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
137 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
138 Remove obsolescence declarations, these variables do not exist anymore.
140 * savehist.el (savehist-save-minibuffer-history)
141 (savehist-additional-variables, savehist-file, savehist-mode-hook)
142 (savehist-save-hook, savehist-coding-system, savehist-loaded)
143 (savehist-load, savehist-install, savehist-autosave): Fix typos;
144 mostly, refer to "Savehist mode" when talking about the mode,
145 and not the function.
147 * saveplace.el (save-place): Remove redundant info in docstring.
148 (save-place-forget-unreadable-files, toggle-save-place)
149 (save-place-forget-unreadable-files, save-place-dired-hook):
150 Fix typos and remove unneeded backslashes.
152 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
154 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
155 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
157 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
158 <insert-directory>: Use `tramp-handle-insert-directory'.
159 (tramp-gvfs-handle-insert-directory): Remove function.
161 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
162 Call `tramp-handle-insert-directory'.
164 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
166 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
167 before the start of buffer/region (bug#16799).
169 2014-02-20 Glenn Morris <rgm@gnu.org>
171 * isearch.el (search-invisible): Doc fix.
173 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
175 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
178 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
180 * frameset.el (frameset-restore): Delay removing an old frame's
181 duplicate id until the new frame has been correctly created.
183 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
185 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
186 (tramp-check-cached-permissions): Call `file-attributes' if the
189 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
190 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
192 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
193 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
194 (tramp-gvfs-maybe-open-connection): Set always connection
195 properties, even if target is mounted already.
197 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
198 Set tramp-autoload cookie.
199 (tramp-get-remote-touch): New defun.
200 (tramp-sh-handle-set-file-times): Use it.
201 (tramp-sh-handle-directory-files-and-attributes):
202 Use `tramp-handle-directory-files-and-attributes' if neither stat
203 nor perl are available on the remote host.
205 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
206 "/". Write long listing only when "l" belongs to the switches.
208 * net/trampver.el: Update release number.
210 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
212 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
214 2014-02-19 Martin Rudalics <rudalics@gmx.at>
216 * window.el (window-state-put): Allow WINDOW to refer to an
217 internal window (Bug#16793).
219 2014-02-19 Glenn Morris <rgm@gnu.org>
221 * textmodes/remember.el: Move provide statement to end.
222 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
223 (remember-notes): Doc fixes.
225 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
227 * delsel.el (delete-char): Restore incorrectly erased property
230 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
232 * frameset.el (frameset--restore-frame): When a frame is being reused
233 and its root window is not alive, delete all the frame's windows before
234 restoring the window state. This works around the issue in bug#16793.
236 2014-02-18 Glenn Morris <rgm@gnu.org>
238 * textmodes/remember.el (remember-data-directory)
239 (remember-directory-file-name-format, remember-store-in-files)
240 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
241 (remember-notes-save-and-bury-buffer)
242 (remember-notes--kill-buffer-query): Doc fixes.
244 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
246 2014-02-17 Alan Mackenzie <acm@muc.de>
248 Connect electric-indent-mode up with CC Mode. Bug #15478.
249 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
250 to electric-indent-{,local-}-mode.
251 (c-basic-common-init): Set electric-indent-inhibit.
252 Initialise c-electric-flag from electric-indent-mode.
253 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
254 New hook functions which propagate electric-indent-mode to CC mode.
256 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
257 hit, toggle electric-indent-local-mode.
259 * electric.el (electric-indent-mode-has-been-called):
262 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
264 * frameset.el (frameset-cfg-id): New function.
265 (frameset--reuse-frame, frameset-restore): Use it.
266 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
268 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
270 * ido.el (ido-file-internal): Remove unused var `d'.
271 Use \` for to match BoS. Fit within 80n columns.
273 2014-02-17 Daniel Colascione <dancol@dancol.org>
275 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
276 dbus-call-method check for completion using a busy-wait loop with
279 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
281 Sync with Tramp 2.2.9.
283 * net/trampver.el: Update release number.
285 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
287 * ido.el (ido-file-internal): Don't add the name of an existing
288 directory twice. (Bug#16747)
290 2014-02-16 Glenn Morris <rgm@gnu.org>
292 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
293 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
295 2014-02-15 Michael R. Mauger <michael@mauger.com>
297 * progmodes/sql.el: Version 3.4
298 (sql-oracle-options): New default value ("-L").
299 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
300 (sql-placeholders-filter): Correct placeholder pattern.
301 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
302 (sql-login-delay): New variable.
303 (sql-product-interactive): Use it.
305 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
307 * frameset.el (frameset--jump-to-register): Check that buffer is live
310 2014-02-15 Glenn Morris <rgm@gnu.org>
312 * info.el (info-initialize): Revert 2014-01-10 change.
314 2014-02-14 Glenn Morris <rgm@gnu.org>
316 * replace.el (map-query-replace-regexp)
317 (read-regexp-defaults-function, read-regexp): Doc fixes.
319 * dired.el (dired-read-regexp):
320 * faces.el (list-faces-display):
321 * misearch.el (multi-isearch-read-matching-buffers)
322 (multi-isearch-read-matching-files):
323 * play/cookie1.el (cookie-apropos):
324 * progmodes/grep.el (grep-read-regexp): Doc fixes.
326 * textmodes/remember.el (remember): Use frameset-to-register
327 rather than frame-configuration-to-register.
329 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
331 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
332 incorrect keybinding.
334 2014-02-13 Daniel Colascione <dancol@dancol.org>
336 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
337 when adding overlays so that line numbers from compiler match line
340 2014-02-13 Glenn Morris <rgm@gnu.org>
342 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
344 * jit-lock.el (jit-lock-mode): Doc fix.
346 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
348 * apropos.el (apropos-read-pattern): When the user passes an empty
349 string, give a more helpful error message than "Wrong type
350 argument: stringp, nil".
352 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
354 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
356 2014-02-13 Glenn Morris <rgm@gnu.org>
358 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
360 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
362 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
363 shift-select commands.
365 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
367 * progmodes/js.el (js-indent-line): Don't widen.
368 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
370 2014-02-12 Glenn Morris <rgm@gnu.org>
372 * icomplete.el (icomplete): Add info-link to defgroup.
373 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
374 (icomplete-minibuffer-map, icomplete-mode)
375 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
377 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
378 (package-menu-filter): Rename from package-menu-filter-interactive.
381 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
383 * frameset.el (frameset--jump-to-register): Select the required
384 window and buffer before restoring position (bug#16696).
386 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
388 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
390 2014-02-10 Glenn Morris <rgm@gnu.org>
392 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
394 2014-02-10 Eli Zaretskii <eliz@gnu.org>
396 * w32-common-fns.el (x-get-selection): Doc fix.
397 * select.el (x-get-selection): Doc fix. (Bug#15109)
399 * face-remap.el (face-remap-add-relative)
400 (face-remap-remove-relative, face-remap-reset-base)
401 (face-remap-set-base): Call force-mode-line-update to redisplay
402 the current buffer due to potential change in faces. (Bug#16709)
404 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
406 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
407 script more robustly.
409 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
411 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
413 * simple.el (choose-completion): Doc fix (bug#14160).
415 * subr.el (event-start): Say what a nil EVENT value means.
417 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
420 * progmodes/grep.el (find-program): Doc fix (bug#14289).
422 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
424 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
426 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
427 predicate function (bug#15455).
429 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
431 * ielm.el (inferior-emacs-lisp-mode): Instead of
432 `comment-use-global-state', set `comment-use-syntax'.
434 2014-02-10 Glenn Morris <rgm@gnu.org>
436 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
438 2014-02-09 Alan Mackenzie <acm@muc.de>
440 Fix c-invalidate-state-cache on narrowed buffers.
441 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
442 Widen when setting and clearing the CPP delimiter properties.
444 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
446 * help.el (describe-bindings): Doc fix (bug#9888).
448 * files.el (save-buffer): Use ARG as the parameter name for
449 consistency (bug#10346).
450 (save-buffer): Clarify the 0 argument (bug#10346).
452 * cus-edit.el (customize-apropos): Fix error string.
453 (custom-buffer-create): Doc fix (bug#11122).
454 (custom-sort-items): Doc fix (bug#11121).
456 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
458 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
459 (icomplete-simple-completing-p): Mention the previous variable.
461 * font-lock.el (font-lock-value-in-major-mode): Clarify the
462 meaning of the parameter (bug#12282).
464 * files.el (find-file-noselect): Clarify prompt when changing
465 readedness (bug#13261).
466 (locate-file): Suffixes aren't returned, so don't say that they
468 (backup-inhibited): Doc clarification (bug#12525).
470 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
471 before we actually start to delete things (bug#16331).
473 * subr.el (event-start): Doc fix (bug#14228).
476 2014-02-09 Glenn Morris <rgm@gnu.org>
478 * emacs-lisp/warnings.el (lwarn):
479 Empower help-enable-auto-load. (Bug#15940)
481 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
483 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
486 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
488 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
489 Insert output at end of buffer. (Bug#16120)
491 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
493 * simple.el (choose-completion-string-functions): Document new
494 calling convention (bug#14153).
495 (execute-extended-command): Clarify doc string (bug#13373).
497 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
499 * find-dired.el (find-name-dired): Doc fix (bug#14290).
500 (find-grep-dired): Doc fix (bug#14288).
502 2014-02-08 Juri Linkov <juri@jurta.org>
504 * isearch.el (isearch-quote-char): Check character validity
505 like in `quoted-insert' (bug#16677).
507 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
509 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
511 * isearch.el (isearch-hide-immediately): Doc clarification
514 * simple.el (line-move): Document utility function used many
515 places in the Emacs sources (bug#14843).
517 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
518 (dired-prev-marked-file): Doc fix (bug#14855).
519 (dired-up-directory): Doc fix (bug#14848).
521 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
523 * files.el (file-relative-name): Doc fix (bug#15159).
525 * fringe.el (fringe-styles): Doc fix (bug#15239).
527 * isearch.el (isearch-filter-predicate): Documentation typo fix
530 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
532 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
534 * replace.el (replace-match-maybe-edit): Doc clarification
537 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
539 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
541 2014-02-08 Glenn Morris <rgm@gnu.org>
543 * help-fns.el (describe-variable):
544 Check {file,dir}-local-variables-alist, and buffer-file-name,
545 in the correct buffer.
547 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
549 * help-fns.el (describe-variable): Fix the case where
550 a value is directory-local with no dir-locals file. (Bug#16635)
552 2014-02-08 Glenn Morris <rgm@gnu.org>
554 * abbrev.el (edit-abbrevs-mode):
555 Derive from fundamental-mode. (Bug#16682)
557 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
559 * simple.el (quoted-insert): Check character validity (bug#16677).
561 2014-02-07 Juri Linkov <juri@jurta.org>
563 * desktop.el (desktop-read): Claim the lock when the owner is not
564 the current process. (Bug#16157)
566 2014-02-07 Juri Linkov <juri@jurta.org>
568 * desktop.el (desktop-buffers-not-to-save): Change default from nil
569 to "\\` ". (Bug#16651)
571 2014-02-07 Juri Linkov <juri@jurta.org>
573 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
574 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
575 (desktop-auto-save-cancel-timer): New function with some code from
576 `desktop-auto-save-set-timer'.
577 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
578 Instead of setting `desktop-save-mode' to nil, call
579 `desktop-save-mode' with arg 0. (Bug#16630)
581 2014-02-07 Glenn Morris <rgm@gnu.org>
583 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
584 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
585 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
587 * obsolete/iswitchb.el: Move to obsolete/.
588 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
589 since obsolete/ is not scanned for autoloads.
590 * emacs-lisp/authors.el (authors-valid-file-names):
593 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
594 Disable now non-functional find-file-hook.
596 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
598 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
599 instead of ";" in order to avoid additional prompts. Let heredoc
600 scripts read from tty. (Bug#16582)
601 (tramp-send-command): No special handling of heredocs, it isn't
604 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
606 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
607 with a space (bug#16664). Limit the symbols considered to the ones
608 that are bound or fbound (bug#16646).
610 2014-02-06 Glenn Morris <rgm@gnu.org>
612 * epa.el (epa-mail-aliases): Doc fix.
614 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
616 * emacs-lisp/lisp.el (lisp-completion-at-point):
617 Use `completion-table-merge' instead of `completion-table-in-turn'
620 * minibuffer.el (completion-table-merge): New function.
622 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
624 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
625 (tramp-sh-handle-set-file-acl)
626 (tramp-sh-handle-start-file-process)
627 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
628 (tramp-find-executable, tramp-send-command): Use it.
630 2014-02-05 Glenn Morris <rgm@gnu.org>
632 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
634 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
636 * progmodes/python.el (python-shell-send-string):
637 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
639 2014-02-04 Anders Lindgren <andlind@gmail.com>
641 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
642 the names (bug#16620).
644 2014-02-03 Martin Rudalics <rudalics@gmx.at>
646 * faces.el (window-divider): New default value. Rewrite doc-string.
647 (window-divider-first-pixel, window-divider-last-pixel): New faces.
649 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
651 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
652 `protected' and `public' can also be called without arguments.
654 2014-02-03 Glenn Morris <rgm@gnu.org>
656 * register.el (window-configuration-to-register)
657 (frame-configuration-to-register): Unadvertise unused argument.
658 * frameset.el (frameset-to-register): Remove unused argument.
660 * frameset.el (frameset-to-register):
661 * kmacro.el (kmacro-to-register):
662 * register.el (increment-register):
663 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
664 (calc-append-to-register, calc-prepend-to-register):
665 * play/gametree.el (gametree-layout-to-register)
666 (gametree-apply-register-layout):
667 * textmodes/picture.el (picture-clear-rectangle-to-register)
668 (picture-yank-rectangle-from-register):
669 * vc/emerge.el (emerge-combine-versions-register):
670 Use register-read-with-preview to read registers.
672 2014-02-03 João Távora <joaotavora@gmail.com>
674 * elec-pair.el (electric-pair-backward-delete-char): Don't error
675 when at beginning of (possibly narrowed) buffer.
677 2014-02-02 Daniel Colascione <dancol@dancol.org>
679 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
680 Also try to display local help from just before point.
682 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
684 c-parse-state. Don't "append-lower-brace-pair" in certain
685 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
686 recognised as a comment.
688 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
689 as well as normal comment starter.
690 (c-parse-state-get-strategy): Extra return possibility
692 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
693 return value list to indicate replacement of a brace-pair cons
695 (c-parse-state-1): With 'back-and-forward, only call
696 c-append-lower-brace-pair-to state-cache when cons-separated.
698 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
700 * term/ns-win.el (ns-suspend-error): New function.
701 (ns-initialize-window-system): Add ns-suspend-error to
702 suspend-hook (Bug#16612).
704 2014-02-02 Daniel Colascione <dancol@dancol.org>
706 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
708 2014-02-02 Daniel Colascione <dancol@dancol.org>
710 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
712 2014-02-02 Glenn Morris <rgm@gnu.org>
714 * register.el (register-read-with-preview, point-to-register)
715 (window-configuration-to-register, frame-configuration-to-register)
716 (jump-to-register, number-to-register, view-register, insert-register)
717 (copy-to-register, append-to-register, prepend-to-register)
718 (copy-rectangle-to-register): Doc fixes.
720 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
722 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
723 * emacs-lisp/find-func.el (find-function-C-source): Idem.
724 * emacs-lisp/nadvice.el (advice--cd*r): New function.
725 * help-fns.el (describe-function-1): Use it.
727 2014-02-02 Glenn Morris <rgm@gnu.org>
729 * register.el (register-preview-default): New function,
730 split from register-preview.
731 (register-preview-function): Rename from register-preview-functions,
733 (register-preview): Use register-preview-function.
734 (register-read-with-preview): Error on non-character event. (Bug#16595)
736 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
739 `:' before binary operators (bug#16609). Don't check for `:'
740 before `[' and `(', or their syntax status. A percent literal
741 can't end with either.
742 (ruby-font-lock-keywords): For built-ins that require arguments,
743 check that they're followed by something that looks like argument
746 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
748 * subr.el (butlast): Document what an omitted N means (bug#13437).
751 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
753 * net/shr.el (shr-generic): Make into a defsubst to make the stack
754 depth shallower (bug#16587).
755 (shr-tag-svg): Respect `shr-inhibit-images'.
756 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
758 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
760 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
761 (ruby-smie-grammar): Make "." right-associative. Make its priority
762 lower than the ternary and all binary operators.
763 (ruby-smie-rules): Indent "(" relative to the first non-"."
764 parent, or the first "." parent at indentation.
765 Use `ruby-align-chained-calls' for indentation of "." tokens.
768 2014-01-31 Juri Linkov <juri@jurta.org>
770 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
771 from `make-hash-table'.
773 * textmodes/ispell.el (ispell-init-process): Change message format
774 to be consistent with other messages.
776 2014-01-31 Glenn Morris <rgm@gnu.org>
778 * delsel.el (delete-selection-mode): Doc fix.
780 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
781 (trace-function-background): Doc fixes.
783 * ido.el (ido-use-virtual-buffers): Doc fix.
784 Reset :version, since the default value has not changed.
786 * register.el (register-preview-delay, register-read-with-preview):
789 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
790 do not mess with mail-buffer position (fixes 2009-11-03 change).
791 * progmodes/cc-mode.el (c-submit-bug-report):
792 Check auto-fill-mode is bound. (Bug#16592)
794 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
796 * startup.el (fancy-splash-image-file): New function,
797 split from fancy-splash-head.
798 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
799 so that we are both using the same image. (Bug#16574)
801 2014-01-30 Glenn Morris <rgm@gnu.org>
803 * simple.el (eval-expression): Doc fix.
805 * hexl.el (hexl-mode-hook):
806 * ielm.el (ielm-mode-hook):
807 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
808 (lisp-interaction-mode-hook):
809 * progmodes/cfengine.e (cfengine3-documentation-function):
810 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
812 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
814 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
815 is a symbol (bug#16584).
817 2014-01-30 Glenn Morris <rgm@gnu.org>
819 * help.el (help-for-help-internal): Add "P" to text.
821 2014-01-29 Glenn Morris <rgm@gnu.org>
823 * simple.el (just-one-space, cycle-spacing): Doc fixes.
825 2014-01-28 Martin Rudalics <rudalics@gmx.at>
827 * window.el (fit-frame-to-buffer): Fix calculations for margins and
830 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
832 * progmodes/hideif.el: Extend to full CPP expression syntax.
833 (hif-token-alist): Add missing tokens.
834 (hif-token-regexp): Add support for float/octal/hex immediates.
835 (hif-string-literal-regexp): New const.
836 (hif-tokenize): Recognize strings and float/octal/hex immediates.
837 (hif-exprlist): New function.
838 (hif-parse-if-exp): Use it.
839 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
840 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
841 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
842 (hif-logxor, hif-comma): New functions.
844 2014-01-28 Glenn Morris <rgm@gnu.org>
846 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
848 * indent.el (tab-stop-list): Doc fix. Add :version.
850 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
851 (cvs-append-to-ignore): Add compatibility alias.
853 2014-01-27 Glenn Morris <rgm@gnu.org>
855 * dired.el (dired-hide-details-mode): Don't autoload it,
856 since it cannot be used outside Dired buffers anyway.
858 * emulation/cua-base.el (cua-mode): Doc fix.
860 * dired.el (dired-hide-details-hide-symlink-targets)
861 (dired-hide-details-hide-information-lines)
862 (dired-hide-details-mode): Doc fixes.
864 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
865 * strokes.el (strokes-file): Doc fix. Bump :version.
866 (strokes-help): Doc fix.
867 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
868 * emulation/viper.el (viper): Doc fix for custom group.
869 (top-level): Remove oh-so-no-longer-relevant text about vip.
870 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
872 * ido.el (ido-save-directory-list-file):
873 * saveplace.el (save-place-file):
874 * calendar/timeclock.el (timeclock-file):
875 * net/quickurl.el (quickurl-url-file):
876 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
877 * progmodes/idlwave.el (idlwave-config-directory):
878 * textmodes/remember.el (remember-data-file):
881 2014-01-26 Glenn Morris <rgm@gnu.org>
883 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
884 Doc fix. Make obsolete.
885 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
887 * sort.el (delete-duplicate-lines): Doc fix.
889 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
891 * progmodes/ada-mode.el (ada):
892 * woman.el (woman): Link to info manual and Commentary section.
894 * progmodes/flymake.el (flymake):
895 * nxml/nxml-mode.el (nxml):
897 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
898 * htmlfontify.el (htmlfontify):
901 * ido.el (ido): Link to info manual.
903 2014-01-25 Leo Liu <sdl.web@gmail.com>
905 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
907 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
909 * net/shr.el (shr-tag-img): Prefer the title over the alt text
912 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
914 * net/eww.el (eww-download-callback):
915 Fix reference to eww-download-directory.
917 * emacs-lisp/bytecomp.el (byte-compile-file):
918 Remove unused local variable `file-name'.
920 2014-01-24 Glenn Morris <rgm@gnu.org>
922 * woman.el (woman-default-faces, woman-monochrome-faces):
923 Fix obsolescence specification.
925 * subr.el (with-demoted-errors): Doc fix.
927 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
929 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
930 (cl--macroexp-fboundp): New function.
931 (cl--make-type-test): Use it.
933 2014-01-23 Glenn Morris <rgm@gnu.org>
935 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
936 * simple.el (eval-expression): Doc fixes.
938 2014-01-22 Glenn Morris <rgm@gnu.org>
940 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
942 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
944 * emacs-lisp/package.el: Write files silently.
945 (package-autoload-ensure-default-file, package--write-file-no-coding)
946 (package-generate-description-file, package--download-one-archive)
947 (package-install-from-archive): Tell `write-region' to stay quiet.
948 (package-menu-mode, package-menu--print-info): Omit the Archive column
949 if there's only one archive.
950 (package-all-keywords, package--has-keyword-p): Remove dead code.
952 2014-01-22 Glenn Morris <rgm@gnu.org>
954 * version.el (emacs-bzr-version-bzr): Fix typo.
956 * version.el (emacs-repository-get-version):
957 Check either .bzr or .git, but not both.
958 Make the git case actually use the DIR argument, and return nil
959 rather than the empty string.
960 Avoid error if .git exists but the git executable is not found.
962 2014-01-22 Martin Rudalics <rudalics@gmx.at>
964 Fixes in window size functions around Bug#16430 and Bug#16470.
965 * window.el (window-total-size, window-size): New argument ROUND.
966 (window--min-delta-1, window-min-delta, window--max-delta-1):
967 Be more conservative when calculating the numbers of lines or
968 columns a window can shrink (Bug#16430).
969 (fit-window-to-buffer): Simplify code.
970 * term.el (term-window-width): Call window-body-width again.
972 2014-01-22 Glenn Morris <rgm@gnu.org>
974 * image.el (image-format-suffixes): Doc fix.
976 * international/quail.el (quail-define-package): Doc fix.
978 * emacs-lisp/authors.el (authors-valid-file-names):
979 (authors-renamed-files-alist): Additions.
981 * vc/vc-git.el (vc-git-print-log): Remove --follow;
982 reverts 2014-01-09 change. (Bug#16422)
984 * calc/calc-embed.el (thing-at-point-looking-at):
985 * emacs-lisp/map-ynp.el (x-popup-dialog):
986 * obsolete/lmenu.el (x-popup-dialog):
987 * emacs-lisp/package.el (url-recreate-url):
988 * mail/mailclient.el (clipboard-kill-ring-save):
989 * subr.el (x-popup-dialog): Update declaration.
990 * mail/rmail.el (rmail-mime-message-p):
991 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
993 2014-01-21 Daniel Colascione <dancol@dancol.org>
995 * progmodes/sh-script.el (sh--inside-noncommand-expression):
996 Correctly detect when we're inside an arithmetic expansion form
997 containing nested parenthesis.
998 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
999 to detect cases where we shouldn't expand "<<" to a heredoc
1002 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1004 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1005 (eldoc--message-command-p): New function.
1006 (eldoc-display-message-p): Use it.
1007 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1008 message is not automatically erased for us.
1009 (eldoc-print-current-symbol-info): Erase previous message, if any.
1011 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1013 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1014 specify it's an interactive function.
1016 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1017 Fix regex used for scanning for citation keys which failed for
1018 citations with optional arguments.
1020 2014-01-21 Leo Liu <sdl.web@gmail.com>
1022 * simple.el (read--expression): Don't enable eldoc-mode.
1024 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1026 * simple.el (move-beginning-of-line): Make sure we don't move forward
1029 2014-01-20 Juri Linkov <juri@jurta.org>
1031 * saveplace.el (toggle-save-place, save-place-to-alist)
1032 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1033 'dired-mode) before checking for dired-directory. (Bug#16477)
1035 2014-01-20 Juri Linkov <juri@jurta.org>
1037 * indent.el (indent-line-to): Use backward-to-indentation
1038 instead of back-to-indentation. (Bug#16461)
1040 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1042 Revert some of the CANNOT_DUMP fix (Bug#16494).
1043 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1044 but fixing this can wait until after the next release.
1045 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1047 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1049 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1050 Use `password-word-equivalents'.
1051 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1052 to t. (Bug#5664, Bug#13124)
1054 2014-01-19 Alan Mackenzie <acm@muc.de>
1056 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1058 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1059 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1060 * progmodes/cc-mode.el (c-before-change, c-after-change)
1061 (c-font-lock-fontify-region): Bind it here.
1063 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1065 * term.el (term-window-width): Call window-text-width instead of
1066 window-width (Bug#16470).
1068 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1070 * simple.el (password-word-equivalents): Remove duplicates.
1071 Sort, to make this easier next time.
1072 Downcase. Omit ": " after "jelszó".
1074 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1076 * term/common-win.el (saved-region-selection): Defvar it.
1077 (x-select-text): Set saved-region-selection (Bug#16382).
1079 2014-01-18 Glenn Morris <rgm@gnu.org>
1081 * emacs-lisp/authors.el (authors-aliases)
1082 (authors-renamed-files-alist): Add some entries.
1084 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1086 * net/tramp.el (tramp-password-prompt-regexp):
1087 Use `password-word-equivalents' if available.
1088 (tramp-action-password, tramp-process-one-action)
1089 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1091 2014-01-17 Chong Yidong <cyd@gnu.org>
1093 * simple.el (password-word-equivalents): New defcustom.
1094 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1096 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1099 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1101 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1102 (ruby-align-to-stmt-keywords): Change the default value.
1103 Use `ruby-alignable-keywords' to generate the possible customization
1105 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1106 keywords, check against the value of `ruby-alignable-keywords'
1107 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1109 2014-01-17 Glenn Morris <rgm@gnu.org>
1111 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1113 Make M-x authors return zero *Authors Errors* from current logs.
1114 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1115 (authors-ignored-files): Add some entries, remove others.
1116 (authors-ambiguous-files, authors-valid-file-names):
1118 (authors-renamed-files-alist): Add, remove, and adjust entries.
1119 (authors-renamed-files-regexps): Add some entries.
1120 Remove some very broad ones. Make some entries `lax'.
1121 (authors-lax-changelogs): New constant.
1122 (authors-disambiguate-file-name): Treat top-level specially.
1123 (authors-lax-changelog-p): New function.
1124 (authors-canonical-file-name): Check file as written against
1125 authors-valid-file-names. Do not special-case etc/.
1126 Handle `lax' logs and authors-renamed-files-regexps elements.
1128 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1130 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1131 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1134 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1136 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1137 Assume we're already in the proper buffer.
1138 Inspired by Anders Lindgren <andlind@gmail.com>.
1139 (follow-post-command-hook): Call it from the right buffer.
1140 (follow-comint-scroll-to-bottom): Adjust call.
1141 (follow-all-followers): Use get-buffer-window-list.
1143 2014-01-15 Daniel Colascione <dancol@dancol.org>
1145 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1146 `buffer-file-name' in interactive-form so that we don't leave
1147 pathless file names in `file-name-history'.
1149 2014-01-15 Juri Linkov <juri@jurta.org>
1151 * indent.el (indent-rigidly): Set deactivate-mark to nil
1152 in transient indentation mode. (Bug#16438)
1154 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1156 * emacs-lisp/package.el (package-desc-keywords): New function
1158 (describe-package-1, package-all-keywords)
1159 (package--has-keyword-p): Use it.
1161 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1163 * simple.el (define-alternatives): When creating the
1164 COMMAND-alternatives variable, assign COMMAND as its definition
1165 name so that `describe-variable' can relocate it.
1167 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1169 * font-lock.el (font-lock-keywords): Fix typo in docstring
1172 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1174 * ispell.el (ispell-region): Reset `in-comment' for new line
1175 instead of wrongly reset `add-coment' (bug#13577).
1177 2014-01-14 Daiki Ueno <ueno@gnu.org>
1179 * epa-file.el (epa-file-write-region): Encode the region according
1180 to `buffer-file-format'. Problem reported at:
1181 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1183 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1185 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1186 so it applies in the right buffer (bug#16410).
1188 2014-01-13 Daniel Colascione <dancol@dancol.org>
1190 * textmodes/rst.el (rst-define-key): Provide deprecated
1191 keybindings through named functions instead of anonymous ones so
1192 that "??" doesn't appear in describe-mode output.
1194 2014-01-13 Bastien Guerry <bzg@gnu.org>
1196 * simple.el (define-alternatives): Call the selected command
1197 interactively. When setting `COMMAND--implementation' for the
1198 first time, tell the user how to chose another implementation.
1199 Enhance the docstring.
1201 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1203 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1204 (log-edit--match-first-line): New function.
1205 (log-edit-font-lock-keywords): Use it.
1206 (log-edit-mode): Make jit-lock-defer-multiline work.
1208 2014-01-13 Bastien Guerry <bzg@gnu.org>
1210 * rect.el (rectangle-mark-mode): When the region is not active,
1211 display a message saying that the mark as been set and that
1212 rectangle mode is in use.
1213 (rectangle--highlight-for-redisplay): Only put an overlay with a
1214 visible vertical bar when (display-graphic-p) is non-nil.
1215 This partially fixes Bug#16403.
1217 2014-01-13 Juri Linkov <juri@jurta.org>
1219 * info.el (Info-find-file): Go to DIR before displaying the error
1220 about a nonexistent file if no previous Info file is visited.
1221 Use `user-error' instead of `error' for "Info file %s does not exist".
1222 (Info-find-node-2): In case of a nonexistent node in unwind forms
1223 go to the Top node if there is no previous node to revert to.
1226 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1228 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1229 * window.el (fit-frame-to-buffer): Fix doc-string.
1230 Respect window-min-height/-width. Fit pixelwise when
1231 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1232 when avoiding that frame goes partially off-screen.
1233 (fit-window-to-buffer): Respect window-min-height/-width
1236 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1239 after an empty line.
1241 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1243 * net/shr.el (shr-render-region): Autoload.
1245 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1247 * net/eww.el (eww-download-directory): Rename from
1248 `eww-download-path' (Bug#16419).
1250 2014-01-12 Leo Liu <sdl.web@gmail.com>
1252 * dired-x.el (dired-mode-map): Fix last change.
1254 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1256 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1259 * emacs-lisp/generic.el (generic--normalize-comments):
1260 Rename from generic--normalise-comments. All uses changed.
1261 * play/bubbles.el (bubbles--neighborhood-score):
1262 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1263 (bubbles--neighborhood-available)
1264 (bubbles--update-neighborhood-score):
1265 Rename from names with 'neighbourhood'. All uses changed.
1267 2014-01-12 Leo Liu <sdl.web@gmail.com>
1269 Re-implement the feature of showing eldoc info after editing.
1270 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1271 (eldoc-edit-message-commands): New function.
1272 (eldoc-print-after-edit): New variable.
1273 (eldoc-pre-command-refresh-echo-area): Emit message only by
1274 eldoc-message-commands.
1275 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1276 if eldoc-print-after-edit is set. (Bug#16346)
1277 * simple.el (read--expression): Enable eldoc-mode.
1278 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1280 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1281 Eric S. Raymond <esr@thyrsus.com>
1283 * version.el (emacs-repository-get-version): Enhance so the
1284 function works correctly in either a Bazaar or Git repo.
1286 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1288 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1289 Goes with removal of the joke manpages from /etc.
1291 2014-01-10 Kenichi Handa <handa@gnu.org>
1293 * mail/rmail.el (rmail-get-coding-system):
1294 Check rmail-get-coding-function before "funcall"ing it.
1296 2014-01-10 Glenn Morris <rgm@gnu.org>
1298 * emacs-lisp/authors.el (authors-fixed-entries):
1299 Update for files that no longer exist.
1301 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1303 * version.el (emacs-bzr-get-version): Restore compatibilty with
1306 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1308 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1311 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1313 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1315 2014-01-10 Chong Yidong <cyd@gnu.org>
1317 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1319 2014-01-10 Anders Lindgren <andlind@gmail.com>
1321 * follow.el (follow-cache-command-list): Include right-char and
1324 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1327 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1328 * woman.el (woman-mark-horizontal-position):
1329 Rename from woman-mark-horizonal-position. Use changed.
1331 2014-01-10 Glenn Morris <rgm@gnu.org>
1333 * info.el (info-initialize): If running uninstalled, ensure our
1334 own info files are always found first, even if INFOPATH is set.
1336 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1338 2014-01-09 David Engster <deng@randomsample.de>
1340 * emacs-lisp/eieio-custom.el:
1341 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1342 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1343 * emacs-lisp/eieio.el: Regenerate autoloads.
1345 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1347 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1348 following renames. (Bug#8756)
1350 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1352 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1354 (activate-mark): Add `no-tmm' argument.
1355 (set-mark, push-mark-command): Use it instead of running
1356 activate-mark-hook by hand.
1358 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1360 In preparation for the move to git, sanitize out some
1361 Bazaar-specific names.
1363 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1365 * version.el (emacs-bzr-version): Name changed to
1366 emacs-repository-version. Obsolete-variable alias made.
1367 * loadup.el: Follow through on this name change.
1368 * mail/emacsbug.el (report-emacs-bug): Factor out any
1369 assumption about the version control system in use.
1371 2014-01-08 David Engster <deng@randomsample.de>
1373 * help-fns.el (help-fns-describe-function-functions):
1374 New variable to call functions for augmenting help buffers.
1375 (describe-function-1): Remove explicit calls to
1376 `help-fns--compiler-macro', `help-fns--parent-mode' and
1377 `help-fns--obsolete'. Put them in above new variable instead, and
1378 call them through `run-hook-with-args'.
1379 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1380 `eieio-describe-class'. Not meant for interactive use anymore,
1381 but to augment existing help buffers. Remove optional second
1382 argument. Create proper button for file location.
1383 Rewrite function to use `insert' instead of `princ' and `prin1' where
1385 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1386 (eieio-method-def, eieio-class-def): Move further up.
1387 (describe-method, describe-generic, eieio-describe-method):
1389 (eieio-help-constructor, eieio-help-generic): Rename from
1390 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1391 Rewrite to use `insert' in the current buffer and use proper help
1393 (eieio-help-find-method-definition)
1394 (eieio-help-find-class-definition): Also accept symbols as
1396 (eieio-help-mode-augmentation-maybee): Remove.
1397 (eieio-describe-class-sb): Use `describe-function'.
1398 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1399 Add `eieio-help-generic' and `eieio-help-constructor'.
1401 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1404 * language/china-util.el (hz-ascii-designation):
1405 Rename from hz-ascii-designnation.
1406 (hz-ascii-designation): Rename from hz-ascii-designnation.
1409 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1411 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1414 2014-01-08 Bastien Guerry <bzg@gnu.org>
1416 * emacs-lisp/package.el (package-delete):
1417 Correctly delete the package from package-alist.
1419 2014-01-08 Daiki Ueno <ueno@gnu.org>
1421 * emacs-lisp/package.el (url-recreate-url): Declare.
1422 (url-http-target-url): Declare.
1423 (package-handle-response): Include requested URL in the error message.
1424 (package--check-signature): Don't re-signal errors from
1425 package--with-work-buffer. Suggested by Stefan Monnier.
1427 2014-01-07 Bastien Guerry <bzg@gnu.org>
1429 * minibuffer.el (completion--try-word-completion): When both a
1430 hyphen and a space are possible candidates for the character
1431 following a word, display both candidates. (Bug#15980)
1433 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1435 * window.el (balance-windows-2): While rounding don't give a
1436 window more than the remainder. Bug#16351, bug#16383.
1438 2014-01-07 Glenn Morris <rgm@gnu.org>
1440 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1441 (menu-bar-help-menu): Use view-external-packages instead.
1443 2014-01-07 Bastien Guerry <bzg@gnu.org>
1445 * emacs-lisp/package.el (package-delete): Also delete the package
1446 name from `package-alist', not its description only.
1448 2014-01-07 Glenn Morris <rgm@gnu.org>
1450 * help.el (view-external-packages):
1451 * menu-bar.el (menu-bar-help-extra-packages):
1452 Visit efaq.info rather than etc/MORE.STUFF.
1454 2014-01-07 Juri Linkov <juri@jurta.org>
1456 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1457 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1459 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1460 that shadows RET. (Bug#16342)
1462 2014-01-07 Chong Yidong <cyd@gnu.org>
1464 * isearch.el (isearch-yank-char, isearch-yank-word)
1465 (isearch-yank-line): Doc fix.
1467 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1469 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1470 * emacs-lisp/elint.el (elint-find-builtins):
1471 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1472 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1473 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1474 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1475 * apropos.el (apropos-safe-documentation):
1476 * subr.el (symbol-file): Remove redundant fboundp.
1477 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1479 2014-01-06 Bastien Guerry <bzg@gnu.org>
1481 * hl-line.el (global-hl-line-overlay): Make a local variable.
1482 (global-hl-line-overlays): New variable to store all overlays.
1483 (global-hl-line-mode): Don't delete overlays from the current
1484 buffer when `global-hl-line-sticky-flag' is non-nil.
1485 (global-hl-line-highlight): Add new overlays to
1486 `global-hl-line-overlays'.
1487 (global-hl-line-unhighlight-all): New function to delete all
1488 overlays when turning off `global-hl-line-mode'.
1489 This fixes Bug#16183.
1491 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1493 * subr.el (set-transient-map): Fix nested case and docstring.
1495 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1497 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1500 2014-01-06 Daniel Colascione <dancol@dancol.org>
1502 Fix defun navigation in vc log view.
1504 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1505 like `beginning-of-defun'.
1506 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1507 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1508 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1509 (log-view-extract-comment): Call `log-view-current-entry' directly
1510 instead of relying on broken `log-view-beginning-of-defun' behavior.
1512 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1515 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1516 * emacs-lisp/debug.el (cancel-debug-on-entry):
1517 * epg.el (epg-error-to-string):
1518 * files.el (recover-file):
1519 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1520 * mail/emacsbug.el (report-emacs-bug-hook):
1521 * mail/sendmail.el (mail-recover):
1522 * ses.el (ses-yank-resize):
1523 * term/ns-win.el (ns-print-buffer):
1524 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1525 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1527 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1529 2014-01-06 Leo Liu <sdl.web@gmail.com>
1531 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1532 to avoid shadowing global key. (Bug#16354)
1534 2014-01-06 Daniel Colascione <dancol@dancol.org>
1536 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1539 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1541 * window.el (balance-windows): Add mising t to fix Bug#16351.
1543 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1545 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1547 (shr-insert): If we have a word that's longer than `shr-width',
1548 break after it anyway. Otherwise we'll do no breaking once we get
1551 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1553 * net/eww.el (eww): Support single/double quote for search.
1554 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1555 (eww-history-quit): Delete and use quit-window.
1556 (eww-history-kill): Delete, because it doesn't work well and
1558 (eww-history-mode-map): Delete some keys and add easy-menu.
1560 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1562 Fix misspelling of 'chinese' in rx (Bug#16237).
1563 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1566 Change subword regexps back to vars (Bug#16296).
1567 * progmodes/subword.el (subword-forward-regexp)
1568 (subword-backward-regexp): Change these back to variables.
1570 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1572 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1573 syntax-begin-function (bug#16247).
1575 2014-01-03 Chong Yidong <cyd@gnu.org>
1577 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1578 (advice--docstring): Delete variable.
1579 (advice--make-1): Leave the docstring empty.
1580 (advice-add): Use function-documentation for advised docstring.
1582 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1583 Ignore function-documentation property when getting documentation.
1584 (ad-activate-advised-definition): Use function-documentation
1585 generate the docstring.
1586 (ad-make-advised-definition): Don't call
1587 ad-make-advised-definition-docstring.
1588 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1591 * progmodes/sql.el (sql-help): Use function-documentation instead
1592 of dynamic-docstring-function property. No need to autoload now.
1593 (sql--help-docstring): New variable.
1594 (sql--make-help-docstring): Use it.
1596 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1598 * ielm.el (ielm-tab): Retarget.
1599 (ielm-map): Use ielm-tab for tab.
1600 (ielm-complete-filename): Use comint-filename-completion.
1601 (ielm-complete-symbol): Remove.
1602 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1603 remove ielm-tab from completion-at-point-functions (bug#16224).
1605 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1606 Beware signals raised by predicates (bug#16201).
1608 2014-01-02 Richard Stallman <rms@gnu.org>
1610 * dired-aux.el (dired-do-print): Handle printer-name.
1612 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1613 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1614 (rmail-epa-decrypt): Turn off mime processing.
1616 * mail/rmail.el (rmail-make-in-reply-to-field):
1617 Add parens in message-id.
1619 * mail/rmail.el (rmail-get-coding-function): Variable.
1620 (rmail-get-coding-system): Use it.
1622 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1624 * international/mule-conf.el: Unify the charset indian-is13194.
1625 (indian-is13194): Specify unify-map.
1627 2013-12-31 Leo Liu <sdl.web@gmail.com>
1629 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1631 2013-12-30 Daniel Colascione <dancol@dancol.org>
1633 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1634 of printing a useless when we resume from sleep.
1636 * progmodes/sh-script.el
1637 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1638 in indentation code. (Bug#16233)
1640 2013-12-28 João Távora <joaotavora@gmail.com>
1642 * elec-pair.el (electric-pair-post-self-insert-function):
1643 Don't open extra newlines at beginning of buffer. (Bug#16272)
1645 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1647 * frame.el (window-system-for-display): Don't allow to create a
1648 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1650 2013-12-28 Glenn Morris <rgm@gnu.org>
1652 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1655 * apropos.el (apropos-match-face):
1656 * calculator.el (calculator-displayer):
1657 * dabbrev.el (dabbrev-search-these-buffers-only):
1658 * face-remap.el (buffer-face-mode-face):
1659 * simple.el (yank-handled-properties):
1660 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1661 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1662 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1663 (hashcash-double-spend-database):
1664 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1665 (ruby-deep-indent-paren-style):
1666 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1667 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1668 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1669 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1670 Specify custom types.
1672 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1673 * bookmark.el (bookmark-bmenu-use-header-line):
1674 * doc-view.el (doc-view-scale-internally):
1675 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1676 * register.el (register-preview-delay):
1677 * net/shr.el (shr-bullet):
1678 * progmodes/cfengine.el (cfengine-cf-promises)
1679 (cfengine-parameters-indent):
1680 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1681 * textmodes/reftex-vars.el (reftex-label-regexps):
1682 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1684 * net/tls.el (tls-certtool-program): Fix default value.
1686 * desktop.el (desktop-restore-in-current-display):
1687 * newcomment.el (comment-empty-lines):
1688 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1689 (idlwave-pad-keyword):
1690 * progmodes/tcl.el (tcl-tab-always-indent):
1691 * textmodes/reftex-vars.el (reftex-index-default-tag):
1692 * elec-pair.el (electric-pair-skip-whitespace):
1693 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1695 * emacs-lisp/authors.el (authors-ignored-files)
1696 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1698 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1700 * shell.el (shell-dynamic-complete-command): Doc fix.
1701 (shell--command-completion-data): Shell completion now matches
1702 executable filenames from the current buffer's directory, on
1703 systems in which this behavior is the default (windows-nt, ms-dos).
1705 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1707 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1709 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1711 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1714 * electric.el: Move all electric-pair-* to elec-pair.el.
1715 * elec-pair.el: New file, split from electric.el.
1717 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1719 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1720 indentation level is larger than the width, because that will
1722 (shr-insert): Fill repeatedly long texts, so that Japanese is
1723 formatted correctly (bug#16263).
1724 (shr-find-fill-point): Off by one error in comparison with the
1727 2013-12-26 João Távora <joaotavora@gmail.com>
1729 * electric.el (electric-pair-mode): More flexible engine for skip-
1730 and inhibit predicates, new options for pairing-related functionality.
1731 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1732 if that keeps or improves their balance in buffers.
1733 (electric-pair-delete-adjacent-pairs): Delete the pair when
1734 backspacing over adjacent matched delimiters.
1735 (electric-pair-open-extra-newline): Open extra newline when
1736 inserting newlines between adjacent matched delimiters.
1737 (electric--sort-post-self-insertion-hook):
1738 Sort post-self-insert-hook according to priority values when
1739 minor-modes are activated.
1740 * simple.el (newline-and-indent): Call newline with interactive
1742 (blink-paren-post-self-insert-function): Set priority to 100.
1743 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1744 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1745 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1746 electric-pair-open-newline-between-pairs to nil.
1748 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1750 * progmodes/python.el: Use lexical-binding.
1751 (python-nav-beginning-of-defun): Stop searching ASAP.
1753 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1755 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1756 Fix interactive spec. Doc fix. (Bug#15754)
1758 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1760 * emacs-lisp/byte-run.el (eval-when-compile):
1761 * progmodes/cc-defs.el (cc-eval-when-compile):
1762 Fix edebug spec (bug#16184).
1764 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1766 * net/shr.el (shr-visit-file): Remove debugging function.
1767 (shr-insert): Don't infloop if we can't find a good place to break
1768 the line (bug#16256).
1770 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1772 * progmodes/python.el:
1773 (python-nav--lisp-forward-sexp): New function.
1774 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1775 python-nav-lisp-forward-sexp-safe.
1776 (python-nav--forward-sexp): New argument SAFE allows switching
1777 forward sexp movement behavior for parens.
1778 (python-nav-forward-sexp): Throw errors on unterminated parens
1780 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1781 (python-nav-backward-sexp-safe): New functions.
1782 (python-shell-buffer-substring):
1783 Use `python-nav-forward-sexp-safe'.
1785 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1787 * net/shr.el (shr-find-fill-point): Don't break lines before a
1789 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1790 (shr-find-fill-point): Remove the special checks for the quotation
1791 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1793 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1795 * net/eww.el (eww-form-textarea): Use a different face for
1796 textareas than text input since they have different keymaps
1799 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1801 * progmodes/python.el (python-nav-beginning-of-statement):
1802 Speed up (Bug#15295).
1804 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1806 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1807 the window configuration.
1809 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1811 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1812 we run on MS-Windows or MS-DOS.
1814 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1816 * window.el (balance-windows-area): Call window-size instead of
1817 window-height and window-width. Bug#16241.
1819 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1821 * net/eww.el (eww-bookmark-quit): Remove.
1822 (eww-bookmark-browse): Restore the window configuration when you
1823 choose a bookmark (bug#16144).
1825 2013-12-24 Daniel Colascione <dancol@dancol.org>
1827 * icomplete.el: Remove redundant :group arguments to `defcustom'
1829 (icomplete-show-matches-on-no-input): New customizable variable.
1830 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1831 we have something to show.
1832 (icomplete-exhibit): Compute completions even if we have no user input.
1834 2013-12-23 Daniel Colascione <dancol@dancol.org>
1836 * icomplete.el: Move `provide' to end of file.
1838 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1840 * net/gnutls.el (gnutls-verify-error): Add version tag.
1842 2013-12-23 Chong Yidong <cyd@gnu.org>
1844 * subr.el (set-transient-map): Rename from
1845 set-temporary-overlay-map. Doc fix.
1847 * face-remap.el (text-scale-adjust):
1848 * indent.el (indent-rigidly):
1849 * kmacro.el (kmacro-call-macro):
1850 * minibuffer.el (minibuffer-force-complete):
1851 * repeat.el (repeat):
1852 * simple.el (universal-argument--mode):
1853 * calendar/todo-mode.el (todo-insert-item--next-param):
1854 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1856 * indent.el (indent-rigidly): Use substitute-command-keys.
1858 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1860 * net/eww.el (eww-tag-select): Add text-property to jump to next
1862 (eww): Add non-supported ftp error.
1864 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1866 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1867 comments. Handle electric indent after typing `?' and `!'.
1869 2013-12-22 Chong Yidong <cyd@gnu.org>
1871 * faces.el (face-spec-recalc): If the theme specs are not
1872 applicable to a frame, fall back on the defface spec.
1873 This prevents themes from obliterating faces on low-color terminals.
1875 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1877 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1878 after `{'. We need it after block openers, and it doesn't seem
1879 to hurt after hash openers.
1881 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1883 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1884 extracted from `ruby-smie-rules'.
1885 (ruby--electric-indent-chars): New variable.
1886 (ruby--electric-indent-p): New function.
1887 (ruby-mode): Use `electric-indent-functions' instead of
1888 `electric-indent-chars'.
1890 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1892 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1894 (ruby-smie-rules): Indent plus one level after `=>'.
1896 2013-12-21 Richard Stallman <rms@gnu.org>
1898 * simple.el (newline): Doc fix.
1900 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1902 * net/eww.el (eww-list-histories, eww-list-histories)
1903 (eww-history-browse, eww-history-quit, eww-history-kill)
1904 (eww-history-mode-map, eww-history-mode): New command and
1905 functions to list browser histories.
1906 (eww-form-text): Support text form with disabled
1907 and readonly attributes.
1908 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1910 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1912 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1913 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1914 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1915 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1917 (eww-bookmark-mode-map): Add menu.
1918 (eww-render, eww-mode): Use `setq-local'.
1919 (eww-tool-bar-map): New variable.
1920 (eww-mode): Set `tool-bar-map'.
1921 (eww-view-source): Check for `html-mode' with `fboundp'.
1923 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1925 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1926 elements with text inside. Also remove debugging.
1928 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1930 * cus-start.el (all): Add ns-use-srgb-colorspace.
1932 2013-12-21 Chong Yidong <cyd@gnu.org>
1934 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1935 undefined. Thus, theme settings for undefined faces do not take
1936 effect until the faces are defined with defface, the same as with
1939 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1940 (face-spec-reset-face): Don't assign extra properties in temacs.
1941 (face-spec-recalc): Apply X resources too.
1943 2013-12-21 Chong Yidong <cyd@gnu.org>
1945 * faces.el (face-spec-set):
1946 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1947 * custom.el (defface): Doc fixes (Bug#16203).
1949 * indent.el (indent-rigidly-map): Add docstring, and move commands
1950 into named functions.
1951 (indent-rigidly-left, indent-rigidly-right)
1952 (indent-rigidly-left-to-tab-stop)
1953 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1954 indentation direction based on bidi direction, and accumulate
1955 sequential commands in a single undo boundary.
1956 (indent-rigidly--pop-undo): New utility function.
1958 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1960 * faces.el (read-face-name): Require crm.el when using crm-separator.
1962 2013-12-20 Daniel Colascione <dancol@dancol.org>
1964 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1965 so that we don't reflow comments into the shebang line.
1967 2013-12-20 Juri Linkov <juri@jurta.org>
1969 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1970 a position when `dired-directory' is non-nil. Check integer
1971 positions with `integerp'.
1972 (toggle-save-place, save-places-to-alist): Add check for
1974 (save-place-find-file-hook): Check integer positions with
1976 (save-place-dired-hook): Use `dired-goto-file' when
1977 `dired-filename' is found in the assoc list. Check integer
1978 positions with `integerp'.
1979 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1981 * dired.el (dired-initial-position-hook): Rename back from
1982 `dired-initial-point-hook'.
1983 (dired-initial-position): Rename `dired-initial-point-hook' to
1984 `dired-initial-position-hook'.
1985 (dired-file-name-at-point): Doc fix. (Bug#15329)
1987 2013-12-20 Juri Linkov <juri@jurta.org>
1989 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1990 (read-regexp-suggestions): New function.
1991 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1992 Use `read-regexp-suggestions'. Add non-empty default to history
1994 (occur-read-regexp-defaults-function): Remove function.
1995 (occur-read-primary-args): Use `regexp-history-last' instead of
1996 `occur-read-regexp-defaults-function'.
1998 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1999 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2000 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2001 `hi-lock-read-regexp-defaults-function'. Doc fix.
2002 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2003 with `find-tag-default-as-symbol-regexp'. Doc fix.
2004 (hi-lock-read-regexp-defaults): Remove function.
2005 (hi-lock-regexp-okay): Add check for null.
2007 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2008 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2010 * subr.el (find-tag-default-as-symbol-regexp): New function.
2011 (find-tag-default-as-regexp): Move symbol regexp formatting to
2012 `find-tag-default-as-symbol-regexp'.
2014 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2016 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2019 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2021 * calendar/todo-mode.el: New implementation of item insertion
2022 commands and key bindings.
2023 (todo-key-prompt): New face.
2024 (todo-insert-item): New command.
2025 (todo-insert-item--parameters): New defconst, replacing defvar
2026 todo-insertion-commands-args-genlist.
2027 (todo-insert-item--param-key-alist): New defconst, replacing
2028 defvar todo-insertion-commands-arg-key-list.
2029 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2030 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2031 (todo-insert-item--next-param): New functions.
2032 (todo-insert-item--args, todo-insert-item--argleft)
2033 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2035 (todo-key-bindings-t): Change binding of "i" from
2036 todo-insertion-map to todo-insert-item.
2037 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2038 (todo-insertion-command-name, todo-insertion-commands-names)
2039 (todo-define-insertion-command, todo-insertion-commands)
2040 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2042 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2044 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2045 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2047 (todo-move-category): Allow choosing a non-existing todo file to
2048 move the category to, and create that file.
2049 (todo-default-priority): New user option.
2050 (todo-set-item-priority): Use it.
2051 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2052 (desktop-restore-file-buffer): Declare.
2053 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2054 (todo-modes-set-2): Locally set desktop-save-buffer to
2055 todo-desktop-save-buffer.
2056 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2057 (auto-mode-alist): Add autoload cookie.
2059 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2061 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2062 helpers.el was a poor choice of name.
2063 (string-remove-prefix): New function.
2064 (string-remove-suffix): New function.
2066 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2068 Fix assignment for new window total sizes.
2069 * window.el (window--pixel-to-size): Remove function.
2070 (window--pixel-to-total-1, window--pixel-to-total):
2071 Fix calculation of new total sizes.
2073 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2075 * comint.el (comint-output-filter): Fix rear-nonsticky property
2076 placement (Bug#16010).
2078 2013-12-20 Chong Yidong <cyd@gnu.org>
2080 * faces.el (read-color): Minor fix for completion function.
2082 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2084 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2085 New option. (Bug#16182)
2086 (ruby-smie--indent-to-stmt-p): Use it.
2087 (ruby-smie-rules): Revert the logic in the handling of `when'.
2088 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2089 (ruby-deep-arglist, ruby-deep-indent-paren)
2090 (ruby-deep-indent-paren-style): Update docstrings to note that the
2091 vars don't have any effect with SMIE.
2093 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2095 * calc/calc.el (calc-enter, calc-pop): Use the variable
2096 `calc-context-sensitive-enter'.
2098 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2100 * net/shr.el (shr-insert): Protect against infloops in degenerate
2103 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2105 * progmodes/octave.el (octave): Add link to manual and octave
2107 (octave-mode-menu): Link to octave-mode manual.
2109 2013-12-20 Leo Liu <sdl.web@gmail.com>
2111 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2112 insertion using skeleton-end-newline. (Bug#16138)
2114 2013-12-20 Juri Linkov <juri@jurta.org>
2116 * replace.el (occur-engine): Use `add-face-text-property'
2117 to add the face property to matches and titles. (Bug#14645)
2119 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2120 the palette of other hi-lock colors.
2121 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2123 2013-12-19 Juri Linkov <juri@jurta.org>
2125 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2126 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2127 (minibuffer-history-symbol): Move variable declaration closer to
2130 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2133 2013-12-19 Juri Linkov <juri@jurta.org>
2135 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2137 (log-edit-hook): Add it to :options. (Bug#16170)
2139 2013-12-19 Juri Linkov <juri@jurta.org>
2141 * simple.el (eval-expression-print-format): Don't check for
2142 command names and the last command. Always display additional
2143 formats of the integer result in the echo area, and insert them
2144 to the current buffer only with a zero prefix arg.
2145 Display character when char-displayable-p is non-nil.
2146 (eval-expression): With a zero prefix arg, set `print-length' and
2147 `print-level' to nil, and insert the integer values from
2148 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2150 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2151 `eval-last-sexp-arg-internal'. Doc fix.
2152 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2153 `eval-last-sexp-print-value'. Doc fix.
2154 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2155 Set `print-length' and `print-level' to nil when arg is zero.
2156 (eval-last-sexp): Doc fix.
2157 (eval-defun-2): Print the integer values from
2158 `eval-expression-print-format' at the end.
2160 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2161 values from `eval-expression-print-format' at the end.
2163 * ielm.el (ielm-eval-input): Print the integer
2164 values from `eval-expression-print-format' at the end.
2166 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2168 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2169 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2171 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2173 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2174 (hl-line-highlight, global-hl-line-highlight): Use it.
2175 (hl-line-overlay): Use defvar-local.
2177 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2179 * term/ns-win.el: Require dnd.
2180 (global-map): Remove drag items.
2181 (ns-insert-text, ns-set-foreground-at-mouse)
2182 (ns-set-background-at-mouse):
2183 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2184 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2187 2013-12-19 Glenn Morris <rgm@gnu.org>
2189 * emacs-lisp/ert.el (ert-select-tests):
2190 Fix string/symbol mixup. (Bug#16121)
2192 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2194 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2195 keywords to their parent.
2197 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2199 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2200 first arg to be a string (fixed dead code), or an operator symbol.
2201 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2203 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2204 did nothing. Don't respond to `(:after ".")', it will be called
2205 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2206 change anything. Only return indentation for binary operators
2207 when they are hanging. De-dent opening paren when its parent is
2208 `.', otherwise it looks bad when the dot is not at bol or eol
2211 2013-12-19 Juri Linkov <juri@jurta.org>
2213 * replace.el (query-replace-read-args): Split a non-negative arg
2214 and a negative arg into separate elements.
2215 (query-replace, query-replace-regexp, replace-string)
2216 (replace-regexp): Add arg `backward'. Doc fix.
2217 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2218 move point to the beginning of the match.
2219 (replace-search, replace-highlight): Use new arg `backward'
2220 to set the value of `isearch-forward'.
2221 (perform-replace): Add arg `backward' and use it to perform
2222 replacement backward. (Bug#14979)
2224 * isearch.el (isearch-query-replace): Use a negative prefix arg
2225 to call `perform-replace' with a non-nil arg `backward'.
2227 2013-12-18 Juri Linkov <juri@jurta.org>
2229 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2230 to the default list. Move `log-edit-show-files' to the end.
2231 Add more available functions to options.
2232 (log-edit): Move default specific settings to
2233 `log-edit-insert-message-template'. Don't move point.
2234 (log-edit-insert-message-template): New function.
2235 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2238 2013-12-18 Juri Linkov <juri@jurta.org>
2240 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2241 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2243 2013-12-18 Leo Liu <sdl.web@gmail.com>
2245 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2248 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2250 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2251 formats for displaying file sizes when the -s switch is given.
2252 Instead, compute a separate format for displaying the size in
2253 blocks, which is displayed in addition to the "regular" size.
2254 When -h is given in addition to -s, produce size in blocks in
2255 human-readable form as well. (Bug#16179)
2257 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2259 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2260 Reference tables with ~\ref{...} instead of only \ref{...}.
2262 2013-12-18 Chong Yidong <cyd@gnu.org>
2264 * cus-edit.el (custom-magic-alist): Fix "themed" description
2267 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2268 is non-nil, do not create a new entry in the symbol's theme-value
2269 or theme-face property; update theme-settings only (Bug#14664).
2270 (custom-available-themes): Doc fix.
2272 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2275 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2277 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2279 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2282 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2284 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2286 2013-12-18 Glenn Morris <rgm@gnu.org>
2288 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2289 * cus-start.el (load-prefer-newer): New option.
2291 2013-12-18 Le Wang <l26wang@gmail.com>
2293 * comint.el (comint-previous-matching-input-from-input):
2294 Retain point (Bug#13404).
2296 2013-12-18 Chong Yidong <cyd@gnu.org>
2298 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2300 2013-12-18 Glenn Morris <rgm@gnu.org>
2302 * mail/emacsbug.el (report-emacs-bug):
2303 Only mention enable-multibyte-characters if non-standard.
2305 2013-12-17 Juri Linkov <juri@jurta.org>
2307 * arc-mode.el (archive-extract-by-file): Check if directory exists
2308 before deletion to not show irrelevant errors if it doesn't exist.
2310 2013-12-17 Juri Linkov <juri@jurta.org>
2312 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2315 * net/eww.el (browse-web): Add alias to `eww'.
2316 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2317 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2319 * net/browse-url.el (browse-url-browser-function): Move `eww'
2320 closer to similar functions.
2322 * startup.el (fancy-startup-screen, fancy-about-screen):
2323 Set browse-url-browser-function to eww-browse-url locally.
2326 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2328 * window.el (window--pixel-to-total): Remove unused `mini' var.
2329 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2330 (split-window): Remove unused `new' var.
2331 (window--display-buffer): Remove unused `frame' and `delta' vars.
2332 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2335 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2337 * dired.el (dired-mark-pop-up):
2338 * register.el (register-preview): Don't bind
2339 split-height-threshold here since it's now done in
2340 display-buffer-below-selected.
2342 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2344 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2345 xterm-rgb-convert-to-16bit.
2346 (rxvt-register-default-colors): Standardize with
2347 xterm-register-default-colors (Bug#14078).
2349 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2351 * simple.el (kill-region): Pass mark first, then point, so that
2352 kill-append works right (Bug#12819).
2353 (copy-region-as-kill, kill-ring-save): Likewise.
2355 2013-12-17 Leo Liu <sdl.web@gmail.com>
2357 * net/rcirc.el (rcirc-add-face):
2358 * eshell/em-prompt.el (eshell-emit-prompt):
2359 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2362 2013-12-17 Chong Yidong <cyd@gnu.org>
2364 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2365 Suggested by Xue Fuqiao.
2367 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2369 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2371 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2373 * net/shr.el (shr-insert-document): Remove unused var
2374 `shr-preliminary-table-render'.
2375 (shr-rescale-image): Remove unused arg `force'.
2376 (shr-put-image): Update calls accordingly.
2377 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2379 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2381 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2382 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2383 :close-all, to see which indentation method to use (Bug#16116).
2384 (smie-rules-function): Document the method :close-all.
2386 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2388 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2390 * net/eww.el (eww-display-html): If we can't find the anchor we're
2391 looking for, then go to point-min.
2393 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2395 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2396 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2397 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2398 Expand dir too, in case it's relative.
2400 2013-12-16 Juri Linkov <juri@jurta.org>
2402 * desktop.el (desktop-auto-save-timeout): Change default to
2403 `auto-save-timeout'. Doc fix.
2404 (desktop-save): Skip the timestamp in desktop-saved-frameset
2405 when checking for auto-save changes.
2406 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2407 `desktop-auto-save' is called repeatedly by the idle timer.
2408 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2409 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2412 2013-12-16 Juri Linkov <juri@jurta.org>
2414 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2416 (isearch-pre-command-hook): Check `this-command' for symbolp.
2418 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2420 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2422 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2424 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2425 (cfengine3--current-function): Bring in the current-function
2426 functionality from `cfengine3--current-word'.
2427 (cfengine3-completion-function): Bring in the
2428 bounds-of-current-word functionality from
2429 `cfengine3--current-word'.
2431 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2433 * window.el (display-buffer-below-selected):
2434 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2436 2013-12-16 Leo Liu <sdl.web@gmail.com>
2438 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2439 Remove NOMSG arg and all uses changed.
2441 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2443 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2444 (cua--deactivate-rectangle): Don't deactivate the mark.
2445 (cua-set-rectangle-mark): Don't set mark-active since
2446 cua--activate-rectangle already does it for us.
2447 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2448 non-rectangular region.
2450 * emulation/cua-base.el (cua-repeat-replace-region):
2451 Use with-current-buffer.
2453 * net/gnutls.el: Use cl-lib.
2454 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2456 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2458 * emacs-lisp/package.el (package-built-in-p): Support both
2459 built-in and the package.el converted package descriptions.
2460 (package-show-package-list): Allow keywords.
2461 (package-keyword-button-action): Use it instead of
2462 `finder-list-matches'.
2463 (package-menu-filter-interactive): Interactive filtering (by
2465 (package-menu--generate): Support keywords and change keymappings
2466 and headers when they are given.
2467 (package--has-keyword-p): Helper function.
2468 (package-menu--refresh): Use it.
2469 (package--mapc): Helper function.
2470 (package-all-keywords): Use it.
2471 (package-menu-mode-map): Set up menu items and keybindings to
2472 provide a filtering UI.
2474 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2476 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2477 the behavior when a certificate fails validation. Defaults to
2478 old behavior: never abort, just warn.
2479 (gnutls-negotiate): Use it.
2481 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2483 * window.el (display-buffer-below-selected): Never split window
2484 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2486 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2488 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2489 (package-buffer-info): Use it (bug#15108).
2491 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2493 * icomplete.el (icomplete-completions): Make sure the prefix is already
2494 displayed elsewhere before hiding it (bug#16219).
2496 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2498 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2499 open-paren tokens when preceded by a open-paren, too.
2500 (ruby-smie-rules): Handle virtual indentation after open-paren
2501 tokens specially. If there is code between it and eol, return the
2502 column where is starts (Bug#16118).
2504 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2506 * progmodes/cfengine.el: Fix `add-hook' doc.
2507 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2508 (cfengine3--current-word): Fix parameters.
2509 (cfengine3-make-syntax-cache): Simplify further.
2510 (cfengine3-completion-function, cfengine3--current-function):
2511 Use `assq' for symbols.
2512 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2514 2013-12-13 Glenn Morris <rgm@gnu.org>
2516 * loadup.el (load-path): Warn if site-load or site-init changes it.
2517 No more need to reset it when bootstrapping.
2519 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2521 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2522 locations for cf-promises.
2523 (cfengine-mode-syntax-functions-regex): New caching variable.
2524 (cfengine3-fallback-syntax): Fallback syntax for cases where
2525 cf-promises doesn't run.
2526 (cfengine3--current-word): Reimplement using
2527 `cfengine-mode-syntax-functions-regex'.
2528 (cfengine3-completion-function, cfengine3--current-function):
2529 Use `cfengine3-make-syntax-cache' directly.
2530 (cfengine3-clear-syntax-cache): New function.
2531 (cfengine3-make-syntax-cache): Simplify and create
2532 `cfengine-mode-syntax-functions-regex' on demand.
2533 (cfengine3-format-function-docstring): Don't call
2534 `cfengine3-make-syntax-cache' explicitly.
2536 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2538 Fix windmove-find-other-window broken after pixelwise resizing
2540 * windmove.el (windmove-other-window-loc): Revert change from
2542 (windmove-find-other-window): Call window-in-direction.
2543 * window.el (window-in-direction): New arguments SIGN, WRAP and
2544 MINI to emulate original windmove-find-other-window behavior.
2546 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2548 * simple.el (blink-matching--overlay): New variable.
2549 (blink-matching-open): Instead of moving point, highlight the
2550 matching paren with an overlay
2551 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2553 * faces.el (paren-showing-faces, show-paren-match)
2554 (show-paren-mismatch): Move from paren.el.
2556 2013-12-13 Leo Liu <sdl.web@gmail.com>
2558 * indent.el (indent-region): Disable progress reporter in
2559 minibuffer. (Bug#16108)
2561 * bindings.el (visual-order-cursor-movement): Fix version.
2563 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2565 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2566 Also match after beginning of line.
2567 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2568 files. Thanks to Russell Sim. (Bug#15378)
2570 2013-12-13 Juri Linkov <juri@jurta.org>
2572 * simple.el <Keypad support>: Remove key bindings duplicated
2573 with bindings.el. (Bug#14397)
2575 2013-12-13 Juri Linkov <juri@jurta.org>
2577 * comint.el (comint-mode-map): Replace `delete-char' with
2578 `delete-forward-char'. (Bug#16109)
2580 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2582 * progmodes/python.el (python-indent-calculate-indentation):
2583 Fix de-denters cornercase. (Bug#15731)
2585 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2587 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2588 (advice--make): Pay attention to `depth'.
2589 (advice--make-1): Don't autoload commands eagerly.
2590 * emacs-lisp/elp.el (elp-instrument-function):
2591 * emacs-lisp/trace.el (trace-function-internal):
2592 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2594 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2596 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2598 * term/w32-win.el (w32-handle-dropped-file):
2599 * startup.el (normal-top-level):
2600 * net/browse-url.el (browse-url-file-url):
2601 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2602 decode file names using 'utf-8' rather than
2603 file-name-coding-system.
2605 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2607 * progmodes/python.el (python-indent-context)
2608 (python-indent-calculate-indentation): Fix auto-identation
2609 behavior for comment blocks. (Bug#15916)
2611 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2613 * progmodes/python.el (python-indent-calculate-indentation):
2614 When determining indentation, don't treat "return", "pass", etc., as
2615 operators when they are just string constituents. (Bug#15812)
2617 2013-12-12 Juri Linkov <juri@jurta.org>
2619 * uniquify.el (uniquify-buffer-name-style): Change default to
2620 `post-forward-angle-brackets'.
2622 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2623 `uniquify'. Change default to `post-forward-angle-brackets'.
2625 2013-12-11 Glenn Morris <rgm@gnu.org>
2627 * emacs-lisp/package.el (finder-list-matches):
2628 Autoload rather than falsely declaring.
2630 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2632 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2633 (eww-mode-map): Use them.
2635 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2637 * window.el (display-buffer-in-side-window): Fix doc-string
2640 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2642 * vc/vc-git.el: Silence byte-compiler warnings.
2643 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2644 (log-edit-set-header): Declare.
2646 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2648 * Makefile.in (custom-deps, finder-data): Run output file names
2649 through unmsys--file-name. (Bug#16099)
2651 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2653 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2654 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2656 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2657 instead of deleting the selection "by hand" (bug#16098).
2658 Rely on insert-for-yank to yank rectangles.
2659 (cua-highlight-region-shift-only): Mark obsolete.
2660 (cua-mode): Don't enable/disable transient-mark-mode,
2661 shift-select-mode (cua-mode works both with and without them), and
2662 pc-selection-mode (obsolete).
2663 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2664 (cua--deactivate-rectangle): Deactivate it.
2666 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2667 (delete-selection-helper): Make sure yank starts at the top of the
2669 (minibuffer-keyboard-quit): Use region-active-p.
2671 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2673 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2674 to `delete' (bug#16109).
2676 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2678 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2679 info manual and show keybindings and set `:group' keyword.
2681 2013-12-11 Juri Linkov <juri@jurta.org>
2683 * delsel.el (delete-active-region): Let-bind `this-command'
2684 to prevent `kill-region' from changing its original value.
2685 (delete-selection-helper): Handle `overwrite-mode' for the type
2686 `kill' exactly the same way as for the type `t'.
2687 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2688 Support more commands. (Bug#13312)
2690 2013-12-11 Juri Linkov <juri@jurta.org>
2692 * bindings.el: Map kp keys to non-kp keys systematically
2693 with basic modifiers control, meta and shift. (Bug#14397)
2695 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2697 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2698 "Close browser" menu items. Fix wrong function of "List
2701 2013-12-11 Juri Linkov <juri@jurta.org>
2703 * misearch.el (multi-isearch-buffers): Set the value of
2704 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2705 arg of isearch-forward to t.
2706 (multi-isearch-buffers-regexp): Set the value of
2707 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2708 arg of isearch-forward-regexp to t.
2709 (multi-isearch-files): Set the value of
2710 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2711 arg of isearch-forward to t.
2712 (multi-isearch-files-regexp): Set the value of
2713 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2714 arg of isearch-forward-regexp to t. (Bug#16035)
2716 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2717 arg of isearch-forward to t.
2718 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2719 arg of isearch-forward-regexp to t.
2720 (dired-isearch-filter-filenames): Remove unnecessary check for
2721 `dired-isearch-filenames'.
2723 * comint.el (comint-history-isearch-backward):
2724 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2725 (comint-history-isearch-backward-regexp):
2726 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2728 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2730 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2731 unmsys--file-name. (Bug#16099)
2733 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2735 * emacs-lisp/package.el (package-keyword-button-action):
2736 Remove finder.el require dependency.
2738 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2740 * emacs-lisp/package.el: Require finder.el.
2741 (describe-package-1): Add keyword buttons.
2742 (package-make-button): New convenience function.
2743 (package-keyword-button-action): Keyword button action using
2744 `finder-list-matches'.
2746 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2748 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2751 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2753 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2756 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2758 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2759 after the end of a percent literal.
2761 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2763 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2764 Handle caret-delimited strings (Bug#16079).
2766 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2768 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2769 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2770 `ruby-parse-partial' (Bug#16078).
2772 2013-12-09 Leo Liu <sdl.web@gmail.com>
2774 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2776 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2778 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2779 (js-switch-indent-offset): New option.
2780 (js--proper-indentation): Use it. And handle the case when
2781 "default" is actually a key in an object literal.
2782 (js--same-line): New function.
2783 (js--multi-line-declaration-indentation): Use it.
2784 (js--indent-in-array-comp, js--array-comp-indentation):
2786 (js--proper-indentation): Use them, to handle array comprehension
2789 2013-12-08 Leo Liu <sdl.web@gmail.com>
2791 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2792 (flymake-make-overlay): Remove arg MOUSE-FACE.
2793 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2795 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2797 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2799 (redisplay-highlight-region-function): Use it.
2801 * emulation/cua-base.el (cua--explicit-region-start)
2802 (cua--last-region-shifted): Remove.
2803 (cua--deactivate): Use deactivate-mark.
2804 (cua--pre-command-handler-1): Don't handle shift-selection.
2805 (cua--post-command-handler-1): Don't change transient-mark-mode.
2806 (cua--select-keymaps): Use region-active-p rather than
2807 cua--explicit-region-start or cua--last-region-shifted.
2808 (cua-mode): Enable shift-select-mode.
2810 2013-12-08 Leo Liu <sdl.web@gmail.com>
2812 * progmodes/flymake.el (flymake-popup-current-error-menu):
2813 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2814 (flymake-posn-at-point-as-event, flymake-popup-menu)
2815 (flymake-make-emacs-menu): Remove. (Bug#16077)
2817 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2819 * rect.el (rectangle-mark-mode): Activate mark even if
2820 transient-mark-mode is off (bug#16066).
2821 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2822 is > mark and at bolp.
2824 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2825 (region-extract-function): Use it.
2826 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2827 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2829 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2830 kill-ring-save, kill-region, delete-char, delete-forward-char.
2831 Ignore self-insert-iso.
2833 * emulation/cua-gmrk.el (cua--init-global-mark):
2834 Ignore `self-insert-iso'.
2836 * emulation/cua-base.el (cua--prefix-copy-handler)
2837 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2838 checking cua--rectangle.
2839 (cua-delete-region): Use region-extract-function.
2840 (cua-replace-region): Delete function.
2841 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2842 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2843 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2844 (cua--init-keymaps): Don't remap delete-selection commands.
2845 (cua-mode): Use delete-selection-mode instead of rolling our own
2848 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2849 Obey region-extract-function.
2851 Make registers and delete-selection-mode work on rectangles.
2852 * register.el (describe-register-1): Don't modify the register's value.
2853 (copy-to-register): Obey region-extract-function.
2854 * delsel.el (delete-active-region): Obey region-extract-function.
2856 2013-12-08 Leo Liu <sdl.web@gmail.com>
2858 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2859 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2860 (flymake-compilation-prevents-syntax-check)
2861 (flymake-start-syntax-check-on-newline)
2862 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2863 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2864 (flymake-xml-program, flymake-master-file-dirs)
2865 (flymake-master-file-count-limit)
2866 (flymake-allowed-file-name-masks): Relocate.
2867 (flymake-makehash, flymake-float-time)
2868 (flymake-replace-regexp-in-string, flymake-split-string)
2869 (flymake-get-temp-dir): Remove.
2870 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2871 (flymake-current-row, flymake-selected-frame)
2872 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2873 related functions. (Bug#16077)
2875 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2877 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2879 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2881 * help-fns.el (describe-function-1): Use new advice-* functions
2882 rather than old ad-* functions. Fix function type description and
2883 source links for advised functions and subrs.
2885 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2887 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2889 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2891 * progmodes/compile.el (compilation-start):
2892 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2894 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2895 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2897 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2899 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2900 Touch up the last change.
2902 2013-12-06 Leo Liu <sdl.web@gmail.com>
2904 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2905 (inferior-octave-startup): Always use "octave> " for prompt.
2906 (octave-goto-function-definition)
2907 (octave-sync-function-file-names)
2908 (octave-find-definition-default-filename): Remove redundant backquotes.
2910 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2912 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2914 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2915 where appropriate already.
2916 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2917 end of method names (Bug#15874).
2919 2013-12-06 Juri Linkov <juri@jurta.org>
2921 * isearch.el (isearch--saved-overriding-local-map):
2922 New internal variable.
2923 (isearch-mode): Set it to the initial value of
2924 `overriding-terminal-local-map'.
2925 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2926 with `isearch--saved-overriding-local-map'. (Bug#16035)
2928 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2930 * progmodes/octave.el (inferior-octave-completion-table):
2931 Turn back into function, use `completion-table-with-cache'
2932 (Bug#11906). Update all references.
2934 * minibuffer.el (completion-table-with-cache): New function.
2936 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2938 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2940 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2942 * net/eww.el (eww-current-source): New variable to store page
2944 (eww-display-html, eww-mode, eww-save-history)
2945 (eww-restore-history): Use it.
2946 (eww-view-source): New command to view page source.
2947 Opportunistically uses `html-mode' to highlight the buffer.
2948 (eww-mode-map): Install it.
2950 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2952 * net/dbus.el (dbus-unregister-service)
2953 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2955 (dbus-unregister-service): Skip :serial entries in
2956 `dbus-registered-objects-table'.
2957 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2959 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2961 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2962 around keywords with extra `split-string' argument.
2964 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2966 * windmove.el (windmove-other-window-loc): Handle navigation
2967 between windows (excluding the minibuffer window - Bug#16017).
2969 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2971 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2972 in D-Bus type syntax.
2973 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2974 preserve unibyte strings. (Bug#16048)
2976 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2978 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2979 Call force-mode-line-update is the proper buffer (bug#16042).
2981 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2983 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2984 `log-edit-remember-comment', make argument optional. Adjust all
2986 (log-edit-mode): Add `log-edit-remember-comment' to
2987 `kill-buffer-hook' locally.
2988 (log-edit-kill-buffer): Don't remember comment explicitly since
2989 the buffer is killed anyway.
2991 2013-12-04 Juri Linkov <juri@jurta.org>
2993 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2994 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2996 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2998 * notifications.el (notifications-close-notification): Call the
2999 D-Bus method with ID being a `:uint32'. (Bug#16030)
3001 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3003 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3005 2013-12-03 Juri Linkov <juri@jurta.org>
3007 * progmodes/compile.el (compilation-start): Rename window alist
3008 entry `no-display-ok' to `allow-no-window'.
3010 * simple.el (shell-command): Add window alist entry
3011 `allow-no-window' to `display-buffer'.
3012 (async-shell-command): Doc fix.
3014 * window.el (display-buffer-no-window): New action function.
3015 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3017 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3019 * vc/log-edit.el (log-edit-set-header): Extract from
3020 `log-edit-toggle-header'.
3021 (log-edit-extract-headers): Separate the summary, when extracted
3022 from header, from the rest of the message with an empty line.
3024 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3025 line, if present, to the Summary header.
3027 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3029 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3030 in current-buffer (bug#16029).
3032 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3034 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3035 (debugger-mode-map): Bind it.
3036 (debugger--backtrace-base): New function.
3037 (debugger-eval-expression): Use it.
3038 (debugger-frame-number): Skip local vars when present.
3039 (debugger--locals-visible-p, debugger--insert-locals)
3040 (debugger--show-locals, debugger--hide-locals): New functions.
3042 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3044 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3046 (tramp-get-remote-locale): New defun.
3047 (tramp-open-connection-setup-interactive-shell): Use it.
3049 2013-12-02 Leo Liu <sdl.web@gmail.com>
3051 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3053 * progmodes/sh-script.el (sh-shell-process):
3054 * progmodes/octave.el (inferior-octave-process-live-p):
3055 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3056 (gdb-inferior-io-sentinel):
3057 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3059 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3061 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3062 `save-selected-window' to `log-edit-hide-buf'. This makes
3063 `log-edit-show-files' idempotent.
3064 (log-edit-show-files): Mark the new window as dedicated.
3066 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3068 * vc/log-edit.el (log-edit-mode-map): Add binding for
3069 `log-edit-kill-biffer'.
3070 (log-edit-hide-buf): Add a FIXME comment.
3071 (log-edit-add-new-comment): New function, extracted from
3073 (log-edit-done, log-edit-add-to-changelog): Use it.
3074 (log-edit-kill-buffer): New command.
3076 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3078 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3079 instead of killing the buffer.
3081 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3083 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3085 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3087 * net/eww.el (eww-form-checkbox-selected-symbol)
3088 (eww-form-checkbox-symbol): New customizable variable.
3089 (eww-form-checkbox, eww-toggle-checkbox):
3090 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3092 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3093 (shr--get-media-pref, shr--extract-best-source): New function.
3094 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3095 no :src tag was specified.
3097 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3098 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3099 Use \\` to match beginning of string instead of ^.
3100 (eww-browse-with-external-browser): Provide optional URL parameter.
3101 (eww-render): Set `eww-current-title' back to "".
3103 * net/shr.el (shr-tag-video): Display content for video if no
3104 poster is available.
3105 (shr-tag-audio): Add support for <audio> tag.
3107 * net/eww.el (eww-text-input-types): New const.
3108 (eww-process-text-input): Treat input types in
3109 `eww-text-input-types' as text.
3111 * net/shr.el (shr-tag-table): Fix comment typo.
3113 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3115 * net/eww.el (eww-follow-link): New command to avoid reloading
3116 pages when we follow #target links (bug#15243).
3117 (eww-quit): Special mode buffers shouldn't query before exiting.
3119 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3121 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3124 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3126 * net/eww.el (eww-restore-history): Update the window title after
3127 moving in the history.
3128 (eww-current-dom): New variable used to save the current DOM.
3130 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3132 * vc/log-edit.el (log-edit-mode-map): Add binding for
3133 `log-edit-beginning-of-line'.
3134 (log-edit-setup-add-author): New user option.
3135 (log-edit-beginning-of-line): New command.
3136 (log-edit): Move major mode call above the contents setup so that
3137 the local variable values are already applied.
3138 (log-edit): Only insert "Author: " when
3139 `log-edit-setup-add-author' is non-nil.
3140 (log-edit): When SETUP is non-nil, position point after ": "
3141 instead of point-min.
3143 2013-12-01 Glenn Morris <rgm@gnu.org>
3145 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3147 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3149 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3150 redisplay to make sure the initial frame gets a chance to become
3151 visible. (Bug#16014)
3153 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3155 Support resizing frames and windows pixelwise.
3156 * cus-start.el (frame-resize-pixelwise)
3157 (window-resize-pixelwise): New entries.
3158 * emacs-lisp/debug.el (debug): Use window-total-height instead
3159 of window-total-size.
3160 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3161 * help.el (describe-bindings-internal): Call help-buffer
3162 (temp-buffer-max-width): New option.
3163 (resize-temp-buffer-window, help-window-setup)
3164 (with-help-window): Rewrite.
3165 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3167 * window.el (frame-char-size, window-min-pixel-height)
3168 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3169 (window-min-pixel-width, window-safe-min-pixel-size)
3170 (window-combination-p, window-safe-min-size)
3171 (window-resizable-p, window--size-to-pixel)
3172 (window--pixel-to-size, window--resize-apply-p): New functions.
3173 (window-safe-min-height): Fix doc-string.
3174 (window-size, window-min-size, window--min-size-1)
3175 (window-sizable, window-sizable-p, window--min-delta-1)
3176 (window-min-delta, window--max-delta-1, window-max-delta)
3177 (window--resizable, window--resizable-p, window-resizable)
3178 (window-full-height-p, window-full-width-p, window-at-side-p)
3179 (window--in-direction-2, window-in-direction)
3180 (window--resize-reset-1, window--resize-mini-window)
3181 (window-resize, window-resize-no-error)
3182 (window--resize-child-windows-normal)
3183 (window--resize-child-windows, window--resize-siblings)
3184 (window--resize-this-window, window--resize-root-window)
3185 (window--resize-root-window-vertically)
3186 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3187 (maximize-window, minimize-window, delete-window)
3188 (quit-restore-window, window-split-min-size, split-window)
3189 (balance-windows-2, balance-windows)
3190 (balance-windows-area-adjust, balance-windows-area)
3191 (window--state-get-1, window-state-get, window--state-put-1)
3192 (window--state-put-2, window-state-put)
3193 (display-buffer-record-window, window--display-buffer):
3194 Make functions handle pixelwise sizing of windows.
3195 (display-buffer--action-function-custom-type)
3196 (display-buffer-fallback-action):
3197 Add display-buffer-in-previous-window.
3198 (display-buffer-use-some-window): Resize window to height it had
3200 (fit-window-to-buffer-horizontally): New option.
3201 (fit-frame-to-buffer): Describe new values.
3202 (fit-frame-to-buffer-bottom-margin): Replace with
3203 fit-frame-to-buffer-margins.
3204 (window--sanitize-margin): New function.
3205 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3206 using window-text-pixel-size.
3208 2013-11-30 Glenn Morris <rgm@gnu.org>
3210 * emacs-lisp/bytecomp.el (byte-compile-form):
3211 Make the `interactive-only' warning like the `obsolete' one.
3212 * comint.el (comint-run):
3213 * files.el (insert-file-literally, insert-file):
3214 * replace.el (replace-string, replace-regexp):
3215 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3216 (goto-line, insert-buffer, next-line, previous-line):
3217 Tweak `interactive-only' spec.
3219 Stop keeping (most) generated cedet grammar files in the repository.
3220 * Makefile.in (semantic): New.
3221 (compile-main): Depend on semantic.
3223 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3225 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3226 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3228 * uniquify.el (uniquify-buffer-name-style): Change default.
3230 * loadup.el: Preload "uniquify".
3232 * time.el (display-time-update): Update all mode lines (bug#15999).
3234 * electric.el (electric-indent-mode): Enable by default.
3235 * loadup.el: Preload "electric".
3237 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3239 * emacs-lisp/helpers.el (string-empty-p): New function.
3240 (string-blank-p): New function.
3242 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3244 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3247 2013-11-29 Andreas Politz <politza@fh-trier.de>
3248 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3249 allow non-lambda lists as functions.
3250 (imenu--in-alist): Don't recurse into non-subalists.
3251 (imenu): Don't pass function itself as an argument (Bug#14029).
3253 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3255 * progmodes/python.el (python-mode-map): Remove binding for ":".
3256 (python-indent-electric-colon): Remove command.
3257 (python-indent-post-self-insert-function): Integrate the previous code
3258 of python-indent-electric-colon. Make it conditional on
3259 electric-indent-mode.
3260 (python-mode): Add ?: to electric-indent-chars.
3261 Move python-indent-post-self-insert-function to the end of
3262 post-self-insert-hook.
3264 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3266 * doc-view.el (doc-view-goto-page): Update mode-line.
3268 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3270 2013-11-27 Glenn Morris <rgm@gnu.org>
3272 * international/charprop.el, international/uni-bidi.el:
3273 * international/uni-category.el, international/uni-combining.el:
3274 * international/uni-comment.el, international/uni-decimal.el:
3275 * international/uni-decomposition.el, international/uni-digit.el:
3276 * international/uni-lowercase.el, international/uni-mirrored.el:
3277 * international/uni-name.el, international/uni-numeric.el:
3278 * international/uni-old-name.el, international/uni-titlecase.el:
3279 * international/uni-uppercase.el:
3280 Remove generated files from VCS repository.
3282 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3284 * filenotify.el (file-notify-add-watch): Don't special-case
3285 w32notify when computing the directory to watch.
3287 2013-11-27 Glenn Morris <rgm@gnu.org>
3289 Make bootstrap without generated uni-*.el files possible again.
3290 * loadup.el: Update command-line-args checking for unidata-gen.
3291 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3292 * composite.el, international/characters.el:
3293 Handle unicode tables being undefined.
3295 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3296 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3297 (compile-main): Depend on leim rule.
3299 * loadup.el: Move leim-list.el to leim/ subdirectory.
3300 * startup.el (normal-top-level): No more leim directory.
3301 * international/ja-dic-cnv.el (skkdic-convert):
3302 Disable version-control and autoloads in output files.
3303 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3304 Disable version-control and autoloads in output files.
3305 * leim/quail: Move here from ../leim.
3306 * leim/quail/hangul.el (hangul-input-method-activate):
3307 Add autoload cookie.
3308 (generated-autoload-load-name): Set file-local value.
3309 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3310 (generated-autoload-load-name): Set file-local value.
3312 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3314 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3315 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3316 (eww-quit): Ask confirmation before quitting eww.
3318 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3320 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3321 reading output from Diff on MS-Windows and MS-DOS.
3323 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3325 * emacs-lisp/helpers.el (string-reverse): New function.
3327 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3329 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3330 names on MS Windows, like "/[::1]:".
3332 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3335 2013-11-26 Glenn Morris <rgm@gnu.org>
3337 * progmodes/python.el (python-indent-guess-indent-offset):
3338 Avoid corner-case error. (Bug#15975)
3340 Preload leim-list.el. (Bug#4789)
3341 * loadup.el: Load leim-list.el when found.
3342 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3344 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3346 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3348 * emacs-lisp/helpers.el (string-join): New function.
3350 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3352 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3353 Mark as obsolete and replace it with a symbol property.
3354 (byte-compile-form): Use new 'interactive-only property.
3355 * comint.el, files.el, replace.el, simple.el:
3356 Apply new 'interactive-only properly.
3358 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3360 * window.el (display-buffer-at-bottom): Make sure that
3361 split-window-sensibly creates the new window on bottom
3364 2013-11-23 David Kastrup <dak@gnu.org>
3366 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3367 on the conflict markers when available.
3368 (smerge--get-marker): New function.
3369 (smerge-end-re, smerge-base-re): Add subgroup.
3371 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3373 * frame.el (handle-focus-in, handle-focus-out): Add missing
3376 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3378 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3379 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3381 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3383 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3384 (gomoku--last-pos): New var.
3385 (gomoku--intangible-chars): New const.
3386 (gomoku--intangible): New function.
3387 (gomoku-mode): Use it. Derive from special-mode.
3388 (gomoku-move-up): Adjust line count.
3389 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3390 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3391 Simplify accordingly.
3393 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3394 Remove blink-cursor code.
3395 (blink-cursor-timer-function, blink-cursor-suspend):
3396 Don't special-case GUIs.
3397 (blink-cursor-mode): Use focus-in/out-hook.
3399 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3401 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3402 work when annotation is invisible (Bug#13886).
3404 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3406 * json.el (json-alist-p): Only return non-nil if the alist has
3407 simple keys (Bug#13518).
3409 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3411 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3412 when control-statement is the first statement in a buffer (Bug#15956).
3414 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3416 * imenu.el (imenu-generic-skip-comments-and-strings):
3417 New option (Bug#15560).
3418 (imenu--generic-function): Use it.
3420 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3422 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3425 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3427 * emacs-lisp/helpers.el: Add some string helpers.
3428 (string-trim-left): Removes leading whitespace.
3429 (string-trim-right): Removes trailing whitespace.
3430 (string-trim): Removes leading and trailing whitespace.
3432 * subr.el (string-suffix-p): New function.
3434 2013-11-23 Glenn Morris <rgm@gnu.org>
3436 * progmodes/python.el (python-shell-send-file):
3437 Add option to delete file when done. (Bug#15647)
3438 (python-shell-send-string, python-shell-send-region): Use it.
3440 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3442 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3443 to set buffer-read-only to t, never to nil. (Bug#15938)
3445 * textmodes/tex-mode.el (latex-noindent-environments):
3446 Add safe-local-variable property. (Bug#15936)
3448 2013-11-23 Glenn Morris <rgm@gnu.org>
3450 * textmodes/enriched.el (enriched-mode): Doc fix.
3451 * emacs-lisp/authors.el (authors-renamed-files-alist):
3452 Add enriched.doc -> enriched.txt.
3454 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3456 2013-11-22 Leo Liu <sdl.web@gmail.com>
3458 * progmodes/octave.el (inferior-octave-startup): Spit out error
3461 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3463 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3466 (ruby-encoding-magic-comment-style): Add :version.
3468 2013-11-22 Leo Liu <sdl.web@gmail.com>
3470 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3472 (octave-help-mode): Adapt to change to help-mode-finish to use
3473 derived-mode-p on 2013-09-17.
3474 (inferior-octave-prompt): Also match octave-gui.
3475 (octave-kill-process): Don't ask twice. (Bug#10564)
3477 2013-11-22 Leo Liu <sdl.web@gmail.com>
3479 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3480 (inferior-octave-startup, inferior-octave-check-process)
3481 (inferior-octave-track-window-width-change)
3482 (octave-completion-at-point, octave-eldoc-function): Use it.
3483 (octave-kill-process): Provide confirmation. (Bug#10564)
3485 2013-11-21 Leo Liu <sdl.web@gmail.com>
3487 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3488 Fix obsolete variable comment-use-global-state.
3490 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3492 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3493 Add `octave-source-file'.
3494 (octave-source-file): New function. (Bug#15935)
3496 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3498 * net/eww.el (eww-local-regex): New variable.
3499 (eww): Use it to detect localhost and similar.
3501 2013-11-21 Leo Liu <sdl.web@gmail.com>
3503 Add completion for command `ag'.
3504 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3505 (pcomplete/ag): New function.
3506 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3508 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3512 (make-obsolete): Remove interactive spec.
3514 2013-11-21 Glenn Morris <rgm@gnu.org>
3516 * startup.el (command-line-1): Use path-separator with -L.
3518 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3520 * emacs-lisp/package.el (describe-package-1): Add package archive
3523 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3525 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3526 Change default to "# encoding: %s" to differentiate it from the
3527 default Ruby encoding comment template.
3529 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3531 * ses.el (ses-mode): Doc fix. (Bug#14748)
3533 2013-11-20 Leo Liu <sdl.web@gmail.com>
3535 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3537 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3539 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3540 when rebase or bisect are in progress.
3542 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3544 * filenotify.el (file-notify-add-watch): Doc fix.
3546 2013-11-19 Leo Liu <sdl.web@gmail.com>
3548 * obsolete/rcompile.el: Mark obsolete.
3550 * progmodes/compile.el (compilation-start)
3551 (compilation-goto-locus, compilation-find-file):
3552 Pass no-display-ok and handle nil value from display-buffer.
3555 * window.el (display-buffer-alist, display-buffer): Document the
3556 new parameter no-display-ok. Return either a window or nil
3557 but never a non-window value.
3559 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3561 * electric.el (electric-indent-mode-map): Remove.
3562 (electric-indent-mode): Change the global-map instead (bug#15915).
3564 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3567 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3569 * emacs-lisp/nadvice.el (remove-function): Align with
3570 add-function's behavior.
3572 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3573 (gdb--string-regexp): New constant.
3574 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3575 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3576 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3578 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3579 Adjust use accordingly.
3580 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3582 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3584 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3585 interpolation curlies (Bug#15914).
3587 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3589 * calc/calc.el (calc-context-sensitive-enter): New variable.
3590 (calc-enter): Use `calc-context-sensitive-enter'.
3592 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3594 * progmodes/cfengine.el: Version bump.
3595 (cfengine-cf-promises): New defcustom to locate cf-promises.
3596 (cfengine3-vartypes): Add new "data" type.
3597 (cfengine3--current-word): New function to get current name-like
3599 (cfengine3--current-function): New function to look up a CFEngine
3600 function's definition.
3601 (cfengine3-format-function-docstring): New function.
3602 (cfengine3-make-syntax-cache): New function.
3603 (cfengine3-documentation-function): New function: ElDoc glue.
3604 (cfengine3-completion-function): New function: completion glue.
3605 (cfengine3-mode): Set `compile-command',
3606 `eldoc-documentation-function', and add to
3607 `completion-at-point-functions'.
3609 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3611 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3612 `tramp-current-connection'.
3614 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3616 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3617 nil/self/true/false with "end of symbol".
3619 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3621 * subr.el (version-regexp-alist): Fix a typo.
3623 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3625 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3626 "en_US.utf8" and "LC_CTYPE" to "".
3627 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3628 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3630 2013-11-15 Leo Liu <sdl.web@gmail.com>
3632 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3634 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3636 * progmodes/gud.el (ctl-x-map):
3637 Remove C-x SPC binding. (Bug#12342)
3638 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3640 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3642 * subr.el (version-regexp-alist):
3643 Recognize hg, svn and darcs versions as snapshot versions.
3645 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3646 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3647 (ruby--encoding-comment-required-p): Extract from
3648 `ruby-mode-set-encoding'.
3649 (ruby-mode-set-encoding): Add the ability to always insert an
3650 utf-8 encoding comment. Fix and simplify coding comment update
3653 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3655 * net/tramp-gvfs.el (top): Run init code only when
3656 `tramp-gvfs-enabled' is not nil.
3657 (tramp-gvfs-enabled): Check also :system bus.
3659 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3661 Sync with upstream verilog-mode revision 78e66ba.
3662 * progmodes/verilog-mode.el (verilog-end-of-defun)
3663 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3664 (verilog-get-end-of-defun): Remove unused argument.
3665 (verilog-comment-depth): Remove unused local `e'.
3666 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3667 Don't pass arg to verilog-get-end-of-defun.
3669 2013-11-14 Glenn Morris <rgm@gnu.org>
3671 * obsolete/assoc.el (aget): Prefix dynamic variable.
3673 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3675 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3677 * widget.el, hfy-cmap.el: Remove bogus package version number.
3679 2013-11-13 Glenn Morris <rgm@gnu.org>
3681 * replace.el (replace-eval-replacement):
3682 Try to give more helpful error message. (Bug#15836)
3684 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3685 (archive-7z-update): Avoid custom type mismatches.
3687 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3689 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3691 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3692 address can be empty.
3694 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3695 Accept nil SWITCHES.
3696 (tramp-gvfs-handle-write-region): Implement APPEND.
3698 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3700 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3701 binary "|" operator and closing block args delimiter.
3702 Remove FIXME comment referring to Ruby 1.8-only syntax.
3703 (ruby-smie--implicit-semi-p): Not after "|" operator.
3704 (ruby-smie--closing-pipe-p): New function.
3705 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3706 (ruby-smie-rules): Indent after "|".
3708 2013-11-12 Glenn Morris <rgm@gnu.org>
3710 * ps-print.el (ps-face-attribute-list):
3711 Handle anonymous faces. (Bug#15827)
3713 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3715 * window.el (display-buffer-other-frame): Fix doc-string.
3718 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3720 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3722 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3724 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3725 (tramp-sh-handle-file-local-copy): Don't write a message when
3726 saving temporary files.
3728 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3729 both directories are remote.
3730 (tramp-smb-handle-directory-files): Do not return double entries.
3731 Do not expand full file names.
3732 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3733 (tramp-smb-handle-write-region): Implement APPEND.
3734 (tramp-smb-get-stat-capability): Fix a stupid bug.
3736 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3740 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3742 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3743 throwing error over malformed let/let* (bug#15814).
3745 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3747 * iswitchb.el (iswitchb-mode): Mark obsolete.
3749 2013-11-11 Glenn Morris <rgm@gnu.org>
3751 * international/uni-bidi.el, international/uni-category.el:
3752 * international/uni-name.el, international/uni-numeric.el:
3753 Regenerate for Unicode 6.3.0.
3755 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3757 * net/tramp.el (tramp-methods):
3758 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3759 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3761 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3763 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3764 Force highlighting text after Summary keyword in doc face for rpm.
3766 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3768 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3769 available and the word has no wildcards, append one to the grep pattern.
3770 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3771 (ispell-complete-word): Call `ispell-lookup-words' with the value
3772 independent of `ispell-look-p'.
3774 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3776 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3778 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3781 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3783 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3784 (ruby-font-lock-keywords): Use backquote.
3786 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3788 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3789 (ruby-smie--backward-token): Only consider full-string matches.
3791 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3793 * faces.el (describe-face): Add distant-foreground.
3795 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3797 * progmodes/ruby-mode.el: Improve encoding comment handling.
3798 (ruby-encoding-magic-comment-style): New option.
3799 (ruby-custom-encoding-magic-comment-template): New option.
3800 (ruby--insert-coding-comment, ruby--detect-encoding):
3801 New functions extracted from `ruby-mode-set-encoding'.
3802 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3803 to control the style of the auto-inserted encoding comment.
3805 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3807 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3808 Use `smie-backward-sexp' with token argument.
3810 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3812 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3813 Remove instrumentation code.
3815 2013-11-08 Glenn Morris <rgm@gnu.org>
3817 * progmodes/autoconf.el (autoconf-mode):
3818 Tweak comment-start-skip. (Bug#15822)
3820 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3822 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3823 at bobp (bug#15826).
3824 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3826 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3828 * man.el (Man-start-calling): New macro, extracted from
3829 Man-getpage-in-background.
3830 (Man-getpage-in-background): Use it.
3831 (Man-update-manpage): New command.
3832 (Man-mode-map): Bind it.
3834 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3836 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3837 of "and", "or", "&&" and "||".
3838 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3839 argument. Prohibit opening curly brace because it could only be a
3840 block opener in that position.
3841 (ruby-smie--forward-token, ruby-smie--backward-token):
3842 Separate "|" from "&" or "*" going after it. That can happen in block
3844 (ruby-smie--indent-to-stmt): New function, seeks the end of
3845 previous statement or beginning of buffer.
3846 (ruby-smie-rules): Use it.
3847 (ruby-smie-rules): Check if there's a ":" before a curly block
3848 opener candidate; if there is, it's a hash.
3850 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3853 (cl--block-wrapper): Fix last accidental change.
3855 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3857 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3858 Instrument, in order to hunt failure on hydra.
3860 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3862 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3863 malformed bindings form (bug#15814).
3865 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3867 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3868 "." compared to " @ ". This incidentally fixes some indentation
3870 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3871 (ruby-smie-grammar): New tokens: "and" and "or".
3872 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3873 Exclude "and" and "or". Remove "do" in order to work around token
3875 (ruby-smie-rules): Add all infix tokens. Handle the case of
3876 beginning-of-buffer.
3878 2013-11-06 Glenn Morris <rgm@gnu.org>
3880 * Makefile.in (setwins_almost, setwins_for_subdirs):
3881 Avoid accidental matches.
3883 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3885 * menu-bar.el (popup-menu): Use key-binding.
3887 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3889 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3890 menus, support also the menus produced by minor modes.
3893 2013-11-06 Leo Liu <sdl.web@gmail.com>
3895 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3896 DISTANCE to bound the search. All uses changed. (Bug#15808)
3898 2013-11-06 Glenn Morris <rgm@gnu.org>
3900 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3901 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3902 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3904 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * electric.el (electric-indent-just-newline): New command.
3907 (electric-indent-mode-map): New keymap.
3908 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3909 Re-add :group which weren't redundant.
3911 * electric.el (electric-indent-local-mode): New minor mode.
3912 (electric-indent-functions-without-reindent): New var.
3913 (electric-indent-post-self-insert-function): Use it.
3914 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3916 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3918 * international/quail.el (quail-help): Be more explicit about the
3919 meaning of the labels shown on the keys. (Bug#15800)
3921 * startup.el (normal-top-level): Load the subdirs.el files before
3922 setting the locale environment. (Bug#15805)
3924 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3926 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3927 via arguments so as to get the right ones (bug#15418).
3929 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3931 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3933 Fix problems found while writing a test suite.
3935 * net/tramp-compat.el (tramp-compat-load): New defun.
3936 * net/tramp.el (tramp-handle-load): Use it.
3938 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3939 "(numberp ok-if-already-exists)" correctly.
3941 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3943 * international/characters.el (glyphless-char-display-control):
3946 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3948 * progmodes/python.el (python-mode):
3949 * progmodes/scheme.el (scheme-mode):
3950 * progmodes/prolog.el (prolog-mode):
3951 * progmodes/ruby-mode.el (ruby-mode):
3952 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3953 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3955 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3957 * rect.el (rectangle--highlight-for-redisplay):
3958 * emacs-lisp/smie.el (smie--next-indent-change):
3959 Use buffer-chars-modified-tick.
3961 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3963 * electric.el (electric-indent-post-self-insert-function):
3964 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3966 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3968 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3970 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3972 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3975 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3977 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3979 * progmodes/python.el: Fix up last change.
3980 (python-shell--save-temp-file): New function.
3981 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3982 `string' comes from the current buffer.
3983 (python-shell-send-string-no-output): Remove `msg' arg.
3984 (python--use-fake-loc): New var.
3985 (python-shell-buffer-substring): Obey it. Try to compensate for the
3986 extra coding line added by python-shell--save-temp-file.
3987 (python-shell-send-region): Use python-shell--save-temp-file and
3988 python-shell-send-file directly. Add `nomain' argument.
3989 (python-shell-send-buffer): Use python-shell-send-region.
3990 (python-electric-pair-string-delimiter): New function.
3991 (python-mode): Use it.
3993 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3995 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3996 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3997 environment and decoding all of the default-directory's to here
3999 (command-line): Decode also argv[0].
4001 * loadup.el: Error out if default-directory is a multibyte string
4002 when we are dumping.
4004 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4006 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4008 * emacs-lisp/package.el (package-menu-mode)
4009 (package-menu--print-info, package-menu--archive-predicate):
4010 Add Archive column to package list.
4012 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4014 Fix problems found while writing a test suite.
4016 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4017 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4018 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4019 to nil when running original file name handler. Otherwise,
4020 there are problems with constructs like "$$FOO".
4022 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4025 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4027 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4029 * subr.el (version<, version<=, version=):
4030 Update docstrings with information for snapshot versions.
4032 * helpers.el: New library for misc helper functions.
4033 (hash-table-keys): New function returning a list of hash keys.
4034 (hash-table-values): New function returning a list of hash values.
4036 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4038 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4039 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4041 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4043 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4044 checking whether point is after a 1-letter word.
4046 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4048 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4049 Don't infloop when expanding region over `multiline' syntax-type that
4050 begins a line (bug#15778).
4052 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4054 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4055 Make it into a proper minor mode.
4056 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4057 (rectangle-mark-mode-map): New keymap.
4058 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4060 2013-11-04 Glenn Morris <rgm@gnu.org>
4062 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4064 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4066 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4067 (ruby-smie-rules): Use smie-rule-parent instead.
4069 * emacs-lisp/smie.el (smie-rule-parent): Always call
4070 smie-indent-virtual rather than only for hanging tokens.
4071 (smie--next-indent-change): New helper command.
4073 2013-11-03 Glenn Morris <rgm@gnu.org>
4075 * Makefile.in (abs_srcdir): Remove.
4076 (emacs): Unset EMACSLOADPATH.
4078 2013-11-02 Glenn Morris <rgm@gnu.org>
4080 * Makefile.in (EMACS): Use a relative filename.
4081 (abs_top_builddir): Remove.
4082 (custom-deps, finder-data, autoloads): Use --chdir.
4084 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4086 Use relative filenames in TAGS files.
4087 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4088 (lisptagsfiles4, TAGS): Use relative file names.
4089 (TAGS-LISP): Remove.
4090 (maintainer-clean): No more TAGS-LISP file.
4092 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4093 (lisptagsfiles4): Use absolute filenames again.
4094 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4095 Remove all *loaddefs files, not just the first. Remove esh-groups.
4096 (maintainer-clean): Delete TAGS, TAGS-LISP.
4098 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4100 * emacs-lisp/package.el (package-version-join):
4101 Recognize snapshot versions.
4103 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4105 * subr.el (version-regexp-alist): Add support for snapshot versions.
4107 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4109 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4110 New function, replacement for `smie-rule-parent' for when we want to
4111 skip over our direct parent if it's an assignment token..
4112 (ruby-smie-rules): Use it.
4114 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4116 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4117 unconditionally. Remove now unnecessary forward declarations.
4118 Remove XEmacs-specific setup.
4119 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4120 (ruby-font-lock-syntactic-keywords)
4121 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4122 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4123 (ruby-here-doc-end-syntax): Remove.
4124 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4125 defined as function.
4127 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4129 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4131 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4133 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4134 table and abbrev table, `define-derived-mode' does that for us
4137 2013-11-01 Glenn Morris <rgm@gnu.org>
4139 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4140 files is atomic for some time, so no parallel compilation issues).
4142 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4144 * faces.el (face-x-resources): Add :distant-foreground.
4145 (region): Use :distant-foreground for gtk and ns.
4147 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4149 Allow multiple bibliographies when BibLaTeX is used rather than
4151 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4152 (reftex-locate-bibliography-files): Us it.
4154 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4156 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4157 allow comments in pbm files.
4159 * term/w32-win.el (dynamic-library-alist): Support newer versions
4160 of libjpeg starting with v7: look only for the DLL from the
4161 version against which Emacs was built.
4162 Support versions of libpng beyond 1.4.x.
4163 Support libtiff v4.x.
4165 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4167 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4168 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4170 (ruby-deep-arglist): Add property :type.
4172 2013-10-31 Glenn Morris <rgm@gnu.org>
4174 * Makefile.in (custom-deps, finder-data): No need to setq the target
4175 variables, we are in the right directory and the defaults work fine.
4177 2013-10-30 Glenn Morris <rgm@gnu.org>
4179 * Makefile.in (autoloads): Do not use abs_lisp.
4181 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4182 `newline' does not respect `standard-output', so use `princ'.
4184 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4186 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4187 * buff-menu.el (Buffer-menu--unmark): New function.
4188 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4190 2013-10-30 Glenn Morris <rgm@gnu.org>
4192 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4194 * emacs-lisp/package.el (lm-homepage): Declare.
4196 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4199 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4201 * Makefile.in (finder-data, autoloads, update-subdirs)
4202 (compile-main, compile-clean, compile-always, bootstrap-clean):
4203 Check return value of cd.
4204 (compile-calc): Remove.
4206 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4208 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4210 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4211 (byte-compile-and-folded): New function.
4212 (=, <, >, <=, >=): Use it.
4214 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4215 (path-separator, null-device, buffer-file-coding-system)
4216 (lpr-headers-switches): Check system-type before modifying them.
4217 (find-buffer-file-type-coding-system): Mark obsolete.
4218 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4219 find-file-not-found-set-buffer-file-coding-system.
4220 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4221 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4222 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4223 (w32-direct-print-region-helper, w32-direct-print-region-function)
4224 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4225 * startup.el (normal-top-level-add-subdirs-to-load-path):
4226 * ps-print.el (ps-print-region-function):
4227 * lpr.el (print-region-function): Use new name.
4229 * subr.el (custom-declare-variable-early): Remove function.
4230 (custom-declare-variable-list): Remove var.
4231 (error, user-error): Remove `while' loop.
4232 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4233 (user-emacs-directory-warning, locate-user-emacs-file):
4235 * simple.el (read-quoted-char-radix, read-quoted-char):
4236 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4238 * custom.el (custom-declare-variable-list): Don't process
4239 custom-declare-variable-list.
4241 * progmodes/python.el (python-shell-get-buffer): New function.
4242 (python-shell-get-process): Use it.
4243 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4244 Python which encoding was used. Don't split-string since we only care
4245 about the first line. Return the temp-file, if applicable.
4246 (python-shell-send-region): Tell compile.el how to turn locations in
4247 the temp-file into locations in the source buffer.
4249 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4251 * subr.el (undefined): Add missing behavior from the C code for
4254 * rect.el: Use lexical-binding. Add new rectangular region support.
4255 (rectangle-mark): New command.
4256 (rectangle--region): New var.
4257 (deactivate-mark-hook): Reset rectangle--region.
4258 (rectangle--extract-region, rectangle--insert-for-yank)
4259 (rectangle--highlight-for-redisplay)
4260 (rectangle--unhighlight-for-redisplay): New functions.
4261 (region-extract-function, redisplay-unhighlight-region-function)
4262 (redisplay-highlight-region-function): Use them to handle
4264 * simple.el (region-extract-function): New var.
4265 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4266 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4267 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4268 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4269 (redisplay-unhighlight-region-function)
4270 (redisplay-highlight-region-function): New vars.
4271 (redisplay--update-region-highlight): New function.
4272 (pre-redisplay-function): Use it.
4273 (exchange-point-and-mark): Don't deactivate the mark before
4274 reactivate-it anyway.
4275 * comint.el (comint-kill-region): Remove yank-handler argument.
4276 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4277 (delete-char): Remove property, since it's now part of their
4279 (self-insert-iso): Remove property since this command doesn't exist.
4281 * emacs-lisp/package.el (package--download-one-archive)
4282 (describe-package-1): Don't query the user about final newline.
4284 2013-10-29 Daniel Colascione <dancol@dancol.org>
4286 * net/tramp.el (tramp-methods): Document new functionality.
4287 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4288 tramp-hostname-checker if method provides one instead of scanning
4289 argument list for "%h" to decide hostname acceptability.
4291 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4293 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4294 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4295 Handle COPY-CONTENTS. (Bug#15737)
4297 2013-10-28 Daiki Ueno <ueno@gnu.org>
4300 (epa-file-cache-passphrase-for-symmetric-encryption):
4301 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4303 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4305 * image.el (defimage):
4306 (image-load-path): Doc fixes.
4308 2013-10-27 Alan Mackenzie <acm@muc.de>
4310 Indent statements in macros following "##" correctly.
4311 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4312 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4314 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4316 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4318 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4320 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4321 after `=' is probably a new expression.
4323 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4325 * man.el (man-imenu-title): New option.
4326 (Man-mode-map): Add menu. (Bug#15722)
4327 (Man-mode): Add imenu to menu.
4329 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4331 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4332 specific in what the first arg can be: a non-keyword word,
4333 string/regexp/percent literal opener, opening paren, or unary
4334 operator followed directly by word.
4336 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4338 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4339 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4340 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4341 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4342 Remove vars, they do not apply any more.
4343 (prolog-mode-abbrev-table): Remove redundant declaration.
4344 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4345 (prolog-use-smie): Remove.
4346 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4347 supported by prolog-electric-if-then-else-flag.
4348 (prolog-mode-variables, prolog-menu): Use setq-local.
4349 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4350 Remove binding to `Backspace' since this key doesn't exist anyway.
4351 Remove bindings for electric self-inserting keys.
4352 (prog-mode): Assume it's defined.
4353 (prolog-post-self-insert): New function.
4354 (prolog-mode): Use it.
4355 (prolog-indent-line, prolog-indent-level)
4356 (prolog-find-indent-of-matching-paren)
4357 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4358 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4359 (prolog-goto-next-paren, prolog-in-string-or-comment)
4360 (prolog-tokenize, prolog-inside-mline-comment)
4361 (prolog-find-start-of-mline-comment): Remove functions.
4362 (prolog-find-unmatched-paren, prolog-clause-end)
4363 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4364 (prolog-electric--if-then-else): Rename from
4365 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4366 (prolog-tokenize-searchkey): Remove const.
4367 (prolog-clause-info): Use forward-sexp.
4368 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4369 (prolog-electric-if-then-else): Remove commands.
4370 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4371 for use in post-self-insert-hook.
4372 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4373 for use in post-self-insert-hook.
4374 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4375 for use in post-self-insert-hook.
4376 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4377 adapt it for use in post-self-insert-hook.
4379 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4381 * emacs-lisp/ert.el (ert-run-tests-interactively):
4382 Use `completing-read'. (Bug#9756)
4384 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4386 * simple.el (line-move): Call line-move-1 instead of
4387 line-move-visual when the current window hscroll is zero, but
4388 temporary-goal-column indicates we will need to hscroll as result
4389 of the movement. (Bug#15712)
4391 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4393 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4394 capitalization. Use :visible instead of :active.
4395 Fix `ruby-indent-exp' reference. Add menu items for the generic
4396 commands that are used with SMIE.
4397 (ruby-do-end-to-brace): Insert space after `{'.
4399 2013-10-25 John Anthony <john@jo.hnanthony.com>
4401 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4403 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4405 2013-10-25 Glenn Morris <rgm@gnu.org>
4407 * vc/vc.el (vc-print-log): Don't use a working revision unless
4408 one was explicitly specified. (Bug#15322)
4410 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4412 * subr.el (add-to-list): Preserve return value in compiler-macro
4415 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4417 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4418 result. Ask user to retry using '-all' flag. (Bug#15701)
4420 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4422 * emacs-lisp/smie.el: New smie-config system.
4423 (smie-config): New defcustom.
4424 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4425 (smie-config-guess, smie-config-save): New commands.
4426 (smie-config--mode-local, smie-config--buffer-local)
4427 (smie-config--trace, smie-config--modefuns): New vars.
4428 (smie-config--advice, smie-config--mode-hook)
4429 (smie-config--setter, smie-config-local, smie-config--get-trace)
4430 (smie-config--guess-value, smie-config--guess): New functions.
4431 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4432 text properties. Treat "string fence" syntax like string syntax.
4434 * progmodes/sh-script.el (sh-use-smie): Change default.
4435 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4436 (sh-var-value): Simplify by CSE.
4437 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4438 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4440 (sh-guess-basic-offset): Use cl-incf.
4441 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4443 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4445 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4448 2013-10-24 Glenn Morris <rgm@gnu.org>
4450 * Makefile.in (abs_top_srcdir): Remove.
4451 (update-subdirs): Use relative path to update-subdirs.
4453 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4455 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4456 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4457 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4458 Call unmsys--file-name before expand-file-name, not after it.
4460 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4462 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4463 (ert-test-skipped): New error.
4464 (ert-skip, ert-stats-skipped): New defuns.
4465 (ert--skip-unless): New macro.
4466 (ert-test-skipped): New struct.
4467 (ert--run-test-debugger, ert-test-result-type-p)
4468 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4469 (ert--stats-set-test-and-result, ert-char-for-test-result)
4470 (ert-string-for-test-result, ert-run-tests-batch)
4471 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4472 Handle skipped tests. (Bug#9803)
4474 2013-10-24 Glenn Morris <rgm@gnu.org>
4476 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4478 * Makefile.in (abs_top_srcdir): New, set by configure.
4479 (update-subdirs): Correct build-aux location.
4481 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4483 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4484 value, whether we could auto-deduce `backend', or not.
4486 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4487 with parameters" example. Simplify the "is it block or is it
4488 hash" check, but also make it more thorough.
4490 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4492 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4494 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4496 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4499 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4502 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4504 * progmodes/compile.el (compilation-directory-matcher)
4505 (compilation-page-delimiter):
4506 Support GNU Make-4.0 directory quoting. (Bug#15678)
4508 2013-10-23 Leo Liu <sdl.web@gmail.com>
4510 * ido.el (ido-tidy): Handle read-only text.
4512 2013-10-23 Glenn Morris <rgm@gnu.org>
4514 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4515 (emacs, compile, compile-always):
4516 Quote entities that might contain whitespace.
4517 (custom-deps, finder-data, autoloads): Use abs_lisp.
4518 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4519 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4520 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4522 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4524 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4525 Use `following-char'.
4527 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4529 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4530 * progmodes/ruby-mode.el (ruby-smie-rules):
4531 Remove corresponding workaround. Fix indentation rule of ";" so it
4532 also applies when ";" is the parent.
4534 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4536 * frame.el (display-screens, display-pixel-height)
4537 (display-pixel-width, display-mm-width, display-backing-store)
4538 (display-save-under, display-planes, display-color-cells)
4539 (display-visual-class, display-monitor-attributes-list):
4540 Mention the optional ‘display’ argument in doc strings.
4542 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4544 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4545 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4547 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4549 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4550 TODO. Add "." after " @ ".
4551 (ruby-smie--at-dot-call): New function. Checks if point at method
4552 call with explicit target.
4553 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4554 to the method name tokens when it precedes them.
4555 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4556 (ruby-smie-rules): Add rule for indentation before and after "."
4559 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4561 * textmodes/remember.el (remember-diary-extract-entries):
4564 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4567 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4569 * progmodes/ruby-mode.el (ruby-smie-grammar):
4570 Add (almost) all infix operators.
4571 (ruby-smie--implicit-semi-p): Add new operator chars.
4573 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4575 (ruby-smie--args-separator-p): Check that there's no newline
4576 between method call and its arguments.
4578 2013-10-20 Alan Mackenzie <acm@muc.de>
4580 Allow comma separated lists after Java "implements".
4582 * progmodes/cc-engine.el (c-backward-over-enum-header):
4584 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4585 from a "disallowed" list in enum fontification.
4587 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4589 * startup.el (default-frame-background-mode): Remove unused defvar.
4591 * progmodes/verilog-mode.el (verilog-mode): Don't set
4592 comment-indent-function globally.
4594 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4596 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4597 Move Info menu item creation to ns-win.el.
4599 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4602 * menu-bar.el: Move GNUstep specific menus...
4604 * term/ns-win.el (ns-initialize-window-system): ... to here.
4606 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4608 * simple.el (newline): Only run post-self-insert-hook when
4609 called interactively.
4611 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4613 * icomplete.el (icomplete-with-completion-tables): Add :version.
4615 2013-10-19 Alan Mackenzie <acm@muc.de>
4617 Fix fontification bugs with constructors and const.
4619 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4620 CASE 2) Remove the check for the absence of a suffix construct
4621 after a function declaration with only types (no identifiers) in
4622 the parentheses. Also, accept a function declaration with just a
4623 type inside the parentheses, if this type can be positively
4624 recognised as such, or if a prefix keyword like "explicit" nails
4625 down the construct as a declaration.
4627 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4629 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4630 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4631 the problem whereby selecting a menu item that leads to a
4632 minibuffer prompt moves the cursor out of the minibuffer window,
4633 making it hard to type at the prompt. Suggested by Stefan Monnier
4634 <monnier@iro.umontreal.ca>.
4636 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4638 * menu-bar.el: Don't make Services menu.
4640 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4642 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4643 (ffap-alist): Use ffap-c++-mode for c++-mode.
4644 (ffap-c++-path): New variable.
4645 (ffap-c++-mode): New function.
4647 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4649 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4651 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4653 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4654 introduced on 2013-09-08, which results in an infinite loop
4655 requesting a password.
4657 2013-10-18 Glenn Morris <rgm@gnu.org>
4659 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4661 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4663 Sync with upstream verilog-mode revision 1a6ecec7.
4664 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4665 (verilog-mode-release-date): Remove.
4666 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4667 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4668 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4669 (verilog-auto-tieoff-ignore-regexp)
4670 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4671 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4672 (verilog-signals-with, verilog-dir-cache-preserving)
4673 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4675 (verilog-case-fold): New option, to control case folding in
4676 regexp searches, bug597.
4677 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4678 (verilog-string-match-fold, verilog-in-paren-count)
4679 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4680 (verilog-at-close-struct-p): New functions.
4681 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4682 (verilog-forward-sexp, verilog-set-auto-endcomments):
4683 (verilog-leap-to-case-head): Handle "unique0" case.
4684 (verilog-in-constraint-re): New constant.
4685 (verilog-keywords, verilog-type-font-keywords):
4686 Add some SystemVerilog 1800-2012 keywords.
4687 (verilog-label-be): Remove unimplemented argument, bug669.
4688 (verilog-batch-execute-func): When batch expanding clear
4689 create-lockfiles to prevent spurious user locks when a file ends
4691 (verilog-calculate-indent, verilog-calc-1)
4692 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4693 (verilog-do-indent): Fix indentation of nested constraints
4695 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4696 (verilog-auto-inst-param): Use verilog-string-match-fold.
4697 (verilog-read-inst-module-matcher):
4698 Fix AUTOINST on gate primitives with #1.
4699 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4700 Reads all user-defined typed variables.
4701 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4702 (verilog-signals-matching-regexp)
4703 (verilog-signals-not-matching-regexp, verilog-auto):
4704 Respect verilog-case-fold.
4705 (verilog-diff-report): Fix line count.
4706 (verilog-auto-assign-modport): Remove unused local `modi'.
4707 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4708 better handle multidimensional arrays.
4709 Fix packed array ports misadding bit index in AUTOINST, bug637.
4710 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4711 to not double-declare existing outputs and inputs, respectively.
4712 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4713 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4714 (verilog-sk-uvm-component): New skeleton.
4715 (verilog-submit-bug-report): Add verilog-case-fold,
4716 remove verilog-mode-release-date.
4718 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4720 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4723 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4725 * textmodes/remember.el (remember): Set buffer-offer-save in
4726 remember buffers (bug#13566).
4728 2013-10-18 Daniel Colascione <dancol@dancol.org>
4730 When evaluating forms in ielm, direct standard output to ielm
4731 buffer. Add new ielm-return-for-effect command. Remove trailing
4732 whitespace throughout.
4734 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4735 (ielm-return-for-effect): New command.
4736 (ielm-send-input): Accept optional `for-effect' parameter.
4737 (ielm-eval-input): Accept optional `for-effect' parameter.
4738 Bind `standard-output' to stream we create using
4739 `ielm-standard-output-impl'. Suppress printing result when
4741 (ielm-standard-output-impl): New function.
4742 (inferior-emacs-lisp-mode): Explain new features in documentation.
4744 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4748 * net/tramp.el (tramp-debug-message): Do not check for connection
4750 (tramp-message): Use "vector" connection property.
4752 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4753 (tramp-equal-remote, tramp-eshell-directory-change)
4754 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4755 (tramp-adb-handle-rename-file)
4756 * net/tramp-cmds.el (tramp-list-remote-buffers)
4757 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4758 * net/tramp-compat.el (tramp-compat-process-running-p)
4759 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4760 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4761 (tramp-gvfs-handle-rename-file)
4762 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4763 (tramp-set-file-uid-gid)
4764 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4765 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4768 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4769 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4770 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4771 (tramp-gw-open-network-stream): Suppress unrelated traces.
4773 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4774 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4775 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4776 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4777 connection property.
4779 * net/tramp-cache.el (top): Suppress traces when reading
4782 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4783 Refactor common code. Improve debug message.
4784 (tramp-maybe-open-connection)
4785 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4786 connection buffer too early.
4788 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4789 from `tramp-smb-actions-with-acl'.
4790 (tramp-smb-actions-set-acl): New defconst.
4791 (tramp-smb-handle-copy-directory)
4792 (tramp-smb-action-get-acl): New defun, renamed from
4793 `tramp-smb-action-with-acl'.
4794 (tramp-smb-action-set-acl): New defun.
4795 (tramp-smb-handle-set-file-acl): Rewrite.
4797 2013-10-17 Glenn Morris <rgm@gnu.org>
4799 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4801 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4803 * skeleton.el (skeleton-newline): Remove.
4804 (skeleton-internal-1): Use (insert "\n") instead.
4806 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4809 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4810 forward-sexp-function while we redo its job (bug#15613).
4812 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4814 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4815 represented by lists.
4817 2013-10-16 Glenn Morris <rgm@gnu.org>
4819 * tmm.el (tmm--history): New dynamic variable.
4820 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4822 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4824 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4825 (tramp-smb-errors): Add error messages.
4826 (tramp-smb-actions-with-acl): New defconst.
4827 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4828 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4829 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4830 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4831 (tramp-smb-get-stat-capability): Fix tests.
4833 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4835 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4838 2013-10-16 Glenn Morris <rgm@gnu.org>
4840 * ansi-color.el (ansi-color-drop-regexp):
4841 Add 1J, 1K, 2K. (Bug#15617)
4843 * files.el (hack-local-variables--warned-lexical): New.
4844 (hack-local-variables):
4845 Warn about misplaced lexical-binding. (Bug#15616)
4847 * net/eww.el (eww-render): Always set eww-current-url,
4848 and update header line. (Bug#15622)
4849 (eww-display-html): ... Rather than just doing it here.
4851 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4853 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4854 menu navigations commands.
4856 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4858 * progmodes/subword.el (subword-capitalize): Be careful when
4859 the search for [[:alpha:]] fails (bug#15580).
4861 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4863 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4864 to commands that scroll the menu.
4866 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4868 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4869 Handle methods ending with `?' and `!'.
4871 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4873 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4874 `japanese-cp932' to `cp932' to fix the problem where saving a
4875 source file written in Shift_JIS twice would end up having
4876 `coding: japanese-cp932' which Ruby could not recognize.
4877 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4878 in `ruby-encoding-map'.
4879 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4880 doesn't need to be explicitly declared in magic comment.
4881 (ruby-encoding-map): Add type declaration for better customize UI.
4883 2013-10-13 Glenn Morris <rgm@gnu.org>
4885 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4886 Occur buffers are read-only. http://bugs.debian.org/720775
4888 * emacs-lisp/authors.el (authors-fixed-entries):
4889 Comment out old alpha stuff.
4891 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4893 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4894 to `after-save-hook' instead of `before-save-hook'.
4895 (ruby-mode-set-encoding): Use the value of coding system used to
4896 write the file. Call `basic-save-buffer-1' after modifying the
4899 2013-10-13 Alan Mackenzie <acm@muc.de>
4901 Fix indentation/fontification of Java enum with
4902 "implements"/generic.
4904 * progmodes/cc-engine.el (c-backward-over-enum-header):
4905 Extracted from the three other places and enhanced to handle generics.
4906 (c-inside-bracelist-p): Uses new function above.
4907 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4909 (c-font-lock-enum-tail): Uses new function above.
4911 2013-10-13 Kenichi Handa <handa@gnu.org>
4913 * international/mule-cmds.el (select-safe-coding-system): Remove a
4914 superfluous condition in chekcing whether a coding system is safe
4917 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4919 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4921 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4923 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4925 2013-10-13 Glenn Morris <rgm@gnu.org>
4927 * menu-bar.el (menu-bar-update-buffers):
4928 Unify Buffers menu prompt string. (Bug#15576)
4930 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4932 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4934 (authors-fixed-entries): Use accented form of name.
4936 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4938 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4939 method calls (bug#15594).
4940 (ruby-smie--args-separator-p): New function.
4941 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4942 recognize paren-free method calls.
4944 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4945 internals of universal-argument.
4947 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4949 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4950 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4951 dropped menu on second mouse click on the menu bar.
4953 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4955 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4956 (explicit-shell-file-name): Declare.
4957 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4958 (sh-completion-at-point-function): New function.
4960 (sh-smie--keyword-p): Remove unused argument.
4961 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4963 (sh-set-shell): Always setup SMIE, even if we use the
4964 old indentation code.
4966 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4968 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4970 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4971 predicate would return nil are almost non-existent.
4972 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4974 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4975 cache also after commands that modify the buffer but don't move
4978 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4980 * env.el (substitute-env-in-file-name): New function.
4981 (substitute-env-vars): Extend the meaning of the optional arg.
4983 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4985 * term/w32-win.el (dynamic-library-alist): Define separate lists
4986 of GIF DLLs for versions before and after 5.0.0 of giflib.
4989 2013-10-10 João Távora <joaotavora@gmail.com>
4991 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4992 not locked, use last revision and current source as
4993 defaults. (Bug#15569)
4995 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4997 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5000 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5002 * window.el (pop-to-buffer-same-window): Fix doc-string.
5005 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5007 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5009 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5011 * calendar/icalendar.el (icalendar-import-file):
5012 Fix interactive spec. (Bug#15482)
5014 2013-10-10 Glenn Morris <rgm@gnu.org>
5016 * desktop.el (desktop-save): Default to saving in .emacs.d,
5017 since PWD is no longer in desktop-path by default. (Bug#15319)
5019 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5020 now that text mode has a menu with the same entry.
5021 (menu-bar-text-mode-auto-fill): Remove now unused func.
5022 * textmodes/text-mode.el (text-mode-map):
5023 Use auto-fill help text from menu-bar.el.
5025 2013-10-10 John Anthony <john@jo.hnanthony.com>
5027 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5029 2013-10-09 Juri Linkov <juri@jurta.org>
5031 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5032 instead of this-command-keys. Add universal-argument-more and
5033 universal-argument-minus to the list of prefix commands. (Bug#15568)
5035 2013-10-09 Glenn Morris <rgm@gnu.org>
5037 * vc/vc-svn.el (vc-svn-create-repo):
5038 Expand paths in file://... url. (Bug#15446)
5040 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5042 (authors): Remove unused local variables.
5044 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5046 * profiler.el: Create a more coherent calltree from partial backtraces.
5047 (profiler-format): Hide the tail with `invisible' so that C-s can still
5048 find the hidden elements.
5049 (profiler-calltree-depth): Don't recurse so enthusiastically.
5050 (profiler-function-equal): New hash-table-test.
5051 (profiler-calltree-build-unified): New function.
5052 (profiler-calltree-build): Use it.
5053 (profiler-report-make-name-part): Indent the calltree less.
5054 (profiler-report-mode): Add visibility specs for profiler-format.
5055 (profiler-report-expand-entry, profiler-report-toggle-entry):
5056 Expand the whole subtree when provided with a prefix arg.
5058 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5060 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5062 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5063 hanging iuwu-mod token.
5064 (ruby-smie--forward-token): Do not include a dot after a token in
5066 (ruby-smie--backward-token): Likewise.
5068 2013-10-08 Juri Linkov <juri@jurta.org>
5070 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5071 to isearch-other-control-char.
5072 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5073 and isearch-post-command-hook to post-command-hook.
5074 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5075 and isearch-post-command-hook from post-command-hook.
5076 (isearch-unread-key-sequence)
5077 (isearch-reread-key-sequence-naturally)
5078 (isearch-lookup-scroll-key, isearch-other-control-char)
5079 (isearch-other-meta-char): Remove functions.
5080 (isearch-pre-command-hook, isearch-post-command-hook):
5081 New functions based on isearch-other-meta-char rewritten
5082 relying on the new behavior of overriding-terminal-local-map
5083 that does not replace the local keymaps any more. (Bug#15200)
5085 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5087 Support menus on text-mode terminals.
5088 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5091 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5093 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5094 Move here from mouse.el.
5095 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5097 (tty-menu-navigation-map): New map for TTY menu navigation.
5099 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5101 * frame.el (display-mouse-p): Report text-mode mouse as available
5103 (display-popup-menus-p): Report availability if mouse is
5104 available; don't condition on window-system.
5106 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5107 (tty-menu-selected-face): New faces.
5109 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5111 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5112 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5113 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5114 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5116 (lisp-mode-variables): New `elisp' argument.
5117 (emacs-lisp-mode): Use it.
5118 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5119 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5121 * indent.el: Use lexical-binding.
5122 (indent-region): Add progress reporter.
5123 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5125 (indent--next-tab-stop): New function to implement this behavior.
5126 (tab-to-tab-stop, move-to-tab-stop): Use it.
5128 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5130 * indent.el (indent-rigidly--current-indentation): New function.
5131 (indent-rigidly-map): New var.
5132 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5134 2013-10-08 Bastien Guerry <bzg@gnu.org>
5136 * register.el (insert-register): Fix 2013-10-07 change.
5138 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * progmodes/perl-mode.el: Use lexical-binding.
5141 Remove redundant :group args.
5142 (perl-nochange): Change default to be closer to other major modes's
5144 (perl-indent-line): Don't consider text on current line as a
5145 valid beginning of function from which to indent.
5147 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5148 with more than one argument (bug#15538).
5150 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5152 * vc/pcvs.el: Use lexical-binding.
5153 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5154 environment of `eval'.
5155 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5156 than a list of expressions. Adjust callers.
5157 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5159 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5161 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5162 case of the dot in a chained method call being on the following line.
5164 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5166 * electric.el (electric-indent-inhibit): New var.
5167 (electric-indent-post-self-insert-function): Use it.
5168 * progmodes/python.el (python-mode): Set it.
5170 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5173 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5175 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5176 (css-mode): Use electric-indent-chars.
5178 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5179 (font-lock-beg, font-lock-end): Move before first use.
5180 (nxml-mode): Use syntax-propertize-function.
5181 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5182 (nxml-extend-after-change-region): Remove.
5183 * nxml/xmltok.el: Use lexical-binding.
5184 (xmltok-save): Use `declare'.
5185 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5186 * nxml/nxml-util.el: Use lexical-binding.
5187 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5189 * nxml/nxml-ns.el: Use lexical-binding.
5190 (nxml-ns-save): Use `declare'.
5191 (nxml-ns-prefixes-for): Avoid add-to-list.
5192 * nxml/rng-match.el: Use lexical-binding.
5193 (rng--ipattern): Use cl-defstruct.
5194 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5195 (rng-cons-group-after, rng-subst-group-after)
5196 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5197 Use closures instead of `(lambda...).
5199 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5201 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5204 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5205 Use `tramp-handle-insert-file-contents'.
5206 (tramp-gvfs-handle-insert-file-contents): Remove function.
5208 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5209 Use `save-restriction' in order to keep markers.
5211 * net/trampver.el: Update release number.
5213 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5215 * progmodes/compile.el (compilation-parse-errors):
5216 Use compilation--put-prop.
5217 (compilation--ensure-parse): Check compilation-multiline.
5219 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5221 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5224 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5226 * progmodes/ruby-mode.el: Fix recently added tests.
5227 (ruby-smie-grammar): Add - and +.
5228 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5229 (ruby-smie--backward-id): New functions.
5230 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5231 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5234 2013-10-07 Leo Liu <sdl.web@gmail.com>
5236 * register.el (register-preview-delay)
5237 (register-preview-functions): New variables.
5238 (register-read-with-preview, register-preview)
5239 (register-describe-oneline): New functions.
5240 (point-to-register, window-configuration-to-register)
5241 (frame-configuration-to-register, jump-to-register)
5242 (number-to-register, view-register, insert-register)
5243 (copy-to-register, append-to-register, prepend-to-register)
5244 (copy-rectangle-to-register): Use register-read-with-preview to
5245 read register. (Bug#15525)
5247 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5249 * net/network-stream.el (network-stream-open-starttls): Don't add
5250 --insecure if it's already present, because that gnutls-cli
5251 rejects getting that parameter twice.
5253 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5255 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5258 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5260 * newcomment.el (comment-use-global-state): Change default value
5261 to t, mark obsolete (Bug#15251).
5262 (comment-beginning): In addition to `comment-to-syntax', check the
5263 value of `comment-use-global-state'.
5265 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5267 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5268 (ruby-comment-column): Follow the global default, by default.
5269 (ruby-smie-grammar): Add assignment syntax.
5270 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5271 open-paren, a comma, or a \.
5272 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5273 and line continuations.
5274 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5275 followed by implicit semi-colons. Add rule for string concatenation
5276 and for indentation at BOB.
5277 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5279 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5280 calling next-sexp, since next-token may have skipped chars which
5281 next-sexp doesn't know should be skipped!
5283 2013-10-05 Leo Liu <sdl.web@gmail.com>
5285 * progmodes/octave.el (octave-send-region):
5286 Call compilation-forget-errors.
5288 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5290 * vc/vc-svn.el (vc-svn-find-admin-dir):
5291 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5292 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5293 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5294 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5296 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5298 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5300 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5302 * subr.el (read-passwd): Hide chars even when called within a context
5303 where after-change-functions is disabled (bug#15501).
5304 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5305 until we removed ourself from overriding-terminal-local-map.
5307 2013-10-04 Leo Liu <sdl.web@gmail.com>
5309 * progmodes/octave.el (inferior-octave-mode):
5310 Call compilation-forget-errors.
5312 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5314 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5316 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5318 * net/secrets.el (secrets-create-collection): Add optional
5319 argument ALIAS. Use proper Label keyword. Append ALIAS as
5320 dbus-call-method argument. (Bug#15516)
5322 2013-10-04 Leo Liu <sdl.web@gmail.com>
5324 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5325 (inferior-octave-compilation-font-lock-keywords): New variables.
5326 (compilation-error-regexp-alist)
5327 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5328 (inferior-octave-mode): Use compilation-shell-minor-mode.
5330 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5332 * minibuffer.el (completion--replace): Be careful that `end' might be
5335 2013-10-03 Daiki Ueno <ueno@gnu.org>
5337 Add support for package signature checking.
5338 * emacs-lisp/package.el (url-http-file-exists-p)
5339 (epg-make-context, epg-context-set-home-directory)
5340 (epg-verify-string, epg-context-result-for)
5341 (epg-signature-status, epg-signature-to-string)
5342 (epg-check-configuration, epg-configuration)
5343 (epg-import-keys-from-file): Declare.
5344 (package-check-signature): New user option.
5345 (package-unsigned-archives): New user option.
5346 (package-desc): Add `signed' field.
5347 (package-load-descriptor): Set `signed' field if .signed file exists.
5348 (package--archive-file-exists-p): New function.
5349 (package--check-signature): New function.
5350 (package-install-from-archive): Check package signature.
5351 (package--download-one-archive): Check archive signature.
5352 (package-delete): Remove .signed file.
5353 (package-import-keyring): New command.
5354 (package-refresh-contents): Import default keyring.
5355 (package-desc-status): Add "unsigned" status.
5356 (describe-package-1, package-menu--print-info)
5357 (package-menu-mark-delete, package-menu--find-upgrades)
5358 (package-menu--status-predicate): Support "unsigned" status.
5360 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5362 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5363 the new compilation scheme using the new byte-codes.
5365 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5366 (byte-pophandler): New byte codes.
5367 (byte-goto-ops): Adjust accordingly.
5368 (byte-compile--use-old-handlers): New var.
5369 (byte-compile-catch): Use new byte codes depending on
5370 byte-compile--use-old-handlers.
5371 (byte-compile-condition-case--old): Rename from
5372 byte-compile-condition-case.
5373 (byte-compile-condition-case--new): New function.
5374 (byte-compile-condition-case): New function that dispatches depending
5375 on byte-compile--use-old-handlers.
5376 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5379 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5380 Optimize under `condition-case' and `catch' if
5381 byte-compile--use-old-handlers is nil.
5382 (disassemble-offset): Handle new bytecodes.
5384 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5386 * subr.el (error): Use `declare'.
5387 (decode-char, encode-char): Use advertised-calling-convention instead
5388 of the docstring to discourage use of the `restriction' arg.
5390 2013-10-03 Daiki Ueno <ueno@gnu.org>
5392 * epg.el (epg-verify-file): Add a comment saying that it does not
5393 notify verification error as a return value nor a signal.
5394 (epg-verify-string): Ditto.
5396 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5398 * progmodes/compile.el (compilation-start): Try globbing the arg to
5401 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5403 Sync with Tramp 2.2.8.
5405 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5406 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5407 * net/trampver.el: Update release number.
5409 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5411 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5412 and default-process-coding-system for darwin only.
5414 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5418 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5420 * vc/vc-git.el (vc-git-grep): Disable pager.
5422 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5424 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5425 Use :url instead of :homepage, as per
5426 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5428 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5429 non-nil, use `syntax-ppss' (Bug#15251).
5431 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5433 * progmodes/octave.el (inferior-octave-startup-file):
5434 Prefer ~/.emacs.d/init_octave.m.
5436 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5438 * emacs-lisp/package.el (package-desc-from-define):
5439 Accept additional arguments as plist, convert them to an alist and store
5440 them in the `extras' slot.
5441 (package-generate-description-file): Convert extras alist back to
5442 plist and append to the `define-package' form arguments.
5443 (package--alist-to-plist): New function.
5444 (package--ac-desc): Add `extras' slot.
5445 (package--add-to-archive-contents): Check if the archive-contents
5446 vector is long enough, and if it is, pass its `extras' slot value
5447 to `package-desc-create'.
5448 (package-buffer-info): Call `lm-homepage', pass the returned value
5449 to `package-desc-from-define'.
5450 (describe-package-1): Render the homepage button (Bug#13291).
5452 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5453 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5455 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5457 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5458 and default-process-coding-system to utf-8-unix (Bug#15402).
5460 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5462 * subr.el (looking-back): Do not recommend using looking-back.
5464 2013-09-28 Alan Mackenzie <acm@muc.de>
5466 Fix indentation/fontification of Java enum with "implements".
5468 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5469 regexp which matches "implements", etc., in Java.
5470 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5471 specifier clauses coming after "enum".
5472 * progmodes/cc-fonts.el (c-font-lock-declarations)
5473 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5476 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5478 * faces.el (region): Change ns_selection_color to
5479 ns_selection_fg_color, add ns_selection_bg_color.
5481 2013-09-28 Leo Liu <sdl.web@gmail.com>
5483 * progmodes/octave.el (inferior-octave-completion-table)
5484 (inferior-octave-completion-at-point): Minor tweaks.
5486 * textmodes/ispell.el (ispell-lookup-words): Rename from
5487 lookup-words. (Bug#15460)
5488 (lookup-words): Obsolete.
5489 (ispell-complete-word, ispell-command-loop): All uses changed.
5491 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5493 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5494 (octave-mode-menu): Add octave-send-buffer.
5495 (octave-send-buffer): New function.
5497 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5499 * progmodes/octave.el (octave-mode-map): Add key binding for
5501 (octave-mode-menu): Add octave-lookfor.
5502 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5504 (octave-lookfor): New function.
5506 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5508 * emacs-lisp/cl-macs.el:
5509 (cl--loop-destr-temps): Remove.
5510 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5512 (cl--loop-set-iterator-function): New function.
5513 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5514 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5515 Bind `it' with `let' instead of substituting it with `cl-subst'.
5516 (cl--unused-var-p): New function.
5517 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5518 Eliminate some unused variable warnings (bug#15326).
5520 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5522 * doc-view.el (doc-view-scale-reset): Rename from
5523 `doc-view-reset-zoom-level'.
5524 (doc-view-scale-adjust): New command.
5525 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5526 `doc-view-scale-adjust'.
5528 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5530 * doc-view.el (doc-view-reset-zoom-level): New command.
5531 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5532 zoom commands (bug#15466).
5534 2013-09-26 Kenichi Handa <handa@gnu.org>
5536 * international/quail.el (quail-help): Make it not a command.
5538 2013-09-26 Leo Liu <sdl.web@gmail.com>
5540 * minibuffer.el (completion-all-sorted-completions): Make args
5541 optional as they are.
5543 2013-09-25 Daniel Colascione <dancol@dancol.org>
5545 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5546 specs are and that they're not evaluated.
5548 2013-09-24 Sam Steingold <sds@gnu.org>
5550 * midnight.el (clean-buffer-list-kill-regexps)
5551 (clean-buffer-list-kill-buffer-names): Update for the new Man
5552 buffer naming which includes the object name.
5554 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5556 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5557 (eshell-parse-command, eshell-parse-pipeline): Use it since
5558 eshell-separate-commands requires a dynamic scoped var.
5559 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5561 2013-09-23 Leo Liu <sdl.web@gmail.com>
5563 * autoinsert.el (auto-insert-alist): Make the value of
5564 lexical-binding match its file setting.
5566 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5568 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5570 * autoarg.el (autoarg-kp-digit-argument):
5571 * electric.el (Electric-command-loop):
5572 * kmacro.el (kmacro-step-edit-insert):
5573 Do not set universal-argument-num-events.
5575 2013-09-22 Leo Liu <sdl.web@gmail.com>
5577 * files.el (interpreter-mode-alist): Add octave.
5579 2013-09-21 Alan Mackenzie <acm@muc.de>
5581 C++: fontify identifier in declaration following "public:" correctly.
5582 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5583 to match "public", etc.
5584 (c-decl-prefix-re): Add ":" into the C++ value.
5585 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5586 bit. Add a check for a ":" preceded by "public", etc.
5588 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5590 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5591 recognized by GDB 7.5 and later.
5593 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5595 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5597 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5599 * subr.el (internal--call-interactively): New const.
5600 (called-interactively-p): Use it (bug#3984).
5602 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5604 * vc/pcvs.el (cvs-mode-ignore):
5605 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5606 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5608 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5610 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5611 (eshell-ls-orig-insert-directory): Remove.
5612 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5613 (eshell-ls-use-in-dired): Use advice-add/remove.
5614 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5615 Add `orig-fun' arg for use in :around advice.
5616 Make it check (redundantly) eshell-ls-use-in-dired.
5618 2013-09-19 Glenn Morris <rgm@gnu.org>
5620 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5622 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5624 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5626 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5628 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5629 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5630 (tramp-get-remote-python): New defuns.
5631 (tramp-get-remote-uid-with-perl)
5632 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5633 contributed by yary <not.com@gmail.com> (tiny change).
5634 (tramp-get-remote-uid-with-python)
5635 (tramp-get-remote-gid-with-python): New defuns. Python code
5636 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5637 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5639 2013-09-19 Glenn Morris <rgm@gnu.org>
5641 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5643 * eshell/em-unix.el (eshell-remove-entries):
5644 Rename argument to avoid name-clash with global `top-level'.
5646 * eshell/esh-proc.el (eshell-kill-process-function):
5647 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5648 (eshell-reset-after-proc): Remove unused arg `proc'.
5650 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5651 (directory-files-and-attributes): Mark unused arg.
5653 * eshell/em-unix.el (eshell-remove-entries):
5654 Remove unused arg `path'. Update callers.
5656 * eshell/em-hist.el (eshell-hist-parse-arguments):
5657 Remove unused arg `silent'. Update callers.
5659 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5660 Fix (f)boundp mix-up.
5662 * eshell/em-smart.el (eshell-smart-scroll-window)
5663 (eshell-disable-after-change):
5664 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5666 2013-09-18 Alan Mackenzie <acm@muc.de>
5668 Fix fontification of type when followed by "const".
5669 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5670 "known" types from fontification.
5672 2013-09-18 Glenn Morris <rgm@gnu.org>
5674 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5675 (chart-face-list): Drop Emacsen without display-color-p.
5677 * net/eww.el (libxml-parse-html-region): Declare.
5678 (eww-display-html): Explicit error if no libxml2 support.
5680 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5682 * image.el (image-type-from-buffer, image-multi-frame-p):
5683 Remove --without-x warning/error.
5685 * mouse.el (mouse-yank-primary):
5686 * term.el (term-mouse-paste):
5687 Reorder to silence --without-x compilation.
5689 * mpc.el (doc-view-mode): Silence --without-x compilation.
5691 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5692 Silence --without-x compilation.
5694 * progmodes/gud.el (gud-find-file, gud-mode):
5695 Silence --without-x compilation.
5696 (tooltip-mode): Declare.
5698 * wdired.el (dired-backup-overwrite): Remove declaration.
5699 (wdired-mode-map): Add doc string.
5701 * custom.el (x-get-resource): Declare.
5703 * eshell/em-glob.el (ange-cache):
5704 * eshell/em-unix.el (ange-cache): Declare.
5706 * faces.el (x-display-list, x-open-connection, x-get-resource):
5709 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5710 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5713 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5715 * net/gnutls.el (gnutls-log-level): Declare.
5717 * net/shr.el (image-size, image-animate): Declare.
5719 * simple.el (font-info): Declare.
5721 * subr.el (x-popup-dialog): Declare.
5723 * term/common-win.el (x-select-enable-primary)
5724 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5727 * term/ns-win.el (x-handle-args): Declare.
5729 * term/x-win.el (x-select-enable-clipboard): Declare.
5731 * term/w32-win.el (create-default-fontset): Declare.
5733 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5736 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5737 (fit-frame-to-buffer): Explicit error if --without-x.
5738 (mouse-autoselect-window-select): Silence compiler.
5740 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5742 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5743 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5744 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5745 * eshell/esh-util.el (eshell-sublist):
5746 Remove unused local variables.
5748 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5750 * textmodes/two-column.el: Make 2C-split work for --without-x.
5751 (scroll-bar-columns): Autoload.
5752 (top-level): Require fringe when compiling.
5754 2013-09-18 Leo Liu <sdl.web@gmail.com>
5756 * subr.el (add-hook): Robustify to handle closure as well.
5758 2013-09-17 Glenn Morris <rgm@gnu.org>
5760 * simple.el (messages-buffer-mode-map): Unbind "g".
5762 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5764 * help-mode.el (help-mode-finish): Use derived-mode-p.
5765 Remove obsolete highlighting.
5767 * play/life.el (life-mode): Use define-derived-mode. Derive from
5769 (life): Let-bind inhibit-read-only.
5770 (life-setup): Avoid `setq'. Use `life-mode'.
5772 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5773 which should not be needed any more.
5774 (package-menu-refresh, package-menu-describe-package): Use user-error.
5776 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5777 (eshell-post-rewrite-command-hook): Make obsolete.
5778 (eshell-parse-command): Simplify.
5779 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5780 (eshell--cmd): Declare.
5781 (eshell-parse-pipeline): Remove unused var `final-p'.
5782 Pass a dynvar to eshell-post-rewrite-command-hook.
5783 Implement the new eshell-post-rewrite-command-function.
5784 (eshell-invoke-directly): Remove unused arg `input'.
5785 * eshell/esh-io.el (eshell-io-initialize):
5786 Use eshell-post-rewrite-command-function (bug#15399).
5787 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5788 adjust to new calling convention.
5789 (eshell-create-handles): Rename args to avoid clashing with dynvar
5792 2013-09-17 Glenn Morris <rgm@gnu.org>
5794 * simple.el (messages-buffer-mode): New major mode.
5795 (messages-buffer): New function.
5796 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5797 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5798 (ert-run-test): Use `messages-buffer' function.
5799 (ert--force-message-log-buffer-truncation): Ignore read-only.
5800 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5801 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5803 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5807 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5809 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5811 * icomplete.el (icomplete-in-buffer): New var.
5812 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5813 vars and replace them with functions.
5814 (icomplete-minibuffer-setup): Adjust accordingly.
5815 (icomplete--completion-table, icomplete--completion-predicate)
5816 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5818 (icomplete-forward-completions, icomplete-backward-completions)
5819 (icomplete-simple-completing-p, icomplete-exhibit)
5820 (icomplete-completions): Use them.
5821 (icomplete--in-region-buffer): New var.
5822 (icomplete--in-region-setup): New function.
5823 (icomplete-mode): Use it.
5825 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5827 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5828 return args and options.
5829 (eshell-eval-using-options): Use the new return value of
5830 eshell--do-opts to set the options's vars in their scope.
5831 (eshell--set-option): Rename from eshell-set-option.
5833 (eshell--process-option): Rename from eshell-process-option.
5835 (eshell--process-args): Use an `opt-vals' alist to store the options's
5836 values during their processing and return them additionally to the
5839 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5841 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5842 continuation character an operator, as far as indentation is
5843 concerned (Bug#15369).
5845 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5847 * window.el (window--state-put-2): Don't process buffer state
5848 when buffer doesn't exist any more (Bug#15382).
5850 2013-09-15 Glenn Morris <rgm@gnu.org>
5852 * eshell/em-unix.el (eshell/rm):
5853 Make -f ignore missing files. (Bug#15373)
5855 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5856 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5857 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5859 2013-09-14 Glenn Morris <rgm@gnu.org>
5861 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5863 2013-09-13 Glenn Morris <rgm@gnu.org>
5865 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5866 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5868 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5870 * frame.el (x-focus-frame): Mark as declared in frame.c.
5872 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5874 * ls-lisp.el: Use advice-add.
5875 (original-insert-directory): Remove.
5876 (ls-lisp--insert-directory): Rename from insert-directory; add
5877 `orig-fun' argument.
5878 (insert-directory): Advise.
5880 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5882 * term.el (term-emulate-terminal): Decode the command string
5883 before passing it to term-command-hook. (Bug#15337)
5885 2013-09-13 Glenn Morris <rgm@gnu.org>
5887 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5889 * eshell/esh-ext.el (eshell-search-path): Declare.
5891 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5892 Otherwise an error occurs if eshell-dirs module not loaded.
5894 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5896 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5898 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5899 `tramp-check-proper-host'. Check for a valid method name.
5901 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5902 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5903 * net/tramp-sh.el (tramp-maybe-open-connection):
5904 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5906 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5907 also for hash values.
5909 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5911 * term/ns-win.el (parameters): Don't declare as dynamic.
5912 (before-make-frame-hook): Don't add ineffective function.
5914 * eshell/*.el: Use lexical-binding (bug#15231).
5916 2013-09-12 Kenichi Handa <handa@gnu.org>
5918 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5920 2013-09-12 Glenn Morris <rgm@gnu.org>
5922 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5923 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5925 * subr.el (do-after-load-evaluation): Also give compiler warnings
5926 when obsolete files are used (except by obsolete files).
5928 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5929 in the status output, assume `filename' is the first. (Bug#15322)
5931 * vc/vc.el (vc-deduce-fileset): Doc fix.
5933 * calc/calc-help.el (Info-goto-node):
5934 * progmodes/cperl-mode.el (Info-find-node):
5935 * vc/ediff.el (Info-goto-node): Update declarations.
5937 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5939 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5940 (vc-bzr-pull): Require vc-dispatcher.
5941 * vc/vc-git.el (vc-compilation-mode): Declare.
5942 (vc-git-pull): Require vc-dispatcher.
5944 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5946 * progmodes/octave.el (help-button-action): Declare.
5948 * shell.el (shell-directory-tracker): Output error as a message
5949 rather than just returning it as a string.
5950 (shell-process-pushd): Remove useless use of message.
5952 * dframe.el (dframe-timer-fn):
5953 * files.el (dir-locals-read-from-file):
5954 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5956 * reveal.el (reveal-post-command):
5957 * saveplace.el (load-save-place-alist-from-file):
5958 * shell.el (shell-resync-dirs):
5959 * w32-common-fns.el (x-get-selection-value):
5960 * emacs-lisp/copyright.el (copyright-find-copyright):
5961 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5962 * emulation/tpu-edt.el (tpu-copy-keyfile):
5963 * play/bubbles.el (bubbles--mark-neighbourhood):
5964 * progmodes/executable.el
5965 (executable-make-buffer-file-executable-if-script-p):
5966 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5968 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5970 Cleanup Eshell to rely less on dynamic scoping.
5971 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5972 last-value, and ext-command here. Bind `args' closer to `body'.
5973 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5974 (eshell--args): Declare new dynamic var.
5975 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5976 last-value, and ext-command. Pass `args' to `body'.
5977 (eshell-process-args): Bind eshell--args.
5978 (eshell-set-option): Use eshell--args.
5979 * eshell/eshell.el (eshell): Use derived-mode-p.
5980 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5981 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5982 (eshell-glob-function): Declare.
5983 * eshell/esh-util.el: Require cl-lib.
5984 (eshell-read-hosts-file): Avoid add-to-list.
5985 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5987 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5989 (eshell/diff): Remove unused var `err'.
5990 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5992 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5993 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5995 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5996 Move declaration before first use.
5997 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5998 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6001 2013-09-12 Glenn Morris <rgm@gnu.org>
6003 * term/ns-win.el (global-map): Remove binding for ispell-next,
6004 deleted 1999-05-29. (Bug#15357)
6006 2013-09-11 Glenn Morris <rgm@gnu.org>
6008 * echistory.el (electric-command-history): Remove call to deleted func.
6010 * play/landmark.el (landmark-mode): Fix typos.
6012 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6013 Check cvs-sort-ignore-file is bound.
6015 * savehist.el: No need for cl when compiling on Emacs.
6017 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6021 (eshell-self-insert-command, eshell-send-invisible):
6022 Remove unused argument.
6023 (eshell-handle-control-codes): Remove unused var `orig'.
6024 Avoid delete-backward-char.
6026 * files.el (set-auto-mode): Simplify a bit further.
6028 2013-09-11 Glenn Morris <rgm@gnu.org>
6030 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6031 (set-auto-mode): Don't regexp-quote elements.
6032 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6033 * progmodes/cc-mode.el (interpreter-mode-alist):
6034 * progmodes/ruby-mode.el (interpreter-mode-alist):
6035 Revert previous change.
6037 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6039 * play/snake.el (snake-mode):
6040 * play/mpuz.el (mpuz-mode):
6041 * play/landmark.el (lm-mode):
6042 * play/blackbox.el (blackbox-mode):
6043 * play/5x5.el (5x5-mode):
6044 * obsolete/options.el (Edit-options-mode):
6045 * net/quickurl.el (quickurl-list-mode):
6046 * net/newst-treeview.el (newsticker-treeview-mode):
6047 * mail/rmailsum.el (rmail-summary-mode):
6048 * mail/mspools.el (mspools-mode):
6049 * locate.el (locate-mode):
6050 * ibuffer.el (ibuffer-mode):
6051 * emulation/ws-mode.el (wordstar-mode):
6052 * emacs-lisp/debug.el (debugger-mode):
6053 * array.el (array-mode):
6054 * net/eudc.el (eudc-mode): Use define-derived-mode.
6055 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6056 Move initialization into declaration.
6057 (mairix-searches-mode): Use define-derived-mode.
6058 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6059 (eudc-edit-hotlist): Use dolist.
6060 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6061 (Man-mode): Use define-derived-mode.
6062 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6063 (Info-edit-mode): Use define-derived-mode.
6064 (Info-cease-edit): Use Info-mode.
6065 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6067 (eshell-mode): Use define-derived-mode.
6068 * chistory.el (command-history-mode-map): Rename from
6069 command-history-map.
6070 (command-history-mode): Use define-derived-mode.
6071 (Command-history-setup): Remove function.
6072 * calc/calc.el (calc-trail-mode-map): New var.
6073 (calc-trail-mode): Use define-derived-mode.
6074 (calc-trail-buffer): Set calc-main-buffer manually.
6075 * bookmark.el (bookmark-insert-annotation): New function.
6076 (bookmark-edit-annotation): Use it.
6077 (bookmark-edit-annotation-mode): Make it a proper major mode.
6078 (bookmark-send-edited-annotation): Use derived-mode-p.
6079 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6080 closer to its ideal place. Use \' to match EOS.
6082 * profiler.el (profiler-calltree-find): Use function-equal.
6084 2013-09-10 Glenn Morris <rgm@gnu.org>
6086 * files.el (interpreter-mode-alist): Convert to regexps.
6087 (set-auto-mode): Adapt for this. (Bug#15306)
6088 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6089 Comment out unused variable.
6090 * progmodes/cc-mode.el (interpreter-mode-alist):
6091 * progmodes/python.el (interpreter-mode-alist):
6092 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6093 * progmodes/sh-script.el (sh-set-shell):
6094 No longer use interpreter-mode-alist to get list of shells.
6096 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6098 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6100 * simple.el: Use set-temporary-overlay-map for universal-argument.
6101 (universal-argument-map): Don't use default-bindings (bug#15317).
6102 Bind switch-frame explicitly. Replace universal-argument-minus with
6103 a conditional binding.
6104 (universal-argument-num-events, saved-overriding-map): Remove.
6105 (restore-overriding-map): Remove.
6106 (universal-argument--mode): Rename from save&set-overriding-map,
6108 (universal-argument, universal-argument-more, negative-argument)
6109 (digit-argument): Adjust accordingly.
6110 (universal-argument-minus): Remove.
6111 (universal-argument-other-key): Remove.
6113 * subr.el (with-demoted-errors): Add `format' argument.
6115 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6117 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6118 `tramp-cleanup-connection'.
6120 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6121 parameters KEEP-DEBUG and KEEP-PASSWORD.
6123 * net/tramp.el (tramp-file-name-handler):
6124 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6125 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6126 (tramp-maybe-open-connection):
6127 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6128 Use `tramp-cleanup-connection'.
6130 * net/tramp-sh.el (tramp-maybe-open-connection):
6131 Catch 'uname-changed inside the progress reporter.
6133 2013-09-10 Glenn Morris <rgm@gnu.org>
6135 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6137 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6138 returns "alternate access method" in mode (eg "-rw-r--r--.").
6140 2013-09-08 Glenn Morris <rgm@gnu.org>
6142 * saveplace.el (load-save-place-alist-from-file):
6143 Demote errors. (Bug#15305)
6145 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6147 Improve compatibility with older Emacsen, and XEmacs.
6149 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6150 only if it is bound. It isn't for XEmacs.
6151 (with-tramp-progress-reporter): Do not let-bind `result'.
6152 This yields to scoping errors in XEmacs.
6153 (tramp-handle-make-auto-save-file-name): New function, moved from
6156 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6157 for `make-auto-save-file-name'.
6158 (tramp-adb--gnu-switches-to-ash):
6159 Use `tramp-compat-replace-regexp-in-string'.
6161 * net/tramp-cache.el (tramp-cache-print): Call
6162 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6164 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6165 bound. It isn't for XEmacs.
6167 * net/tramp-compat.el (tramp-compat-copy-file):
6168 Catch `wrong-number-of-arguments' error.
6169 (tramp-compat-replace-regexp-in-string): New defun.
6171 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6172 for `make-auto-save-file-name'.
6173 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6175 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6176 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6177 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6179 * net/tramp-gw.el (tramp-gw-open-network-stream):
6180 Use `tramp-compat-replace-regexp-in-string'.
6182 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6183 Call `tramp-handle-make-auto-save-file-name'.
6184 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6185 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6186 (tramp-sh-file-inotifywait-process-filter):
6187 Use `tramp-compat-replace-regexp-in-string'.
6188 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6190 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6191 for `make-auto-save-file-name'.
6192 (tramp-smb-handle-copy-directory):
6193 Call `tramp-compat-replace-regexp-in-string'.
6194 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6195 (tramp-smb-handle-copy-file): Improve error message.
6196 (tramp-smb-handle-rename-file): Rename directly only in case
6197 `newname' does not exist yet. This is a restriction of smbclient.
6198 (tramp-smb-maybe-open-connection): Rerun the function only when
6199 `auth-sources' is non-nil.
6201 2013-09-08 Kenichi Handa <handa@gnu.org>
6203 * international/characters.el: Set category "^" (Combining) for
6206 2013-09-07 Alan Mackenzie <acm@muc.de>
6208 Correctly fontify Java class constructors.
6209 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6211 (c-recognize-typeless-decls): Set the Java value to t.
6212 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6213 While handling a "(", add a check for, effectively, Java, and handle a
6214 "typeless" declaration there.
6216 2013-09-07 Roland Winkler <winkler@gnu.org>
6218 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6219 field subtitle for entry type book.
6221 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6223 * minibuffer.el: Make minibuffer-complete call completion-in-region
6224 rather than other way around.
6225 (completion--some, completion-pcm--find-all-completions):
6226 Don't delay signals when debugging.
6227 (minibuffer-completion-contents): Beware fields within the
6228 minibuffer contents.
6229 (completion-all-sorted-completions): Use defvar-local.
6230 (completion--do-completion, completion--cache-all-sorted-completions)
6231 (completion-all-sorted-completions, minibuffer-force-complete):
6232 Add args `beg' and `end'.
6233 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6234 (minibuffer-complete): Use completion-in-region.
6235 (completion-complete-and-exit): New fun, extracted from
6236 minibuffer-complete-and-exit.
6237 (minibuffer-complete-and-exit): Use it.
6238 (completion--complete-and-exit): Rename from
6239 minibuffer--complete-and-exit.
6240 (completion-in-region--single-word): New function, extracted from
6241 minibuffer-complete-word.
6242 (minibuffer-complete-word): Use it.
6243 (display-completion-list): Make `common-substring' argument obsolete.
6244 (completion--in-region): Call completion--in-region-1 instead of
6245 minibuffer-complete.
6246 (completion-help-at-point): Pass boundaries to
6247 minibuffer-completion-help as args rather than via an overlay.
6248 (completion-pcm--string->pattern): Use `any-delim'.
6249 (completion-pcm--optimize-pattern): New function.
6250 (completion-pcm--pattern->regex): Handle `any-delim'.
6251 * icomplete.el (icomplete-forward-completions)
6252 (icomplete-backward-completions, icomplete-completions):
6253 Adjust calls to completion-all-sorted-completions and
6254 completion--cache-all-sorted-completions.
6255 (icomplete-with-completion-tables): Default to t.
6256 * emacs-lisp/crm.el (crm--current-element): Rename from
6257 crm--select-current-element. Don't put an overlay but return the
6259 (crm--completion-command): Take two new args to bind to the boundaries.
6260 (crm-completion-help): Adjust accordingly.
6261 (crm-complete): Use completion-in-region.
6262 (crm-complete-word): Use completion-in-region--single-word.
6263 (crm-complete-and-exit): Use completion-complete-and-exit.
6265 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6267 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6270 2013-09-06 Juri Linkov <juri@jurta.org>
6272 * info.el (Info-display-images-node): When image file doesn't exist
6273 display text version of the image if it's provided in the Info file.
6274 Otherwise, display the location of missing image from SRC attribute.
6275 Add help-echo text property from ALT attribute. (Bug#15279)
6277 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6279 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6280 (edit-abbrevs-mode): Use define-derived-mode.
6282 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6283 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6285 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6286 Use define-derived-mode.
6288 * epg.el (epg-start-encrypt): Minor CSE simplification.
6290 2013-09-06 William Xu <william.xwl@gmail.com>
6292 * arc-mode.el: Add support for 7za (bug#15264).
6293 (archive-7z-program): New var.
6294 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6295 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6296 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6298 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6302 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6303 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6304 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6305 (tramp-postfix-host-format, tramp-file-name-regexp)
6306 (tramp-completion-file-name-regexp)
6307 (tramp-completion-dissect-file-name)
6308 (tramp-handle-substitute-in-file-name): Remove 'url case.
6309 (tramp-file-name-regexp-url)
6310 (tramp-completion-file-name-regexp-url): Remove constants.
6312 2013-09-06 Glenn Morris <rgm@gnu.org>
6314 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6316 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6318 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6319 keywords" below "here-doc beginnings" (Bug#15270).
6321 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6323 * subr.el (pop): Use `car-safe'.
6324 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6325 to detect unused `pop' return value.
6327 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6329 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6330 (python-fill-string): Remove unused var `marker'.
6331 (python-skeleton-add-menu-items): Remove unused var `items'.
6333 * international/mule-cmds.el: Require CL.
6334 (find-coding-systems-for-charsets): Avoid add-to-list.
6335 (sanitize-coding-system-list): New function, extracted from
6336 select-safe-coding-system-interactively.
6337 (select-safe-coding-system-interactively): Use it.
6338 (read-input-method-name): Accept symbols for `default'.
6340 * emacs-lisp/advice.el (defadvice): Add indent rule.
6342 2013-09-05 Daniel Hackney <dan@haxney.org>
6346 * net/browse-url.el:
6349 * net/eudcb-ldap.el:
6362 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6363 byte compiler. Remove some unused let-bound variables.
6365 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6367 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6368 a "ref-cell", since it gets better optimized (bug#14883).
6370 2013-09-05 Glenn Morris <rgm@gnu.org>
6372 * progmodes/cc-awk.el (c-forward-sws): Declare.
6374 2013-09-04 Glenn Morris <rgm@gnu.org>
6376 * generic-x.el [rul-generic-mode]: Require cc-mode.
6377 (c++-mode-syntax-table): Declare.
6378 (rul-generic-mode-syntax-table): Init in the defvar.
6380 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6383 (vc-do-command, vc-set-async-update):
6384 * vc/vc-mtn.el (vc-mtn-dir-status):
6385 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6386 (vc-hg-pull, vc-hg-merge-branch):
6387 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6388 (vc-git-merge-branch):
6389 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6390 (vc-cvs-dir-status-files):
6391 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6392 (vc-bzr-dir-status-files):
6393 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6394 * vc/vc-annotate.el: Use lexical-binding.
6395 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6396 (vc-sentinel-movepoint): Declare.
6397 (vc-annotate): Don't use `goto-line'.
6398 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6399 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6400 (vc-sentinel-movepoint): Declare.
6401 * vc/vc-svn.el: Use lexical-binding.
6402 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6404 * vc/vc-rcs.el: Use lexical-binding.
6406 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6407 `deleted'. Don't drop errors silently.
6409 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6411 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6413 * vc/vc.el (vc-ignore): Rewrite.
6414 (vc-default-ignore): New function.
6415 (vc-default-ignore-completion-table): Use find-ignore-file.
6417 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6418 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6419 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6420 Remove. Most code moved to vc.el.
6422 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6424 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6425 * net/tramp-smb.el (tramp-smb-get-file-entries):
6426 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6427 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6429 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6431 (eww-change-select): Remove unused var `properties'.
6432 (eww-make-unique-file-name): Remove unused var `base'.
6434 * finder.el (finder-compile-keywords): Don't mess with windows.
6436 * calculator.el (calculator-funcall): Fix typo in last change.
6438 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6440 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6441 <pkg>-autoloads.el file stop us.
6443 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6444 warnings, and factor out common code.
6446 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6448 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6449 two-character operators and whether the character preceding them
6450 changes their meaning (Bug#15208).
6452 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6454 Format code sent to Python shell for robustness.
6455 * progmodes/python.el (python-shell-buffer-substring):
6457 (python-shell-send-region, python-shell-send-buffer): Use it.
6459 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6461 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6462 * net/tramp.el (tramp-user-error): ... here.
6463 (tramp-find-method, tramp-check-proper-host)
6464 (tramp-dissect-file-name, tramp-debug-message)
6465 (tramp-handle-shell-command):
6466 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6467 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6469 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6471 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6473 * avoid.el (mouse-avoidance-point-position)
6474 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6477 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6479 * progmodes/python.el (python-shell-completion-get-completions):
6480 Drop use of deleted `comint-last-prompt-overlay'.
6481 (python-nav-if-name-main): New command.
6483 2013-09-01 Glenn Morris <rgm@gnu.org>
6485 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6486 Avoid leading space in $wins. Otherwise the sed command used by
6487 eg compile-main ends up containing "/*.el". (Bug#15170)
6489 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6491 2013-08-30 Glenn Morris <rgm@gnu.org>
6493 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6494 Fix is-this-a-directory logic. (Bug#15220)
6496 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6498 * textmodes/css-mode.el: Use SMIE.
6499 (css-smie-grammar): New var.
6500 (css-smie--forward-token, css-smie--backward-token)
6501 (css-smie-rules): New functions.
6502 (css-mode): Use them.
6503 (css-navigation-syntax-table): Remove var.
6504 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6505 (css-indent-calculate, css-indent-line): Remove functions.
6507 Misc changes to reduce use of `(lambda...); and other cleanups.
6508 * cus-edit.el: Use lexical-binding.
6509 (customize-push-and-save, customize-apropos)
6510 (custom-buffer-create-internal): Use closures.
6511 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6512 * progmodes/ada-xref.el: Use setq.
6513 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6514 * dframe.el: Use lexical-binding.
6515 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6516 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6517 * descr-text.el: Use lexical-binding.
6518 (describe-text-widget, describe-text-sexp, describe-property-list):
6520 * comint.el (comint-history-isearch-push-state): Use a closure.
6521 * calculator.el: Use lexical-binding.
6522 (calculator-number-to-string): Make it work with lexical-binding.
6523 (calculator-funcall): Same and use cl-letf.
6525 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6526 (lisp--company-doc-string, lisp--company-location): New functions.
6527 (lisp-completion-at-point): Use them to improve Company support.
6529 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6530 params of lambda expressions.
6531 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6532 (ruby-smie--opening-pipe-p): New function.
6533 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6534 symbols and matched |...| for formal params.
6535 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6536 from being treated as hanging. Handle "rescue".
6538 2013-08-29 Glenn Morris <rgm@gnu.org>
6540 * progmodes/cc-engine.el (c-pull-open-brace):
6541 Move definition before use.
6543 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6545 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6546 are immutable. Don't use `unsafe' any more.
6547 (cl--defsubst-expand): Don't substitute at the same time as keeping
6548 a residual unused let-binding. Don't use `unsafe' any more.
6550 2013-08-29 Glenn Morris <rgm@gnu.org>
6552 * calendar/cal-china.el (calendar-chinese-year-cache):
6555 * nxml/nxml-util.el (nxml-debug-clear-inside):
6556 Use cl-loop rather than loop.
6558 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6560 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6562 2013-08-28 Glenn Morris <rgm@gnu.org>
6564 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6566 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6568 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6570 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * simple.el (repeat-complex-command--called-interactively-skip):
6574 (repeat-complex-command): Use it (bug#14136).
6576 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6577 (c-define-abbrev-table): Add `doc' argument.
6578 (c-mode-abbrev-table, c++-mode-abbrev-table)
6579 (objc-mode-abbrev-table, java-mode-abbrev-table)
6580 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6581 (awk-mode-abbrev-table): Use it.
6582 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6583 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6584 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6585 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6586 Move initialization into the declaration; and remove any
6589 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6590 and dynamic let binding.
6592 * vc/smerge-mode.el: Remove redundant :group args.
6594 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6597 2013-08-28 Juri Linkov <juri@jurta.org>
6599 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6600 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6601 (isearch-other-meta-char): Handle an undefined shifted printing
6602 character by downshifting it. (Bug#15200)
6604 2013-08-28 Juri Linkov <juri@jurta.org>
6606 * isearch.el (isearch-search): Change regexp error message for
6607 non-regexp searches. (Bug#15166)
6609 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6611 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6612 for portability to hosts where /bin/sh has problems.
6614 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6616 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6618 2013-08-27 Juri Linkov <juri@jurta.org>
6620 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6621 in the keyboard macro. (Bug#15126)
6623 2013-08-27 Juri Linkov <juri@jurta.org>
6625 * isearch.el (isearch-quote-char): Comment out converting unibyte
6626 to multibyte, thus syncing with its `quoted-insert' counterpart.
6629 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6631 * window.el (display-buffer-use-some-window): Add missing
6632 argument in call of get-largest-window (Bug#15185).
6633 Reported by Stephen Leake.
6635 2013-08-27 Glenn Morris <rgm@gnu.org>
6637 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6639 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6641 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6642 from a matcher-function unless there's no more matches (bug#15161).
6644 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6646 * minibuffer.el: Revert change from 2013-08-20.
6648 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6649 with text property `tramp-default', if appropriate.
6650 (tramp-check-proper-host): New defun.
6651 (tramp-dissect-file-name): Do not check hostname. Revert change
6653 (tramp-backtrace): Make VEC-OR-PROC optional.
6655 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6656 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6657 * net/tramp-sh.el (tramp-maybe-open-connection):
6658 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6659 Apply `tramp-check-proper-host'.
6661 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6663 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6664 lambda expression in order to have `describe-variable' display it.
6666 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6668 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6669 BUF can be optional. (Bug#15186)
6671 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6673 * progmodes/flymake.el (flymake-get-real-file-name-function):
6674 Fix broken customization. (Bug#15184)
6676 2013-08-25 Alan Mackenzie <acm@muc.de>
6678 Improve indentation of bracelists defined by macros (without "=").
6680 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6681 expansion begins with "{", regard it as bracelist when it doesn't
6684 Parse C++ inher-intro when there's a template split over 2 lines.
6686 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6687 rigorously the search for "class" etc. followed by ":".
6689 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6690 random languages a regexp which never matches rather than nil.
6692 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6694 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6695 (c-awk-regexp-one-line-possibly-open-char-list-re)
6696 (c-awk-one-line-possibly-open-regexp-re)
6697 (c-awk-one-line-non-syn-ws*-re): Remove.
6698 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6699 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6700 (c-awk-space*-unclosed-regexp-/-re): New constants.
6701 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6702 aren't regexp delimiters.
6704 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6705 handling for a rare situation in AWK Mode involving unterminated
6708 2013-08-23 Glenn Morris <rgm@gnu.org>
6710 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6712 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6714 * files.el (create-file-buffer): If the result would begin with
6715 spaces, prepend a "|" instead of removing them. (Bug#15162)
6717 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6719 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6720 text-properties (bug#15155).
6722 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6724 (calc-keypad-redraw): Remove unused var `pad'.
6725 (calc-keypad-press): Remove unused var `menu'.
6727 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6729 * window.el (display-buffer-pop-up-frame):
6730 Call pop-up-frame-function with BUFFER current so `make-frame' will
6731 use it as the new frame's buffer (Bug#15133).
6733 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6735 * calendar/timeclock.el: Minor cleanups.
6736 (timeclock-ask-before-exiting, timeclock-use-display-time):
6738 (timeclock-modeline-display): Define as alias before the
6740 (timeclock-mode-line-display): Use define-minor-mode.
6741 (timeclock-day-list-template): Make it a function, add an argument.
6742 (timeclock-day-list-required, timeclock-day-list-length)
6743 (timeclock-day-list-debt, timeclock-day-list-span)
6744 (timeclock-day-list-break): Adjust calls accordingly.
6746 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6748 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6749 Use read--expression so that completion works again.
6751 2013-08-21 Sam Steingold <sds@gnu.org>
6753 Add rudimentary inferior shell interaction
6754 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6755 (sh-set-shell): Reset it.
6756 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6757 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6759 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6761 * align.el: Use lexical-binding.
6762 (align-region): Simplify accordingly.
6764 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6766 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6768 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6771 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6775 * net/tramp-cmds.el:
6777 * net/tramp-gvfs.el:
6779 * net/tramp-sh.el: Don't wrap external variable declarations by
6780 `eval-when-compile'.
6782 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6784 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6785 now that Emacs supports ImageMagick animations.
6787 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6789 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6790 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6792 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6794 * window.el (mouse-autoselect-window-select): Do autoselect when
6795 mouse pointer is on margin.
6797 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6799 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6801 2013-08-16 Glenn Morris <rgm@gnu.org>
6803 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6804 Handle "Remote Directory" response of some clients. (Bug#15058)
6806 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6807 Tweak warning. (Bug#14926)
6809 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6810 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6812 * image-mode.el (image-mode-map): Add menu items to reverse,
6813 increase, decrease, reset animation speed.
6814 (image--set-speed, image-increase-speed, image-decrease-speed)
6815 (image-reverse-speed, image-reset-speed): New functions.
6816 (image-mode-map): Add bindings for speed commands.
6818 * image.el (image-animate-get-speed, image-animate-set-speed):
6820 (image-animate-timeout): Respect image :speed property.
6822 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6824 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6825 previous line (bug#15101).
6826 (debugger-eval-expression, debugger-record-expression):
6827 Use read--expression (bug#15102).
6829 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6831 Remove byte compiler warnings, visible when compiling with
6832 `byte-compile-force-lexical-warnings' set to t.
6834 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6835 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6836 (tramp-handle-unhandled-file-name-directory)
6837 (tramp-handle-file-notify-add-watch, tramp-action-login)
6838 (tramp-action-succeed, tramp-action-permission-denied)
6839 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6842 * net/tramp-adb.el (tramp-adb-parse-device-names)
6843 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6844 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6845 (tramp-adb-handle-file-truename): Remove unused arguments.
6847 * net/tramp-cache.el (tramp-flush-directory-property)
6848 (tramp-flush-connection-property, tramp-list-connections)
6849 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6851 * net/tramp-compat.el (tramp-compat-make-temp-file):
6852 Rename FILENAME to F.
6854 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6855 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6856 (tramp-zeroconf-parse-workstation-device-names)
6857 (tramp-zeroconf-parse-webdav-device-names)
6858 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6860 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6861 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6863 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6865 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6866 (tramp-sh-handle-insert-file-contents-literally)
6867 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6869 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6870 Remove unused variables.
6872 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6873 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6874 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6876 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6877 Make them a defconst.
6878 (tramp-uuencode-region): Remove unused variable.
6880 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6882 * frameset.el (frameset--prop-setter): New function.
6883 (frameset-prop): Add gv-setter declaration.
6884 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6885 parameter was already set in FILTERED. Doc fix.
6886 (frameset--record-minibuffer-relationships): Allow saving a
6887 minibufferless frame without its corresponding minibuffer frame.
6888 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6889 frame, if the frame id matches.
6890 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6891 frames before orphaned ones.
6892 (frameset-restore): Warn about orphaned windows, instead of error out.
6894 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6896 * window.el (window-make-atom): Don't overwrite parameter
6898 (display-buffer-in-atom-window): Handle special case where we
6899 split an already atomic window.
6900 (window--major-non-side-window, display-buffer-in-side-window)
6901 (window--side-check): Ignore minibuffer window when walking
6903 (window-deletable-p): Return 'frame only if no other frame uses
6904 our minibuffer window.
6905 (record-window-buffer): Run buffer-list-update-hook.
6906 (split-window): Make sure window--check-frame won't destroy an
6907 existing atomic window in case the new window gets nested
6909 (display-buffer-at-bottom): Ignore minibuffer window when
6910 walking window tree. Don't split a side window.
6911 (pop-to-buffer): Don't set-buffer here, the select-window call
6913 (mouse-autoselect-window-select): Autoselect only if we are in the
6914 text portion of the window.
6916 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6918 * net/shr.el (shr-parse-image-data): New function to grab both the
6919 data itself and the Content-Type.
6920 (shr-put-image): Use it.
6922 * net/eww.el (eww-display-image): Ditto.
6924 * image.el (image-content-type-suffixes): New variable.
6926 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6928 * progmodes/python.el (python-imenu--build-tree)
6929 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6931 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6933 * simple.el (backward-word): Mention the optional argument.
6935 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6937 * frameset.el (frameset--make): Rename constructor from make-frameset.
6938 (frameset-p, frameset-valid-p): Don't autoload.
6939 (frameset-valid-p): Use normal accessors.
6941 2013-08-13 Glenn Morris <rgm@gnu.org>
6943 * progmodes/compile.el (compile-command): Tweak example in doc.
6944 * obsolete/scribe.el (scribe-mode):
6945 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6947 * mail/feedmail.el (feedmail-confirm-outgoing)
6948 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6950 * cus-start.el (truncate-partial-width-windows): Fix type.
6952 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6954 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6956 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6958 * emacs-lisp/timer.el (timer--time-setter): New function.
6959 (timer--time): Use it as gv-setter.
6961 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6962 setter is not a symbol.
6964 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6966 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6967 if sending fails. This makes debugging easier.
6969 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6971 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6972 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6973 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6975 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6977 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6979 2013-08-12 Glenn Morris <rgm@gnu.org>
6981 * format.el (format-annotate-function):
6982 Handle read-only text properties in the source. (Bug#14887)
6984 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6986 * net/eww.el (eww-display-html): Ignore coding system errors.
6987 One web site uses "utf-8lias" as the coding system.
6989 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6991 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6993 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6995 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6996 (tutorial--detailed-help): Remove unused local variables.
6997 (tutorial--save-tutorial-to): Use ignore-errors.
6998 (help-with-tutorial): Use looking-at-p.
7000 * view.el (view-buffer-other-window, view-buffer-other-frame):
7001 Mark unused arguments.
7003 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7004 (woman-select-symbol-fonts, woman, woman-find-file)
7005 (woman-insert-file-contents, woman-non-underline-faces):
7007 (woman1-unquote): Move declaration.
7009 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7010 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7011 argument. Remove unused local variable.
7012 (xml-parse-elem-type): Use string-match-p.
7013 (xml-substitute-numeric-entities): Use ignore-errors.
7015 * calculator.el (calculator): Mark unused argument.
7016 (calculator-paste, calculator-quit, calculator-integer-p):
7018 (calculator-string-to-number, calculator-decimal, calculator-exp)
7019 (calculator-op-or-exp): Use string-match-p.
7021 * dired.el (dired-buffer-more-recently-used-p): Declare.
7022 (dired-insert-set-properties, dired-insert-old-subdirs):
7025 * dired-aux.el (dired-compress): Use ignore-errors.
7026 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7027 (dired-do-async-shell-command, dired-do-shell-command)
7028 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7029 (dired-insert-subdir-validate): Use string-match-p.
7030 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7031 (dired-add-entry): Use string-match-p, looking-at-p.
7032 (dired-insert-subdir-newpos): Remove unused local variable.
7034 * filenotify.el (file-notify-callback): Remove unused local variable.
7036 * filesets.el (filesets-error): Mark unused argument.
7037 (filesets-which-command-p, filesets-filter-dir-names)
7038 (filesets-directory-files, filesets-get-external-viewer)
7039 (filesets-ingroup-get-data): Use string-match-p.
7041 * find-file.el (ff-other-file-name, ff-other-file-name)
7042 (ff-find-the-other-file, ff-cc-hh-converter):
7043 Remove unused local variables.
7044 (ff-get-file-name): Use string-match-p.
7045 (ff-all-dirs-under): Use ignore-errors.
7047 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7048 (follow-select-if-visible): Remove unused local variable.
7050 * forms.el (read-file-filter): Move declaration.
7051 (forms--make-format, forms--make-parser, forms-insert-record):
7052 Quote function with #'.
7053 (forms--update): Use string-match-p. Quote function with #'.
7055 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7056 (help-make-xrefs): Use looking-at-p.
7057 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7059 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7060 (ibuffer-confirm-operation-on): Use string-match-p.
7062 * msb.el (msb-item-handler, msb-dired-item-handler):
7063 Mark unused arguments.
7065 * ses.el (ses-decode-cell-symbol)
7066 (ses-kill-override): Remove unused local variable.
7067 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7068 (ses-load): Use ignore-errors, looking-at-p.
7069 (ses-jump-safe): Use ignore-errors.
7070 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7072 * tabify.el (untabify, tabify): Mark unused arguments.
7074 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7075 Mark unused argument.
7076 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7077 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7079 * emacs-lisp/timer.el (timer--time): Define setter with
7080 gv-define-setter to avoid deprecation warning.
7082 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7083 (*record-cmpl-statistics-p*): Remove (was commented out).
7084 (cmpl-statistics-block): Remove (body was commented out).
7085 All callers changed.
7086 (add-completions-from-buffer, load-completions-from-file):
7087 Remove unused variables.
7089 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7091 * filecache.el (file-cache-delete-file-list):
7092 Print message only when told so.
7093 (file-cache-files-matching): Use #' in mapconcat argument.
7095 * ffap.el (ffap-url-at-point): Fix reference to variable
7096 thing-at-point-default-mail-uri-scheme.
7098 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7100 * subr.el (define-error): New function.
7101 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7102 error-file-not-found and define with define-error.
7103 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7104 and define with define-error.
7105 * userlock.el (file-locked, file-supersession):
7106 * simple.el (mark-inactive):
7107 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7108 * progmodes/ada-mode.el (ada-mode-errors):
7109 * play/life.el (life-extinct):
7110 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7111 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7112 * nxml/rng-util.el (rng-error):
7113 * nxml/rng-uri.el (rng-uri-error):
7114 * nxml/rng-match.el (rng-compile-error):
7115 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7116 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7117 * nxml/nxml-rap.el (nxml-scan-error):
7118 * nxml/nxml-outln.el (nxml-outline-error):
7119 * net/soap-client.el (soap-error):
7120 * net/gnutls.el (gnutls-error):
7121 * net/ange-ftp.el (ftp-error):
7122 * mpc.el (mpc-proc-error):
7123 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7124 (json-number-format, json-string-escape, json-string-format)
7125 (json-key-format, json-object-format):
7126 * jka-compr.el (compression-error):
7127 * international/quail.el (quail-error):
7128 * international/kkc.el (kkc-error):
7129 * emacs-lisp/ert.el (ert-test-failed):
7130 * calc/calc.el (calc-error, inexact-result, math-overflow)
7132 * bookmark.el (bookmark-error-no-filename):
7133 * epg.el (epg-error): Define with define-error.
7135 * time.el (display-time-event-handler)
7136 (display-time-next-load-average): Don't call sit-for since it seems
7137 unnecessary (bug#15045).
7139 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7140 Use #' instead of ' to quote functions.
7141 (checkdoc-output-mode): Use setq-local.
7142 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7143 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7144 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7145 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7146 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7147 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7148 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7149 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7151 * ido.el (ido-completion-help): Fix up compiler warning.
7153 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7155 * frameset.el (frameset-p): Add autoload cookie.
7156 (frameset--jump-to-register): New function, based on code moved from
7158 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7160 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7161 (frameset-restore, frameset-save, frameset-session-filter-alist):
7162 Remove declarations.
7163 (register-alist): Doc fix.
7164 (frameset-to-register): Move to frameset.el.
7165 (jump-to-register, describe-register-1): Remove frameset-specific code.
7167 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7169 * allout-widgets.el (allout-widgets-pre-command-business)
7170 (allout-widgets-post-command-business)
7171 (allout-widgets-after-change-handler)
7172 (allout-decorate-item-and-context, allout-set-boundary-marker)
7173 (allout-body-modification-handler)
7174 (allout-graphics-modification-handler): Mark ignored arguments.
7175 (allout-widgets-post-command-business)
7176 (allout-widgets-exposure-change-processor)
7177 (allout-widgets-exposure-undo-processor)
7178 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7179 (allout-parse-item-at-point, allout-decorate-item-guides)
7180 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7181 * allout.el (epa-passphrase-callback-function): Declare.
7182 (allout-overlay-insert-in-front-handler)
7183 (allout-overlay-interior-modification-handler)
7184 (allout-isearch-end-handler, allout-chart-siblings)
7185 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7186 (allout-yank-processing, allout-process-exposed)
7187 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7188 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7189 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7190 (lisp-indent-defform): Mark ignored arguments.
7191 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7192 (calculate-lisp-indent): Remove unused variables.
7193 * international/characters.el (indian-2-column, arabic-2-column)
7194 (tibetan): Mark ignored arguments.
7195 (use-cjk-char-width-table): Mark ignored arguments.
7196 Remove unused variables.
7197 * international/fontset.el (build-default-fontset-data)
7198 (x-compose-font-name, create-fontset-from-fontset-spec):
7199 Mark ignored arguments.
7200 (fontset-plain-name): Remove unused variables.
7201 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7202 (keyboard-coding-system): Mark ignored arguments.
7203 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7204 * help.el (resize-temp-buffer-window):
7205 * window.el (display-buffer-in-major-side-window)
7206 (display-buffer-in-side-window, display-buffer-in-previous-window):
7207 Remove unused variables.
7208 * isearch.el (isearch-forward-symbol):
7209 * version.el (emacs-bzr-version-bzr):
7210 * international/mule-cmds.el (current-language-environment):
7211 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7213 * term/pc-win.el (x-list-fonts, x-display-planes)
7214 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7215 (x-server-version, x-display-screens, x-display-mm-height)
7216 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7217 (x-selection-owner-p, x-own-selection-internal)
7218 (x-disown-selection-internal, x-get-selection-internal)
7219 (msdos-initialize-window-system):
7220 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7221 * term/x-win.el (x-handle-no-bitmap-icon):
7222 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7223 (vc-default-find-file-hook, vc-default-extra-menu):
7224 Mark ignored arguments.
7226 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7228 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7229 break-condition in the context of the debugged code (bug#12685).
7231 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7234 Do not use an overlay to highlight the last prompt. (Bug#14744)
7235 (comint-mode): Make comint-last-prompt buffer local.
7236 (comint-last-prompt): New variable.
7237 (comint-last-prompt-overlay): Remove. Superseded by
7239 (comint-snapshot-last-prompt, comint-output-filter):
7240 Use comint-last-prompt.
7242 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7244 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7245 (frameset-save): Check validity of the resulting frameset.
7247 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7249 * ido.el (ido-record-command): Add doc string.
7251 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7253 * frameset.el (frameset): Do not disable creation of the default
7254 frameset-p predicate. Doc fix.
7255 (frameset-valid-p): New function, copied from the old predicate-p.
7256 Add additional checks.
7257 (frameset-restore): Check with frameset-valid-p.
7258 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7259 (frameset-name, frameset-description, frameset-properties)
7260 (frameset-states): Add docstring.
7261 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7262 (frameset-filter-alist): Doc fixes.
7264 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7266 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7268 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7270 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7271 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7272 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7273 (byte-compile-normal-call): Remove obsolescence check.
7275 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7277 * frameset.el (frameset-restore): Doc fix.
7279 * register.el (frameset-frame-id, frameset-frame-with-id)
7280 (frameset-p, frameset-restore, frameset-save): Declare.
7281 (register-alist): Document framesets.
7282 (frameset-session-filter-alist): Declare.
7283 (frameset-to-register): New function.
7284 (jump-to-register): Implement jumping to framesets. Doc fix.
7285 (describe-register-1): Describe framesets.
7287 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7289 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7291 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7292 Use lexical-binding.
7294 * frameset.el (frameset): Use type vector, not list (incompatible
7295 change). Do not declare a new constructor, use the default one.
7296 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7297 `name' and `description', respectively, and add read-only slot
7298 `timestamp'. Doc fixes.
7299 (frameset-copy, frameset-persistent-filter-alist)
7300 (frameset-filter-alist, frameset-switch-to-gui-p)
7301 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7302 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7303 (frameset-filter-iconified, frameset-keep-original-display-p):
7305 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7306 Rename from frameset-filter-(save|restore)-param. All callers changed.
7308 (frameset-p): Adapt to change to vector and be more thorough.
7309 Change arg name to OBJECT. Doc fix.
7310 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7311 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7312 All callers changed.
7313 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7314 All callers changed.
7315 (frameset--record-minibuffer-relationships): Rename from
7316 frameset--process-minibuffer-frames. All callers changed.
7317 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7318 Use new default constructor (again). Doc fix.
7319 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7320 All callers changed.
7321 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7322 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7324 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7325 PARAMETERS and WINDOW-STATE, respectively.
7326 (frameset-restore): Add new keyword argument PREDICATE.
7327 Reset frameset--target-display to nil. Doc fix.
7329 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7331 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7333 (bat-mode-syntax-table): Mark \n as end-of-comment.
7334 (bat-font-lock-keywords): Remove comment rule.
7336 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7337 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7339 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7340 (byte-compile-callargs-warn): Use `push'.
7341 (byte-compile-arglist-warn): Ignore higher-order "calls".
7342 (byte-compile-file-form-autoload): Use `pcase'.
7343 (byte-compile-function-form): If quoting a symbol, check that it exists.
7345 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7347 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7348 and add a few popular commands found in batch files.
7349 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7350 (dos-mode): Doc fixes.
7352 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7354 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7355 (dos-mode): Use setq-local. Add space after "rem".
7356 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7357 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7359 2013-08-07 Arni Magnusson <arnima@hafro.is>
7361 * progmodes/dos.el: New file.
7362 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7365 2013-08-06 Glenn Morris <rgm@gnu.org>
7367 * calendar/calendar.el: Add new faces, and day-header-array.
7368 (calendar-weekday-header, calendar-weekend-header)
7369 (calendar-month-header): New faces.
7370 (calendar-day-header-construct): New function.
7371 (calendar-day-header-width): Also :set calendar-day-header-array.
7372 (calendar-american-month-header, calendar-european-month-header)
7373 (calendar-iso-month-header): Use calendar- faces.
7374 (calendar-generate-month):
7375 Use calendar-day-header-array for day headers; apply faces to them.
7376 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7377 (calendar-abbrev-construct): Add optional maxlen argument.
7378 (calendar-day-name-array): Doc fix.
7379 (calendar-day-name-array, calendar-abbrev-length)
7380 (calendar-day-abbrev-array):
7381 Also :set calendar-day-header-array, and maybe redraw.
7382 (calendar-day-header-array): New option. (Bug#15007)
7383 (calendar-font-lock-keywords): Set to nil and make obsolete.
7384 (calendar-day-name): Add option to use header array.
7386 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7388 * net/shr.el (shr-render-td): Remove debugging.
7389 (shr-render-td): Make width computation consistent by defaulting
7390 all zero-width columns to 10 characters. This may not be optimal,
7391 but it's at least consistent.
7392 (shr-make-table-1): Redo last change to fix the real problem in
7395 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7397 * files.el (cache-long-line-scans):
7398 Make obsolete alias to `cache-long-scans'.
7400 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7402 * frameset.el (frameset, frameset-filter-alist)
7403 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7404 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7405 (frameset-compute-pos): Rename from frameset--compute-pos,
7407 (frameset-move-onscreen): Use frameset-compute-pos.
7408 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7410 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7411 Fix typos in docstrings.
7413 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7415 * frame.el (get-other-frame): Tiny cleanup.
7417 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7419 * vc/vc.el (vc-default-ignore-completion-table):
7420 Silence byte-compiler warning.
7422 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7423 slot, which can indeed be nil.
7424 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7425 Move entry for `left' from persistent to live filter alist.
7426 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7428 (frameset-filter-params): When restoring a frame, copy items added to
7429 `filtered', to avoid unwittingly modifying the original parameters.
7430 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7431 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7433 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7434 to use looking-at-p instead of looking-at. (Bug#15028)
7436 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7438 Revert introduction of isearch-filter-predicates (bug#14714).
7439 Rely on add-function instead.
7440 * isearch.el (isearch-filter-predicates): Rename it back to
7441 isearch-filter-predicate.
7442 (isearch-message-prefix): Use advice-function-mapc and advice
7443 properties to get the isearch-message-prefix.
7444 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7445 instead of run-hook-with-args-until-failure.
7446 (isearch-filter-visible): Not obsolete any more.
7447 * loadup.el: Preload nadvice.
7448 * replace.el (perform-replace): Revert to funcall
7449 instead of run-hook-with-args-until-failure.
7450 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7451 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7452 dired-isearch-filenames-toggle; make it into a proper minor mode.
7453 Use add/remove-function.
7454 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7455 Call the minor-mode rather than add/remove-hook.
7456 (dired-isearch-filter-filenames):
7457 Remove isearch-message-prefix property.
7458 * info.el (Info--search-loop): New function, extracted from Info-search.
7459 Funcall isearch-filter-predicate instead of
7460 run-hook-with-args-until-failure isearch-filter-predicates.
7461 (Info-search): Use it.
7462 (Info-mode): Use isearch-filter-predicate instead of
7463 isearch-filter-predicates.
7465 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7467 Do not call to `selected-window' where it is assumed by default.
7468 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7469 `window-hscroll', `window-width', `window-height', `window-buffer',
7470 `window-frame', `window-start', `window-point', `next-window'
7471 and `window-display-table'.
7472 * abbrev.el (abbrev--default-expand):
7473 * bs.el (bs--show-with-configuration):
7474 * buff-menu.el (Buffer-menu-mouse-select):
7475 * calc/calc.el (calc):
7476 * calendar/calendar.el (calendar-generate-window):
7477 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7479 * comint.el (send-invisible, comint-dynamic-complete-filename)
7480 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7481 * completion.el (complete):
7482 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7483 * disp-table.el (describe-current-display-table):
7484 * doc-view.el (doc-view-insert-image):
7485 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7486 * ehelp.el (with-electric-help):
7487 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7488 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7489 * emacs-lisp/helper.el (Helper-help-scroller):
7490 * emulation/cua-base.el (cua--post-command-handler-1):
7491 * eshell/esh-mode.el (eshell-output-filter):
7492 * ffap.el (ffap-gnus-wrapper):
7493 * help-macro.el (make-help-screen):
7494 * hilit-chg.el (highlight-compare-buffers):
7495 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7496 * hl-line.el (global-hl-line-highlight):
7497 * icomplete.el (icomplete-simple-completing-p):
7498 * isearch.el (isearch-done):
7499 * jit-lock.el (jit-lock-stealth-fontify):
7500 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7501 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7502 * mpc.el (mpc-tagbrowser, mpc):
7503 * net/rcirc.el (rcirc-any-buffer):
7504 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7505 * play/landmark.el (landmark-max-width, landmark-max-height):
7506 * play/zone.el (zone):
7507 * progmodes/compile.el (compilation-goto-locus):
7508 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7509 * progmodes/etags.el (find-tag-other-window):
7510 * progmodes/fortran.el (fortran-column-ruler):
7511 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7512 * progmodes/verilog-mode.el (verilog-point-text):
7513 * reposition.el (reposition-window):
7514 * rot13.el (toggle-rot13-mode):
7515 * server.el (server-switch-buffer):
7516 * shell.el (shell-dynamic-complete-command)
7517 (shell-dynamic-complete-environment-variable):
7518 * simple.el (insert-buffer, set-selective-display)
7519 (delete-completion-window):
7520 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7521 (speedbar-recenter):
7522 * startup.el (fancy-splash-head):
7523 * textmodes/ispell.el (ispell-command-loop):
7524 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7525 * tutorial.el (help-with-tutorial):
7526 * vc/add-log.el (add-change-log-entry):
7527 * vc/compare-w.el (compare-windows):
7528 * vc/ediff-help.el (ediff-indent-help-message):
7529 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7530 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7531 (ediff-setup-control-frame):
7532 * vc/emerge.el (emerge-position-region):
7533 * vc/pcvs-util.el (cvs-bury-buffer):
7534 * window.el (walk-windows, mouse-autoselect-window-select):
7535 * winner.el (winner-set-conf, winner-undo): Related users changed.
7537 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7539 * frameset.el (frameset--set-id): Doc fix.
7540 (frameset-frame-id, frameset-frame-id-equal-p)
7541 (frameset-locate-frame-id): New functions.
7542 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7543 (frameset-restore): Use them.
7545 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7547 Do not call to `selected-frame' where it is assumed by default.
7548 Affected functions are `raise-frame', `redraw-frame',
7549 `frame-first-window', `frame-terminal' and `delete-frame'.
7550 * calendar/appt.el (appt-disp-window):
7551 * epg.el (epg-wait-for-completion):
7552 * follow.el (follow-delete-other-windows-and-split)
7553 (follow-avoid-tail-recenter):
7554 * international/mule.el (set-terminal-coding-system):
7555 * mail/rmail.el (rmail-mail-return):
7556 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7557 * progmodes/f90.el (f90-add-imenu-menu):
7558 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7559 * server.el (server-switch-buffer):
7560 * simple.el (delete-completion-window):
7562 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7563 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7564 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7565 * vc/ediff.el (ediff-documentation): Related users changed.
7566 * frame.el (selected-terminal): Remove the leftover.
7568 2013-08-05 Glenn Morris <rgm@gnu.org>
7570 * calendar/calendar.el (calendar-generate-month):
7571 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7572 (calendar-generate-month, calendar-font-lock-keywords):
7573 Fix for calendar-day-header-width > length of any day name.
7575 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7577 * desktop.el (desktop-clear): Use new name of sort predicate.
7579 * frameset.el (frameset): Add docstring. Move :version property to its
7581 (frameset-copy): Rename from copy-frameset.
7582 (frameset-p): Check more thoroughly.
7583 (frameset-prop): Do not check for :version, which is no longer a prop.
7584 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7585 Use new :never value instead of t.
7586 (frameset-filter-alist): Expand and clarify docstring.
7587 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7588 (frameset-filter-minibuffer, frameset-filter-save-param)
7589 (frameset-filter-restore-param, frameset-filter-iconified):
7590 Add pointer to docstring of frameset-filter-alist.
7591 (frameset-filter-params): Rename filter values to be more meaningful:
7592 :never instead of t, and reverse the meanings of :save and :restore.
7593 (frameset--process-minibuffer-frames): Clarify error message.
7594 (frameset-save): Avoid unnecessary and confusing call to framep.
7595 Use new BOA constructor for framesets.
7596 (frameset--reuse-list): Doc fix.
7597 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7598 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7599 (frameset-minibufferless-first-p): Doc fix.
7600 Rename from frameset-sort-frames-for-deletion.
7601 (frameset-restore): Doc fixes. Use new function names.
7602 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7604 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7606 * desktop.el (desktop-restore-forces-onscreen)
7607 (desktop-restore-reuses-frames): Document :keyword constant values.
7608 (desktop-filter-parameters-alist): Remove, now identical to
7609 frameset-filter-alist.
7610 (desktop--filter-tty*): Remove, moved to frameset.el.
7611 (desktop-save-frameset, desktop-restore-frameset):
7612 Do not pass :filters argument.
7614 * frameset.el (frameset-live-filter-alist)
7615 (frameset-persistent-filter-alist): New variables.
7616 (frameset-filter-alist): Use them. Add autoload cookie.
7617 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7618 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7619 `frameset--id' (it's supposed to be internal to frameset.el).
7620 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7621 (frameset--initial-params): New function.
7622 (frameset--get-frame): Use it. Doc fix.
7623 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7624 Accept :all, not 'all.
7625 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7626 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7627 with fbound symbols. Fix frame id matching, and remove matching ids if
7628 the frame being restored is deleted. Obey :delete.
7630 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7632 * subr.el (macrop): New function.
7633 (text-clone--maintaining): New var.
7634 (text-clone--maintain): Rename from text-clone-maintain. Use it
7635 instead of inhibit-modification-hooks.
7637 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7638 a proxy, so as handle autoloads and redefinitions of the target.
7639 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7641 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7642 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7643 (pcase--mutually-exclusive-p): New function.
7644 (pcase--split-consp): Use it.
7645 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7646 mutually exclusive with the current predicate.
7648 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7649 (edebug-macrop): Remove. Use `macrop' instead.
7650 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7652 * eshell/esh-cmd.el (eshell-macrop):
7653 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7655 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7657 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7658 (advice-mapc): New function, using it.
7659 (advice-function-member-p): New function.
7660 (advice--normalize): Store the cdr in advice--saved-rewrite since
7661 that's the part that will be changed.
7662 (advice--symbol-function): New function.
7663 (advice-remove): Handle removal before the function is defined.
7664 Adjust to new advice--saved-rewrite.
7665 (advice-member-p): Use advice-function-member-p and
7666 advice--symbol-function.
7668 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7670 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7671 (frameset-filter-minibuffer): Doc fix.
7672 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7673 (frameset--set-id, frameset--process-minibuffer-frames)
7674 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7675 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7677 * desktop.el (desktop-clear): Only delete frames when called
7678 interactively and desktop-restore-frames is non-nil. Doc fix.
7679 (desktop-read): Set desktop-saved-frameset to nil.
7681 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7683 * vc/vc.el (vc-ignore): Rewrite.
7684 (vc-default-ignore-completion-table):
7686 (vc--add-line, vc--remove-regexp): New functions.
7688 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7689 (vc-svn-ignore-completion-table): New function.
7691 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7692 (vc-hg-ignore-completion-table):
7693 (vc-hg-find-ignore-file): New functions.
7695 * vc/vc-git.el (vc-git-ignore): Rewrite.
7696 (vc-git-ignore-completion-table):
7697 (vc-git-find-ignore-file): New functions.
7699 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7701 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7702 (vc-bzr-ignore-completion-table):
7703 (vc-bzr-find-ignore-file): New functions.
7705 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7707 * frameset.el (frameset-prop): New function and setter.
7708 (frameset-save): Do not modify frame list passed by the caller.
7710 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7712 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7714 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7716 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7717 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7719 * custom.el (custom-initialize-default, custom-initialize-set)
7720 (custom-initialize-reset, custom-initialize-changed): Affect the
7721 toplevel-default-value (bug#6275, bug#14586).
7722 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7725 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7727 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7728 Add cl-def* expressions.
7730 * frameset.el (frameset-filter-params): Fix order of arguments.
7732 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7734 Move code related to saving frames to frameset.el.
7735 * desktop.el: Require frameset.
7736 (desktop-restore-frames): Doc fix.
7737 (desktop-restore-reuses-frames): Rename from
7738 desktop-restoring-reuses-frames.
7739 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7740 (desktop-clear): Clear frames too.
7741 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7742 (desktop--filter-tty*, desktop-save, desktop-read):
7743 Use frameset functions.
7744 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7745 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7746 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7747 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7748 (desktop--process-minibuffer-frames, desktop-save-frames)
7749 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7750 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7751 (desktop--sort-states, desktop-restoring-frames-p)
7752 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7753 (desktop-restoring-frameset-p, desktop-restore-frameset)
7754 (desktop--check-dont-save, desktop-save-frameset): New functions.
7755 (desktop--app-id): New constant.
7756 (desktop-first-buffer, desktop-buffer-ok-count)
7757 (desktop-buffer-fail-count): Move before first use.
7758 * frameset.el: New file.
7760 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7762 * files.el: Use lexical-binding.
7763 (dir-locals-read-from-file): Remove unused `err' variable.
7764 (hack-dir-local-variables--warned-coding): New var.
7765 (hack-dir-local-variables): Use it to avoid repeated warnings.
7766 (make-backup-file-name--default-function): New function.
7767 (make-backup-file-name-function): Use it as default.
7768 (buffer-stale--default-function): New function.
7769 (buffer-stale-function): Use it as default.
7770 (revert-buffer-insert-file-contents--default-function): New function.
7771 (revert-buffer-insert-file-contents-function): Use it as default.
7772 (insert-directory): Avoid add-to-list.
7774 * autorevert.el (auto-revert-handler): Simplify.
7775 Use buffer-stale--default-function.
7777 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7779 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7781 * whitespace.el (whitespace-ensure-local-variables): New function.
7782 (whitespace-cleanup-region): Call it.
7783 (whitespace-turn-on): Call it.
7785 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7787 Complete file name handlers.
7789 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7790 (tramp-handle-verify-visited-file-modtime)
7791 (tramp-handle-file-notify-rm-watch): New functions.
7792 (tramp-call-process): Do not bind `default-directory'.
7794 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7795 Order alphabetically.
7796 <access-file, add-name-to-file, dired-call-process>:
7797 <dired-compress-file, file-acl, file-notify-rm-watch>:
7798 <file-ownership-preserved-p, file-selinux-context>:
7799 <make-directory-internal, make-symbolic-link, set-file-acl>:
7800 <set-file-selinux-context, set-visited-file-modtime>:
7801 <verify-visited-file-modtime>: Add handler.
7802 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7804 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7805 <file-notify-add-watch, file-notify-rm-watch>:
7806 <set-file-times, set-visited-file-modtime>:
7807 <verify-visited-file-modtime>: Add handler.
7808 (with-tramp-gvfs-error-message)
7809 (tramp-gvfs-handle-set-visited-file-modtime)
7810 (tramp-gvfs-fuse-file-name): Remove.
7811 (tramp-gvfs-handle-file-notify-add-watch)
7812 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7813 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7815 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7816 Order alphabetically.
7817 <file-notify-rm-watch>: Use default Tramp handler.
7818 <executable-find>: Remove private handler.
7819 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7820 `default-directory'.
7821 (tramp-sh-handle-executable-find)
7822 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7823 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7824 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7825 Do not use `format' in `tramp-message'.
7827 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7828 <file-notify-rm-watch, set-visited-file-modtime>:
7829 <verify-visited-file-modtime>: Add handler.
7830 (tramp-smb-call-winexe): Do not bind `default-directory'.
7832 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7834 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7836 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7838 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7840 (log-view-diff-changeset): Same.
7841 (log-view-diff-common): Call backend command `previous-revision'
7842 to find out the previous revision, in both cases. Swap the
7843 variables `to' and `fr', so that `fr' usually refers to the
7844 earlier revision (Bug#14989).
7846 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7848 * ibuf-ext.el (ibuffer-filter-by-filename):
7849 Make it work with dired buffers too.
7851 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7853 * emacs-lisp/re-builder.el (reb-color-display-p):
7854 * files.el (save-buffers-kill-terminal):
7855 * net/browse-url.el (browse-url):
7856 * server.el (server-save-buffers-kill-terminal):
7857 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7858 Prefer nil to selected-frame for the first arg of frame-parameter.
7860 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7862 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7864 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7866 * minibuffer.el (completion--twq-all): Try and preserve each
7867 completion's case choice (bug#14907).
7869 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7871 * net/network-stream.el (open-network-stream): Mention the new
7872 :nogreeting parameter.
7873 (network-stream-open-starttls): Use the :nogreeting parameter
7876 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7878 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7879 more natural than popping.
7881 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7882 (shr-urlify): Highlight under mouse.
7884 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7886 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7888 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7890 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7893 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7894 point-min==1. Fix search string. Fix parentheses missing.
7896 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7897 assume point-min==1. Fix search string. Fix parentheses missing.
7899 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7901 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7904 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7906 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7907 initial frame is minibuffer-less. (Bug#14841)
7909 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7911 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7914 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7915 (tramp-maybe-open-connection): Use it.
7917 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7919 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7920 minimal set of parameters passed when creating a frame, because
7921 the minibuffer status of a frame cannot be changed later.
7923 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7925 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7926 replace-regexp-in-string and inadvertent omissions in previous change.
7927 (todo-filter-items): Ensure only file names are comma-separated in
7928 name of filtered items buffer.
7930 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7932 * desktop.el: Optionally force offscreen frames back onscreen.
7933 (desktop-restoring-reuses-frames): New option.
7934 (desktop--compute-pos, desktop--move-onscreen): New functions.
7935 (desktop--make-frame): Use desktop--move-onscreen.
7937 2013-07-27 Alan Mackenzie <acm@muc.de>
7939 Fontify a Java generic method as a function.
7940 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7943 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7945 * calendar/todo-mode.el: Add command to rename todo files.
7946 (todo-rename-file): New command.
7947 (todo-key-bindings-t): Add key binding for it. Change the
7948 bindings of todo-filter-regexp-items(-multifile) to use `x'
7949 instead of `r', since the latter is better suited to the new
7952 2013-07-27 Alan Mackenzie <acm@muc.de>
7954 Make Java try-with-resources statement parse properly.
7955 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7956 (c-block-stmt-1-2-key): New language constants/variables.
7957 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7958 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7959 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7960 with c-block-stmt-1-2-key.
7962 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7964 * desktop.el (desktop--make-frame): Apply most frame parameters after
7965 creating the frame to force (partially or totally) offscreen frames to
7966 be restored as such.
7968 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7970 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7973 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7975 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7976 `base' arg of backtrace-frame.
7978 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7980 * simple.el (list-processes): Doc fix.
7982 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7984 * desktop.el (desktop--select-frame):
7985 Try harder to reuse existing frames.
7987 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7989 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7990 (edebug-eval): Use backtrace-eval.
7991 (edebug--display, edebug--recursive-edit): Don't let-bind the
7992 edebug-outer-* vars that keep track of variables we locally let-bind.
7993 (edebug-outside-excursion): Don't restore outside values of locally
7995 (edebug--display): Use user-error.
7996 (cl-lexical-debug, cl-debug-env): Remove.
7998 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8000 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8001 are restored to be sure that they are visible before deleting any
8004 2013-07-26 Matthias Meulien <orontee@gmail.com>
8006 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8007 vc-print-root-log. (Bug#14948)
8009 2013-07-26 Richard Stallman <rms@gnu.org>
8011 Add aliases for encrypting mail.
8012 * epa.el (epa-mail-aliases): New option.
8013 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8014 Bind inhibit-read-only so read-only text doesn't ruin everything.
8015 (epa-mail-default-recipients): New subroutine broken out.
8016 Handle epa-mail-aliases.
8018 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8020 Add support for lexical variables to the debugger's `e' command.
8021 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8022 vars, except for debugger-outer-match-data.
8023 (debugger-frame-number): Move check for "on a function call" from
8024 callers into it. Add `skip-base' argument.
8025 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8026 (debugger-env-macro): Only reset the state stored in non-variables,
8027 i.e. current-buffer and match-data.
8028 (debugger-eval-expression): Rewrite using backtrace-eval.
8029 * subr.el (internal--called-interactively-p--get-frame): Remove.
8030 (called-interactively-p):
8031 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8032 `base' arg of backtrace-frame instead.
8034 2013-07-26 Glenn Morris <rgm@gnu.org>
8036 * align.el (align-regexp): Doc fix. (Bug#14857)
8037 (align-region): Explicit error if subexpression missing/does not match.
8039 * simple.el (global-visual-line-mode):
8040 Do not duplicate the mode lighter. (Bug#14858)
8042 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8044 * window.el (display-buffer): In display-buffer bind
8045 split-window-keep-point to t, bug#14829.
8047 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8049 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8050 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8051 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8052 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8054 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8055 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8057 2013-07-25 Glenn Morris <rgm@gnu.org>
8059 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8061 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8063 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8064 parameter to modify-frame-parameters if the value has not changed;
8065 this is a workaround for bug#14949.
8066 (desktop--make-frame): On cl-delete-if call, check parameter name,
8069 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8071 * vc/vc.el (vc-ignore): New function.
8073 * vc/vc-svn.el (vc-svn-ignore): New function.
8075 * vc/vc-hg.el (vc-hg-ignore): New function.
8077 * vc/vc-git.el (vc-git-ignore): New function.
8079 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8080 (vc-dir-ignore): New function.
8082 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8083 (cvs-append-to-ignore): Move here from pcvs.el.
8085 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8087 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8089 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8091 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8092 (desktop-restore-frames): Warn when deleting an existing frame failed.
8094 2013-07-24 Glenn Morris <rgm@gnu.org>
8096 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8098 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8100 * filenotify.el (file-notify-supported-p):
8101 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8104 * autorevert.el (auto-revert-use-notify):
8105 (auto-revert-notify-add-watch):
8106 * net/tramp.el (tramp-file-name-for-operation):
8107 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8108 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8109 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8110 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8111 Remove `file-notify-supported-p' entry.
8113 2013-07-24 Glenn Morris <rgm@gnu.org>
8115 * printing.el: Replace all uses of deleted ps-windows-system,
8116 ps-lp-system, ps-flatten-list with lpr- versions.
8118 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8120 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8121 checked with memq (bug#14935).
8123 * files.el (revert-buffer-function): Use a non-nil default.
8124 (revert-buffer-preserve-modes): Declare var to
8125 provide access to the `preserve-modes' argument.
8126 (revert-buffer): Let-bind it.
8127 (revert-buffer--default): New function, extracted from revert-buffer.
8129 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8131 * lpr.el: Signal print errors more prominently.
8132 (print-region-function): Don't default to nil.
8133 (lpr-print-region): New function, extracted from print-region-1.
8134 Check lpr's return value and signal an error in case of problem.
8135 (print-region-1): Use it.
8136 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8138 (ps-printer-name): Default to nil.
8139 (ps-printer-name-option): Default to lpr-printer-switch.
8140 (ps-print-region-function): Don't default to nil.
8141 (ps-postscript-code-directory): Simplify default.
8142 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8143 (ps-string-list, ps-eval-switch, ps-flatten-list)
8144 (ps-flatten-list-1): Remove.
8145 (ps-multibyte-buffer): Avoid setq.
8146 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8147 (print-region-function, ps-print-region-function): Don't set them here.
8149 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8151 * ido.el (ido-fractionp):
8152 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8153 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8154 (ido-max-directory-size, ido-max-dir-file-cache)
8155 (ido-decorations): Doc fix.
8157 * ansi-color.el: Fix old URL.
8159 2013-07-23 Michael R. Mauger <michael@mauger.com>
8161 * progmodes/sql.el: Version 3.3
8162 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8163 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8164 (sql-interactive-remove-continuation-prompt): Rewrite, use
8165 functions above. Fix continuation prompt and complete output line
8167 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8168 redirected output buffer.
8169 (sql-mode): Restore deleted code (Bug#13591).
8171 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8173 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8175 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8177 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8179 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8180 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8181 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8183 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8185 * desktop.el (desktop-clear): Simplify; remove useless checks
8186 against invalid buffer names.
8187 (desktop-list*): Use cl-list*.
8188 (desktop-buffer-info, desktop-create-buffer): Simplify.
8190 2013-07-23 Leo Liu <sdl.web@gmail.com>
8192 * bookmark.el (bookmark-make-record): Restore NAME as a default
8195 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8197 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8198 extracted from autoload--insert-text.
8199 (autoload--insert-text): Remove.
8200 (autoload--print-cookie-text): New function, extracted from
8201 autoload--insert-cookie-text.
8202 (autoload--insert-cookie-text): Remove.
8203 (autoload-generate-file-autoloads): Adjust calls accordingly.
8205 * winner.el (winner-hook-installed-p): Remove.
8206 (winner-mode): Simplify accordingly.
8208 * subr.el (add-to-list): Fix compiler-macro when `append' is
8209 not constant. Don't use `cl-member' for the base case.
8211 * progmodes/subword.el: Fix boundary case (bug#13758).
8212 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8214 (subword-backward-regexp): Make it a constant.
8215 (subword-forward-internal): Don't treat a trailing capital as the
8216 beginning of a word.
8218 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8220 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8221 global value of tabulated-list-revert-hook (bug#14930).
8223 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8225 * desktop.el: Require 'cl-lib.
8226 (desktop-before-saving-frames-functions): New hook.
8227 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8228 for frames being saved. Rename from desktop--save-minibuffer-frames.
8229 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8230 Do not save frames with non-nil `desktop-dont-save' parameter.
8231 Filter out deleted frames.
8232 (desktop--find-frame): Use cl-find-if.
8233 (desktop--select-frame): Use cl-(first|second|third) to access values
8235 (desktop--make-frame): Use cl-delete-if.
8236 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8237 (desktop-restore-frames): Use cl-(first|second|third) to access values
8238 of desktop-mini. Look for visible frame at the end, not while
8241 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8242 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8243 Use string-match-p, looking-at-p (bug#14927).
8245 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8247 * desktop.el (desktop-saved-frame-states):
8248 Rename from desktop--saved-states; all users changed.
8249 (desktop-save-frames): Rename from desktop--save-frames.
8250 Do not save state to desktop file.
8251 (desktop-save): Save desktop-saved-frame-states to desktop file
8253 (desktop-restoring-frames-p): New function.
8254 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8255 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8256 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8258 * desktop.el: Correctly restore iconified frames.
8259 (desktop--filter-iconified-position): New function.
8260 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8262 2013-07-20 Glenn Morris <rgm@gnu.org>
8264 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8265 Let `message' do the formatting.
8266 (def-gdb-preempt-display-buffer): Add explicit format.
8268 * image-dired.el (image-dired-track-original-file):
8269 Use with-current-buffer.
8270 (image-dired-track-thumbnail): Use with-current-buffer.
8271 Avoid changing point of wrong window.
8273 * image-dired.el (image-dired-track-original-file):
8274 Avoid changing point of wrong window. (Bug#14909)
8276 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8278 * progmodes/gdb-mi.el (gdb-done-or-error):
8279 Guard against "%" in gdb output. (Bug#14127)
8281 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8283 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8286 * international/mule.el (coding-system-iso-2022-flags): Fix last
8289 2013-07-20 Kenichi Handa <handa@gnu.org>
8291 * international/mule.el (coding-system-iso-2022-flags):
8292 Add `8-bit-level-4'. (Bug#8522)
8294 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8296 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8299 * net/eww.el (eww-process-text-input): Allow inputting when the
8300 point is at the start of the line, as the properties aren't
8303 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8306 2013-07-19 Richard Stallman <rms@gnu.org>
8308 * epa.el (epa-popup-info-window): Doc fix.
8310 * subr.el (split-string): New arg TRIM.
8312 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8314 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8315 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8317 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8319 * filenotify.el (file-notify--library): Rename from
8320 `file-notify-support'. Do not autoload. Adapt all uses.
8321 (file-notify-supported-p): New defun.
8323 * autorevert.el (auto-revert-use-notify):
8324 Use `file-notify-supported-p' instead of `file-notify-support'.
8326 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8328 * net/tramp.el (tramp-file-name-for-operation):
8329 Add `file-notify-supported-p'.
8331 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8333 (tramp-sh-file-name-handler-alist): Add it as handler for
8334 `file-notify-supported-p '.
8336 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8337 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8338 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8339 Add `ignore' as handler for `file-notify-*' functions.
8341 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8343 * simple.el (line-move-partial, line-move): Don't start vscroll or
8344 scroll-up if the current line is not taller than the window.
8347 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8350 highlight question marks in the method names as strings.
8351 (ruby-block-beg-keywords): Inline.
8352 (ruby-font-lock-keyword-beg-re): Extract from
8353 `ruby-font-lock-keywords'.
8355 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8357 * frame.el (blink-cursor-blinks): New defcustom.
8358 (blink-cursor-blinks-done): New defvar.
8359 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8360 (blink-cursor-timer-function): Check if number of blinks has been
8362 (blink-cursor-suspend, blink-cursor-check): New defuns.
8364 2013-07-15 Glenn Morris <rgm@gnu.org>
8366 * edmacro.el (edmacro-format-keys): Fix previous change.
8368 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8370 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8371 The hack didn't work outside English locales anyway.
8373 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8375 * simple.el (define-alternatives): Rename from alternatives-define,
8376 per RMS' suggestion.
8378 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8380 * desktop.el (desktop-restore-frames): Change default to t.
8381 (desktop-restore-in-current-display): Now offer more options.
8382 (desktop-restoring-reuses-frames): New customization option.
8383 (desktop--saved-states): Doc fix.
8384 (desktop-filter-parameters-alist): New variable, renamed and expanded
8385 from desktop--excluded-frame-parameters.
8386 (desktop--target-display): New variable.
8387 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8388 (desktop--filter-tty*, desktop--filter-*-color)
8389 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8390 (desktop--filter-save-desktop-parm)
8391 (desktop-restore-in-original-display-p): New functions.
8392 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8393 (desktop--save-minibuffer-frames): New function, inspired by a similar
8394 function from Martin Rudalics.
8395 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8396 (desktop--restore-in-this-display-p): Remove.
8397 (desktop--find-frame): Rename from desktop--find-frame-in-display
8398 and add predicate argument.
8399 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8400 (desktop--reuse-list): New variable.
8401 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8403 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8405 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8407 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8409 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8411 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8412 Highlight conversion methods on Kernel.
8414 2013-07-13 Alan Mackenzie <acm@muc.de>
8416 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8417 and comment it out. This out-commenting enables certain C++
8418 declarations to be parsed correctly.
8420 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8422 * international/mule.el (define-coding-system): Doc fix.
8424 * simple.el (default-font-height): Don't call font-info if the
8425 frame's default font didn't change since the frame was created.
8428 2013-07-13 Leo Liu <sdl.web@gmail.com>
8430 * ido.el (ido-read-file-name): Guard against non-symbol value.
8432 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8434 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8437 2013-07-13 Leo Liu <sdl.web@gmail.com>
8439 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8440 ido-set-matches call. (Bug#6852)
8442 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8444 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8445 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8447 (ruby-font-lock-keywords): Distinguish calls to functions with
8448 module-like names from module references. Highlight character
8451 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8453 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8454 (gdb-send): Handle continued commands. (Bug#14847)
8456 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8458 * desktop.el (desktop--v2s): Remove unused local variable.
8459 (desktop-save-buffer): Make defvar-local; adjust docstring.
8460 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8461 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8463 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8465 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8467 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8469 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8472 2013-07-12 Glenn Morris <rgm@gnu.org>
8474 * doc-view.el: Require cl-lib at runtime too.
8475 (doc-view-remove-if): Remove.
8476 (doc-view-search-next-match, doc-view-search-previous-match):
8479 * edmacro.el: Require cl-lib at runtime too.
8480 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8481 (edmacro-mismatch, edmacro-subseq): Remove.
8483 * shadowfile.el: Require cl-lib.
8484 (shadow-remove-if): Remove.
8485 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8488 * wid-edit.el: Require cl-lib.
8489 (widget-choose): Use cl-remove-if.
8490 (widget-remove-if): Remove.
8492 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8493 (ebrowse-delete-if-not): Remove.
8494 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8495 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8496 Use cl-delete-if-not.
8498 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8500 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8501 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8503 2013-07-12 Leo Liu <sdl.web@gmail.com>
8505 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8507 2013-07-11 Glenn Morris <rgm@gnu.org>
8509 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8510 (edebug-gensym-index, edebug-gensym):
8511 Remove reimplementation of cl-gensym.
8512 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8514 * thumbs.el: Require cl-lib at run-time too.
8515 (thumbs-gensym-counter, thumbs-gensym):
8516 Remove reimplementation of cl-gensym.
8517 (thumbs-temp-file): Use cl-gensym.
8519 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8520 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8521 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8522 (ert--union, ert--gensym-counter, ert--gensym-counter)
8523 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8524 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8525 (ert-make-test-unbound, ert--expand-should-1)
8526 (ert--expand-should, ert--should-error-handle-error)
8527 (should-error, ert--explain-equal-rec)
8528 (ert--plist-difference-explanation, ert-select-tests)
8529 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8530 Use cl-lib functions rather than reimplementations.
8532 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8534 * net/tramp.el (tramp-methods): Extend docstring.
8535 (tramp-connection-timeout): New defcustom.
8536 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8537 (with-tramp-progress-reporter): Simplify.
8538 (tramp-process-actions): Improve messages.
8540 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8541 * net/tramp-sh.el (tramp-maybe-open-connection):
8542 Use `tramp-connection-timeout'.
8543 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8546 2013-07-11 Leo Liu <sdl.web@gmail.com>
8548 * ido.el (ido-read-file-name): Conform to the requirements of
8549 read-file-name. (Bug#11861)
8550 (ido-read-directory-name): Conform to the requirements of
8551 read-directory-name.
8553 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8555 * subr.el (delay-warning): New function.
8557 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8559 * simple.el (default-line-height): New function.
8560 (line-move-partial, line-move): Use it instead of computing the
8562 (line-move-partial): Always compute ROWH. If the last line is
8563 partially-visible, but its text is completely visible, allow
8564 cursor to enter such a partially-visible line.
8566 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8568 Improve error messages. (Bug#14808)
8570 * net/tramp.el (tramp-current-connection): New defvar, moved from
8572 (tramp-message-show-progress-reporter-message): Remove, not
8574 (tramp-error-with-buffer): Show message in minibuffer.
8575 Discard input before waiting. Reset connection timestamp.
8576 (with-tramp-progress-reporter): Improve messages.
8577 (tramp-process-actions): Use progress reporter. Delete process in
8578 case of error. Improve messages.
8580 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8581 Call `tramp-error-with-buffer' with vector and buffer.
8582 (tramp-current-connection): Remove.
8583 (tramp-maybe-open-connection): The car of
8584 `tramp-current-connection' are the first 3 slots of the vector.
8586 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8588 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8589 inside continued strings.
8591 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8593 Timestamp fixes for undo (Bug#14824).
8594 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8596 2013-07-10 Leo Liu <sdl.web@gmail.com>
8598 * files.el (require-final-newline): Allow safe local value.
8601 2013-07-09 Leo Liu <sdl.web@gmail.com>
8603 * ido.el (ido-read-directory-name): Handle fallback.
8604 (ido-read-file-name): Update DIR to ido-current-directory.
8606 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8608 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8610 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8611 "autoload". Remove "warn lower camel case" section, previously
8612 commented out. Highlight negation char. Do not highlight the
8613 target in singleton method definitions.
8615 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8617 * faces.el (tty-setup-hook): Declare the hook.
8619 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8620 and detect when a guard/pred depends on local vars (bug#14773).
8621 (pcase--u1): Adjust caller.
8623 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8625 * simple.el (line-move-partial, line-move): Account for
8627 (line-move-partial): Avoid setting vscroll when the last
8628 partially-visible line in window is of default height.
8630 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8635 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8637 * subr.el (read-quoted-char): Remove unused local variable `char'.
8639 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8641 * ediff.el (ediff-version): Version update.
8642 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8643 (ediff-merge-with-ancestor-command, ediff-directories-command)
8644 (ediff-directories3-command, ediff-merge-directories-command)
8645 (ediff-merge-directories-with-ancestor-command): New functions.
8646 All are command-line interfaces to ediff: to facilitate calling
8647 Emacs with the appropriate ediff functions invoked.
8649 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8650 (viper-save-kill-buffer): Check if buffer is modified.
8652 * viper.el (viper-version): Version update.
8653 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8655 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8657 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8658 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8659 (viper-intercept-ESC-key): Simplify.
8660 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8661 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8662 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8663 (viper-setup-ESC-to-escape): New functions.
8664 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8665 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8667 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8669 * simple.el (default-font-height, window-screen-lines):
8671 (line-move, line-move-partial): Use them instead of
8672 frame-char-height and window-text-height. This makes scrolling
8673 text smoother when the buffer's default face uses a font that is
8674 different from the frame's default font.
8676 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8678 * files.el (write-file): Do not display confirm dialog for NS,
8679 it does its own dialog, which can't be canceled (Bug#14578).
8681 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8683 * simple.el (line-move-partial): Adjust the row returned by
8684 posn-at-point for the current window-vscroll. (Bug#14567)
8686 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8688 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8689 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8692 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8694 * window.el (window-state-put-stale-windows): New variable.
8695 (window--state-put-2): Save list of windows without matching buffer.
8696 (window-state-put): Remove "bufferless" windows if possible.
8698 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8700 * simple.el (alternatives-define): Remove leftover :group keyword.
8703 2013-07-06 Leo Liu <sdl.web@gmail.com>
8705 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8706 (ido-enable-virtual-buffers): New variable.
8707 (ido-buffer-internal, ido-toggle-virtual-buffers)
8708 (ido-make-buffer-list): Use it.
8709 (ido-exhibit): Support turning on and off virtual buffers
8712 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8714 * simple.el (alternatives-define): New macro.
8716 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8718 * subr.el (read-quoted-char): Use read-key.
8719 (sit-for): Let read-event decode tty input (bug#14782).
8721 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8723 * calendar/todo-mode.el: Add handling of file deletion, both by
8724 mode command and externally. Fix various related bugs.
8725 Clarify Commentary and improve some documentation strings and code.
8726 (todo-delete-file): New command.
8727 (todo-check-file): New function.
8728 (todo-show): Handle external deletion of the file we're trying to
8729 show (bug#14688). Replace called-interactively-p by an optional
8730 prefix argument to avoid problematic interaction with catch form
8731 when byte compiled (bug#14702).
8732 (todo-quit): Handle external deletion of the archive's todo file.
8733 Make sure the buffer that was visiting the archive file is still
8734 live before trying to bury it.
8735 (todo-category-completions): Handle external deletion of any
8736 category completion files.
8737 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8738 of todo files, in case of external deletion.
8739 (todo-add-file): Replace unnecessary setq by let-binding.
8740 (todo-find-archive): Check whether there are any archives.
8741 Replace unnecessary setq by let-binding.
8742 (todo-archive-done-item): Use find-file-noselect to get the
8743 archive buffer whether or not the archive already exists.
8744 Remove superfluous code. Use file size instead of buffer-file-name to
8745 check if the archive is new; if it is, update list of archives.
8746 (todo-default-todo-file): Allow nil to be a valid value for when
8747 there are no todo files.
8748 (todo-reevaluate-default-file-defcustom): Use corrected definition
8749 of todo-default-todo-file.
8750 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8751 (todo-delete-category, todo-show-categories-table)
8752 (todo-category-number): Clarify comment.
8753 (todo-filter-items): Clarify documentation string.
8754 (todo-show-current-file, todo-display-as-todo-file)
8755 (todo-reset-and-enable-done-separator): Tweak documentation string.
8756 (todo-done-separator): Make separator length window-width, since
8757 bug#2749 is now fixed.
8759 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8761 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8762 Support both "gvfs-monitor-dir" and "inotifywait".
8763 (tramp-sh-file-inotifywait-process-filter): Rename from
8764 `tramp-sh-file-notify-process-filter'.
8765 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8766 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8768 2013-07-05 Leo Liu <sdl.web@gmail.com>
8770 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8772 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8774 * frame.el (display-pixel-height, display-pixel-width)
8775 (display-mm-height, display-mm-width): Mention behavior on
8776 multi-monitor setups in docstrings.
8777 (w32-display-monitor-attributes-list): Declare function.
8778 (display-monitor-attributes-list): Use it.
8780 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8782 * filenotify.el: New package.
8784 * autorevert.el (top): Require filenotify.el.
8785 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8787 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8788 (auto-revert-notify-handler): Use `file-notify-*' functions.
8790 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8792 * net/tramp.el (tramp-file-name-for-operation):
8793 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8795 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8796 for `file-notify-add-watch' and `file-notify-rm-watch'.
8797 (tramp-process-sentinel): Improve trace.
8798 (tramp-sh-handle-file-notify-add-watch)
8799 (tramp-sh-file-notify-process-filter)
8800 (tramp-sh-handle-file-notify-rm-watch)
8801 (tramp-get-remote-inotifywait): New defuns.
8803 2013-07-03 Juri Linkov <juri@jurta.org>
8805 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8806 call of `occur-read-primary-args' to interactive spec.
8808 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8809 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8811 2013-07-03 Matthias Meulien <orontee@gmail.com>
8813 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8814 `Buffer-menu-multi-occur'. Add it to the menu.
8815 (Buffer-menu-mode): Document it in docstring.
8816 (Buffer-menu-multi-occur): New command. (Bug#14673)
8818 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8820 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8821 keywords and built-ins.
8823 2013-07-03 Glenn Morris <rgm@gnu.org>
8825 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8827 Make info-xref checks case-sensitive by default
8828 * info.el (Info-find-node, Info-find-in-tag-table)
8829 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8830 Add option for exact case matching of nodes.
8831 * info-xref.el (info-xref): New custom group.
8832 (info-xref-case-fold): New option.
8833 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8835 2013-07-03 Leo Liu <sdl.web@gmail.com>
8837 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8839 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8841 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8842 middle of block statement initially, lower the depth. Remove
8843 FIXME comment, not longer valid. Remove middle of block statement
8844 detection, no need to do that anymore since we've been using
8845 `ruby-parse-region' here.
8847 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8849 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8851 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8853 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8855 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8857 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8858 (desktop-restore-in-current-display): New customization option.
8859 (desktop--excluded-frame-parameters): Add `font'.
8860 (desktop--save-frames): Rename from desktop--save-windows.
8861 (desktop--restore-in-this-display-p): New function.
8862 (desktop--make-full-frame): Remove unwanted width/height from
8863 full(width|height) frames.
8864 (desktop--restore-frames): Rename from desktop--restore-windows.
8865 Obey desktop-restore-current-display. Do not delete old frames or
8866 select a new frame unless we were able to restore at least one frame.
8868 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8870 * files.el (find-file-noselect): Simplify conditional expression.
8872 * textmodes/remember.el (remember-append-to-file):
8873 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8875 Add `remember-notes' function to store random notes across Emacs
8877 * textmodes/remember.el (remember-data-file): Add :set callback to
8878 affect notes buffer (if any).
8879 (remember-notes): New command.
8880 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8881 New defcustoms for the `remember-notes' function.
8882 (remember-notes-save-and-bury-buffer): New command.
8883 (remember-notes-mode-map): New variable.
8884 (remember-mode): New minor mode.
8885 (remember-notes--kill-buffer-query): New function.
8886 * startup.el (initial-buffer-choice): Add notes to custom type.
8888 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8890 * bindings.el (right-char, left-char): Don't call sit-for, this is
8891 no longer needed. Use arithmetic comparison only for numerical
8894 * international/mule-cmds.el (select-safe-coding-system):
8895 Handle the case of FROM being a string correctly. (Bug#14755)
8897 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8899 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8900 progression on degenerate tables.
8901 (shr-rescale-image): ImageMagick animated images currently don't work.
8903 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8905 Some fixes and improvements for desktop frame restoration.
8906 It is still experimental and disabled by default.
8907 * desktop.el (desktop--save-windows): Put the selected frame at
8908 the head of the list.
8909 (desktop--make-full-frame): New function.
8910 (desktop--restore-windows): Try to re-select the frame that was
8911 selected upon saving. Do not abort if some frames fail to restore,
8912 just show an error message and continue. Set up maximized frames
8913 so they have default non-maximized dimensions.
8915 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8917 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8918 Don't start heredoc inside a string or comment.
8920 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8922 * bindings.el (visual-order-cursor-movement): New defcustom.
8923 (right-char, left-char): Provide visual-order cursor motion by
8924 calling move-point-visually. Update the doc strings.
8926 2013-06-28 Kenichi Handa <handa@gnu.org>
8928 * international/mule.el (define-coding-system): New coding system
8929 properties :inhibit-null-byte-detection,
8930 :inhibit-iso-escape-detection, and :prefer-utf-8.
8931 (set-buffer-file-coding-system): If :charset-list property of
8932 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8933 appropriate for setting.
8935 * international/mule-cmds.el (select-safe-coding-system):
8936 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8937 multibyte characters, return utf-8 (or one of its siblings).
8939 * international/mule-conf.el (prefer-utf-8): New coding system.
8940 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8943 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8945 * net/shr.el (shr-render-region): New function.
8947 * net/eww.el: Autoload `eww-browse-url'.
8949 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8951 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8952 Adapt to `package-desc-version' being a list.
8953 Use `package--ac-desc-version' to retrieve version from a package
8956 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8958 New experimental feature to save&restore window and frame setup.
8959 * desktop.el (desktop-save-windows): New defcustom.
8960 (desktop--saved-states): New var.
8961 (desktop--excluded-frame-parameters): New defconst.
8962 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8963 (desktop--restore-windows, desktop--save-windows): New functions.
8964 (desktop-save): Call `desktop--save-windows'.
8965 (desktop-read): Call `desktop--restore-windows'.
8967 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8969 * net/shr.el (add-face-text-property): Remove compat definition.
8971 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8973 * info.el (Info-try-follow-nearest-node): Move search for footnote
8974 above search for node name to prevent missing a footnote (bug#14717).
8976 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8978 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8980 2013-06-27 Leo Liu <sdl.web@gmail.com>
8982 * net/eww.el (eww-read-bookmarks): Check file size.
8984 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8986 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8987 advice--pending if newdef is nil or an autoload (bug#13820).
8988 (advice-mapc): New function.
8990 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8992 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8994 (eww-mode-map): Add a menu bar.
8995 (eww-add-bookmark): New command.
8996 (eww-bookmark-mode): New mode and commands.
8997 (eww-add-bookmark): Remove newlines from the title.
8998 (eww-bookmark-browse): Don't bug out if it's the only window.
9000 2013-06-26 Glenn Morris <rgm@gnu.org>
9002 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9003 (hfy-size): Handle ttys. (Bug#14668)
9005 * info-xref.el: Update for Texinfo 5 change in *note format.
9006 (info-xref-node-re, info-xref-note-re): New constants.
9007 (info-xref-check-buffer): Use info-xref-note-re.
9009 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9011 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9013 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9014 nil terminate the loop (bug#14718).
9016 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9018 * net/eww.el: Rework history traversal. When going forward/back,
9019 put these actions into the history, too, so that they can be
9021 (eww-render): Move the history reset to the correct buffer.
9023 2013-06-25 Juri Linkov <juri@jurta.org>
9025 * files-x.el (modify-dir-local-variable): Change the header comment
9026 in the file with directory local variables. (Bug#14692)
9028 * files-x.el (read-file-local-variable-value): Add `default'.
9031 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9033 * net/eww.el (eww-make-unique-file-name): Create a unique file
9034 name before saving to entering `y' accidentally asynchronously.
9036 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9038 * net/eww.el (eww-download): New command and keystroke.
9040 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9042 * net/eww.el (eww-copy-page-url): Change name of command.
9044 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9045 be more consistent with Info and dired.
9047 * net/eww.el (eww-mode-map): Ditto.
9049 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9051 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9052 packages from archives.
9053 (package-archive-contents): Change format; include obsolete packages.
9054 (package-desc): Use `dir' to mark builtin packages.
9055 (package--from-builtin): Set the `dir' field to `builtin'.
9056 (generated-autoload-file, version-control): Declare.
9057 (package-compute-transaction): Change first arg and return value to be
9058 lists of package-descs. Adjust to new package-archive-contents format.
9059 (package--add-to-archive-contents): Adjust to new
9060 package-archive-contents format.
9061 (package-download-transaction): Arg is now a list of package-descs.
9062 (package-install): If `pkg' is a package name, pass it as
9063 a requirement, so it is subject to the usual (e.g. disabled) checks.
9064 (describe-package): Accept package-desc as well.
9065 (describe-package-1): Describe a specific package-desc. Add links to
9066 other package-descs for the same package name.
9067 (package-menu-describe-package): Pass the actual package-desc.
9068 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9070 (package-desc-status): New function.
9071 (package-menu--refresh): New function, extracted
9072 from package-menu--generate.
9073 (package-menu--generate): Use it.
9074 (package-delete): Update package-alist.
9075 (package-menu-execute): Don't call package-initialize.
9077 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9078 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9079 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9080 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9081 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9082 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9084 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9086 * window.el (window--state-get-1): Workaround for bug#14527.
9087 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9089 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9091 * net/eww.el (eww-back-url): Implement the history by stashing all
9092 the data into a list.
9093 (eww-forward-url): Allow going forward in the history, too.
9095 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9097 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9098 for values and use read--expression for expressions (bug#14710).
9099 (read-file-local-variable): Avoid setq.
9100 (read-file-local-variable-mode): Use minor-mode-list.
9102 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9104 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9107 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9109 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9110 Update imenu-support when dialect changes.
9112 2013-06-25 Leo Liu <sdl.web@gmail.com>
9114 * ido.el (ido-read-internal): Allow forward slash on windows.
9116 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9118 * net/eww.el (eww): Start of strings is \\`, not ^.
9120 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9122 * net/shr.el (shr-browse-url): Fix interactive spec.
9124 * net/eww.el (eww): Add a trailing slash to domain names.
9126 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9128 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9130 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9132 * net/shr.el (shr-browse-url): Use an external browser if given a
9135 * net/eww.el (eww-external-browser): Move to shr.
9137 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9139 * net/eww.el (eww): Work more correctly for file: URLs.
9140 (eww-detect-charset): Allow quoted charsets.
9141 (eww-yank-page-url): New command and keystroke.
9143 2013-06-24 Daiki Ueno <ueno@gnu.org>
9145 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9146 file name of gpg executable.
9147 (epg-context-program): New function.
9148 (epg-context-home-directory): New function.
9149 (epg-context-set-program): New function.
9150 (epg-context-set-home-directory): New function.
9151 (epg--start): Use `epg-context-program' instead of
9153 (epg--list-keys-1): Likewise.
9155 2013-06-24 Leo Liu <sdl.web@gmail.com>
9157 * ido.el (ido-read-internal): Fix bug#14620.
9159 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9161 * faces.el (face-documentation): Simplify.
9162 (read-face-attribute, tty-find-type, x-resolve-font-name):
9163 Use `string-match-p'.
9164 (list-faces-display): Use `string-match-p'. Simplify.
9165 (face-spec-recalc): Check face to avoid face alias loops.
9166 (read-color): Use `string-match-p' and non-capturing parenthesis.
9168 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9170 * net/shr.el (shr-rescale-image): Use the new
9171 :max-width/:max-height functionality.
9173 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9175 * net/eww.el (eww-search-prefix): New variable.
9177 (eww-external-browser): New variable.
9178 (eww-mode-map): New keystroke.
9179 (eww-browse-with-external-browser): New command.
9181 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9183 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9185 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9186 Don't skip aligning the next header field when padding is 0;
9187 otherwise, field width is not respected unless the title is as
9190 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9192 * emacs-lisp/package.el (package-el-version): Remove.
9193 (package-process-define-package): Fix inf-loop.
9194 (package-install): Allow symbols as arguments again.
9196 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9198 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9199 add some more keyword-like methods.
9200 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9202 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9204 * bs.el (bs-buffer-show-mark): Make defvar-local.
9205 (bs-mode): Use setq-local.
9207 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9208 (emacs-lock--try-unlocking): Make defvar-local.
9210 2013-06-22 Glenn Morris <rgm@gnu.org>
9212 * play/cookie1.el (cookie-apropos): Minor simplification.
9214 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9216 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9218 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9219 `regexp-opt', it breaks the build during dumping.
9221 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9223 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9224 Highlight keyword-like methods on Kernel and Module with
9225 font-lock-builtin-face.
9226 (auto-mode-alist): Consolidate different entries into one regexp
9227 and add more *file-s.
9229 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9231 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9233 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9234 (diary-entry): Use it in the action of this button type instead of
9237 * calendar/todo-mode.el: New version.
9238 (todo-add-category): Append new category to end of file and give
9239 it the highest number, instead of putting it at the beginning and
9240 giving it 0. Incorporate noninteractive functionality.
9241 (todo-forward-category): Adapt to 1-based category numbering.
9242 Allow skipping over archived categories.
9243 (todo-backward-category): Derive from todo-forward-category.
9244 (todo-backward-item, todo-forward-item): Make noninteractive and
9245 delegate interactive part to new commands. Make sensitive to done items.
9246 (todo-categories): Make value an alist of category names and
9247 vectors of item counts.
9248 (todo-category-beg): Make a defconst.
9249 (todo-category-number): Use 1 instead of 0 as initial value.
9250 (todo-category-select): Make sensitive to overlays, optional item
9251 highlighting and done items.
9252 (todo-delete-item): Make sensitive to overlays and marked and done items.
9253 (todo-edit-item): Make sensitive to overlays and editing of
9254 date/time header optional. Add format checks.
9255 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9256 no-op if point is not on an item. Advertise using todo-edit-quit.
9257 (todo-edit-mode): Make sensitive to new format, font-locking, and
9258 multiple todo files.
9259 (todo-insert-item, todo-insert-item-here): Derive from
9260 todo-basic-insert-item and extend functionality.
9261 (todo-item-end, todo-item-start): Make sensitive to done items.
9262 (todo-item-string): Don't return text properties. Restore point.
9263 (todo-jump-to-category): Make sensitive to multiple todo files and
9264 todo archives. Use extended category completion.
9265 (todo-lower-item, todo-raise-item): Rename to *-priority and
9266 derive from todo-set-item-priority.
9267 (todo-mode): Derive from special-mode. Make sensitive to new
9268 format, font-locking and multiple todo files. Make read-only.
9269 (todo-mode-map): Don't suppress digit keys, so they can supply
9270 prefix arguments. Add many new key bindings.
9271 (todo-prefix): Insert as an overlay instead of file text.
9272 Change semantics from diary date expression to purely visual mark.
9273 (todo-print): Rename to todo-print-buffer. Make buffer display
9274 features printable. Remove option to restrict number of items
9275 printed. Add option to print to file.
9276 (todo-print-function): Rename to todo-print-buffer-function.
9277 (todo-quit): Extend to handle exiting new todo modes.
9278 (todo-remove-item): Make sensitive to overlays.
9279 (todo-save): Extend to buffers of filtered items.
9280 (todo-show): Make sensitive to done items, multiple todo files and
9281 new todo modes. Offer to convert legacy todo file before creating
9282 first new todo file.
9283 (todo-show-priorities): Rename to todo-top-priorities.
9284 Change semantics of value 0.
9285 (todo-top-priorities): Rename to todo-filter-top-priorities,
9286 derive from todo-filter-items and extend functionality.
9287 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9288 and extend functionality to other types of filtered items.
9289 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9290 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9291 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9292 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9293 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9294 (todo-edit-mode-hook, todo-entry-prefix-function)
9295 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9296 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9297 (todo-initials, todo-insert-threshold, todo-item-string-start)
9298 (todo-line-string, todo-menu, todo-mode-hook)
9299 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9300 (todo-print-priorities, todo-remove-separator)
9301 (todo-save-top-priorities-too, todo-string-count-lines)
9302 (todo-string-multiline-p, todo-time-string-format)
9303 (todo-tmp-buffer-name): Remove.
9304 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9305 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9306 (todo-edit-category-diary-inclusion)
9307 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9308 (todo-edit-file, todo-edit-item-date-day)
9309 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9310 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9311 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9312 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9313 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9314 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9315 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9316 (todo-filter-top-priorities-multifile, todo-find-archive)
9317 (todo-find-filtered-items-file, todo-go-to-source-item)
9318 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9319 (todo-jump-to-archive-category, todo-lower-category)
9320 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9321 (todo-move-category, todo-move-item, todo-next-button)
9322 (todo-next-item, todo-padded-string, todo-powerset)
9323 (todo-previous-button, todo-previous-item)
9324 (todo-print-buffer-to-file, todo-raise-category)
9325 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9326 (todo-set-category-number, todo-set-item-priority)
9327 (todo-set-top-priorities-in-category)
9328 (todo-set-top-priorities-in-file, todo-show-categories-table)
9329 (todo-sort-categories-alphabetically-or-numerically)
9330 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9331 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9332 (todo-toggle-item-header, todo-toggle-item-highlighting)
9333 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9334 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9335 (todo-unarchive-items, todo-unmark-category): New commands.
9336 (todo-absolute-file-name, todo-add-to-buffer-list)
9337 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9338 (todo-basic-insert-item, todo-category-completions)
9339 (todo-category-number, todo-category-string-matcher-1)
9340 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9341 (todo-check-format, todo-clear-matches)
9342 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9343 (todo-current-category, todo-date-string-matcher)
9344 (todo-define-insertion-command, todo-diary-expired-matcher)
9345 (todo-diary-goto-entry, todo-diary-item-p)
9346 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9347 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9348 (todo-done-item-section-p, todo-done-separator)
9349 (todo-done-string-matcher, todo-files, todo-filter-items)
9350 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9351 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9352 (todo-insert-category-line, todo-insert-item-from-calendar)
9353 (todo-insert-sort-button, todo-insert-with-overlays)
9354 (todo-insertion-command-name, todo-insertion-key-bindings)
9355 (todo-label-to-key, todo-longest-category-name-length)
9356 (todo-make-categories-list, todo-mode-external-set)
9357 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9358 (todo-modes-set-3, todo-multiple-filter-files)
9359 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9360 (todo-read-category, todo-read-date, todo-read-dayname)
9361 (todo-read-file-name, todo-read-time)
9362 (todo-reevaluate-category-completions-files-defcustom)
9363 (todo-reevaluate-default-file-defcustom)
9364 (todo-reevaluate-filelist-defcustoms)
9365 (todo-reevaluate-filter-files-defcustom)
9366 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9367 (todo-reset-done-separator, todo-reset-done-separator-string)
9368 (todo-reset-done-string, todo-reset-global-current-todo-file)
9369 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9370 (todo-reset-prefix, todo-set-categories)
9371 (todo-set-date-from-calendar, todo-set-show-current-file)
9372 (todo-set-top-priorities, todo-short-file-name)
9373 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9374 (todo-total-item-counts, todo-update-buffer-list)
9375 (todo-update-categories-display, todo-update-categories-sexp)
9376 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9378 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9380 (todo-categories, todo-display, todo-edit, todo-faces)
9381 (todo-filtered): New defgroups.
9382 (todo-archived-only, todo-button, todo-category-string, todo-date)
9383 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9384 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9385 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9386 (todo-add-item-if-new-category, todo-always-add-time-string)
9387 (todo-categories-align, todo-categories-archived-label)
9388 (todo-categories-category-label, todo-categories-diary-label)
9389 (todo-categories-done-label, todo-categories-number-separator)
9390 (todo-categories-todo-label, todo-categories-totals-label)
9391 (todo-category-completions-files, todo-completion-ignore-case)
9392 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9393 (todo-done-separator-string, todo-done-string)
9394 (todo-files-function, todo-filter-done-items, todo-filter-files)
9395 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9396 (todo-initial-category, todo-initial-file, todo-item-mark)
9397 (todo-legacy-date-time-regexp, todo-mode-line-function)
9398 (todo-nondiary-marker, todo-number-prefix)
9399 (todo-print-buffer-function, todo-show-current-file)
9400 (todo-show-done-only, todo-show-first, todo-show-with-done)
9401 (todo-skip-archived-categories, todo-top-priorities-overrides)
9402 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9403 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9405 (todo-category-done, todo-date-pattern, todo-date-string-start)
9406 (todo-diary-items-buffer, todo-done-string-start)
9407 (todo-filtered-items-buffer, todo-item-start)
9408 (todo-month-abbrev-array, todo-month-name-array)
9409 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9410 (todo-top-priorities-buffer): New defconsts.
9411 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9412 (todo-categories-with-marks, todo-category-string-face)
9413 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9414 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9415 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9416 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9417 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9418 (todo-font-lock-keywords, todo-global-current-todo-file)
9419 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9420 (todo-insertion-commands-args)
9421 (todo-insertion-commands-args-genlist)
9422 (todo-insertion-commands-names, todo-insertion-map)
9423 (todo-key-bindings-t, todo-key-bindings-t+a)
9424 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9425 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9426 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9427 (todo-visited): New variables.
9429 2013-06-21 Glenn Morris <rgm@gnu.org>
9431 * play/cookie1.el (cookie-apropos): Add optional display argument.
9432 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9433 (psychoanalyze-pinhead): Use cookie-doctor.
9435 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9437 * emacs-lisp/package.el (tar-get-file-descriptor)
9438 (tar--extract): Declare.
9440 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9442 Extend flymake's warning predicate to be a function (bug#14217).
9443 * progmodes/flymake.el (flymake-warning-predicate): New.
9444 (flymake-parse-line): Use it.
9445 (flymake-warning-re): Make obsolete alias to
9446 `flymake-warning-predicate'.
9448 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9450 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9451 (package-obsolete-list): Remove.
9452 (package-activate): Remove min-version argument. Add `force' argument.
9453 Adjust to new package-alist format.
9454 (package-mark-obsolete): Remove.
9455 (package-unpack): Force reload of the package's autoloads.
9456 (package-installed-p): Check builtins if the installed package is not
9458 (package-initialize): Don't reset package-obsolete-list.
9459 Don't specify which package version to activate.
9460 (package-process-define-package, describe-package-1)
9461 (package-menu--generate): Adjust to new package-alist format.
9463 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9465 * allout-widgets.el (allout-widgets-mode-off)
9466 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9467 (allout-widgets-post-command-business)
9468 (allout-widgets-after-copy-or-kill-function)
9469 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9470 (allout-decorate-item-and-context)
9471 (allout-graphics-modification-handler): Fix typos in docstrings.
9472 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9474 * cmuscheme.el (scheme-start-file): Doc fix.
9475 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9476 (scheme-input-filter): Use `string-match-p'.
9478 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9480 * dired-x.el: Use Dired consistently in docstrings.
9482 * dired.el: Use Dired consistently in docstrings.
9483 (dired-readin, dired-mode): Use `setq-local'.
9484 (dired-switches-alist): Make defvar-local.
9485 (dired-buffers-for-dir): Use `zerop'.
9486 (dired-safe-switches-p, dired-switches-escape-p)
9487 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9488 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9489 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9490 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9491 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9492 (dired-toggle-marks, dired-mark-files-containing-regexp)
9493 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9494 (dired-flag-auto-save-files, dired-flag-backup-files):
9496 (dired-mark-files-regexp, dired-build-subdir-alist):
9497 Use `string-match-p', `looking-at-p'.
9499 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9500 (direct-print-region-helper): Use `string-match-p'.
9502 2013-06-21 Leo Liu <sdl.web@gmail.com>
9504 * comint.el (comint-redirect-results-list-from-process):
9507 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9509 * net/eww.el (eww-update-header-line-format): Quote % characters.
9511 2013-06-21 Glenn Morris <rgm@gnu.org>
9513 * play/cookie1.el (cookie): New custom group.
9514 (cookie-file): New option.
9515 (cookie-check-file): New function.
9516 (cookie): Make it interactive. Make start and end messages optional.
9517 Interactively, display the result. Default to cookie-file.
9518 (cookie-insert): Default to cookie-file.
9519 (cookie-snarf): Make start and end messages optional.
9520 Default to cookie-file. Use with-temp-buffer.
9521 (cookie-read): Rename from read-cookie.
9522 Make start and end messages optional. Default to cookie-file.
9523 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9525 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9526 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9528 2013-06-21 Leo Liu <sdl.web@gmail.com>
9530 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9532 2013-06-21 Glenn Morris <rgm@gnu.org>
9534 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9536 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9537 Daniel Hackney <dan@haxney.org>
9539 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9540 Consolidate the single-file vs tarball code.
9541 (package-desc-suffix): New function.
9542 (package-desc-full-name): Don't bother inlining it.
9543 (package-load-descriptor): Return the new package-desc.
9544 (package-mark-obsolete): Remove unused arg `package'.
9545 (package-unpack): Make it work for single files as well.
9546 Make it update package-alist.
9547 (package--make-autoloads-and-stuff): Rename from
9548 package--make-autoloads-and-compile. Don't compile any more.
9549 (package--compile): New function.
9550 (package-generate-description-file): New function, extracted from
9551 package-unpack-single.
9552 (package-unpack-single): Remove.
9553 (package--with-work-buffer): Add indentation and debugging info.
9554 (package-download-single): Remove.
9555 (package-install-from-archive): Rename from package-download-tar, make
9556 it take a pkg-desc, and make it work for single files as well.
9557 (package-download-transaction): Simplify.
9558 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9559 external tar program.
9560 (package-install-from-buffer): Remove `pkg-desc' argument.
9561 Use package-tar-file-info for tar-mode buffers.
9562 (package-install-file): Simplify accordingly.
9563 (package-archive-base): Change to take a pkg-desc.
9564 * tar-mode.el (tar--check-descriptor): New function, extracted from
9566 (tar-get-descriptor): Use it.
9567 (tar-get-file-descriptor): New function.
9568 (tar--extract): New function, extracted from tar-extract.
9569 (tar--extract): Use it.
9570 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9571 case the summary uses non-ascii. Adjust to new calling convention of
9572 package-tar-file-info.
9574 2013-06-21 Leo Liu <sdl.web@gmail.com>
9576 * comint.el (comint-redirect-results-list-from-process):
9577 Fix random delay. (Bug#14681)
9579 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9581 * profiler.el (profiler-format-number): Use log, not log10.
9583 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9585 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9587 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9589 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9590 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9592 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9593 (AUTOGENEL): ... here.
9594 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9595 (cl--defsubst-expand): Use it.
9597 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9599 * subr.el (log10): Move here from C code, and declare as obsolete.
9600 All uses of (log10 X) replaced with (log X 10).
9602 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9604 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9605 Declare with `defvar-local'.
9606 (tabulated-list-use-header-line, tabulated-list-entries)
9607 (tabulated-list-padding, tabulated-list-printer)
9608 (tabulated-list-sort-key): Declare with `defvar-local'.
9609 (tabulated-list-init-header, tabulated-list-print-fake-header):
9612 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9614 * arc-mode.el (archive-mode): Add `archive-write-file' to
9615 `write-contents-functions' also for remote files. (Bug#14652)
9617 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9619 * cus-edit.el (custom-commands): Fix typos.
9620 (custom-display): Fix tooltip text.
9621 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9622 Fix typos in docstrings.
9623 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9624 (custom-unlispify-menu-entry, custom-magic-value-create)
9625 (custom-add-see-also, custom-group-value-create): Use ?\s.
9626 (custom-guess-type, customize-apropos, editable-field)
9627 (custom-face-value-create): Use `string-match-p'.
9628 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9630 * custom.el (custom-load-symbol): Use `string-match-p'.
9632 * ansi-color.el: Convert to lexical binding.
9633 (ansi-colors): Fix URL.
9634 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9635 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9636 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9638 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9640 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9642 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9644 2013-06-19 Tom Tromey <tromey@redhat.com>
9646 * net/eww.el (eww-top-url): Remove.
9647 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9648 (eww-render): Set new variables. Don't set eww-top-url.
9649 (eww-handle-link): Handle "prev", "home", and "contents".
9650 Downcase the rel text.
9651 (eww-top-url): Choose best top URL.
9653 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9655 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9656 relying in widget.el. Using widget.el leads to too many
9657 user interface inconsistencies.
9658 (eww-self-insert): Implement entering commands in text fields.
9659 (eww-process-text-input): New function to make text input field editing
9661 (eww-submit): Rewrite to use the new-style form methods.
9662 (eww-select-display): Display the correct selected item.
9663 (eww-change-select): Implement changing the select value.
9664 (eww-toggle-checkbox): Implement radio/checkboxes.
9665 (eww-update-field): Fix compilation error.
9666 (eww-tag-textarea): Implement <textarea>.
9668 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9669 we don't shadow mode-specific bindings.
9671 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9674 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9676 2013-06-19 Glenn Morris <rgm@gnu.org>
9678 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9680 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9682 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9685 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9687 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9689 * net/browse-url.el (browse-url-browser-function):
9690 `eww-browse-url' has the right calling signature, `eww' does not.
9692 2013-06-19 Glenn Morris <rgm@gnu.org>
9694 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9695 Only eval autoloaded macros.
9696 (byte-compile-autoload): Only give the macro warning for macros.
9698 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9699 (ps-underlined-faces): Declare.
9701 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9702 (speedbar-add-supported-extension): Declare.
9704 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9705 Don't include a date stamp in the header of the generated file;
9706 it leads to needless differences between output files.
9708 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9710 * net/secrets.el (secrets-struct-secret-content-type):
9711 Replace check of introspection data by a test call of "CreateItem".
9712 Some servers do not offer introspection.
9714 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9716 * electric.el (electric-pair-mode): Improve interaction with
9717 electric-layout-mode.
9718 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9719 (electric-pair-syntax): Use text-mode-syntax-table in comments
9721 (electric-pair--insert): New function.
9722 (electric-pair-post-self-insert-function): Use it and
9723 electric--after-char-pos.
9725 2013-06-19 Leo Liu <sdl.web@gmail.com>
9727 * progmodes/octave.el (octave-help): Fix regexp.
9729 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9731 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9732 (shr-table-horizontal-line): Allow nil as a value, and change the
9734 (shr-insert-table-ruler): Respect the nil value.
9736 2013-06-18 Tom Tromey <tromey@barimba>
9738 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9740 (eww-open-file): New defun.
9741 (eww-render): Initialize new variables.
9742 (eww-display-html): Handle "link" and "a".
9743 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9744 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9745 (eww-back-url): Rename from eww-previous-url.
9746 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9749 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9751 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9752 Distinguish ternary operator tokens from slash symbol and slash
9755 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9757 Convert symbol prettification into minor mode and global minor mode.
9759 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9760 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9761 (prettify-symbols--keywords): Rename from
9762 `prog-prettify-symbols-alist' and make a local defvar.
9763 (prettify-symbols--compose-symbol): Rename from
9764 `prog--prettify-font-lock-compose-symbol'.
9765 (prettify-symbols--make-keywords): Rename from
9766 `prog-prettify-font-lock-symbols-keywords' and simplify.
9767 (prog-prettify-install): Remove.
9768 (prettify-symbols-mode): New minor mode, based on
9769 `prog-prettify-install'.
9770 (turn-on-prettify-symbols-mode): New function.
9771 (global-prettify-symbols-mode): New globalized minor mode.
9773 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9774 * progmodes/cfengine.el (cfengine3-mode):
9775 * progmodes/perl-mode.el (perl-mode): Don't call
9776 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9778 2013-06-18 Juri Linkov <juri@jurta.org>
9780 * files-x.el (modify-file-local-variable-message): New function.
9781 (modify-file-local-variable)
9782 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9783 and call `modify-file-local-variable-message' when it's non-nil.
9784 (add-file-local-variable, delete-file-local-variable)
9785 (add-file-local-variable-prop-line)
9786 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9787 and use it. (Bug#9820)
9789 2013-06-18 Juri Linkov <juri@jurta.org>
9791 * emulation/vi.el (vi-shell-op):
9792 * emulation/vip.el (vip-execute-com, ex-command):
9793 * emulation/viper-cmd.el (viper-exec-bang):
9794 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9795 the call of `shell-command-on-region'. (Bug#14637)
9797 * simple.el (shell-command-on-region): Doc fix.
9799 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9801 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9804 2013-06-18 Glenn Morris <rgm@gnu.org>
9806 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9808 * newcomment.el (comment-search-forward, comment-search-backward):
9809 Doc fix. (Bug#14376)
9811 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9813 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9814 (buffer-face-mode-invoke): Doc fix.
9816 2013-06-18 Matthias Meulien <orontee@gmail.com>
9818 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9819 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9821 2013-06-18 Glenn Morris <rgm@gnu.org>
9823 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9824 Replace obsolete function generic-make-keywords with its expansion.
9826 * progmodes/python.el (ffap-alist): Declare.
9828 * textmodes/reftex.el (bibtex-mode-map): Declare.
9830 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9832 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9833 (package-unpack, package-unpack-single): Return the pkg-dir.
9834 (package-download-transaction): Use it to update package-alist.
9836 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9838 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9841 2013-06-17 Juri Linkov <juri@jurta.org>
9843 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9845 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9847 * emacs-lisp/package.el (package-load-descriptor):
9848 Remove `with-syntax-table' call, `read' doesn't need it.
9849 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9851 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9853 * startup.el (command-line): Expand package name returned by
9854 `package--description-file' (bug#14639).
9856 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9858 * emacs-lisp/package.el (package-load-descriptor): Do not call
9859 `emacs-lisp-mode', just use its syntax table.
9861 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9863 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9864 `font-lock-extra-managed-props' if any prettifying keyword is added.
9865 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9866 (prog-mode): Use `setq-local'.
9868 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9870 * international/characters.el (standard-case-table): Set syntax of ?»
9871 and ?« to punctuation.
9873 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9875 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9876 Save relevant match data before calling `syntax-ppss' (bug#14595).
9878 2013-06-15 Juri Linkov <juri@jurta.org>
9880 * files-x.el (modify-file-local-variable-prop-line): Add local
9881 variables to the end of the existing comment on the first line.
9882 Use `file-auto-mode-skip' to skip interpreter magic line,
9883 and also skip XML declaration.
9885 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9887 * startup.el (package--builtin-versions): New var.
9888 (package-subdirectory-regexp): Remove.
9889 (package--description-file): Hard code its value instead.
9891 * emacs-lisp/package.el: Don't activate packages older than builtin.
9892 (package-obsolete-list): Rename from package-obsolete-alist, and make
9893 it into a simple list of package-desc.
9894 (package-strip-version): Remove.
9895 (package-built-in-p): Use package--builtin-versions.
9896 (package-mark-obsolete): Simplify.
9897 (package-process-define-package): Mark it obsolete if older than the
9899 (package-handle-response): Use line-end-position.
9900 (package-read-archive-contents, package--download-one-archive):
9902 (package--add-to-archive-contents): Skip if older than the builtin or
9904 (package-menu-describe-package): Fix last change.
9905 (package-list-unversioned): New var.
9906 (package-menu--generate): Use it.
9908 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9909 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9910 (autoload-builtin-package-versions): New variable.
9911 (autoload-generate-file-autoloads): Use them.
9912 Remove the list of autoloaded functions/macros from the
9913 (autoload...) comments.
9915 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9917 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9919 * simple.el (line-move-partial): Don't jump to the next screen
9920 line as soon as it becomes visible. Instead, continue enlarging
9921 the vscroll until the portion of a tall screen line that's left on
9922 display is about the height of the frame's default font.
9925 2013-06-15 Glenn Morris <rgm@gnu.org>
9927 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9928 compilation-error-regexp-alist void, or local while let-bound.
9930 * progmodes/make-mode.el (makefile-mode-syntax-table):
9931 Treat "=" as punctuation. (Bug#14614)
9933 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9935 * help-fns.el (describe-variable):
9936 Add extra line for permanent-local variables.
9938 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9940 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9941 Add export, import, library. (Bug#9164)
9942 (library): Set indent function.
9944 2013-06-14 Glenn Morris <rgm@gnu.org>
9946 * term/xterm.el (xterm--query):
9947 Stop after first matching handler. (Bug#14615)
9949 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9951 Add support for dired in saveplace.
9952 * dired.el (dired-initial-position-hook): New variable.
9953 (dired-initial-position): Call hook to place cursor position.
9954 * saveplace.el (save-place-to-alist): Add dired position.
9955 (save-place-dired-hook): New function.
9957 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9959 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9960 through a symbol rather than letrec.
9962 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9963 (package-desc): Add `dir' field.
9964 (package-desc-full-name): New function.
9965 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9966 (package-maybe-load-descriptor): Remove.
9967 (package-load-all-descriptors): Just call package-load-descriptor.
9968 (package--disabled-p): New function.
9969 (package-desc-vers, package-desc-doc): Remove aliases.
9970 (package--dir): Remove function.
9971 (package-activate): Check if a package is disabled.
9972 (package-process-define-package): New function, extracted from
9974 (define-package): Turn into a place holder.
9975 (package-unpack-single, package-tar-file-info):
9976 Use package--description-file.
9977 (package-compute-transaction): Use package--disabled-p.
9978 (package-download-transaction): Don't call
9979 package-maybe-load-descriptor since they're all loaded anyway.
9980 (package-install): Change argument to be a pkg-desc.
9981 (package-delete): Use a single pkg-desc argument.
9982 (describe-package-1): Use package-desc-dir instead of package--dir.
9983 Use package-desc property instead of package-symbol.
9984 (package-install-button-action): Adjust accordingly.
9985 (package--push): Rewrite.
9986 (package-menu--print-info): Adjust accordingly. Change the ID format
9988 (package-menu-describe-package, package-menu-get-status)
9989 (package-menu--find-upgrades, package-menu-mark-upgrades)
9990 (package-menu-execute, package-menu--name-predicate):
9992 * startup.el (package--description-file): New function.
9993 (command-line): Use it.
9994 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9995 Use package-desc-version.
9997 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9998 (byte-compile-preprocess): Use it.
9999 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10000 can't quite recognize.
10001 (byte-compile-add-to-list): Remove.
10002 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10003 (cconv-closure-convert): Add assertion.
10005 * emacs-lisp/map-ynp.el: Use lexical-binding.
10006 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10007 Factor out some repeated code.
10009 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10011 * subr.el (with-eval-after-load): New macro.
10012 (eval-after-load): Allow form to be a function.
10013 take advantage of lexical-binding.
10014 (do-after-load-evaluation): Use dolist and adjust to new format.
10015 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10017 2013-06-13 Juri Linkov <juri@jurta.org>
10019 * replace.el (perform-replace): Display "symbol " and other search
10020 modes from `isearch-message-prefix' in the *Help* buffer.
10022 * isearch.el (isearch-query-replace): Add " symbol" and other
10023 possible search modes from `isearch-message-prefix' to the prompt.
10024 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10025 when reading a regexp to collect.
10027 2013-06-13 Juri Linkov <juri@jurta.org>
10029 * isearch.el (word-search-regexp): Match whitespace if the search
10030 string begins or ends in whitespace. The LAX arg is applied to
10031 both ends of the search string. Use `regexp-quote' and explicit
10032 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10033 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10034 boundaries are replaced with symbol boundaries, and characters
10035 between symbols match non-word non-symbol syntax. (Bug#14602)
10037 2013-06-13 Juri Linkov <juri@jurta.org>
10039 * isearch.el (isearch-del-char): Don't exceed the length of
10040 `isearch-string' by the prefix arg. (Bug#14563)
10042 2013-06-13 Juri Linkov <juri@jurta.org>
10044 * isearch.el (isearch-yank-word, isearch-yank-line)
10045 (isearch-char-by-name, isearch-quote-char)
10046 (isearch-printing-char, isearch-process-search-char):
10047 Add optional count prefix arg. (Bug#14563)
10049 * international/isearch-x.el
10050 (isearch-process-search-multibyte-characters):
10051 Add optional count prefix arg.
10053 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10055 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10056 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10059 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10061 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10063 2013-06-13 Glenn Morris <rgm@gnu.org>
10065 * startup.el (tty-handle-args):
10066 Don't just discard "--" and anything after. (Bug#14608)
10068 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10070 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10072 Implement changes in Secret Service API. Make it backward compatible.
10073 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10074 (secrets-create-item): Use it. Prefix properties with interface.
10076 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10078 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10079 (term-emulate-terminal): Respect term-suppress-hard-newline.
10081 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10083 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10084 Only remove a `thumb-file' overlay. (Bug#14548)
10086 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10088 * mail/reporter.el (reporter-submit-bug-report):
10089 Handle missing package-name. (Bug#14600)
10091 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10093 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10094 (reftex-citation-prompt, reftex-default-bibliography)
10095 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10096 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10097 (reftex-bib-sort-author, reftex-bib-sort-year)
10098 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10099 (reftex-extract-bib-entries-from-thebibliography)
10100 (reftex-get-bibkey-default, reftex-get-bib-names)
10101 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10102 (reftex-format-bib-entry, reftex-parse-bibitem)
10103 (reftex-format-bibitem, reftex-do-citation)
10104 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10105 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10106 (reftex-insert-bib-matches, reftex-format-citation)
10107 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10108 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10109 existing comments into docstrings.
10111 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10113 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10115 2013-06-12 Andreas Schwab <schwab@suse.de>
10117 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10118 for auto-save files.
10120 2013-06-12 Glenn Morris <rgm@gnu.org>
10122 * ido.el (ido-delete-ignored-files): Remove.
10123 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10124 Go back to calling ido-ignore-item-p directly.
10126 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10128 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10130 * ido.el (ido-delete-ignored-files): New function,
10131 split from ido-make-file-list-1.
10132 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10133 (ido-make-file-list-1): Use ido-delete-ignored-files.
10135 2013-06-12 Leo Liu <sdl.web@gmail.com>
10137 * progmodes/octave.el (inferior-octave-startup)
10138 (inferior-octave-completion-table)
10139 (inferior-octave-track-window-width-change)
10140 (octave-eldoc-function-signatures, octave-help)
10141 (octave-find-definition): Use single quoted strings.
10142 (inferior-octave-startup-args): Change default value.
10143 (inferior-octave-startup): Do not hard code "-i" and
10144 "--no-line-editing".
10145 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10146 (inferior-octave-directory-tracker): Use it.
10147 (octave-goto-function-definition): Robustify.
10148 (octave-help): Support highlighting operators in 'See also'.
10149 (octave-find-definition): Find subfunctions only in Octave mode.
10151 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10153 * help-fns.el (help-fns--compiler-macro): If the handler function is
10154 named, then put a link to it.
10155 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10156 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10157 (cl-typep): Use it.
10158 (cl-eval-when): Simplify debug spec.
10159 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10160 compiler-macro function instead of setting `compiler-macro-file'.
10162 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10164 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10165 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10167 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10168 Daniel Hackney <dan@haxney.org>
10170 First part of Daniel Hackney's patch to package.el.
10171 * emacs-lisp/package.el: Use defstruct.
10172 (package-desc): New, main struct.
10173 (package--bi-desc, package--ac-desc): New structs, used to describe the
10174 format in external files.
10175 (package-desc-vers): Replace with package-desc-version accessor.
10176 (package-desc-doc): Replace with package-desc-summary accessor.
10177 (package-activate-1): Remove `package' arg since the pkg-vec now
10179 (define-package): Use package-desc-from-define.
10180 (package-unpack-single): Change file-name arg to be a symbol.
10181 (package--add-to-archive-contents): Use package-desc-create and new
10182 accessor functions to package--ac-desc.
10183 (package-buffer-info, package-tar-file-info): Return a package-desc.
10184 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10185 arg to be a package-desc.
10186 (package-install-file): Adjust accordingly. Use \' to match EOS.
10187 (package--from-builtin): New function.
10188 (describe-package-1, package-menu--generate): Use it.
10189 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10190 (package-generate-autoloads): Idem and return the name of the file.
10191 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10192 Change pkg-info arg to be a package-desc.
10193 Use package-make-ac-desc.
10194 (package-upload-file): Use \' to match EOS.
10195 * finder.el (finder-compile-keywords): Use package-make-builtin.
10197 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10199 * vc/vc.el (vc-deduce-fileset): Change error message.
10200 (vc-read-backend): New function.
10201 (vc-next-action): Use it.
10203 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10205 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10206 (prolog-font-lock-keywords): Use regexp-opt instead.
10207 Don't manually highlight strings.
10208 (prolog-mode-variables): Simplify comment-start-skip.
10209 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10211 * emacs-lisp/generic.el (generic--normalise-comments)
10212 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10213 (generic-mode-set-comments): Use them.
10214 (generic-bracket-support): Use setq-local.
10215 (generic-make-keywords-list): Declare obsolete.
10217 2013-06-11 Glenn Morris <rgm@gnu.org>
10219 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10220 Prettify after setting font-lock-defaults. (Bug#14574)
10222 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10224 * replace.el (query-replace, occur-read-regexp-defaults-function)
10226 * subr.el (declare-function, number-sequence, local-set-key)
10227 (substitute-key-definition, locate-user-emacs-file)
10228 (with-silent-modifications, split-string, eval-after-load):
10229 Fix typos, remove unneeded backslashes and reflow some docstrings.
10231 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10233 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10234 default for Elisp files.
10236 2013-06-11 Glenn Morris <rgm@gnu.org>
10238 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10239 although define-derived-mode was doing this anyway. (Bug#14583)
10241 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10243 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10244 Fix make-variable-buffer-local call to refer to the correct variable.
10246 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10248 * eshell/em-term.el (eshell-visual-commands)
10249 (eshell-visual-subcommands, eshell-visual-options):
10250 Add summary line to docstrings. Add cross-references.
10252 2013-06-10 Glenn Morris <rgm@gnu.org>
10254 * epa.el (epa-read-file-name): New function. (Bug#14510)
10255 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10257 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10259 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10260 output redirection to be ignored with visual commands.
10262 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10264 * eshell/em-term.el (eshell-visual-command-p): New function.
10265 (eshell-term-initialize): Move long lambda to separate function
10266 eshell-visual-command-p.
10267 * eshell/em-dirs.el (eshell-dirs-initialise):
10268 * eshell/em-script.el (eshell-script-initialize):
10269 Add missing #' to lambda.
10271 2013-06-08 Leo Liu <sdl.web@gmail.com>
10273 * progmodes/octave.el (octave-add-log-current-defun): New function.
10274 (octave-mode): Set add-log-current-defun-function.
10275 (octave-goto-function-definition): Do not move point if not found.
10276 (octave-find-definition): Enhance to try subfunctions first.
10278 2013-06-08 Glenn Morris <rgm@gnu.org>
10280 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10281 (byte-compile-backward-char, byte-compile-backward-word):
10282 Improve previous change, to handle non-explicit nil.
10284 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10286 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10287 (smie--opener/closer-at-point): New function.
10288 (smie--matching-block-data): Use it. Don't match from right after an
10289 opener or right before a closer. Obey smie-blink-matching-inners.
10290 Don't signal a mismatch for repeated inners like "switch..case..case".
10292 2013-06-07 Leo Liu <sdl.web@gmail.com>
10294 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10296 (octave-function-header-regexp): Fix. (Bug#14570)
10297 (octave-help-mode-finish-hook, octave-help-mode-finish):
10298 Remove. Just use temp-buffer-show-hook.
10300 * newcomment.el (comment-search-backward): Revert last change.
10303 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10305 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10307 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10308 through xargs, to avoid failure due to MS-Windows limitations on
10309 command-line length.
10311 2013-06-06 Glenn Morris <rgm@gnu.org>
10313 * font-lock.el (lisp-font-lock-keywords-2):
10314 Treat user-error like error.
10316 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10317 (byte-compile-backward-char, byte-compile-backward-word):
10318 Handle explicit nil arguments. (Bug#14565)
10320 2013-06-05 Alan Mackenzie <acm@muc.de>
10322 * isearch.el (isearch-allow-prefix): New user option.
10323 (isearch-other-meta-char): Don't exit isearch when a prefix
10324 argument is typed whilst `isearch-allow-prefix' is non-nil.
10327 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10329 * autorevert.el (auto-revert-notify-handler): Use memq.
10330 Hide assertion failure.
10332 * skeleton.el: Use cl-lib.
10333 (skeleton-further-elements): Use defvar-local.
10334 (skeleton-insert): Use cl-progv.
10336 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10338 * progmodes/prog-mode.el (prog-prettify-symbols)
10339 (prog-prettify-install): Update docstrings.
10341 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10343 * simple.el: Move all the prog-mode code to prog-mode.el.
10344 * progmodes/prog-mode.el: New file.
10345 * loadup.el: Add prog-mode.el.
10347 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10349 * simple.el (prog-prettify-symbols): Add version.
10350 (prog-prettify-install): Add convenience function to prettify symbols.
10352 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10353 (perl--augmented-font-lock-keywords-1)
10354 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10355 variables and use it.
10357 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10358 (cfengine3-mode): Remove unneeded variable and use it.
10360 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10361 (lisp--augmented-font-lock-keywords-1)
10362 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10363 Remove unneeded variables and use it.
10365 2013-06-05 João Távora <joaotavora@gmail.com>
10367 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10368 to point when opening the connection. (Bug#14380)
10370 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10372 * subr.el (load-history-regexp, load-history-filename-element)
10373 (eval-after-load, after-load-functions, do-after-load-evaluation)
10374 (eval-next-after-load, display-delayed-warnings)
10375 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10376 definition of save-match-data.
10377 (overriding-local-map): Remove accidental obsolescence declaration.
10379 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10381 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10383 Generalize symbol prettify support to prog-mode and implement it
10384 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10385 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10386 (prog--prettify-font-lock-compose-symbol)
10387 (prog-prettify-font-lock-symbols-keywords): New variables and
10388 functions to support symbol prettification.
10389 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10390 (lisp--augmented-font-lock-keywords-1)
10391 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10392 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10393 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10394 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10395 Implement prettify of -> => :: strings.
10396 * progmodes/perl-mode.el (perl-prettify-symbols)
10397 (perl--font-lock-compose-symbol)
10398 (perl--font-lock-symbols-keywords): Move to prog-mode.
10399 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10400 (perl-font-lock-keywords-1)
10401 (perl-font-lock-keywords-2): Remove explicit prettify support.
10402 (perl--augmented-font-lock-keywords)
10403 (perl--augmented-font-lock-keywords-1)
10404 (perl--augmented-font-lock-keywords-2, perl-mode):
10405 Implement prettify support.
10407 2013-06-05 Leo Liu <sdl.web@gmail.com>
10409 Re-implement smie matching block highlight using
10410 show-paren-data-function. (Bug#14395)
10411 * emacs-lisp/smie.el (smie-matching-block-highlight)
10412 (smie--highlight-matching-block-overlay)
10413 (smie--highlight-matching-block-lastpos)
10414 (smie-highlight-matching-block)
10415 (smie-highlight-matching-block-mode): Remove.
10416 (smie--matching-block-data-cache): New variable.
10417 (smie--matching-block-data): New function.
10418 (smie-setup): Use smie--matching-block-data for
10419 show-paren-data-function.
10421 * progmodes/octave.el (octave-mode-menu): Fix.
10422 (octave-find-definition): Skip garbage lines.
10424 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10426 Fix compilation error with simultaneous dynamic+lexical scoping.
10427 Add warning when a defvar appears after the first let-binding.
10428 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10429 (byte-compile-close-variables): Initialize it.
10430 (byte-compile--declare-var): New function.
10431 (byte-compile-file-form-defvar)
10432 (byte-compile-file-form-define-abbrev-table)
10433 (byte-compile-file-form-custom-declare-variable): Use it.
10434 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10435 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10436 (byte-compile-bind): Handle dynamic bindings that shadow
10438 (byte-compile-unbind): Make arg non-optional.
10439 (byte-compile-let): Simplify.
10440 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10441 (cconv--analyse-function, cconv-analyse-form): Populate it.
10442 Protect byte-compile-bound-variables to limit the scope of defvars.
10443 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10444 Remove unneeded rule for `declare'.
10446 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10447 so as to avoid depending on cl-adjoin at run-time.
10448 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10450 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10451 (macroexp--warn-and-return): Use it.
10453 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10455 * subr.el: Convert to lexical binding.
10456 (overriding-local-map): Make obsolete.
10457 (add-to-list): Doc fix. Add compiler macro.
10458 (read-key): Swap values of local maps.
10460 2013-06-05 Leo Liu <sdl.web@gmail.com>
10462 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10464 2013-06-04 Leo Liu <sdl.web@gmail.com>
10466 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10467 (compilation-auto-jump): Suppress the "Mark set" message to give
10468 way to exit message.
10470 2013-06-04 Alan Mackenzie <acm@muc.de>
10472 Remove faulty optimisation from indentation calculation.
10473 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10474 search limit based on 2000 characters back from indent-point.
10476 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10478 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10480 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10482 * emacs-lisp/lisp.el: Use lexical-binding.
10483 (lisp--local-variables-1, lisp--local-variables): New functions.
10484 (lisp--local-variables-completion-table): New var.
10485 (lisp-completion-at-point): Use it complete let-bound vars.
10487 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10488 eagerly (bug#14422).
10490 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10492 * autorevert.el (auto-revert-notify-enabled)
10493 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10494 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10495 (auto-revert-notify-handler): Handle also gfilenotify.
10497 * subr.el (file-notify-handle-event): New defun. Replacing ...
10498 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10501 2013-06-03 Juri Linkov <juri@jurta.org>
10503 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10504 `M-s h .'. (Bug#14427)
10506 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10507 command `hi-lock-face-symbol-at-point'.
10508 (hi-lock-face-symbol-at-point): New command.
10509 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10510 (hi-lock-menu): Add `highlight-symbol-at-point'.
10511 (hi-lock-mode): Doc fix.
10513 * isearch.el (isearch-forward-symbol-at-point): New command.
10514 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10515 (isearch-highlight-regexp): Add a regexp which matches
10516 words/symbols for word/symbol mode.
10518 * subr.el (find-tag-default-bounds): New function with the body
10519 mostly moved from `find-tag-default'.
10520 (find-tag-default): Move most code to `find-tag-default-bounds',
10521 call it and apply `buffer-substring-no-properties' afterwards.
10523 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10525 * eshell/em-term.el (eshell-term-initialize):
10526 Use `cl-intersection' rather than `intersection'.
10528 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10530 * vc/log-view.el: Doc fix.
10531 (log-view-mode-map): Copy keymap from `special-mode-map'.
10533 2013-06-02 Eric Ludlam <zappo@gnu.org>
10535 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10536 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10537 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10538 (eieio-unbound, eieio-default-superclass)
10539 (eieio--define-field-accessors, method-static, method-before)
10540 (method-primary, method-after, method-num-lists)
10541 (method-generic-before, method-generic-primary)
10542 (method-generic-after, method-num-slots)
10543 (eieio-specialized-key-to-generic-key)
10544 (eieio--check-type, class-v, class-p)
10545 (eieio-class-name, define-obsolete-function-alias)
10546 (eieio-class-parents-fast, eieio-class-children-fast)
10547 (same-class-fast-p, class-constructor, generic-p)
10548 (generic-primary-only-p, generic-primary-only-one-p)
10549 (class-option-assoc, class-option, eieio-object-p)
10550 (class-abstract-p, class-method-invocation-order)
10551 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10552 (eieio-class-un-autoload, eieio-defclass)
10553 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10554 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10555 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10556 (eieio-defgeneric-reset-generic-form)
10557 (eieio-defgeneric-form-primary-only)
10558 (eieio-defgeneric-reset-generic-form-primary-only)
10559 (eieio-defgeneric-form-primary-only-one)
10560 (eieio-defgeneric-reset-generic-form-primary-only-one)
10561 (eieio-unbind-method-implementations)
10562 (eieio--defmethod, eieio--typep)
10563 (eieio-perform-slot-validation, eieio-validate-slot-value)
10564 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10565 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10566 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10567 (eieio-slot-name-index, eieio-class-slot-name-index)
10568 (eieio-set-defaults, eieio-initarg-to-attribute)
10569 (eieio-attribute-to-initarg, eieio-c3-candidate)
10570 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10571 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10572 (eieio-class-precedence-list, eieio-generic-call-methodname)
10573 (eieio-generic-call-arglst, eieio-generic-call-key)
10574 (eieio-generic-call-next-method-list)
10575 (eieio-pre-method-execution-functions, eieio-generic-call)
10576 (eieio-generic-call-primary-only, eieiomt-method-list)
10577 (eieiomt-optimizing-obarray, eieiomt-install)
10578 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10579 (eieio-generic-form, eieio-defmethod, make-obsolete)
10580 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10581 (defclass): Remove `eval-and-compile' from macro.
10582 (call-next-method, shared-initialize): Instead of using
10583 `scoped-class' variable, use new eieio--scoped-class, and
10584 eieio--with-scoped-class.
10585 (initialize-instance): Rename local variable 'scoped-class' to
10586 'this-class' to remove ambiguitity from old global.
10588 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10590 (eieio--scoped-class-stack): New variable.
10591 (eieio--scoped-class): New fcn.
10592 (eieio--with-scoped-class): New scoping macro.
10593 (eieio-defclass): Use pushnew instead of add-to-list.
10594 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10595 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10596 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10597 `scoped-class' variable, use new eieio--scoped-class, and
10598 eieio--with-scoped-class.
10600 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10602 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10604 * eshell/esh-ext.el (eshell-external-command): Pass args to
10605 `eshell-find-interpreter'.
10606 (eshell-find-interpreter): Add new second parameter ARGS.
10608 * eshell/em-script.el (eshell-script-initialize): Add second arg
10609 to the function added as MATCH to `eshell-interpreter-alist'.
10611 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10612 the function added as MATCH to `eshell-interpreter-alist'.
10614 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10615 (eshell-visual-options): New defcustom.
10616 (eshell-escape-control-x): Adapt docstring.
10617 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10618 `eshell-visual-options' in addition to `eshell-visual-commands'.
10619 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10621 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10623 * progmodes/python.el (python-indent-block-enders): Add break,
10624 continue and raise keywords.
10626 2013-06-01 Glenn Morris <rgm@gnu.org>
10628 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10630 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10631 * progmodes/cc-cmds.el (delete-forward-p):
10632 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10633 * progmodes/cc-engine.el (buffer-syntactic-context):
10634 * progmodes/cc-fonts.el (face-property-instance):
10635 * progmodes/cc-mode.el (set-keymap-parents):
10636 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10637 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10638 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10639 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10640 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10642 * progmodes/cc-vars.el (other): Emacs has this widget since
10643 at least 21.1, so don't (re)define it.
10645 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10646 Replace the obsolete alias pcomplete-arg-quote-list.
10648 2013-06-01 Leo Liu <sdl.web@gmail.com>
10650 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10651 punctuation syntax.
10652 (inferior-octave-minimal-columns)
10653 (inferior-octave-last-column-width): New variables.
10654 (inferior-octave-track-window-width-change): New function.
10655 (inferior-octave-mode): Adjust column width so that Octave output,
10656 for example from 'ls', can fit into the window nicely.
10658 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10660 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10661 Highlight expansions inside regexp literals.
10663 2013-05-31 Glenn Morris <rgm@gnu.org>
10665 * obsolete/sym-comp.el (symbol-complete):
10666 Replace obsolete completion-annotate-function.
10668 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10670 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10672 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10673 New function, checks if point is inside a literal that allows
10674 expression expansion.
10675 (ruby-syntax-propertize-expansion): Use it.
10676 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10679 2013-05-30 Juri Linkov <juri@jurta.org>
10681 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10683 (isearch-invisible): New variable.
10684 (isearch-forward): Doc fix.
10685 (isearch-mode): Set `isearch-invisible'
10686 to the value of `search-invisible'.
10687 (isearch-toggle-case-fold): Doc fix.
10688 (isearch-toggle-invisible): New command.
10689 (isearch-query-replace): Let-bind `search-invisible'
10690 to the value of `isearch-invisible'.
10691 (isearch-search): Use `isearch-invisible' instead of
10692 `search-invisible'. Let-bind `search-invisible'
10693 to the value of `isearch-invisible'. (Bug#11378)
10695 2013-05-30 Juri Linkov <juri@jurta.org>
10697 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10698 call when `query-flag' is nil and `search-invisible' is non-nil.
10701 2013-05-30 Glenn Morris <rgm@gnu.org>
10703 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10705 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10706 (cc-require): Suppress spurious "noruntime" warnings.
10707 (cc-require-when-compile): Use fboundp, for sake of compiler.
10709 * progmodes/cc-mode.el: Move load of cc-vars before that of
10710 cc-langs (which in turn loads cc-vars), to quieten compiler.
10712 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10714 * paren.el: Simplify the code.
10715 (show-paren-mode): Always start the timer.
10716 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10717 (show-paren--overlay, show-paren--overlay-1): Rename from
10718 show-paren-overlay and show-paren-overlay-1, and initialize to an
10719 overlay rather than to nil.
10720 (show-paren-function): Misc cleanup and simplifications.
10722 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10724 * paren.el (show-paren-data-function): New hook.
10725 (show-paren--default): New function, extracted from show-paren-function.
10726 (show-paren-function): Use show-paren-data-function.
10728 2013-05-30 Glenn Morris <rgm@gnu.org>
10730 * ielm.el (ielm-map, ielm-complete-symbol):
10731 Use completion-at-point rather than obsolete functions.
10732 (inferior-emacs-lisp-mode): Doc fix.
10733 Set completion-at-point-functions, rather than
10734 comint-dynamic-complete-functions.
10736 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10737 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10738 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10740 * image.el (image-animated-p): Tweak definition.
10742 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10743 (rlogin-process-connection-type): Tweak default. Add set-after.
10744 (rlogin-host): Doc fix.
10745 (rlogin): Tweak prompt.
10746 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10748 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10749 * progmodes/tcl.el (inferior-tcl-mode-map):
10750 Use completion-at-point rather than obsolete alias.
10752 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10754 * minibuffer.el (read-file-name-completion-ignore-case):
10755 Move before completion--in-region, for eager macro expansion.
10757 2013-05-29 Juri Linkov <juri@jurta.org>
10759 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10760 for total count of matching lines. Add `global-matches' for total
10761 count of matches. Rename `matches' to `lines' for count of
10762 matching lines. Add `matches' for count of matches.
10763 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10764 to `prev-line' for line number of prev match endpt.
10765 Increment `matches' for every match. Print the number of
10766 matching lines in the header.
10767 (occur-context-lines): Rename `lines' to `curr-line'.
10768 Rename `prev-lines' to `prev-line'. (Bug#14017)
10770 2013-05-29 Juri Linkov <juri@jurta.org>
10772 * replace.el (perform-replace): Add `skip-read-only-count',
10773 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10774 Increment them for corresponding conditions and report the number
10775 of skipped occurrences in the final message. (Bug#11746)
10776 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10777 (replace-string, replace-regexp): Doc fix.
10779 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10781 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10783 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10784 prog-mode-map (bug#14504).
10786 2013-05-29 Leo Liu <sdl.web@gmail.com>
10788 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10789 (octave-help): Small simplification.
10791 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10792 off the highlight first.
10794 2013-05-29 Glenn Morris <rgm@gnu.org>
10796 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10797 Handle idlwave-last-system-routine-info-cons-cell being nil.
10799 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10800 (idlwave-write-paths): Simplify via with-temp-buffer.
10802 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10803 * emulation/cua-rect.el: Also load cua-base at run time.
10805 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10806 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10807 (cperl-imenu-on-info): Require imenu.
10809 2013-05-28 Alan Mackenzie <acm@muc.de>
10811 Handle "capitalised keywords" correctly.
10812 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10814 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10816 * eshell/em-unix.el: Add -r option to cp.
10818 2013-05-28 Glenn Morris <rgm@gnu.org>
10820 * vc/vc-arch.el (vc-exec-after): Declare.
10821 (vc-switches): Autoload.
10822 * vc/vc-bzr.el: No need to require vc when compiling.
10823 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10824 (vc-resynch-buffer, vc-dir-refresh): Declare.
10825 (vc-setup-buffer, vc-switches): Autoload.
10826 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10827 (vc-resynch-buffer): Declare.
10828 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10829 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10830 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10831 (grep-read-regexp, grep-read-files, grep-expand-template)
10832 (vc-dir-refresh): Declare.
10833 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10834 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10835 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10836 * vc/vc-mtn.el (vc-exec-after): Declare.
10837 (vc-switches): Autoload.
10838 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10839 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10840 (vc-file-tree-walk): Declare.
10841 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10842 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10843 (vc-tag-precondition, vc-rename-master): Autoload.
10844 * vc/vc-svn.el (vc-exec-after): Declare.
10845 (vc-switches, vc-setup-buffer): Autoload.
10846 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10848 (vc-resynch-buffer): Declare.
10850 * obsolete/fast-lock.el (byte-compile-warnings):
10851 Don't warn about obsolete features in this obsolete file.
10853 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10854 Move definition before use.
10856 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10857 (dun-unix-verbs): Remove dun-zippy.
10858 (dun-zippy): Remove function.
10860 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10862 2013-05-27 Juri Linkov <juri@jurta.org>
10864 * replace.el (replace-search): New function with code moved out
10865 from `perform-replace'.
10866 (replace-highlight, replace-dehighlight): Move function definitions
10867 up closer to `replace-search'. (Bug#11746)
10869 2013-05-27 Juri Linkov <juri@jurta.org>
10871 * replace.el (perform-replace): Ignore invisible matches.
10872 In addition to checking `query-replace-skip-read-only', also
10873 filter out matches by calling `run-hook-with-args-until-failure'
10874 on `isearch-filter-predicates', and also check `search-invisible'
10875 for t or call `isearch-range-invisible'.
10876 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10878 2013-05-27 Juri Linkov <juri@jurta.org>
10880 * isearch.el (isearch-filter-predicates): Rename from
10881 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10882 (isearch-message-prefix): Display text from the property
10883 `isearch-message-prefix' of the currently active filters.
10884 (isearch-search): Don't compare `isearch-filter-predicate' with
10885 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10886 on `isearch-filter-predicates'. Also check `search-invisible' for t
10887 or call `isearch-range-invisible'.
10888 (isearch-filter-visible): Make obsolete.
10889 (isearch-lazy-highlight-search):
10890 Call `run-hook-with-args-until-failure' on
10891 `isearch-filter-predicates' and use `isearch-range-invisible'.
10893 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10894 `isearch-filter-predicates' instead of `funcall'ing
10895 `isearch-filter-predicate'.
10896 (Info-mode): Set `Info-isearch-filter' to
10897 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10899 * dired-aux.el (dired-isearch-filter-predicate-orig):
10901 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10902 (dired-isearch-filenames-end): Add and remove
10903 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10904 instead of changing the value of `isearch-filter-predicate'.
10905 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10906 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10907 Put property `isearch-message-prefix' to "filename " on
10908 `dired-isearch-filter-filenames'.
10910 * wdired.el (wdired-change-to-wdired-mode):
10911 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10912 locally instead of changing `isearch-filter-predicate'.
10913 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10915 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10917 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10918 return the commit hash (Bug#14459). Also set the
10919 `vc-git-detached' property.
10920 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10921 (vc-git-mode-line-string): Use the same help-echo format whether
10922 in detached mode or not, because we know the actual revision now.
10923 When in detached mode, shorten the revision to 7 chars.
10925 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10927 * emacs-lisp/easy-mmode.el (define-minor-mode):
10928 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10929 mode hook and provide a docstring.
10931 2013-05-27 Alan Mackenzie <acm@muc.de>
10933 Remove spurious syntax-table text properties inserted by C-y.
10934 * progmodes/cc-mode.el (c-after-change): Also clear hard
10935 syntax-table property with value nil.
10937 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10939 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10940 when reading the events; the buffer layout shall not be changed.
10942 2013-05-27 Leo Liu <sdl.web@gmail.com>
10944 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10946 (inferior-octave-directory-tracker): Automatically re-sync
10948 (octave-help): Improve handling of 'See also'.
10950 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10952 * doc-view.el: Minor naming convention tweaks.
10953 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10955 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10956 even if there's no `display' property yet (bug#14435).
10958 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10960 * subr.el (unmsys--file-name): Rename from reveal-filename.
10962 * Makefile.in (custom-deps, finder-data, autoloads)
10963 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10964 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10965 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10967 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10969 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10970 error-completion on the first 2 args of condition-case (bug#14446).
10973 2013-05-25 Leo Liu <sdl.web@gmail.com>
10975 * comint.el (comint-previous-matching-input): Do not flood the
10976 *Messages* buffer with trivial messages.
10978 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10980 * progmodes/flymake.el (flymake-nop): Don't return a string.
10981 (flymake-set-at): Fix typo.
10983 * simple.el (read--expression): New function, extracted from
10984 eval-expression. Set completion-at-point-functions (bug#14465).
10985 (eval-expression, eval-minibuffer): Use it.
10987 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10989 * progmodes/flymake.el (flymake-save-buffer-in-file)
10990 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10991 (flymake-selected-frame, flymake-log, flymake-ins-after)
10992 (flymake-set-at, flymake-get-buildfile-from-cache)
10993 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10994 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10995 Refine the doc string.
10996 (flymake-get-file-name-mode-and-masks): Reformat.
10997 (flymake-get-real-file-name-function): Fix a minor bug.
10999 2013-05-24 Juri Linkov <juri@jurta.org>
11001 * progmodes/grep.el (grep-mode-font-lock-keywords):
11002 Support =linenumber= format used by git-grep for lines with
11003 function names. (Bug#13549)
11005 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11007 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11008 0 after a semi-colon; it works better for smie-auto-fill.
11009 (octave--indent-new-comment-line): New function.
11010 (octave-indent-new-comment-line): Use it (indirectly).
11011 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11012 modify comment-line-break-function.
11014 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11015 (smie-setup): Use add-function to set it.
11017 2013-05-24 Sam Steingold <sds@gnu.org>
11019 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11020 argument (before the `interactive' argument).
11022 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11024 * image-mode.el (image-mode-winprops): Add winprops to
11025 image-mode-winprops-alist before running
11026 image-mode-new-window-functions.
11027 * doc-view.el (doc-view-new-window-function): Don't delay
11028 doc-view-goto-page via timers (bug#14435).
11030 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11032 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11033 (doc-view-desktop-save-buffer): New function.
11034 (doc-view-restore-desktop-buffer): New function.
11035 (desktop-buffer-mode-handlers):
11036 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11038 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11039 `desktop-save-buffer' function.
11041 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11043 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11044 (tramp-gvfs-file-name-handler): Raise a user error when
11045 `tramp-gvfs-enabled' is nil.
11046 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11047 Do not raise a user error when loading package. (Bug#14447)
11049 * net/xesam.el: Move to obsolete/.
11051 2013-05-24 Glenn Morris <rgm@gnu.org>
11053 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11055 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11057 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11058 (Info-find-node, Man-getpage-in-background): Declare.
11060 * mail/unrmail.el (unrmail):
11061 Replace obsolete detect-coding-with-priority.
11063 * net/socks.el (socks-split-string): Use this rather than split-string.
11064 (socks-nslookup-host): Update for above change.
11065 (dynamic-choice, s5-dynamic-choice-match)
11066 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11067 Comment out unused code.
11069 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11070 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11071 (gud-tooltip-echo-area): Make obsolete.
11072 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11074 * progmodes/js.el (js--optimize-arglist): Declare.
11076 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11078 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11079 (ediff-window-C): Declare.
11081 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11082 Tweak requires to silence compiler.
11084 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11085 (he-search-string, he-tried-table, he-expand-list)
11086 (he-init-string, he-string-member, he-substitute-string)
11087 (he-reset-string): Declare.
11089 * obsolete/options.el (list-options): Use custom-variable-p,
11090 rather than obsolete alias.
11092 2013-05-23 Sam Steingold <sds@gnu.org>
11094 * simple.el (shell-command-on-region): Pass the `replace' argument
11095 down to `call-process-region' to comply with the doc as reported on
11096 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11098 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11100 * emacs-lisp/smie.el (smie-indent-forward-token)
11101 (smie-indent-backward-token): Handle string tokens (bug#14381).
11103 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11105 * ielm.el (ielm-menu): New menu.
11106 (inferior-emacs-lisp-mode): Set comment-start.
11108 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11110 * textmodes/reftex.el (reftex-ref-style-toggle):
11111 Fix deactivate action.
11113 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11114 Add cleveref macros.
11116 * textmodes/reftex-parse.el
11117 (reftex-locate-bibliography-files): Accept options for
11118 bibliography commands.
11119 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11120 Add addbibresource. Basic Biblatex support.
11122 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11124 * net/tramp-gvfs.el (top):
11125 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11126 when loading package. (Bug#14447)
11128 2013-05-23 Glenn Morris <rgm@gnu.org>
11130 * progmodes/js.el: No need to load comint when compiling.
11131 (ring-insert, comint-send-string, comint-send-input)
11132 (comint-last-input-end, ido-chop): Declare.
11134 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11135 * vc/ediff-mult.el: Adjust requires.
11136 (ediff-directories-internal, ediff-directory-revisions-internal)
11137 (ediff-patch-file-internal): Declare.
11138 * vc/ediff-ptch.el: Adjust requires.
11139 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11140 (ediff-find-file): Autoload.
11141 * vc/ediff-util.el: No need to load ediff when compiling.
11142 (ediff-regions-internal): Declare.
11143 * vc/ediff-wind.el: Adjust requires.
11144 (ediff-compute-toolbar-width): Define when compiling.
11145 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11146 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11147 (dired-get-filename, dired-get-marked-files)
11148 (ediff-last-dir-patch, ediff-patch-default-directory)
11149 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11150 (ediff-patch-buffer-internal): Declare.
11152 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11153 (ispell-process, ispell-buffer-local-words, lm-summary)
11154 (lm-section-start, lm-section-end): Declare.
11155 (checkdoc-ispell-init): Simplify.
11157 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11158 (he-string-member, he-reset-string, he-substitute-string): Declare.
11160 * eshell/em-ls.el: Adjust requires.
11161 (eshell-glob-regexp): Declare.
11162 * eshell/em-tramp.el: Adjust requires.
11163 (eshell-parse-command): Autoload.
11164 * eshell/em-xtra.el: Adjust requires.
11165 (eshell-parse-command): Autoload.
11166 * eshell/esh-ext.el: Adjust requires.
11167 (eshell-parse-command, eshell-close-handles): Autoload.
11168 * eshell/esh-io.el: Adjust requires.
11169 (eshell-output-filter): Autoload.
11170 * eshell/esh-util.el: No need to load tramp when compiling.
11171 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11173 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11174 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11175 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11176 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11177 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11178 * eshell/esh-opt.el, eshell/esh-proc.el:
11179 * eshell/esh-var.el: Adjust requires.
11180 * eshell/eshell.el: Do not require esh-util twice.
11181 (eshell-add-input-to-history): Declare.
11182 (eshell-command): Check history module is active before using it.
11184 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11186 2013-05-22 Leo Liu <sdl.web@gmail.com>
11188 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11190 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11192 * autorevert.el (auto-revert-notify-add-watch)
11193 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11194 it indicates changes in file modification time.
11196 2013-05-22 Glenn Morris <rgm@gnu.org>
11198 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11199 Always delete the autoloaded function from the noruntime and
11200 unresolved functions lists.
11202 * allout.el: No need to load epa, epg, overlay when compiling.
11203 (epg-context-set-passphrase-callback, epg-list-keys)
11204 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11205 (epg-key-user-id-list): Declare.
11207 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11208 (viper-set-parsing-style-toggling-macro)
11209 (viper-set-emacs-state-searchstyle-macros):
11210 Use called-interactively-p on Emacs.
11211 (viper-looking-back): Make it an obsolete alias. Update callers.
11212 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11213 Use looking-back rather than viper-looking-back.
11214 (viper-tmp-insert-at-eob, viper-enlarge-region)
11215 (viper-read-string-with-history, viper-register-to-point)
11216 (viper-append-to-register, viper-change-state-to-vi)
11217 (viper-backward-char-carefully, viper-forward-char-carefully)
11218 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11219 (viper-change-state-to-emacs): Declare.
11220 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11221 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11222 * emulation/viper-mous.el: Do not load viper-cmd.
11223 (viper-backward-char-carefully, viper-forward-char-carefully)
11224 (viper-forward-word, viper-adjust-window): Declare.
11226 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11228 * progmodes/idlw-help.el (idlwave-help-fontify):
11229 Use called-interactively-p.
11231 * term/w32console.el (w32-get-console-codepage)
11232 (w32-get-console-output-codepage): Declare.
11234 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11235 Remove unnecessary declarations.
11236 (dframe-message): Doc fix.
11238 * info.el (dframe-select-attached-frame, dframe-current-frame):
11241 * speedbar.el (speedbar-message): Make it an obsolete alias.
11242 Update all callers.
11243 (speedbar-with-attached-buffer)
11244 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11245 (speedbar-with-writable): Use backquote.
11246 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11247 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11248 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11249 rather than speedbar- aliases.
11250 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11251 (speedbar-make-specialized-keymap, speedbar-insert-button)
11252 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11253 (speedbar-do-function-pointer): Declare.
11254 (rmail-speedbar-button, rmail-speedbar-find-file)
11255 (rmail-speedbar-move-message):
11256 Use dframe-with-attached-buffer rather than speedbar- alias.
11257 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11258 (dframe-message, speedbar-make-specialized-keymap)
11259 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11260 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11261 (speedbar-insert-button, dframe-select-attached-frame)
11262 (dframe-maybee-jump-to-attached-frame)
11263 (speedbar-change-initial-expansion-list)
11264 (speedbar-previously-used-expansion-list-name): Declare.
11265 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11266 Use dframe-message, dframe-with-attached-buffer rather than
11268 (gud-sentinel): Silence compiler.
11269 * progmodes/vhdl-mode.el (speedbar-refresh)
11270 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11271 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11272 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11273 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11274 (speedbar-file-lists, speedbar-make-tag-line)
11275 (speedbar-line-directory, speedbar-goto-this-file)
11276 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11277 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11278 (speedbar-make-button, speedbar-reset-scanners)
11279 (speedbar-files-item-info, speedbar-line-text)
11280 (speedbar-find-file-in-frame, speedbar-set-timer)
11281 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11282 (speedbar-with-writable): Do not (re)define it.
11283 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11284 rather than speedbar- alias.
11286 2013-05-21 Leo Liu <sdl.web@gmail.com>
11288 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11290 (octave-mode): Tweak fill-nobreak-predicate.
11291 (inferior-octave-startup): Check process to avoid infinite loop.
11292 (inferior-octave): Pop to buffer first to show abornmal process
11295 2013-05-21 Glenn Morris <rgm@gnu.org>
11297 * printing.el (pr-menu-bar): Define when compiling.
11299 2013-05-21 Leo Liu <sdl.web@gmail.com>
11301 * progmodes/octave.el (octave-auto-fill): Remove.
11302 (octave-indent-new-comment-line): Improve.
11303 (octave-mode): Use auto fill mode through
11304 comment-line-break-function and fill-nobreak-predicate.
11305 (octave-goto-function-definition): Support DEFUN_DLD.
11306 (octave-beginning-of-defun): Small tweak.
11307 (octave-help): Show parent directory.
11309 2013-05-21 Glenn Morris <rgm@gnu.org>
11311 * files.el (dired-unmark):
11312 * progmodes/gud.el (gdb-input): Update declarations.
11314 * calculator.el (electric, ehelp): No need to load when compiling.
11315 (Electric-command-loop, electric-describe-mode): Declare.
11317 * doc-view.el (doc-view-current-converter-processes): Move before use.
11319 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11320 Move MODE-set-explicitly definition before use.
11322 * international/mule-diag.el (mule-diag):
11323 Don't use obsolete window-system-version.
11325 * mail/feedmail.el (smtpmail): No need to load when compiling.
11326 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11328 * mail/mail-utils.el (rfc822): No need to load when compiling.
11329 (rfc822-addresses): Autoload it.
11330 (mail-strip-quoted-names): Trivial simplification.
11332 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11333 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11335 * net/snmp-mode.el (tempo): Don't duplicate requires.
11337 * progmodes/prolog.el (info): No need to load when compiling.
11338 (comint): Require before shell requires it.
11339 (Info-goto-node): Autoload it.
11340 (Info-follow-nearest-node): Declare.
11341 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11343 * textmodes/artist.el (picture-mode-exit): Declare.
11345 * textmodes/reftex-parse.el (reftex-parse-from-file):
11346 Trivial rewrite so the compiler can parse it better.
11348 2013-05-20 Leo Liu <sdl.web@gmail.com>
11350 * progmodes/octave.el (octave-help-mode-map)
11351 (octave-help-mode-finish-hook): New variables.
11352 (octave-help-mode, octave-help-mode-finish): New functions.
11353 (octave-help): Use octave-help-mode.
11355 2013-05-20 Glenn Morris <rgm@gnu.org>
11357 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11359 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11361 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11362 start at point, so that expansion starting right after opening
11363 slash in a regexp is recognized.
11364 (ruby-syntax-before-regexp-re): New defvar, extracted from
11365 ruby-syntax-propertize-function. Since the value of this regexp
11366 is looked up at runtime now, we should be able to turn
11367 `ruby-syntax-methods-before-regexp' into a defcustom later.
11368 (ruby-syntax-propertize-function): Split regexp matching into two
11369 parts, for opening and closing slashes. That allows us to skip
11370 over string interpolations and support multiline regexps.
11371 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11372 for them, which calls `ruby-syntax-propertize-expansion'.
11373 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11374 call to `ruby-syntax-propertize-function'.
11375 (ruby-syntax-propertize-expansion): Extracted from
11376 `ruby-syntax-propertize-expansions'. Handles one expansion.
11377 (ruby-syntax-propertize-percent-literal): Leave point right after
11378 the percent symbol, so that the expression expansion rule can
11379 propertize the contents.
11380 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11382 (ruby-syntax-propertize-expansions): Remove.
11384 2013-05-18 Juri Linkov <juri@jurta.org>
11386 * man.el (Man-default-man-entry): Remove `-' from the end
11387 of the default value. (Bug#14400)
11389 2013-05-18 Glenn Morris <rgm@gnu.org>
11391 * comint.el (comint-password-prompt-regexp):
11392 Allow "password for XXX" where XXX contains colons (eg https://...).
11394 2013-05-18 Leo Liu <sdl.web@gmail.com>
11396 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11397 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11398 (octave-source-directories): Don't check process.
11399 (octave-source-directories, octave-find-definition): Doc fix.
11401 2013-05-18 Glenn Morris <rgm@gnu.org>
11403 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11404 Remove backspace/delete bindings. (Bug#14392)
11406 * cus-dep.el (custom-make-dependencies): Sort the output.
11407 (custom-versions-load-alist): Convert comment to doc.
11409 2013-05-17 Leo Liu <sdl.web@gmail.com>
11411 * newcomment.el (comment-search-backward): Stricter in finding
11412 comment start. (Bug#14303)
11414 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11415 (octave-comment-start-skip): Properly anchored.
11417 2013-05-17 Leo Liu <sdl.web@gmail.com>
11419 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11420 Clean up when turned off. (Bug#14395)
11421 (smie--highlight-matching-block-overlay): No longer buffer-local.
11422 (smie-highlight-matching-block): Adjust.
11424 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11426 Doc string fix for "nanoseconds" (Bug#14406).
11427 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11428 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11430 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11432 * calc/calc-units.el (math-extract-units): Preserve powers
11435 2013-05-17 Leo Liu <sdl.web@gmail.com>
11437 * subr.el (delete-consecutive-dups): New function.
11438 * ido.el (ido-set-matches-1): Use it.
11439 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11440 * ido.el (ido-remove-consecutive-dups): Remove.
11442 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11444 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11445 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11446 regexp-opt's `words'.
11448 2013-05-16 Leo Liu <sdl.web@gmail.com>
11450 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11451 (smie--highlight-matching-block-overlay)
11452 (smie--highlight-matching-block-lastpos)
11453 (smie--highlight-matching-block-timer): New variables.
11454 (smie-highlight-matching-block): New function.
11455 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11456 (smie-setup): Conditionally enable smie-blink-matching-open.
11458 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11460 Sync with upstream verilog-mode r840.
11461 * progmodes/verilog-mode.el (verilog-mode-version)
11462 (verilog-mode-release-date): Update.
11463 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11464 (verilog-sig-tieoff): Fix string error on
11465 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11466 (verilog-read-decls): Fix parameters confusing
11467 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11469 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11471 * subr.el (reveal-filename): New function.
11473 * loadup.el: Compute Emacs executable versions on MS-Windows,
11474 where executables have the .exe extension. Add a hard link
11475 emacs-XX.YY.ZZ.exe on MS-Windows.
11477 * Makefile.in (XARGS_LIMIT): New variable.
11478 (custom-deps, finder-data, autoloads)
11479 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11480 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11481 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11482 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11484 2013-05-16 Leo Liu <sdl.web@gmail.com>
11486 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11487 (octave-mode-menu, octave-mode-map): Remove its uses.
11489 2013-05-16 Reto Zimmermann <reto@gnu.org>
11491 Sync with upstream vhdl mode v3.34.2.
11492 * progmodes/vhdl-mode.el: Use `push' throughout.
11493 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11494 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11495 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11496 (vhdl-actual-generic-name): New option to derive actual generic name.
11497 (vhdl-port-paste-signals): Replace formal by actual generics.
11498 (vhdl-beautify): New name for old group vhdl-align. Update users.
11499 (vhdl-beautify-options): New option.
11500 (vhdl-last-input-event): New compat alias. Use throughout.
11501 (vhdl-goto-line): Replace user level function `goto-line'.
11502 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11503 vhdl-fix-statement-buffer.
11504 (vhdl-create-mode-menu): Add some entries.
11505 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11506 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11507 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11508 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11509 to force statements on one line.
11510 (vhdl-remove-trailing-spaces-region):
11511 New, split from vhdl-remove-trailing-spaces.
11512 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11513 Respect vhdl-beautify-options.
11514 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11515 (vhdl-update-sensitivity-list): Not add with index if exists without.
11516 Not include array index with signal. Ignore keywords in comments.
11517 (vhdl-get-visible-signals): Regexp tweaks.
11518 (vhdl-template-component-inst): Handle empty library.
11519 (vhdl-template-type): Add template for 'enum' type.
11520 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11521 Use vhdl-replace-string.
11522 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11523 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11524 (vhdl-speedbar-initialize): Update for above name change.
11525 (vhdl-compose-wire-components): Fix in handling of constants.
11526 (vhdl-error-regexp-emacs-alist): New variable.
11527 (vhdl-error-regexp-add-emacs): New function;
11528 adds support for new compile.el (Emacs 22+)
11529 (vhdl-generate-makefile-1): Change target order for single lib. units.
11530 Allow use of absolute file names.
11532 2013-05-16 Leo Liu <sdl.web@gmail.com>
11534 * simple.el (prog-indent-sexp): Indent enclosing defun.
11536 2013-05-15 Glenn Morris <rgm@gnu.org>
11538 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11539 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11540 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11541 (whitespace-highlight): Move to whitespace group.
11543 * comint.el (comint-source):
11544 * pcmpl-linux.el (pcmpl-linux):
11545 * shell.el (shell-faces):
11546 * eshell/esh-opt.el (eshell-opt):
11547 * international/ccl.el (ccl): Remove empty custom groups.
11549 * completion.el (dynamic-completion-mode):
11550 * jit-lock.el (jit-lock-debug-mode):
11551 * minibuffer.el (completion-in-region-mode):
11552 * type-break.el (type-break-mode-line-message-mode)
11553 (type-break-query-mode):
11554 * emulation/tpu-edt.el (tpu-edt-mode):
11555 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11556 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11557 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11559 * term/xterm.el (xterm): Change parent group to terminals.
11561 * master.el (master): Remove empty custom group.
11562 (master-mode): Remove unused :group argument.
11563 * textmodes/refill.el (refill): Remove empty custom group.
11564 (refill-mode): Remove unused :group argument.
11566 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11568 * cus-dep.el: Provide a feature.
11569 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11570 Don't mistakenly ignore files whose basenames match a basename
11571 from preloaded-file-list (eg cedet/ede/simple.el).
11572 Add a fallback method for getting :group.
11574 2013-05-15 Juri Linkov <juri@jurta.org>
11576 * isearch.el (isearch-char-by-name): Rename from
11577 `isearch-insert-char-by-name'. Doc fix.
11578 (isearch-forward): Mention `isearch-char-by-name' in
11579 the docstring. (Bug#13348)
11581 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11582 `exit-minibuffer' instead of
11583 `isearch-nonincremental-exit-minibuffer'.
11584 (isearch-edit-string): Remove mention of
11585 `isearch-nonincremental-exit-minibuffer' from docstring.
11586 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11587 (isearch-forward-exit-minibuffer)
11588 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11590 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11592 * loadup.el: Just use unversioned DOC.
11594 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11595 literals as extending to EOB.
11596 (nxml-last-fontify-end): Remove unused variable.
11597 (nxml-after-change1): Use with-silent-modifications.
11598 (nxml-extend-after-change-region): Simplify.
11599 (nxml-extend-after-change-region1): Remove function.
11600 (nxml-after-change1): Don't adjust for dependent regions.
11601 (nxml-fontify-matcher): Simplify.
11602 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11603 (xmltok-add-dependent): Remove function.
11604 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11605 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11606 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11607 unclosed <[[, <?, comment, and other literals as extending to EOB.
11608 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11609 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11611 (rng-do-some-validation-1): Don't mark dependent regions.
11612 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11613 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11614 (nxml-clear-dependent-regions): Remove functions.
11615 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11616 (nxml-ensure-scan-up-to-date):
11617 Don't clear&mark dependent regions.
11619 2013-05-15 Leo Liu <sdl.web@gmail.com>
11621 * progmodes/octave.el (octave-goto-function-definition):
11622 Improve and fix callers.
11624 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11626 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11627 the setter (bug#14387).
11629 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11630 surrounding group (bug#14402).
11632 2013-05-14 Juri Linkov <juri@jurta.org>
11634 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11637 2013-05-14 Glenn Morris <rgm@gnu.org>
11639 * progmodes/f90.el (f90-imenu-generic-expression):
11640 Fix typo in 2013-05-08 change. (Bug#14402)
11642 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11644 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11645 Remove signals for which replies are never received.
11647 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11649 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11650 (gdb-handler-alist, gdb-handler-number): Remove variables.
11651 (gdb-handler-list): New variable.
11652 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11653 (gdb-pending-handler-p, gdb-handle-reply)
11654 (gdb-remove-all-pending-triggers): New functions.
11655 (gdb-discard-unordered-replies): New defcustom.
11656 (gdb-handler): New defstruct.
11657 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11658 instead of gdb-pending-triggers. Update docstring.
11659 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11660 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11661 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11662 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11663 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11664 (gdb-frame-handler): Pending triggers are now automatically managed.
11665 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11667 (gdb-input): Automatically handles pending triggers. Update docstring.
11668 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11669 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11671 (gdb-done-or-error): Now use gdb-handle-reply.
11673 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11675 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11678 2013-05-14 Glenn Morris <rgm@gnu.org>
11680 * subr.el (user-emacs-directory-warning): New option.
11681 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11683 2013-05-14 Leo Liu <sdl.web@gmail.com>
11685 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11687 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11688 (octave-font-lock-texinfo-comment): Fix invalid search bound
11689 error: wrong side of point.
11691 2013-05-14 Glenn Morris <rgm@gnu.org>
11693 * progmodes/flymake.el (flymake-xml-program): New option.
11694 (flymake-xml-init): Use it.
11696 * term/xterm.el: Provide a feature.
11698 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11700 2013-05-13 Glenn Morris <rgm@gnu.org>
11702 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11703 Add compat aliases as a hack workaround. (Bug#14384)
11705 2013-05-13 Leo Liu <sdl.web@gmail.com>
11707 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11709 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11711 (octave-comment-start-skip): Include %!.
11712 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11714 2013-05-12 Leo Liu <sdl.web@gmail.com>
11716 * progmodes/octave.el (inferior-octave-startup): Store the value
11717 of __octave_srcdir__ for octave-source-directories.
11718 (inferior-octave-check-process): New function refactored out of
11719 inferior-octave-send-list-and-digest.
11720 (octave-source-directories)
11721 (octave-find-definition-filename-function): New variables.
11722 (octave-source-directories)
11723 (octave-find-definition-default-filename): New functions.
11724 (octave-find-definition): Improve to find functions implemented in C++.
11726 2013-05-12 Glenn Morris <rgm@gnu.org>
11728 * calendar/diary-lib.el (diary-outlook-format-1):
11729 Don't include dayname in the output. (Bug#14349)
11731 2013-05-11 Glenn Morris <rgm@gnu.org>
11733 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11735 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11736 Treat cc-provide like provide.
11738 2013-05-11 Kevin Ryde <user42@zip.com.au>
11740 * cus-dep.el (custom-make-dependencies):
11741 Use generated-autoload-load-name for the sake of files such
11742 such cedet/semantic/bovine/c.el, where the base file name
11743 is not in load-path. (Bug#5277)
11745 2013-05-11 Glenn Morris <rgm@gnu.org>
11747 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11750 2013-05-11 Leo Liu <sdl.web@gmail.com>
11752 * progmodes/octave.el (octave-indent-comment): Improve.
11753 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11754 (octave-eldoc-function-signatures, octave-eldoc-function):
11756 (octave-mode, inferior-octave-mode): Add eldoc support.
11758 2013-05-11 Richard Stallman <rms@gnu.org>
11760 * epa.el (epa-decrypt-file): Take output file name as argument
11761 and read it using `interactive'.
11763 2013-05-11 Leo Liu <sdl.web@gmail.com>
11765 * progmodes/octave.el (octave-beginning-of-line)
11766 (octave-end-of-line): Check before using up-list because it jumps
11767 out of more syntactic contructs since moving to smie.
11768 (octave-indent-comment): New function.
11769 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11770 (octave-begin-keywords, octave-end-keywords)
11771 (octave-reserved-words, octave-smie-bnf-table)
11772 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11774 2013-05-11 Glenn Morris <rgm@gnu.org>
11776 * faces.el (internal-face-x-get-resource):
11777 * frame.el (ns-display-monitor-attributes-list):
11778 * calc/calc-aent.el (math-to-radians-2):
11779 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11782 * calc/calc-menu.el: Make it loadable in isolation.
11784 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11785 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11786 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11787 (eudc-bbdb-query-internal): Require 'bbdb.
11789 * lpr.el (lpr-headers-switches):
11790 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11792 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11794 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11796 * term.el (term-set-escape-char): Make it idempotent.
11798 2013-05-10 Leo Liu <sdl.web@gmail.com>
11800 * progmodes/octave.el (inferior-octave-completion-table):
11801 No longer a function and all uses changed. Use cache to speed up
11802 completion due to bug#11906.
11803 (octave-beginning-of-defun): Re-write to be more general.
11805 2013-05-10 Glenn Morris <rgm@gnu.org>
11807 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11809 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11811 * comint.el (comint-redirect-send-command-to-process): Use :around
11812 rather than :override for comint-redirect-filter.
11813 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11814 Call it instead of comint-redirect-original-filter-function (which
11815 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11817 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11819 * frame.el (display-monitor-attributes-list): Add NS case.
11820 (ns-display-monitor-attributes-list): Declare.
11822 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11824 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11826 2013-05-09 Glenn Morris <rgm@gnu.org>
11828 * international/fontset.el (vertical-centering-font-regexp):
11829 Set standard-value.
11831 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11833 * bookmark.el (bookmark-search-delay):
11834 * cus-start.el (vertical-centering-font-regexp):
11835 * ps-mule.el (ps-mule-font-info-database-default):
11836 * ps-print.el (ps-default-fg, ps-default-bg):
11837 * type-break.el (type-break-good-break-interval):
11838 * whitespace.el (whitespace-indentation-regexp)
11839 (whitespace-space-after-tab-regexp):
11840 * emacs-lisp/testcover.el (testcover-1value-functions)
11841 (testcover-noreturn-functions, testcover-progn-functions)
11842 (testcover-prog1-functions):
11843 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11844 * eshell/em-glob.el (eshell-glob-translate-alist):
11845 * play/tetris.el (tetris-tty-colors):
11846 * progmodes/cpp.el (cpp-face-default-list):
11847 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11848 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11849 (idlwave-help-browser-generic-args):
11850 * progmodes/make-mode.el (makefile-special-targets-list):
11851 * progmodes/python.el (python-shell-virtualenv-path):
11852 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11853 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11854 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11855 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11856 * textmodes/reftex-vars.el (reftex-format-label-function):
11857 * textmodes/remember.el (remember-diary-file): Fix custom types.
11859 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11862 2013-05-09 Leo Liu <sdl.web@gmail.com>
11864 * progmodes/octave.el (inferior-octave-completion-at-point):
11865 Restore file completion. (Bug#14300)
11866 (inferior-octave-startup): Fix incorrect highlighting for the
11869 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11871 * progmodes/ruby-mode.el: First cut at SMIE support.
11872 (ruby-use-smie): New var.
11873 (ruby-smie-grammar): New constant.
11874 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11875 (ruby-smie--forward-token, ruby-smie--backward-token)
11876 (ruby-smie-rules): New functions.
11877 (ruby-mode-variables): Setup SMIE if applicable.
11879 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11881 * simple.el (line-move-visual): Signal beginning/end of buffer
11882 only if vertical-motion moved less than it was requested. Avoids
11883 silly incorrect error messages when there are display strings with
11884 multiple newlines at EOL.
11886 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11888 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11889 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11890 (prolog-char-quote-workaround):
11891 * progmodes/cperl-mode.el (cperl-under-as-char):
11892 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11894 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11896 (vhdl-mode-syntax-table-init): Remove.
11898 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11901 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11903 (ld-script-font-lock-keywords):
11904 Change regexps to use things like \_< and \_>.
11906 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11907 Change all regexps to use things like \_< and \_>.
11909 * progmodes/autoconf.el (autoconf-definition-regexp)
11910 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11911 Handle a _ with symbol syntax.
11912 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11914 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11915 Consolidate declaration.
11916 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11918 (ada-create-syntax-table): Remove.
11919 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11920 already has the right syntax nowadays.
11921 (ada-goto-next-word): Don't change the syntax of "_".
11923 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11926 2013-05-08 Sam Steingold <sds@gnu.org>
11928 * thingatpt.el (thing-at-point): Accept optional second argument
11929 NO-PROPERTIES to strip the text properties from the return value.
11930 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11931 to `thing-at-point' instead of stripping the properties ourselves.
11932 Also, when `thing-at-point' fails to find a url, prepend "http://"
11933 to the filename at point on the assumption that the user is
11934 pointing at something like gnu.org/gnu.
11936 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11938 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11939 * faces.el (crm-separator):
11940 Silence byte-compiler.
11942 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11943 (tool-bar-map): Remove unneeded defvars.
11945 2013-05-08 Leo Liu <sdl.web@gmail.com>
11947 Re-work a fix for bug#10994 based on Le Wang's patch.
11948 * ido.el (ido-remove-consecutive-dups): New helper.
11949 (ido-completing-read): Use it.
11950 (ido-chop): Revert fix for bug#10994.
11952 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11954 * cus-edit.el (custom-save-variables):
11955 Pretty-print long values. (Bug#14187)
11957 2013-05-08 Glenn Morris <rgm@gnu.org>
11959 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11960 (m4-mode-syntax-table): Init in the defvar.
11961 (m4-mode-abbrev-table): Let define-derived-mode define it.
11963 2013-05-08 Tom Tromey <tromey@redhat.com>
11965 * progmodes/m4-mode.el (m4-mode-syntax-table):
11966 Do not treat "_" as word constituent. (Bug#14167)
11968 2013-05-07 Glenn Morris <rgm@gnu.org>
11970 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11971 Remove explicit eshell-isearch-cancel-map.
11973 * progmodes/f90.el (f90-smart-end-names): New option.
11974 (f90-smart-end): Doc fix.
11975 (f90-end-block-optional-name): New constant.
11976 (f90-block-match): Respect f90-smart-end-names.
11978 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11980 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11981 about implicit semi-colons (bug#14218).
11983 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11985 * frame.el (display-monitor-attributes-list)
11986 (frame-monitor-attributes): New functions.
11988 2013-05-06 Leo Liu <sdl.web@gmail.com>
11990 * progmodes/octave.el (octave-syntax-propertize-function): Change
11991 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11992 (octave-font-lock-keywords): Use octave-operator-regexp.
11993 (octave-completion-at-point): Rename from
11994 octave-completion-at-point-function.
11995 (inferior-octave-directory-tracker): Robustify.
11996 (octave-text-functions): Remove and fix its uses. No such things
11999 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12001 * emacs-lisp/trace.el (trace--display-buffer): New function.
12002 (trace-make-advice): Use it.
12004 2013-05-06 Juri Linkov <juri@jurta.org>
12006 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12007 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12009 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12010 in the help string. (Bug#12985)
12012 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12014 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12016 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12018 * progmodes/perl-mode.el: Add support for here documents.
12019 (perl-syntax-propertize-function): Match here-doc markers.
12020 (perl-syntax-propertize-special-constructs): Find their end.
12021 (perl-imenu-generic-expression): Use [:alnum:].
12023 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12024 (advice--add-function): Refresh the advice if already present
12027 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12029 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12031 2013-05-06 Glenn Morris <rgm@gnu.org>
12033 * w32-fns.el (w32-charset-info-alist): Declare.
12035 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12036 of its defcustom properties.
12037 (eshell-cmpl-initialize): No need to load pcomplete.
12039 * generic-x.el: No need to require comint when compiling.
12041 * net/eudc-export.el: Make it loadable without bbdb.
12042 (top-level): Use require rather than load-library.
12043 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12044 (eudc-batch-export-records-to-bbdb)
12045 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12048 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12050 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12051 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12052 some tweaks, instead.
12054 2013-05-05 Leo Liu <sdl.web@gmail.com>
12056 * progmodes/octave.el (octave-font-lock-keywords)
12057 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12058 (inferior-octave-send-list-and-digest): Improve error message.
12059 (octave-mode, inferior-octave-mode): Use setq-local.
12060 (octave-help): Set info-lookup-mode.
12062 2013-05-05 Richard Stallman <rms@gnu.org>
12064 * vc/compare-w.el (compare-windows-whitespace):
12065 Treat no-break space as whitespace.
12067 * mail/rmailsum.el (rmail-summary-rmail-update):
12068 Detect empty summary and don't change selected message.
12069 (rmail-summary-goto-msg): Likewise.
12071 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12072 Doc fixes, rename args.
12074 2013-05-05 Alan Mackenzie <acm@muc.de>
12076 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12078 2013-05-05 Juri Linkov <juri@jurta.org>
12080 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12081 to not add the length of the summary segment to the return value.
12084 2013-05-05 Leo Liu <sdl.web@gmail.com>
12086 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12087 (inferior-octave-output-filter): Remove.
12088 (octave-send-region, inferior-octave-startup): Fix callers.
12089 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12090 (octave-binary-file-extensions): New user variable.
12091 (octave-find-definition): Confirm if opening binary files.
12092 (octave-help-file): Use octave-find-definition to get the binary
12094 (octave-help): Adjust for octave-help-file change.
12096 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12098 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12099 Merge the two entries that handle function definitions.
12100 (pascal--syntax-propertize): New const.
12101 (pascal-mode): Use it. Use setq-local.
12103 2013-05-04 Glenn Morris <rgm@gnu.org>
12105 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12106 (diary-from-outlook): Respect diary-from-outlook-function.
12108 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12110 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12111 Move the declaration from C.
12112 (read-minibuffer, eval-minibuffer): Move from C.
12113 (completion-setup-function): Avoid minibuffer-completion-contents.
12115 2013-05-03 Leo Liu <sdl.web@gmail.com>
12117 * progmodes/octave.el (octave-font-lock-keywords): Do not
12118 dehighlight 'end' in comments or strings.
12119 (octave-completing-read, octave-goto-function-definition):
12121 (octave-help-buffer): New user variable.
12122 (octave-help-file, octave-help-function): New button types.
12123 (octave-help): New command and bind it to C-h ;.
12124 (octave-find-definition): New command and bind it to M-.
12125 (user-error): Alias to error if not defined.
12127 2013-05-02 Leo Liu <sdl.web@gmail.com>
12129 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12131 (octave-font-lock-keywords): Include [ and {.
12133 2013-05-02 Leo Liu <sdl.web@gmail.com>
12135 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12136 (inferior-octave): Remove calling comint-mode and return the buffer.
12137 (inferior-octave-startup): Cosmetic changes.
12139 2013-05-02 Leo Liu <sdl.web@gmail.com>
12141 * progmodes/octave.el (octave-syntax-propertize-function):
12142 Include the case when ' is at line beginning. (Bug#14336)
12144 2013-05-02 Glenn Morris <rgm@gnu.org>
12146 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12147 * desktop.el (vc-dir-mode): Just autoload it here.
12149 2013-05-02 Alan Mackenzie <acm@muc.de>
12151 Eliminate variable c-standard-font-lock-fontify-region-function.
12152 * progmodes/cc-mode.el
12153 (c-standard-font-lock-fontify-region-function): Remove.
12154 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12156 2013-05-01 Leo Liu <sdl.web@gmail.com>
12158 * progmodes/octave.el: Compatible with older emacs-24 releases.
12159 (inferior-octave-has-built-in-variables): Remove. Built-in
12160 variables were removed from Octave in 2007.
12161 (inferior-octave-startup): Fix uses.
12162 (comint-line-beginning-position): Remove compatibility code for
12165 2013-05-01 Juri Linkov <juri@jurta.org>
12167 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12169 2013-05-01 Juri Linkov <juri@jurta.org>
12171 * comint.el (comint-previous-matching-input): Don't print message
12172 "History item: %d" when `isearch-mode' is active.
12173 (comint-history-isearch-message): Print message "History item: %d"
12174 when `comint-input-ring-index' is not empty and this function is
12175 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12177 2013-05-01 Leo Liu <sdl.web@gmail.com>
12179 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12180 definitions. Use completion-at-point to insert keywords.
12181 (octave-abbrev-start): Remove.
12182 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12184 2013-04-30 Leo Liu <sdl.web@gmail.com>
12186 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12189 2013-04-30 Alan Mackenzie <acm@muc.de>
12191 Handle arbitrarily long C++ member initialisation lists.
12192 * progmodes/cc-engine.el (c-back-over-member-initializers):
12194 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12195 (most) member init lists.
12197 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12199 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12202 2013-04-30 Leo Liu <sdl.web@gmail.com>
12204 * progmodes/octave.el (octave-variables): Remove. No builtin
12205 variables any more. All converted to functions.
12206 (octave-font-lock-keywords, octave-completion-at-point-function):
12208 (octave-font-lock-texinfo-comment): New user variable.
12209 (octave-texinfo-font-lock-keywords): New variable for texinfo
12211 (octave-function-comment-block): New face.
12212 (octave-font-lock-texinfo-comment): New function.
12213 (octave-mode): Font lock texinfo comment block.
12215 2013-04-29 Leo Liu <sdl.web@gmail.com>
12217 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12218 indexing expression.
12219 (octave-continuation-string): Do not use \.
12220 (inferior-octave-complete-impossible): Remove.
12221 (inferior-octave-completion-table)
12222 (inferior-octave-completion-at-point): Remove its uses.
12223 (inferior-octave-startup): completion_matches was introduced to
12224 Octave in 1996 so safe to assume it.
12225 (octave-function-file-comment): Improve to follow how Octave does it.
12226 (octave-update-function-file-comment): Tweak.
12228 2013-04-29 Leo Liu <sdl.web@gmail.com>
12230 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12231 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12232 (octave-function-file-comment): Fix typo.
12233 (octave-sync-function-file-names): Use read-char-choice.
12235 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12237 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12238 to t for the less important warnings.
12240 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12242 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12244 2013-04-27 Glenn Morris <rgm@gnu.org>
12246 * vc/log-view.el (log-view-current-entry):
12247 Treat "---" separator lines as part of the following rev. (Bug#14169)
12249 2013-04-27 Juri Linkov <juri@jurta.org>
12251 * subr.el (read-number): Doc fix about using it by interactive
12252 code letter `n'. (Bug#14254)
12254 2013-04-27 Juri Linkov <juri@jurta.org>
12256 * desktop.el (desktop-auto-save-timeout): New option.
12257 (desktop-file-checksum): New variable.
12258 (desktop-save): Add optional arg `auto-save' and don't auto-save
12259 if nothing changed.
12260 (desktop-auto-save-timer): New variable.
12261 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12262 (after-init-hook): Call `desktop-auto-save-set-timer'.
12263 Suggested by Reuben Thomas <rrt@sc3d.org> in
12264 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12266 2013-04-27 Leo Liu <sdl.web@gmail.com>
12268 * progmodes/octave.el (octave-function-file-p)
12269 (octave-skip-comment-forward, octave-function-file-comment)
12270 (octave-update-function-file-comment): New functions.
12271 (octave-mode-map): Bind C-c ; to
12272 octave-update-function-file-comment.
12273 (octave-mode-menu): Add octave-update-function-file-comment.
12274 (octave-mode, inferior-octave-mode): Fix doc-string.
12275 (octave-insert-defun): Conform to Octave's coding convention.
12278 * files.el (basic-save-buffer): Don't let errors in
12279 before-save-hook prevent saving buffer.
12281 2013-04-20 Roland Winkler <winkler@gnu.org>
12283 * faces.el (read-face-name): Use completing-read if arg multiple
12286 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12288 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12289 displayed, move point to after the totals line.
12290 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12293 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12295 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12296 Add current dir to the load-path.
12297 (package-generate-autoloads): Don't rely on
12298 autoload-ensure-default-file.
12300 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12302 * textmodes/remember.el (remember-store-in-files): Document that
12303 the file name format is passed to `format-time-string'.
12305 2013-04-26 Leo Liu <sdl.web@gmail.com>
12307 * progmodes/octave.el (octave-sync-function-file-names): New function.
12308 (octave-mode): Use it in before-save-hook.
12310 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12312 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12315 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12316 \n and comment, even if it's not an implicit ; (bug#14218).
12318 2013-04-26 Glenn Morris <rgm@gnu.org>
12320 * subr.el (read-number): Once more use `read' rather than
12321 `string-to-number', to trap non-numeric input. (Bug#14254)
12323 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12325 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12326 Use `syntax-multiline' text property consistently instead of
12327 `font-lock-multiline'. (Bug#14237)
12329 2013-04-26 Glenn Morris <rgm@gnu.org>
12331 * emacs-lisp/shadow.el (list-load-path-shadows):
12332 No longer necessary to check for duplicate simple.el, since
12333 2012-07-07 change to init_lread to not include installation lisp
12334 directories in load-path when running uninstalled. (Bug#14270)
12336 2013-04-26 Leo Liu <sdl.web@gmail.com>
12338 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12339 (octave-mode, inferior-octave-mode): Use setq-local.
12340 (octave-not-in-string-or-comment-p): Rename to
12341 octave-in-string-or-comment-p.
12342 (octave-in-comment-p, octave-in-string-p)
12343 (octave-in-string-or-comment-p): Replace defsubst with defun.
12345 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12347 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12349 2013-04-25 Bastien Guerry <bzg@gnu.org>
12351 * textmodes/remember.el (remember-data-directory)
12352 (remember-directory-file-name-format): Fix custom types.
12354 2013-04-25 Leo Liu <sdl.web@gmail.com>
12356 * progmodes/octave.el (octave-completion-at-point-function):
12357 Make use of inferior octave process.
12358 (octave-initialize-completions): Remove.
12359 (inferior-octave-completion-table): New function.
12360 (inferior-octave-completion-at-point): Use it.
12361 (octave-completion-alist): Remove.
12363 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12365 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12366 (opascal-mode-syntax-table): New var.
12367 (opascal-literal-kind, opascal-is-literal-end)
12368 (opascal-literal-token-at): Rewrite.
12369 (opascal--literal-start-re, opascal-font-lock-keywords)
12370 (opascal--syntax-propertize): New constants.
12371 (opascal-font-lock-defaults): Adjust.
12372 (opascal-mode): Use them. Set comment-<foo> variables as well.
12373 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12374 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12375 (delphi-other-face, opascal-other-face): Remove face variables.
12376 (opascal-save-state): Remove macro.
12377 (opascal-fontifying-progress-step): Remove constant.
12378 (opascal--ignore-changes): Remove var.
12379 (opascal-set-token-property, opascal-parse-next-literal)
12380 (opascal-is-stable-literal, opascal-complete-literal)
12381 (opascal-is-literal-start, opascal-face-of)
12382 (opascal-parse-region, opascal-parse-region-until-stable)
12383 (opascal-fontify-region, opascal-after-change)
12384 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12385 (opascal-debug-parse-region, opascal-debug-parse-window)
12386 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12387 (opascal-debug-fontify-buffer): Remove.
12388 (opascal-debug-mode-map): Adjust accordingly.
12390 2013-04-25 Leo Liu <sdl.web@gmail.com>
12392 Merge octave-mod.el and octave-inf.el into octave.el with some
12394 * progmodes/octave.el: New file renamed from octave-mod.el.
12395 * progmodes/octave-inf.el: Merged into octave.el.
12396 * progmodes/octave-mod.el: Renamed to octave.el.
12398 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12400 * textmodes/reftex-vars.el
12401 (reftex-label-ignored-macros-and-environments): New defcustom.
12403 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12405 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12407 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12408 (smie-indent-keyword): Improve the check to ensure that the next
12409 comment is really on the same line.
12410 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12412 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12413 semi-colons if the line is not otherwise empty (bug#14218).
12415 2013-04-25 Glenn Morris <rgm@gnu.org>
12417 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12419 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12421 * progmodes/opascal.el (opascal-set-token-property): Rename from
12422 opascal-set-text-properties and only set `token' (bug#14134).
12423 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12424 (opascal-literal-text-properties): Remove.
12425 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12428 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12430 * textmodes/remember.el (remember-handler-functions): Add an
12431 option for a new handler `remember-store-in-files'.
12432 (remember-data-directory, remember-directory-file-name-format):
12434 (remember-store-in-files): New function to store remember notes
12435 as separate files within a directory.
12437 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12439 * progmodes/compile.el (compilation-next-error-function):
12440 Pass "formats" to compilation-find-file (bug#11777).
12442 2013-04-24 Glenn Morris <rgm@gnu.org>
12444 * vc/vc-bzr.el (vc-bzr-print-log):
12445 * vc/vc-hg.el (vc-hg-print-log):
12446 * vc/vc-svn.el (vc-svn-print-log):
12447 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12449 * vc/vc-bzr.el (vc-bzr-print-log):
12450 * vc/vc-cvs.el (vc-cvs-print-log):
12451 * vc/vc-git.el (vc-git-print-log):
12452 * vc/vc-hg.el (vc-hg-print-log):
12453 * vc/vc-mtn.el (vc-mtn-print-log):
12454 * vc/vc-rcs.el (vc-rcs-print-log):
12455 * vc/vc-sccs.el (vc-sccs-print-log):
12456 * vc/vc-svn.el (vc-svn-print-log):
12457 * vc/vc.el (vc-print-log-internal): Doc fixes.
12459 2013-04-23 Glenn Morris <rgm@gnu.org>
12461 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12462 Remove venerable code attempting to avoid substitute-command-keys.
12464 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12466 * textmodes/reftex-vars.el (reftex-label-regexps):
12467 Call `reftex-compile-variables' after changes to this variable.
12469 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12471 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12472 Use lexical-binding.
12473 (jit-lock-force-redisplay): Use markers, check buffer's continued
12474 existence and beware narrowed buffers.
12475 (jit-lock-fontify-now): Adjust call accordingly.
12477 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12480 to avoid misleading the user.
12482 2013-04-22 Leo Liu <sdl.web@gmail.com>
12484 * info-look.el: Prefer latex2e.info. (Bug#14240)
12486 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12488 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12490 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12491 * net/tramp.el (tramp-call-process): ... here.
12492 (tramp-set-completion-function, tramp-parse-putty):
12493 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12494 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12495 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12496 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12497 (tramp-call-local-coding-command): Use `tramp-call-process'
12498 instead of `tramp-compat-call-process'.
12500 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12501 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12502 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12503 (tramp-find-inline-compress): Improve traces.
12504 (tramp-maybe-send-script): Check for Perl binary.
12505 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12507 2013-04-22 Daiki Ueno <ueno@gnu.org>
12509 * epg.el (epg-context-pinentry-mode): New function.
12510 (epg-context-set-pinentry-mode): New function.
12511 (epg--start): Pass --pinentry-mode option to gpg command.
12513 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12515 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12516 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12517 `completion-at-point'. (Bug#13774)
12519 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12520 default key binding for `describe-distribution' has been moved to
12521 `C-h C-o'. (Bug#13970)
12523 2013-04-21 Glenn Morris <rgm@gnu.org>
12525 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12527 (vc-print-log): Clarify interactive prompt.
12529 2013-04-20 Glenn Morris <rgm@gnu.org>
12531 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12532 No longer include timestamp etc information.
12534 2013-04-20 Roland Winkler <winkler@gnu.org>
12536 * faces.el (read-face-name): Bug fix, return just one face if arg
12537 multiple is nil. (Bug#14209)
12539 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12541 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12542 (remove-function): Autoload.
12544 * comint.el (comint-redirect-original-filter-function): Remove.
12545 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12546 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12547 (vc-cvs-annotate-command):
12548 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12549 * progmodes/prolog.el (prolog-consult-compile):
12550 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12551 Use add/remove-function instead.
12552 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12553 (gud-tooltip-process-output, gud-tooltip-tips):
12554 Use add/remove-function instead.
12555 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12556 (scheme-interaction-mode, exit-scheme-interaction-mode):
12557 Use add/remove-function instead.
12559 * vc/vc-dispatcher.el: Use lexical-binding.
12560 (vc--process-sentinel): Rename from vc-process-sentinel.
12561 Change last arg to be the code to run. Don't use vc-previous-sentinel
12562 and vc-sentinel-commands any more.
12563 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12564 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12566 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12568 * progmodes/sh-script.el (sh-imenu-generic-expression):
12569 Handle function names with a single character. (Bug#14111)
12571 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12573 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12574 for subroutines defined in an eval (bug#14182).
12576 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12578 * bookmark.el (bookmark-completing-read): Improve handling of empty
12579 string (bug#14176).
12581 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12583 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12585 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12587 New faster Imenu implementation (bug#14058).
12588 * progmodes/python.el:
12589 (python-imenu-prev-index-position):
12590 (python-imenu-format-item-label-function)
12591 (python-imenu-format-parent-item-label-function)
12592 (python-imenu-format-parent-item-jump-label-function):
12594 (python-imenu-format-item-label)
12595 (python-imenu-format-parent-item-label)
12596 (python-imenu-format-parent-item-jump-label)
12597 (python-imenu--put-parent, python-imenu--build-tree)
12598 (python-imenu-create-index, python-imenu-create-flat-index)
12599 (python-util-popn): New functions.
12600 (python-mode): Set imenu-create-index-function to
12601 python-imenu-create-index.
12603 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12605 * winner.el (winner-active-region): Use region-active-p, activate-mark
12606 and deactivate-mark (bug#14225).
12608 * simple.el (deactivate-mark): Don't inline it.
12610 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12612 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12614 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12616 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12617 file extensions from the archive-mode entry in order to prefer
12618 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12620 2013-04-18 Leo Liu <sdl.web@gmail.com>
12622 * bindings.el (help-event-list): Add ?\?.
12624 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12626 * subr.el (with-wrapper-hook): Declare obsolete.
12627 * simple.el (filter-buffer-substring-function): New hook.
12628 (filter-buffer-substring): Use it.
12629 (filter-buffer-substring-functions): Mark obsolete.
12630 * minibuffer.el (completion-in-region-function): New hook.
12631 (completion-in-region): Use it.
12632 (completion-in-region-functions): Mark obsolete.
12633 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12634 * abbrev.el (abbrev-expand-function): New hook.
12635 (expand-abbrev): Use it.
12636 (abbrev-expand-functions): Mark obsolete.
12637 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12638 and :filter-return.
12640 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12642 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12643 and do not care about match data.
12645 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12647 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12648 completion tables when completing error conditions and
12649 `declare' arguments.
12650 (lisp-complete-symbol, field-complete): Mark as obsolete.
12651 (check-parens): Unmatched parens are user errors.
12652 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12654 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12656 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12657 command changed buffer (ie. `flyspell-pre-buffer' is not current
12658 buffer), which prevents making decisions based on invalid value of
12659 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12660 cause an error when `flyspell-pre-point' was nil after switching
12662 (flyspell-post-command-hook): No longer needs to change buffers when
12663 checking pre-word. While at it remove unnecessary progn.
12665 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12667 * textmodes/ispell.el (ispell-add-per-file-word-list):
12668 Fix `flyspell-correct-word-before-point' error when accepting
12669 words and `coment-padding' is an integer by using
12670 `comment-normalize-vars' (Bug #14214).
12672 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12674 New defun movement commands.
12675 * progmodes/python.el (python-nav--syntactically)
12676 (python-nav--forward-defun, python-nav-backward-defun)
12677 (python-nav-forward-defun): New functions.
12679 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12681 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12682 (python-syntax-context): Use named compiler-macro for backwards
12683 compatibility with Emacs 24.x.
12685 2013-04-17 Leo Liu <sdl.web@gmail.com>
12687 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12688 octave-hide-process-buffer.
12690 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12692 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12695 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12697 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12698 Fix adjustment of offset when receiving incomplete responses from GDB
12701 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12703 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12704 python-mode-abbrev-table.
12705 (python-skeleton-define): Adjust accordingly.
12706 (python-mode-abbrev-table): New table that inherits from it so that
12707 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12709 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12710 (abbrev-symbol): Use it.
12711 (abbrev--before-point): Use it since we already handle inheritance.
12713 2013-04-16 Leo Liu <sdl.web@gmail.com>
12715 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12716 binding to info-lookup-symbol.
12718 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12720 * minibuffer.el (completion--twq-all):
12721 * term/ns-win.el (ns-initialize-window-system):
12722 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12724 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12726 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12729 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12731 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12733 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12734 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12736 (ruby-end-of-defun): Remove the unused arg, change the docstring
12737 to reflect that this function is only used as the value of
12738 `end-of-defun-function'.
12739 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12740 to reflect an earlier change that beginning/end-of-defun functions
12741 jump between methods in a class definition, as well as top-level
12744 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12746 * minibuffer.el (minibuffer-complete): Don't just scroll
12747 a *Completions* that's been iconified.
12748 (minibuffer-force-complete): Make sure repetitions do cycle when going
12749 through completion-in-region -> minibuffer-complete.
12751 2013-04-15 Alan Mackenzie <acm@muc.de>
12753 Correct the placement of c-cpp-delimiters when there're #s not at
12756 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12757 place a submatch around the #.
12758 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12759 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12762 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12764 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12765 (advice--member-p): New arg `name'.
12766 (advice--add-function, advice-member-p): Use it (bug#14202).
12768 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12770 Reformulate java imenu-generic-expression.
12771 The old expression contained ill formed regexps.
12773 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12774 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12775 (cc-imenu-java-method-arg-regexp): New defconsts.
12776 (cc-imenu-java-build-type-args-regex): New defun.
12777 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12778 handling of spaces in the regexp.
12780 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12782 * textmodes/ispell.el (ispell-command-loop): Remove
12783 flyspell highlight of a word when ispell accepts it (bug #14178).
12785 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12787 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12788 uses code from the previous `ange-ftp-run-real-handler'.
12789 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12790 only in case that function exist. This is needed for proper
12791 unloading of Tramp.
12793 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12795 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12797 * textmodes/reftex.el (reftex-compile-variables): Use it.
12799 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12801 * files.el (normal-mode): Only use default major-mode if no other mode
12804 * emacs-lisp/trace.el (trace-values): New function.
12806 * files.el: Allow : in local variables (bug#14089).
12807 (hack-local-variable-regexp): New var.
12808 (hack-local-variables-prop-line, hack-local-variables): Use it.
12810 2013-04-13 Roland Winkler <winkler@gnu.org>
12812 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12813 data before it gets modified by bibtex-beginning-of-entry.
12815 2013-04-13 Roland Winkler <winkler@gnu.org>
12817 * textmodes/bibtex.el (bibtex-url): Doc fix.
12819 2013-04-13 Roland Winkler <winkler@gnu.org>
12821 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12822 does not visit a BibTeX file, exclude it from the list of buffers
12823 returned by bibtex-initialize.
12825 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12827 * window.el (split-window): Remove interactive form, since as a
12828 command this function is a special case of split-window-below.
12829 Correct doc string.
12831 2013-04-12 Roland Winkler <winkler@gnu.org>
12833 * faces.el (read-face-name): Do not override value of arg default.
12834 Allow single faces and strings as default values. Remove those
12835 elements from return value that are not faces.
12836 (describe-face): Simplify.
12837 (face-at-point): New optional args thing and multiple so that this
12838 function can provide the same functionality previously provided by
12840 (make-face-bold, make-face-unbold, make-face-italic)
12841 (make-face-unitalic, make-face-bold-italic, invert-face)
12842 (modify-face, read-face-and-attribute): Use face-at-point.
12844 * cus-edit.el (customize-face, customize-face-other-window)
12845 * cus-theme.el (custom-theme-add-face)
12846 * face-remap.el (buffer-face-set)
12847 * facemenu.el (facemenu-set-face): Use face-at-point.
12849 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12851 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12853 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12855 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12856 off leading { and trailing } from field values.
12858 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12860 * emacs-lisp/timer.el (timer--check): New function.
12861 (timer--time, timer-set-function, timer-event-handler): Use it.
12862 (timer-set-idle-time): Simplify.
12863 (timer--activate): CSE.
12864 (timer-event-handler): Give more info in error message.
12865 (internal-timer-start-idle): New function, moved from C.
12867 * mpc.el (mpc-proc): Add `restart' argument.
12868 (mpc-proc-cmd): Use it.
12869 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12870 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12873 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12875 * progmodes/sh-script.el: Implement `sh-mode' own
12876 `add-log-current-defun-function' (bug#14112).
12877 (sh-current-defun-name): New function.
12878 (sh-mode): Use the function.
12880 2013-04-09 Bastien Guerry <bzg@gnu.org>
12882 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12884 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12886 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12888 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12891 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12893 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12896 2013-04-07 Leo Liu <sdl.web@gmail.com>
12898 * pcmpl-x.el: New file.
12900 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12902 Do not set x-display-name until X connection is established.
12903 This is needed to prevent from weird situation described at
12904 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12905 * frame.el (make-frame): Set x-display-name after call to
12906 window system initialization function, not before.
12907 * term/x-win.el (x-initialize-window-system): Add optional
12908 display argument and use it.
12909 * term/w32-win.el (w32-initialize-window-system):
12910 * term/ns-win.el (ns-initialize-window-system):
12911 * term/pc-win.el (msdos-initialize-window-system):
12912 Add compatible optional display argument.
12914 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12916 * files.el (normal-backup-enable-predicate): On MS-Windows and
12917 MS-DOS compare truenames of temporary-file-directory and of the
12918 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12919 don't fail comparison by compare-strings. Also, compare file
12920 names case-insensitively on MS-Windows and MS-DOS.
12922 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12924 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12925 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12927 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12929 * whitespace.el (whitespace-color-on, whitespace-color-off):
12930 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12932 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12934 * ispell.el (ispell-set-spellchecker-params):
12935 Really set `ispell-args' for all equivs.
12937 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12939 * ido.el (ido-completions): Use extra elements of ido-decorations
12941 (ido-decorations): Update docstring.
12943 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12945 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12946 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12947 nil during initialization, in order not to miss changes since the
12948 file was opened. (Bug#14140)
12950 2013-04-05 Leo Liu <sdl.web@gmail.com>
12952 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12954 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12956 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12958 2013-04-04 Glenn Morris <rgm@gnu.org>
12960 * electric.el (electric-pair-inhibit-predicate): Add :version.
12962 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12964 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12965 when a package is required several times (bug#14082).
12967 2013-04-04 Roland Winkler <winkler@gnu.org>
12969 * faces.el (read-face-name): Behave as promised by the docstring.
12970 Assume that arg default is a list of faces.
12971 (describe-face): Call read-face-name with list of default faces.
12973 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12975 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12976 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12977 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12979 (bookmark-exit-hook-internal): Save even if list is empty.
12981 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12983 * emacs-lisp/package.el (package-pinned-packages): New var.
12984 (package--add-to-archive-contents): Obey it (bug#14118).
12986 2013-04-03 Alan Mackenzie <acm@muc.de>
12988 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12989 Also adapt to the new values of element 7 of a parse state.
12991 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12992 parameter `not-in-delimiter'. Handle being inside comment opener.
12993 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12994 character in case we're typing a '*' after a '/'.
12995 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12996 instead by passing the parameter to c-state-pp-to-literal.
12998 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12999 for elt. 7 of a parse state.
13001 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13003 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13004 * international/latin1-disp.el, international/mule-util.el:
13005 * language/cyril-util.el, language/european.el, language/ind-util.el:
13006 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13007 * language/tibetan.el, language/viet-util.el:
13008 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13010 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13012 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13013 (electric-pair-post-self-insert-function): Use it.
13014 (electric-pair-default-inhibit): New function, extracted from
13015 electric-pair-post-self-insert-function.
13017 2013-03-31 Roland Winkler <winkler@gnu.org>
13019 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13021 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13023 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13025 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13027 Un-indent after "pass" and "return" statements (Bug#13888)
13028 * progmodes/python.el (python-indent-block-enders): New var.
13029 (python-indent-calculate-indentation): Use it.
13031 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13033 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13034 defun. Defining it as defalias could introduce too eager
13035 byte-compiler optimization. (Bug#14030)
13037 2013-03-30 Chong Yidong <cyd@gnu.org>
13039 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13041 2013-03-30 Leo Liu <sdl.web@gmail.com>
13043 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13044 (kmacro-execute-from-register): Pass the keyboard macro to
13045 kmacro-call-macro or repeating won't work correctly.
13047 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13049 * progmodes/subword.el: Back to using `forward-symbol'.
13051 * subr.el (forward-whitespace, forward-symbol)
13052 (forward-same-syntax): Move from thingatpt.el.
13054 2013-03-29 Leo Liu <sdl.web@gmail.com>
13056 * kmacro.el (kmacro-to-register): New command.
13057 (kmacro-execute-from-register): New function.
13058 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13060 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13062 * mpc.el: Use defvar-local and setq-local.
13063 (mpc--proc-connect): Connection failures are not bugs.
13064 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13065 (mpc-volume-map): Bind to the up-events.
13067 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13069 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13070 instead of `forward-symbol'.
13072 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13074 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13075 (edebug--recursive-edit): Use it.
13076 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13077 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13079 2013-03-28 Leo Liu <sdl.web@gmail.com>
13081 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13083 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13085 * facemenu.el (list-colors-callback): New defvar.
13086 (list-colors-redisplay): New function.
13087 (list-colors-display): Install list-colors-redisplay as the
13088 revert-buffer-function. (Bug#14063)
13090 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13092 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13093 and suffixes don't overlap (bug#14061).
13095 * case-table.el: Use lexical-binding.
13096 (case-table-get-table): New function.
13097 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13099 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13101 * progmodes/subword.el: Add `superword-mode' to do word motion
13102 over symbol_words (parallels and leverages `subword-mode' which
13103 does word motion inside MixedCaseWords).
13105 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13107 * eshell/em-unix.el: Move su and sudo to...
13108 * eshell/em-tramp.el: ...Eshell tramp module.
13110 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13112 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13113 Change return value to be a sexp. Delay `get-buffer' to after
13114 restoring the desktop (bug#13951).
13116 2013-03-26 Leo Liu <sdl.web@gmail.com>
13118 * register.el: Move semantic tag handling back to
13119 cedet/semantic/senator.el. (Bug#14052)
13121 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13123 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13124 into the prompt either (bug#13963).
13126 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13128 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13129 part of "(error-foo)".
13131 2013-03-24 Juri Linkov <juri@jurta.org>
13133 * replace.el (list-matching-lines-prefix-face): New defcustom.
13134 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13135 `occur-engine' if `face-differs-from-default-p' returns t.
13136 (occur-engine): Add `,' inside backquote construct to evaluate
13137 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13138 Pass `prefix-face' to the functions `occur-context-lines' and
13139 `occur-engine-add-prefix'.
13140 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13141 `prefix-face' and propertize the prefix with `prefix-face'.
13144 2013-03-24 Leo Liu <sdl.web@gmail.com>
13146 * nxml/rng-valid.el (rng-validate-while-idle)
13147 (rng-validate-quick-while-idle): Guard against deleted buffer.
13150 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13151 is the last entry in kill-buffer-hook.
13153 * files.el (kill-buffer-hook): Doc fix.
13155 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13157 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13158 Make it safe-local.
13160 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13162 2013-03-23 Leo Liu <sdl.web@gmail.com>
13164 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13167 * nxml/rng-valid.el (rng-validate-mode)
13168 (rng-after-change-function, rng-do-some-validation):
13169 * nxml/rng-maint.el (rng-validate-buffer):
13170 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13171 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13172 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13173 (nxml-extend-after-change-region): Use with-silent-modifications.
13175 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13178 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13179 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13180 timer-idle-list. (Bug#13999)
13182 2013-03-23 Juri Linkov <juri@jurta.org>
13184 * info.el (info-index-match): New face.
13185 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13186 main pattern and add text properties with the new face to matches
13187 in index entries relative to the beginning of the index entry.
13190 2013-03-21 Eric Ludlam <zappo@gnu.org>
13192 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13193 Inhibit read only while inserting objects.
13195 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13197 * progmodes/cfengine.el: Update docs to mention
13198 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13199 symbol motion. Remove "_" from the word syntax.
13201 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13203 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13204 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13206 2013-03-20 Juri Linkov <juri@jurta.org>
13208 * info.el (Info-next-reference-or-link)
13209 (Info-prev-reference-or-link): New functions.
13210 (Info-next-reference, Info-prev-reference): Use them.
13211 (Info-try-follow-nearest-node): Handle footnote navigation.
13212 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13214 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13216 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13217 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13219 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13221 Suppress unnecessary non-ASCII chatter during build process.
13222 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13223 (batch-skkdic-convert): Suppress most of the chatter.
13224 It's not needed so much now that machines are faster,
13225 and its non-ASCII component was confusing; see Dmitry Gutov in
13226 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13228 2013-03-20 Leo Liu <sdl.web@gmail.com>
13230 * ido.el (ido-chop): Fix bug#10994.
13232 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13234 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13236 (whitespace-color-on, whitespace-color-off):
13237 Use `font-lock-fontify-buffer' (Bug#13817).
13239 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13241 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13242 remapping in mode-line.
13243 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13245 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13247 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13248 value for `whitespace-line' face (Bug#13875).
13249 (whitespace-font-lock-keywords): Change description.
13250 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13251 the constructed keywords instead.
13252 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13254 2013-03-19 Leo Liu <sdl.web@gmail.com>
13256 * progmodes/compile.el (compilation-display-error): New command.
13257 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13260 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13262 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13264 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13266 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13268 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13270 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13272 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13273 * net/tramp-gvfs.el (top):
13274 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13275 (tramp-handle-shell-command): Use it.
13276 (tramp-dissect-file-name): Raise an error when hostname is a
13277 method name, and neither method nor user is specified.
13279 * net/trampver.el: Update release number.
13281 2013-03-18 Leo Liu <sdl.web@gmail.com>
13283 Make sure eldoc can be turned off properly.
13284 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13286 (eldoc-display-message-p): Revert last change.
13287 (eldoc-display-message-no-interference-p)
13288 (eldoc-print-current-symbol-info): Tweak.
13290 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13292 * doc-view.el (doc-view-new-window-function): Check the new window
13293 overlay's display property instead the char property of the
13294 buffer's first char. Use `with-selected-window' instead of
13295 `save-window-excursion' with `select-window'.
13296 (doc-view-document->bitmap): Check the current doc-view overlay's
13297 display property instead the char property of the buffer's first char.
13299 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13301 Automate the build of ja-dic.el (Bug#13984).
13302 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13303 from the input, rather than assume that it's been done for us by the
13304 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13305 the current date into a ja-dic.el comment, as that complicates
13306 regression testing.
13308 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13310 * whitespace.el: Fix double evaluation.
13311 (whitespace-space, whitespace-hspace, whitespace-tab)
13312 (whitespace-newline, whitespace-trailing, whitespace-line)
13313 (whitespace-space-before-tab, whitespace-indentation)
13314 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13316 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13317 (whitespace-color-on): Use a single font-lock-add-keywords call.
13318 Fix double-evaluation of face variables.
13320 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13322 * net/tramp-adb.el (tramp-adb-parse-device-names):
13323 Use `start-process' instead of `call-process'. Otherwise, the
13324 function might be blocked under MS Windows. (Bug#13299)
13326 2013-03-17 Leo Liu <sdl.web@gmail.com>
13328 Extend eldoc to display info in the mode-line. (Bug#13978)
13329 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13330 (eldoc-mode-line-string): New variable.
13331 (eldoc-minibuffer-message): New function.
13332 (eldoc-message-function): New variable.
13333 (eldoc-message): Use it.
13334 (eldoc-display-message-p)
13335 (eldoc-display-message-no-interference-p):
13336 Support eldoc-post-insert-mode.
13338 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13339 (eval-expression): Run it.
13341 2013-03-17 Roland Winkler <winkler@gnu.org>
13343 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13344 strings in the list of return values.
13346 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13348 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13349 radix before checking for HMS forms.
13351 2013-03-16 Leo Liu <sdl.web@gmail.com>
13353 * progmodes/scheme.el: Add indentation and font-locking for λ.
13356 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13358 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13359 token before point (bug#13942).
13361 2013-03-16 Leo Liu <sdl.web@gmail.com>
13363 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13365 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13367 * startup.el (command-line-normalize-file-name): Fix handling of
13368 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13369 <xfq.free@gmail.com> in
13370 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13372 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13374 Sync with Tramp 2.2.7.
13376 * net/trampver.el: Update release number.
13378 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13380 * doc-view.el: Fix bug#13887.
13381 (doc-view-insert-image): Don't modify overlay associated to
13382 non-live windows, and implement horizontal centering of image in
13383 case it's smaller than the window.
13384 (doc-view-new-window-function): Force redisplay of new windows on
13387 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13389 * saveplace.el (save-place-alist-to-file): Don't sort
13390 `save-place-alist', just pretty-print it (bug#13882).
13392 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13394 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13395 Check whether `default-file-name-coding-system' is bound.
13396 It isn't in XEmacs.
13398 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13400 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13401 backquotes for `obsolete' (bug#13929).
13403 * international/mule.el (find-auto-coding): Include file name in
13404 obsolescence warning (bug#13922).
13406 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13408 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13409 for CFEngine 3-specific indentation.
13410 (cfengine3-indent-line): Use it. Fix up category regex.
13411 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13413 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13415 * type-break.el (type-break-file-name):
13416 * textmodes/remember.el (remember-data-file):
13417 * strokes.el (strokes-file):
13418 * shadowfile.el (shadow-initialize):
13419 * saveplace.el (save-place-file):
13420 * ps-bdf.el (bdf-cache-file):
13421 * progmodes/idlwave.el (idlwave-config-directory):
13422 * net/quickurl.el (quickurl-url-file):
13423 * international/kkc.el (kkc-init-file-name):
13424 * ido.el (ido-save-directory-list-file):
13425 * emulation/viper.el (viper-custom-file-name):
13426 * emulation/vip.el (vip-startup-file):
13427 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13428 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13430 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13432 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13433 * language/thai-word.el: Switch to UTF-8.
13435 See ChangeLog.16 for earlier changes.
13437 ;; Local Variables:
13441 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13443 This file is part of GNU Emacs.
13445 GNU Emacs is free software: you can redistribute it and/or modify
13446 it under the terms of the GNU General Public License as published by
13447 the Free Software Foundation, either version 3 of the License, or
13448 (at your option) any later version.
13450 GNU Emacs is distributed in the hope that it will be useful,
13451 but WITHOUT ANY WARRANTY; without even the implied warranty of
13452 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13453 GNU General Public License for more details.
13455 You should have received a copy of the GNU General Public License
13456 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.