1 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
3 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
4 before the start of buffer/region (bug#16799).
6 2014-02-20 Glenn Morris <rgm@gnu.org>
8 * isearch.el (search-invisible): Doc fix.
10 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
12 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
15 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
17 * frameset.el (frameset-restore): Delay removing an old frame's
18 duplicate id until the new frame has been correctly created.
20 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
22 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
23 (tramp-check-cached-permissions): Call `file-attributes' if the
26 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
27 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
29 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
30 [make-symbolic-link]: Use `tramp-handle-make-symbolic-link'.
31 (tramp-gvfs-maybe-open-connection): Set always connection
32 properties, even if target is mounted already.
34 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
35 Set tramp-autoload cookie.
36 (tramp-get-remote-touch): New defun.
37 (tramp-sh-handle-set-file-times): Use it.
38 (tramp-sh-handle-directory-files-and-attributes):
39 Use `tramp-handle-directory-files-and-attributes' if neither stat
40 nor perl are available on the remote host.
42 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
43 "/". Write long listing only when "l" belongs to the switches.
45 * net/trampver.el: Update release number.
47 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
49 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
51 2014-02-19 Martin Rudalics <rudalics@gmx.at>
53 * window.el (window-state-put): Allow WINDOW to refer to an
54 internal window (Bug#16793).
56 2014-02-19 Glenn Morris <rgm@gnu.org>
58 * textmodes/remember.el: Move provide statement to end.
59 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
60 (remember-notes): Doc fixes.
62 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
64 * delsel.el (delete-char): Restore incorrectly erased property
67 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
69 * frameset.el (frameset--restore-frame): When a frame is being reused
70 and its root window is not alive, delete all the frame's windows before
71 restoring the window state. This works around the issue in bug#16793.
73 2014-02-18 Glenn Morris <rgm@gnu.org>
75 * textmodes/remember.el (remember-data-directory)
76 (remember-directory-file-name-format, remember-store-in-files)
77 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
78 (remember-notes-save-and-bury-buffer)
79 (remember-notes--kill-buffer-query): Doc fixes.
81 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
83 2014-02-17 Alan Mackenzie <acm@muc.de>
85 Connect electric-indent-mode up with CC Mode. Bug #15478.
86 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
87 to electric-indent-{,local-}-mode.
88 (c-basic-common-init): Set electric-indent-inhibit.
89 Initialise c-electric-flag from electric-indent-mode.
90 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
91 New hook functions which propagate electric-indent-mode to CC mode.
93 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
94 hit, toggle electric-indent-local-mode.
96 * electric.el (electric-indent-mode-has-been-called):
99 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
101 * frameset.el (frameset-cfg-id): New function.
102 (frameset--reuse-frame, frameset-restore): Use it.
103 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
105 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
107 * ido.el (ido-file-internal): Remove unused var `d'.
108 Use \` for to match BoS. Fit within 80n columns.
110 2014-02-17 Daniel Colascione <dancol@dancol.org>
112 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
113 dbus-call-method check for completion using a busy-wait loop with
116 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
118 Sync with Tramp 2.2.9.
120 * net/trampver.el: Update release number.
122 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
124 * ido.el (ido-file-internal): Don't add the name of an existing
125 directory twice. (Bug#16747)
127 2014-02-16 Glenn Morris <rgm@gnu.org>
129 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
130 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
132 2014-02-15 Michael R. Mauger <michael@mauger.com>
134 * progmodes/sql.el: Version 3.4
135 (sql-oracle-options): New default value ("-L").
136 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
137 (sql-placeholders-filter): Correct placeholder pattern.
138 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
139 (sql-login-delay): New variable.
140 (sql-product-interactive): Use it.
142 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
144 * frameset.el (frameset--jump-to-register): Check that buffer is live
147 2014-02-15 Glenn Morris <rgm@gnu.org>
149 * info.el (info-initialize): Revert 2014-01-10 change.
151 2014-02-14 Glenn Morris <rgm@gnu.org>
153 * replace.el (map-query-replace-regexp)
154 (read-regexp-defaults-function, read-regexp): Doc fixes.
156 * dired.el (dired-read-regexp):
157 * faces.el (list-faces-display):
158 * misearch.el (multi-isearch-read-matching-buffers)
159 (multi-isearch-read-matching-files):
160 * play/cookie1.el (cookie-apropos):
161 * progmodes/grep.el (grep-read-regexp): Doc fixes.
163 * textmodes/remember.el (remember): Use frameset-to-register
164 rather than frame-configuration-to-register.
166 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
168 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
169 incorrect keybinding.
171 2014-02-13 Daniel Colascione <dancol@dancol.org>
173 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
174 when adding overlays so that line numbers from compiler match line
177 2014-02-13 Glenn Morris <rgm@gnu.org>
179 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
181 * jit-lock.el (jit-lock-mode): Doc fix.
183 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
185 * apropos.el (apropos-read-pattern): When the user passes an empty
186 string, give a more helpful error message than "Wrong type
187 argument: stringp, nil".
189 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
191 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
193 2014-02-13 Glenn Morris <rgm@gnu.org>
195 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
197 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
199 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
200 shift-select commands.
202 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
204 * progmodes/js.el (js-indent-line): Don't widen.
205 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
207 2014-02-12 Glenn Morris <rgm@gnu.org>
209 * icomplete.el (icomplete): Add info-link to defgroup.
210 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
211 (icomplete-minibuffer-map, icomplete-mode)
212 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
214 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
215 (package-menu-filter): Rename from package-menu-filter-interactive.
218 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
220 * frameset.el (frameset--jump-to-register): Select the required
221 window and buffer before restoring position (bug#16696).
223 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
225 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
227 2014-02-10 Glenn Morris <rgm@gnu.org>
229 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
231 2014-02-10 Eli Zaretskii <eliz@gnu.org>
233 * w32-common-fns.el (x-get-selection): Doc fix.
234 * select.el (x-get-selection): Doc fix. (Bug#15109)
236 * face-remap.el (face-remap-add-relative)
237 (face-remap-remove-relative, face-remap-reset-base)
238 (face-remap-set-base): Call force-mode-line-update to redisplay
239 the current buffer due to potential change in faces. (Bug#16709)
241 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
243 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
244 script more robustly.
246 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
248 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
250 * simple.el (choose-completion): Doc fix (bug#14160).
252 * subr.el (event-start): Say what a nil EVENT value means.
254 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
257 * progmodes/grep.el (find-program): Doc fix (bug#14289).
259 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
261 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
263 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
264 predicate function (bug#15455).
266 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
268 * ielm.el (inferior-emacs-lisp-mode): Instead of
269 `comment-use-global-state', set `comment-use-syntax'.
271 2014-02-10 Glenn Morris <rgm@gnu.org>
273 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
275 2014-02-09 Alan Mackenzie <acm@muc.de>
277 Fix c-invalidate-state-cache on narrowed buffers.
278 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
279 Widen when setting and clearing the CPP delimiter properties.
281 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
283 * help.el (describe-bindings): Doc fix (bug#9888).
285 * files.el (save-buffer): Use ARG as the parameter name for
286 consistency (bug#10346).
287 (save-buffer): Clarify the 0 argument (bug#10346).
289 * cus-edit.el (customize-apropos): Fix error string.
290 (custom-buffer-create): Doc fix (bug#11122).
291 (custom-sort-items): Doc fix (bug#11121).
293 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
295 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
296 (icomplete-simple-completing-p): Mention the previous variable.
298 * font-lock.el (font-lock-value-in-major-mode): Clarify the
299 meaning of the parameter (bug#12282).
301 * files.el (find-file-noselect): Clarify prompt when changing
302 readedness (bug#13261).
303 (locate-file): Suffixes aren't returned, so don't say that they
305 (backup-inhibited): Doc clarification (bug#12525).
307 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
308 before we actually start to delete things (bug#16331).
310 * subr.el (event-start): Doc fix (bug#14228).
313 2014-02-09 Glenn Morris <rgm@gnu.org>
315 * emacs-lisp/warnings.el (lwarn):
316 Empower help-enable-auto-load. (Bug#15940)
318 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
320 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
323 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
325 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
326 Insert output at end of buffer. (Bug#16120)
328 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
330 * simple.el (choose-completion-string-functions): Document new
331 calling convention (bug#14153).
332 (execute-extended-command): Clarify doc string (bug#13373).
334 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
336 * find-dired.el (find-name-dired): Doc fix (bug#14290).
337 (find-grep-dired): Doc fix (bug#14288).
339 2014-02-08 Juri Linkov <juri@jurta.org>
341 * isearch.el (isearch-quote-char): Check character validity
342 like in `quoted-insert' (bug#16677).
344 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
346 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
348 * isearch.el (isearch-hide-immediately): Doc clarification
351 * simple.el (line-move): Document utility function used many
352 places in the Emacs sources (bug#14843).
354 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
355 (dired-prev-marked-file): Doc fix (bug#14855).
356 (dired-up-directory): Doc fix (bug#14848).
358 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
360 * files.el (file-relative-name): Doc fix (bug#15159).
362 * fringe.el (fringe-styles): Doc fix (bug#15239).
364 * isearch.el (isearch-filter-predicate): Documentation typo fix
367 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
369 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
371 * replace.el (replace-match-maybe-edit): Doc clarification
374 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
376 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
378 2014-02-08 Glenn Morris <rgm@gnu.org>
380 * help-fns.el (describe-variable):
381 Check {file,dir}-local-variables-alist, and buffer-file-name,
382 in the correct buffer.
384 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
386 * help-fns.el (describe-variable): Fix the case where
387 a value is directory-local with no dir-locals file. (Bug#16635)
389 2014-02-08 Glenn Morris <rgm@gnu.org>
391 * abbrev.el (edit-abbrevs-mode):
392 Derive from fundamental-mode. (Bug#16682)
394 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
396 * simple.el (quoted-insert): Check character validity (bug#16677).
398 2014-02-07 Juri Linkov <juri@jurta.org>
400 * desktop.el (desktop-read): Claim the lock when the owner is not
401 the current process. (Bug#16157)
403 2014-02-07 Juri Linkov <juri@jurta.org>
405 * desktop.el (desktop-buffers-not-to-save): Change default from nil
406 to "\\` ". (Bug#16651)
408 2014-02-07 Juri Linkov <juri@jurta.org>
410 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
411 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
412 (desktop-auto-save-cancel-timer): New function with some code from
413 `desktop-auto-save-set-timer'.
414 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
415 Instead of setting `desktop-save-mode' to nil, call
416 `desktop-save-mode' with arg 0. (Bug#16630)
418 2014-02-07 Glenn Morris <rgm@gnu.org>
420 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
421 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
422 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
424 * obsolete/iswitchb.el: Move to obsolete/.
425 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
426 since obsolete/ is not scanned for autoloads.
427 * emacs-lisp/authors.el (authors-valid-file-names):
430 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
431 Disable now non-functional find-file-hook.
433 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
435 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
436 instead of ";" in order to avoid additional prompts. Let heredoc
437 scripts read from tty. (Bug#16582)
438 (tramp-send-command): No special handling of heredocs, it isn't
441 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
443 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
444 with a space (bug#16664). Limit the symbols considered to the ones
445 that are bound or fbound (bug#16646).
447 2014-02-06 Glenn Morris <rgm@gnu.org>
449 * epa.el (epa-mail-aliases): Doc fix.
451 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
453 * emacs-lisp/lisp.el (lisp-completion-at-point):
454 Use `completion-table-merge' instead of `completion-table-in-turn'
457 * minibuffer.el (completion-table-merge): New function.
459 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
461 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
462 (tramp-sh-handle-set-file-acl)
463 (tramp-sh-handle-start-file-process)
464 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
465 (tramp-find-executable, tramp-send-command): Use it.
467 2014-02-05 Glenn Morris <rgm@gnu.org>
469 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
471 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
473 * progmodes/python.el (python-shell-send-string):
474 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
476 2014-02-04 Anders Lindgren <andlind@gmail.com>
478 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
479 the names (bug#16620).
481 2014-02-03 Martin Rudalics <rudalics@gmx.at>
483 * faces.el (window-divider): New default value. Rewrite doc-string.
484 (window-divider-first-pixel, window-divider-last-pixel): New faces.
486 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
488 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
489 `protected' and `public' can also be called without arguments.
491 2014-02-03 Glenn Morris <rgm@gnu.org>
493 * register.el (window-configuration-to-register)
494 (frame-configuration-to-register): Unadvertise unused argument.
495 * frameset.el (frameset-to-register): Remove unused argument.
497 * frameset.el (frameset-to-register):
498 * kmacro.el (kmacro-to-register):
499 * register.el (increment-register):
500 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
501 (calc-append-to-register, calc-prepend-to-register):
502 * play/gametree.el (gametree-layout-to-register)
503 (gametree-apply-register-layout):
504 * textmodes/picture.el (picture-clear-rectangle-to-register)
505 (picture-yank-rectangle-from-register):
506 * vc/emerge.el (emerge-combine-versions-register):
507 Use register-read-with-preview to read registers.
509 2014-02-03 João Távora <joaotavora@gmail.com>
511 * elec-pair.el (electric-pair-backward-delete-char): Don't error
512 when at beginning of (possibly narrowed) buffer.
514 2014-02-02 Daniel Colascione <dancol@dancol.org>
516 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
517 Also try to display local help from just before point.
519 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
521 c-parse-state. Don't "append-lower-brace-pair" in certain
522 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
523 recognised as a comment.
525 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
526 as well as normal comment starter.
527 (c-parse-state-get-strategy): Extra return possibility
529 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
530 return value list to indicate replacement of a brace-pair cons
532 (c-parse-state-1): With 'back-and-forward, only call
533 c-append-lower-brace-pair-to state-cache when cons-separated.
535 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
537 * term/ns-win.el (ns-suspend-error): New function.
538 (ns-initialize-window-system): Add ns-suspend-error to
539 suspend-hook (Bug#16612).
541 2014-02-02 Daniel Colascione <dancol@dancol.org>
543 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
545 2014-02-02 Daniel Colascione <dancol@dancol.org>
547 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
549 2014-02-02 Glenn Morris <rgm@gnu.org>
551 * register.el (register-read-with-preview, point-to-register)
552 (window-configuration-to-register, frame-configuration-to-register)
553 (jump-to-register, number-to-register, view-register, insert-register)
554 (copy-to-register, append-to-register, prepend-to-register)
555 (copy-rectangle-to-register): Doc fixes.
557 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
559 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
560 * emacs-lisp/find-func.el (find-function-C-source): Idem.
561 * emacs-lisp/nadvice.el (advice--cd*r): New function.
562 * help-fns.el (describe-function-1): Use it.
564 2014-02-02 Glenn Morris <rgm@gnu.org>
566 * register.el (register-preview-default): New function,
567 split from register-preview.
568 (register-preview-function): Rename from register-preview-functions,
570 (register-preview): Use register-preview-function.
571 (register-read-with-preview): Error on non-character event. (Bug#16595)
573 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
575 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
576 `:' before binary operators (bug#16609). Don't check for `:'
577 before `[' and `(', or their syntax status. A percent literal
578 can't end with either.
579 (ruby-font-lock-keywords): For built-ins that require arguments,
580 check that they're followed by something that looks like argument
583 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
585 * subr.el (butlast): Document what an omitted N means (bug#13437).
588 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
590 * net/shr.el (shr-generic): Make into a defsubst to make the stack
591 depth shallower (bug#16587).
592 (shr-tag-svg): Respect `shr-inhibit-images'.
593 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
595 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
597 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
598 (ruby-smie-grammar): Make "." right-associative. Make its priority
599 lower than the ternary and all binary operators.
600 (ruby-smie-rules): Indent "(" relative to the first non-"."
601 parent, or the first "." parent at indentation.
602 Use `ruby-align-chained-calls' for indentation of "." tokens.
605 2014-01-31 Juri Linkov <juri@jurta.org>
607 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
608 from `make-hash-table'.
610 * textmodes/ispell.el (ispell-init-process): Change message format
611 to be consistent with other messages.
613 2014-01-31 Glenn Morris <rgm@gnu.org>
615 * delsel.el (delete-selection-mode): Doc fix.
617 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
618 (trace-function-background): Doc fixes.
620 * ido.el (ido-use-virtual-buffers): Doc fix.
621 Reset :version, since the default value has not changed.
623 * register.el (register-preview-delay, register-read-with-preview):
626 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
627 do not mess with mail-buffer position (fixes 2009-11-03 change).
628 * progmodes/cc-mode.el (c-submit-bug-report):
629 Check auto-fill-mode is bound. (Bug#16592)
631 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
633 * startup.el (fancy-splash-image-file): New function,
634 split from fancy-splash-head.
635 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
636 so that we are both using the same image. (Bug#16574)
638 2014-01-30 Glenn Morris <rgm@gnu.org>
640 * simple.el (eval-expression): Doc fix.
642 * hexl.el (hexl-mode-hook):
643 * ielm.el (ielm-mode-hook):
644 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
645 (lisp-interaction-mode-hook):
646 * progmodes/cfengine.e (cfengine3-documentation-function):
647 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
649 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
651 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
652 is a symbol (bug#16584).
654 2014-01-30 Glenn Morris <rgm@gnu.org>
656 * help.el (help-for-help-internal): Add "P" to text.
658 2014-01-29 Glenn Morris <rgm@gnu.org>
660 * simple.el (just-one-space, cycle-spacing): Doc fixes.
662 2014-01-28 Martin Rudalics <rudalics@gmx.at>
664 * window.el (fit-frame-to-buffer): Fix calculations for margins and
667 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
669 * progmodes/hideif.el: Extend to full CPP expression syntax.
670 (hif-token-alist): Add missing tokens.
671 (hif-token-regexp): Add support for float/octal/hex immediates.
672 (hif-string-literal-regexp): New const.
673 (hif-tokenize): Recognize strings and float/octal/hex immediates.
674 (hif-exprlist): New function.
675 (hif-parse-if-exp): Use it.
676 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
677 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
678 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
679 (hif-logxor, hif-comma): New functions.
681 2014-01-28 Glenn Morris <rgm@gnu.org>
683 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
685 * indent.el (tab-stop-list): Doc fix. Add :version.
687 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
688 (cvs-append-to-ignore): Add compatibility alias.
690 2014-01-27 Glenn Morris <rgm@gnu.org>
692 * dired.el (dired-hide-details-mode): Don't autoload it,
693 since it cannot be used outside Dired buffers anyway.
695 * emulation/cua-base.el (cua-mode): Doc fix.
697 * dired.el (dired-hide-details-hide-symlink-targets)
698 (dired-hide-details-hide-information-lines)
699 (dired-hide-details-mode): Doc fixes.
701 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
702 * strokes.el (strokes-file): Doc fix. Bump :version.
703 (strokes-help): Doc fix.
704 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
705 * emulation/viper.el (viper): Doc fix for custom group.
706 (top-level): Remove oh-so-no-longer-relevant text about vip.
707 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
709 * ido.el (ido-save-directory-list-file):
710 * saveplace.el (save-place-file):
711 * calendar/timeclock.el (timeclock-file):
712 * net/quickurl.el (quickurl-url-file):
713 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
714 * progmodes/idlwave.el (idlwave-config-directory):
715 * textmodes/remember.el (remember-data-file):
718 2014-01-26 Glenn Morris <rgm@gnu.org>
720 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
721 Doc fix. Make obsolete.
722 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
724 * sort.el (delete-duplicate-lines): Doc fix.
726 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
728 * progmodes/ada-mode.el (ada):
729 * woman.el (woman): Link to info manual and Commentary section.
731 * progmodes/flymake.el (flymake):
732 * nxml/nxml-mode.el (nxml):
734 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
735 * htmlfontify.el (htmlfontify):
738 * ido.el (ido): Link to info manual.
740 2014-01-25 Leo Liu <sdl.web@gmail.com>
742 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
744 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
746 * net/shr.el (shr-tag-img): Prefer the title over the alt text
749 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
751 * net/eww.el (eww-download-callback):
752 Fix reference to eww-download-directory.
754 * emacs-lisp/bytecomp.el (byte-compile-file):
755 Remove unused local variable `file-name'.
757 2014-01-24 Glenn Morris <rgm@gnu.org>
759 * woman.el (woman-default-faces, woman-monochrome-faces):
760 Fix obsolescence specification.
762 * subr.el (with-demoted-errors): Doc fix.
764 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
766 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
767 (cl--macroexp-fboundp): New function.
768 (cl--make-type-test): Use it.
770 2014-01-23 Glenn Morris <rgm@gnu.org>
772 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
773 * simple.el (eval-expression): Doc fixes.
775 2014-01-22 Glenn Morris <rgm@gnu.org>
777 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
779 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
781 * emacs-lisp/package.el: Write files silently.
782 (package-autoload-ensure-default-file, package--write-file-no-coding)
783 (package-generate-description-file, package--download-one-archive)
784 (package-install-from-archive): Tell `write-region' to stay quiet.
785 (package-menu-mode, package-menu--print-info): Omit the Archive column
786 if there's only one archive.
787 (package-all-keywords, package--has-keyword-p): Remove dead code.
789 2014-01-22 Glenn Morris <rgm@gnu.org>
791 * version.el (emacs-bzr-version-bzr): Fix typo.
793 * version.el (emacs-repository-get-version):
794 Check either .bzr or .git, but not both.
795 Make the git case actually use the DIR argument, and return nil
796 rather than the empty string.
797 Avoid error if .git exists but the git executable is not found.
799 2014-01-22 Martin Rudalics <rudalics@gmx.at>
801 Fixes in window size functions around Bug#16430 and Bug#16470.
802 * window.el (window-total-size, window-size): New argument ROUND.
803 (window--min-delta-1, window-min-delta, window--max-delta-1):
804 Be more conservative when calculating the numbers of lines or
805 columns a window can shrink (Bug#16430).
806 (fit-window-to-buffer): Simplify code.
807 * term.el (term-window-width): Call window-body-width again.
809 2014-01-22 Glenn Morris <rgm@gnu.org>
811 * image.el (image-format-suffixes): Doc fix.
813 * international/quail.el (quail-define-package): Doc fix.
815 * emacs-lisp/authors.el (authors-valid-file-names):
816 (authors-renamed-files-alist): Additions.
818 * vc/vc-git.el (vc-git-print-log): Remove --follow;
819 reverts 2014-01-09 change. (Bug#16422)
821 * calc/calc-embed.el (thing-at-point-looking-at):
822 * emacs-lisp/map-ynp.el (x-popup-dialog):
823 * obsolete/lmenu.el (x-popup-dialog):
824 * emacs-lisp/package.el (url-recreate-url):
825 * mail/mailclient.el (clipboard-kill-ring-save):
826 * subr.el (x-popup-dialog): Update declaration.
827 * mail/rmail.el (rmail-mime-message-p):
828 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
830 2014-01-21 Daniel Colascione <dancol@dancol.org>
832 * progmodes/sh-script.el (sh--inside-noncommand-expression):
833 Correctly detect when we're inside an arithmetic expansion form
834 containing nested parenthesis.
835 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
836 to detect cases where we shouldn't expand "<<" to a heredoc
839 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
841 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
842 (eldoc--message-command-p): New function.
843 (eldoc-display-message-p): Use it.
844 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
845 message is not automatically erased for us.
846 (eldoc-print-current-symbol-info): Erase previous message, if any.
848 2014-01-21 Tassilo Horn <tsdh@gnu.org>
850 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
851 specify it's an interactive function.
853 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
854 Fix regex used for scanning for citation keys which failed for
855 citations with optional arguments.
857 2014-01-21 Leo Liu <sdl.web@gmail.com>
859 * simple.el (read--expression): Don't enable eldoc-mode.
861 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
863 * simple.el (move-beginning-of-line): Make sure we don't move forward
866 2014-01-20 Juri Linkov <juri@jurta.org>
868 * saveplace.el (toggle-save-place, save-place-to-alist)
869 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
870 'dired-mode) before checking for dired-directory. (Bug#16477)
872 2014-01-20 Juri Linkov <juri@jurta.org>
874 * indent.el (indent-line-to): Use backward-to-indentation
875 instead of back-to-indentation. (Bug#16461)
877 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
879 Revert some of the CANNOT_DUMP fix (Bug#16494).
880 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
881 but fixing this can wait until after the next release.
882 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
884 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
886 * eshell/esh-mode.el (eshell-password-prompt-regexp):
887 Use `password-word-equivalents'.
888 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
889 to t. (Bug#5664, Bug#13124)
891 2014-01-19 Alan Mackenzie <acm@muc.de>
893 Bind open-paren-in-column-0-is-defun-start to nil at some entry
895 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
896 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
897 * progmodes/cc-mode.el (c-before-change, c-after-change)
898 (c-font-lock-fontify-region): Bind it here.
900 2014-01-19 Martin Rudalics <rudalics@gmx.at>
902 * term.el (term-window-width): Call window-text-width instead of
903 window-width (Bug#16470).
905 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
907 * simple.el (password-word-equivalents): Remove duplicates.
908 Sort, to make this easier next time.
909 Downcase. Omit ": " after "jelszó".
911 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
913 * term/common-win.el (saved-region-selection): Defvar it.
914 (x-select-text): Set saved-region-selection (Bug#16382).
916 2014-01-18 Glenn Morris <rgm@gnu.org>
918 * emacs-lisp/authors.el (authors-aliases)
919 (authors-renamed-files-alist): Add some entries.
921 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
923 * net/tramp.el (tramp-password-prompt-regexp):
924 Use `password-word-equivalents' if available.
925 (tramp-action-password, tramp-process-one-action)
926 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
928 2014-01-17 Chong Yidong <cyd@gnu.org>
930 * simple.el (password-word-equivalents): New defcustom.
931 * comint.el (comint-password-prompt-regexp): Use it. Bump version
933 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
936 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
938 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
939 (ruby-align-to-stmt-keywords): Change the default value.
940 Use `ruby-alignable-keywords' to generate the possible customization
942 (ruby-smie-rules): Instead of using a hardcoded list of alignable
943 keywords, check against the value of `ruby-alignable-keywords'
944 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
946 2014-01-17 Glenn Morris <rgm@gnu.org>
948 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
950 Make M-x authors return zero *Authors Errors* from current logs.
951 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
952 (authors-ignored-files): Add some entries, remove others.
953 (authors-ambiguous-files, authors-valid-file-names):
955 (authors-renamed-files-alist): Add, remove, and adjust entries.
956 (authors-renamed-files-regexps): Add some entries.
957 Remove some very broad ones. Make some entries `lax'.
958 (authors-lax-changelogs): New constant.
959 (authors-disambiguate-file-name): Treat top-level specially.
960 (authors-lax-changelog-p): New function.
961 (authors-canonical-file-name): Check file as written against
962 authors-valid-file-names. Do not special-case etc/.
963 Handle `lax' logs and authors-renamed-files-regexps elements.
965 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
967 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
968 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
971 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
973 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
974 Assume we're already in the proper buffer.
975 Inspired by Anders Lindgren <andlind@gmail.com>.
976 (follow-post-command-hook): Call it from the right buffer.
977 (follow-comint-scroll-to-bottom): Adjust call.
978 (follow-all-followers): Use get-buffer-window-list.
980 2014-01-15 Daniel Colascione <dancol@dancol.org>
982 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
983 `buffer-file-name' in interactive-form so that we don't leave
984 pathless file names in `file-name-history'.
986 2014-01-15 Juri Linkov <juri@jurta.org>
988 * indent.el (indent-rigidly): Set deactivate-mark to nil
989 in transient indentation mode. (Bug#16438)
991 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
993 * emacs-lisp/package.el (package-desc-keywords): New function
995 (describe-package-1, package-all-keywords)
996 (package--has-keyword-p): Use it.
998 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1000 * simple.el (define-alternatives): When creating the
1001 COMMAND-alternatives variable, assign COMMAND as its definition
1002 name so that `describe-variable' can relocate it.
1004 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1006 * font-lock.el (font-lock-keywords): Fix typo in docstring
1009 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1011 * ispell.el (ispell-region): Reset `in-comment' for new line
1012 instead of wrongly reset `add-coment' (bug#13577).
1014 2014-01-14 Daiki Ueno <ueno@gnu.org>
1016 * epa-file.el (epa-file-write-region): Encode the region according
1017 to `buffer-file-format'. Problem reported at:
1018 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1020 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1022 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1023 so it applies in the right buffer (bug#16410).
1025 2014-01-13 Daniel Colascione <dancol@dancol.org>
1027 * textmodes/rst.el (rst-define-key): Provide deprecated
1028 keybindings through named functions instead of anonymous ones so
1029 that "??" doesn't appear in describe-mode output.
1031 2014-01-13 Bastien Guerry <bzg@gnu.org>
1033 * simple.el (define-alternatives): Call the selected command
1034 interactively. When setting `COMMAND--implementation' for the
1035 first time, tell the user how to chose another implementation.
1036 Enhance the docstring.
1038 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1040 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1041 (log-edit--match-first-line): New function.
1042 (log-edit-font-lock-keywords): Use it.
1043 (log-edit-mode): Make jit-lock-defer-multiline work.
1045 2014-01-13 Bastien Guerry <bzg@gnu.org>
1047 * rect.el (rectangle-mark-mode): When the region is not active,
1048 display a message saying that the mark as been set and that
1049 rectangle mode is in use.
1050 (rectangle--highlight-for-redisplay): Only put an overlay with a
1051 visible vertical bar when (display-graphic-p) is non-nil.
1052 This partially fixes Bug#16403.
1054 2014-01-13 Juri Linkov <juri@jurta.org>
1056 * info.el (Info-find-file): Go to DIR before displaying the error
1057 about a nonexistent file if no previous Info file is visited.
1058 Use `user-error' instead of `error' for "Info file %s does not exist".
1059 (Info-find-node-2): In case of a nonexistent node in unwind forms
1060 go to the Top node if there is no previous node to revert to.
1063 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1065 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1066 * window.el (fit-frame-to-buffer): Fix doc-string.
1067 Respect window-min-height/-width. Fit pixelwise when
1068 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1069 when avoiding that frame goes partially off-screen.
1070 (fit-window-to-buffer): Respect window-min-height/-width
1073 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1075 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1076 after an empty line.
1078 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1080 * net/shr.el (shr-render-region): Autoload.
1082 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1084 * net/eww.el (eww-download-directory): Rename from
1085 `eww-download-path' (Bug#16419).
1087 2014-01-12 Leo Liu <sdl.web@gmail.com>
1089 * dired-x.el (dired-mode-map): Fix last change.
1091 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1093 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1096 * emacs-lisp/generic.el (generic--normalize-comments):
1097 Rename from generic--normalise-comments. All uses changed.
1098 * play/bubbles.el (bubbles--neighborhood-score):
1099 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1100 (bubbles--neighborhood-available)
1101 (bubbles--update-neighborhood-score):
1102 Rename from names with 'neighbourhood'. All uses changed.
1104 2014-01-12 Leo Liu <sdl.web@gmail.com>
1106 Re-implement the feature of showing eldoc info after editing.
1107 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1108 (eldoc-edit-message-commands): New function.
1109 (eldoc-print-after-edit): New variable.
1110 (eldoc-pre-command-refresh-echo-area): Emit message only by
1111 eldoc-message-commands.
1112 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1113 if eldoc-print-after-edit is set. (Bug#16346)
1114 * simple.el (read--expression): Enable eldoc-mode.
1115 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1117 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1118 Eric S. Raymond <esr@thyrsus.com>
1120 * version.el (emacs-repository-get-version): Enhance so the
1121 function works correctly in either a Bazaar or Git repo.
1123 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1125 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1126 Goes with removal of the joke manpages from /etc.
1128 2014-01-10 Kenichi Handa <handa@gnu.org>
1130 * mail/rmail.el (rmail-get-coding-system):
1131 Check rmail-get-coding-function before "funcall"ing it.
1133 2014-01-10 Glenn Morris <rgm@gnu.org>
1135 * emacs-lisp/authors.el (authors-fixed-entries):
1136 Update for files that no longer exist.
1138 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1140 * version.el (emacs-bzr-get-version): Restore compatibilty with
1143 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1145 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1148 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1150 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1152 2014-01-10 Chong Yidong <cyd@gnu.org>
1154 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1156 2014-01-10 Anders Lindgren <andlind@gmail.com>
1158 * follow.el (follow-cache-command-list): Include right-char and
1161 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1164 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1165 * woman.el (woman-mark-horizontal-position):
1166 Rename from woman-mark-horizonal-position. Use changed.
1168 2014-01-10 Glenn Morris <rgm@gnu.org>
1170 * info.el (info-initialize): If running uninstalled, ensure our
1171 own info files are always found first, even if INFOPATH is set.
1173 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1175 2014-01-09 David Engster <deng@randomsample.de>
1177 * emacs-lisp/eieio-custom.el:
1178 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1179 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1180 * emacs-lisp/eieio.el: Regenerate autoloads.
1182 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1184 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1185 following renames. (Bug#8756)
1187 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1189 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1191 (activate-mark): Add `no-tmm' argument.
1192 (set-mark, push-mark-command): Use it instead of running
1193 activate-mark-hook by hand.
1195 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1197 In preparation for the move to git, sanitize out some
1198 Bazaar-specific names.
1200 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1202 * version.el (emacs-bzr-version): Name changed to
1203 emacs-repository-version. Obsolete-variable alias made.
1204 * loadup.el: Follow through on this name change.
1205 * mail/emacsbug.el (report-emacs-bug): Factor out any
1206 assumption about the version control system in use.
1208 2014-01-08 David Engster <deng@randomsample.de>
1210 * help-fns.el (help-fns-describe-function-functions):
1211 New variable to call functions for augmenting help buffers.
1212 (describe-function-1): Remove explicit calls to
1213 `help-fns--compiler-macro', `help-fns--parent-mode' and
1214 `help-fns--obsolete'. Put them in above new variable instead, and
1215 call them through `run-hook-with-args'.
1216 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1217 `eieio-describe-class'. Not meant for interactive use anymore,
1218 but to augment existing help buffers. Remove optional second
1219 argument. Create proper button for file location.
1220 Rewrite function to use `insert' instead of `princ' and `prin1' where
1222 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1223 (eieio-method-def, eieio-class-def): Move further up.
1224 (describe-method, describe-generic, eieio-describe-method):
1226 (eieio-help-constructor, eieio-help-generic): Rename from
1227 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1228 Rewrite to use `insert' in the current buffer and use proper help
1230 (eieio-help-find-method-definition)
1231 (eieio-help-find-class-definition): Also accept symbols as
1233 (eieio-help-mode-augmentation-maybee): Remove.
1234 (eieio-describe-class-sb): Use `describe-function'.
1235 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1236 Add `eieio-help-generic' and `eieio-help-constructor'.
1238 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1241 * language/china-util.el (hz-ascii-designation):
1242 Rename from hz-ascii-designnation.
1243 (hz-ascii-designation): Rename from hz-ascii-designnation.
1246 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1248 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1251 2014-01-08 Bastien Guerry <bzg@gnu.org>
1253 * emacs-lisp/package.el (package-delete):
1254 Correctly delete the package from package-alist.
1256 2014-01-08 Daiki Ueno <ueno@gnu.org>
1258 * emacs-lisp/package.el (url-recreate-url): Declare.
1259 (url-http-target-url): Declare.
1260 (package-handle-response): Include requested URL in the error message.
1261 (package--check-signature): Don't re-signal errors from
1262 package--with-work-buffer. Suggested by Stefan Monnier.
1264 2014-01-07 Bastien Guerry <bzg@gnu.org>
1266 * minibuffer.el (completion--try-word-completion): When both a
1267 hyphen and a space are possible candidates for the character
1268 following a word, display both candidates. (Bug#15980)
1270 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1272 * window.el (balance-windows-2): While rounding don't give a
1273 window more than the remainder. Bug#16351, bug#16383.
1275 2014-01-07 Glenn Morris <rgm@gnu.org>
1277 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1278 (menu-bar-help-menu): Use view-external-packages instead.
1280 2014-01-07 Bastien Guerry <bzg@gnu.org>
1282 * emacs-lisp/package.el (package-delete): Also delete the package
1283 name from `package-alist', not its description only.
1285 2014-01-07 Glenn Morris <rgm@gnu.org>
1287 * help.el (view-external-packages):
1288 * menu-bar.el (menu-bar-help-extra-packages):
1289 Visit efaq.info rather than etc/MORE.STUFF.
1291 2014-01-07 Juri Linkov <juri@jurta.org>
1293 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1294 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1296 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1297 that shadows RET. (Bug#16342)
1299 2014-01-07 Chong Yidong <cyd@gnu.org>
1301 * isearch.el (isearch-yank-char, isearch-yank-word)
1302 (isearch-yank-line): Doc fix.
1304 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1306 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1307 * emacs-lisp/elint.el (elint-find-builtins):
1308 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1309 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1310 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1311 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1312 * apropos.el (apropos-safe-documentation):
1313 * subr.el (symbol-file): Remove redundant fboundp.
1314 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1316 2014-01-06 Bastien Guerry <bzg@gnu.org>
1318 * hl-line.el (global-hl-line-overlay): Make a local variable.
1319 (global-hl-line-overlays): New variable to store all overlays.
1320 (global-hl-line-mode): Don't delete overlays from the current
1321 buffer when `global-hl-line-sticky-flag' is non-nil.
1322 (global-hl-line-highlight): Add new overlays to
1323 `global-hl-line-overlays'.
1324 (global-hl-line-unhighlight-all): New function to delete all
1325 overlays when turning off `global-hl-line-mode'.
1326 This fixes Bug#16183.
1328 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1330 * subr.el (set-transient-map): Fix nested case and docstring.
1332 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1334 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1337 2014-01-06 Daniel Colascione <dancol@dancol.org>
1339 Fix defun navigation in vc log view.
1341 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1342 like `beginning-of-defun'.
1343 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1344 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1345 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1346 (log-view-extract-comment): Call `log-view-current-entry' directly
1347 instead of relying on broken `log-view-beginning-of-defun' behavior.
1349 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1352 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1353 * emacs-lisp/debug.el (cancel-debug-on-entry):
1354 * epg.el (epg-error-to-string):
1355 * files.el (recover-file):
1356 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1357 * mail/emacsbug.el (report-emacs-bug-hook):
1358 * mail/sendmail.el (mail-recover):
1359 * ses.el (ses-yank-resize):
1360 * term/ns-win.el (ns-print-buffer):
1361 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1362 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1364 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1366 2014-01-06 Leo Liu <sdl.web@gmail.com>
1368 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1369 to avoid shadowing global key. (Bug#16354)
1371 2014-01-06 Daniel Colascione <dancol@dancol.org>
1373 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1376 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1378 * window.el (balance-windows): Add mising t to fix Bug#16351.
1380 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1382 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1384 (shr-insert): If we have a word that's longer than `shr-width',
1385 break after it anyway. Otherwise we'll do no breaking once we get
1388 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1390 * net/eww.el (eww): Support single/double quote for search.
1391 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1392 (eww-history-quit): Delete and use quit-window.
1393 (eww-history-kill): Delete, because it doesn't work well and
1395 (eww-history-mode-map): Delete some keys and add easy-menu.
1397 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1399 Fix misspelling of 'chinese' in rx (Bug#16237).
1400 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1403 Change subword regexps back to vars (Bug#16296).
1404 * progmodes/subword.el (subword-forward-regexp)
1405 (subword-backward-regexp): Change these back to variables.
1407 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1409 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1410 syntax-begin-function (bug#16247).
1412 2014-01-03 Chong Yidong <cyd@gnu.org>
1414 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1415 (advice--docstring): Delete variable.
1416 (advice--make-1): Leave the docstring empty.
1417 (advice-add): Use function-documentation for advised docstring.
1419 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1420 Ignore function-documentation property when getting documentation.
1421 (ad-activate-advised-definition): Use function-documentation
1422 generate the docstring.
1423 (ad-make-advised-definition): Don't call
1424 ad-make-advised-definition-docstring.
1425 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1428 * progmodes/sql.el (sql-help): Use function-documentation instead
1429 of dynamic-docstring-function property. No need to autoload now.
1430 (sql--help-docstring): New variable.
1431 (sql--make-help-docstring): Use it.
1433 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1435 * ielm.el (ielm-tab): Retarget.
1436 (ielm-map): Use ielm-tab for tab.
1437 (ielm-complete-filename): Use comint-filename-completion.
1438 (ielm-complete-symbol): Remove.
1439 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1440 remove ielm-tab from completion-at-point-functions (bug#16224).
1442 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1443 Beware signals raised by predicates (bug#16201).
1445 2014-01-02 Richard Stallman <rms@gnu.org>
1447 * dired-aux.el (dired-do-print): Handle printer-name.
1449 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1450 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1451 (rmail-epa-decrypt): Turn off mime processing.
1453 * mail/rmail.el (rmail-make-in-reply-to-field):
1454 Add parens in message-id.
1456 * mail/rmail.el (rmail-get-coding-function): Variable.
1457 (rmail-get-coding-system): Use it.
1459 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1461 * international/mule-conf.el: Unify the charset indian-is13194.
1462 (indian-is13194): Specify unify-map.
1464 2013-12-31 Leo Liu <sdl.web@gmail.com>
1466 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1468 2013-12-30 Daniel Colascione <dancol@dancol.org>
1470 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1471 of printing a useless when we resume from sleep.
1473 * progmodes/sh-script.el
1474 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1475 in indentation code. (Bug#16233)
1477 2013-12-28 João Távora <joaotavora@gmail.com>
1479 * elec-pair.el (electric-pair-post-self-insert-function):
1480 Don't open extra newlines at beginning of buffer. (Bug#16272)
1482 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1484 * frame.el (window-system-for-display): Don't allow to create a
1485 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1487 2013-12-28 Glenn Morris <rgm@gnu.org>
1489 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1492 * apropos.el (apropos-match-face):
1493 * calculator.el (calculator-displayer):
1494 * dabbrev.el (dabbrev-search-these-buffers-only):
1495 * face-remap.el (buffer-face-mode-face):
1496 * simple.el (yank-handled-properties):
1497 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1498 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1499 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1500 (hashcash-double-spend-database):
1501 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1502 (ruby-deep-indent-paren-style):
1503 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1504 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1505 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1506 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1507 Specify custom types.
1509 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1510 * bookmark.el (bookmark-bmenu-use-header-line):
1511 * doc-view.el (doc-view-scale-internally):
1512 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1513 * register.el (register-preview-delay):
1514 * net/shr.el (shr-bullet):
1515 * progmodes/cfengine.el (cfengine-cf-promises)
1516 (cfengine-parameters-indent):
1517 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1518 * textmodes/reftex-vars.el (reftex-label-regexps):
1519 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1521 * net/tls.el (tls-certtool-program): Fix default value.
1523 * desktop.el (desktop-restore-in-current-display):
1524 * newcomment.el (comment-empty-lines):
1525 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1526 (idlwave-pad-keyword):
1527 * progmodes/tcl.el (tcl-tab-always-indent):
1528 * textmodes/reftex-vars.el (reftex-index-default-tag):
1529 * elec-pair.el (electric-pair-skip-whitespace):
1530 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1532 * emacs-lisp/authors.el (authors-ignored-files)
1533 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1535 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1537 * shell.el (shell-dynamic-complete-command): Doc fix.
1538 (shell--command-completion-data): Shell completion now matches
1539 executable filenames from the current buffer's directory, on
1540 systems in which this behavior is the default (windows-nt, ms-dos).
1542 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1544 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1546 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1548 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1551 * electric.el: Move all electric-pair-* to elec-pair.el.
1552 * elec-pair.el: New file, split from electric.el.
1554 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1556 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1557 indentation level is larger than the width, because that will
1559 (shr-insert): Fill repeatedly long texts, so that Japanese is
1560 formatted correctly (bug#16263).
1561 (shr-find-fill-point): Off by one error in comparison with the
1564 2013-12-26 João Távora <joaotavora@gmail.com>
1566 * electric.el (electric-pair-mode): More flexible engine for skip-
1567 and inhibit predicates, new options for pairing-related functionality.
1568 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1569 if that keeps or improves their balance in buffers.
1570 (electric-pair-delete-adjacent-pairs): Delete the pair when
1571 backspacing over adjacent matched delimiters.
1572 (electric-pair-open-extra-newline): Open extra newline when
1573 inserting newlines between adjacent matched delimiters.
1574 (electric--sort-post-self-insertion-hook):
1575 Sort post-self-insert-hook according to priority values when
1576 minor-modes are activated.
1577 * simple.el (newline-and-indent): Call newline with interactive
1579 (blink-paren-post-self-insert-function): Set priority to 100.
1580 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1581 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1582 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1583 electric-pair-open-newline-between-pairs to nil.
1585 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1587 * progmodes/python.el: Use lexical-binding.
1588 (python-nav-beginning-of-defun): Stop searching ASAP.
1590 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1592 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1593 Fix interactive spec. Doc fix. (Bug#15754)
1595 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1597 * emacs-lisp/byte-run.el (eval-when-compile):
1598 * progmodes/cc-defs.el (cc-eval-when-compile):
1599 Fix edebug spec (bug#16184).
1601 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1603 * net/shr.el (shr-visit-file): Remove debugging function.
1604 (shr-insert): Don't infloop if we can't find a good place to break
1605 the line (bug#16256).
1607 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1609 * progmodes/python.el:
1610 (python-nav--lisp-forward-sexp): New function.
1611 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1612 python-nav-lisp-forward-sexp-safe.
1613 (python-nav--forward-sexp): New argument SAFE allows switching
1614 forward sexp movement behavior for parens.
1615 (python-nav-forward-sexp): Throw errors on unterminated parens
1617 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1618 (python-nav-backward-sexp-safe): New functions.
1619 (python-shell-buffer-substring):
1620 Use `python-nav-forward-sexp-safe'.
1622 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1624 * net/shr.el (shr-find-fill-point): Don't break lines before a
1626 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1627 (shr-find-fill-point): Remove the special checks for the quotation
1628 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1630 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1632 * net/eww.el (eww-form-textarea): Use a different face for
1633 textareas than text input since they have different keymaps
1636 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1638 * progmodes/python.el (python-nav-beginning-of-statement):
1639 Speed up (Bug#15295).
1641 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1643 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1644 the window configuration.
1646 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1648 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1649 we run on MS-Windows or MS-DOS.
1651 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1653 * window.el (balance-windows-area): Call window-size instead of
1654 window-height and window-width. Bug#16241.
1656 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1658 * net/eww.el (eww-bookmark-quit): Remove.
1659 (eww-bookmark-browse): Restore the window configuration when you
1660 choose a bookmark (bug#16144).
1662 2013-12-24 Daniel Colascione <dancol@dancol.org>
1664 * icomplete.el: Remove redundant :group arguments to `defcustom'
1666 (icomplete-show-matches-on-no-input): New customizable variable.
1667 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1668 we have something to show.
1669 (icomplete-exhibit): Compute completions even if we have no user input.
1671 2013-12-23 Daniel Colascione <dancol@dancol.org>
1673 * icomplete.el: Move `provide' to end of file.
1675 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1677 * net/gnutls.el (gnutls-verify-error): Add version tag.
1679 2013-12-23 Chong Yidong <cyd@gnu.org>
1681 * subr.el (set-transient-map): Rename from
1682 set-temporary-overlay-map. Doc fix.
1684 * face-remap.el (text-scale-adjust):
1685 * indent.el (indent-rigidly):
1686 * kmacro.el (kmacro-call-macro):
1687 * minibuffer.el (minibuffer-force-complete):
1688 * repeat.el (repeat):
1689 * simple.el (universal-argument--mode):
1690 * calendar/todo-mode.el (todo-insert-item--next-param):
1691 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1693 * indent.el (indent-rigidly): Use substitute-command-keys.
1695 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1697 * net/eww.el (eww-tag-select): Add text-property to jump to next
1699 (eww): Add non-supported ftp error.
1701 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1703 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1704 comments. Handle electric indent after typing `?' and `!'.
1706 2013-12-22 Chong Yidong <cyd@gnu.org>
1708 * faces.el (face-spec-recalc): If the theme specs are not
1709 applicable to a frame, fall back on the defface spec.
1710 This prevents themes from obliterating faces on low-color terminals.
1712 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1714 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1715 after `{'. We need it after block openers, and it doesn't seem
1716 to hurt after hash openers.
1718 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1720 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1721 extracted from `ruby-smie-rules'.
1722 (ruby--electric-indent-chars): New variable.
1723 (ruby--electric-indent-p): New function.
1724 (ruby-mode): Use `electric-indent-functions' instead of
1725 `electric-indent-chars'.
1727 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1729 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1731 (ruby-smie-rules): Indent plus one level after `=>'.
1733 2013-12-21 Richard Stallman <rms@gnu.org>
1735 * simple.el (newline): Doc fix.
1737 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1739 * net/eww.el (eww-list-histories, eww-list-histories)
1740 (eww-history-browse, eww-history-quit, eww-history-kill)
1741 (eww-history-mode-map, eww-history-mode): New command and
1742 functions to list browser histories.
1743 (eww-form-text): Support text form with disabled
1744 and readonly attributes.
1745 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1747 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1749 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1750 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1751 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1752 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1754 (eww-bookmark-mode-map): Add menu.
1755 (eww-render, eww-mode): Use `setq-local'.
1756 (eww-tool-bar-map): New variable.
1757 (eww-mode): Set `tool-bar-map'.
1758 (eww-view-source): Check for `html-mode' with `fboundp'.
1760 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1762 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1763 elements with text inside. Also remove debugging.
1765 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1767 * cus-start.el (all): Add ns-use-srgb-colorspace.
1769 2013-12-21 Chong Yidong <cyd@gnu.org>
1771 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1772 undefined. Thus, theme settings for undefined faces do not take
1773 effect until the faces are defined with defface, the same as with
1776 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1777 (face-spec-reset-face): Don't assign extra properties in temacs.
1778 (face-spec-recalc): Apply X resources too.
1780 2013-12-21 Chong Yidong <cyd@gnu.org>
1782 * faces.el (face-spec-set):
1783 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1784 * custom.el (defface): Doc fixes (Bug#16203).
1786 * indent.el (indent-rigidly-map): Add docstring, and move commands
1787 into named functions.
1788 (indent-rigidly-left, indent-rigidly-right)
1789 (indent-rigidly-left-to-tab-stop)
1790 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1791 indentation direction based on bidi direction, and accumulate
1792 sequential commands in a single undo boundary.
1793 (indent-rigidly--pop-undo): New utility function.
1795 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1797 * faces.el (read-face-name): Require crm.el when using crm-separator.
1799 2013-12-20 Daniel Colascione <dancol@dancol.org>
1801 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1802 so that we don't reflow comments into the shebang line.
1804 2013-12-20 Juri Linkov <juri@jurta.org>
1806 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1807 a position when `dired-directory' is non-nil. Check integer
1808 positions with `integerp'.
1809 (toggle-save-place, save-places-to-alist): Add check for
1811 (save-place-find-file-hook): Check integer positions with
1813 (save-place-dired-hook): Use `dired-goto-file' when
1814 `dired-filename' is found in the assoc list. Check integer
1815 positions with `integerp'.
1816 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1818 * dired.el (dired-initial-position-hook): Rename back from
1819 `dired-initial-point-hook'.
1820 (dired-initial-position): Rename `dired-initial-point-hook' to
1821 `dired-initial-position-hook'.
1822 (dired-file-name-at-point): Doc fix. (Bug#15329)
1824 2013-12-20 Juri Linkov <juri@jurta.org>
1826 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1827 (read-regexp-suggestions): New function.
1828 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1829 Use `read-regexp-suggestions'. Add non-empty default to history
1831 (occur-read-regexp-defaults-function): Remove function.
1832 (occur-read-primary-args): Use `regexp-history-last' instead of
1833 `occur-read-regexp-defaults-function'.
1835 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1836 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1837 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1838 `hi-lock-read-regexp-defaults-function'. Doc fix.
1839 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1840 with `find-tag-default-as-symbol-regexp'. Doc fix.
1841 (hi-lock-read-regexp-defaults): Remove function.
1842 (hi-lock-regexp-okay): Add check for null.
1844 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1845 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1847 * subr.el (find-tag-default-as-symbol-regexp): New function.
1848 (find-tag-default-as-regexp): Move symbol regexp formatting to
1849 `find-tag-default-as-symbol-regexp'.
1851 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1853 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1856 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1858 * calendar/todo-mode.el: New implementation of item insertion
1859 commands and key bindings.
1860 (todo-key-prompt): New face.
1861 (todo-insert-item): New command.
1862 (todo-insert-item--parameters): New defconst, replacing defvar
1863 todo-insertion-commands-args-genlist.
1864 (todo-insert-item--param-key-alist): New defconst, replacing
1865 defvar todo-insertion-commands-arg-key-list.
1866 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1867 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1868 (todo-insert-item--next-param): New functions.
1869 (todo-insert-item--args, todo-insert-item--argleft)
1870 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1872 (todo-key-bindings-t): Change binding of "i" from
1873 todo-insertion-map to todo-insert-item.
1874 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1875 (todo-insertion-command-name, todo-insertion-commands-names)
1876 (todo-define-insertion-command, todo-insertion-commands)
1877 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1879 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1881 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1882 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1884 (todo-move-category): Allow choosing a non-existing todo file to
1885 move the category to, and create that file.
1886 (todo-default-priority): New user option.
1887 (todo-set-item-priority): Use it.
1888 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1889 (desktop-restore-file-buffer): Declare.
1890 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1891 (todo-modes-set-2): Locally set desktop-save-buffer to
1892 todo-desktop-save-buffer.
1893 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1894 (auto-mode-alist): Add autoload cookie.
1896 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1898 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1899 helpers.el was a poor choice of name.
1900 (string-remove-prefix): New function.
1901 (string-remove-suffix): New function.
1903 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1905 Fix assignment for new window total sizes.
1906 * window.el (window--pixel-to-size): Remove function.
1907 (window--pixel-to-total-1, window--pixel-to-total):
1908 Fix calculation of new total sizes.
1910 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1912 * comint.el (comint-output-filter): Fix rear-nonsticky property
1913 placement (Bug#16010).
1915 2013-12-20 Chong Yidong <cyd@gnu.org>
1917 * faces.el (read-color): Minor fix for completion function.
1919 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1921 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1922 New option. (Bug#16182)
1923 (ruby-smie--indent-to-stmt-p): Use it.
1924 (ruby-smie-rules): Revert the logic in the handling of `when'.
1925 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1926 (ruby-deep-arglist, ruby-deep-indent-paren)
1927 (ruby-deep-indent-paren-style): Update docstrings to note that the
1928 vars don't have any effect with SMIE.
1930 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1932 * calc/calc.el (calc-enter, calc-pop): Use the variable
1933 `calc-context-sensitive-enter'.
1935 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1937 * net/shr.el (shr-insert): Protect against infloops in degenerate
1940 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1942 * progmodes/octave.el (octave): Add link to manual and octave
1944 (octave-mode-menu): Link to octave-mode manual.
1946 2013-12-20 Leo Liu <sdl.web@gmail.com>
1948 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1949 insertion using skeleton-end-newline. (Bug#16138)
1951 2013-12-20 Juri Linkov <juri@jurta.org>
1953 * replace.el (occur-engine): Use `add-face-text-property'
1954 to add the face property to matches and titles. (Bug#14645)
1956 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1957 the palette of other hi-lock colors.
1958 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1960 2013-12-19 Juri Linkov <juri@jurta.org>
1962 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1963 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1964 (minibuffer-history-symbol): Move variable declaration closer to
1967 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1970 2013-12-19 Juri Linkov <juri@jurta.org>
1972 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1974 (log-edit-hook): Add it to :options. (Bug#16170)
1976 2013-12-19 Juri Linkov <juri@jurta.org>
1978 * simple.el (eval-expression-print-format): Don't check for
1979 command names and the last command. Always display additional
1980 formats of the integer result in the echo area, and insert them
1981 to the current buffer only with a zero prefix arg.
1982 Display character when char-displayable-p is non-nil.
1983 (eval-expression): With a zero prefix arg, set `print-length' and
1984 `print-level' to nil, and insert the integer values from
1985 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1987 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1988 `eval-last-sexp-arg-internal'. Doc fix.
1989 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1990 `eval-last-sexp-print-value'. Doc fix.
1991 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1992 Set `print-length' and `print-level' to nil when arg is zero.
1993 (eval-last-sexp): Doc fix.
1994 (eval-defun-2): Print the integer values from
1995 `eval-expression-print-format' at the end.
1997 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1998 values from `eval-expression-print-format' at the end.
2000 * ielm.el (ielm-eval-input): Print the integer
2001 values from `eval-expression-print-format' at the end.
2003 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2005 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2006 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2008 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2010 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2011 (hl-line-highlight, global-hl-line-highlight): Use it.
2012 (hl-line-overlay): Use defvar-local.
2014 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2016 * term/ns-win.el: Require dnd.
2017 (global-map): Remove drag items.
2018 (ns-insert-text, ns-set-foreground-at-mouse)
2019 (ns-set-background-at-mouse):
2020 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2021 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2024 2013-12-19 Glenn Morris <rgm@gnu.org>
2026 * emacs-lisp/ert.el (ert-select-tests):
2027 Fix string/symbol mixup. (Bug#16121)
2029 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2031 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2032 keywords to their parent.
2034 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2036 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2037 first arg to be a string (fixed dead code), or an operator symbol.
2038 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2040 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2041 did nothing. Don't respond to `(:after ".")', it will be called
2042 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2043 change anything. Only return indentation for binary operators
2044 when they are hanging. De-dent opening paren when its parent is
2045 `.', otherwise it looks bad when the dot is not at bol or eol
2048 2013-12-19 Juri Linkov <juri@jurta.org>
2050 * replace.el (query-replace-read-args): Split a non-negative arg
2051 and a negative arg into separate elements.
2052 (query-replace, query-replace-regexp, replace-string)
2053 (replace-regexp): Add arg `backward'. Doc fix.
2054 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2055 move point to the beginning of the match.
2056 (replace-search, replace-highlight): Use new arg `backward'
2057 to set the value of `isearch-forward'.
2058 (perform-replace): Add arg `backward' and use it to perform
2059 replacement backward. (Bug#14979)
2061 * isearch.el (isearch-query-replace): Use a negative prefix arg
2062 to call `perform-replace' with a non-nil arg `backward'.
2064 2013-12-18 Juri Linkov <juri@jurta.org>
2066 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2067 to the default list. Move `log-edit-show-files' to the end.
2068 Add more available functions to options.
2069 (log-edit): Move default specific settings to
2070 `log-edit-insert-message-template'. Don't move point.
2071 (log-edit-insert-message-template): New function.
2072 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2075 2013-12-18 Juri Linkov <juri@jurta.org>
2077 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2078 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2080 2013-12-18 Leo Liu <sdl.web@gmail.com>
2082 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2085 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2087 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2088 formats for displaying file sizes when the -s switch is given.
2089 Instead, compute a separate format for displaying the size in
2090 blocks, which is displayed in addition to the "regular" size.
2091 When -h is given in addition to -s, produce size in blocks in
2092 human-readable form as well. (Bug#16179)
2094 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2096 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2097 Reference tables with ~\ref{...} instead of only \ref{...}.
2099 2013-12-18 Chong Yidong <cyd@gnu.org>
2101 * cus-edit.el (custom-magic-alist): Fix "themed" description
2104 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2105 is non-nil, do not create a new entry in the symbol's theme-value
2106 or theme-face property; update theme-settings only (Bug#14664).
2107 (custom-available-themes): Doc fix.
2109 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2112 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2114 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2116 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2119 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2121 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2123 2013-12-18 Glenn Morris <rgm@gnu.org>
2125 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2126 * cus-start.el (load-prefer-newer): New option.
2128 2013-12-18 Le Wang <l26wang@gmail.com>
2130 * comint.el (comint-previous-matching-input-from-input):
2131 Retain point (Bug#13404).
2133 2013-12-18 Chong Yidong <cyd@gnu.org>
2135 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2137 2013-12-18 Glenn Morris <rgm@gnu.org>
2139 * mail/emacsbug.el (report-emacs-bug):
2140 Only mention enable-multibyte-characters if non-standard.
2142 2013-12-17 Juri Linkov <juri@jurta.org>
2144 * arc-mode.el (archive-extract-by-file): Check if directory exists
2145 before deletion to not show irrelevant errors if it doesn't exist.
2147 2013-12-17 Juri Linkov <juri@jurta.org>
2149 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2152 * net/eww.el (browse-web): Add alias to `eww'.
2153 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2154 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2156 * net/browse-url.el (browse-url-browser-function): Move `eww'
2157 closer to similar functions.
2159 * startup.el (fancy-startup-screen, fancy-about-screen):
2160 Set browse-url-browser-function to eww-browse-url locally.
2163 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2165 * window.el (window--pixel-to-total): Remove unused `mini' var.
2166 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2167 (split-window): Remove unused `new' var.
2168 (window--display-buffer): Remove unused `frame' and `delta' vars.
2169 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2172 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2174 * dired.el (dired-mark-pop-up):
2175 * register.el (register-preview): Don't bind
2176 split-height-threshold here since it's now done in
2177 display-buffer-below-selected.
2179 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2181 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2182 xterm-rgb-convert-to-16bit.
2183 (rxvt-register-default-colors): Standardize with
2184 xterm-register-default-colors (Bug#14078).
2186 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2188 * simple.el (kill-region): Pass mark first, then point, so that
2189 kill-append works right (Bug#12819).
2190 (copy-region-as-kill, kill-ring-save): Likewise.
2192 2013-12-17 Leo Liu <sdl.web@gmail.com>
2194 * net/rcirc.el (rcirc-add-face):
2195 * eshell/em-prompt.el (eshell-emit-prompt):
2196 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2199 2013-12-17 Chong Yidong <cyd@gnu.org>
2201 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2202 Suggested by Xue Fuqiao.
2204 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2206 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2208 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2210 * net/shr.el (shr-insert-document): Remove unused var
2211 `shr-preliminary-table-render'.
2212 (shr-rescale-image): Remove unused arg `force'.
2213 (shr-put-image): Update calls accordingly.
2214 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2216 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2218 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2219 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2220 :close-all, to see which indentation method to use (Bug#16116).
2221 (smie-rules-function): Document the method :close-all.
2223 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2225 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2227 * net/eww.el (eww-display-html): If we can't find the anchor we're
2228 looking for, then go to point-min.
2230 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2232 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2233 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2234 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2235 Expand dir too, in case it's relative.
2237 2013-12-16 Juri Linkov <juri@jurta.org>
2239 * desktop.el (desktop-auto-save-timeout): Change default to
2240 `auto-save-timeout'. Doc fix.
2241 (desktop-save): Skip the timestamp in desktop-saved-frameset
2242 when checking for auto-save changes.
2243 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2244 `desktop-auto-save' is called repeatedly by the idle timer.
2245 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2246 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2249 2013-12-16 Juri Linkov <juri@jurta.org>
2251 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2253 (isearch-pre-command-hook): Check `this-command' for symbolp.
2255 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2257 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2259 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2261 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2262 (cfengine3--current-function): Bring in the current-function
2263 functionality from `cfengine3--current-word'.
2264 (cfengine3-completion-function): Bring in the
2265 bounds-of-current-word functionality from
2266 `cfengine3--current-word'.
2268 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2270 * window.el (display-buffer-below-selected):
2271 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2273 2013-12-16 Leo Liu <sdl.web@gmail.com>
2275 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2276 Remove NOMSG arg and all uses changed.
2278 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2280 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2281 (cua--deactivate-rectangle): Don't deactivate the mark.
2282 (cua-set-rectangle-mark): Don't set mark-active since
2283 cua--activate-rectangle already does it for us.
2284 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2285 non-rectangular region.
2287 * emulation/cua-base.el (cua-repeat-replace-region):
2288 Use with-current-buffer.
2290 * net/gnutls.el: Use cl-lib.
2291 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2293 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2295 * emacs-lisp/package.el (package-built-in-p): Support both
2296 built-in and the package.el converted package descriptions.
2297 (package-show-package-list): Allow keywords.
2298 (package-keyword-button-action): Use it instead of
2299 `finder-list-matches'.
2300 (package-menu-filter-interactive): Interactive filtering (by
2302 (package-menu--generate): Support keywords and change keymappings
2303 and headers when they are given.
2304 (package--has-keyword-p): Helper function.
2305 (package-menu--refresh): Use it.
2306 (package--mapc): Helper function.
2307 (package-all-keywords): Use it.
2308 (package-menu-mode-map): Set up menu items and keybindings to
2309 provide a filtering UI.
2311 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2313 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2314 the behavior when a certificate fails validation. Defaults to
2315 old behavior: never abort, just warn.
2316 (gnutls-negotiate): Use it.
2318 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2320 * window.el (display-buffer-below-selected): Never split window
2321 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2323 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2325 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2326 (package-buffer-info): Use it (bug#15108).
2328 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2330 * icomplete.el (icomplete-completions): Make sure the prefix is already
2331 displayed elsewhere before hiding it (bug#16219).
2333 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2335 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2336 open-paren tokens when preceded by a open-paren, too.
2337 (ruby-smie-rules): Handle virtual indentation after open-paren
2338 tokens specially. If there is code between it and eol, return the
2339 column where is starts (Bug#16118).
2341 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2343 * progmodes/cfengine.el: Fix `add-hook' doc.
2344 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2345 (cfengine3--current-word): Fix parameters.
2346 (cfengine3-make-syntax-cache): Simplify further.
2347 (cfengine3-completion-function, cfengine3--current-function):
2348 Use `assq' for symbols.
2349 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2351 2013-12-13 Glenn Morris <rgm@gnu.org>
2353 * loadup.el (load-path): Warn if site-load or site-init changes it.
2354 No more need to reset it when bootstrapping.
2356 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2358 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2359 locations for cf-promises.
2360 (cfengine-mode-syntax-functions-regex): New caching variable.
2361 (cfengine3-fallback-syntax): Fallback syntax for cases where
2362 cf-promises doesn't run.
2363 (cfengine3--current-word): Reimplement using
2364 `cfengine-mode-syntax-functions-regex'.
2365 (cfengine3-completion-function, cfengine3--current-function):
2366 Use `cfengine3-make-syntax-cache' directly.
2367 (cfengine3-clear-syntax-cache): New function.
2368 (cfengine3-make-syntax-cache): Simplify and create
2369 `cfengine-mode-syntax-functions-regex' on demand.
2370 (cfengine3-format-function-docstring): Don't call
2371 `cfengine3-make-syntax-cache' explicitly.
2373 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2375 Fix windmove-find-other-window broken after pixelwise resizing
2377 * windmove.el (windmove-other-window-loc): Revert change from
2379 (windmove-find-other-window): Call window-in-direction.
2380 * window.el (window-in-direction): New arguments SIGN, WRAP and
2381 MINI to emulate original windmove-find-other-window behavior.
2383 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2385 * simple.el (blink-matching--overlay): New variable.
2386 (blink-matching-open): Instead of moving point, highlight the
2387 matching paren with an overlay
2388 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2390 * faces.el (paren-showing-faces, show-paren-match)
2391 (show-paren-mismatch): Move from paren.el.
2393 2013-12-13 Leo Liu <sdl.web@gmail.com>
2395 * indent.el (indent-region): Disable progress reporter in
2396 minibuffer. (Bug#16108)
2398 * bindings.el (visual-order-cursor-movement): Fix version.
2400 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2402 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2403 Also match after beginning of line.
2404 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2405 files. Thanks to Russell Sim. (Bug#15378)
2407 2013-12-13 Juri Linkov <juri@jurta.org>
2409 * simple.el <Keypad support>: Remove key bindings duplicated
2410 with bindings.el. (Bug#14397)
2412 2013-12-13 Juri Linkov <juri@jurta.org>
2414 * comint.el (comint-mode-map): Replace `delete-char' with
2415 `delete-forward-char'. (Bug#16109)
2417 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2419 * progmodes/python.el (python-indent-calculate-indentation):
2420 Fix de-denters cornercase. (Bug#15731)
2422 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2424 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2425 (advice--make): Pay attention to `depth'.
2426 (advice--make-1): Don't autoload commands eagerly.
2427 * emacs-lisp/elp.el (elp-instrument-function):
2428 * emacs-lisp/trace.el (trace-function-internal):
2429 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2431 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2433 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2435 * term/w32-win.el (w32-handle-dropped-file):
2436 * startup.el (normal-top-level):
2437 * net/browse-url.el (browse-url-file-url):
2438 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2439 decode file names using 'utf-8' rather than
2440 file-name-coding-system.
2442 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2444 * progmodes/python.el (python-indent-context)
2445 (python-indent-calculate-indentation): Fix auto-identation
2446 behavior for comment blocks. (Bug#15916)
2448 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2450 * progmodes/python.el (python-indent-calculate-indentation):
2451 When determining indentation, don't treat "return", "pass", etc., as
2452 operators when they are just string constituents. (Bug#15812)
2454 2013-12-12 Juri Linkov <juri@jurta.org>
2456 * uniquify.el (uniquify-buffer-name-style): Change default to
2457 `post-forward-angle-brackets'.
2459 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2460 `uniquify'. Change default to `post-forward-angle-brackets'.
2462 2013-12-11 Glenn Morris <rgm@gnu.org>
2464 * emacs-lisp/package.el (finder-list-matches):
2465 Autoload rather than falsely declaring.
2467 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2469 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2470 (eww-mode-map): Use them.
2472 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2474 * window.el (display-buffer-in-side-window): Fix doc-string
2477 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2479 * vc/vc-git.el: Silence byte-compiler warnings.
2480 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2481 (log-edit-set-header): Declare.
2483 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2485 * Makefile.in (custom-deps, finder-data): Run output file names
2486 through unmsys--file-name. (Bug#16099)
2488 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2490 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2491 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2493 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2494 instead of deleting the selection "by hand" (bug#16098).
2495 Rely on insert-for-yank to yank rectangles.
2496 (cua-highlight-region-shift-only): Mark obsolete.
2497 (cua-mode): Don't enable/disable transient-mark-mode,
2498 shift-select-mode (cua-mode works both with and without them), and
2499 pc-selection-mode (obsolete).
2500 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2501 (cua--deactivate-rectangle): Deactivate it.
2503 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2504 (delete-selection-helper): Make sure yank starts at the top of the
2506 (minibuffer-keyboard-quit): Use region-active-p.
2508 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2510 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2511 to `delete' (bug#16109).
2513 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2515 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2516 info manual and show keybindings and set `:group' keyword.
2518 2013-12-11 Juri Linkov <juri@jurta.org>
2520 * delsel.el (delete-active-region): Let-bind `this-command'
2521 to prevent `kill-region' from changing its original value.
2522 (delete-selection-helper): Handle `overwrite-mode' for the type
2523 `kill' exactly the same way as for the type `t'.
2524 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2525 Support more commands. (Bug#13312)
2527 2013-12-11 Juri Linkov <juri@jurta.org>
2529 * bindings.el: Map kp keys to non-kp keys systematically
2530 with basic modifiers control, meta and shift. (Bug#14397)
2532 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2534 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2535 "Close browser" menu items. Fix wrong function of "List
2538 2013-12-11 Juri Linkov <juri@jurta.org>
2540 * misearch.el (multi-isearch-buffers): Set the value of
2541 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2542 arg of isearch-forward to t.
2543 (multi-isearch-buffers-regexp): Set the value of
2544 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2545 arg of isearch-forward-regexp to t.
2546 (multi-isearch-files): Set the value of
2547 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2548 arg of isearch-forward to t.
2549 (multi-isearch-files-regexp): Set the value of
2550 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2551 arg of isearch-forward-regexp to t. (Bug#16035)
2553 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2554 arg of isearch-forward to t.
2555 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2556 arg of isearch-forward-regexp to t.
2557 (dired-isearch-filter-filenames): Remove unnecessary check for
2558 `dired-isearch-filenames'.
2560 * comint.el (comint-history-isearch-backward):
2561 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2562 (comint-history-isearch-backward-regexp):
2563 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2565 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2567 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2568 unmsys--file-name. (Bug#16099)
2570 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2572 * emacs-lisp/package.el (package-keyword-button-action):
2573 Remove finder.el require dependency.
2575 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2577 * emacs-lisp/package.el: Require finder.el.
2578 (describe-package-1): Add keyword buttons.
2579 (package-make-button): New convenience function.
2580 (package-keyword-button-action): Keyword button action using
2581 `finder-list-matches'.
2583 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2585 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2588 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2590 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2593 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2595 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2596 after the end of a percent literal.
2598 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2600 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2601 Handle caret-delimited strings (Bug#16079).
2603 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2605 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2606 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2607 `ruby-parse-partial' (Bug#16078).
2609 2013-12-09 Leo Liu <sdl.web@gmail.com>
2611 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2613 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2615 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2616 (js-switch-indent-offset): New option.
2617 (js--proper-indentation): Use it. And handle the case when
2618 "default" is actually a key in an object literal.
2619 (js--same-line): New function.
2620 (js--multi-line-declaration-indentation): Use it.
2621 (js--indent-in-array-comp, js--array-comp-indentation):
2623 (js--proper-indentation): Use them, to handle array comprehension
2626 2013-12-08 Leo Liu <sdl.web@gmail.com>
2628 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2629 (flymake-make-overlay): Remove arg MOUSE-FACE.
2630 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2632 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2634 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2636 (redisplay-highlight-region-function): Use it.
2638 * emulation/cua-base.el (cua--explicit-region-start)
2639 (cua--last-region-shifted): Remove.
2640 (cua--deactivate): Use deactivate-mark.
2641 (cua--pre-command-handler-1): Don't handle shift-selection.
2642 (cua--post-command-handler-1): Don't change transient-mark-mode.
2643 (cua--select-keymaps): Use region-active-p rather than
2644 cua--explicit-region-start or cua--last-region-shifted.
2645 (cua-mode): Enable shift-select-mode.
2647 2013-12-08 Leo Liu <sdl.web@gmail.com>
2649 * progmodes/flymake.el (flymake-popup-current-error-menu):
2650 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2651 (flymake-posn-at-point-as-event, flymake-popup-menu)
2652 (flymake-make-emacs-menu): Remove. (Bug#16077)
2654 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2656 * rect.el (rectangle-mark-mode): Activate mark even if
2657 transient-mark-mode is off (bug#16066).
2658 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2659 is > mark and at bolp.
2661 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2662 (region-extract-function): Use it.
2663 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2664 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2666 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2667 kill-ring-save, kill-region, delete-char, delete-forward-char.
2668 Ignore self-insert-iso.
2670 * emulation/cua-gmrk.el (cua--init-global-mark):
2671 Ignore `self-insert-iso'.
2673 * emulation/cua-base.el (cua--prefix-copy-handler)
2674 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2675 checking cua--rectangle.
2676 (cua-delete-region): Use region-extract-function.
2677 (cua-replace-region): Delete function.
2678 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2679 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2680 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2681 (cua--init-keymaps): Don't remap delete-selection commands.
2682 (cua-mode): Use delete-selection-mode instead of rolling our own
2685 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2686 Obey region-extract-function.
2688 Make registers and delete-selection-mode work on rectangles.
2689 * register.el (describe-register-1): Don't modify the register's value.
2690 (copy-to-register): Obey region-extract-function.
2691 * delsel.el (delete-active-region): Obey region-extract-function.
2693 2013-12-08 Leo Liu <sdl.web@gmail.com>
2695 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2696 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2697 (flymake-compilation-prevents-syntax-check)
2698 (flymake-start-syntax-check-on-newline)
2699 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2700 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2701 (flymake-xml-program, flymake-master-file-dirs)
2702 (flymake-master-file-count-limit)
2703 (flymake-allowed-file-name-masks): Relocate.
2704 (flymake-makehash, flymake-float-time)
2705 (flymake-replace-regexp-in-string, flymake-split-string)
2706 (flymake-get-temp-dir): Remove.
2707 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2708 (flymake-current-row, flymake-selected-frame)
2709 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2710 related functions. (Bug#16077)
2712 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2714 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2716 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2718 * help-fns.el (describe-function-1): Use new advice-* functions
2719 rather than old ad-* functions. Fix function type description and
2720 source links for advised functions and subrs.
2722 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2724 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2726 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2728 * progmodes/compile.el (compilation-start):
2729 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2731 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2732 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2734 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2736 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2737 Touch up the last change.
2739 2013-12-06 Leo Liu <sdl.web@gmail.com>
2741 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2742 (inferior-octave-startup): Always use "octave> " for prompt.
2743 (octave-goto-function-definition)
2744 (octave-sync-function-file-names)
2745 (octave-find-definition-default-filename): Remove redundant backquotes.
2747 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2749 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2751 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2752 where appropriate already.
2753 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2754 end of method names (Bug#15874).
2756 2013-12-06 Juri Linkov <juri@jurta.org>
2758 * isearch.el (isearch--saved-overriding-local-map):
2759 New internal variable.
2760 (isearch-mode): Set it to the initial value of
2761 `overriding-terminal-local-map'.
2762 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2763 with `isearch--saved-overriding-local-map'. (Bug#16035)
2765 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2767 * progmodes/octave.el (inferior-octave-completion-table):
2768 Turn back into function, use `completion-table-with-cache'
2769 (Bug#11906). Update all references.
2771 * minibuffer.el (completion-table-with-cache): New function.
2773 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2775 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2777 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2779 * net/eww.el (eww-current-source): New variable to store page
2781 (eww-display-html, eww-mode, eww-save-history)
2782 (eww-restore-history): Use it.
2783 (eww-view-source): New command to view page source.
2784 Opportunistically uses `html-mode' to highlight the buffer.
2785 (eww-mode-map): Install it.
2787 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2789 * net/dbus.el (dbus-unregister-service)
2790 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2792 (dbus-unregister-service): Skip :serial entries in
2793 `dbus-registered-objects-table'.
2794 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2796 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2798 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2799 around keywords with extra `split-string' argument.
2801 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2803 * windmove.el (windmove-other-window-loc): Handle navigation
2804 between windows (excluding the minibuffer window - Bug#16017).
2806 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2808 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2809 in D-Bus type syntax.
2810 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2811 preserve unibyte strings. (Bug#16048)
2813 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2815 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2816 Call force-mode-line-update is the proper buffer (bug#16042).
2818 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2820 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2821 `log-edit-remember-comment', make argument optional. Adjust all
2823 (log-edit-mode): Add `log-edit-remember-comment' to
2824 `kill-buffer-hook' locally.
2825 (log-edit-kill-buffer): Don't remember comment explicitly since
2826 the buffer is killed anyway.
2828 2013-12-04 Juri Linkov <juri@jurta.org>
2830 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2831 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2833 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2835 * notifications.el (notifications-close-notification): Call the
2836 D-Bus method with ID being a `:uint32'. (Bug#16030)
2838 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2840 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2842 2013-12-03 Juri Linkov <juri@jurta.org>
2844 * progmodes/compile.el (compilation-start): Rename window alist
2845 entry `no-display-ok' to `allow-no-window'.
2847 * simple.el (shell-command): Add window alist entry
2848 `allow-no-window' to `display-buffer'.
2849 (async-shell-command): Doc fix.
2851 * window.el (display-buffer-no-window): New action function.
2852 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2854 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2856 * vc/log-edit.el (log-edit-set-header): Extract from
2857 `log-edit-toggle-header'.
2858 (log-edit-extract-headers): Separate the summary, when extracted
2859 from header, from the rest of the message with an empty line.
2861 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2862 line, if present, to the Summary header.
2864 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2866 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2867 in current-buffer (bug#16029).
2869 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2871 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2872 (debugger-mode-map): Bind it.
2873 (debugger--backtrace-base): New function.
2874 (debugger-eval-expression): Use it.
2875 (debugger-frame-number): Skip local vars when present.
2876 (debugger--locals-visible-p, debugger--insert-locals)
2877 (debugger--show-locals, debugger--hide-locals): New functions.
2879 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2881 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2883 (tramp-get-remote-locale): New defun.
2884 (tramp-open-connection-setup-interactive-shell): Use it.
2886 2013-12-02 Leo Liu <sdl.web@gmail.com>
2888 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2890 * progmodes/sh-script.el (sh-shell-process):
2891 * progmodes/octave.el (inferior-octave-process-live-p):
2892 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2893 (gdb-inferior-io-sentinel):
2894 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2896 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2898 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2899 `save-selected-window' to `log-edit-hide-buf'. This makes
2900 `log-edit-show-files' idempotent.
2901 (log-edit-show-files): Mark the new window as dedicated.
2903 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2905 * vc/log-edit.el (log-edit-mode-map): Add binding for
2906 `log-edit-kill-biffer'.
2907 (log-edit-hide-buf): Add a FIXME comment.
2908 (log-edit-add-new-comment): New function, extracted from
2910 (log-edit-done, log-edit-add-to-changelog): Use it.
2911 (log-edit-kill-buffer): New command.
2913 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2915 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2916 instead of killing the buffer.
2918 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2920 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2922 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2924 * net/eww.el (eww-form-checkbox-selected-symbol)
2925 (eww-form-checkbox-symbol): New customizable variable.
2926 (eww-form-checkbox, eww-toggle-checkbox):
2927 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2929 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2930 (shr--get-media-pref, shr--extract-best-source): New function.
2931 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2932 no :src tag was specified.
2934 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2935 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2936 Use \\` to match beginning of string instead of ^.
2937 (eww-browse-with-external-browser): Provide optional URL parameter.
2938 (eww-render): Set `eww-current-title' back to "".
2940 * net/shr.el (shr-tag-video): Display content for video if no
2941 poster is available.
2942 (shr-tag-audio): Add support for <audio> tag.
2944 * net/eww.el (eww-text-input-types): New const.
2945 (eww-process-text-input): Treat input types in
2946 `eww-text-input-types' as text.
2948 * net/shr.el (shr-tag-table): Fix comment typo.
2950 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2952 * net/eww.el (eww-follow-link): New command to avoid reloading
2953 pages when we follow #target links (bug#15243).
2954 (eww-quit): Special mode buffers shouldn't query before exiting.
2956 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2958 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2961 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2963 * net/eww.el (eww-restore-history): Update the window title after
2964 moving in the history.
2965 (eww-current-dom): New variable used to save the current DOM.
2967 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2969 * vc/log-edit.el (log-edit-mode-map): Add binding for
2970 `log-edit-beginning-of-line'.
2971 (log-edit-setup-add-author): New user option.
2972 (log-edit-beginning-of-line): New command.
2973 (log-edit): Move major mode call above the contents setup so that
2974 the local variable values are already applied.
2975 (log-edit): Only insert "Author: " when
2976 `log-edit-setup-add-author' is non-nil.
2977 (log-edit): When SETUP is non-nil, position point after ": "
2978 instead of point-min.
2980 2013-12-01 Glenn Morris <rgm@gnu.org>
2982 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2984 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2986 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2987 redisplay to make sure the initial frame gets a chance to become
2988 visible. (Bug#16014)
2990 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2992 Support resizing frames and windows pixelwise.
2993 * cus-start.el (frame-resize-pixelwise)
2994 (window-resize-pixelwise): New entries.
2995 * emacs-lisp/debug.el (debug): Use window-total-height instead
2996 of window-total-size.
2997 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2998 * help.el (describe-bindings-internal): Call help-buffer
2999 (temp-buffer-max-width): New option.
3000 (resize-temp-buffer-window, help-window-setup)
3001 (with-help-window): Rewrite.
3002 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3004 * window.el (frame-char-size, window-min-pixel-height)
3005 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3006 (window-min-pixel-width, window-safe-min-pixel-size)
3007 (window-combination-p, window-safe-min-size)
3008 (window-resizable-p, window--size-to-pixel)
3009 (window--pixel-to-size, window--resize-apply-p): New functions.
3010 (window-safe-min-height): Fix doc-string.
3011 (window-size, window-min-size, window--min-size-1)
3012 (window-sizable, window-sizable-p, window--min-delta-1)
3013 (window-min-delta, window--max-delta-1, window-max-delta)
3014 (window--resizable, window--resizable-p, window-resizable)
3015 (window-full-height-p, window-full-width-p, window-at-side-p)
3016 (window--in-direction-2, window-in-direction)
3017 (window--resize-reset-1, window--resize-mini-window)
3018 (window-resize, window-resize-no-error)
3019 (window--resize-child-windows-normal)
3020 (window--resize-child-windows, window--resize-siblings)
3021 (window--resize-this-window, window--resize-root-window)
3022 (window--resize-root-window-vertically)
3023 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3024 (maximize-window, minimize-window, delete-window)
3025 (quit-restore-window, window-split-min-size, split-window)
3026 (balance-windows-2, balance-windows)
3027 (balance-windows-area-adjust, balance-windows-area)
3028 (window--state-get-1, window-state-get, window--state-put-1)
3029 (window--state-put-2, window-state-put)
3030 (display-buffer-record-window, window--display-buffer):
3031 Make functions handle pixelwise sizing of windows.
3032 (display-buffer--action-function-custom-type)
3033 (display-buffer-fallback-action):
3034 Add display-buffer-in-previous-window.
3035 (display-buffer-use-some-window): Resize window to height it had
3037 (fit-window-to-buffer-horizontally): New option.
3038 (fit-frame-to-buffer): Describe new values.
3039 (fit-frame-to-buffer-bottom-margin): Replace with
3040 fit-frame-to-buffer-margins.
3041 (window--sanitize-margin): New function.
3042 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3043 using window-text-pixel-size.
3045 2013-11-30 Glenn Morris <rgm@gnu.org>
3047 * emacs-lisp/bytecomp.el (byte-compile-form):
3048 Make the `interactive-only' warning like the `obsolete' one.
3049 * comint.el (comint-run):
3050 * files.el (insert-file-literally, insert-file):
3051 * replace.el (replace-string, replace-regexp):
3052 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3053 (goto-line, insert-buffer, next-line, previous-line):
3054 Tweak `interactive-only' spec.
3056 Stop keeping (most) generated cedet grammar files in the repository.
3057 * Makefile.in (semantic): New.
3058 (compile-main): Depend on semantic.
3060 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3062 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3063 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3065 * uniquify.el (uniquify-buffer-name-style): Change default.
3067 * loadup.el: Preload "uniquify".
3069 * time.el (display-time-update): Update all mode lines (bug#15999).
3071 * electric.el (electric-indent-mode): Enable by default.
3072 * loadup.el: Preload "electric".
3074 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3076 * emacs-lisp/helpers.el (string-empty-p): New function.
3077 (string-blank-p): New function.
3079 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3081 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3084 2013-11-29 Andreas Politz <politza@fh-trier.de>
3085 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3086 allow non-lambda lists as functions.
3087 (imenu--in-alist): Don't recurse into non-subalists.
3088 (imenu): Don't pass function itself as an argument (Bug#14029).
3090 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3092 * progmodes/python.el (python-mode-map): Remove binding for ":".
3093 (python-indent-electric-colon): Remove command.
3094 (python-indent-post-self-insert-function): Integrate the previous code
3095 of python-indent-electric-colon. Make it conditional on
3096 electric-indent-mode.
3097 (python-mode): Add ?: to electric-indent-chars.
3098 Move python-indent-post-self-insert-function to the end of
3099 post-self-insert-hook.
3101 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3103 * doc-view.el (doc-view-goto-page): Update mode-line.
3105 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3107 2013-11-27 Glenn Morris <rgm@gnu.org>
3109 * international/charprop.el, international/uni-bidi.el:
3110 * international/uni-category.el, international/uni-combining.el:
3111 * international/uni-comment.el, international/uni-decimal.el:
3112 * international/uni-decomposition.el, international/uni-digit.el:
3113 * international/uni-lowercase.el, international/uni-mirrored.el:
3114 * international/uni-name.el, international/uni-numeric.el:
3115 * international/uni-old-name.el, international/uni-titlecase.el:
3116 * international/uni-uppercase.el:
3117 Remove generated files from VCS repository.
3119 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3121 * filenotify.el (file-notify-add-watch): Don't special-case
3122 w32notify when computing the directory to watch.
3124 2013-11-27 Glenn Morris <rgm@gnu.org>
3126 Make bootstrap without generated uni-*.el files possible again.
3127 * loadup.el: Update command-line-args checking for unidata-gen.
3128 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3129 * composite.el, international/characters.el:
3130 Handle unicode tables being undefined.
3132 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3133 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3134 (compile-main): Depend on leim rule.
3136 * loadup.el: Move leim-list.el to leim/ subdirectory.
3137 * startup.el (normal-top-level): No more leim directory.
3138 * international/ja-dic-cnv.el (skkdic-convert):
3139 Disable version-control and autoloads in output files.
3140 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3141 Disable version-control and autoloads in output files.
3142 * leim/quail: Move here from ../leim.
3143 * leim/quail/hangul.el (hangul-input-method-activate):
3144 Add autoload cookie.
3145 (generated-autoload-load-name): Set file-local value.
3146 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3147 (generated-autoload-load-name): Set file-local value.
3149 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3151 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3152 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3153 (eww-quit): Ask confirmation before quitting eww.
3155 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3157 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3158 reading output from Diff on MS-Windows and MS-DOS.
3160 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3162 * emacs-lisp/helpers.el (string-reverse): New function.
3164 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3166 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3167 names on MS Windows, like "/[::1]:".
3169 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3172 2013-11-26 Glenn Morris <rgm@gnu.org>
3174 * progmodes/python.el (python-indent-guess-indent-offset):
3175 Avoid corner-case error. (Bug#15975)
3177 Preload leim-list.el. (Bug#4789)
3178 * loadup.el: Load leim-list.el when found.
3179 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3181 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3183 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3185 * emacs-lisp/helpers.el (string-join): New function.
3187 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3189 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3190 Mark as obsolete and replace it with a symbol property.
3191 (byte-compile-form): Use new 'interactive-only property.
3192 * comint.el, files.el, replace.el, simple.el:
3193 Apply new 'interactive-only properly.
3195 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3197 * window.el (display-buffer-at-bottom): Make sure that
3198 split-window-sensibly creates the new window on bottom
3201 2013-11-23 David Kastrup <dak@gnu.org>
3203 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3204 on the conflict markers when available.
3205 (smerge--get-marker): New function.
3206 (smerge-end-re, smerge-base-re): Add subgroup.
3208 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3210 * frame.el (handle-focus-in, handle-focus-out): Add missing
3213 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3215 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3216 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3218 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3221 (gomoku--last-pos): New var.
3222 (gomoku--intangible-chars): New const.
3223 (gomoku--intangible): New function.
3224 (gomoku-mode): Use it. Derive from special-mode.
3225 (gomoku-move-up): Adjust line count.
3226 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3227 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3228 Simplify accordingly.
3230 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3231 Remove blink-cursor code.
3232 (blink-cursor-timer-function, blink-cursor-suspend):
3233 Don't special-case GUIs.
3234 (blink-cursor-mode): Use focus-in/out-hook.
3236 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3238 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3239 work when annotation is invisible (Bug#13886).
3241 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3243 * json.el (json-alist-p): Only return non-nil if the alist has
3244 simple keys (Bug#13518).
3246 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3248 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3249 when control-statement is the first statement in a buffer (Bug#15956).
3251 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3253 * imenu.el (imenu-generic-skip-comments-and-strings):
3254 New option (Bug#15560).
3255 (imenu--generic-function): Use it.
3257 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3259 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3262 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3264 * emacs-lisp/helpers.el: Add some string helpers.
3265 (string-trim-left): Removes leading whitespace.
3266 (string-trim-right): Removes trailing whitespace.
3267 (string-trim): Removes leading and trailing whitespace.
3269 * subr.el (string-suffix-p): New function.
3271 2013-11-23 Glenn Morris <rgm@gnu.org>
3273 * progmodes/python.el (python-shell-send-file):
3274 Add option to delete file when done. (Bug#15647)
3275 (python-shell-send-string, python-shell-send-region): Use it.
3277 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3279 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3280 to set buffer-read-only to t, never to nil. (Bug#15938)
3282 * textmodes/tex-mode.el (latex-noindent-environments):
3283 Add safe-local-variable property. (Bug#15936)
3285 2013-11-23 Glenn Morris <rgm@gnu.org>
3287 * textmodes/enriched.el (enriched-mode): Doc fix.
3288 * emacs-lisp/authors.el (authors-renamed-files-alist):
3289 Add enriched.doc -> enriched.txt.
3291 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3293 2013-11-22 Leo Liu <sdl.web@gmail.com>
3295 * progmodes/octave.el (inferior-octave-startup): Spit out error
3298 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3300 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3303 (ruby-encoding-magic-comment-style): Add :version.
3305 2013-11-22 Leo Liu <sdl.web@gmail.com>
3307 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3309 (octave-help-mode): Adapt to change to help-mode-finish to use
3310 derived-mode-p on 2013-09-17.
3311 (inferior-octave-prompt): Also match octave-gui.
3312 (octave-kill-process): Don't ask twice. (Bug#10564)
3314 2013-11-22 Leo Liu <sdl.web@gmail.com>
3316 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3317 (inferior-octave-startup, inferior-octave-check-process)
3318 (inferior-octave-track-window-width-change)
3319 (octave-completion-at-point, octave-eldoc-function): Use it.
3320 (octave-kill-process): Provide confirmation. (Bug#10564)
3322 2013-11-21 Leo Liu <sdl.web@gmail.com>
3324 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3325 Fix obsolete variable comment-use-global-state.
3327 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3329 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3330 Add `octave-source-file'.
3331 (octave-source-file): New function. (Bug#15935)
3333 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3335 * net/eww.el (eww-local-regex): New variable.
3336 (eww): Use it to detect localhost and similar.
3338 2013-11-21 Leo Liu <sdl.web@gmail.com>
3340 Add completion for command `ag'.
3341 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3342 (pcomplete/ag): New function.
3343 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3345 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3347 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3349 (make-obsolete): Remove interactive spec.
3351 2013-11-21 Glenn Morris <rgm@gnu.org>
3353 * startup.el (command-line-1): Use path-separator with -L.
3355 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3357 * emacs-lisp/package.el (describe-package-1): Add package archive
3360 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3362 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3363 Change default to "# encoding: %s" to differentiate it from the
3364 default Ruby encoding comment template.
3366 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3368 * ses.el (ses-mode): Doc fix. (Bug#14748)
3370 2013-11-20 Leo Liu <sdl.web@gmail.com>
3372 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3374 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3376 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3377 when rebase or bisect are in progress.
3379 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3381 * filenotify.el (file-notify-add-watch): Doc fix.
3383 2013-11-19 Leo Liu <sdl.web@gmail.com>
3385 * obsolete/rcompile.el: Mark obsolete.
3387 * progmodes/compile.el (compilation-start)
3388 (compilation-goto-locus, compilation-find-file):
3389 Pass no-display-ok and handle nil value from display-buffer.
3392 * window.el (display-buffer-alist, display-buffer): Document the
3393 new parameter no-display-ok. Return either a window or nil
3394 but never a non-window value.
3396 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3398 * electric.el (electric-indent-mode-map): Remove.
3399 (electric-indent-mode): Change the global-map instead (bug#15915).
3401 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3404 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3406 * emacs-lisp/nadvice.el (remove-function): Align with
3407 add-function's behavior.
3409 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3410 (gdb--string-regexp): New constant.
3411 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3412 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3413 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3415 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3416 Adjust use accordingly.
3417 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3419 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3421 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3422 interpolation curlies (Bug#15914).
3424 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3426 * calc/calc.el (calc-context-sensitive-enter): New variable.
3427 (calc-enter): Use `calc-context-sensitive-enter'.
3429 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3431 * progmodes/cfengine.el: Version bump.
3432 (cfengine-cf-promises): New defcustom to locate cf-promises.
3433 (cfengine3-vartypes): Add new "data" type.
3434 (cfengine3--current-word): New function to get current name-like
3436 (cfengine3--current-function): New function to look up a CFEngine
3437 function's definition.
3438 (cfengine3-format-function-docstring): New function.
3439 (cfengine3-make-syntax-cache): New function.
3440 (cfengine3-documentation-function): New function: ElDoc glue.
3441 (cfengine3-completion-function): New function: completion glue.
3442 (cfengine3-mode): Set `compile-command',
3443 `eldoc-documentation-function', and add to
3444 `completion-at-point-functions'.
3446 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3448 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3449 `tramp-current-connection'.
3451 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3453 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3454 nil/self/true/false with "end of symbol".
3456 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3458 * subr.el (version-regexp-alist): Fix a typo.
3460 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3462 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3463 "en_US.utf8" and "LC_CTYPE" to "".
3464 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3465 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3467 2013-11-15 Leo Liu <sdl.web@gmail.com>
3469 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3471 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3473 * progmodes/gud.el (ctl-x-map):
3474 Remove C-x SPC binding. (Bug#12342)
3475 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3477 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3479 * subr.el (version-regexp-alist):
3480 Recognize hg, svn and darcs versions as snapshot versions.
3482 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3483 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3484 (ruby--encoding-comment-required-p): Extract from
3485 `ruby-mode-set-encoding'.
3486 (ruby-mode-set-encoding): Add the ability to always insert an
3487 utf-8 encoding comment. Fix and simplify coding comment update
3490 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3492 * net/tramp-gvfs.el (top): Run init code only when
3493 `tramp-gvfs-enabled' is not nil.
3494 (tramp-gvfs-enabled): Check also :system bus.
3496 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3498 Sync with upstream verilog-mode revision 78e66ba.
3499 * progmodes/verilog-mode.el (verilog-end-of-defun)
3500 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3501 (verilog-get-end-of-defun): Remove unused argument.
3502 (verilog-comment-depth): Remove unused local `e'.
3503 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3504 Don't pass arg to verilog-get-end-of-defun.
3506 2013-11-14 Glenn Morris <rgm@gnu.org>
3508 * obsolete/assoc.el (aget): Prefix dynamic variable.
3510 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3512 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3514 * widget.el, hfy-cmap.el: Remove bogus package version number.
3516 2013-11-13 Glenn Morris <rgm@gnu.org>
3518 * replace.el (replace-eval-replacement):
3519 Try to give more helpful error message. (Bug#15836)
3521 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3522 (archive-7z-update): Avoid custom type mismatches.
3524 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3526 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3528 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3529 address can be empty.
3531 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3532 Accept nil SWITCHES.
3533 (tramp-gvfs-handle-write-region): Implement APPEND.
3535 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3537 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3538 binary "|" operator and closing block args delimiter.
3539 Remove FIXME comment referring to Ruby 1.8-only syntax.
3540 (ruby-smie--implicit-semi-p): Not after "|" operator.
3541 (ruby-smie--closing-pipe-p): New function.
3542 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3543 (ruby-smie-rules): Indent after "|".
3545 2013-11-12 Glenn Morris <rgm@gnu.org>
3547 * ps-print.el (ps-face-attribute-list):
3548 Handle anonymous faces. (Bug#15827)
3550 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3552 * window.el (display-buffer-other-frame): Fix doc-string.
3555 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3557 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3559 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3561 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3562 (tramp-sh-handle-file-local-copy): Don't write a message when
3563 saving temporary files.
3565 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3566 both directories are remote.
3567 (tramp-smb-handle-directory-files): Do not return double entries.
3568 Do not expand full file names.
3569 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3570 (tramp-smb-handle-write-region): Implement APPEND.
3571 (tramp-smb-get-stat-capability): Fix a stupid bug.
3573 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3575 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3577 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3579 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3580 throwing error over malformed let/let* (bug#15814).
3582 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3584 * iswitchb.el (iswitchb-mode): Mark obsolete.
3586 2013-11-11 Glenn Morris <rgm@gnu.org>
3588 * international/uni-bidi.el, international/uni-category.el:
3589 * international/uni-name.el, international/uni-numeric.el:
3590 Regenerate for Unicode 6.3.0.
3592 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3594 * net/tramp.el (tramp-methods):
3595 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3596 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3598 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3600 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3601 Force highlighting text after Summary keyword in doc face for rpm.
3603 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3605 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3606 available and the word has no wildcards, append one to the grep pattern.
3607 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3608 (ispell-complete-word): Call `ispell-lookup-words' with the value
3609 independent of `ispell-look-p'.
3611 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3613 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3615 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3618 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3620 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3621 (ruby-font-lock-keywords): Use backquote.
3623 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3625 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3626 (ruby-smie--backward-token): Only consider full-string matches.
3628 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3630 * faces.el (describe-face): Add distant-foreground.
3632 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3634 * progmodes/ruby-mode.el: Improve encoding comment handling.
3635 (ruby-encoding-magic-comment-style): New option.
3636 (ruby-custom-encoding-magic-comment-template): New option.
3637 (ruby--insert-coding-comment, ruby--detect-encoding):
3638 New functions extracted from `ruby-mode-set-encoding'.
3639 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3640 to control the style of the auto-inserted encoding comment.
3642 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3644 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3645 Use `smie-backward-sexp' with token argument.
3647 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3649 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3650 Remove instrumentation code.
3652 2013-11-08 Glenn Morris <rgm@gnu.org>
3654 * progmodes/autoconf.el (autoconf-mode):
3655 Tweak comment-start-skip. (Bug#15822)
3657 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3659 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3660 at bobp (bug#15826).
3661 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3663 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3665 * man.el (Man-start-calling): New macro, extracted from
3666 Man-getpage-in-background.
3667 (Man-getpage-in-background): Use it.
3668 (Man-update-manpage): New command.
3669 (Man-mode-map): Bind it.
3671 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3673 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3674 of "and", "or", "&&" and "||".
3675 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3676 argument. Prohibit opening curly brace because it could only be a
3677 block opener in that position.
3678 (ruby-smie--forward-token, ruby-smie--backward-token):
3679 Separate "|" from "&" or "*" going after it. That can happen in block
3681 (ruby-smie--indent-to-stmt): New function, seeks the end of
3682 previous statement or beginning of buffer.
3683 (ruby-smie-rules): Use it.
3684 (ruby-smie-rules): Check if there's a ":" before a curly block
3685 opener candidate; if there is, it's a hash.
3687 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3689 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3690 (cl--block-wrapper): Fix last accidental change.
3692 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3694 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3695 Instrument, in order to hunt failure on hydra.
3697 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3699 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3700 malformed bindings form (bug#15814).
3702 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3704 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3705 "." compared to " @ ". This incidentally fixes some indentation
3707 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3708 (ruby-smie-grammar): New tokens: "and" and "or".
3709 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3710 Exclude "and" and "or". Remove "do" in order to work around token
3712 (ruby-smie-rules): Add all infix tokens. Handle the case of
3713 beginning-of-buffer.
3715 2013-11-06 Glenn Morris <rgm@gnu.org>
3717 * Makefile.in (setwins_almost, setwins_for_subdirs):
3718 Avoid accidental matches.
3720 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3722 * menu-bar.el (popup-menu): Use key-binding.
3724 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3726 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3727 menus, support also the menus produced by minor modes.
3730 2013-11-06 Leo Liu <sdl.web@gmail.com>
3732 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3733 DISTANCE to bound the search. All uses changed. (Bug#15808)
3735 2013-11-06 Glenn Morris <rgm@gnu.org>
3737 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3738 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3739 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3741 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3743 * electric.el (electric-indent-just-newline): New command.
3744 (electric-indent-mode-map): New keymap.
3745 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3746 Re-add :group which weren't redundant.
3748 * electric.el (electric-indent-local-mode): New minor mode.
3749 (electric-indent-functions-without-reindent): New var.
3750 (electric-indent-post-self-insert-function): Use it.
3751 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3753 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3755 * international/quail.el (quail-help): Be more explicit about the
3756 meaning of the labels shown on the keys. (Bug#15800)
3758 * startup.el (normal-top-level): Load the subdirs.el files before
3759 setting the locale environment. (Bug#15805)
3761 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3764 via arguments so as to get the right ones (bug#15418).
3766 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3768 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3770 Fix problems found while writing a test suite.
3772 * net/tramp-compat.el (tramp-compat-load): New defun.
3773 * net/tramp.el (tramp-handle-load): Use it.
3775 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3776 "(numberp ok-if-already-exists)" correctly.
3778 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3780 * international/characters.el (glyphless-char-display-control):
3783 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3785 * progmodes/python.el (python-mode):
3786 * progmodes/scheme.el (scheme-mode):
3787 * progmodes/prolog.el (prolog-mode):
3788 * progmodes/ruby-mode.el (ruby-mode):
3789 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3790 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3792 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3794 * rect.el (rectangle--highlight-for-redisplay):
3795 * emacs-lisp/smie.el (smie--next-indent-change):
3796 Use buffer-chars-modified-tick.
3798 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3800 * electric.el (electric-indent-post-self-insert-function):
3801 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3803 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3805 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3807 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3809 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3812 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3814 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3816 * progmodes/python.el: Fix up last change.
3817 (python-shell--save-temp-file): New function.
3818 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3819 `string' comes from the current buffer.
3820 (python-shell-send-string-no-output): Remove `msg' arg.
3821 (python--use-fake-loc): New var.
3822 (python-shell-buffer-substring): Obey it. Try to compensate for the
3823 extra coding line added by python-shell--save-temp-file.
3824 (python-shell-send-region): Use python-shell--save-temp-file and
3825 python-shell-send-file directly. Add `nomain' argument.
3826 (python-shell-send-buffer): Use python-shell-send-region.
3827 (python-electric-pair-string-delimiter): New function.
3828 (python-mode): Use it.
3830 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3832 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3833 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3834 environment and decoding all of the default-directory's to here
3836 (command-line): Decode also argv[0].
3838 * loadup.el: Error out if default-directory is a multibyte string
3839 when we are dumping.
3841 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3843 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3845 * emacs-lisp/package.el (package-menu-mode)
3846 (package-menu--print-info, package-menu--archive-predicate):
3847 Add Archive column to package list.
3849 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3851 Fix problems found while writing a test suite.
3853 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3854 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3855 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3856 to nil when running original file name handler. Otherwise,
3857 there are problems with constructs like "$$FOO".
3859 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3862 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3864 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3866 * subr.el (version<, version<=, version=):
3867 Update docstrings with information for snapshot versions.
3869 * helpers.el: New library for misc helper functions.
3870 (hash-table-keys): New function returning a list of hash keys.
3871 (hash-table-values): New function returning a list of hash values.
3873 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3875 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3876 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3878 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3880 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3881 checking whether point is after a 1-letter word.
3883 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3885 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3886 Don't infloop when expanding region over `multiline' syntax-type that
3887 begins a line (bug#15778).
3889 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3891 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3892 Make it into a proper minor mode.
3893 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3894 (rectangle-mark-mode-map): New keymap.
3895 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3897 2013-11-04 Glenn Morris <rgm@gnu.org>
3899 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3901 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3903 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3904 (ruby-smie-rules): Use smie-rule-parent instead.
3906 * emacs-lisp/smie.el (smie-rule-parent): Always call
3907 smie-indent-virtual rather than only for hanging tokens.
3908 (smie--next-indent-change): New helper command.
3910 2013-11-03 Glenn Morris <rgm@gnu.org>
3912 * Makefile.in (abs_srcdir): Remove.
3913 (emacs): Unset EMACSLOADPATH.
3915 2013-11-02 Glenn Morris <rgm@gnu.org>
3917 * Makefile.in (EMACS): Use a relative filename.
3918 (abs_top_builddir): Remove.
3919 (custom-deps, finder-data, autoloads): Use --chdir.
3921 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3923 Use relative filenames in TAGS files.
3924 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3925 (lisptagsfiles4, TAGS): Use relative file names.
3926 (TAGS-LISP): Remove.
3927 (maintainer-clean): No more TAGS-LISP file.
3929 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3930 (lisptagsfiles4): Use absolute filenames again.
3931 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3932 Remove all *loaddefs files, not just the first. Remove esh-groups.
3933 (maintainer-clean): Delete TAGS, TAGS-LISP.
3935 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3937 * emacs-lisp/package.el (package-version-join):
3938 Recognize snapshot versions.
3940 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3942 * subr.el (version-regexp-alist): Add support for snapshot versions.
3944 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3946 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3947 New function, replacement for `smie-rule-parent' for when we want to
3948 skip over our direct parent if it's an assignment token..
3949 (ruby-smie-rules): Use it.
3951 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3953 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3954 unconditionally. Remove now unnecessary forward declarations.
3955 Remove XEmacs-specific setup.
3956 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3957 (ruby-font-lock-syntactic-keywords)
3958 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3959 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3960 (ruby-here-doc-end-syntax): Remove.
3961 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3962 defined as function.
3964 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3966 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3968 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3970 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3971 table and abbrev table, `define-derived-mode' does that for us
3974 2013-11-01 Glenn Morris <rgm@gnu.org>
3976 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3977 files is atomic for some time, so no parallel compilation issues).
3979 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3981 * faces.el (face-x-resources): Add :distant-foreground.
3982 (region): Use :distant-foreground for gtk and ns.
3984 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3986 Allow multiple bibliographies when BibLaTeX is used rather than
3988 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3989 (reftex-locate-bibliography-files): Us it.
3991 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3993 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3994 allow comments in pbm files.
3996 * term/w32-win.el (dynamic-library-alist): Support newer versions
3997 of libjpeg starting with v7: look only for the DLL from the
3998 version against which Emacs was built.
3999 Support versions of libpng beyond 1.4.x.
4000 Support libtiff v4.x.
4002 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4004 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4005 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4007 (ruby-deep-arglist): Add property :type.
4009 2013-10-31 Glenn Morris <rgm@gnu.org>
4011 * Makefile.in (custom-deps, finder-data): No need to setq the target
4012 variables, we are in the right directory and the defaults work fine.
4014 2013-10-30 Glenn Morris <rgm@gnu.org>
4016 * Makefile.in (autoloads): Do not use abs_lisp.
4018 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4019 `newline' does not respect `standard-output', so use `princ'.
4021 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4023 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4024 * buff-menu.el (Buffer-menu--unmark): New function.
4025 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4027 2013-10-30 Glenn Morris <rgm@gnu.org>
4029 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4031 * emacs-lisp/package.el (lm-homepage): Declare.
4033 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4036 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4038 * Makefile.in (finder-data, autoloads, update-subdirs)
4039 (compile-main, compile-clean, compile-always, bootstrap-clean):
4040 Check return value of cd.
4041 (compile-calc): Remove.
4043 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4045 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4047 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4048 (byte-compile-and-folded): New function.
4049 (=, <, >, <=, >=): Use it.
4051 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4052 (path-separator, null-device, buffer-file-coding-system)
4053 (lpr-headers-switches): Check system-type before modifying them.
4054 (find-buffer-file-type-coding-system): Mark obsolete.
4055 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4056 find-file-not-found-set-buffer-file-coding-system.
4057 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4058 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4059 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4060 (w32-direct-print-region-helper, w32-direct-print-region-function)
4061 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4062 * startup.el (normal-top-level-add-subdirs-to-load-path):
4063 * ps-print.el (ps-print-region-function):
4064 * lpr.el (print-region-function): Use new name.
4066 * subr.el (custom-declare-variable-early): Remove function.
4067 (custom-declare-variable-list): Remove var.
4068 (error, user-error): Remove `while' loop.
4069 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4070 (user-emacs-directory-warning, locate-user-emacs-file):
4072 * simple.el (read-quoted-char-radix, read-quoted-char):
4073 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4075 * custom.el (custom-declare-variable-list): Don't process
4076 custom-declare-variable-list.
4078 * progmodes/python.el (python-shell-get-buffer): New function.
4079 (python-shell-get-process): Use it.
4080 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4081 Python which encoding was used. Don't split-string since we only care
4082 about the first line. Return the temp-file, if applicable.
4083 (python-shell-send-region): Tell compile.el how to turn locations in
4084 the temp-file into locations in the source buffer.
4086 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4088 * subr.el (undefined): Add missing behavior from the C code for
4091 * rect.el: Use lexical-binding. Add new rectangular region support.
4092 (rectangle-mark): New command.
4093 (rectangle--region): New var.
4094 (deactivate-mark-hook): Reset rectangle--region.
4095 (rectangle--extract-region, rectangle--insert-for-yank)
4096 (rectangle--highlight-for-redisplay)
4097 (rectangle--unhighlight-for-redisplay): New functions.
4098 (region-extract-function, redisplay-unhighlight-region-function)
4099 (redisplay-highlight-region-function): Use them to handle
4101 * simple.el (region-extract-function): New var.
4102 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4103 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4104 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4105 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4106 (redisplay-unhighlight-region-function)
4107 (redisplay-highlight-region-function): New vars.
4108 (redisplay--update-region-highlight): New function.
4109 (pre-redisplay-function): Use it.
4110 (exchange-point-and-mark): Don't deactivate the mark before
4111 reactivate-it anyway.
4112 * comint.el (comint-kill-region): Remove yank-handler argument.
4113 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4114 (delete-char): Remove property, since it's now part of their
4116 (self-insert-iso): Remove property since this command doesn't exist.
4118 * emacs-lisp/package.el (package--download-one-archive)
4119 (describe-package-1): Don't query the user about final newline.
4121 2013-10-29 Daniel Colascione <dancol@dancol.org>
4123 * net/tramp.el (tramp-methods): Document new functionality.
4124 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4125 tramp-hostname-checker if method provides one instead of scanning
4126 argument list for "%h" to decide hostname acceptability.
4128 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4130 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4131 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4132 Handle COPY-CONTENTS. (Bug#15737)
4134 2013-10-28 Daiki Ueno <ueno@gnu.org>
4137 (epa-file-cache-passphrase-for-symmetric-encryption):
4138 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4140 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4142 * image.el (defimage):
4143 (image-load-path): Doc fixes.
4145 2013-10-27 Alan Mackenzie <acm@muc.de>
4147 Indent statements in macros following "##" correctly.
4148 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4149 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4151 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4153 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4155 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4157 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4158 after `=' is probably a new expression.
4160 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4162 * man.el (man-imenu-title): New option.
4163 (Man-mode-map): Add menu. (Bug#15722)
4164 (Man-mode): Add imenu to menu.
4166 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4168 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4169 specific in what the first arg can be: a non-keyword word,
4170 string/regexp/percent literal opener, opening paren, or unary
4171 operator followed directly by word.
4173 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4175 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4176 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4177 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4178 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4179 Remove vars, they do not apply any more.
4180 (prolog-mode-abbrev-table): Remove redundant declaration.
4181 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4182 (prolog-use-smie): Remove.
4183 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4184 supported by prolog-electric-if-then-else-flag.
4185 (prolog-mode-variables, prolog-menu): Use setq-local.
4186 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4187 Remove binding to `Backspace' since this key doesn't exist anyway.
4188 Remove bindings for electric self-inserting keys.
4189 (prog-mode): Assume it's defined.
4190 (prolog-post-self-insert): New function.
4191 (prolog-mode): Use it.
4192 (prolog-indent-line, prolog-indent-level)
4193 (prolog-find-indent-of-matching-paren)
4194 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4195 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4196 (prolog-goto-next-paren, prolog-in-string-or-comment)
4197 (prolog-tokenize, prolog-inside-mline-comment)
4198 (prolog-find-start-of-mline-comment): Remove functions.
4199 (prolog-find-unmatched-paren, prolog-clause-end)
4200 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4201 (prolog-electric--if-then-else): Rename from
4202 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4203 (prolog-tokenize-searchkey): Remove const.
4204 (prolog-clause-info): Use forward-sexp.
4205 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4206 (prolog-electric-if-then-else): Remove commands.
4207 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4208 for use in post-self-insert-hook.
4209 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4210 for use in post-self-insert-hook.
4211 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4212 for use in post-self-insert-hook.
4213 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4214 adapt it for use in post-self-insert-hook.
4216 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4218 * emacs-lisp/ert.el (ert-run-tests-interactively):
4219 Use `completing-read'. (Bug#9756)
4221 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4223 * simple.el (line-move): Call line-move-1 instead of
4224 line-move-visual when the current window hscroll is zero, but
4225 temporary-goal-column indicates we will need to hscroll as result
4226 of the movement. (Bug#15712)
4228 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4230 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4231 capitalization. Use :visible instead of :active.
4232 Fix `ruby-indent-exp' reference. Add menu items for the generic
4233 commands that are used with SMIE.
4234 (ruby-do-end-to-brace): Insert space after `{'.
4236 2013-10-25 John Anthony <john@jo.hnanthony.com>
4238 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4240 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4242 2013-10-25 Glenn Morris <rgm@gnu.org>
4244 * vc/vc.el (vc-print-log): Don't use a working revision unless
4245 one was explicitly specified. (Bug#15322)
4247 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4249 * subr.el (add-to-list): Preserve return value in compiler-macro
4252 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4254 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4255 result. Ask user to retry using '-all' flag. (Bug#15701)
4257 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4259 * emacs-lisp/smie.el: New smie-config system.
4260 (smie-config): New defcustom.
4261 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4262 (smie-config-guess, smie-config-save): New commands.
4263 (smie-config--mode-local, smie-config--buffer-local)
4264 (smie-config--trace, smie-config--modefuns): New vars.
4265 (smie-config--advice, smie-config--mode-hook)
4266 (smie-config--setter, smie-config-local, smie-config--get-trace)
4267 (smie-config--guess-value, smie-config--guess): New functions.
4268 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4269 text properties. Treat "string fence" syntax like string syntax.
4271 * progmodes/sh-script.el (sh-use-smie): Change default.
4272 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4273 (sh-var-value): Simplify by CSE.
4274 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4275 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4277 (sh-guess-basic-offset): Use cl-incf.
4278 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4280 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4282 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4285 2013-10-24 Glenn Morris <rgm@gnu.org>
4287 * Makefile.in (abs_top_srcdir): Remove.
4288 (update-subdirs): Use relative path to update-subdirs.
4290 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4292 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4293 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4294 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4295 Call unmsys--file-name before expand-file-name, not after it.
4297 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4299 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4300 (ert-test-skipped): New error.
4301 (ert-skip, ert-stats-skipped): New defuns.
4302 (ert--skip-unless): New macro.
4303 (ert-test-skipped): New struct.
4304 (ert--run-test-debugger, ert-test-result-type-p)
4305 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4306 (ert--stats-set-test-and-result, ert-char-for-test-result)
4307 (ert-string-for-test-result, ert-run-tests-batch)
4308 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4309 Handle skipped tests. (Bug#9803)
4311 2013-10-24 Glenn Morris <rgm@gnu.org>
4313 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4315 * Makefile.in (abs_top_srcdir): New, set by configure.
4316 (update-subdirs): Correct build-aux location.
4318 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4320 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4321 value, whether we could auto-deduce `backend', or not.
4323 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4324 with parameters" example. Simplify the "is it block or is it
4325 hash" check, but also make it more thorough.
4327 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4329 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4331 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4333 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4336 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4339 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4341 * progmodes/compile.el (compilation-directory-matcher)
4342 (compilation-page-delimiter):
4343 Support GNU Make-4.0 directory quoting. (Bug#15678)
4345 2013-10-23 Leo Liu <sdl.web@gmail.com>
4347 * ido.el (ido-tidy): Handle read-only text.
4349 2013-10-23 Glenn Morris <rgm@gnu.org>
4351 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4352 (emacs, compile, compile-always):
4353 Quote entities that might contain whitespace.
4354 (custom-deps, finder-data, autoloads): Use abs_lisp.
4355 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4356 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4357 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4359 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4361 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4362 Use `following-char'.
4364 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4366 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4367 * progmodes/ruby-mode.el (ruby-smie-rules):
4368 Remove corresponding workaround. Fix indentation rule of ";" so it
4369 also applies when ";" is the parent.
4371 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4373 * frame.el (display-screens, display-pixel-height)
4374 (display-pixel-width, display-mm-width, display-backing-store)
4375 (display-save-under, display-planes, display-color-cells)
4376 (display-visual-class, display-monitor-attributes-list):
4377 Mention the optional ‘display’ argument in doc strings.
4379 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4381 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4382 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4384 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4386 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4387 TODO. Add "." after " @ ".
4388 (ruby-smie--at-dot-call): New function. Checks if point at method
4389 call with explicit target.
4390 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4391 to the method name tokens when it precedes them.
4392 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4393 (ruby-smie-rules): Add rule for indentation before and after "."
4396 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4398 * textmodes/remember.el (remember-diary-extract-entries):
4401 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4404 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4406 * progmodes/ruby-mode.el (ruby-smie-grammar):
4407 Add (almost) all infix operators.
4408 (ruby-smie--implicit-semi-p): Add new operator chars.
4410 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4412 (ruby-smie--args-separator-p): Check that there's no newline
4413 between method call and its arguments.
4415 2013-10-20 Alan Mackenzie <acm@muc.de>
4417 Allow comma separated lists after Java "implements".
4419 * progmodes/cc-engine.el (c-backward-over-enum-header):
4421 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4422 from a "disallowed" list in enum fontification.
4424 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4426 * startup.el (default-frame-background-mode): Remove unused defvar.
4428 * progmodes/verilog-mode.el (verilog-mode): Don't set
4429 comment-indent-function globally.
4431 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4433 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4434 Move Info menu item creation to ns-win.el.
4436 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4439 * menu-bar.el: Move GNUstep specific menus...
4441 * term/ns-win.el (ns-initialize-window-system): ... to here.
4443 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4445 * simple.el (newline): Only run post-self-insert-hook when
4446 called interactively.
4448 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4450 * icomplete.el (icomplete-with-completion-tables): Add :version.
4452 2013-10-19 Alan Mackenzie <acm@muc.de>
4454 Fix fontification bugs with constructors and const.
4456 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4457 CASE 2) Remove the check for the absence of a suffix construct
4458 after a function declaration with only types (no identifiers) in
4459 the parentheses. Also, accept a function declaration with just a
4460 type inside the parentheses, if this type can be positively
4461 recognised as such, or if a prefix keyword like "explicit" nails
4462 down the construct as a declaration.
4464 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4466 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4467 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4468 the problem whereby selecting a menu item that leads to a
4469 minibuffer prompt moves the cursor out of the minibuffer window,
4470 making it hard to type at the prompt. Suggested by Stefan Monnier
4471 <monnier@iro.umontreal.ca>.
4473 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4475 * menu-bar.el: Don't make Services menu.
4477 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4479 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4480 (ffap-alist): Use ffap-c++-mode for c++-mode.
4481 (ffap-c++-path): New variable.
4482 (ffap-c++-mode): New function.
4484 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4486 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4488 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4490 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4491 introduced on 2013-09-08, which results in an infinite loop
4492 requesting a password.
4494 2013-10-18 Glenn Morris <rgm@gnu.org>
4496 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4498 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4500 Sync with upstream verilog-mode revision 1a6ecec7.
4501 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4502 (verilog-mode-release-date): Remove.
4503 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4504 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4505 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4506 (verilog-auto-tieoff-ignore-regexp)
4507 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4508 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4509 (verilog-signals-with, verilog-dir-cache-preserving)
4510 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4512 (verilog-case-fold): New option, to control case folding in
4513 regexp searches, bug597.
4514 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4515 (verilog-string-match-fold, verilog-in-paren-count)
4516 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4517 (verilog-at-close-struct-p): New functions.
4518 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4519 (verilog-forward-sexp, verilog-set-auto-endcomments):
4520 (verilog-leap-to-case-head): Handle "unique0" case.
4521 (verilog-in-constraint-re): New constant.
4522 (verilog-keywords, verilog-type-font-keywords):
4523 Add some SystemVerilog 1800-2012 keywords.
4524 (verilog-label-be): Remove unimplemented argument, bug669.
4525 (verilog-batch-execute-func): When batch expanding clear
4526 create-lockfiles to prevent spurious user locks when a file ends
4528 (verilog-calculate-indent, verilog-calc-1)
4529 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4530 (verilog-do-indent): Fix indentation of nested constraints
4532 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4533 (verilog-auto-inst-param): Use verilog-string-match-fold.
4534 (verilog-read-inst-module-matcher):
4535 Fix AUTOINST on gate primitives with #1.
4536 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4537 Reads all user-defined typed variables.
4538 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4539 (verilog-signals-matching-regexp)
4540 (verilog-signals-not-matching-regexp, verilog-auto):
4541 Respect verilog-case-fold.
4542 (verilog-diff-report): Fix line count.
4543 (verilog-auto-assign-modport): Remove unused local `modi'.
4544 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4545 better handle multidimensional arrays.
4546 Fix packed array ports misadding bit index in AUTOINST, bug637.
4547 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4548 to not double-declare existing outputs and inputs, respectively.
4549 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4550 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4551 (verilog-sk-uvm-component): New skeleton.
4552 (verilog-submit-bug-report): Add verilog-case-fold,
4553 remove verilog-mode-release-date.
4555 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4557 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4560 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4562 * textmodes/remember.el (remember): Set buffer-offer-save in
4563 remember buffers (bug#13566).
4565 2013-10-18 Daniel Colascione <dancol@dancol.org>
4567 When evaluating forms in ielm, direct standard output to ielm
4568 buffer. Add new ielm-return-for-effect command. Remove trailing
4569 whitespace throughout.
4571 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4572 (ielm-return-for-effect): New command.
4573 (ielm-send-input): Accept optional `for-effect' parameter.
4574 (ielm-eval-input): Accept optional `for-effect' parameter.
4575 Bind `standard-output' to stream we create using
4576 `ielm-standard-output-impl'. Suppress printing result when
4578 (ielm-standard-output-impl): New function.
4579 (inferior-emacs-lisp-mode): Explain new features in documentation.
4581 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4585 * net/tramp.el (tramp-debug-message): Do not check for connection
4587 (tramp-message): Use "vector" connection property.
4589 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4590 (tramp-equal-remote, tramp-eshell-directory-change)
4591 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4592 (tramp-adb-handle-rename-file)
4593 * net/tramp-cmds.el (tramp-list-remote-buffers)
4594 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4595 * net/tramp-compat.el (tramp-compat-process-running-p)
4596 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4597 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4598 (tramp-gvfs-handle-rename-file)
4599 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4600 (tramp-set-file-uid-gid)
4601 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4602 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4605 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4606 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4607 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4608 (tramp-gw-open-network-stream): Suppress unrelated traces.
4610 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4611 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4612 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4613 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4614 connection property.
4616 * net/tramp-cache.el (top): Suppress traces when reading
4619 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4620 Refactor common code. Improve debug message.
4621 (tramp-maybe-open-connection)
4622 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4623 connection buffer too early.
4625 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4626 from `tramp-smb-actions-with-acl'.
4627 (tramp-smb-actions-set-acl): New defconst.
4628 (tramp-smb-handle-copy-directory)
4629 (tramp-smb-action-get-acl): New defun, renamed from
4630 `tramp-smb-action-with-acl'.
4631 (tramp-smb-action-set-acl): New defun.
4632 (tramp-smb-handle-set-file-acl): Rewrite.
4634 2013-10-17 Glenn Morris <rgm@gnu.org>
4636 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4638 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4640 * skeleton.el (skeleton-newline): Remove.
4641 (skeleton-internal-1): Use (insert "\n") instead.
4643 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4646 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4647 forward-sexp-function while we redo its job (bug#15613).
4649 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4651 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4652 represented by lists.
4654 2013-10-16 Glenn Morris <rgm@gnu.org>
4656 * tmm.el (tmm--history): New dynamic variable.
4657 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4659 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4661 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4662 (tramp-smb-errors): Add error messages.
4663 (tramp-smb-actions-with-acl): New defconst.
4664 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4665 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4666 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4667 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4668 (tramp-smb-get-stat-capability): Fix tests.
4670 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4672 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4675 2013-10-16 Glenn Morris <rgm@gnu.org>
4677 * ansi-color.el (ansi-color-drop-regexp):
4678 Add 1J, 1K, 2K. (Bug#15617)
4680 * files.el (hack-local-variables--warned-lexical): New.
4681 (hack-local-variables):
4682 Warn about misplaced lexical-binding. (Bug#15616)
4684 * net/eww.el (eww-render): Always set eww-current-url,
4685 and update header line. (Bug#15622)
4686 (eww-display-html): ... Rather than just doing it here.
4688 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4690 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4691 menu navigations commands.
4693 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4695 * progmodes/subword.el (subword-capitalize): Be careful when
4696 the search for [[:alpha:]] fails (bug#15580).
4698 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4700 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4701 to commands that scroll the menu.
4703 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4705 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4706 Handle methods ending with `?' and `!'.
4708 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4710 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4711 `japanese-cp932' to `cp932' to fix the problem where saving a
4712 source file written in Shift_JIS twice would end up having
4713 `coding: japanese-cp932' which Ruby could not recognize.
4714 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4715 in `ruby-encoding-map'.
4716 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4717 doesn't need to be explicitly declared in magic comment.
4718 (ruby-encoding-map): Add type declaration for better customize UI.
4720 2013-10-13 Glenn Morris <rgm@gnu.org>
4722 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4723 Occur buffers are read-only. http://bugs.debian.org/720775
4725 * emacs-lisp/authors.el (authors-fixed-entries):
4726 Comment out old alpha stuff.
4728 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4730 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4731 to `after-save-hook' instead of `before-save-hook'.
4732 (ruby-mode-set-encoding): Use the value of coding system used to
4733 write the file. Call `basic-save-buffer-1' after modifying the
4736 2013-10-13 Alan Mackenzie <acm@muc.de>
4738 Fix indentation/fontification of Java enum with
4739 "implements"/generic.
4741 * progmodes/cc-engine.el (c-backward-over-enum-header):
4742 Extracted from the three other places and enhanced to handle generics.
4743 (c-inside-bracelist-p): Uses new function above.
4744 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4746 (c-font-lock-enum-tail): Uses new function above.
4748 2013-10-13 Kenichi Handa <handa@gnu.org>
4750 * international/mule-cmds.el (select-safe-coding-system): Remove a
4751 superfluous condition in chekcing whether a coding system is safe
4754 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4756 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4758 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4760 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4762 2013-10-13 Glenn Morris <rgm@gnu.org>
4764 * menu-bar.el (menu-bar-update-buffers):
4765 Unify Buffers menu prompt string. (Bug#15576)
4767 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4769 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4771 (authors-fixed-entries): Use accented form of name.
4773 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4775 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4776 method calls (bug#15594).
4777 (ruby-smie--args-separator-p): New function.
4778 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4779 recognize paren-free method calls.
4781 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4782 internals of universal-argument.
4784 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4786 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4787 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4788 dropped menu on second mouse click on the menu bar.
4790 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4792 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4793 (explicit-shell-file-name): Declare.
4794 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4795 (sh-completion-at-point-function): New function.
4797 (sh-smie--keyword-p): Remove unused argument.
4798 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4800 (sh-set-shell): Always setup SMIE, even if we use the
4801 old indentation code.
4803 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4805 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4807 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4808 predicate would return nil are almost non-existent.
4809 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4811 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4812 cache also after commands that modify the buffer but don't move
4815 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4817 * env.el (substitute-env-in-file-name): New function.
4818 (substitute-env-vars): Extend the meaning of the optional arg.
4820 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4822 * term/w32-win.el (dynamic-library-alist): Define separate lists
4823 of GIF DLLs for versions before and after 5.0.0 of giflib.
4826 2013-10-10 João Távora <joaotavora@gmail.com>
4828 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4829 not locked, use last revision and current source as
4830 defaults. (Bug#15569)
4832 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4834 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4837 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4839 * window.el (pop-to-buffer-same-window): Fix doc-string.
4842 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4844 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4846 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4848 * calendar/icalendar.el (icalendar-import-file):
4849 Fix interactive spec. (Bug#15482)
4851 2013-10-10 Glenn Morris <rgm@gnu.org>
4853 * desktop.el (desktop-save): Default to saving in .emacs.d,
4854 since PWD is no longer in desktop-path by default. (Bug#15319)
4856 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4857 now that text mode has a menu with the same entry.
4858 (menu-bar-text-mode-auto-fill): Remove now unused func.
4859 * textmodes/text-mode.el (text-mode-map):
4860 Use auto-fill help text from menu-bar.el.
4862 2013-10-10 John Anthony <john@jo.hnanthony.com>
4864 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4866 2013-10-09 Juri Linkov <juri@jurta.org>
4868 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4869 instead of this-command-keys. Add universal-argument-more and
4870 universal-argument-minus to the list of prefix commands. (Bug#15568)
4872 2013-10-09 Glenn Morris <rgm@gnu.org>
4874 * vc/vc-svn.el (vc-svn-create-repo):
4875 Expand paths in file://... url. (Bug#15446)
4877 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4879 (authors): Remove unused local variables.
4881 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4883 * profiler.el: Create a more coherent calltree from partial backtraces.
4884 (profiler-format): Hide the tail with `invisible' so that C-s can still
4885 find the hidden elements.
4886 (profiler-calltree-depth): Don't recurse so enthusiastically.
4887 (profiler-function-equal): New hash-table-test.
4888 (profiler-calltree-build-unified): New function.
4889 (profiler-calltree-build): Use it.
4890 (profiler-report-make-name-part): Indent the calltree less.
4891 (profiler-report-mode): Add visibility specs for profiler-format.
4892 (profiler-report-expand-entry, profiler-report-toggle-entry):
4893 Expand the whole subtree when provided with a prefix arg.
4895 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4897 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4899 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4900 hanging iuwu-mod token.
4901 (ruby-smie--forward-token): Do not include a dot after a token in
4903 (ruby-smie--backward-token): Likewise.
4905 2013-10-08 Juri Linkov <juri@jurta.org>
4907 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4908 to isearch-other-control-char.
4909 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4910 and isearch-post-command-hook to post-command-hook.
4911 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4912 and isearch-post-command-hook from post-command-hook.
4913 (isearch-unread-key-sequence)
4914 (isearch-reread-key-sequence-naturally)
4915 (isearch-lookup-scroll-key, isearch-other-control-char)
4916 (isearch-other-meta-char): Remove functions.
4917 (isearch-pre-command-hook, isearch-post-command-hook):
4918 New functions based on isearch-other-meta-char rewritten
4919 relying on the new behavior of overriding-terminal-local-map
4920 that does not replace the local keymaps any more. (Bug#15200)
4922 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4924 Support menus on text-mode terminals.
4925 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4928 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4930 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4931 Move here from mouse.el.
4932 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4934 (tty-menu-navigation-map): New map for TTY menu navigation.
4936 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4938 * frame.el (display-mouse-p): Report text-mode mouse as available
4940 (display-popup-menus-p): Report availability if mouse is
4941 available; don't condition on window-system.
4943 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4944 (tty-menu-selected-face): New faces.
4946 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4948 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4949 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4950 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4951 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4953 (lisp-mode-variables): New `elisp' argument.
4954 (emacs-lisp-mode): Use it.
4955 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4956 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4958 * indent.el: Use lexical-binding.
4959 (indent-region): Add progress reporter.
4960 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4962 (indent--next-tab-stop): New function to implement this behavior.
4963 (tab-to-tab-stop, move-to-tab-stop): Use it.
4965 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4967 * indent.el (indent-rigidly--current-indentation): New function.
4968 (indent-rigidly-map): New var.
4969 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4971 2013-10-08 Bastien Guerry <bzg@gnu.org>
4973 * register.el (insert-register): Fix 2013-10-07 change.
4975 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4977 * progmodes/perl-mode.el: Use lexical-binding.
4978 Remove redundant :group args.
4979 (perl-nochange): Change default to be closer to other major modes's
4981 (perl-indent-line): Don't consider text on current line as a
4982 valid beginning of function from which to indent.
4984 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4985 with more than one argument (bug#15538).
4987 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4989 * vc/pcvs.el: Use lexical-binding.
4990 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4991 environment of `eval'.
4992 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4993 than a list of expressions. Adjust callers.
4994 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4996 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4998 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4999 case of the dot in a chained method call being on the following line.
5001 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5003 * electric.el (electric-indent-inhibit): New var.
5004 (electric-indent-post-self-insert-function): Use it.
5005 * progmodes/python.el (python-mode): Set it.
5007 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5010 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5012 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5013 (css-mode): Use electric-indent-chars.
5015 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5016 (font-lock-beg, font-lock-end): Move before first use.
5017 (nxml-mode): Use syntax-propertize-function.
5018 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5019 (nxml-extend-after-change-region): Remove.
5020 * nxml/xmltok.el: Use lexical-binding.
5021 (xmltok-save): Use `declare'.
5022 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5023 * nxml/nxml-util.el: Use lexical-binding.
5024 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5026 * nxml/nxml-ns.el: Use lexical-binding.
5027 (nxml-ns-save): Use `declare'.
5028 (nxml-ns-prefixes-for): Avoid add-to-list.
5029 * nxml/rng-match.el: Use lexical-binding.
5030 (rng--ipattern): Use cl-defstruct.
5031 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5032 (rng-cons-group-after, rng-subst-group-after)
5033 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5034 Use closures instead of `(lambda...).
5036 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5038 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5041 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5042 Use `tramp-handle-insert-file-contents'.
5043 (tramp-gvfs-handle-insert-file-contents): Remove function.
5045 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5046 Use `save-restriction' in order to keep markers.
5048 * net/trampver.el: Update release number.
5050 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5052 * progmodes/compile.el (compilation-parse-errors):
5053 Use compilation--put-prop.
5054 (compilation--ensure-parse): Check compilation-multiline.
5056 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5058 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5061 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5063 * progmodes/ruby-mode.el: Fix recently added tests.
5064 (ruby-smie-grammar): Add - and +.
5065 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5066 (ruby-smie--backward-id): New functions.
5067 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5068 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5071 2013-10-07 Leo Liu <sdl.web@gmail.com>
5073 * register.el (register-preview-delay)
5074 (register-preview-functions): New variables.
5075 (register-read-with-preview, register-preview)
5076 (register-describe-oneline): New functions.
5077 (point-to-register, window-configuration-to-register)
5078 (frame-configuration-to-register, jump-to-register)
5079 (number-to-register, view-register, insert-register)
5080 (copy-to-register, append-to-register, prepend-to-register)
5081 (copy-rectangle-to-register): Use register-read-with-preview to
5082 read register. (Bug#15525)
5084 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5086 * net/network-stream.el (network-stream-open-starttls): Don't add
5087 --insecure if it's already present, because that gnutls-cli
5088 rejects getting that parameter twice.
5090 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5092 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5095 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5097 * newcomment.el (comment-use-global-state): Change default value
5098 to t, mark obsolete (Bug#15251).
5099 (comment-beginning): In addition to `comment-to-syntax', check the
5100 value of `comment-use-global-state'.
5102 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5104 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5105 (ruby-comment-column): Follow the global default, by default.
5106 (ruby-smie-grammar): Add assignment syntax.
5107 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5108 open-paren, a comma, or a \.
5109 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5110 and line continuations.
5111 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5112 followed by implicit semi-colons. Add rule for string concatenation
5113 and for indentation at BOB.
5114 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5116 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5117 calling next-sexp, since next-token may have skipped chars which
5118 next-sexp doesn't know should be skipped!
5120 2013-10-05 Leo Liu <sdl.web@gmail.com>
5122 * progmodes/octave.el (octave-send-region):
5123 Call compilation-forget-errors.
5125 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5127 * vc/vc-svn.el (vc-svn-find-admin-dir):
5128 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5129 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5130 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5131 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5133 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5137 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5139 * subr.el (read-passwd): Hide chars even when called within a context
5140 where after-change-functions is disabled (bug#15501).
5141 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5142 until we removed ourself from overriding-terminal-local-map.
5144 2013-10-04 Leo Liu <sdl.web@gmail.com>
5146 * progmodes/octave.el (inferior-octave-mode):
5147 Call compilation-forget-errors.
5149 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5151 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5153 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5155 * net/secrets.el (secrets-create-collection): Add optional
5156 argument ALIAS. Use proper Label keyword. Append ALIAS as
5157 dbus-call-method argument. (Bug#15516)
5159 2013-10-04 Leo Liu <sdl.web@gmail.com>
5161 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5162 (inferior-octave-compilation-font-lock-keywords): New variables.
5163 (compilation-error-regexp-alist)
5164 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5165 (inferior-octave-mode): Use compilation-shell-minor-mode.
5167 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5169 * minibuffer.el (completion--replace): Be careful that `end' might be
5172 2013-10-03 Daiki Ueno <ueno@gnu.org>
5174 Add support for package signature checking.
5175 * emacs-lisp/package.el (url-http-file-exists-p)
5176 (epg-make-context, epg-context-set-home-directory)
5177 (epg-verify-string, epg-context-result-for)
5178 (epg-signature-status, epg-signature-to-string)
5179 (epg-check-configuration, epg-configuration)
5180 (epg-import-keys-from-file): Declare.
5181 (package-check-signature): New user option.
5182 (package-unsigned-archives): New user option.
5183 (package-desc): Add `signed' field.
5184 (package-load-descriptor): Set `signed' field if .signed file exists.
5185 (package--archive-file-exists-p): New function.
5186 (package--check-signature): New function.
5187 (package-install-from-archive): Check package signature.
5188 (package--download-one-archive): Check archive signature.
5189 (package-delete): Remove .signed file.
5190 (package-import-keyring): New command.
5191 (package-refresh-contents): Import default keyring.
5192 (package-desc-status): Add "unsigned" status.
5193 (describe-package-1, package-menu--print-info)
5194 (package-menu-mark-delete, package-menu--find-upgrades)
5195 (package-menu--status-predicate): Support "unsigned" status.
5197 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5199 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5200 the new compilation scheme using the new byte-codes.
5202 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5203 (byte-pophandler): New byte codes.
5204 (byte-goto-ops): Adjust accordingly.
5205 (byte-compile--use-old-handlers): New var.
5206 (byte-compile-catch): Use new byte codes depending on
5207 byte-compile--use-old-handlers.
5208 (byte-compile-condition-case--old): Rename from
5209 byte-compile-condition-case.
5210 (byte-compile-condition-case--new): New function.
5211 (byte-compile-condition-case): New function that dispatches depending
5212 on byte-compile--use-old-handlers.
5213 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5216 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5217 Optimize under `condition-case' and `catch' if
5218 byte-compile--use-old-handlers is nil.
5219 (disassemble-offset): Handle new bytecodes.
5221 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5223 * subr.el (error): Use `declare'.
5224 (decode-char, encode-char): Use advertised-calling-convention instead
5225 of the docstring to discourage use of the `restriction' arg.
5227 2013-10-03 Daiki Ueno <ueno@gnu.org>
5229 * epg.el (epg-verify-file): Add a comment saying that it does not
5230 notify verification error as a return value nor a signal.
5231 (epg-verify-string): Ditto.
5233 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5235 * progmodes/compile.el (compilation-start): Try globbing the arg to
5238 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5240 Sync with Tramp 2.2.8.
5242 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5243 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5244 * net/trampver.el: Update release number.
5246 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5248 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5249 and default-process-coding-system for darwin only.
5251 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5253 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5255 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5257 * vc/vc-git.el (vc-git-grep): Disable pager.
5259 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5261 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5262 Use :url instead of :homepage, as per
5263 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5265 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5266 non-nil, use `syntax-ppss' (Bug#15251).
5268 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5270 * progmodes/octave.el (inferior-octave-startup-file):
5271 Prefer ~/.emacs.d/init_octave.m.
5273 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5275 * emacs-lisp/package.el (package-desc-from-define):
5276 Accept additional arguments as plist, convert them to an alist and store
5277 them in the `extras' slot.
5278 (package-generate-description-file): Convert extras alist back to
5279 plist and append to the `define-package' form arguments.
5280 (package--alist-to-plist): New function.
5281 (package--ac-desc): Add `extras' slot.
5282 (package--add-to-archive-contents): Check if the archive-contents
5283 vector is long enough, and if it is, pass its `extras' slot value
5284 to `package-desc-create'.
5285 (package-buffer-info): Call `lm-homepage', pass the returned value
5286 to `package-desc-from-define'.
5287 (describe-package-1): Render the homepage button (Bug#13291).
5289 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5290 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5292 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5294 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5295 and default-process-coding-system to utf-8-unix (Bug#15402).
5297 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5299 * subr.el (looking-back): Do not recommend using looking-back.
5301 2013-09-28 Alan Mackenzie <acm@muc.de>
5303 Fix indentation/fontification of Java enum with "implements".
5305 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5306 regexp which matches "implements", etc., in Java.
5307 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5308 specifier clauses coming after "enum".
5309 * progmodes/cc-fonts.el (c-font-lock-declarations)
5310 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5313 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5315 * faces.el (region): Change ns_selection_color to
5316 ns_selection_fg_color, add ns_selection_bg_color.
5318 2013-09-28 Leo Liu <sdl.web@gmail.com>
5320 * progmodes/octave.el (inferior-octave-completion-table)
5321 (inferior-octave-completion-at-point): Minor tweaks.
5323 * textmodes/ispell.el (ispell-lookup-words): Rename from
5324 lookup-words. (Bug#15460)
5325 (lookup-words): Obsolete.
5326 (ispell-complete-word, ispell-command-loop): All uses changed.
5328 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5330 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5331 (octave-mode-menu): Add octave-send-buffer.
5332 (octave-send-buffer): New function.
5334 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5336 * progmodes/octave.el (octave-mode-map): Add key binding for
5338 (octave-mode-menu): Add octave-lookfor.
5339 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5341 (octave-lookfor): New function.
5343 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5345 * emacs-lisp/cl-macs.el:
5346 (cl--loop-destr-temps): Remove.
5347 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5349 (cl--loop-set-iterator-function): New function.
5350 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5351 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5352 Bind `it' with `let' instead of substituting it with `cl-subst'.
5353 (cl--unused-var-p): New function.
5354 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5355 Eliminate some unused variable warnings (bug#15326).
5357 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5359 * doc-view.el (doc-view-scale-reset): Rename from
5360 `doc-view-reset-zoom-level'.
5361 (doc-view-scale-adjust): New command.
5362 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5363 `doc-view-scale-adjust'.
5365 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5367 * doc-view.el (doc-view-reset-zoom-level): New command.
5368 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5369 zoom commands (bug#15466).
5371 2013-09-26 Kenichi Handa <handa@gnu.org>
5373 * international/quail.el (quail-help): Make it not a command.
5375 2013-09-26 Leo Liu <sdl.web@gmail.com>
5377 * minibuffer.el (completion-all-sorted-completions): Make args
5378 optional as they are.
5380 2013-09-25 Daniel Colascione <dancol@dancol.org>
5382 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5383 specs are and that they're not evaluated.
5385 2013-09-24 Sam Steingold <sds@gnu.org>
5387 * midnight.el (clean-buffer-list-kill-regexps)
5388 (clean-buffer-list-kill-buffer-names): Update for the new Man
5389 buffer naming which includes the object name.
5391 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5393 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5394 (eshell-parse-command, eshell-parse-pipeline): Use it since
5395 eshell-separate-commands requires a dynamic scoped var.
5396 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5398 2013-09-23 Leo Liu <sdl.web@gmail.com>
5400 * autoinsert.el (auto-insert-alist): Make the value of
5401 lexical-binding match its file setting.
5403 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5405 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5407 * autoarg.el (autoarg-kp-digit-argument):
5408 * electric.el (Electric-command-loop):
5409 * kmacro.el (kmacro-step-edit-insert):
5410 Do not set universal-argument-num-events.
5412 2013-09-22 Leo Liu <sdl.web@gmail.com>
5414 * files.el (interpreter-mode-alist): Add octave.
5416 2013-09-21 Alan Mackenzie <acm@muc.de>
5418 C++: fontify identifier in declaration following "public:" correctly.
5419 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5420 to match "public", etc.
5421 (c-decl-prefix-re): Add ":" into the C++ value.
5422 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5423 bit. Add a check for a ":" preceded by "public", etc.
5425 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5427 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5428 recognized by GDB 7.5 and later.
5430 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5432 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5434 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5436 * subr.el (internal--call-interactively): New const.
5437 (called-interactively-p): Use it (bug#3984).
5439 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5441 * vc/pcvs.el (cvs-mode-ignore):
5442 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5443 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5445 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5447 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5448 (eshell-ls-orig-insert-directory): Remove.
5449 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5450 (eshell-ls-use-in-dired): Use advice-add/remove.
5451 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5452 Add `orig-fun' arg for use in :around advice.
5453 Make it check (redundantly) eshell-ls-use-in-dired.
5455 2013-09-19 Glenn Morris <rgm@gnu.org>
5457 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5459 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5461 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5463 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5465 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5466 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5467 (tramp-get-remote-python): New defuns.
5468 (tramp-get-remote-uid-with-perl)
5469 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5470 contributed by yary <not.com@gmail.com> (tiny change).
5471 (tramp-get-remote-uid-with-python)
5472 (tramp-get-remote-gid-with-python): New defuns. Python code
5473 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5474 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5476 2013-09-19 Glenn Morris <rgm@gnu.org>
5478 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5480 * eshell/em-unix.el (eshell-remove-entries):
5481 Rename argument to avoid name-clash with global `top-level'.
5483 * eshell/esh-proc.el (eshell-kill-process-function):
5484 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5485 (eshell-reset-after-proc): Remove unused arg `proc'.
5487 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5488 (directory-files-and-attributes): Mark unused arg.
5490 * eshell/em-unix.el (eshell-remove-entries):
5491 Remove unused arg `path'. Update callers.
5493 * eshell/em-hist.el (eshell-hist-parse-arguments):
5494 Remove unused arg `silent'. Update callers.
5496 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5497 Fix (f)boundp mix-up.
5499 * eshell/em-smart.el (eshell-smart-scroll-window)
5500 (eshell-disable-after-change):
5501 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5503 2013-09-18 Alan Mackenzie <acm@muc.de>
5505 Fix fontification of type when followed by "const".
5506 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5507 "known" types from fontification.
5509 2013-09-18 Glenn Morris <rgm@gnu.org>
5511 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5512 (chart-face-list): Drop Emacsen without display-color-p.
5514 * net/eww.el (libxml-parse-html-region): Declare.
5515 (eww-display-html): Explicit error if no libxml2 support.
5517 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5519 * image.el (image-type-from-buffer, image-multi-frame-p):
5520 Remove --without-x warning/error.
5522 * mouse.el (mouse-yank-primary):
5523 * term.el (term-mouse-paste):
5524 Reorder to silence --without-x compilation.
5526 * mpc.el (doc-view-mode): Silence --without-x compilation.
5528 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5529 Silence --without-x compilation.
5531 * progmodes/gud.el (gud-find-file, gud-mode):
5532 Silence --without-x compilation.
5533 (tooltip-mode): Declare.
5535 * wdired.el (dired-backup-overwrite): Remove declaration.
5536 (wdired-mode-map): Add doc string.
5538 * custom.el (x-get-resource): Declare.
5540 * eshell/em-glob.el (ange-cache):
5541 * eshell/em-unix.el (ange-cache): Declare.
5543 * faces.el (x-display-list, x-open-connection, x-get-resource):
5546 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5547 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5550 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5552 * net/gnutls.el (gnutls-log-level): Declare.
5554 * net/shr.el (image-size, image-animate): Declare.
5556 * simple.el (font-info): Declare.
5558 * subr.el (x-popup-dialog): Declare.
5560 * term/common-win.el (x-select-enable-primary)
5561 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5564 * term/ns-win.el (x-handle-args): Declare.
5566 * term/x-win.el (x-select-enable-clipboard): Declare.
5568 * term/w32-win.el (create-default-fontset): Declare.
5570 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5573 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5574 (fit-frame-to-buffer): Explicit error if --without-x.
5575 (mouse-autoselect-window-select): Silence compiler.
5577 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5579 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5580 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5581 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5582 * eshell/esh-util.el (eshell-sublist):
5583 Remove unused local variables.
5585 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5587 * textmodes/two-column.el: Make 2C-split work for --without-x.
5588 (scroll-bar-columns): Autoload.
5589 (top-level): Require fringe when compiling.
5591 2013-09-18 Leo Liu <sdl.web@gmail.com>
5593 * subr.el (add-hook): Robustify to handle closure as well.
5595 2013-09-17 Glenn Morris <rgm@gnu.org>
5597 * simple.el (messages-buffer-mode-map): Unbind "g".
5599 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5601 * help-mode.el (help-mode-finish): Use derived-mode-p.
5602 Remove obsolete highlighting.
5604 * play/life.el (life-mode): Use define-derived-mode. Derive from
5606 (life): Let-bind inhibit-read-only.
5607 (life-setup): Avoid `setq'. Use `life-mode'.
5609 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5610 which should not be needed any more.
5611 (package-menu-refresh, package-menu-describe-package): Use user-error.
5613 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5614 (eshell-post-rewrite-command-hook): Make obsolete.
5615 (eshell-parse-command): Simplify.
5616 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5617 (eshell--cmd): Declare.
5618 (eshell-parse-pipeline): Remove unused var `final-p'.
5619 Pass a dynvar to eshell-post-rewrite-command-hook.
5620 Implement the new eshell-post-rewrite-command-function.
5621 (eshell-invoke-directly): Remove unused arg `input'.
5622 * eshell/esh-io.el (eshell-io-initialize):
5623 Use eshell-post-rewrite-command-function (bug#15399).
5624 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5625 adjust to new calling convention.
5626 (eshell-create-handles): Rename args to avoid clashing with dynvar
5629 2013-09-17 Glenn Morris <rgm@gnu.org>
5631 * simple.el (messages-buffer-mode): New major mode.
5632 (messages-buffer): New function.
5633 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5634 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5635 (ert-run-test): Use `messages-buffer' function.
5636 (ert--force-message-log-buffer-truncation): Ignore read-only.
5637 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5638 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5640 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5642 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5644 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5646 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5648 * icomplete.el (icomplete-in-buffer): New var.
5649 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5650 vars and replace them with functions.
5651 (icomplete-minibuffer-setup): Adjust accordingly.
5652 (icomplete--completion-table, icomplete--completion-predicate)
5653 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5655 (icomplete-forward-completions, icomplete-backward-completions)
5656 (icomplete-simple-completing-p, icomplete-exhibit)
5657 (icomplete-completions): Use them.
5658 (icomplete--in-region-buffer): New var.
5659 (icomplete--in-region-setup): New function.
5660 (icomplete-mode): Use it.
5662 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5664 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5665 return args and options.
5666 (eshell-eval-using-options): Use the new return value of
5667 eshell--do-opts to set the options's vars in their scope.
5668 (eshell--set-option): Rename from eshell-set-option.
5670 (eshell--process-option): Rename from eshell-process-option.
5672 (eshell--process-args): Use an `opt-vals' alist to store the options's
5673 values during their processing and return them additionally to the
5676 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5678 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5679 continuation character an operator, as far as indentation is
5680 concerned (Bug#15369).
5682 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5684 * window.el (window--state-put-2): Don't process buffer state
5685 when buffer doesn't exist any more (Bug#15382).
5687 2013-09-15 Glenn Morris <rgm@gnu.org>
5689 * eshell/em-unix.el (eshell/rm):
5690 Make -f ignore missing files. (Bug#15373)
5692 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5693 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5694 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5696 2013-09-14 Glenn Morris <rgm@gnu.org>
5698 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5700 2013-09-13 Glenn Morris <rgm@gnu.org>
5702 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5703 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5705 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5707 * frame.el (x-focus-frame): Mark as declared in frame.c.
5709 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5711 * ls-lisp.el: Use advice-add.
5712 (original-insert-directory): Remove.
5713 (ls-lisp--insert-directory): Rename from insert-directory; add
5714 `orig-fun' argument.
5715 (insert-directory): Advise.
5717 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5719 * term.el (term-emulate-terminal): Decode the command string
5720 before passing it to term-command-hook. (Bug#15337)
5722 2013-09-13 Glenn Morris <rgm@gnu.org>
5724 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5726 * eshell/esh-ext.el (eshell-search-path): Declare.
5728 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5729 Otherwise an error occurs if eshell-dirs module not loaded.
5731 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5733 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5735 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5736 `tramp-check-proper-host'. Check for a valid method name.
5738 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5739 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5740 * net/tramp-sh.el (tramp-maybe-open-connection):
5741 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5743 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5744 also for hash values.
5746 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5748 * term/ns-win.el (parameters): Don't declare as dynamic.
5749 (before-make-frame-hook): Don't add ineffective function.
5751 * eshell/*.el: Use lexical-binding (bug#15231).
5753 2013-09-12 Kenichi Handa <handa@gnu.org>
5755 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5757 2013-09-12 Glenn Morris <rgm@gnu.org>
5759 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5760 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5762 * subr.el (do-after-load-evaluation): Also give compiler warnings
5763 when obsolete files are used (except by obsolete files).
5765 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5766 in the status output, assume `filename' is the first. (Bug#15322)
5768 * vc/vc.el (vc-deduce-fileset): Doc fix.
5770 * calc/calc-help.el (Info-goto-node):
5771 * progmodes/cperl-mode.el (Info-find-node):
5772 * vc/ediff.el (Info-goto-node): Update declarations.
5774 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5776 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5777 (vc-bzr-pull): Require vc-dispatcher.
5778 * vc/vc-git.el (vc-compilation-mode): Declare.
5779 (vc-git-pull): Require vc-dispatcher.
5781 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5783 * progmodes/octave.el (help-button-action): Declare.
5785 * shell.el (shell-directory-tracker): Output error as a message
5786 rather than just returning it as a string.
5787 (shell-process-pushd): Remove useless use of message.
5789 * dframe.el (dframe-timer-fn):
5790 * files.el (dir-locals-read-from-file):
5791 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5793 * reveal.el (reveal-post-command):
5794 * saveplace.el (load-save-place-alist-from-file):
5795 * shell.el (shell-resync-dirs):
5796 * w32-common-fns.el (x-get-selection-value):
5797 * emacs-lisp/copyright.el (copyright-find-copyright):
5798 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5799 * emulation/tpu-edt.el (tpu-copy-keyfile):
5800 * play/bubbles.el (bubbles--mark-neighbourhood):
5801 * progmodes/executable.el
5802 (executable-make-buffer-file-executable-if-script-p):
5803 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5805 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5807 Cleanup Eshell to rely less on dynamic scoping.
5808 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5809 last-value, and ext-command here. Bind `args' closer to `body'.
5810 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5811 (eshell--args): Declare new dynamic var.
5812 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5813 last-value, and ext-command. Pass `args' to `body'.
5814 (eshell-process-args): Bind eshell--args.
5815 (eshell-set-option): Use eshell--args.
5816 * eshell/eshell.el (eshell): Use derived-mode-p.
5817 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5818 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5819 (eshell-glob-function): Declare.
5820 * eshell/esh-util.el: Require cl-lib.
5821 (eshell-read-hosts-file): Avoid add-to-list.
5822 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5824 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5826 (eshell/diff): Remove unused var `err'.
5827 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5829 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5830 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5832 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5833 Move declaration before first use.
5834 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5835 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5838 2013-09-12 Glenn Morris <rgm@gnu.org>
5840 * term/ns-win.el (global-map): Remove binding for ispell-next,
5841 deleted 1999-05-29. (Bug#15357)
5843 2013-09-11 Glenn Morris <rgm@gnu.org>
5845 * echistory.el (electric-command-history): Remove call to deleted func.
5847 * play/landmark.el (landmark-mode): Fix typos.
5849 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5850 Check cvs-sort-ignore-file is bound.
5852 * savehist.el: No need for cl when compiling on Emacs.
5854 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5856 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5858 (eshell-self-insert-command, eshell-send-invisible):
5859 Remove unused argument.
5860 (eshell-handle-control-codes): Remove unused var `orig'.
5861 Avoid delete-backward-char.
5863 * files.el (set-auto-mode): Simplify a bit further.
5865 2013-09-11 Glenn Morris <rgm@gnu.org>
5867 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5868 (set-auto-mode): Don't regexp-quote elements.
5869 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5870 * progmodes/cc-mode.el (interpreter-mode-alist):
5871 * progmodes/ruby-mode.el (interpreter-mode-alist):
5872 Revert previous change.
5874 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5876 * play/snake.el (snake-mode):
5877 * play/mpuz.el (mpuz-mode):
5878 * play/landmark.el (lm-mode):
5879 * play/blackbox.el (blackbox-mode):
5880 * play/5x5.el (5x5-mode):
5881 * obsolete/options.el (Edit-options-mode):
5882 * net/quickurl.el (quickurl-list-mode):
5883 * net/newst-treeview.el (newsticker-treeview-mode):
5884 * mail/rmailsum.el (rmail-summary-mode):
5885 * mail/mspools.el (mspools-mode):
5886 * locate.el (locate-mode):
5887 * ibuffer.el (ibuffer-mode):
5888 * emulation/ws-mode.el (wordstar-mode):
5889 * emacs-lisp/debug.el (debugger-mode):
5890 * array.el (array-mode):
5891 * net/eudc.el (eudc-mode): Use define-derived-mode.
5892 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5893 Move initialization into declaration.
5894 (mairix-searches-mode): Use define-derived-mode.
5895 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5896 (eudc-edit-hotlist): Use dolist.
5897 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5898 (Man-mode): Use define-derived-mode.
5899 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5900 (Info-edit-mode): Use define-derived-mode.
5901 (Info-cease-edit): Use Info-mode.
5902 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5904 (eshell-mode): Use define-derived-mode.
5905 * chistory.el (command-history-mode-map): Rename from
5906 command-history-map.
5907 (command-history-mode): Use define-derived-mode.
5908 (Command-history-setup): Remove function.
5909 * calc/calc.el (calc-trail-mode-map): New var.
5910 (calc-trail-mode): Use define-derived-mode.
5911 (calc-trail-buffer): Set calc-main-buffer manually.
5912 * bookmark.el (bookmark-insert-annotation): New function.
5913 (bookmark-edit-annotation): Use it.
5914 (bookmark-edit-annotation-mode): Make it a proper major mode.
5915 (bookmark-send-edited-annotation): Use derived-mode-p.
5916 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5917 closer to its ideal place. Use \' to match EOS.
5919 * profiler.el (profiler-calltree-find): Use function-equal.
5921 2013-09-10 Glenn Morris <rgm@gnu.org>
5923 * files.el (interpreter-mode-alist): Convert to regexps.
5924 (set-auto-mode): Adapt for this. (Bug#15306)
5925 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5926 Comment out unused variable.
5927 * progmodes/cc-mode.el (interpreter-mode-alist):
5928 * progmodes/python.el (interpreter-mode-alist):
5929 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5930 * progmodes/sh-script.el (sh-set-shell):
5931 No longer use interpreter-mode-alist to get list of shells.
5933 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5935 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5937 * simple.el: Use set-temporary-overlay-map for universal-argument.
5938 (universal-argument-map): Don't use default-bindings (bug#15317).
5939 Bind switch-frame explicitly. Replace universal-argument-minus with
5940 a conditional binding.
5941 (universal-argument-num-events, saved-overriding-map): Remove.
5942 (restore-overriding-map): Remove.
5943 (universal-argument--mode): Rename from save&set-overriding-map,
5945 (universal-argument, universal-argument-more, negative-argument)
5946 (digit-argument): Adjust accordingly.
5947 (universal-argument-minus): Remove.
5948 (universal-argument-other-key): Remove.
5950 * subr.el (with-demoted-errors): Add `format' argument.
5952 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5954 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5955 `tramp-cleanup-connection'.
5957 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5958 parameters KEEP-DEBUG and KEEP-PASSWORD.
5960 * net/tramp.el (tramp-file-name-handler):
5961 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5962 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5963 (tramp-maybe-open-connection):
5964 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5965 Use `tramp-cleanup-connection'.
5967 * net/tramp-sh.el (tramp-maybe-open-connection):
5968 Catch 'uname-changed inside the progress reporter.
5970 2013-09-10 Glenn Morris <rgm@gnu.org>
5972 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5974 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5975 returns "alternate access method" in mode (eg "-rw-r--r--.").
5977 2013-09-08 Glenn Morris <rgm@gnu.org>
5979 * saveplace.el (load-save-place-alist-from-file):
5980 Demote errors. (Bug#15305)
5982 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5984 Improve compatibility with older Emacsen, and XEmacs.
5986 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5987 only if it is bound. It isn't for XEmacs.
5988 (with-tramp-progress-reporter): Do not let-bind `result'.
5989 This yields to scoping errors in XEmacs.
5990 (tramp-handle-make-auto-save-file-name): New function, moved from
5993 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5994 for `make-auto-save-file-name'.
5995 (tramp-adb--gnu-switches-to-ash):
5996 Use `tramp-compat-replace-regexp-in-string'.
5998 * net/tramp-cache.el (tramp-cache-print): Call
5999 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6001 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6002 bound. It isn't for XEmacs.
6004 * net/tramp-compat.el (tramp-compat-copy-file):
6005 Catch `wrong-number-of-arguments' error.
6006 (tramp-compat-replace-regexp-in-string): New defun.
6008 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6009 for `make-auto-save-file-name'.
6010 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6012 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6013 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6014 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6016 * net/tramp-gw.el (tramp-gw-open-network-stream):
6017 Use `tramp-compat-replace-regexp-in-string'.
6019 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6020 Call `tramp-handle-make-auto-save-file-name'.
6021 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6022 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6023 (tramp-sh-file-inotifywait-process-filter):
6024 Use `tramp-compat-replace-regexp-in-string'.
6025 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6027 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6028 for `make-auto-save-file-name'.
6029 (tramp-smb-handle-copy-directory):
6030 Call `tramp-compat-replace-regexp-in-string'.
6031 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6032 (tramp-smb-handle-copy-file): Improve error message.
6033 (tramp-smb-handle-rename-file): Rename directly only in case
6034 `newname' does not exist yet. This is a restriction of smbclient.
6035 (tramp-smb-maybe-open-connection): Rerun the function only when
6036 `auth-sources' is non-nil.
6038 2013-09-08 Kenichi Handa <handa@gnu.org>
6040 * international/characters.el: Set category "^" (Combining) for
6043 2013-09-07 Alan Mackenzie <acm@muc.de>
6045 Correctly fontify Java class constructors.
6046 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6048 (c-recognize-typeless-decls): Set the Java value to t.
6049 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6050 While handling a "(", add a check for, effectively, Java, and handle a
6051 "typeless" declaration there.
6053 2013-09-07 Roland Winkler <winkler@gnu.org>
6055 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6056 field subtitle for entry type book.
6058 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6060 * minibuffer.el: Make minibuffer-complete call completion-in-region
6061 rather than other way around.
6062 (completion--some, completion-pcm--find-all-completions):
6063 Don't delay signals when debugging.
6064 (minibuffer-completion-contents): Beware fields within the
6065 minibuffer contents.
6066 (completion-all-sorted-completions): Use defvar-local.
6067 (completion--do-completion, completion--cache-all-sorted-completions)
6068 (completion-all-sorted-completions, minibuffer-force-complete):
6069 Add args `beg' and `end'.
6070 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6071 (minibuffer-complete): Use completion-in-region.
6072 (completion-complete-and-exit): New fun, extracted from
6073 minibuffer-complete-and-exit.
6074 (minibuffer-complete-and-exit): Use it.
6075 (completion--complete-and-exit): Rename from
6076 minibuffer--complete-and-exit.
6077 (completion-in-region--single-word): New function, extracted from
6078 minibuffer-complete-word.
6079 (minibuffer-complete-word): Use it.
6080 (display-completion-list): Make `common-substring' argument obsolete.
6081 (completion--in-region): Call completion--in-region-1 instead of
6082 minibuffer-complete.
6083 (completion-help-at-point): Pass boundaries to
6084 minibuffer-completion-help as args rather than via an overlay.
6085 (completion-pcm--string->pattern): Use `any-delim'.
6086 (completion-pcm--optimize-pattern): New function.
6087 (completion-pcm--pattern->regex): Handle `any-delim'.
6088 * icomplete.el (icomplete-forward-completions)
6089 (icomplete-backward-completions, icomplete-completions):
6090 Adjust calls to completion-all-sorted-completions and
6091 completion--cache-all-sorted-completions.
6092 (icomplete-with-completion-tables): Default to t.
6093 * emacs-lisp/crm.el (crm--current-element): Rename from
6094 crm--select-current-element. Don't put an overlay but return the
6096 (crm--completion-command): Take two new args to bind to the boundaries.
6097 (crm-completion-help): Adjust accordingly.
6098 (crm-complete): Use completion-in-region.
6099 (crm-complete-word): Use completion-in-region--single-word.
6100 (crm-complete-and-exit): Use completion-complete-and-exit.
6102 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6104 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6107 2013-09-06 Juri Linkov <juri@jurta.org>
6109 * info.el (Info-display-images-node): When image file doesn't exist
6110 display text version of the image if it's provided in the Info file.
6111 Otherwise, display the location of missing image from SRC attribute.
6112 Add help-echo text property from ALT attribute. (Bug#15279)
6114 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6116 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6117 (edit-abbrevs-mode): Use define-derived-mode.
6119 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6120 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6122 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6123 Use define-derived-mode.
6125 * epg.el (epg-start-encrypt): Minor CSE simplification.
6127 2013-09-06 William Xu <william.xwl@gmail.com>
6129 * arc-mode.el: Add support for 7za (bug#15264).
6130 (archive-7z-program): New var.
6131 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6132 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6133 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6135 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6139 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6140 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6141 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6142 (tramp-postfix-host-format, tramp-file-name-regexp)
6143 (tramp-completion-file-name-regexp)
6144 (tramp-completion-dissect-file-name)
6145 (tramp-handle-substitute-in-file-name): Remove 'url case.
6146 (tramp-file-name-regexp-url)
6147 (tramp-completion-file-name-regexp-url): Remove constants.
6149 2013-09-06 Glenn Morris <rgm@gnu.org>
6151 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6153 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6155 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6156 keywords" below "here-doc beginnings" (Bug#15270).
6158 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * subr.el (pop): Use `car-safe'.
6161 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6162 to detect unused `pop' return value.
6164 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6166 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6167 (python-fill-string): Remove unused var `marker'.
6168 (python-skeleton-add-menu-items): Remove unused var `items'.
6170 * international/mule-cmds.el: Require CL.
6171 (find-coding-systems-for-charsets): Avoid add-to-list.
6172 (sanitize-coding-system-list): New function, extracted from
6173 select-safe-coding-system-interactively.
6174 (select-safe-coding-system-interactively): Use it.
6175 (read-input-method-name): Accept symbols for `default'.
6177 * emacs-lisp/advice.el (defadvice): Add indent rule.
6179 2013-09-05 Daniel Hackney <dan@haxney.org>
6183 * net/browse-url.el:
6186 * net/eudcb-ldap.el:
6199 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6200 byte compiler. Remove some unused let-bound variables.
6202 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6204 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6205 a "ref-cell", since it gets better optimized (bug#14883).
6207 2013-09-05 Glenn Morris <rgm@gnu.org>
6209 * progmodes/cc-awk.el (c-forward-sws): Declare.
6211 2013-09-04 Glenn Morris <rgm@gnu.org>
6213 * generic-x.el [rul-generic-mode]: Require cc-mode.
6214 (c++-mode-syntax-table): Declare.
6215 (rul-generic-mode-syntax-table): Init in the defvar.
6217 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6219 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6220 (vc-do-command, vc-set-async-update):
6221 * vc/vc-mtn.el (vc-mtn-dir-status):
6222 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6223 (vc-hg-pull, vc-hg-merge-branch):
6224 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6225 (vc-git-merge-branch):
6226 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6227 (vc-cvs-dir-status-files):
6228 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6229 (vc-bzr-dir-status-files):
6230 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6231 * vc/vc-annotate.el: Use lexical-binding.
6232 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6233 (vc-sentinel-movepoint): Declare.
6234 (vc-annotate): Don't use `goto-line'.
6235 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6236 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6237 (vc-sentinel-movepoint): Declare.
6238 * vc/vc-svn.el: Use lexical-binding.
6239 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6241 * vc/vc-rcs.el: Use lexical-binding.
6243 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6244 `deleted'. Don't drop errors silently.
6246 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6248 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6250 * vc/vc.el (vc-ignore): Rewrite.
6251 (vc-default-ignore): New function.
6252 (vc-default-ignore-completion-table): Use find-ignore-file.
6254 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6255 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6256 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6257 Remove. Most code moved to vc.el.
6259 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6261 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6262 * net/tramp-smb.el (tramp-smb-get-file-entries):
6263 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6264 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6266 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6268 (eww-change-select): Remove unused var `properties'.
6269 (eww-make-unique-file-name): Remove unused var `base'.
6271 * finder.el (finder-compile-keywords): Don't mess with windows.
6273 * calculator.el (calculator-funcall): Fix typo in last change.
6275 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6277 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6278 <pkg>-autoloads.el file stop us.
6280 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6281 warnings, and factor out common code.
6283 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6285 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6286 two-character operators and whether the character preceding them
6287 changes their meaning (Bug#15208).
6289 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6291 Format code sent to Python shell for robustness.
6292 * progmodes/python.el (python-shell-buffer-substring):
6294 (python-shell-send-region, python-shell-send-buffer): Use it.
6296 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6298 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6299 * net/tramp.el (tramp-user-error): ... here.
6300 (tramp-find-method, tramp-check-proper-host)
6301 (tramp-dissect-file-name, tramp-debug-message)
6302 (tramp-handle-shell-command):
6303 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6304 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6306 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6308 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6310 * avoid.el (mouse-avoidance-point-position)
6311 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6314 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6316 * progmodes/python.el (python-shell-completion-get-completions):
6317 Drop use of deleted `comint-last-prompt-overlay'.
6318 (python-nav-if-name-main): New command.
6320 2013-09-01 Glenn Morris <rgm@gnu.org>
6322 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6323 Avoid leading space in $wins. Otherwise the sed command used by
6324 eg compile-main ends up containing "/*.el". (Bug#15170)
6326 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6328 2013-08-30 Glenn Morris <rgm@gnu.org>
6330 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6331 Fix is-this-a-directory logic. (Bug#15220)
6333 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6335 * textmodes/css-mode.el: Use SMIE.
6336 (css-smie-grammar): New var.
6337 (css-smie--forward-token, css-smie--backward-token)
6338 (css-smie-rules): New functions.
6339 (css-mode): Use them.
6340 (css-navigation-syntax-table): Remove var.
6341 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6342 (css-indent-calculate, css-indent-line): Remove functions.
6344 Misc changes to reduce use of `(lambda...); and other cleanups.
6345 * cus-edit.el: Use lexical-binding.
6346 (customize-push-and-save, customize-apropos)
6347 (custom-buffer-create-internal): Use closures.
6348 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6349 * progmodes/ada-xref.el: Use setq.
6350 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6351 * dframe.el: Use lexical-binding.
6352 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6353 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6354 * descr-text.el: Use lexical-binding.
6355 (describe-text-widget, describe-text-sexp, describe-property-list):
6357 * comint.el (comint-history-isearch-push-state): Use a closure.
6358 * calculator.el: Use lexical-binding.
6359 (calculator-number-to-string): Make it work with lexical-binding.
6360 (calculator-funcall): Same and use cl-letf.
6362 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6363 (lisp--company-doc-string, lisp--company-location): New functions.
6364 (lisp-completion-at-point): Use them to improve Company support.
6366 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6367 params of lambda expressions.
6368 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6369 (ruby-smie--opening-pipe-p): New function.
6370 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6371 symbols and matched |...| for formal params.
6372 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6373 from being treated as hanging. Handle "rescue".
6375 2013-08-29 Glenn Morris <rgm@gnu.org>
6377 * progmodes/cc-engine.el (c-pull-open-brace):
6378 Move definition before use.
6380 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6382 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6383 are immutable. Don't use `unsafe' any more.
6384 (cl--defsubst-expand): Don't substitute at the same time as keeping
6385 a residual unused let-binding. Don't use `unsafe' any more.
6387 2013-08-29 Glenn Morris <rgm@gnu.org>
6389 * calendar/cal-china.el (calendar-chinese-year-cache):
6392 * nxml/nxml-util.el (nxml-debug-clear-inside):
6393 Use cl-loop rather than loop.
6395 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6397 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6399 2013-08-28 Glenn Morris <rgm@gnu.org>
6401 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6403 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6405 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6407 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6409 * simple.el (repeat-complex-command--called-interactively-skip):
6411 (repeat-complex-command): Use it (bug#14136).
6413 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6414 (c-define-abbrev-table): Add `doc' argument.
6415 (c-mode-abbrev-table, c++-mode-abbrev-table)
6416 (objc-mode-abbrev-table, java-mode-abbrev-table)
6417 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6418 (awk-mode-abbrev-table): Use it.
6419 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6420 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6421 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6422 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6423 Move initialization into the declaration; and remove any
6426 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6427 and dynamic let binding.
6429 * vc/smerge-mode.el: Remove redundant :group args.
6431 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6434 2013-08-28 Juri Linkov <juri@jurta.org>
6436 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6437 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6438 (isearch-other-meta-char): Handle an undefined shifted printing
6439 character by downshifting it. (Bug#15200)
6441 2013-08-28 Juri Linkov <juri@jurta.org>
6443 * isearch.el (isearch-search): Change regexp error message for
6444 non-regexp searches. (Bug#15166)
6446 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6448 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6449 for portability to hosts where /bin/sh has problems.
6451 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6453 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6455 2013-08-27 Juri Linkov <juri@jurta.org>
6457 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6458 in the keyboard macro. (Bug#15126)
6460 2013-08-27 Juri Linkov <juri@jurta.org>
6462 * isearch.el (isearch-quote-char): Comment out converting unibyte
6463 to multibyte, thus syncing with its `quoted-insert' counterpart.
6466 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6468 * window.el (display-buffer-use-some-window): Add missing
6469 argument in call of get-largest-window (Bug#15185).
6470 Reported by Stephen Leake.
6472 2013-08-27 Glenn Morris <rgm@gnu.org>
6474 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6476 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6479 from a matcher-function unless there's no more matches (bug#15161).
6481 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6483 * minibuffer.el: Revert change from 2013-08-20.
6485 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6486 with text property `tramp-default', if appropriate.
6487 (tramp-check-proper-host): New defun.
6488 (tramp-dissect-file-name): Do not check hostname. Revert change
6490 (tramp-backtrace): Make VEC-OR-PROC optional.
6492 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6493 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6494 * net/tramp-sh.el (tramp-maybe-open-connection):
6495 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6496 Apply `tramp-check-proper-host'.
6498 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6500 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6501 lambda expression in order to have `describe-variable' display it.
6503 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6505 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6506 BUF can be optional. (Bug#15186)
6508 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6510 * progmodes/flymake.el (flymake-get-real-file-name-function):
6511 Fix broken customization. (Bug#15184)
6513 2013-08-25 Alan Mackenzie <acm@muc.de>
6515 Improve indentation of bracelists defined by macros (without "=").
6517 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6518 expansion begins with "{", regard it as bracelist when it doesn't
6521 Parse C++ inher-intro when there's a template split over 2 lines.
6523 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6524 rigorously the search for "class" etc. followed by ":".
6526 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6527 random languages a regexp which never matches rather than nil.
6529 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6531 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6532 (c-awk-regexp-one-line-possibly-open-char-list-re)
6533 (c-awk-one-line-possibly-open-regexp-re)
6534 (c-awk-one-line-non-syn-ws*-re): Remove.
6535 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6536 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6537 (c-awk-space*-unclosed-regexp-/-re): New constants.
6538 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6539 aren't regexp delimiters.
6541 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6542 handling for a rare situation in AWK Mode involving unterminated
6545 2013-08-23 Glenn Morris <rgm@gnu.org>
6547 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6549 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6551 * files.el (create-file-buffer): If the result would begin with
6552 spaces, prepend a "|" instead of removing them. (Bug#15162)
6554 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6556 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6557 text-properties (bug#15155).
6559 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6561 (calc-keypad-redraw): Remove unused var `pad'.
6562 (calc-keypad-press): Remove unused var `menu'.
6564 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6566 * window.el (display-buffer-pop-up-frame):
6567 Call pop-up-frame-function with BUFFER current so `make-frame' will
6568 use it as the new frame's buffer (Bug#15133).
6570 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * calendar/timeclock.el: Minor cleanups.
6573 (timeclock-ask-before-exiting, timeclock-use-display-time):
6575 (timeclock-modeline-display): Define as alias before the
6577 (timeclock-mode-line-display): Use define-minor-mode.
6578 (timeclock-day-list-template): Make it a function, add an argument.
6579 (timeclock-day-list-required, timeclock-day-list-length)
6580 (timeclock-day-list-debt, timeclock-day-list-span)
6581 (timeclock-day-list-break): Adjust calls accordingly.
6583 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6585 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6586 Use read--expression so that completion works again.
6588 2013-08-21 Sam Steingold <sds@gnu.org>
6590 Add rudimentary inferior shell interaction
6591 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6592 (sh-set-shell): Reset it.
6593 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6594 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6596 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6598 * align.el: Use lexical-binding.
6599 (align-region): Simplify accordingly.
6601 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6603 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6605 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6608 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6612 * net/tramp-cmds.el:
6614 * net/tramp-gvfs.el:
6616 * net/tramp-sh.el: Don't wrap external variable declarations by
6617 `eval-when-compile'.
6619 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6621 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6622 now that Emacs supports ImageMagick animations.
6624 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6626 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6627 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6629 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6631 * window.el (mouse-autoselect-window-select): Do autoselect when
6632 mouse pointer is on margin.
6634 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6636 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6638 2013-08-16 Glenn Morris <rgm@gnu.org>
6640 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6641 Handle "Remote Directory" response of some clients. (Bug#15058)
6643 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6644 Tweak warning. (Bug#14926)
6646 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6647 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6649 * image-mode.el (image-mode-map): Add menu items to reverse,
6650 increase, decrease, reset animation speed.
6651 (image--set-speed, image-increase-speed, image-decrease-speed)
6652 (image-reverse-speed, image-reset-speed): New functions.
6653 (image-mode-map): Add bindings for speed commands.
6655 * image.el (image-animate-get-speed, image-animate-set-speed):
6657 (image-animate-timeout): Respect image :speed property.
6659 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6661 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6662 previous line (bug#15101).
6663 (debugger-eval-expression, debugger-record-expression):
6664 Use read--expression (bug#15102).
6666 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6668 Remove byte compiler warnings, visible when compiling with
6669 `byte-compile-force-lexical-warnings' set to t.
6671 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6672 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6673 (tramp-handle-unhandled-file-name-directory)
6674 (tramp-handle-file-notify-add-watch, tramp-action-login)
6675 (tramp-action-succeed, tramp-action-permission-denied)
6676 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6679 * net/tramp-adb.el (tramp-adb-parse-device-names)
6680 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6681 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6682 (tramp-adb-handle-file-truename): Remove unused arguments.
6684 * net/tramp-cache.el (tramp-flush-directory-property)
6685 (tramp-flush-connection-property, tramp-list-connections)
6686 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6688 * net/tramp-compat.el (tramp-compat-make-temp-file):
6689 Rename FILENAME to F.
6691 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6692 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6693 (tramp-zeroconf-parse-workstation-device-names)
6694 (tramp-zeroconf-parse-webdav-device-names)
6695 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6697 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6698 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6700 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6702 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6703 (tramp-sh-handle-insert-file-contents-literally)
6704 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6706 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6707 Remove unused variables.
6709 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6710 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6711 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6713 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6714 Make them a defconst.
6715 (tramp-uuencode-region): Remove unused variable.
6717 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6719 * frameset.el (frameset--prop-setter): New function.
6720 (frameset-prop): Add gv-setter declaration.
6721 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6722 parameter was already set in FILTERED. Doc fix.
6723 (frameset--record-minibuffer-relationships): Allow saving a
6724 minibufferless frame without its corresponding minibuffer frame.
6725 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6726 frame, if the frame id matches.
6727 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6728 frames before orphaned ones.
6729 (frameset-restore): Warn about orphaned windows, instead of error out.
6731 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6733 * window.el (window-make-atom): Don't overwrite parameter
6735 (display-buffer-in-atom-window): Handle special case where we
6736 split an already atomic window.
6737 (window--major-non-side-window, display-buffer-in-side-window)
6738 (window--side-check): Ignore minibuffer window when walking
6740 (window-deletable-p): Return 'frame only if no other frame uses
6741 our minibuffer window.
6742 (record-window-buffer): Run buffer-list-update-hook.
6743 (split-window): Make sure window--check-frame won't destroy an
6744 existing atomic window in case the new window gets nested
6746 (display-buffer-at-bottom): Ignore minibuffer window when
6747 walking window tree. Don't split a side window.
6748 (pop-to-buffer): Don't set-buffer here, the select-window call
6750 (mouse-autoselect-window-select): Autoselect only if we are in the
6751 text portion of the window.
6753 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6755 * net/shr.el (shr-parse-image-data): New function to grab both the
6756 data itself and the Content-Type.
6757 (shr-put-image): Use it.
6759 * net/eww.el (eww-display-image): Ditto.
6761 * image.el (image-content-type-suffixes): New variable.
6763 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6765 * progmodes/python.el (python-imenu--build-tree)
6766 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6768 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6770 * simple.el (backward-word): Mention the optional argument.
6772 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6774 * frameset.el (frameset--make): Rename constructor from make-frameset.
6775 (frameset-p, frameset-valid-p): Don't autoload.
6776 (frameset-valid-p): Use normal accessors.
6778 2013-08-13 Glenn Morris <rgm@gnu.org>
6780 * progmodes/compile.el (compile-command): Tweak example in doc.
6781 * obsolete/scribe.el (scribe-mode):
6782 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6784 * mail/feedmail.el (feedmail-confirm-outgoing)
6785 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6787 * cus-start.el (truncate-partial-width-windows): Fix type.
6789 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6791 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6793 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6795 * emacs-lisp/timer.el (timer--time-setter): New function.
6796 (timer--time): Use it as gv-setter.
6798 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6799 setter is not a symbol.
6801 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6803 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6804 if sending fails. This makes debugging easier.
6806 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6808 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6809 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6810 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6812 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6814 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6816 2013-08-12 Glenn Morris <rgm@gnu.org>
6818 * format.el (format-annotate-function):
6819 Handle read-only text properties in the source. (Bug#14887)
6821 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6823 * net/eww.el (eww-display-html): Ignore coding system errors.
6824 One web site uses "utf-8lias" as the coding system.
6826 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6828 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6830 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6832 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6833 (tutorial--detailed-help): Remove unused local variables.
6834 (tutorial--save-tutorial-to): Use ignore-errors.
6835 (help-with-tutorial): Use looking-at-p.
6837 * view.el (view-buffer-other-window, view-buffer-other-frame):
6838 Mark unused arguments.
6840 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6841 (woman-select-symbol-fonts, woman, woman-find-file)
6842 (woman-insert-file-contents, woman-non-underline-faces):
6844 (woman1-unquote): Move declaration.
6846 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6847 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6848 argument. Remove unused local variable.
6849 (xml-parse-elem-type): Use string-match-p.
6850 (xml-substitute-numeric-entities): Use ignore-errors.
6852 * calculator.el (calculator): Mark unused argument.
6853 (calculator-paste, calculator-quit, calculator-integer-p):
6855 (calculator-string-to-number, calculator-decimal, calculator-exp)
6856 (calculator-op-or-exp): Use string-match-p.
6858 * dired.el (dired-buffer-more-recently-used-p): Declare.
6859 (dired-insert-set-properties, dired-insert-old-subdirs):
6862 * dired-aux.el (dired-compress): Use ignore-errors.
6863 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6864 (dired-do-async-shell-command, dired-do-shell-command)
6865 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6866 (dired-insert-subdir-validate): Use string-match-p.
6867 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6868 (dired-add-entry): Use string-match-p, looking-at-p.
6869 (dired-insert-subdir-newpos): Remove unused local variable.
6871 * filenotify.el (file-notify-callback): Remove unused local variable.
6873 * filesets.el (filesets-error): Mark unused argument.
6874 (filesets-which-command-p, filesets-filter-dir-names)
6875 (filesets-directory-files, filesets-get-external-viewer)
6876 (filesets-ingroup-get-data): Use string-match-p.
6878 * find-file.el (ff-other-file-name, ff-other-file-name)
6879 (ff-find-the-other-file, ff-cc-hh-converter):
6880 Remove unused local variables.
6881 (ff-get-file-name): Use string-match-p.
6882 (ff-all-dirs-under): Use ignore-errors.
6884 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6885 (follow-select-if-visible): Remove unused local variable.
6887 * forms.el (read-file-filter): Move declaration.
6888 (forms--make-format, forms--make-parser, forms-insert-record):
6889 Quote function with #'.
6890 (forms--update): Use string-match-p. Quote function with #'.
6892 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6893 (help-make-xrefs): Use looking-at-p.
6894 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6896 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6897 (ibuffer-confirm-operation-on): Use string-match-p.
6899 * msb.el (msb-item-handler, msb-dired-item-handler):
6900 Mark unused arguments.
6902 * ses.el (ses-decode-cell-symbol)
6903 (ses-kill-override): Remove unused local variable.
6904 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6905 (ses-load): Use ignore-errors, looking-at-p.
6906 (ses-jump-safe): Use ignore-errors.
6907 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6909 * tabify.el (untabify, tabify): Mark unused arguments.
6911 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6912 Mark unused argument.
6913 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6914 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6916 * emacs-lisp/timer.el (timer--time): Define setter with
6917 gv-define-setter to avoid deprecation warning.
6919 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6920 (*record-cmpl-statistics-p*): Remove (was commented out).
6921 (cmpl-statistics-block): Remove (body was commented out).
6922 All callers changed.
6923 (add-completions-from-buffer, load-completions-from-file):
6924 Remove unused variables.
6926 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6928 * filecache.el (file-cache-delete-file-list):
6929 Print message only when told so.
6930 (file-cache-files-matching): Use #' in mapconcat argument.
6932 * ffap.el (ffap-url-at-point): Fix reference to variable
6933 thing-at-point-default-mail-uri-scheme.
6935 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6937 * subr.el (define-error): New function.
6938 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6939 error-file-not-found and define with define-error.
6940 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6941 and define with define-error.
6942 * userlock.el (file-locked, file-supersession):
6943 * simple.el (mark-inactive):
6944 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6945 * progmodes/ada-mode.el (ada-mode-errors):
6946 * play/life.el (life-extinct):
6947 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6948 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6949 * nxml/rng-util.el (rng-error):
6950 * nxml/rng-uri.el (rng-uri-error):
6951 * nxml/rng-match.el (rng-compile-error):
6952 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6953 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6954 * nxml/nxml-rap.el (nxml-scan-error):
6955 * nxml/nxml-outln.el (nxml-outline-error):
6956 * net/soap-client.el (soap-error):
6957 * net/gnutls.el (gnutls-error):
6958 * net/ange-ftp.el (ftp-error):
6959 * mpc.el (mpc-proc-error):
6960 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6961 (json-number-format, json-string-escape, json-string-format)
6962 (json-key-format, json-object-format):
6963 * jka-compr.el (compression-error):
6964 * international/quail.el (quail-error):
6965 * international/kkc.el (kkc-error):
6966 * emacs-lisp/ert.el (ert-test-failed):
6967 * calc/calc.el (calc-error, inexact-result, math-overflow)
6969 * bookmark.el (bookmark-error-no-filename):
6970 * epg.el (epg-error): Define with define-error.
6972 * time.el (display-time-event-handler)
6973 (display-time-next-load-average): Don't call sit-for since it seems
6974 unnecessary (bug#15045).
6976 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6977 Use #' instead of ' to quote functions.
6978 (checkdoc-output-mode): Use setq-local.
6979 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6980 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6981 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6982 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6983 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6984 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6985 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6986 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6988 * ido.el (ido-completion-help): Fix up compiler warning.
6990 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6992 * frameset.el (frameset-p): Add autoload cookie.
6993 (frameset--jump-to-register): New function, based on code moved from
6995 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6997 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6998 (frameset-restore, frameset-save, frameset-session-filter-alist):
6999 Remove declarations.
7000 (register-alist): Doc fix.
7001 (frameset-to-register): Move to frameset.el.
7002 (jump-to-register, describe-register-1): Remove frameset-specific code.
7004 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7006 * allout-widgets.el (allout-widgets-pre-command-business)
7007 (allout-widgets-post-command-business)
7008 (allout-widgets-after-change-handler)
7009 (allout-decorate-item-and-context, allout-set-boundary-marker)
7010 (allout-body-modification-handler)
7011 (allout-graphics-modification-handler): Mark ignored arguments.
7012 (allout-widgets-post-command-business)
7013 (allout-widgets-exposure-change-processor)
7014 (allout-widgets-exposure-undo-processor)
7015 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7016 (allout-parse-item-at-point, allout-decorate-item-guides)
7017 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7018 * allout.el (epa-passphrase-callback-function): Declare.
7019 (allout-overlay-insert-in-front-handler)
7020 (allout-overlay-interior-modification-handler)
7021 (allout-isearch-end-handler, allout-chart-siblings)
7022 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7023 (allout-yank-processing, allout-process-exposed)
7024 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7025 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7026 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7027 (lisp-indent-defform): Mark ignored arguments.
7028 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7029 (calculate-lisp-indent): Remove unused variables.
7030 * international/characters.el (indian-2-column, arabic-2-column)
7031 (tibetan): Mark ignored arguments.
7032 (use-cjk-char-width-table): Mark ignored arguments.
7033 Remove unused variables.
7034 * international/fontset.el (build-default-fontset-data)
7035 (x-compose-font-name, create-fontset-from-fontset-spec):
7036 Mark ignored arguments.
7037 (fontset-plain-name): Remove unused variables.
7038 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7039 (keyboard-coding-system): Mark ignored arguments.
7040 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7041 * help.el (resize-temp-buffer-window):
7042 * window.el (display-buffer-in-major-side-window)
7043 (display-buffer-in-side-window, display-buffer-in-previous-window):
7044 Remove unused variables.
7045 * isearch.el (isearch-forward-symbol):
7046 * version.el (emacs-bzr-version-bzr):
7047 * international/mule-cmds.el (current-language-environment):
7048 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7050 * term/pc-win.el (x-list-fonts, x-display-planes)
7051 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7052 (x-server-version, x-display-screens, x-display-mm-height)
7053 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7054 (x-selection-owner-p, x-own-selection-internal)
7055 (x-disown-selection-internal, x-get-selection-internal)
7056 (msdos-initialize-window-system):
7057 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7058 * term/x-win.el (x-handle-no-bitmap-icon):
7059 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7060 (vc-default-find-file-hook, vc-default-extra-menu):
7061 Mark ignored arguments.
7063 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7065 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7066 break-condition in the context of the debugged code (bug#12685).
7068 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7071 Do not use an overlay to highlight the last prompt. (Bug#14744)
7072 (comint-mode): Make comint-last-prompt buffer local.
7073 (comint-last-prompt): New variable.
7074 (comint-last-prompt-overlay): Remove. Superseded by
7076 (comint-snapshot-last-prompt, comint-output-filter):
7077 Use comint-last-prompt.
7079 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7081 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7082 (frameset-save): Check validity of the resulting frameset.
7084 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7086 * ido.el (ido-record-command): Add doc string.
7088 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7090 * frameset.el (frameset): Do not disable creation of the default
7091 frameset-p predicate. Doc fix.
7092 (frameset-valid-p): New function, copied from the old predicate-p.
7093 Add additional checks.
7094 (frameset-restore): Check with frameset-valid-p.
7095 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7096 (frameset-name, frameset-description, frameset-properties)
7097 (frameset-states): Add docstring.
7098 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7099 (frameset-filter-alist): Doc fixes.
7101 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7103 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7105 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7108 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7109 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7110 (byte-compile-normal-call): Remove obsolescence check.
7112 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7114 * frameset.el (frameset-restore): Doc fix.
7116 * register.el (frameset-frame-id, frameset-frame-with-id)
7117 (frameset-p, frameset-restore, frameset-save): Declare.
7118 (register-alist): Document framesets.
7119 (frameset-session-filter-alist): Declare.
7120 (frameset-to-register): New function.
7121 (jump-to-register): Implement jumping to framesets. Doc fix.
7122 (describe-register-1): Describe framesets.
7124 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7126 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7128 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7129 Use lexical-binding.
7131 * frameset.el (frameset): Use type vector, not list (incompatible
7132 change). Do not declare a new constructor, use the default one.
7133 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7134 `name' and `description', respectively, and add read-only slot
7135 `timestamp'. Doc fixes.
7136 (frameset-copy, frameset-persistent-filter-alist)
7137 (frameset-filter-alist, frameset-switch-to-gui-p)
7138 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7139 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7140 (frameset-filter-iconified, frameset-keep-original-display-p):
7142 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7143 Rename from frameset-filter-(save|restore)-param. All callers changed.
7145 (frameset-p): Adapt to change to vector and be more thorough.
7146 Change arg name to OBJECT. Doc fix.
7147 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7148 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7149 All callers changed.
7150 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7151 All callers changed.
7152 (frameset--record-minibuffer-relationships): Rename from
7153 frameset--process-minibuffer-frames. All callers changed.
7154 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7155 Use new default constructor (again). Doc fix.
7156 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7157 All callers changed.
7158 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7159 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7161 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7162 PARAMETERS and WINDOW-STATE, respectively.
7163 (frameset-restore): Add new keyword argument PREDICATE.
7164 Reset frameset--target-display to nil. Doc fix.
7166 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7168 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7170 (bat-mode-syntax-table): Mark \n as end-of-comment.
7171 (bat-font-lock-keywords): Remove comment rule.
7173 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7174 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7176 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7177 (byte-compile-callargs-warn): Use `push'.
7178 (byte-compile-arglist-warn): Ignore higher-order "calls".
7179 (byte-compile-file-form-autoload): Use `pcase'.
7180 (byte-compile-function-form): If quoting a symbol, check that it exists.
7182 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7184 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7185 and add a few popular commands found in batch files.
7186 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7187 (dos-mode): Doc fixes.
7189 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7191 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7192 (dos-mode): Use setq-local. Add space after "rem".
7193 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7194 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7196 2013-08-07 Arni Magnusson <arnima@hafro.is>
7198 * progmodes/dos.el: New file.
7199 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7202 2013-08-06 Glenn Morris <rgm@gnu.org>
7204 * calendar/calendar.el: Add new faces, and day-header-array.
7205 (calendar-weekday-header, calendar-weekend-header)
7206 (calendar-month-header): New faces.
7207 (calendar-day-header-construct): New function.
7208 (calendar-day-header-width): Also :set calendar-day-header-array.
7209 (calendar-american-month-header, calendar-european-month-header)
7210 (calendar-iso-month-header): Use calendar- faces.
7211 (calendar-generate-month):
7212 Use calendar-day-header-array for day headers; apply faces to them.
7213 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7214 (calendar-abbrev-construct): Add optional maxlen argument.
7215 (calendar-day-name-array): Doc fix.
7216 (calendar-day-name-array, calendar-abbrev-length)
7217 (calendar-day-abbrev-array):
7218 Also :set calendar-day-header-array, and maybe redraw.
7219 (calendar-day-header-array): New option. (Bug#15007)
7220 (calendar-font-lock-keywords): Set to nil and make obsolete.
7221 (calendar-day-name): Add option to use header array.
7223 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7225 * net/shr.el (shr-render-td): Remove debugging.
7226 (shr-render-td): Make width computation consistent by defaulting
7227 all zero-width columns to 10 characters. This may not be optimal,
7228 but it's at least consistent.
7229 (shr-make-table-1): Redo last change to fix the real problem in
7232 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7234 * files.el (cache-long-line-scans):
7235 Make obsolete alias to `cache-long-scans'.
7237 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7239 * frameset.el (frameset, frameset-filter-alist)
7240 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7241 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7242 (frameset-compute-pos): Rename from frameset--compute-pos,
7244 (frameset-move-onscreen): Use frameset-compute-pos.
7245 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7247 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7248 Fix typos in docstrings.
7250 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7252 * frame.el (get-other-frame): Tiny cleanup.
7254 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7256 * vc/vc.el (vc-default-ignore-completion-table):
7257 Silence byte-compiler warning.
7259 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7260 slot, which can indeed be nil.
7261 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7262 Move entry for `left' from persistent to live filter alist.
7263 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7265 (frameset-filter-params): When restoring a frame, copy items added to
7266 `filtered', to avoid unwittingly modifying the original parameters.
7267 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7268 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7270 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7271 to use looking-at-p instead of looking-at. (Bug#15028)
7273 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7275 Revert introduction of isearch-filter-predicates (bug#14714).
7276 Rely on add-function instead.
7277 * isearch.el (isearch-filter-predicates): Rename it back to
7278 isearch-filter-predicate.
7279 (isearch-message-prefix): Use advice-function-mapc and advice
7280 properties to get the isearch-message-prefix.
7281 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7282 instead of run-hook-with-args-until-failure.
7283 (isearch-filter-visible): Not obsolete any more.
7284 * loadup.el: Preload nadvice.
7285 * replace.el (perform-replace): Revert to funcall
7286 instead of run-hook-with-args-until-failure.
7287 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7288 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7289 dired-isearch-filenames-toggle; make it into a proper minor mode.
7290 Use add/remove-function.
7291 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7292 Call the minor-mode rather than add/remove-hook.
7293 (dired-isearch-filter-filenames):
7294 Remove isearch-message-prefix property.
7295 * info.el (Info--search-loop): New function, extracted from Info-search.
7296 Funcall isearch-filter-predicate instead of
7297 run-hook-with-args-until-failure isearch-filter-predicates.
7298 (Info-search): Use it.
7299 (Info-mode): Use isearch-filter-predicate instead of
7300 isearch-filter-predicates.
7302 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7304 Do not call to `selected-window' where it is assumed by default.
7305 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7306 `window-hscroll', `window-width', `window-height', `window-buffer',
7307 `window-frame', `window-start', `window-point', `next-window'
7308 and `window-display-table'.
7309 * abbrev.el (abbrev--default-expand):
7310 * bs.el (bs--show-with-configuration):
7311 * buff-menu.el (Buffer-menu-mouse-select):
7312 * calc/calc.el (calc):
7313 * calendar/calendar.el (calendar-generate-window):
7314 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7316 * comint.el (send-invisible, comint-dynamic-complete-filename)
7317 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7318 * completion.el (complete):
7319 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7320 * disp-table.el (describe-current-display-table):
7321 * doc-view.el (doc-view-insert-image):
7322 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7323 * ehelp.el (with-electric-help):
7324 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7325 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7326 * emacs-lisp/helper.el (Helper-help-scroller):
7327 * emulation/cua-base.el (cua--post-command-handler-1):
7328 * eshell/esh-mode.el (eshell-output-filter):
7329 * ffap.el (ffap-gnus-wrapper):
7330 * help-macro.el (make-help-screen):
7331 * hilit-chg.el (highlight-compare-buffers):
7332 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7333 * hl-line.el (global-hl-line-highlight):
7334 * icomplete.el (icomplete-simple-completing-p):
7335 * isearch.el (isearch-done):
7336 * jit-lock.el (jit-lock-stealth-fontify):
7337 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7338 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7339 * mpc.el (mpc-tagbrowser, mpc):
7340 * net/rcirc.el (rcirc-any-buffer):
7341 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7342 * play/landmark.el (landmark-max-width, landmark-max-height):
7343 * play/zone.el (zone):
7344 * progmodes/compile.el (compilation-goto-locus):
7345 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7346 * progmodes/etags.el (find-tag-other-window):
7347 * progmodes/fortran.el (fortran-column-ruler):
7348 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7349 * progmodes/verilog-mode.el (verilog-point-text):
7350 * reposition.el (reposition-window):
7351 * rot13.el (toggle-rot13-mode):
7352 * server.el (server-switch-buffer):
7353 * shell.el (shell-dynamic-complete-command)
7354 (shell-dynamic-complete-environment-variable):
7355 * simple.el (insert-buffer, set-selective-display)
7356 (delete-completion-window):
7357 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7358 (speedbar-recenter):
7359 * startup.el (fancy-splash-head):
7360 * textmodes/ispell.el (ispell-command-loop):
7361 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7362 * tutorial.el (help-with-tutorial):
7363 * vc/add-log.el (add-change-log-entry):
7364 * vc/compare-w.el (compare-windows):
7365 * vc/ediff-help.el (ediff-indent-help-message):
7366 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7367 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7368 (ediff-setup-control-frame):
7369 * vc/emerge.el (emerge-position-region):
7370 * vc/pcvs-util.el (cvs-bury-buffer):
7371 * window.el (walk-windows, mouse-autoselect-window-select):
7372 * winner.el (winner-set-conf, winner-undo): Related users changed.
7374 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7376 * frameset.el (frameset--set-id): Doc fix.
7377 (frameset-frame-id, frameset-frame-id-equal-p)
7378 (frameset-locate-frame-id): New functions.
7379 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7380 (frameset-restore): Use them.
7382 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7384 Do not call to `selected-frame' where it is assumed by default.
7385 Affected functions are `raise-frame', `redraw-frame',
7386 `frame-first-window', `frame-terminal' and `delete-frame'.
7387 * calendar/appt.el (appt-disp-window):
7388 * epg.el (epg-wait-for-completion):
7389 * follow.el (follow-delete-other-windows-and-split)
7390 (follow-avoid-tail-recenter):
7391 * international/mule.el (set-terminal-coding-system):
7392 * mail/rmail.el (rmail-mail-return):
7393 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7394 * progmodes/f90.el (f90-add-imenu-menu):
7395 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7396 * server.el (server-switch-buffer):
7397 * simple.el (delete-completion-window):
7399 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7400 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7401 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7402 * vc/ediff.el (ediff-documentation): Related users changed.
7403 * frame.el (selected-terminal): Remove the leftover.
7405 2013-08-05 Glenn Morris <rgm@gnu.org>
7407 * calendar/calendar.el (calendar-generate-month):
7408 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7409 (calendar-generate-month, calendar-font-lock-keywords):
7410 Fix for calendar-day-header-width > length of any day name.
7412 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7414 * desktop.el (desktop-clear): Use new name of sort predicate.
7416 * frameset.el (frameset): Add docstring. Move :version property to its
7418 (frameset-copy): Rename from copy-frameset.
7419 (frameset-p): Check more thoroughly.
7420 (frameset-prop): Do not check for :version, which is no longer a prop.
7421 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7422 Use new :never value instead of t.
7423 (frameset-filter-alist): Expand and clarify docstring.
7424 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7425 (frameset-filter-minibuffer, frameset-filter-save-param)
7426 (frameset-filter-restore-param, frameset-filter-iconified):
7427 Add pointer to docstring of frameset-filter-alist.
7428 (frameset-filter-params): Rename filter values to be more meaningful:
7429 :never instead of t, and reverse the meanings of :save and :restore.
7430 (frameset--process-minibuffer-frames): Clarify error message.
7431 (frameset-save): Avoid unnecessary and confusing call to framep.
7432 Use new BOA constructor for framesets.
7433 (frameset--reuse-list): Doc fix.
7434 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7435 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7436 (frameset-minibufferless-first-p): Doc fix.
7437 Rename from frameset-sort-frames-for-deletion.
7438 (frameset-restore): Doc fixes. Use new function names.
7439 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7441 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7443 * desktop.el (desktop-restore-forces-onscreen)
7444 (desktop-restore-reuses-frames): Document :keyword constant values.
7445 (desktop-filter-parameters-alist): Remove, now identical to
7446 frameset-filter-alist.
7447 (desktop--filter-tty*): Remove, moved to frameset.el.
7448 (desktop-save-frameset, desktop-restore-frameset):
7449 Do not pass :filters argument.
7451 * frameset.el (frameset-live-filter-alist)
7452 (frameset-persistent-filter-alist): New variables.
7453 (frameset-filter-alist): Use them. Add autoload cookie.
7454 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7455 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7456 `frameset--id' (it's supposed to be internal to frameset.el).
7457 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7458 (frameset--initial-params): New function.
7459 (frameset--get-frame): Use it. Doc fix.
7460 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7461 Accept :all, not 'all.
7462 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7463 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7464 with fbound symbols. Fix frame id matching, and remove matching ids if
7465 the frame being restored is deleted. Obey :delete.
7467 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7469 * subr.el (macrop): New function.
7470 (text-clone--maintaining): New var.
7471 (text-clone--maintain): Rename from text-clone-maintain. Use it
7472 instead of inhibit-modification-hooks.
7474 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7475 a proxy, so as handle autoloads and redefinitions of the target.
7476 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7478 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7479 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7480 (pcase--mutually-exclusive-p): New function.
7481 (pcase--split-consp): Use it.
7482 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7483 mutually exclusive with the current predicate.
7485 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7486 (edebug-macrop): Remove. Use `macrop' instead.
7487 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7489 * eshell/esh-cmd.el (eshell-macrop):
7490 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7492 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7494 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7495 (advice-mapc): New function, using it.
7496 (advice-function-member-p): New function.
7497 (advice--normalize): Store the cdr in advice--saved-rewrite since
7498 that's the part that will be changed.
7499 (advice--symbol-function): New function.
7500 (advice-remove): Handle removal before the function is defined.
7501 Adjust to new advice--saved-rewrite.
7502 (advice-member-p): Use advice-function-member-p and
7503 advice--symbol-function.
7505 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7507 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7508 (frameset-filter-minibuffer): Doc fix.
7509 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7510 (frameset--set-id, frameset--process-minibuffer-frames)
7511 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7512 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7514 * desktop.el (desktop-clear): Only delete frames when called
7515 interactively and desktop-restore-frames is non-nil. Doc fix.
7516 (desktop-read): Set desktop-saved-frameset to nil.
7518 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7520 * vc/vc.el (vc-ignore): Rewrite.
7521 (vc-default-ignore-completion-table):
7523 (vc--add-line, vc--remove-regexp): New functions.
7525 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7526 (vc-svn-ignore-completion-table): New function.
7528 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7529 (vc-hg-ignore-completion-table):
7530 (vc-hg-find-ignore-file): New functions.
7532 * vc/vc-git.el (vc-git-ignore): Rewrite.
7533 (vc-git-ignore-completion-table):
7534 (vc-git-find-ignore-file): New functions.
7536 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7538 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7539 (vc-bzr-ignore-completion-table):
7540 (vc-bzr-find-ignore-file): New functions.
7542 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7544 * frameset.el (frameset-prop): New function and setter.
7545 (frameset-save): Do not modify frame list passed by the caller.
7547 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7549 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7551 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7553 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7554 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7556 * custom.el (custom-initialize-default, custom-initialize-set)
7557 (custom-initialize-reset, custom-initialize-changed): Affect the
7558 toplevel-default-value (bug#6275, bug#14586).
7559 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7562 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7564 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7565 Add cl-def* expressions.
7567 * frameset.el (frameset-filter-params): Fix order of arguments.
7569 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7571 Move code related to saving frames to frameset.el.
7572 * desktop.el: Require frameset.
7573 (desktop-restore-frames): Doc fix.
7574 (desktop-restore-reuses-frames): Rename from
7575 desktop-restoring-reuses-frames.
7576 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7577 (desktop-clear): Clear frames too.
7578 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7579 (desktop--filter-tty*, desktop-save, desktop-read):
7580 Use frameset functions.
7581 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7582 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7583 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7584 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7585 (desktop--process-minibuffer-frames, desktop-save-frames)
7586 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7587 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7588 (desktop--sort-states, desktop-restoring-frames-p)
7589 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7590 (desktop-restoring-frameset-p, desktop-restore-frameset)
7591 (desktop--check-dont-save, desktop-save-frameset): New functions.
7592 (desktop--app-id): New constant.
7593 (desktop-first-buffer, desktop-buffer-ok-count)
7594 (desktop-buffer-fail-count): Move before first use.
7595 * frameset.el: New file.
7597 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7599 * files.el: Use lexical-binding.
7600 (dir-locals-read-from-file): Remove unused `err' variable.
7601 (hack-dir-local-variables--warned-coding): New var.
7602 (hack-dir-local-variables): Use it to avoid repeated warnings.
7603 (make-backup-file-name--default-function): New function.
7604 (make-backup-file-name-function): Use it as default.
7605 (buffer-stale--default-function): New function.
7606 (buffer-stale-function): Use it as default.
7607 (revert-buffer-insert-file-contents--default-function): New function.
7608 (revert-buffer-insert-file-contents-function): Use it as default.
7609 (insert-directory): Avoid add-to-list.
7611 * autorevert.el (auto-revert-handler): Simplify.
7612 Use buffer-stale--default-function.
7614 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7616 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7618 * whitespace.el (whitespace-ensure-local-variables): New function.
7619 (whitespace-cleanup-region): Call it.
7620 (whitespace-turn-on): Call it.
7622 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7624 Complete file name handlers.
7626 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7627 (tramp-handle-verify-visited-file-modtime)
7628 (tramp-handle-file-notify-rm-watch): New functions.
7629 (tramp-call-process): Do not bind `default-directory'.
7631 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7632 Order alphabetically.
7633 [access-file, add-name-to-file, dired-call-process]:
7634 [dired-compress-file, file-acl, file-notify-rm-watch]:
7635 [file-ownership-preserved-p, file-selinux-context]:
7636 [make-directory-internal, make-symbolic-link, set-file-acl]:
7637 [set-file-selinux-context, set-visited-file-modtime]:
7638 [verify-visited-file-modtime]: Add handler.
7639 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7641 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7642 [file-notify-add-watch, file-notify-rm-watch]:
7643 [set-file-times, set-visited-file-modtime]:
7644 [verify-visited-file-modtime]: Add handler.
7645 (with-tramp-gvfs-error-message)
7646 (tramp-gvfs-handle-set-visited-file-modtime)
7647 (tramp-gvfs-fuse-file-name): Remove.
7648 (tramp-gvfs-handle-file-notify-add-watch)
7649 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7650 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7652 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7653 Order alphabetically.
7654 [file-notify-rm-watch ]: Use default Tramp handler.
7655 [executable-find]: Remove private handler.
7656 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7657 `default-directory'.
7658 (tramp-sh-handle-executable-find)
7659 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7660 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7661 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7662 Do not use `format' in `tramp-message'.
7664 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7665 [file-notify-rm-watch, set-visited-file-modtime]:
7666 [verify-visited-file-modtime]: Add handler.
7667 (tramp-smb-call-winexe): Do not bind `default-directory'.
7669 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7671 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7673 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7675 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7677 (log-view-diff-changeset): Same.
7678 (log-view-diff-common): Call backend command `previous-revision'
7679 to find out the previous revision, in both cases. Swap the
7680 variables `to' and `fr', so that `fr' usually refers to the
7681 earlier revision (Bug#14989).
7683 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7685 * ibuf-ext.el (ibuffer-filter-by-filename):
7686 Make it work with dired buffers too.
7688 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7690 * emacs-lisp/re-builder.el (reb-color-display-p):
7691 * files.el (save-buffers-kill-terminal):
7692 * net/browse-url.el (browse-url):
7693 * server.el (server-save-buffers-kill-terminal):
7694 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7695 Prefer nil to selected-frame for the first arg of frame-parameter.
7697 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7699 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7701 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7703 * minibuffer.el (completion--twq-all): Try and preserve each
7704 completion's case choice (bug#14907).
7706 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7708 * net/network-stream.el (open-network-stream): Mention the new
7709 :nogreeting parameter.
7710 (network-stream-open-starttls): Use the :nogreeting parameter
7713 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7715 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7716 more natural than popping.
7718 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7719 (shr-urlify): Highlight under mouse.
7721 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7723 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7725 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7727 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7730 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7731 point-min==1. Fix search string. Fix parentheses missing.
7733 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7734 assume point-min==1. Fix search string. Fix parentheses missing.
7736 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7738 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7741 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7743 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7744 initial frame is minibuffer-less. (Bug#14841)
7746 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7748 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7751 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7752 (tramp-maybe-open-connection): Use it.
7754 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7756 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7757 minimal set of parameters passed when creating a frame, because
7758 the minibuffer status of a frame cannot be changed later.
7760 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7762 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7763 replace-regexp-in-string and inadvertent omissions in previous change.
7764 (todo-filter-items): Ensure only file names are comma-separated in
7765 name of filtered items buffer.
7767 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7769 * desktop.el: Optionally force offscreen frames back onscreen.
7770 (desktop-restoring-reuses-frames): New option.
7771 (desktop--compute-pos, desktop--move-onscreen): New functions.
7772 (desktop--make-frame): Use desktop--move-onscreen.
7774 2013-07-27 Alan Mackenzie <acm@muc.de>
7776 Fontify a Java generic method as a function.
7777 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7780 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7782 * calendar/todo-mode.el: Add command to rename todo files.
7783 (todo-rename-file): New command.
7784 (todo-key-bindings-t): Add key binding for it. Change the
7785 bindings of todo-filter-regexp-items(-multifile) to use `x'
7786 instead of `r', since the latter is better suited to the new
7789 2013-07-27 Alan Mackenzie <acm@muc.de>
7791 Make Java try-with-resources statement parse properly.
7792 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7793 (c-block-stmt-1-2-key): New language constants/variables.
7794 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7795 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7796 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7797 with c-block-stmt-1-2-key.
7799 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7801 * desktop.el (desktop--make-frame): Apply most frame parameters after
7802 creating the frame to force (partially or totally) offscreen frames to
7803 be restored as such.
7805 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7807 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7810 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7812 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7813 `base' arg of backtrace-frame.
7815 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7817 * simple.el (list-processes): Doc fix.
7819 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7821 * desktop.el (desktop--select-frame):
7822 Try harder to reuse existing frames.
7824 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7826 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7827 (edebug-eval): Use backtrace-eval.
7828 (edebug--display, edebug--recursive-edit): Don't let-bind the
7829 edebug-outer-* vars that keep track of variables we locally let-bind.
7830 (edebug-outside-excursion): Don't restore outside values of locally
7832 (edebug--display): Use user-error.
7833 (cl-lexical-debug, cl-debug-env): Remove.
7835 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7837 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7838 are restored to be sure that they are visible before deleting any
7841 2013-07-26 Matthias Meulien <orontee@gmail.com>
7843 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7844 vc-print-root-log. (Bug#14948)
7846 2013-07-26 Richard Stallman <rms@gnu.org>
7848 Add aliases for encrypting mail.
7849 * epa.el (epa-mail-aliases): New option.
7850 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7851 Bind inhibit-read-only so read-only text doesn't ruin everything.
7852 (epa-mail-default-recipients): New subroutine broken out.
7853 Handle epa-mail-aliases.
7855 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7857 Add support for lexical variables to the debugger's `e' command.
7858 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7859 vars, except for debugger-outer-match-data.
7860 (debugger-frame-number): Move check for "on a function call" from
7861 callers into it. Add `skip-base' argument.
7862 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7863 (debugger-env-macro): Only reset the state stored in non-variables,
7864 i.e. current-buffer and match-data.
7865 (debugger-eval-expression): Rewrite using backtrace-eval.
7866 * subr.el (internal--called-interactively-p--get-frame): Remove.
7867 (called-interactively-p):
7868 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7869 `base' arg of backtrace-frame instead.
7871 2013-07-26 Glenn Morris <rgm@gnu.org>
7873 * align.el (align-regexp): Doc fix. (Bug#14857)
7874 (align-region): Explicit error if subexpression missing/does not match.
7876 * simple.el (global-visual-line-mode):
7877 Do not duplicate the mode lighter. (Bug#14858)
7879 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7881 * window.el (display-buffer): In display-buffer bind
7882 split-window-keep-point to t, bug#14829.
7884 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7886 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7887 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7888 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7889 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7891 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7892 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7894 2013-07-25 Glenn Morris <rgm@gnu.org>
7896 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7898 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7900 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7901 parameter to modify-frame-parameters if the value has not changed;
7902 this is a workaround for bug#14949.
7903 (desktop--make-frame): On cl-delete-if call, check parameter name,
7906 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7908 * vc/vc.el (vc-ignore): New function.
7910 * vc/vc-svn.el (vc-svn-ignore): New function.
7912 * vc/vc-hg.el (vc-hg-ignore): New function.
7914 * vc/vc-git.el (vc-git-ignore): New function.
7916 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7917 (vc-dir-ignore): New function.
7919 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7920 (cvs-append-to-ignore): Move here from pcvs.el.
7922 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7924 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7926 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7928 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7929 (desktop-restore-frames): Warn when deleting an existing frame failed.
7931 2013-07-24 Glenn Morris <rgm@gnu.org>
7933 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7935 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7937 * filenotify.el (file-notify-supported-p):
7938 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7941 * autorevert.el (auto-revert-use-notify):
7942 (auto-revert-notify-add-watch):
7943 * net/tramp.el (tramp-file-name-for-operation):
7944 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7945 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7946 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7947 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7948 Remove `file-notify-supported-p' entry.
7950 2013-07-24 Glenn Morris <rgm@gnu.org>
7952 * printing.el: Replace all uses of deleted ps-windows-system,
7953 ps-lp-system, ps-flatten-list with lpr- versions.
7955 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7957 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7958 checked with memq (bug#14935).
7960 * files.el (revert-buffer-function): Use a non-nil default.
7961 (revert-buffer-preserve-modes): Declare var to
7962 provide access to the `preserve-modes' argument.
7963 (revert-buffer): Let-bind it.
7964 (revert-buffer--default): New function, extracted from revert-buffer.
7966 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7968 * lpr.el: Signal print errors more prominently.
7969 (print-region-function): Don't default to nil.
7970 (lpr-print-region): New function, extracted from print-region-1.
7971 Check lpr's return value and signal an error in case of problem.
7972 (print-region-1): Use it.
7973 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7975 (ps-printer-name): Default to nil.
7976 (ps-printer-name-option): Default to lpr-printer-switch.
7977 (ps-print-region-function): Don't default to nil.
7978 (ps-postscript-code-directory): Simplify default.
7979 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7980 (ps-string-list, ps-eval-switch, ps-flatten-list)
7981 (ps-flatten-list-1): Remove.
7982 (ps-multibyte-buffer): Avoid setq.
7983 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7984 (print-region-function, ps-print-region-function): Don't set them here.
7986 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7988 * ido.el (ido-fractionp):
7989 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7990 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7991 (ido-max-directory-size, ido-max-dir-file-cache)
7992 (ido-decorations): Doc fix.
7994 * ansi-color.el: Fix old URL.
7996 2013-07-23 Michael R. Mauger <michael@mauger.com>
7998 * progmodes/sql.el: Version 3.3
7999 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8000 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8001 (sql-interactive-remove-continuation-prompt): Rewrite, use
8002 functions above. Fix continuation prompt and complete output line
8004 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8005 redirected output buffer.
8006 (sql-mode): Restore deleted code (Bug#13591).
8008 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8010 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8012 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8014 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8016 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8017 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8018 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8020 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8022 * desktop.el (desktop-clear): Simplify; remove useless checks
8023 against invalid buffer names.
8024 (desktop-list*): Use cl-list*.
8025 (desktop-buffer-info, desktop-create-buffer): Simplify.
8027 2013-07-23 Leo Liu <sdl.web@gmail.com>
8029 * bookmark.el (bookmark-make-record): Restore NAME as a default
8032 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8034 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8035 extracted from autoload--insert-text.
8036 (autoload--insert-text): Remove.
8037 (autoload--print-cookie-text): New function, extracted from
8038 autoload--insert-cookie-text.
8039 (autoload--insert-cookie-text): Remove.
8040 (autoload-generate-file-autoloads): Adjust calls accordingly.
8042 * winner.el (winner-hook-installed-p): Remove.
8043 (winner-mode): Simplify accordingly.
8045 * subr.el (add-to-list): Fix compiler-macro when `append' is
8046 not constant. Don't use `cl-member' for the base case.
8048 * progmodes/subword.el: Fix boundary case (bug#13758).
8049 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8051 (subword-backward-regexp): Make it a constant.
8052 (subword-forward-internal): Don't treat a trailing capital as the
8053 beginning of a word.
8055 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8057 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8058 global value of tabulated-list-revert-hook (bug#14930).
8060 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8062 * desktop.el: Require 'cl-lib.
8063 (desktop-before-saving-frames-functions): New hook.
8064 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8065 for frames being saved. Rename from desktop--save-minibuffer-frames.
8066 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8067 Do not save frames with non-nil `desktop-dont-save' parameter.
8068 Filter out deleted frames.
8069 (desktop--find-frame): Use cl-find-if.
8070 (desktop--select-frame): Use cl-(first|second|third) to access values
8072 (desktop--make-frame): Use cl-delete-if.
8073 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8074 (desktop-restore-frames): Use cl-(first|second|third) to access values
8075 of desktop-mini. Look for visible frame at the end, not while
8078 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8079 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8080 Use string-match-p, looking-at-p (bug#14927).
8082 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8084 * desktop.el (desktop-saved-frame-states):
8085 Rename from desktop--saved-states; all users changed.
8086 (desktop-save-frames): Rename from desktop--save-frames.
8087 Do not save state to desktop file.
8088 (desktop-save): Save desktop-saved-frame-states to desktop file
8090 (desktop-restoring-frames-p): New function.
8091 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8092 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8093 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8095 * desktop.el: Correctly restore iconified frames.
8096 (desktop--filter-iconified-position): New function.
8097 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8099 2013-07-20 Glenn Morris <rgm@gnu.org>
8101 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8102 Let `message' do the formatting.
8103 (def-gdb-preempt-display-buffer): Add explicit format.
8105 * image-dired.el (image-dired-track-original-file):
8106 Use with-current-buffer.
8107 (image-dired-track-thumbnail): Use with-current-buffer.
8108 Avoid changing point of wrong window.
8110 * image-dired.el (image-dired-track-original-file):
8111 Avoid changing point of wrong window. (Bug#14909)
8113 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8115 * progmodes/gdb-mi.el (gdb-done-or-error):
8116 Guard against "%" in gdb output. (Bug#14127)
8118 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8120 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8123 * international/mule.el (coding-system-iso-2022-flags): Fix last
8126 2013-07-20 Kenichi Handa <handa@gnu.org>
8128 * international/mule.el (coding-system-iso-2022-flags):
8129 Add `8-bit-level-4'. (Bug#8522)
8131 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8133 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8136 * net/eww.el (eww-process-text-input): Allow inputting when the
8137 point is at the start of the line, as the properties aren't
8140 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8143 2013-07-19 Richard Stallman <rms@gnu.org>
8145 * epa.el (epa-popup-info-window): Doc fix.
8147 * subr.el (split-string): New arg TRIM.
8149 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8151 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8152 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8154 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8156 * filenotify.el (file-notify--library): Rename from
8157 `file-notify-support'. Do not autoload. Adapt all uses.
8158 (file-notify-supported-p): New defun.
8160 * autorevert.el (auto-revert-use-notify):
8161 Use `file-notify-supported-p' instead of `file-notify-support'.
8163 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8165 * net/tramp.el (tramp-file-name-for-operation):
8166 Add `file-notify-supported-p'.
8168 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8170 (tramp-sh-file-name-handler-alist): Add it as handler for
8171 `file-notify-supported-p '.
8173 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8174 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8175 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8176 Add `ignore' as handler for `file-notify-*' functions.
8178 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8180 * simple.el (line-move-partial, line-move): Don't start vscroll or
8181 scroll-up if the current line is not taller than the window.
8184 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8186 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8187 highlight question marks in the method names as strings.
8188 (ruby-block-beg-keywords): Inline.
8189 (ruby-font-lock-keyword-beg-re): Extract from
8190 `ruby-font-lock-keywords'.
8192 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8194 * frame.el (blink-cursor-blinks): New defcustom.
8195 (blink-cursor-blinks-done): New defvar.
8196 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8197 (blink-cursor-timer-function): Check if number of blinks has been
8199 (blink-cursor-suspend, blink-cursor-check): New defuns.
8201 2013-07-15 Glenn Morris <rgm@gnu.org>
8203 * edmacro.el (edmacro-format-keys): Fix previous change.
8205 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8207 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8208 The hack didn't work outside English locales anyway.
8210 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8212 * simple.el (define-alternatives): Rename from alternatives-define,
8213 per RMS' suggestion.
8215 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8217 * desktop.el (desktop-restore-frames): Change default to t.
8218 (desktop-restore-in-current-display): Now offer more options.
8219 (desktop-restoring-reuses-frames): New customization option.
8220 (desktop--saved-states): Doc fix.
8221 (desktop-filter-parameters-alist): New variable, renamed and expanded
8222 from desktop--excluded-frame-parameters.
8223 (desktop--target-display): New variable.
8224 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8225 (desktop--filter-tty*, desktop--filter-*-color)
8226 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8227 (desktop--filter-save-desktop-parm)
8228 (desktop-restore-in-original-display-p): New functions.
8229 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8230 (desktop--save-minibuffer-frames): New function, inspired by a similar
8231 function from Martin Rudalics.
8232 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8233 (desktop--restore-in-this-display-p): Remove.
8234 (desktop--find-frame): Rename from desktop--find-frame-in-display
8235 and add predicate argument.
8236 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8237 (desktop--reuse-list): New variable.
8238 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8240 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8242 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8244 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8246 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8248 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8249 Highlight conversion methods on Kernel.
8251 2013-07-13 Alan Mackenzie <acm@muc.de>
8253 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8254 and comment it out. This out-commenting enables certain C++
8255 declarations to be parsed correctly.
8257 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8259 * international/mule.el (define-coding-system): Doc fix.
8261 * simple.el (default-font-height): Don't call font-info if the
8262 frame's default font didn't change since the frame was created.
8265 2013-07-13 Leo Liu <sdl.web@gmail.com>
8267 * ido.el (ido-read-file-name): Guard against non-symbol value.
8269 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8271 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8274 2013-07-13 Leo Liu <sdl.web@gmail.com>
8276 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8277 ido-set-matches call. (Bug#6852)
8279 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8281 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8282 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8284 (ruby-font-lock-keywords): Distinguish calls to functions with
8285 module-like names from module references. Highlight character
8288 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8290 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8291 (gdb-send): Handle continued commands. (Bug#14847)
8293 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8295 * desktop.el (desktop--v2s): Remove unused local variable.
8296 (desktop-save-buffer): Make defvar-local; adjust docstring.
8297 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8298 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8300 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8302 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8304 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8306 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8309 2013-07-12 Glenn Morris <rgm@gnu.org>
8311 * doc-view.el: Require cl-lib at runtime too.
8312 (doc-view-remove-if): Remove.
8313 (doc-view-search-next-match, doc-view-search-previous-match):
8316 * edmacro.el: Require cl-lib at runtime too.
8317 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8318 (edmacro-mismatch, edmacro-subseq): Remove.
8320 * shadowfile.el: Require cl-lib.
8321 (shadow-remove-if): Remove.
8322 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8325 * wid-edit.el: Require cl-lib.
8326 (widget-choose): Use cl-remove-if.
8327 (widget-remove-if): Remove.
8329 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8330 (ebrowse-delete-if-not): Remove.
8331 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8332 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8333 Use cl-delete-if-not.
8335 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8337 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8338 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8340 2013-07-12 Leo Liu <sdl.web@gmail.com>
8342 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8344 2013-07-11 Glenn Morris <rgm@gnu.org>
8346 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8347 (edebug-gensym-index, edebug-gensym):
8348 Remove reimplementation of cl-gensym.
8349 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8351 * thumbs.el: Require cl-lib at run-time too.
8352 (thumbs-gensym-counter, thumbs-gensym):
8353 Remove reimplementation of cl-gensym.
8354 (thumbs-temp-file): Use cl-gensym.
8356 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8357 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8358 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8359 (ert--union, ert--gensym-counter, ert--gensym-counter)
8360 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8361 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8362 (ert-make-test-unbound, ert--expand-should-1)
8363 (ert--expand-should, ert--should-error-handle-error)
8364 (should-error, ert--explain-equal-rec)
8365 (ert--plist-difference-explanation, ert-select-tests)
8366 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8367 Use cl-lib functions rather than reimplementations.
8369 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8371 * net/tramp.el (tramp-methods): Extend docstring.
8372 (tramp-connection-timeout): New defcustom.
8373 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8374 (with-tramp-progress-reporter): Simplify.
8375 (tramp-process-actions): Improve messages.
8377 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8378 * net/tramp-sh.el (tramp-maybe-open-connection):
8379 Use `tramp-connection-timeout'.
8380 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8383 2013-07-11 Leo Liu <sdl.web@gmail.com>
8385 * ido.el (ido-read-file-name): Conform to the requirements of
8386 read-file-name. (Bug#11861)
8387 (ido-read-directory-name): Conform to the requirements of
8388 read-directory-name.
8390 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8392 * subr.el (delay-warning): New function.
8394 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8396 * simple.el (default-line-height): New function.
8397 (line-move-partial, line-move): Use it instead of computing the
8399 (line-move-partial): Always compute ROWH. If the last line is
8400 partially-visible, but its text is completely visible, allow
8401 cursor to enter such a partially-visible line.
8403 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8405 Improve error messages. (Bug#14808)
8407 * net/tramp.el (tramp-current-connection): New defvar, moved from
8409 (tramp-message-show-progress-reporter-message): Remove, not
8411 (tramp-error-with-buffer): Show message in minibuffer.
8412 Discard input before waiting. Reset connection timestamp.
8413 (with-tramp-progress-reporter): Improve messages.
8414 (tramp-process-actions): Use progress reporter. Delete process in
8415 case of error. Improve messages.
8417 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8418 Call `tramp-error-with-buffer' with vector and buffer.
8419 (tramp-current-connection): Remove.
8420 (tramp-maybe-open-connection): The car of
8421 `tramp-current-connection' are the first 3 slots of the vector.
8423 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8425 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8426 inside continued strings.
8428 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8430 Timestamp fixes for undo (Bug#14824).
8431 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8433 2013-07-10 Leo Liu <sdl.web@gmail.com>
8435 * files.el (require-final-newline): Allow safe local value.
8438 2013-07-09 Leo Liu <sdl.web@gmail.com>
8440 * ido.el (ido-read-directory-name): Handle fallback.
8441 (ido-read-file-name): Update DIR to ido-current-directory.
8443 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8445 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8448 "autoload". Remove "warn lower camel case" section, previously
8449 commented out. Highlight negation char. Do not highlight the
8450 target in singleton method definitions.
8452 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8454 * faces.el (tty-setup-hook): Declare the hook.
8456 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8457 and detect when a guard/pred depends on local vars (bug#14773).
8458 (pcase--u1): Adjust caller.
8460 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8462 * simple.el (line-move-partial, line-move): Account for
8464 (line-move-partial): Avoid setting vscroll when the last
8465 partially-visible line in window is of default height.
8467 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8469 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8472 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8474 * subr.el (read-quoted-char): Remove unused local variable `char'.
8476 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8478 * ediff.el (ediff-version): Version update.
8479 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8480 (ediff-merge-with-ancestor-command, ediff-directories-command)
8481 (ediff-directories3-command, ediff-merge-directories-command)
8482 (ediff-merge-directories-with-ancestor-command): New functions.
8483 All are command-line interfaces to ediff: to facilitate calling
8484 Emacs with the appropriate ediff functions invoked.
8486 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8487 (viper-save-kill-buffer): Check if buffer is modified.
8489 * viper.el (viper-version): Version update.
8490 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8492 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8494 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8495 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8496 (viper-intercept-ESC-key): Simplify.
8497 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8498 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8499 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8500 (viper-setup-ESC-to-escape): New functions.
8501 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8502 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8504 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8506 * simple.el (default-font-height, window-screen-lines):
8508 (line-move, line-move-partial): Use them instead of
8509 frame-char-height and window-text-height. This makes scrolling
8510 text smoother when the buffer's default face uses a font that is
8511 different from the frame's default font.
8513 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8515 * files.el (write-file): Do not display confirm dialog for NS,
8516 it does its own dialog, which can't be canceled (Bug#14578).
8518 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8520 * simple.el (line-move-partial): Adjust the row returned by
8521 posn-at-point for the current window-vscroll. (Bug#14567)
8523 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8525 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8526 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8529 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8531 * window.el (window-state-put-stale-windows): New variable.
8532 (window--state-put-2): Save list of windows without matching buffer.
8533 (window-state-put): Remove "bufferless" windows if possible.
8535 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8537 * simple.el (alternatives-define): Remove leftover :group keyword.
8540 2013-07-06 Leo Liu <sdl.web@gmail.com>
8542 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8543 (ido-enable-virtual-buffers): New variable.
8544 (ido-buffer-internal, ido-toggle-virtual-buffers)
8545 (ido-make-buffer-list): Use it.
8546 (ido-exhibit): Support turning on and off virtual buffers
8549 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8551 * simple.el (alternatives-define): New macro.
8553 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8555 * subr.el (read-quoted-char): Use read-key.
8556 (sit-for): Let read-event decode tty input (bug#14782).
8558 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8560 * calendar/todo-mode.el: Add handling of file deletion, both by
8561 mode command and externally. Fix various related bugs.
8562 Clarify Commentary and improve some documentation strings and code.
8563 (todo-delete-file): New command.
8564 (todo-check-file): New function.
8565 (todo-show): Handle external deletion of the file we're trying to
8566 show (bug#14688). Replace called-interactively-p by an optional
8567 prefix argument to avoid problematic interaction with catch form
8568 when byte compiled (bug#14702).
8569 (todo-quit): Handle external deletion of the archive's todo file.
8570 Make sure the buffer that was visiting the archive file is still
8571 live before trying to bury it.
8572 (todo-category-completions): Handle external deletion of any
8573 category completion files.
8574 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8575 of todo files, in case of external deletion.
8576 (todo-add-file): Replace unnecessary setq by let-binding.
8577 (todo-find-archive): Check whether there are any archives.
8578 Replace unnecessary setq by let-binding.
8579 (todo-archive-done-item): Use find-file-noselect to get the
8580 archive buffer whether or not the archive already exists.
8581 Remove superfluous code. Use file size instead of buffer-file-name to
8582 check if the archive is new; if it is, update list of archives.
8583 (todo-default-todo-file): Allow nil to be a valid value for when
8584 there are no todo files.
8585 (todo-reevaluate-default-file-defcustom): Use corrected definition
8586 of todo-default-todo-file.
8587 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8588 (todo-delete-category, todo-show-categories-table)
8589 (todo-category-number): Clarify comment.
8590 (todo-filter-items): Clarify documentation string.
8591 (todo-show-current-file, todo-display-as-todo-file)
8592 (todo-reset-and-enable-done-separator): Tweak documentation string.
8593 (todo-done-separator): Make separator length window-width, since
8594 bug#2749 is now fixed.
8596 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8598 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8599 Support both "gvfs-monitor-dir" and "inotifywait".
8600 (tramp-sh-file-inotifywait-process-filter): Rename from
8601 `tramp-sh-file-notify-process-filter'.
8602 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8603 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8605 2013-07-05 Leo Liu <sdl.web@gmail.com>
8607 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8609 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8611 * frame.el (display-pixel-height, display-pixel-width)
8612 (display-mm-height, display-mm-width): Mention behavior on
8613 multi-monitor setups in docstrings.
8614 (w32-display-monitor-attributes-list): Declare function.
8615 (display-monitor-attributes-list): Use it.
8617 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8619 * filenotify.el: New package.
8621 * autorevert.el (top): Require filenotify.el.
8622 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8624 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8625 (auto-revert-notify-handler): Use `file-notify-*' functions.
8627 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8629 * net/tramp.el (tramp-file-name-for-operation):
8630 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8632 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8633 for `file-notify-add-watch' and `file-notify-rm-watch'.
8634 (tramp-process-sentinel): Improve trace.
8635 (tramp-sh-handle-file-notify-add-watch)
8636 (tramp-sh-file-notify-process-filter)
8637 (tramp-sh-handle-file-notify-rm-watch)
8638 (tramp-get-remote-inotifywait): New defuns.
8640 2013-07-03 Juri Linkov <juri@jurta.org>
8642 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8643 call of `occur-read-primary-args' to interactive spec.
8645 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8646 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8648 2013-07-03 Matthias Meulien <orontee@gmail.com>
8650 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8651 `Buffer-menu-multi-occur'. Add it to the menu.
8652 (Buffer-menu-mode): Document it in docstring.
8653 (Buffer-menu-multi-occur): New command. (Bug#14673)
8655 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8657 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8658 keywords and built-ins.
8660 2013-07-03 Glenn Morris <rgm@gnu.org>
8662 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8664 Make info-xref checks case-sensitive by default
8665 * info.el (Info-find-node, Info-find-in-tag-table)
8666 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8667 Add option for exact case matching of nodes.
8668 * info-xref.el (info-xref): New custom group.
8669 (info-xref-case-fold): New option.
8670 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8672 2013-07-03 Leo Liu <sdl.web@gmail.com>
8674 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8676 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8678 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8679 middle of block statement initially, lower the depth. Remove
8680 FIXME comment, not longer valid. Remove middle of block statement
8681 detection, no need to do that anymore since we've been using
8682 `ruby-parse-region' here.
8684 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8686 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8688 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8690 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8692 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8694 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8695 (desktop-restore-in-current-display): New customization option.
8696 (desktop--excluded-frame-parameters): Add `font'.
8697 (desktop--save-frames): Rename from desktop--save-windows.
8698 (desktop--restore-in-this-display-p): New function.
8699 (desktop--make-full-frame): Remove unwanted width/height from
8700 full(width|height) frames.
8701 (desktop--restore-frames): Rename from desktop--restore-windows.
8702 Obey desktop-restore-current-display. Do not delete old frames or
8703 select a new frame unless we were able to restore at least one frame.
8705 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8707 * files.el (find-file-noselect): Simplify conditional expression.
8709 * textmodes/remember.el (remember-append-to-file):
8710 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8712 Add `remember-notes' function to store random notes across Emacs
8714 * textmodes/remember.el (remember-data-file): Add :set callback to
8715 affect notes buffer (if any).
8716 (remember-notes): New command.
8717 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8718 New defcustoms for the `remember-notes' function.
8719 (remember-notes-save-and-bury-buffer): New command.
8720 (remember-notes-mode-map): New variable.
8721 (remember-mode): New minor mode.
8722 (remember-notes--kill-buffer-query): New function.
8723 * startup.el (initial-buffer-choice): Add notes to custom type.
8725 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8727 * bindings.el (right-char, left-char): Don't call sit-for, this is
8728 no longer needed. Use arithmetic comparison only for numerical
8731 * international/mule-cmds.el (select-safe-coding-system):
8732 Handle the case of FROM being a string correctly. (Bug#14755)
8734 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8736 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8737 progression on degenerate tables.
8738 (shr-rescale-image): ImageMagick animated images currently don't work.
8740 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8742 Some fixes and improvements for desktop frame restoration.
8743 It is still experimental and disabled by default.
8744 * desktop.el (desktop--save-windows): Put the selected frame at
8745 the head of the list.
8746 (desktop--make-full-frame): New function.
8747 (desktop--restore-windows): Try to re-select the frame that was
8748 selected upon saving. Do not abort if some frames fail to restore,
8749 just show an error message and continue. Set up maximized frames
8750 so they have default non-maximized dimensions.
8752 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8754 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8755 Don't start heredoc inside a string or comment.
8757 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8759 * bindings.el (visual-order-cursor-movement): New defcustom.
8760 (right-char, left-char): Provide visual-order cursor motion by
8761 calling move-point-visually. Update the doc strings.
8763 2013-06-28 Kenichi Handa <handa@gnu.org>
8765 * international/mule.el (define-coding-system): New coding system
8766 properties :inhibit-null-byte-detection,
8767 :inhibit-iso-escape-detection, and :prefer-utf-8.
8768 (set-buffer-file-coding-system): If :charset-list property of
8769 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8770 appropriate for setting.
8772 * international/mule-cmds.el (select-safe-coding-system):
8773 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8774 multibyte characters, return utf-8 (or one of its siblings).
8776 * international/mule-conf.el (prefer-utf-8): New coding system.
8777 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8780 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8782 * net/shr.el (shr-render-region): New function.
8784 * net/eww.el: Autoload `eww-browse-url'.
8786 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8788 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8789 Adapt to `package-desc-version' being a list.
8790 Use `package--ac-desc-version' to retrieve version from a package
8793 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8795 New experimental feature to save&restore window and frame setup.
8796 * desktop.el (desktop-save-windows): New defcustom.
8797 (desktop--saved-states): New var.
8798 (desktop--excluded-frame-parameters): New defconst.
8799 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8800 (desktop--restore-windows, desktop--save-windows): New functions.
8801 (desktop-save): Call `desktop--save-windows'.
8802 (desktop-read): Call `desktop--restore-windows'.
8804 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8806 * net/shr.el (add-face-text-property): Remove compat definition.
8808 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8810 * info.el (Info-try-follow-nearest-node): Move search for footnote
8811 above search for node name to prevent missing a footnote (bug#14717).
8813 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8815 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8817 2013-06-27 Leo Liu <sdl.web@gmail.com>
8819 * net/eww.el (eww-read-bookmarks): Check file size.
8821 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8824 advice--pending if newdef is nil or an autoload (bug#13820).
8825 (advice-mapc): New function.
8827 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8829 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8831 (eww-mode-map): Add a menu bar.
8832 (eww-add-bookmark): New command.
8833 (eww-bookmark-mode): New mode and commands.
8834 (eww-add-bookmark): Remove newlines from the title.
8835 (eww-bookmark-browse): Don't bug out if it's the only window.
8837 2013-06-26 Glenn Morris <rgm@gnu.org>
8839 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8840 (hfy-size): Handle ttys. (Bug#14668)
8842 * info-xref.el: Update for Texinfo 5 change in *note format.
8843 (info-xref-node-re, info-xref-note-re): New constants.
8844 (info-xref-check-buffer): Use info-xref-note-re.
8846 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8848 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8850 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8851 nil terminate the loop (bug#14718).
8853 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8855 * net/eww.el: Rework history traversal. When going forward/back,
8856 put these actions into the history, too, so that they can be
8858 (eww-render): Move the history reset to the correct buffer.
8860 2013-06-25 Juri Linkov <juri@jurta.org>
8862 * files-x.el (modify-dir-local-variable): Change the header comment
8863 in the file with directory local variables. (Bug#14692)
8865 * files-x.el (read-file-local-variable-value): Add `default'.
8868 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8870 * net/eww.el (eww-make-unique-file-name): Create a unique file
8871 name before saving to entering `y' accidentally asynchronously.
8873 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8875 * net/eww.el (eww-download): New command and keystroke.
8877 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8879 * net/eww.el (eww-copy-page-url): Change name of command.
8881 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8882 be more consistent with Info and dired.
8884 * net/eww.el (eww-mode-map): Ditto.
8886 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8888 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8889 packages from archives.
8890 (package-archive-contents): Change format; include obsolete packages.
8891 (package-desc): Use `dir' to mark builtin packages.
8892 (package--from-builtin): Set the `dir' field to `builtin'.
8893 (generated-autoload-file, version-control): Declare.
8894 (package-compute-transaction): Change first arg and return value to be
8895 lists of package-descs. Adjust to new package-archive-contents format.
8896 (package--add-to-archive-contents): Adjust to new
8897 package-archive-contents format.
8898 (package-download-transaction): Arg is now a list of package-descs.
8899 (package-install): If `pkg' is a package name, pass it as
8900 a requirement, so it is subject to the usual (e.g. disabled) checks.
8901 (describe-package): Accept package-desc as well.
8902 (describe-package-1): Describe a specific package-desc. Add links to
8903 other package-descs for the same package name.
8904 (package-menu-describe-package): Pass the actual package-desc.
8905 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8907 (package-desc-status): New function.
8908 (package-menu--refresh): New function, extracted
8909 from package-menu--generate.
8910 (package-menu--generate): Use it.
8911 (package-delete): Update package-alist.
8912 (package-menu-execute): Don't call package-initialize.
8914 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8915 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8916 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8917 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8918 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8919 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8921 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8923 * window.el (window--state-get-1): Workaround for bug#14527.
8924 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8926 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8928 * net/eww.el (eww-back-url): Implement the history by stashing all
8929 the data into a list.
8930 (eww-forward-url): Allow going forward in the history, too.
8932 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8934 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8935 for values and use read--expression for expressions (bug#14710).
8936 (read-file-local-variable): Avoid setq.
8937 (read-file-local-variable-mode): Use minor-mode-list.
8939 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8941 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8944 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8946 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8947 Update imenu-support when dialect changes.
8949 2013-06-25 Leo Liu <sdl.web@gmail.com>
8951 * ido.el (ido-read-internal): Allow forward slash on windows.
8953 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8955 * net/eww.el (eww): Start of strings is \\`, not ^.
8957 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8959 * net/shr.el (shr-browse-url): Fix interactive spec.
8961 * net/eww.el (eww): Add a trailing slash to domain names.
8963 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8965 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8967 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8969 * net/shr.el (shr-browse-url): Use an external browser if given a
8972 * net/eww.el (eww-external-browser): Move to shr.
8974 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8976 * net/eww.el (eww): Work more correctly for file: URLs.
8977 (eww-detect-charset): Allow quoted charsets.
8978 (eww-yank-page-url): New command and keystroke.
8980 2013-06-24 Daiki Ueno <ueno@gnu.org>
8982 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8983 file name of gpg executable.
8984 (epg-context-program): New function.
8985 (epg-context-home-directory): New function.
8986 (epg-context-set-program): New function.
8987 (epg-context-set-home-directory): New function.
8988 (epg--start): Use `epg-context-program' instead of
8990 (epg--list-keys-1): Likewise.
8992 2013-06-24 Leo Liu <sdl.web@gmail.com>
8994 * ido.el (ido-read-internal): Fix bug#14620.
8996 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8998 * faces.el (face-documentation): Simplify.
8999 (read-face-attribute, tty-find-type, x-resolve-font-name):
9000 Use `string-match-p'.
9001 (list-faces-display): Use `string-match-p'. Simplify.
9002 (face-spec-recalc): Check face to avoid face alias loops.
9003 (read-color): Use `string-match-p' and non-capturing parenthesis.
9005 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9007 * net/shr.el (shr-rescale-image): Use the new
9008 :max-width/:max-height functionality.
9010 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9012 * net/eww.el (eww-search-prefix): New variable.
9014 (eww-external-browser): New variable.
9015 (eww-mode-map): New keystroke.
9016 (eww-browse-with-external-browser): New command.
9018 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9020 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9022 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9023 Don't skip aligning the next header field when padding is 0;
9024 otherwise, field width is not respected unless the title is as
9027 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9029 * emacs-lisp/package.el (package-el-version): Remove.
9030 (package-process-define-package): Fix inf-loop.
9031 (package-install): Allow symbols as arguments again.
9033 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9035 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9036 add some more keyword-like methods.
9037 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9039 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9041 * bs.el (bs-buffer-show-mark): Make defvar-local.
9042 (bs-mode): Use setq-local.
9044 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9045 (emacs-lock--try-unlocking): Make defvar-local.
9047 2013-06-22 Glenn Morris <rgm@gnu.org>
9049 * play/cookie1.el (cookie-apropos): Minor simplification.
9051 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9053 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9055 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9056 `regexp-opt', it breaks the build during dumping.
9058 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9060 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9061 Highlight keyword-like methods on Kernel and Module with
9062 font-lock-builtin-face.
9063 (auto-mode-alist): Consolidate different entries into one regexp
9064 and add more *file-s.
9066 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9068 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9070 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9071 (diary-entry): Use it in the action of this button type instead of
9074 * calendar/todo-mode.el: New version.
9075 (todo-add-category): Append new category to end of file and give
9076 it the highest number, instead of putting it at the beginning and
9077 giving it 0. Incorporate noninteractive functionality.
9078 (todo-forward-category): Adapt to 1-based category numbering.
9079 Allow skipping over archived categories.
9080 (todo-backward-category): Derive from todo-forward-category.
9081 (todo-backward-item, todo-forward-item): Make noninteractive and
9082 delegate interactive part to new commands. Make sensitive to done items.
9083 (todo-categories): Make value an alist of category names and
9084 vectors of item counts.
9085 (todo-category-beg): Make a defconst.
9086 (todo-category-number): Use 1 instead of 0 as initial value.
9087 (todo-category-select): Make sensitive to overlays, optional item
9088 highlighting and done items.
9089 (todo-delete-item): Make sensitive to overlays and marked and done items.
9090 (todo-edit-item): Make sensitive to overlays and editing of
9091 date/time header optional. Add format checks.
9092 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9093 no-op if point is not on an item. Advertise using todo-edit-quit.
9094 (todo-edit-mode): Make sensitive to new format, font-locking, and
9095 multiple todo files.
9096 (todo-insert-item, todo-insert-item-here): Derive from
9097 todo-basic-insert-item and extend functionality.
9098 (todo-item-end, todo-item-start): Make sensitive to done items.
9099 (todo-item-string): Don't return text properties. Restore point.
9100 (todo-jump-to-category): Make sensitive to multiple todo files and
9101 todo archives. Use extended category completion.
9102 (todo-lower-item, todo-raise-item): Rename to *-priority and
9103 derive from todo-set-item-priority.
9104 (todo-mode): Derive from special-mode. Make sensitive to new
9105 format, font-locking and multiple todo files. Make read-only.
9106 (todo-mode-map): Don't suppress digit keys, so they can supply
9107 prefix arguments. Add many new key bindings.
9108 (todo-prefix): Insert as an overlay instead of file text.
9109 Change semantics from diary date expression to purely visual mark.
9110 (todo-print): Rename to todo-print-buffer. Make buffer display
9111 features printable. Remove option to restrict number of items
9112 printed. Add option to print to file.
9113 (todo-print-function): Rename to todo-print-buffer-function.
9114 (todo-quit): Extend to handle exiting new todo modes.
9115 (todo-remove-item): Make sensitive to overlays.
9116 (todo-save): Extend to buffers of filtered items.
9117 (todo-show): Make sensitive to done items, multiple todo files and
9118 new todo modes. Offer to convert legacy todo file before creating
9119 first new todo file.
9120 (todo-show-priorities): Rename to todo-top-priorities.
9121 Change semantics of value 0.
9122 (todo-top-priorities): Rename to todo-filter-top-priorities,
9123 derive from todo-filter-items and extend functionality.
9124 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9125 and extend functionality to other types of filtered items.
9126 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9127 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9128 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9129 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9130 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9131 (todo-edit-mode-hook, todo-entry-prefix-function)
9132 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9133 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9134 (todo-initials, todo-insert-threshold, todo-item-string-start)
9135 (todo-line-string, todo-menu, todo-mode-hook)
9136 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9137 (todo-print-priorities, todo-remove-separator)
9138 (todo-save-top-priorities-too, todo-string-count-lines)
9139 (todo-string-multiline-p, todo-time-string-format)
9140 (todo-tmp-buffer-name): Remove.
9141 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9142 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9143 (todo-edit-category-diary-inclusion)
9144 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9145 (todo-edit-file, todo-edit-item-date-day)
9146 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9147 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9148 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9149 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9150 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9151 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9152 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9153 (todo-filter-top-priorities-multifile, todo-find-archive)
9154 (todo-find-filtered-items-file, todo-go-to-source-item)
9155 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9156 (todo-jump-to-archive-category, todo-lower-category)
9157 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9158 (todo-move-category, todo-move-item, todo-next-button)
9159 (todo-next-item, todo-padded-string, todo-powerset)
9160 (todo-previous-button, todo-previous-item)
9161 (todo-print-buffer-to-file, todo-raise-category)
9162 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9163 (todo-set-category-number, todo-set-item-priority)
9164 (todo-set-top-priorities-in-category)
9165 (todo-set-top-priorities-in-file, todo-show-categories-table)
9166 (todo-sort-categories-alphabetically-or-numerically)
9167 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9168 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9169 (todo-toggle-item-header, todo-toggle-item-highlighting)
9170 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9171 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9172 (todo-unarchive-items, todo-unmark-category): New commands.
9173 (todo-absolute-file-name, todo-add-to-buffer-list)
9174 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9175 (todo-basic-insert-item, todo-category-completions)
9176 (todo-category-number, todo-category-string-matcher-1)
9177 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9178 (todo-check-format, todo-clear-matches)
9179 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9180 (todo-current-category, todo-date-string-matcher)
9181 (todo-define-insertion-command, todo-diary-expired-matcher)
9182 (todo-diary-goto-entry, todo-diary-item-p)
9183 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9184 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9185 (todo-done-item-section-p, todo-done-separator)
9186 (todo-done-string-matcher, todo-files, todo-filter-items)
9187 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9188 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9189 (todo-insert-category-line, todo-insert-item-from-calendar)
9190 (todo-insert-sort-button, todo-insert-with-overlays)
9191 (todo-insertion-command-name, todo-insertion-key-bindings)
9192 (todo-label-to-key, todo-longest-category-name-length)
9193 (todo-make-categories-list, todo-mode-external-set)
9194 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9195 (todo-modes-set-3, todo-multiple-filter-files)
9196 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9197 (todo-read-category, todo-read-date, todo-read-dayname)
9198 (todo-read-file-name, todo-read-time)
9199 (todo-reevaluate-category-completions-files-defcustom)
9200 (todo-reevaluate-default-file-defcustom)
9201 (todo-reevaluate-filelist-defcustoms)
9202 (todo-reevaluate-filter-files-defcustom)
9203 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9204 (todo-reset-done-separator, todo-reset-done-separator-string)
9205 (todo-reset-done-string, todo-reset-global-current-todo-file)
9206 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9207 (todo-reset-prefix, todo-set-categories)
9208 (todo-set-date-from-calendar, todo-set-show-current-file)
9209 (todo-set-top-priorities, todo-short-file-name)
9210 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9211 (todo-total-item-counts, todo-update-buffer-list)
9212 (todo-update-categories-display, todo-update-categories-sexp)
9213 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9215 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9217 (todo-categories, todo-display, todo-edit, todo-faces)
9218 (todo-filtered): New defgroups.
9219 (todo-archived-only, todo-button, todo-category-string, todo-date)
9220 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9221 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9222 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9223 (todo-add-item-if-new-category, todo-always-add-time-string)
9224 (todo-categories-align, todo-categories-archived-label)
9225 (todo-categories-category-label, todo-categories-diary-label)
9226 (todo-categories-done-label, todo-categories-number-separator)
9227 (todo-categories-todo-label, todo-categories-totals-label)
9228 (todo-category-completions-files, todo-completion-ignore-case)
9229 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9230 (todo-done-separator-string, todo-done-string)
9231 (todo-files-function, todo-filter-done-items, todo-filter-files)
9232 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9233 (todo-initial-category, todo-initial-file, todo-item-mark)
9234 (todo-legacy-date-time-regexp, todo-mode-line-function)
9235 (todo-nondiary-marker, todo-number-prefix)
9236 (todo-print-buffer-function, todo-show-current-file)
9237 (todo-show-done-only, todo-show-first, todo-show-with-done)
9238 (todo-skip-archived-categories, todo-top-priorities-overrides)
9239 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9240 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9242 (todo-category-done, todo-date-pattern, todo-date-string-start)
9243 (todo-diary-items-buffer, todo-done-string-start)
9244 (todo-filtered-items-buffer, todo-item-start)
9245 (todo-month-abbrev-array, todo-month-name-array)
9246 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9247 (todo-top-priorities-buffer): New defconsts.
9248 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9249 (todo-categories-with-marks, todo-category-string-face)
9250 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9251 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9252 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9253 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9254 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9255 (todo-font-lock-keywords, todo-global-current-todo-file)
9256 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9257 (todo-insertion-commands-args)
9258 (todo-insertion-commands-args-genlist)
9259 (todo-insertion-commands-names, todo-insertion-map)
9260 (todo-key-bindings-t, todo-key-bindings-t+a)
9261 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9262 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9263 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9264 (todo-visited): New variables.
9266 2013-06-21 Glenn Morris <rgm@gnu.org>
9268 * play/cookie1.el (cookie-apropos): Add optional display argument.
9269 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9270 (psychoanalyze-pinhead): Use cookie-doctor.
9272 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9274 * emacs-lisp/package.el (tar-get-file-descriptor)
9275 (tar--extract): Declare.
9277 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9279 Extend flymake's warning predicate to be a function (bug#14217).
9280 * progmodes/flymake.el (flymake-warning-predicate): New.
9281 (flymake-parse-line): Use it.
9282 (flymake-warning-re): Make obsolete alias to
9283 `flymake-warning-predicate'.
9285 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9287 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9288 (package-obsolete-list): Remove.
9289 (package-activate): Remove min-version argument. Add `force' argument.
9290 Adjust to new package-alist format.
9291 (package-mark-obsolete): Remove.
9292 (package-unpack): Force reload of the package's autoloads.
9293 (package-installed-p): Check builtins if the installed package is not
9295 (package-initialize): Don't reset package-obsolete-list.
9296 Don't specify which package version to activate.
9297 (package-process-define-package, describe-package-1)
9298 (package-menu--generate): Adjust to new package-alist format.
9300 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9302 * allout-widgets.el (allout-widgets-mode-off)
9303 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9304 (allout-widgets-post-command-business)
9305 (allout-widgets-after-copy-or-kill-function)
9306 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9307 (allout-decorate-item-and-context)
9308 (allout-graphics-modification-handler): Fix typos in docstrings.
9309 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9311 * cmuscheme.el (scheme-start-file): Doc fix.
9312 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9313 (scheme-input-filter): Use `string-match-p'.
9315 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9317 * dired-x.el: Use Dired consistently in docstrings.
9319 * dired.el: Use Dired consistently in docstrings.
9320 (dired-readin, dired-mode): Use `setq-local'.
9321 (dired-switches-alist): Make defvar-local.
9322 (dired-buffers-for-dir): Use `zerop'.
9323 (dired-safe-switches-p, dired-switches-escape-p)
9324 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9325 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9326 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9327 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9328 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9329 (dired-toggle-marks, dired-mark-files-containing-regexp)
9330 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9331 (dired-flag-auto-save-files, dired-flag-backup-files):
9333 (dired-mark-files-regexp, dired-build-subdir-alist):
9334 Use `string-match-p', `looking-at-p'.
9336 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9337 (direct-print-region-helper): Use `string-match-p'.
9339 2013-06-21 Leo Liu <sdl.web@gmail.com>
9341 * comint.el (comint-redirect-results-list-from-process):
9344 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9346 * net/eww.el (eww-update-header-line-format): Quote % characters.
9348 2013-06-21 Glenn Morris <rgm@gnu.org>
9350 * play/cookie1.el (cookie): New custom group.
9351 (cookie-file): New option.
9352 (cookie-check-file): New function.
9353 (cookie): Make it interactive. Make start and end messages optional.
9354 Interactively, display the result. Default to cookie-file.
9355 (cookie-insert): Default to cookie-file.
9356 (cookie-snarf): Make start and end messages optional.
9357 Default to cookie-file. Use with-temp-buffer.
9358 (cookie-read): Rename from read-cookie.
9359 Make start and end messages optional. Default to cookie-file.
9360 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9362 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9363 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9365 2013-06-21 Leo Liu <sdl.web@gmail.com>
9367 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9369 2013-06-21 Glenn Morris <rgm@gnu.org>
9371 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9373 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9374 Daniel Hackney <dan@haxney.org>
9376 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9377 Consolidate the single-file vs tarball code.
9378 (package-desc-suffix): New function.
9379 (package-desc-full-name): Don't bother inlining it.
9380 (package-load-descriptor): Return the new package-desc.
9381 (package-mark-obsolete): Remove unused arg `package'.
9382 (package-unpack): Make it work for single files as well.
9383 Make it update package-alist.
9384 (package--make-autoloads-and-stuff): Rename from
9385 package--make-autoloads-and-compile. Don't compile any more.
9386 (package--compile): New function.
9387 (package-generate-description-file): New function, extracted from
9388 package-unpack-single.
9389 (package-unpack-single): Remove.
9390 (package--with-work-buffer): Add indentation and debugging info.
9391 (package-download-single): Remove.
9392 (package-install-from-archive): Rename from package-download-tar, make
9393 it take a pkg-desc, and make it work for single files as well.
9394 (package-download-transaction): Simplify.
9395 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9396 external tar program.
9397 (package-install-from-buffer): Remove `pkg-desc' argument.
9398 Use package-tar-file-info for tar-mode buffers.
9399 (package-install-file): Simplify accordingly.
9400 (package-archive-base): Change to take a pkg-desc.
9401 * tar-mode.el (tar--check-descriptor): New function, extracted from
9403 (tar-get-descriptor): Use it.
9404 (tar-get-file-descriptor): New function.
9405 (tar--extract): New function, extracted from tar-extract.
9406 (tar--extract): Use it.
9407 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9408 case the summary uses non-ascii. Adjust to new calling convention of
9409 package-tar-file-info.
9411 2013-06-21 Leo Liu <sdl.web@gmail.com>
9413 * comint.el (comint-redirect-results-list-from-process):
9414 Fix random delay. (Bug#14681)
9416 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9418 * profiler.el (profiler-format-number): Use log, not log10.
9420 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9422 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9424 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9426 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9427 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9429 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9430 (AUTOGENEL): ... here.
9431 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9432 (cl--defsubst-expand): Use it.
9434 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9436 * subr.el (log10): Move here from C code, and declare as obsolete.
9437 All uses of (log10 X) replaced with (log X 10).
9439 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9441 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9442 Declare with `defvar-local'.
9443 (tabulated-list-use-header-line, tabulated-list-entries)
9444 (tabulated-list-padding, tabulated-list-printer)
9445 (tabulated-list-sort-key): Declare with `defvar-local'.
9446 (tabulated-list-init-header, tabulated-list-print-fake-header):
9449 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9451 * arc-mode.el (archive-mode): Add `archive-write-file' to
9452 `write-contents-functions' also for remote files. (Bug#14652)
9454 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9456 * cus-edit.el (custom-commands): Fix typos.
9457 (custom-display): Fix tooltip text.
9458 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9459 Fix typos in docstrings.
9460 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9461 (custom-unlispify-menu-entry, custom-magic-value-create)
9462 (custom-add-see-also, custom-group-value-create): Use ?\s.
9463 (custom-guess-type, customize-apropos, editable-field)
9464 (custom-face-value-create): Use `string-match-p'.
9465 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9467 * custom.el (custom-load-symbol): Use `string-match-p'.
9469 * ansi-color.el: Convert to lexical binding.
9470 (ansi-colors): Fix URL.
9471 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9472 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9473 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9475 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9477 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9479 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9481 2013-06-19 Tom Tromey <tromey@redhat.com>
9483 * net/eww.el (eww-top-url): Remove.
9484 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9485 (eww-render): Set new variables. Don't set eww-top-url.
9486 (eww-handle-link): Handle "prev", "home", and "contents".
9487 Downcase the rel text.
9488 (eww-top-url): Choose best top URL.
9490 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9492 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9493 relying in widget.el. Using widget.el leads to too many
9494 user interface inconsistencies.
9495 (eww-self-insert): Implement entering commands in text fields.
9496 (eww-process-text-input): New function to make text input field editing
9498 (eww-submit): Rewrite to use the new-style form methods.
9499 (eww-select-display): Display the correct selected item.
9500 (eww-change-select): Implement changing the select value.
9501 (eww-toggle-checkbox): Implement radio/checkboxes.
9502 (eww-update-field): Fix compilation error.
9503 (eww-tag-textarea): Implement <textarea>.
9505 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9506 we don't shadow mode-specific bindings.
9508 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9511 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9513 2013-06-19 Glenn Morris <rgm@gnu.org>
9515 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9517 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9519 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9522 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9524 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9526 * net/browse-url.el (browse-url-browser-function):
9527 `eww-browse-url' has the right calling signature, `eww' does not.
9529 2013-06-19 Glenn Morris <rgm@gnu.org>
9531 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9532 Only eval autoloaded macros.
9533 (byte-compile-autoload): Only give the macro warning for macros.
9535 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9536 (ps-underlined-faces): Declare.
9538 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9539 (speedbar-add-supported-extension): Declare.
9541 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9542 Don't include a date stamp in the header of the generated file;
9543 it leads to needless differences between output files.
9545 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9547 * net/secrets.el (secrets-struct-secret-content-type):
9548 Replace check of introspection data by a test call of "CreateItem".
9549 Some servers do not offer introspection.
9551 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9553 * electric.el (electric-pair-mode): Improve interaction with
9554 electric-layout-mode.
9555 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9556 (electric-pair-syntax): Use text-mode-syntax-table in comments
9558 (electric-pair--insert): New function.
9559 (electric-pair-post-self-insert-function): Use it and
9560 electric--after-char-pos.
9562 2013-06-19 Leo Liu <sdl.web@gmail.com>
9564 * progmodes/octave.el (octave-help): Fix regexp.
9566 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9568 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9569 (shr-table-horizontal-line): Allow nil as a value, and change the
9571 (shr-insert-table-ruler): Respect the nil value.
9573 2013-06-18 Tom Tromey <tromey@barimba>
9575 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9577 (eww-open-file): New defun.
9578 (eww-render): Initialize new variables.
9579 (eww-display-html): Handle "link" and "a".
9580 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9581 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9582 (eww-back-url): Rename from eww-previous-url.
9583 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9586 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9588 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9589 Distinguish ternary operator tokens from slash symbol and slash
9592 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9594 Convert symbol prettification into minor mode and global minor mode.
9596 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9597 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9598 (prettify-symbols--keywords): Rename from
9599 `prog-prettify-symbols-alist' and make a local defvar.
9600 (prettify-symbols--compose-symbol): Rename from
9601 `prog--prettify-font-lock-compose-symbol'.
9602 (prettify-symbols--make-keywords): Rename from
9603 `prog-prettify-font-lock-symbols-keywords' and simplify.
9604 (prog-prettify-install): Remove.
9605 (prettify-symbols-mode): New minor mode, based on
9606 `prog-prettify-install'.
9607 (turn-on-prettify-symbols-mode): New function.
9608 (global-prettify-symbols-mode): New globalized minor mode.
9610 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9611 * progmodes/cfengine.el (cfengine3-mode):
9612 * progmodes/perl-mode.el (perl-mode): Don't call
9613 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9615 2013-06-18 Juri Linkov <juri@jurta.org>
9617 * files-x.el (modify-file-local-variable-message): New function.
9618 (modify-file-local-variable)
9619 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9620 and call `modify-file-local-variable-message' when it's non-nil.
9621 (add-file-local-variable, delete-file-local-variable)
9622 (add-file-local-variable-prop-line)
9623 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9624 and use it. (Bug#9820)
9626 2013-06-18 Juri Linkov <juri@jurta.org>
9628 * emulation/vi.el (vi-shell-op):
9629 * emulation/vip.el (vip-execute-com, ex-command):
9630 * emulation/viper-cmd.el (viper-exec-bang):
9631 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9632 the call of `shell-command-on-region'. (Bug#14637)
9634 * simple.el (shell-command-on-region): Doc fix.
9636 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9638 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9641 2013-06-18 Glenn Morris <rgm@gnu.org>
9643 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9645 * newcomment.el (comment-search-forward, comment-search-backward):
9646 Doc fix. (Bug#14376)
9648 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9650 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9651 (buffer-face-mode-invoke): Doc fix.
9653 2013-06-18 Matthias Meulien <orontee@gmail.com>
9655 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9656 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9658 2013-06-18 Glenn Morris <rgm@gnu.org>
9660 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9661 Replace obsolete function generic-make-keywords with its expansion.
9663 * progmodes/python.el (ffap-alist): Declare.
9665 * textmodes/reftex.el (bibtex-mode-map): Declare.
9667 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9669 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9670 (package-unpack, package-unpack-single): Return the pkg-dir.
9671 (package-download-transaction): Use it to update package-alist.
9673 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9675 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9678 2013-06-17 Juri Linkov <juri@jurta.org>
9680 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9682 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9684 * emacs-lisp/package.el (package-load-descriptor):
9685 Remove `with-syntax-table' call, `read' doesn't need it.
9686 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9688 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9690 * startup.el (command-line): Expand package name returned by
9691 `package--description-file' (bug#14639).
9693 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9695 * emacs-lisp/package.el (package-load-descriptor): Do not call
9696 `emacs-lisp-mode', just use its syntax table.
9698 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9700 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9701 `font-lock-extra-managed-props' if any prettifying keyword is added.
9702 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9703 (prog-mode): Use `setq-local'.
9705 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9707 * international/characters.el (standard-case-table): Set syntax of ?»
9708 and ?« to punctuation.
9710 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9712 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9713 Save relevant match data before calling `syntax-ppss' (bug#14595).
9715 2013-06-15 Juri Linkov <juri@jurta.org>
9717 * files-x.el (modify-file-local-variable-prop-line): Add local
9718 variables to the end of the existing comment on the first line.
9719 Use `file-auto-mode-skip' to skip interpreter magic line,
9720 and also skip XML declaration.
9722 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9724 * startup.el (package--builtin-versions): New var.
9725 (package-subdirectory-regexp): Remove.
9726 (package--description-file): Hard code its value instead.
9728 * emacs-lisp/package.el: Don't activate packages older than builtin.
9729 (package-obsolete-list): Rename from package-obsolete-alist, and make
9730 it into a simple list of package-desc.
9731 (package-strip-version): Remove.
9732 (package-built-in-p): Use package--builtin-versions.
9733 (package-mark-obsolete): Simplify.
9734 (package-process-define-package): Mark it obsolete if older than the
9736 (package-handle-response): Use line-end-position.
9737 (package-read-archive-contents, package--download-one-archive):
9739 (package--add-to-archive-contents): Skip if older than the builtin or
9741 (package-menu-describe-package): Fix last change.
9742 (package-list-unversioned): New var.
9743 (package-menu--generate): Use it.
9745 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9746 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9747 (autoload-builtin-package-versions): New variable.
9748 (autoload-generate-file-autoloads): Use them.
9749 Remove the list of autoloaded functions/macros from the
9750 (autoload...) comments.
9752 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9754 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9756 * simple.el (line-move-partial): Don't jump to the next screen
9757 line as soon as it becomes visible. Instead, continue enlarging
9758 the vscroll until the portion of a tall screen line that's left on
9759 display is about the height of the frame's default font.
9762 2013-06-15 Glenn Morris <rgm@gnu.org>
9764 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9765 compilation-error-regexp-alist void, or local while let-bound.
9767 * progmodes/make-mode.el (makefile-mode-syntax-table):
9768 Treat "=" as punctuation. (Bug#14614)
9770 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9772 * help-fns.el (describe-variable):
9773 Add extra line for permanent-local variables.
9775 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9777 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9778 Add export, import, library. (Bug#9164)
9779 (library): Set indent function.
9781 2013-06-14 Glenn Morris <rgm@gnu.org>
9783 * term/xterm.el (xterm--query):
9784 Stop after first matching handler. (Bug#14615)
9786 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9788 Add support for dired in saveplace.
9789 * dired.el (dired-initial-position-hook): New variable.
9790 (dired-initial-position): Call hook to place cursor position.
9791 * saveplace.el (save-place-to-alist): Add dired position.
9792 (save-place-dired-hook): New function.
9794 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9797 through a symbol rather than letrec.
9799 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9800 (package-desc): Add `dir' field.
9801 (package-desc-full-name): New function.
9802 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9803 (package-maybe-load-descriptor): Remove.
9804 (package-load-all-descriptors): Just call package-load-descriptor.
9805 (package--disabled-p): New function.
9806 (package-desc-vers, package-desc-doc): Remove aliases.
9807 (package--dir): Remove function.
9808 (package-activate): Check if a package is disabled.
9809 (package-process-define-package): New function, extracted from
9811 (define-package): Turn into a place holder.
9812 (package-unpack-single, package-tar-file-info):
9813 Use package--description-file.
9814 (package-compute-transaction): Use package--disabled-p.
9815 (package-download-transaction): Don't call
9816 package-maybe-load-descriptor since they're all loaded anyway.
9817 (package-install): Change argument to be a pkg-desc.
9818 (package-delete): Use a single pkg-desc argument.
9819 (describe-package-1): Use package-desc-dir instead of package--dir.
9820 Use package-desc property instead of package-symbol.
9821 (package-install-button-action): Adjust accordingly.
9822 (package--push): Rewrite.
9823 (package-menu--print-info): Adjust accordingly. Change the ID format
9825 (package-menu-describe-package, package-menu-get-status)
9826 (package-menu--find-upgrades, package-menu-mark-upgrades)
9827 (package-menu-execute, package-menu--name-predicate):
9829 * startup.el (package--description-file): New function.
9830 (command-line): Use it.
9831 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9832 Use package-desc-version.
9834 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9835 (byte-compile-preprocess): Use it.
9836 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9837 can't quite recognize.
9838 (byte-compile-add-to-list): Remove.
9839 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9840 (cconv-closure-convert): Add assertion.
9842 * emacs-lisp/map-ynp.el: Use lexical-binding.
9843 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9844 Factor out some repeated code.
9846 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9848 * subr.el (with-eval-after-load): New macro.
9849 (eval-after-load): Allow form to be a function.
9850 take advantage of lexical-binding.
9851 (do-after-load-evaluation): Use dolist and adjust to new format.
9852 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9854 2013-06-13 Juri Linkov <juri@jurta.org>
9856 * replace.el (perform-replace): Display "symbol " and other search
9857 modes from `isearch-message-prefix' in the *Help* buffer.
9859 * isearch.el (isearch-query-replace): Add " symbol" and other
9860 possible search modes from `isearch-message-prefix' to the prompt.
9861 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9862 when reading a regexp to collect.
9864 2013-06-13 Juri Linkov <juri@jurta.org>
9866 * isearch.el (word-search-regexp): Match whitespace if the search
9867 string begins or ends in whitespace. The LAX arg is applied to
9868 both ends of the search string. Use `regexp-quote' and explicit
9869 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9870 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9871 boundaries are replaced with symbol boundaries, and characters
9872 between symbols match non-word non-symbol syntax. (Bug#14602)
9874 2013-06-13 Juri Linkov <juri@jurta.org>
9876 * isearch.el (isearch-del-char): Don't exceed the length of
9877 `isearch-string' by the prefix arg. (Bug#14563)
9879 2013-06-13 Juri Linkov <juri@jurta.org>
9881 * isearch.el (isearch-yank-word, isearch-yank-line)
9882 (isearch-char-by-name, isearch-quote-char)
9883 (isearch-printing-char, isearch-process-search-char):
9884 Add optional count prefix arg. (Bug#14563)
9886 * international/isearch-x.el
9887 (isearch-process-search-multibyte-characters):
9888 Add optional count prefix arg.
9890 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9892 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9893 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9896 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9898 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9900 2013-06-13 Glenn Morris <rgm@gnu.org>
9902 * startup.el (tty-handle-args):
9903 Don't just discard "--" and anything after. (Bug#14608)
9905 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9907 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9909 Implement changes in Secret Service API. Make it backward compatible.
9910 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9911 (secrets-create-item): Use it. Prefix properties with interface.
9913 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9915 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9916 (term-emulate-terminal): Respect term-suppress-hard-newline.
9918 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9920 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9921 Only remove a `thumb-file' overlay. (Bug#14548)
9923 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9925 * mail/reporter.el (reporter-submit-bug-report):
9926 Handle missing package-name. (Bug#14600)
9928 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9930 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9931 (reftex-citation-prompt, reftex-default-bibliography)
9932 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9933 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9934 (reftex-bib-sort-author, reftex-bib-sort-year)
9935 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9936 (reftex-extract-bib-entries-from-thebibliography)
9937 (reftex-get-bibkey-default, reftex-get-bib-names)
9938 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9939 (reftex-format-bib-entry, reftex-parse-bibitem)
9940 (reftex-format-bibitem, reftex-do-citation)
9941 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9942 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9943 (reftex-insert-bib-matches, reftex-format-citation)
9944 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9945 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9946 existing comments into docstrings.
9948 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9950 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9952 2013-06-12 Andreas Schwab <schwab@suse.de>
9954 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9955 for auto-save files.
9957 2013-06-12 Glenn Morris <rgm@gnu.org>
9959 * ido.el (ido-delete-ignored-files): Remove.
9960 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9961 Go back to calling ido-ignore-item-p directly.
9963 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9965 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9967 * ido.el (ido-delete-ignored-files): New function,
9968 split from ido-make-file-list-1.
9969 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9970 (ido-make-file-list-1): Use ido-delete-ignored-files.
9972 2013-06-12 Leo Liu <sdl.web@gmail.com>
9974 * progmodes/octave.el (inferior-octave-startup)
9975 (inferior-octave-completion-table)
9976 (inferior-octave-track-window-width-change)
9977 (octave-eldoc-function-signatures, octave-help)
9978 (octave-find-definition): Use single quoted strings.
9979 (inferior-octave-startup-args): Change default value.
9980 (inferior-octave-startup): Do not hard code "-i" and
9981 "--no-line-editing".
9982 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9983 (inferior-octave-directory-tracker): Use it.
9984 (octave-goto-function-definition): Robustify.
9985 (octave-help): Support highlighting operators in 'See also'.
9986 (octave-find-definition): Find subfunctions only in Octave mode.
9988 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9990 * help-fns.el (help-fns--compiler-macro): If the handler function is
9991 named, then put a link to it.
9992 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9993 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9995 (cl-eval-when): Simplify debug spec.
9996 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9997 compiler-macro function instead of setting `compiler-macro-file'.
9999 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10001 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10002 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10004 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10005 Daniel Hackney <dan@haxney.org>
10007 First part of Daniel Hackney's patch to package.el.
10008 * emacs-lisp/package.el: Use defstruct.
10009 (package-desc): New, main struct.
10010 (package--bi-desc, package--ac-desc): New structs, used to describe the
10011 format in external files.
10012 (package-desc-vers): Replace with package-desc-version accessor.
10013 (package-desc-doc): Replace with package-desc-summary accessor.
10014 (package-activate-1): Remove `package' arg since the pkg-vec now
10016 (define-package): Use package-desc-from-define.
10017 (package-unpack-single): Change file-name arg to be a symbol.
10018 (package--add-to-archive-contents): Use package-desc-create and new
10019 accessor functions to package--ac-desc.
10020 (package-buffer-info, package-tar-file-info): Return a package-desc.
10021 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10022 arg to be a package-desc.
10023 (package-install-file): Adjust accordingly. Use \' to match EOS.
10024 (package--from-builtin): New function.
10025 (describe-package-1, package-menu--generate): Use it.
10026 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10027 (package-generate-autoloads): Idem and return the name of the file.
10028 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10029 Change pkg-info arg to be a package-desc.
10030 Use package-make-ac-desc.
10031 (package-upload-file): Use \' to match EOS.
10032 * finder.el (finder-compile-keywords): Use package-make-builtin.
10034 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10036 * vc/vc.el (vc-deduce-fileset): Change error message.
10037 (vc-read-backend): New function.
10038 (vc-next-action): Use it.
10040 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10042 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10043 (prolog-font-lock-keywords): Use regexp-opt instead.
10044 Don't manually highlight strings.
10045 (prolog-mode-variables): Simplify comment-start-skip.
10046 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10048 * emacs-lisp/generic.el (generic--normalise-comments)
10049 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10050 (generic-mode-set-comments): Use them.
10051 (generic-bracket-support): Use setq-local.
10052 (generic-make-keywords-list): Declare obsolete.
10054 2013-06-11 Glenn Morris <rgm@gnu.org>
10056 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10057 Prettify after setting font-lock-defaults. (Bug#14574)
10059 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10061 * replace.el (query-replace, occur-read-regexp-defaults-function)
10063 * subr.el (declare-function, number-sequence, local-set-key)
10064 (substitute-key-definition, locate-user-emacs-file)
10065 (with-silent-modifications, split-string, eval-after-load):
10066 Fix typos, remove unneeded backslashes and reflow some docstrings.
10068 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10070 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10071 default for Elisp files.
10073 2013-06-11 Glenn Morris <rgm@gnu.org>
10075 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10076 although define-derived-mode was doing this anyway. (Bug#14583)
10078 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10080 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10081 Fix make-variable-buffer-local call to refer to the correct variable.
10083 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10085 * eshell/em-term.el (eshell-visual-commands)
10086 (eshell-visual-subcommands, eshell-visual-options):
10087 Add summary line to docstrings. Add cross-references.
10089 2013-06-10 Glenn Morris <rgm@gnu.org>
10091 * epa.el (epa-read-file-name): New function. (Bug#14510)
10092 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10094 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10096 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10097 output redirection to be ignored with visual commands.
10099 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10101 * eshell/em-term.el (eshell-visual-command-p): New function.
10102 (eshell-term-initialize): Move long lambda to separate function
10103 eshell-visual-command-p.
10104 * eshell/em-dirs.el (eshell-dirs-initialise):
10105 * eshell/em-script.el (eshell-script-initialize):
10106 Add missing #' to lambda.
10108 2013-06-08 Leo Liu <sdl.web@gmail.com>
10110 * progmodes/octave.el (octave-add-log-current-defun): New function.
10111 (octave-mode): Set add-log-current-defun-function.
10112 (octave-goto-function-definition): Do not move point if not found.
10113 (octave-find-definition): Enhance to try subfunctions first.
10115 2013-06-08 Glenn Morris <rgm@gnu.org>
10117 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10118 (byte-compile-backward-char, byte-compile-backward-word):
10119 Improve previous change, to handle non-explicit nil.
10121 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10123 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10124 (smie--opener/closer-at-point): New function.
10125 (smie--matching-block-data): Use it. Don't match from right after an
10126 opener or right before a closer. Obey smie-blink-matching-inners.
10127 Don't signal a mismatch for repeated inners like "switch..case..case".
10129 2013-06-07 Leo Liu <sdl.web@gmail.com>
10131 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10133 (octave-function-header-regexp): Fix. (Bug#14570)
10134 (octave-help-mode-finish-hook, octave-help-mode-finish):
10135 Remove. Just use temp-buffer-show-hook.
10137 * newcomment.el (comment-search-backward): Revert last change.
10140 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10142 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10144 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10145 through xargs, to avoid failure due to MS-Windows limitations on
10146 command-line length.
10148 2013-06-06 Glenn Morris <rgm@gnu.org>
10150 * font-lock.el (lisp-font-lock-keywords-2):
10151 Treat user-error like error.
10153 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10154 (byte-compile-backward-char, byte-compile-backward-word):
10155 Handle explicit nil arguments. (Bug#14565)
10157 2013-06-05 Alan Mackenzie <acm@muc.de>
10159 * isearch.el (isearch-allow-prefix): New user option.
10160 (isearch-other-meta-char): Don't exit isearch when a prefix
10161 argument is typed whilst `isearch-allow-prefix' is non-nil.
10164 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10166 * autorevert.el (auto-revert-notify-handler): Use memq.
10167 Hide assertion failure.
10169 * skeleton.el: Use cl-lib.
10170 (skeleton-further-elements): Use defvar-local.
10171 (skeleton-insert): Use cl-progv.
10173 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10175 * progmodes/prog-mode.el (prog-prettify-symbols)
10176 (prog-prettify-install): Update docstrings.
10178 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10180 * simple.el: Move all the prog-mode code to prog-mode.el.
10181 * progmodes/prog-mode.el: New file.
10182 * loadup.el: Add prog-mode.el.
10184 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10186 * simple.el (prog-prettify-symbols): Add version.
10187 (prog-prettify-install): Add convenience function to prettify symbols.
10189 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10190 (perl--augmented-font-lock-keywords-1)
10191 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10192 variables and use it.
10194 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10195 (cfengine3-mode): Remove unneeded variable and use it.
10197 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10198 (lisp--augmented-font-lock-keywords-1)
10199 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10200 Remove unneeded variables and use it.
10202 2013-06-05 João Távora <joaotavora@gmail.com>
10204 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10205 to point when opening the connection. (Bug#14380)
10207 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10209 * subr.el (load-history-regexp, load-history-filename-element)
10210 (eval-after-load, after-load-functions, do-after-load-evaluation)
10211 (eval-next-after-load, display-delayed-warnings)
10212 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10213 definition of save-match-data.
10214 (overriding-local-map): Remove accidental obsolescence declaration.
10216 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10218 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10220 Generalize symbol prettify support to prog-mode and implement it
10221 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10222 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10223 (prog--prettify-font-lock-compose-symbol)
10224 (prog-prettify-font-lock-symbols-keywords): New variables and
10225 functions to support symbol prettification.
10226 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10227 (lisp--augmented-font-lock-keywords-1)
10228 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10229 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10230 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10231 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10232 Implement prettify of -> => :: strings.
10233 * progmodes/perl-mode.el (perl-prettify-symbols)
10234 (perl--font-lock-compose-symbol)
10235 (perl--font-lock-symbols-keywords): Move to prog-mode.
10236 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10237 (perl-font-lock-keywords-1)
10238 (perl-font-lock-keywords-2): Remove explicit prettify support.
10239 (perl--augmented-font-lock-keywords)
10240 (perl--augmented-font-lock-keywords-1)
10241 (perl--augmented-font-lock-keywords-2, perl-mode):
10242 Implement prettify support.
10244 2013-06-05 Leo Liu <sdl.web@gmail.com>
10246 Re-implement smie matching block highlight using
10247 show-paren-data-function. (Bug#14395)
10248 * emacs-lisp/smie.el (smie-matching-block-highlight)
10249 (smie--highlight-matching-block-overlay)
10250 (smie--highlight-matching-block-lastpos)
10251 (smie-highlight-matching-block)
10252 (smie-highlight-matching-block-mode): Remove.
10253 (smie--matching-block-data-cache): New variable.
10254 (smie--matching-block-data): New function.
10255 (smie-setup): Use smie--matching-block-data for
10256 show-paren-data-function.
10258 * progmodes/octave.el (octave-mode-menu): Fix.
10259 (octave-find-definition): Skip garbage lines.
10261 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10263 Fix compilation error with simultaneous dynamic+lexical scoping.
10264 Add warning when a defvar appears after the first let-binding.
10265 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10266 (byte-compile-close-variables): Initialize it.
10267 (byte-compile--declare-var): New function.
10268 (byte-compile-file-form-defvar)
10269 (byte-compile-file-form-define-abbrev-table)
10270 (byte-compile-file-form-custom-declare-variable): Use it.
10271 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10272 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10273 (byte-compile-bind): Handle dynamic bindings that shadow
10275 (byte-compile-unbind): Make arg non-optional.
10276 (byte-compile-let): Simplify.
10277 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10278 (cconv--analyse-function, cconv-analyse-form): Populate it.
10279 Protect byte-compile-bound-variables to limit the scope of defvars.
10280 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10281 Remove unneeded rule for `declare'.
10283 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10284 so as to avoid depending on cl-adjoin at run-time.
10285 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10287 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10288 (macroexp--warn-and-return): Use it.
10290 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10292 * subr.el: Convert to lexical binding.
10293 (overriding-local-map): Make obsolete.
10294 (add-to-list): Doc fix. Add compiler macro.
10295 (read-key): Swap values of local maps.
10297 2013-06-05 Leo Liu <sdl.web@gmail.com>
10299 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10301 2013-06-04 Leo Liu <sdl.web@gmail.com>
10303 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10304 (compilation-auto-jump): Suppress the "Mark set" message to give
10305 way to exit message.
10307 2013-06-04 Alan Mackenzie <acm@muc.de>
10309 Remove faulty optimisation from indentation calculation.
10310 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10311 search limit based on 2000 characters back from indent-point.
10313 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10315 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10317 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10319 * emacs-lisp/lisp.el: Use lexical-binding.
10320 (lisp--local-variables-1, lisp--local-variables): New functions.
10321 (lisp--local-variables-completion-table): New var.
10322 (lisp-completion-at-point): Use it complete let-bound vars.
10324 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10325 eagerly (bug#14422).
10327 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10329 * autorevert.el (auto-revert-notify-enabled)
10330 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10331 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10332 (auto-revert-notify-handler): Handle also gfilenotify.
10334 * subr.el (file-notify-handle-event): New defun. Replacing ...
10335 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10338 2013-06-03 Juri Linkov <juri@jurta.org>
10340 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10341 `M-s h .'. (Bug#14427)
10343 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10344 command `hi-lock-face-symbol-at-point'.
10345 (hi-lock-face-symbol-at-point): New command.
10346 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10347 (hi-lock-menu): Add `highlight-symbol-at-point'.
10348 (hi-lock-mode): Doc fix.
10350 * isearch.el (isearch-forward-symbol-at-point): New command.
10351 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10352 (isearch-highlight-regexp): Add a regexp which matches
10353 words/symbols for word/symbol mode.
10355 * subr.el (find-tag-default-bounds): New function with the body
10356 mostly moved from `find-tag-default'.
10357 (find-tag-default): Move most code to `find-tag-default-bounds',
10358 call it and apply `buffer-substring-no-properties' afterwards.
10360 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10362 * eshell/em-term.el (eshell-term-initialize):
10363 Use `cl-intersection' rather than `intersection'.
10365 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10367 * vc/log-view.el: Doc fix.
10368 (log-view-mode-map): Copy keymap from `special-mode-map'.
10370 2013-06-02 Eric Ludlam <zappo@gnu.org>
10372 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10373 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10374 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10375 (eieio-unbound, eieio-default-superclass)
10376 (eieio--define-field-accessors, method-static, method-before)
10377 (method-primary, method-after, method-num-lists)
10378 (method-generic-before, method-generic-primary)
10379 (method-generic-after, method-num-slots)
10380 (eieio-specialized-key-to-generic-key)
10381 (eieio--check-type, class-v, class-p)
10382 (eieio-class-name, define-obsolete-function-alias)
10383 (eieio-class-parents-fast, eieio-class-children-fast)
10384 (same-class-fast-p, class-constructor, generic-p)
10385 (generic-primary-only-p, generic-primary-only-one-p)
10386 (class-option-assoc, class-option, eieio-object-p)
10387 (class-abstract-p, class-method-invocation-order)
10388 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10389 (eieio-class-un-autoload, eieio-defclass)
10390 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10391 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10392 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10393 (eieio-defgeneric-reset-generic-form)
10394 (eieio-defgeneric-form-primary-only)
10395 (eieio-defgeneric-reset-generic-form-primary-only)
10396 (eieio-defgeneric-form-primary-only-one)
10397 (eieio-defgeneric-reset-generic-form-primary-only-one)
10398 (eieio-unbind-method-implementations)
10399 (eieio--defmethod, eieio--typep)
10400 (eieio-perform-slot-validation, eieio-validate-slot-value)
10401 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10402 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10403 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10404 (eieio-slot-name-index, eieio-class-slot-name-index)
10405 (eieio-set-defaults, eieio-initarg-to-attribute)
10406 (eieio-attribute-to-initarg, eieio-c3-candidate)
10407 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10408 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10409 (eieio-class-precedence-list, eieio-generic-call-methodname)
10410 (eieio-generic-call-arglst, eieio-generic-call-key)
10411 (eieio-generic-call-next-method-list)
10412 (eieio-pre-method-execution-functions, eieio-generic-call)
10413 (eieio-generic-call-primary-only, eieiomt-method-list)
10414 (eieiomt-optimizing-obarray, eieiomt-install)
10415 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10416 (eieio-generic-form, eieio-defmethod, make-obsolete)
10417 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10418 (defclass): Remove `eval-and-compile' from macro.
10419 (call-next-method, shared-initialize): Instead of using
10420 `scoped-class' variable, use new eieio--scoped-class, and
10421 eieio--with-scoped-class.
10422 (initialize-instance): Rename local variable 'scoped-class' to
10423 'this-class' to remove ambiguitity from old global.
10425 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10427 (eieio--scoped-class-stack): New variable.
10428 (eieio--scoped-class): New fcn.
10429 (eieio--with-scoped-class): New scoping macro.
10430 (eieio-defclass): Use pushnew instead of add-to-list.
10431 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10432 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10433 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10434 `scoped-class' variable, use new eieio--scoped-class, and
10435 eieio--with-scoped-class.
10437 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10439 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10441 * eshell/esh-ext.el (eshell-external-command): Pass args to
10442 `eshell-find-interpreter'.
10443 (eshell-find-interpreter): Add new second parameter ARGS.
10445 * eshell/em-script.el (eshell-script-initialize): Add second arg
10446 to the function added as MATCH to `eshell-interpreter-alist'.
10448 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10449 the function added as MATCH to `eshell-interpreter-alist'.
10451 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10452 (eshell-visual-options): New defcustom.
10453 (eshell-escape-control-x): Adapt docstring.
10454 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10455 `eshell-visual-options' in addition to `eshell-visual-commands'.
10456 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10458 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10460 * progmodes/python.el (python-indent-block-enders): Add break,
10461 continue and raise keywords.
10463 2013-06-01 Glenn Morris <rgm@gnu.org>
10465 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10467 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10468 * progmodes/cc-cmds.el (delete-forward-p):
10469 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10470 * progmodes/cc-engine.el (buffer-syntactic-context):
10471 * progmodes/cc-fonts.el (face-property-instance):
10472 * progmodes/cc-mode.el (set-keymap-parents):
10473 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10474 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10475 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10476 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10477 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10479 * progmodes/cc-vars.el (other): Emacs has this widget since
10480 at least 21.1, so don't (re)define it.
10482 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10483 Replace the obsolete alias pcomplete-arg-quote-list.
10485 2013-06-01 Leo Liu <sdl.web@gmail.com>
10487 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10488 punctuation syntax.
10489 (inferior-octave-minimal-columns)
10490 (inferior-octave-last-column-width): New variables.
10491 (inferior-octave-track-window-width-change): New function.
10492 (inferior-octave-mode): Adjust column width so that Octave output,
10493 for example from 'ls', can fit into the window nicely.
10495 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10497 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10498 Highlight expansions inside regexp literals.
10500 2013-05-31 Glenn Morris <rgm@gnu.org>
10502 * obsolete/sym-comp.el (symbol-complete):
10503 Replace obsolete completion-annotate-function.
10505 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10507 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10509 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10510 New function, checks if point is inside a literal that allows
10511 expression expansion.
10512 (ruby-syntax-propertize-expansion): Use it.
10513 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10516 2013-05-30 Juri Linkov <juri@jurta.org>
10518 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10520 (isearch-invisible): New variable.
10521 (isearch-forward): Doc fix.
10522 (isearch-mode): Set `isearch-invisible'
10523 to the value of `search-invisible'.
10524 (isearch-toggle-case-fold): Doc fix.
10525 (isearch-toggle-invisible): New command.
10526 (isearch-query-replace): Let-bind `search-invisible'
10527 to the value of `isearch-invisible'.
10528 (isearch-search): Use `isearch-invisible' instead of
10529 `search-invisible'. Let-bind `search-invisible'
10530 to the value of `isearch-invisible'. (Bug#11378)
10532 2013-05-30 Juri Linkov <juri@jurta.org>
10534 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10535 call when `query-flag' is nil and `search-invisible' is non-nil.
10538 2013-05-30 Glenn Morris <rgm@gnu.org>
10540 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10542 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10543 (cc-require): Suppress spurious "noruntime" warnings.
10544 (cc-require-when-compile): Use fboundp, for sake of compiler.
10546 * progmodes/cc-mode.el: Move load of cc-vars before that of
10547 cc-langs (which in turn loads cc-vars), to quieten compiler.
10549 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10551 * paren.el: Simplify the code.
10552 (show-paren-mode): Always start the timer.
10553 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10554 (show-paren--overlay, show-paren--overlay-1): Rename from
10555 show-paren-overlay and show-paren-overlay-1, and initialize to an
10556 overlay rather than to nil.
10557 (show-paren-function): Misc cleanup and simplifications.
10559 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10561 * paren.el (show-paren-data-function): New hook.
10562 (show-paren--default): New function, extracted from show-paren-function.
10563 (show-paren-function): Use show-paren-data-function.
10565 2013-05-30 Glenn Morris <rgm@gnu.org>
10567 * ielm.el (ielm-map, ielm-complete-symbol):
10568 Use completion-at-point rather than obsolete functions.
10569 (inferior-emacs-lisp-mode): Doc fix.
10570 Set completion-at-point-functions, rather than
10571 comint-dynamic-complete-functions.
10573 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10574 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10575 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10577 * image.el (image-animated-p): Tweak definition.
10579 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10580 (rlogin-process-connection-type): Tweak default. Add set-after.
10581 (rlogin-host): Doc fix.
10582 (rlogin): Tweak prompt.
10583 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10585 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10586 * progmodes/tcl.el (inferior-tcl-mode-map):
10587 Use completion-at-point rather than obsolete alias.
10589 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10591 * minibuffer.el (read-file-name-completion-ignore-case):
10592 Move before completion--in-region, for eager macro expansion.
10594 2013-05-29 Juri Linkov <juri@jurta.org>
10596 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10597 for total count of matching lines. Add `global-matches' for total
10598 count of matches. Rename `matches' to `lines' for count of
10599 matching lines. Add `matches' for count of matches.
10600 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10601 to `prev-line' for line number of prev match endpt.
10602 Increment `matches' for every match. Print the number of
10603 matching lines in the header.
10604 (occur-context-lines): Rename `lines' to `curr-line'.
10605 Rename `prev-lines' to `prev-line'. (Bug#14017)
10607 2013-05-29 Juri Linkov <juri@jurta.org>
10609 * replace.el (perform-replace): Add `skip-read-only-count',
10610 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10611 Increment them for corresponding conditions and report the number
10612 of skipped occurrences in the final message. (Bug#11746)
10613 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10614 (replace-string, replace-regexp): Doc fix.
10616 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10618 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10620 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10621 prog-mode-map (bug#14504).
10623 2013-05-29 Leo Liu <sdl.web@gmail.com>
10625 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10626 (octave-help): Small simplification.
10628 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10629 off the highlight first.
10631 2013-05-29 Glenn Morris <rgm@gnu.org>
10633 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10634 Handle idlwave-last-system-routine-info-cons-cell being nil.
10636 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10637 (idlwave-write-paths): Simplify via with-temp-buffer.
10639 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10640 * emulation/cua-rect.el: Also load cua-base at run time.
10642 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10643 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10644 (cperl-imenu-on-info): Require imenu.
10646 2013-05-28 Alan Mackenzie <acm@muc.de>
10648 Handle "capitalised keywords" correctly.
10649 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10651 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10653 * eshell/em-unix.el: Add -r option to cp.
10655 2013-05-28 Glenn Morris <rgm@gnu.org>
10657 * vc/vc-arch.el (vc-exec-after): Declare.
10658 (vc-switches): Autoload.
10659 * vc/vc-bzr.el: No need to require vc when compiling.
10660 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10661 (vc-resynch-buffer, vc-dir-refresh): Declare.
10662 (vc-setup-buffer, vc-switches): Autoload.
10663 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10664 (vc-resynch-buffer): Declare.
10665 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10666 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10667 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10668 (grep-read-regexp, grep-read-files, grep-expand-template)
10669 (vc-dir-refresh): Declare.
10670 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10671 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10672 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10673 * vc/vc-mtn.el (vc-exec-after): Declare.
10674 (vc-switches): Autoload.
10675 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10676 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10677 (vc-file-tree-walk): Declare.
10678 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10679 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10680 (vc-tag-precondition, vc-rename-master): Autoload.
10681 * vc/vc-svn.el (vc-exec-after): Declare.
10682 (vc-switches, vc-setup-buffer): Autoload.
10683 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10685 (vc-resynch-buffer): Declare.
10687 * obsolete/fast-lock.el (byte-compile-warnings):
10688 Don't warn about obsolete features in this obsolete file.
10690 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10691 Move definition before use.
10693 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10694 (dun-unix-verbs): Remove dun-zippy.
10695 (dun-zippy): Remove function.
10697 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10699 2013-05-27 Juri Linkov <juri@jurta.org>
10701 * replace.el (replace-search): New function with code moved out
10702 from `perform-replace'.
10703 (replace-highlight, replace-dehighlight): Move function definitions
10704 up closer to `replace-search'. (Bug#11746)
10706 2013-05-27 Juri Linkov <juri@jurta.org>
10708 * replace.el (perform-replace): Ignore invisible matches.
10709 In addition to checking `query-replace-skip-read-only', also
10710 filter out matches by calling `run-hook-with-args-until-failure'
10711 on `isearch-filter-predicates', and also check `search-invisible'
10712 for t or call `isearch-range-invisible'.
10713 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10715 2013-05-27 Juri Linkov <juri@jurta.org>
10717 * isearch.el (isearch-filter-predicates): Rename from
10718 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10719 (isearch-message-prefix): Display text from the property
10720 `isearch-message-prefix' of the currently active filters.
10721 (isearch-search): Don't compare `isearch-filter-predicate' with
10722 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10723 on `isearch-filter-predicates'. Also check `search-invisible' for t
10724 or call `isearch-range-invisible'.
10725 (isearch-filter-visible): Make obsolete.
10726 (isearch-lazy-highlight-search):
10727 Call `run-hook-with-args-until-failure' on
10728 `isearch-filter-predicates' and use `isearch-range-invisible'.
10730 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10731 `isearch-filter-predicates' instead of `funcall'ing
10732 `isearch-filter-predicate'.
10733 (Info-mode): Set `Info-isearch-filter' to
10734 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10736 * dired-aux.el (dired-isearch-filter-predicate-orig):
10738 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10739 (dired-isearch-filenames-end): Add and remove
10740 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10741 instead of changing the value of `isearch-filter-predicate'.
10742 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10743 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10744 Put property `isearch-message-prefix' to "filename " on
10745 `dired-isearch-filter-filenames'.
10747 * wdired.el (wdired-change-to-wdired-mode):
10748 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10749 locally instead of changing `isearch-filter-predicate'.
10750 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10752 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10754 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10755 return the commit hash (Bug#14459). Also set the
10756 `vc-git-detached' property.
10757 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10758 (vc-git-mode-line-string): Use the same help-echo format whether
10759 in detached mode or not, because we know the actual revision now.
10760 When in detached mode, shorten the revision to 7 chars.
10762 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10764 * emacs-lisp/easy-mmode.el (define-minor-mode):
10765 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10766 mode hook and provide a docstring.
10768 2013-05-27 Alan Mackenzie <acm@muc.de>
10770 Remove spurious syntax-table text properties inserted by C-y.
10771 * progmodes/cc-mode.el (c-after-change): Also clear hard
10772 syntax-table property with value nil.
10774 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10776 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10777 when reading the events; the buffer layout shall not be changed.
10779 2013-05-27 Leo Liu <sdl.web@gmail.com>
10781 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10783 (inferior-octave-directory-tracker): Automatically re-sync
10785 (octave-help): Improve handling of 'See also'.
10787 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10789 * doc-view.el: Minor naming convention tweaks.
10790 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10792 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10793 even if there's no `display' property yet (bug#14435).
10795 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10797 * subr.el (unmsys--file-name): Rename from reveal-filename.
10799 * Makefile.in (custom-deps, finder-data, autoloads)
10800 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10801 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10802 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10804 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10806 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10807 error-completion on the first 2 args of condition-case (bug#14446).
10810 2013-05-25 Leo Liu <sdl.web@gmail.com>
10812 * comint.el (comint-previous-matching-input): Do not flood the
10813 *Messages* buffer with trivial messages.
10815 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10817 * progmodes/flymake.el (flymake-nop): Don't return a string.
10818 (flymake-set-at): Fix typo.
10820 * simple.el (read--expression): New function, extracted from
10821 eval-expression. Set completion-at-point-functions (bug#14465).
10822 (eval-expression, eval-minibuffer): Use it.
10824 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10826 * progmodes/flymake.el (flymake-save-buffer-in-file)
10827 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10828 (flymake-selected-frame, flymake-log, flymake-ins-after)
10829 (flymake-set-at, flymake-get-buildfile-from-cache)
10830 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10831 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10832 Refine the doc string.
10833 (flymake-get-file-name-mode-and-masks): Reformat.
10834 (flymake-get-real-file-name-function): Fix a minor bug.
10836 2013-05-24 Juri Linkov <juri@jurta.org>
10838 * progmodes/grep.el (grep-mode-font-lock-keywords):
10839 Support =linenumber= format used by git-grep for lines with
10840 function names. (Bug#13549)
10842 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10844 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10845 0 after a semi-colon; it works better for smie-auto-fill.
10846 (octave--indent-new-comment-line): New function.
10847 (octave-indent-new-comment-line): Use it (indirectly).
10848 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10849 modify comment-line-break-function.
10851 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10852 (smie-setup): Use add-function to set it.
10854 2013-05-24 Sam Steingold <sds@gnu.org>
10856 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10857 argument (before the `interactive' argument).
10859 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10861 * image-mode.el (image-mode-winprops): Add winprops to
10862 image-mode-winprops-alist before running
10863 image-mode-new-window-functions.
10864 * doc-view.el (doc-view-new-window-function): Don't delay
10865 doc-view-goto-page via timers (bug#14435).
10867 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10869 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10870 (doc-view-desktop-save-buffer): New function.
10871 (doc-view-restore-desktop-buffer): New function.
10872 (desktop-buffer-mode-handlers):
10873 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10875 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10876 `desktop-save-buffer' function.
10878 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10880 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10881 (tramp-gvfs-file-name-handler): Raise a user error when
10882 `tramp-gvfs-enabled' is nil.
10883 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10884 Do not raise a user error when loading package. (Bug#14447)
10886 * net/xesam.el: Move to obsolete/.
10888 2013-05-24 Glenn Morris <rgm@gnu.org>
10890 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10892 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10894 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10895 (Info-find-node, Man-getpage-in-background): Declare.
10897 * mail/unrmail.el (unrmail):
10898 Replace obsolete detect-coding-with-priority.
10900 * net/socks.el (socks-split-string): Use this rather than split-string.
10901 (socks-nslookup-host): Update for above change.
10902 (dynamic-choice, s5-dynamic-choice-match)
10903 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10904 Comment out unused code.
10906 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10907 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10908 (gud-tooltip-echo-area): Make obsolete.
10909 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10911 * progmodes/js.el (js--optimize-arglist): Declare.
10913 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10915 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10916 (ediff-window-C): Declare.
10918 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10919 Tweak requires to silence compiler.
10921 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10922 (he-search-string, he-tried-table, he-expand-list)
10923 (he-init-string, he-string-member, he-substitute-string)
10924 (he-reset-string): Declare.
10926 * obsolete/options.el (list-options): Use custom-variable-p,
10927 rather than obsolete alias.
10929 2013-05-23 Sam Steingold <sds@gnu.org>
10931 * simple.el (shell-command-on-region): Pass the `replace' argument
10932 down to `call-process-region' to comply with the doc as reported on
10933 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10935 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10937 * emacs-lisp/smie.el (smie-indent-forward-token)
10938 (smie-indent-backward-token): Handle string tokens (bug#14381).
10940 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10942 * ielm.el (ielm-menu): New menu.
10943 (inferior-emacs-lisp-mode): Set comment-start.
10945 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10947 * textmodes/reftex.el (reftex-ref-style-toggle):
10948 Fix deactivate action.
10950 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10951 Add cleveref macros.
10953 * textmodes/reftex-parse.el
10954 (reftex-locate-bibliography-files): Accept options for
10955 bibliography commands.
10956 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10957 Add addbibresource. Basic Biblatex support.
10959 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10961 * net/tramp-gvfs.el (top):
10962 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10963 when loading package. (Bug#14447)
10965 2013-05-23 Glenn Morris <rgm@gnu.org>
10967 * progmodes/js.el: No need to load comint when compiling.
10968 (ring-insert, comint-send-string, comint-send-input)
10969 (comint-last-input-end, ido-chop): Declare.
10971 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10972 * vc/ediff-mult.el: Adjust requires.
10973 (ediff-directories-internal, ediff-directory-revisions-internal)
10974 (ediff-patch-file-internal): Declare.
10975 * vc/ediff-ptch.el: Adjust requires.
10976 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10977 (ediff-find-file): Autoload.
10978 * vc/ediff-util.el: No need to load ediff when compiling.
10979 (ediff-regions-internal): Declare.
10980 * vc/ediff-wind.el: Adjust requires.
10981 (ediff-compute-toolbar-width): Define when compiling.
10982 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10983 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10984 (dired-get-filename, dired-get-marked-files)
10985 (ediff-last-dir-patch, ediff-patch-default-directory)
10986 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10987 (ediff-patch-buffer-internal): Declare.
10989 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10990 (ispell-process, ispell-buffer-local-words, lm-summary)
10991 (lm-section-start, lm-section-end): Declare.
10992 (checkdoc-ispell-init): Simplify.
10994 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10995 (he-string-member, he-reset-string, he-substitute-string): Declare.
10997 * eshell/em-ls.el: Adjust requires.
10998 (eshell-glob-regexp): Declare.
10999 * eshell/em-tramp.el: Adjust requires.
11000 (eshell-parse-command): Autoload.
11001 * eshell/em-xtra.el: Adjust requires.
11002 (eshell-parse-command): Autoload.
11003 * eshell/esh-ext.el: Adjust requires.
11004 (eshell-parse-command, eshell-close-handles): Autoload.
11005 * eshell/esh-io.el: Adjust requires.
11006 (eshell-output-filter): Autoload.
11007 * eshell/esh-util.el: No need to load tramp when compiling.
11008 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11010 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11011 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11012 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11013 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11014 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11015 * eshell/esh-opt.el, eshell/esh-proc.el:
11016 * eshell/esh-var.el: Adjust requires.
11017 * eshell/eshell.el: Do not require esh-util twice.
11018 (eshell-add-input-to-history): Declare.
11019 (eshell-command): Check history module is active before using it.
11021 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11023 2013-05-22 Leo Liu <sdl.web@gmail.com>
11025 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11027 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11029 * autorevert.el (auto-revert-notify-add-watch)
11030 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11031 it indicates changes in file modification time.
11033 2013-05-22 Glenn Morris <rgm@gnu.org>
11035 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11036 Always delete the autoloaded function from the noruntime and
11037 unresolved functions lists.
11039 * allout.el: No need to load epa, epg, overlay when compiling.
11040 (epg-context-set-passphrase-callback, epg-list-keys)
11041 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11042 (epg-key-user-id-list): Declare.
11044 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11045 (viper-set-parsing-style-toggling-macro)
11046 (viper-set-emacs-state-searchstyle-macros):
11047 Use called-interactively-p on Emacs.
11048 (viper-looking-back): Make it an obsolete alias. Update callers.
11049 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11050 Use looking-back rather than viper-looking-back.
11051 (viper-tmp-insert-at-eob, viper-enlarge-region)
11052 (viper-read-string-with-history, viper-register-to-point)
11053 (viper-append-to-register, viper-change-state-to-vi)
11054 (viper-backward-char-carefully, viper-forward-char-carefully)
11055 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11056 (viper-change-state-to-emacs): Declare.
11057 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11058 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11059 * emulation/viper-mous.el: Do not load viper-cmd.
11060 (viper-backward-char-carefully, viper-forward-char-carefully)
11061 (viper-forward-word, viper-adjust-window): Declare.
11063 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11065 * progmodes/idlw-help.el (idlwave-help-fontify):
11066 Use called-interactively-p.
11068 * term/w32console.el (w32-get-console-codepage)
11069 (w32-get-console-output-codepage): Declare.
11071 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11072 Remove unnecessary declarations.
11073 (dframe-message): Doc fix.
11075 * info.el (dframe-select-attached-frame, dframe-current-frame):
11078 * speedbar.el (speedbar-message): Make it an obsolete alias.
11079 Update all callers.
11080 (speedbar-with-attached-buffer)
11081 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11082 (speedbar-with-writable): Use backquote.
11083 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11084 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11085 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11086 rather than speedbar- aliases.
11087 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11088 (speedbar-make-specialized-keymap, speedbar-insert-button)
11089 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11090 (speedbar-do-function-pointer): Declare.
11091 (rmail-speedbar-button, rmail-speedbar-find-file)
11092 (rmail-speedbar-move-message):
11093 Use dframe-with-attached-buffer rather than speedbar- alias.
11094 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11095 (dframe-message, speedbar-make-specialized-keymap)
11096 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11097 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11098 (speedbar-insert-button, dframe-select-attached-frame)
11099 (dframe-maybee-jump-to-attached-frame)
11100 (speedbar-change-initial-expansion-list)
11101 (speedbar-previously-used-expansion-list-name): Declare.
11102 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11103 Use dframe-message, dframe-with-attached-buffer rather than
11105 (gud-sentinel): Silence compiler.
11106 * progmodes/vhdl-mode.el (speedbar-refresh)
11107 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11108 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11109 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11110 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11111 (speedbar-file-lists, speedbar-make-tag-line)
11112 (speedbar-line-directory, speedbar-goto-this-file)
11113 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11114 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11115 (speedbar-make-button, speedbar-reset-scanners)
11116 (speedbar-files-item-info, speedbar-line-text)
11117 (speedbar-find-file-in-frame, speedbar-set-timer)
11118 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11119 (speedbar-with-writable): Do not (re)define it.
11120 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11121 rather than speedbar- alias.
11123 2013-05-21 Leo Liu <sdl.web@gmail.com>
11125 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11127 (octave-mode): Tweak fill-nobreak-predicate.
11128 (inferior-octave-startup): Check process to avoid infinite loop.
11129 (inferior-octave): Pop to buffer first to show abornmal process
11132 2013-05-21 Glenn Morris <rgm@gnu.org>
11134 * printing.el (pr-menu-bar): Define when compiling.
11136 2013-05-21 Leo Liu <sdl.web@gmail.com>
11138 * progmodes/octave.el (octave-auto-fill): Remove.
11139 (octave-indent-new-comment-line): Improve.
11140 (octave-mode): Use auto fill mode through
11141 comment-line-break-function and fill-nobreak-predicate.
11142 (octave-goto-function-definition): Support DEFUN_DLD.
11143 (octave-beginning-of-defun): Small tweak.
11144 (octave-help): Show parent directory.
11146 2013-05-21 Glenn Morris <rgm@gnu.org>
11148 * files.el (dired-unmark):
11149 * progmodes/gud.el (gdb-input): Update declarations.
11151 * calculator.el (electric, ehelp): No need to load when compiling.
11152 (Electric-command-loop, electric-describe-mode): Declare.
11154 * doc-view.el (doc-view-current-converter-processes): Move before use.
11156 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11157 Move MODE-set-explicitly definition before use.
11159 * international/mule-diag.el (mule-diag):
11160 Don't use obsolete window-system-version.
11162 * mail/feedmail.el (smtpmail): No need to load when compiling.
11163 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11165 * mail/mail-utils.el (rfc822): No need to load when compiling.
11166 (rfc822-addresses): Autoload it.
11167 (mail-strip-quoted-names): Trivial simplification.
11169 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11170 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11172 * net/snmp-mode.el (tempo): Don't duplicate requires.
11174 * progmodes/prolog.el (info): No need to load when compiling.
11175 (comint): Require before shell requires it.
11176 (Info-goto-node): Autoload it.
11177 (Info-follow-nearest-node): Declare.
11178 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11180 * textmodes/artist.el (picture-mode-exit): Declare.
11182 * textmodes/reftex-parse.el (reftex-parse-from-file):
11183 Trivial rewrite so the compiler can parse it better.
11185 2013-05-20 Leo Liu <sdl.web@gmail.com>
11187 * progmodes/octave.el (octave-help-mode-map)
11188 (octave-help-mode-finish-hook): New variables.
11189 (octave-help-mode, octave-help-mode-finish): New functions.
11190 (octave-help): Use octave-help-mode.
11192 2013-05-20 Glenn Morris <rgm@gnu.org>
11194 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11196 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11198 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11199 start at point, so that expansion starting right after opening
11200 slash in a regexp is recognized.
11201 (ruby-syntax-before-regexp-re): New defvar, extracted from
11202 ruby-syntax-propertize-function. Since the value of this regexp
11203 is looked up at runtime now, we should be able to turn
11204 `ruby-syntax-methods-before-regexp' into a defcustom later.
11205 (ruby-syntax-propertize-function): Split regexp matching into two
11206 parts, for opening and closing slashes. That allows us to skip
11207 over string interpolations and support multiline regexps.
11208 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11209 for them, which calls `ruby-syntax-propertize-expansion'.
11210 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11211 call to `ruby-syntax-propertize-function'.
11212 (ruby-syntax-propertize-expansion): Extracted from
11213 `ruby-syntax-propertize-expansions'. Handles one expansion.
11214 (ruby-syntax-propertize-percent-literal): Leave point right after
11215 the percent symbol, so that the expression expansion rule can
11216 propertize the contents.
11217 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11219 (ruby-syntax-propertize-expansions): Remove.
11221 2013-05-18 Juri Linkov <juri@jurta.org>
11223 * man.el (Man-default-man-entry): Remove `-' from the end
11224 of the default value. (Bug#14400)
11226 2013-05-18 Glenn Morris <rgm@gnu.org>
11228 * comint.el (comint-password-prompt-regexp):
11229 Allow "password for XXX" where XXX contains colons (eg https://...).
11231 2013-05-18 Leo Liu <sdl.web@gmail.com>
11233 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11234 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11235 (octave-source-directories): Don't check process.
11236 (octave-source-directories, octave-find-definition): Doc fix.
11238 2013-05-18 Glenn Morris <rgm@gnu.org>
11240 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11241 Remove backspace/delete bindings. (Bug#14392)
11243 * cus-dep.el (custom-make-dependencies): Sort the output.
11244 (custom-versions-load-alist): Convert comment to doc.
11246 2013-05-17 Leo Liu <sdl.web@gmail.com>
11248 * newcomment.el (comment-search-backward): Stricter in finding
11249 comment start. (Bug#14303)
11251 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11252 (octave-comment-start-skip): Properly anchored.
11254 2013-05-17 Leo Liu <sdl.web@gmail.com>
11256 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11257 Clean up when turned off. (Bug#14395)
11258 (smie--highlight-matching-block-overlay): No longer buffer-local.
11259 (smie-highlight-matching-block): Adjust.
11261 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11263 Doc string fix for "nanoseconds" (Bug#14406).
11264 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11265 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11267 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11269 * calc/calc-units.el (math-extract-units): Preserve powers
11272 2013-05-17 Leo Liu <sdl.web@gmail.com>
11274 * subr.el (delete-consecutive-dups): New function.
11275 * ido.el (ido-set-matches-1): Use it.
11276 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11277 * ido.el (ido-remove-consecutive-dups): Remove.
11279 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11281 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11282 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11283 regexp-opt's `words'.
11285 2013-05-16 Leo Liu <sdl.web@gmail.com>
11287 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11288 (smie--highlight-matching-block-overlay)
11289 (smie--highlight-matching-block-lastpos)
11290 (smie--highlight-matching-block-timer): New variables.
11291 (smie-highlight-matching-block): New function.
11292 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11293 (smie-setup): Conditionally enable smie-blink-matching-open.
11295 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11297 Sync with upstream verilog-mode r840.
11298 * progmodes/verilog-mode.el (verilog-mode-version)
11299 (verilog-mode-release-date): Update.
11300 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11301 (verilog-sig-tieoff): Fix string error on
11302 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11303 (verilog-read-decls): Fix parameters confusing
11304 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11306 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11308 * subr.el (reveal-filename): New function.
11310 * loadup.el: Compute Emacs executable versions on MS-Windows,
11311 where executables have the .exe extension. Add a hard link
11312 emacs-XX.YY.ZZ.exe on MS-Windows.
11314 * Makefile.in (XARGS_LIMIT): New variable.
11315 (custom-deps, finder-data, autoloads)
11316 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11317 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11318 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11319 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11321 2013-05-16 Leo Liu <sdl.web@gmail.com>
11323 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11324 (octave-mode-menu, octave-mode-map): Remove its uses.
11326 2013-05-16 Reto Zimmermann <reto@gnu.org>
11328 Sync with upstream vhdl mode v3.34.2.
11329 * progmodes/vhdl-mode.el: Use `push' throughout.
11330 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11331 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11332 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11333 (vhdl-actual-generic-name): New option to derive actual generic name.
11334 (vhdl-port-paste-signals): Replace formal by actual generics.
11335 (vhdl-beautify): New name for old group vhdl-align. Update users.
11336 (vhdl-beautify-options): New option.
11337 (vhdl-last-input-event): New compat alias. Use throughout.
11338 (vhdl-goto-line): Replace user level function `goto-line'.
11339 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11340 vhdl-fix-statement-buffer.
11341 (vhdl-create-mode-menu): Add some entries.
11342 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11343 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11344 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11345 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11346 to force statements on one line.
11347 (vhdl-remove-trailing-spaces-region):
11348 New, split from vhdl-remove-trailing-spaces.
11349 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11350 Respect vhdl-beautify-options.
11351 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11352 (vhdl-update-sensitivity-list): Not add with index if exists without.
11353 Not include array index with signal. Ignore keywords in comments.
11354 (vhdl-get-visible-signals): Regexp tweaks.
11355 (vhdl-template-component-inst): Handle empty library.
11356 (vhdl-template-type): Add template for 'enum' type.
11357 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11358 Use vhdl-replace-string.
11359 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11360 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11361 (vhdl-speedbar-initialize): Update for above name change.
11362 (vhdl-compose-wire-components): Fix in handling of constants.
11363 (vhdl-error-regexp-emacs-alist): New variable.
11364 (vhdl-error-regexp-add-emacs): New function;
11365 adds support for new compile.el (Emacs 22+)
11366 (vhdl-generate-makefile-1): Change target order for single lib. units.
11367 Allow use of absolute file names.
11369 2013-05-16 Leo Liu <sdl.web@gmail.com>
11371 * simple.el (prog-indent-sexp): Indent enclosing defun.
11373 2013-05-15 Glenn Morris <rgm@gnu.org>
11375 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11376 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11377 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11378 (whitespace-highlight): Move to whitespace group.
11380 * comint.el (comint-source):
11381 * pcmpl-linux.el (pcmpl-linux):
11382 * shell.el (shell-faces):
11383 * eshell/esh-opt.el (eshell-opt):
11384 * international/ccl.el (ccl): Remove empty custom groups.
11386 * completion.el (dynamic-completion-mode):
11387 * jit-lock.el (jit-lock-debug-mode):
11388 * minibuffer.el (completion-in-region-mode):
11389 * type-break.el (type-break-mode-line-message-mode)
11390 (type-break-query-mode):
11391 * emulation/tpu-edt.el (tpu-edt-mode):
11392 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11393 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11394 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11396 * term/xterm.el (xterm): Change parent group to terminals.
11398 * master.el (master): Remove empty custom group.
11399 (master-mode): Remove unused :group argument.
11400 * textmodes/refill.el (refill): Remove empty custom group.
11401 (refill-mode): Remove unused :group argument.
11403 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11405 * cus-dep.el: Provide a feature.
11406 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11407 Don't mistakenly ignore files whose basenames match a basename
11408 from preloaded-file-list (eg cedet/ede/simple.el).
11409 Add a fallback method for getting :group.
11411 2013-05-15 Juri Linkov <juri@jurta.org>
11413 * isearch.el (isearch-char-by-name): Rename from
11414 `isearch-insert-char-by-name'. Doc fix.
11415 (isearch-forward): Mention `isearch-char-by-name' in
11416 the docstring. (Bug#13348)
11418 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11419 `exit-minibuffer' instead of
11420 `isearch-nonincremental-exit-minibuffer'.
11421 (isearch-edit-string): Remove mention of
11422 `isearch-nonincremental-exit-minibuffer' from docstring.
11423 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11424 (isearch-forward-exit-minibuffer)
11425 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11427 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11429 * loadup.el: Just use unversioned DOC.
11431 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11432 literals as extending to EOB.
11433 (nxml-last-fontify-end): Remove unused variable.
11434 (nxml-after-change1): Use with-silent-modifications.
11435 (nxml-extend-after-change-region): Simplify.
11436 (nxml-extend-after-change-region1): Remove function.
11437 (nxml-after-change1): Don't adjust for dependent regions.
11438 (nxml-fontify-matcher): Simplify.
11439 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11440 (xmltok-add-dependent): Remove function.
11441 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11442 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11443 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11444 unclosed <[[, <?, comment, and other literals as extending to EOB.
11445 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11446 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11448 (rng-do-some-validation-1): Don't mark dependent regions.
11449 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11450 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11451 (nxml-clear-dependent-regions): Remove functions.
11452 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11453 (nxml-ensure-scan-up-to-date):
11454 Don't clear&mark dependent regions.
11456 2013-05-15 Leo Liu <sdl.web@gmail.com>
11458 * progmodes/octave.el (octave-goto-function-definition):
11459 Improve and fix callers.
11461 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11463 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11464 the setter (bug#14387).
11466 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11467 surrounding group (bug#14402).
11469 2013-05-14 Juri Linkov <juri@jurta.org>
11471 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11474 2013-05-14 Glenn Morris <rgm@gnu.org>
11476 * progmodes/f90.el (f90-imenu-generic-expression):
11477 Fix typo in 2013-05-08 change. (Bug#14402)
11479 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11481 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11482 Remove signals for which replies are never received.
11484 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11486 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11487 (gdb-handler-alist, gdb-handler-number): Remove variables.
11488 (gdb-handler-list): New variable.
11489 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11490 (gdb-pending-handler-p, gdb-handle-reply)
11491 (gdb-remove-all-pending-triggers): New functions.
11492 (gdb-discard-unordered-replies): New defcustom.
11493 (gdb-handler): New defstruct.
11494 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11495 instead of gdb-pending-triggers. Update docstring.
11496 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11497 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11498 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11499 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11500 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11501 (gdb-frame-handler): Pending triggers are now automatically managed.
11502 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11504 (gdb-input): Automatically handles pending triggers. Update docstring.
11505 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11506 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11508 (gdb-done-or-error): Now use gdb-handle-reply.
11510 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11512 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11515 2013-05-14 Glenn Morris <rgm@gnu.org>
11517 * subr.el (user-emacs-directory-warning): New option.
11518 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11520 2013-05-14 Leo Liu <sdl.web@gmail.com>
11522 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11524 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11525 (octave-font-lock-texinfo-comment): Fix invalid search bound
11526 error: wrong side of point.
11528 2013-05-14 Glenn Morris <rgm@gnu.org>
11530 * progmodes/flymake.el (flymake-xml-program): New option.
11531 (flymake-xml-init): Use it.
11533 * term/xterm.el: Provide a feature.
11535 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11537 2013-05-13 Glenn Morris <rgm@gnu.org>
11539 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11540 Add compat aliases as a hack workaround. (Bug#14384)
11542 2013-05-13 Leo Liu <sdl.web@gmail.com>
11544 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11546 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11548 (octave-comment-start-skip): Include %!.
11549 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11551 2013-05-12 Leo Liu <sdl.web@gmail.com>
11553 * progmodes/octave.el (inferior-octave-startup): Store the value
11554 of __octave_srcdir__ for octave-source-directories.
11555 (inferior-octave-check-process): New function refactored out of
11556 inferior-octave-send-list-and-digest.
11557 (octave-source-directories)
11558 (octave-find-definition-filename-function): New variables.
11559 (octave-source-directories)
11560 (octave-find-definition-default-filename): New functions.
11561 (octave-find-definition): Improve to find functions implemented in C++.
11563 2013-05-12 Glenn Morris <rgm@gnu.org>
11565 * calendar/diary-lib.el (diary-outlook-format-1):
11566 Don't include dayname in the output. (Bug#14349)
11568 2013-05-11 Glenn Morris <rgm@gnu.org>
11570 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11572 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11573 Treat cc-provide like provide.
11575 2013-05-11 Kevin Ryde <user42@zip.com.au>
11577 * cus-dep.el (custom-make-dependencies):
11578 Use generated-autoload-load-name for the sake of files such
11579 such cedet/semantic/bovine/c.el, where the base file name
11580 is not in load-path. (Bug#5277)
11582 2013-05-11 Glenn Morris <rgm@gnu.org>
11584 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11587 2013-05-11 Leo Liu <sdl.web@gmail.com>
11589 * progmodes/octave.el (octave-indent-comment): Improve.
11590 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11591 (octave-eldoc-function-signatures, octave-eldoc-function):
11593 (octave-mode, inferior-octave-mode): Add eldoc support.
11595 2013-05-11 Richard Stallman <rms@gnu.org>
11597 * epa.el (epa-decrypt-file): Take output file name as argument
11598 and read it using `interactive'.
11600 2013-05-11 Leo Liu <sdl.web@gmail.com>
11602 * progmodes/octave.el (octave-beginning-of-line)
11603 (octave-end-of-line): Check before using up-list because it jumps
11604 out of more syntactic contructs since moving to smie.
11605 (octave-indent-comment): New function.
11606 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11607 (octave-begin-keywords, octave-end-keywords)
11608 (octave-reserved-words, octave-smie-bnf-table)
11609 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11611 2013-05-11 Glenn Morris <rgm@gnu.org>
11613 * faces.el (internal-face-x-get-resource):
11614 * frame.el (ns-display-monitor-attributes-list):
11615 * calc/calc-aent.el (math-to-radians-2):
11616 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11619 * calc/calc-menu.el: Make it loadable in isolation.
11621 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11622 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11623 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11624 (eudc-bbdb-query-internal): Require 'bbdb.
11626 * lpr.el (lpr-headers-switches):
11627 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11629 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11631 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11633 * term.el (term-set-escape-char): Make it idempotent.
11635 2013-05-10 Leo Liu <sdl.web@gmail.com>
11637 * progmodes/octave.el (inferior-octave-completion-table):
11638 No longer a function and all uses changed. Use cache to speed up
11639 completion due to bug#11906.
11640 (octave-beginning-of-defun): Re-write to be more general.
11642 2013-05-10 Glenn Morris <rgm@gnu.org>
11644 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11646 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11648 * comint.el (comint-redirect-send-command-to-process): Use :around
11649 rather than :override for comint-redirect-filter.
11650 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11651 Call it instead of comint-redirect-original-filter-function (which
11652 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11654 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11656 * frame.el (display-monitor-attributes-list): Add NS case.
11657 (ns-display-monitor-attributes-list): Declare.
11659 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11661 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11663 2013-05-09 Glenn Morris <rgm@gnu.org>
11665 * international/fontset.el (vertical-centering-font-regexp):
11666 Set standard-value.
11668 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11670 * bookmark.el (bookmark-search-delay):
11671 * cus-start.el (vertical-centering-font-regexp):
11672 * ps-mule.el (ps-mule-font-info-database-default):
11673 * ps-print.el (ps-default-fg, ps-default-bg):
11674 * type-break.el (type-break-good-break-interval):
11675 * whitespace.el (whitespace-indentation-regexp)
11676 (whitespace-space-after-tab-regexp):
11677 * emacs-lisp/testcover.el (testcover-1value-functions)
11678 (testcover-noreturn-functions, testcover-progn-functions)
11679 (testcover-prog1-functions):
11680 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11681 * eshell/em-glob.el (eshell-glob-translate-alist):
11682 * play/tetris.el (tetris-tty-colors):
11683 * progmodes/cpp.el (cpp-face-default-list):
11684 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11685 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11686 (idlwave-help-browser-generic-args):
11687 * progmodes/make-mode.el (makefile-special-targets-list):
11688 * progmodes/python.el (python-shell-virtualenv-path):
11689 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11690 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11691 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11692 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11693 * textmodes/reftex-vars.el (reftex-format-label-function):
11694 * textmodes/remember.el (remember-diary-file): Fix custom types.
11696 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11699 2013-05-09 Leo Liu <sdl.web@gmail.com>
11701 * progmodes/octave.el (inferior-octave-completion-at-point):
11702 Restore file completion. (Bug#14300)
11703 (inferior-octave-startup): Fix incorrect highlighting for the
11706 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11708 * progmodes/ruby-mode.el: First cut at SMIE support.
11709 (ruby-use-smie): New var.
11710 (ruby-smie-grammar): New constant.
11711 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11712 (ruby-smie--forward-token, ruby-smie--backward-token)
11713 (ruby-smie-rules): New functions.
11714 (ruby-mode-variables): Setup SMIE if applicable.
11716 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11718 * simple.el (line-move-visual): Signal beginning/end of buffer
11719 only if vertical-motion moved less than it was requested. Avoids
11720 silly incorrect error messages when there are display strings with
11721 multiple newlines at EOL.
11723 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11725 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11726 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11727 (prolog-char-quote-workaround):
11728 * progmodes/cperl-mode.el (cperl-under-as-char):
11729 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11731 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11733 (vhdl-mode-syntax-table-init): Remove.
11735 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11738 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11740 (ld-script-font-lock-keywords):
11741 Change regexps to use things like \_< and \_>.
11743 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11744 Change all regexps to use things like \_< and \_>.
11746 * progmodes/autoconf.el (autoconf-definition-regexp)
11747 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11748 Handle a _ with symbol syntax.
11749 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11751 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11752 Consolidate declaration.
11753 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11755 (ada-create-syntax-table): Remove.
11756 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11757 already has the right syntax nowadays.
11758 (ada-goto-next-word): Don't change the syntax of "_".
11760 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11763 2013-05-08 Sam Steingold <sds@gnu.org>
11765 * thingatpt.el (thing-at-point): Accept optional second argument
11766 NO-PROPERTIES to strip the text properties from the return value.
11767 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11768 to `thing-at-point' instead of stripping the properties ourselves.
11769 Also, when `thing-at-point' fails to find a url, prepend "http://"
11770 to the filename at point on the assumption that the user is
11771 pointing at something like gnu.org/gnu.
11773 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11775 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11776 * faces.el (crm-separator):
11777 Silence byte-compiler.
11779 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11780 (tool-bar-map): Remove unneeded defvars.
11782 2013-05-08 Leo Liu <sdl.web@gmail.com>
11784 Re-work a fix for bug#10994 based on Le Wang's patch.
11785 * ido.el (ido-remove-consecutive-dups): New helper.
11786 (ido-completing-read): Use it.
11787 (ido-chop): Revert fix for bug#10994.
11789 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11791 * cus-edit.el (custom-save-variables):
11792 Pretty-print long values. (Bug#14187)
11794 2013-05-08 Glenn Morris <rgm@gnu.org>
11796 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11797 (m4-mode-syntax-table): Init in the defvar.
11798 (m4-mode-abbrev-table): Let define-derived-mode define it.
11800 2013-05-08 Tom Tromey <tromey@redhat.com>
11802 * progmodes/m4-mode.el (m4-mode-syntax-table):
11803 Do not treat "_" as word constituent. (Bug#14167)
11805 2013-05-07 Glenn Morris <rgm@gnu.org>
11807 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11808 Remove explicit eshell-isearch-cancel-map.
11810 * progmodes/f90.el (f90-smart-end-names): New option.
11811 (f90-smart-end): Doc fix.
11812 (f90-end-block-optional-name): New constant.
11813 (f90-block-match): Respect f90-smart-end-names.
11815 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11817 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11818 about implicit semi-colons (bug#14218).
11820 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11822 * frame.el (display-monitor-attributes-list)
11823 (frame-monitor-attributes): New functions.
11825 2013-05-06 Leo Liu <sdl.web@gmail.com>
11827 * progmodes/octave.el (octave-syntax-propertize-function): Change
11828 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11829 (octave-font-lock-keywords): Use octave-operator-regexp.
11830 (octave-completion-at-point): Rename from
11831 octave-completion-at-point-function.
11832 (inferior-octave-directory-tracker): Robustify.
11833 (octave-text-functions): Remove and fix its uses. No such things
11836 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11838 * emacs-lisp/trace.el (trace--display-buffer): New function.
11839 (trace-make-advice): Use it.
11841 2013-05-06 Juri Linkov <juri@jurta.org>
11843 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11844 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11846 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11847 in the help string. (Bug#12985)
11849 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11851 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11853 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11855 * progmodes/perl-mode.el: Add support for here documents.
11856 (perl-syntax-propertize-function): Match here-doc markers.
11857 (perl-syntax-propertize-special-constructs): Find their end.
11858 (perl-imenu-generic-expression): Use [:alnum:].
11860 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11861 (advice--add-function): Refresh the advice if already present
11864 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11866 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11868 2013-05-06 Glenn Morris <rgm@gnu.org>
11870 * w32-fns.el (w32-charset-info-alist): Declare.
11872 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11873 of its defcustom properties.
11874 (eshell-cmpl-initialize): No need to load pcomplete.
11876 * generic-x.el: No need to require comint when compiling.
11878 * net/eudc-export.el: Make it loadable without bbdb.
11879 (top-level): Use require rather than load-library.
11880 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11881 (eudc-batch-export-records-to-bbdb)
11882 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11885 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11887 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11888 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11889 some tweaks, instead.
11891 2013-05-05 Leo Liu <sdl.web@gmail.com>
11893 * progmodes/octave.el (octave-font-lock-keywords)
11894 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11895 (inferior-octave-send-list-and-digest): Improve error message.
11896 (octave-mode, inferior-octave-mode): Use setq-local.
11897 (octave-help): Set info-lookup-mode.
11899 2013-05-05 Richard Stallman <rms@gnu.org>
11901 * vc/compare-w.el (compare-windows-whitespace):
11902 Treat no-break space as whitespace.
11904 * mail/rmailsum.el (rmail-summary-rmail-update):
11905 Detect empty summary and don't change selected message.
11906 (rmail-summary-goto-msg): Likewise.
11908 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11909 Doc fixes, rename args.
11911 2013-05-05 Alan Mackenzie <acm@muc.de>
11913 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11915 2013-05-05 Juri Linkov <juri@jurta.org>
11917 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11918 to not add the length of the summary segment to the return value.
11921 2013-05-05 Leo Liu <sdl.web@gmail.com>
11923 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11924 (inferior-octave-output-filter): Remove.
11925 (octave-send-region, inferior-octave-startup): Fix callers.
11926 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11927 (octave-binary-file-extensions): New user variable.
11928 (octave-find-definition): Confirm if opening binary files.
11929 (octave-help-file): Use octave-find-definition to get the binary
11931 (octave-help): Adjust for octave-help-file change.
11933 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11935 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11936 Merge the two entries that handle function definitions.
11937 (pascal--syntax-propertize): New const.
11938 (pascal-mode): Use it. Use setq-local.
11940 2013-05-04 Glenn Morris <rgm@gnu.org>
11942 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11943 (diary-from-outlook): Respect diary-from-outlook-function.
11945 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11947 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11948 Move the declaration from C.
11949 (read-minibuffer, eval-minibuffer): Move from C.
11950 (completion-setup-function): Avoid minibuffer-completion-contents.
11952 2013-05-03 Leo Liu <sdl.web@gmail.com>
11954 * progmodes/octave.el (octave-font-lock-keywords): Do not
11955 dehighlight 'end' in comments or strings.
11956 (octave-completing-read, octave-goto-function-definition):
11958 (octave-help-buffer): New user variable.
11959 (octave-help-file, octave-help-function): New button types.
11960 (octave-help): New command and bind it to C-h ;.
11961 (octave-find-definition): New command and bind it to M-.
11962 (user-error): Alias to error if not defined.
11964 2013-05-02 Leo Liu <sdl.web@gmail.com>
11966 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11968 (octave-font-lock-keywords): Include [ and {.
11970 2013-05-02 Leo Liu <sdl.web@gmail.com>
11972 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11973 (inferior-octave): Remove calling comint-mode and return the buffer.
11974 (inferior-octave-startup): Cosmetic changes.
11976 2013-05-02 Leo Liu <sdl.web@gmail.com>
11978 * progmodes/octave.el (octave-syntax-propertize-function):
11979 Include the case when ' is at line beginning. (Bug#14336)
11981 2013-05-02 Glenn Morris <rgm@gnu.org>
11983 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11984 * desktop.el (vc-dir-mode): Just autoload it here.
11986 2013-05-02 Alan Mackenzie <acm@muc.de>
11988 Eliminate variable c-standard-font-lock-fontify-region-function.
11989 * progmodes/cc-mode.el
11990 (c-standard-font-lock-fontify-region-function): Remove.
11991 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11993 2013-05-01 Leo Liu <sdl.web@gmail.com>
11995 * progmodes/octave.el: Compatible with older emacs-24 releases.
11996 (inferior-octave-has-built-in-variables): Remove. Built-in
11997 variables were removed from Octave in 2007.
11998 (inferior-octave-startup): Fix uses.
11999 (comint-line-beginning-position): Remove compatibility code for
12002 2013-05-01 Juri Linkov <juri@jurta.org>
12004 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12006 2013-05-01 Juri Linkov <juri@jurta.org>
12008 * comint.el (comint-previous-matching-input): Don't print message
12009 "History item: %d" when `isearch-mode' is active.
12010 (comint-history-isearch-message): Print message "History item: %d"
12011 when `comint-input-ring-index' is not empty and this function is
12012 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12014 2013-05-01 Leo Liu <sdl.web@gmail.com>
12016 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12017 definitions. Use completion-at-point to insert keywords.
12018 (octave-abbrev-start): Remove.
12019 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12021 2013-04-30 Leo Liu <sdl.web@gmail.com>
12023 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12026 2013-04-30 Alan Mackenzie <acm@muc.de>
12028 Handle arbitrarily long C++ member initialisation lists.
12029 * progmodes/cc-engine.el (c-back-over-member-initializers):
12031 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12032 (most) member init lists.
12034 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12036 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12039 2013-04-30 Leo Liu <sdl.web@gmail.com>
12041 * progmodes/octave.el (octave-variables): Remove. No builtin
12042 variables any more. All converted to functions.
12043 (octave-font-lock-keywords, octave-completion-at-point-function):
12045 (octave-font-lock-texinfo-comment): New user variable.
12046 (octave-texinfo-font-lock-keywords): New variable for texinfo
12048 (octave-function-comment-block): New face.
12049 (octave-font-lock-texinfo-comment): New function.
12050 (octave-mode): Font lock texinfo comment block.
12052 2013-04-29 Leo Liu <sdl.web@gmail.com>
12054 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12055 indexing expression.
12056 (octave-continuation-string): Do not use \.
12057 (inferior-octave-complete-impossible): Remove.
12058 (inferior-octave-completion-table)
12059 (inferior-octave-completion-at-point): Remove its uses.
12060 (inferior-octave-startup): completion_matches was introduced to
12061 Octave in 1996 so safe to assume it.
12062 (octave-function-file-comment): Improve to follow how Octave does it.
12063 (octave-update-function-file-comment): Tweak.
12065 2013-04-29 Leo Liu <sdl.web@gmail.com>
12067 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12068 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12069 (octave-function-file-comment): Fix typo.
12070 (octave-sync-function-file-names): Use read-char-choice.
12072 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12074 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12075 to t for the less important warnings.
12077 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12079 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12081 2013-04-27 Glenn Morris <rgm@gnu.org>
12083 * vc/log-view.el (log-view-current-entry):
12084 Treat "---" separator lines as part of the following rev. (Bug#14169)
12086 2013-04-27 Juri Linkov <juri@jurta.org>
12088 * subr.el (read-number): Doc fix about using it by interactive
12089 code letter `n'. (Bug#14254)
12091 2013-04-27 Juri Linkov <juri@jurta.org>
12093 * desktop.el (desktop-auto-save-timeout): New option.
12094 (desktop-file-checksum): New variable.
12095 (desktop-save): Add optional arg `auto-save' and don't auto-save
12096 if nothing changed.
12097 (desktop-auto-save-timer): New variable.
12098 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12099 (after-init-hook): Call `desktop-auto-save-set-timer'.
12100 Suggested by Reuben Thomas <rrt@sc3d.org> in
12101 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12103 2013-04-27 Leo Liu <sdl.web@gmail.com>
12105 * progmodes/octave.el (octave-function-file-p)
12106 (octave-skip-comment-forward, octave-function-file-comment)
12107 (octave-update-function-file-comment): New functions.
12108 (octave-mode-map): Bind C-c ; to
12109 octave-update-function-file-comment.
12110 (octave-mode-menu): Add octave-update-function-file-comment.
12111 (octave-mode, inferior-octave-mode): Fix doc-string.
12112 (octave-insert-defun): Conform to Octave's coding convention.
12115 * files.el (basic-save-buffer): Don't let errors in
12116 before-save-hook prevent saving buffer.
12118 2013-04-20 Roland Winkler <winkler@gnu.org>
12120 * faces.el (read-face-name): Use completing-read if arg multiple
12123 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12125 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12126 displayed, move point to after the totals line.
12127 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12130 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12132 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12133 Add current dir to the load-path.
12134 (package-generate-autoloads): Don't rely on
12135 autoload-ensure-default-file.
12137 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12139 * textmodes/remember.el (remember-store-in-files): Document that
12140 the file name format is passed to `format-time-string'.
12142 2013-04-26 Leo Liu <sdl.web@gmail.com>
12144 * progmodes/octave.el (octave-sync-function-file-names): New function.
12145 (octave-mode): Use it in before-save-hook.
12147 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12149 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12152 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12153 \n and comment, even if it's not an implicit ; (bug#14218).
12155 2013-04-26 Glenn Morris <rgm@gnu.org>
12157 * subr.el (read-number): Once more use `read' rather than
12158 `string-to-number', to trap non-numeric input. (Bug#14254)
12160 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12162 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12163 Use `syntax-multiline' text property consistently instead of
12164 `font-lock-multiline'. (Bug#14237)
12166 2013-04-26 Glenn Morris <rgm@gnu.org>
12168 * emacs-lisp/shadow.el (list-load-path-shadows):
12169 No longer necessary to check for duplicate simple.el, since
12170 2012-07-07 change to init_lread to not include installation lisp
12171 directories in load-path when running uninstalled. (Bug#14270)
12173 2013-04-26 Leo Liu <sdl.web@gmail.com>
12175 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12176 (octave-mode, inferior-octave-mode): Use setq-local.
12177 (octave-not-in-string-or-comment-p): Rename to
12178 octave-in-string-or-comment-p.
12179 (octave-in-comment-p, octave-in-string-p)
12180 (octave-in-string-or-comment-p): Replace defsubst with defun.
12182 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12184 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12186 2013-04-25 Bastien Guerry <bzg@gnu.org>
12188 * textmodes/remember.el (remember-data-directory)
12189 (remember-directory-file-name-format): Fix custom types.
12191 2013-04-25 Leo Liu <sdl.web@gmail.com>
12193 * progmodes/octave.el (octave-completion-at-point-function):
12194 Make use of inferior octave process.
12195 (octave-initialize-completions): Remove.
12196 (inferior-octave-completion-table): New function.
12197 (inferior-octave-completion-at-point): Use it.
12198 (octave-completion-alist): Remove.
12200 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12202 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12203 (opascal-mode-syntax-table): New var.
12204 (opascal-literal-kind, opascal-is-literal-end)
12205 (opascal-literal-token-at): Rewrite.
12206 (opascal--literal-start-re, opascal-font-lock-keywords)
12207 (opascal--syntax-propertize): New constants.
12208 (opascal-font-lock-defaults): Adjust.
12209 (opascal-mode): Use them. Set comment-<foo> variables as well.
12210 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12211 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12212 (delphi-other-face, opascal-other-face): Remove face variables.
12213 (opascal-save-state): Remove macro.
12214 (opascal-fontifying-progress-step): Remove constant.
12215 (opascal--ignore-changes): Remove var.
12216 (opascal-set-token-property, opascal-parse-next-literal)
12217 (opascal-is-stable-literal, opascal-complete-literal)
12218 (opascal-is-literal-start, opascal-face-of)
12219 (opascal-parse-region, opascal-parse-region-until-stable)
12220 (opascal-fontify-region, opascal-after-change)
12221 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12222 (opascal-debug-parse-region, opascal-debug-parse-window)
12223 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12224 (opascal-debug-fontify-buffer): Remove.
12225 (opascal-debug-mode-map): Adjust accordingly.
12227 2013-04-25 Leo Liu <sdl.web@gmail.com>
12229 Merge octave-mod.el and octave-inf.el into octave.el with some
12231 * progmodes/octave.el: New file renamed from octave-mod.el.
12232 * progmodes/octave-inf.el: Merged into octave.el.
12233 * progmodes/octave-mod.el: Renamed to octave.el.
12235 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12237 * textmodes/reftex-vars.el
12238 (reftex-label-ignored-macros-and-environments): New defcustom.
12240 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12242 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12244 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12245 (smie-indent-keyword): Improve the check to ensure that the next
12246 comment is really on the same line.
12247 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12249 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12250 semi-colons if the line is not otherwise empty (bug#14218).
12252 2013-04-25 Glenn Morris <rgm@gnu.org>
12254 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12256 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12258 * progmodes/opascal.el (opascal-set-token-property): Rename from
12259 opascal-set-text-properties and only set `token' (bug#14134).
12260 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12261 (opascal-literal-text-properties): Remove.
12262 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12265 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12267 * textmodes/remember.el (remember-handler-functions): Add an
12268 option for a new handler `remember-store-in-files'.
12269 (remember-data-directory, remember-directory-file-name-format):
12271 (remember-store-in-files): New function to store remember notes
12272 as separate files within a directory.
12274 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12276 * progmodes/compile.el (compilation-next-error-function):
12277 Pass "formats" to compilation-find-file (bug#11777).
12279 2013-04-24 Glenn Morris <rgm@gnu.org>
12281 * vc/vc-bzr.el (vc-bzr-print-log):
12282 * vc/vc-hg.el (vc-hg-print-log):
12283 * vc/vc-svn.el (vc-svn-print-log):
12284 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12286 * vc/vc-bzr.el (vc-bzr-print-log):
12287 * vc/vc-cvs.el (vc-cvs-print-log):
12288 * vc/vc-git.el (vc-git-print-log):
12289 * vc/vc-hg.el (vc-hg-print-log):
12290 * vc/vc-mtn.el (vc-mtn-print-log):
12291 * vc/vc-rcs.el (vc-rcs-print-log):
12292 * vc/vc-sccs.el (vc-sccs-print-log):
12293 * vc/vc-svn.el (vc-svn-print-log):
12294 * vc/vc.el (vc-print-log-internal): Doc fixes.
12296 2013-04-23 Glenn Morris <rgm@gnu.org>
12298 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12299 Remove venerable code attempting to avoid substitute-command-keys.
12301 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12303 * textmodes/reftex-vars.el (reftex-label-regexps):
12304 Call `reftex-compile-variables' after changes to this variable.
12306 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12308 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12309 Use lexical-binding.
12310 (jit-lock-force-redisplay): Use markers, check buffer's continued
12311 existence and beware narrowed buffers.
12312 (jit-lock-fontify-now): Adjust call accordingly.
12314 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12316 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12317 to avoid misleading the user.
12319 2013-04-22 Leo Liu <sdl.web@gmail.com>
12321 * info-look.el: Prefer latex2e.info. (Bug#14240)
12323 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12325 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12327 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12328 * net/tramp.el (tramp-call-process): ... here.
12329 (tramp-set-completion-function, tramp-parse-putty):
12330 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12331 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12332 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12333 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12334 (tramp-call-local-coding-command): Use `tramp-call-process'
12335 instead of `tramp-compat-call-process'.
12337 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12338 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12339 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12340 (tramp-find-inline-compress): Improve traces.
12341 (tramp-maybe-send-script): Check for Perl binary.
12342 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12344 2013-04-22 Daiki Ueno <ueno@gnu.org>
12346 * epg.el (epg-context-pinentry-mode): New function.
12347 (epg-context-set-pinentry-mode): New function.
12348 (epg--start): Pass --pinentry-mode option to gpg command.
12350 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12352 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12353 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12354 `completion-at-point'. (Bug#13774)
12356 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12357 default key binding for `describe-distribution' has been moved to
12358 `C-h C-o'. (Bug#13970)
12360 2013-04-21 Glenn Morris <rgm@gnu.org>
12362 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12364 (vc-print-log): Clarify interactive prompt.
12366 2013-04-20 Glenn Morris <rgm@gnu.org>
12368 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12369 No longer include timestamp etc information.
12371 2013-04-20 Roland Winkler <winkler@gnu.org>
12373 * faces.el (read-face-name): Bug fix, return just one face if arg
12374 multiple is nil. (Bug#14209)
12376 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12378 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12379 (remove-function): Autoload.
12381 * comint.el (comint-redirect-original-filter-function): Remove.
12382 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12383 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12384 (vc-cvs-annotate-command):
12385 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12386 * progmodes/prolog.el (prolog-consult-compile):
12387 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12388 Use add/remove-function instead.
12389 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12390 (gud-tooltip-process-output, gud-tooltip-tips):
12391 Use add/remove-function instead.
12392 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12393 (scheme-interaction-mode, exit-scheme-interaction-mode):
12394 Use add/remove-function instead.
12396 * vc/vc-dispatcher.el: Use lexical-binding.
12397 (vc--process-sentinel): Rename from vc-process-sentinel.
12398 Change last arg to be the code to run. Don't use vc-previous-sentinel
12399 and vc-sentinel-commands any more.
12400 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12401 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12403 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12405 * progmodes/sh-script.el (sh-imenu-generic-expression):
12406 Handle function names with a single character. (Bug#14111)
12408 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12410 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12411 for subroutines defined in an eval (bug#14182).
12413 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12415 * bookmark.el (bookmark-completing-read): Improve handling of empty
12416 string (bug#14176).
12418 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12420 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12422 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12424 New faster Imenu implementation (bug#14058).
12425 * progmodes/python.el:
12426 (python-imenu-prev-index-position):
12427 (python-imenu-format-item-label-function)
12428 (python-imenu-format-parent-item-label-function)
12429 (python-imenu-format-parent-item-jump-label-function):
12431 (python-imenu-format-item-label)
12432 (python-imenu-format-parent-item-label)
12433 (python-imenu-format-parent-item-jump-label)
12434 (python-imenu--put-parent, python-imenu--build-tree)
12435 (python-imenu-create-index, python-imenu-create-flat-index)
12436 (python-util-popn): New functions.
12437 (python-mode): Set imenu-create-index-function to
12438 python-imenu-create-index.
12440 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12442 * winner.el (winner-active-region): Use region-active-p, activate-mark
12443 and deactivate-mark (bug#14225).
12445 * simple.el (deactivate-mark): Don't inline it.
12447 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12449 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12451 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12453 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12454 file extensions from the archive-mode entry in order to prefer
12455 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12457 2013-04-18 Leo Liu <sdl.web@gmail.com>
12459 * bindings.el (help-event-list): Add ?\?.
12461 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12463 * subr.el (with-wrapper-hook): Declare obsolete.
12464 * simple.el (filter-buffer-substring-function): New hook.
12465 (filter-buffer-substring): Use it.
12466 (filter-buffer-substring-functions): Mark obsolete.
12467 * minibuffer.el (completion-in-region-function): New hook.
12468 (completion-in-region): Use it.
12469 (completion-in-region-functions): Mark obsolete.
12470 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12471 * abbrev.el (abbrev-expand-function): New hook.
12472 (expand-abbrev): Use it.
12473 (abbrev-expand-functions): Mark obsolete.
12474 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12475 and :filter-return.
12477 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12479 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12480 and do not care about match data.
12482 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12485 completion tables when completing error conditions and
12486 `declare' arguments.
12487 (lisp-complete-symbol, field-complete): Mark as obsolete.
12488 (check-parens): Unmatched parens are user errors.
12489 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12491 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12493 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12494 command changed buffer (ie. `flyspell-pre-buffer' is not current
12495 buffer), which prevents making decisions based on invalid value of
12496 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12497 cause an error when `flyspell-pre-point' was nil after switching
12499 (flyspell-post-command-hook): No longer needs to change buffers when
12500 checking pre-word. While at it remove unnecessary progn.
12502 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12504 * textmodes/ispell.el (ispell-add-per-file-word-list):
12505 Fix `flyspell-correct-word-before-point' error when accepting
12506 words and `coment-padding' is an integer by using
12507 `comment-normalize-vars' (Bug #14214).
12509 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12511 New defun movement commands.
12512 * progmodes/python.el (python-nav--syntactically)
12513 (python-nav--forward-defun, python-nav-backward-defun)
12514 (python-nav-forward-defun): New functions.
12516 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12518 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12519 (python-syntax-context): Use named compiler-macro for backwards
12520 compatibility with Emacs 24.x.
12522 2013-04-17 Leo Liu <sdl.web@gmail.com>
12524 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12525 octave-hide-process-buffer.
12527 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12529 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12532 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12534 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12535 Fix adjustment of offset when receiving incomplete responses from GDB
12538 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12540 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12541 python-mode-abbrev-table.
12542 (python-skeleton-define): Adjust accordingly.
12543 (python-mode-abbrev-table): New table that inherits from it so that
12544 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12546 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12547 (abbrev-symbol): Use it.
12548 (abbrev--before-point): Use it since we already handle inheritance.
12550 2013-04-16 Leo Liu <sdl.web@gmail.com>
12552 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12553 binding to info-lookup-symbol.
12555 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12557 * minibuffer.el (completion--twq-all):
12558 * term/ns-win.el (ns-initialize-window-system):
12559 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12561 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12566 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12568 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12570 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12571 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12573 (ruby-end-of-defun): Remove the unused arg, change the docstring
12574 to reflect that this function is only used as the value of
12575 `end-of-defun-function'.
12576 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12577 to reflect an earlier change that beginning/end-of-defun functions
12578 jump between methods in a class definition, as well as top-level
12581 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12583 * minibuffer.el (minibuffer-complete): Don't just scroll
12584 a *Completions* that's been iconified.
12585 (minibuffer-force-complete): Make sure repetitions do cycle when going
12586 through completion-in-region -> minibuffer-complete.
12588 2013-04-15 Alan Mackenzie <acm@muc.de>
12590 Correct the placement of c-cpp-delimiters when there're #s not at
12593 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12594 place a submatch around the #.
12595 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12596 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12599 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12601 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12602 (advice--member-p): New arg `name'.
12603 (advice--add-function, advice-member-p): Use it (bug#14202).
12605 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12607 Reformulate java imenu-generic-expression.
12608 The old expression contained ill formed regexps.
12610 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12611 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12612 (cc-imenu-java-method-arg-regexp): New defconsts.
12613 (cc-imenu-java-build-type-args-regex): New defun.
12614 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12615 handling of spaces in the regexp.
12617 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12619 * textmodes/ispell.el (ispell-command-loop): Remove
12620 flyspell highlight of a word when ispell accepts it (bug #14178).
12622 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12624 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12625 uses code from the previous `ange-ftp-run-real-handler'.
12626 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12627 only in case that function exist. This is needed for proper
12628 unloading of Tramp.
12630 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12632 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12634 * textmodes/reftex.el (reftex-compile-variables): Use it.
12636 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12638 * files.el (normal-mode): Only use default major-mode if no other mode
12641 * emacs-lisp/trace.el (trace-values): New function.
12643 * files.el: Allow : in local variables (bug#14089).
12644 (hack-local-variable-regexp): New var.
12645 (hack-local-variables-prop-line, hack-local-variables): Use it.
12647 2013-04-13 Roland Winkler <winkler@gnu.org>
12649 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12650 data before it gets modified by bibtex-beginning-of-entry.
12652 2013-04-13 Roland Winkler <winkler@gnu.org>
12654 * textmodes/bibtex.el (bibtex-url): Doc fix.
12656 2013-04-13 Roland Winkler <winkler@gnu.org>
12658 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12659 does not visit a BibTeX file, exclude it from the list of buffers
12660 returned by bibtex-initialize.
12662 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12664 * window.el (split-window): Remove interactive form, since as a
12665 command this function is a special case of split-window-below.
12666 Correct doc string.
12668 2013-04-12 Roland Winkler <winkler@gnu.org>
12670 * faces.el (read-face-name): Do not override value of arg default.
12671 Allow single faces and strings as default values. Remove those
12672 elements from return value that are not faces.
12673 (describe-face): Simplify.
12674 (face-at-point): New optional args thing and multiple so that this
12675 function can provide the same functionality previously provided by
12677 (make-face-bold, make-face-unbold, make-face-italic)
12678 (make-face-unitalic, make-face-bold-italic, invert-face)
12679 (modify-face, read-face-and-attribute): Use face-at-point.
12681 * cus-edit.el (customize-face, customize-face-other-window)
12682 * cus-theme.el (custom-theme-add-face)
12683 * face-remap.el (buffer-face-set)
12684 * facemenu.el (facemenu-set-face): Use face-at-point.
12686 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12688 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12690 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12692 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12693 off leading { and trailing } from field values.
12695 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * emacs-lisp/timer.el (timer--check): New function.
12698 (timer--time, timer-set-function, timer-event-handler): Use it.
12699 (timer-set-idle-time): Simplify.
12700 (timer--activate): CSE.
12701 (timer-event-handler): Give more info in error message.
12702 (internal-timer-start-idle): New function, moved from C.
12704 * mpc.el (mpc-proc): Add `restart' argument.
12705 (mpc-proc-cmd): Use it.
12706 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12707 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12710 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12712 * progmodes/sh-script.el: Implement `sh-mode' own
12713 `add-log-current-defun-function' (bug#14112).
12714 (sh-current-defun-name): New function.
12715 (sh-mode): Use the function.
12717 2013-04-09 Bastien Guerry <bzg@gnu.org>
12719 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12721 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12723 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12725 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12728 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12730 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12733 2013-04-07 Leo Liu <sdl.web@gmail.com>
12735 * pcmpl-x.el: New file.
12737 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12739 Do not set x-display-name until X connection is established.
12740 This is needed to prevent from weird situation described at
12741 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12742 * frame.el (make-frame): Set x-display-name after call to
12743 window system initialization function, not before.
12744 * term/x-win.el (x-initialize-window-system): Add optional
12745 display argument and use it.
12746 * term/w32-win.el (w32-initialize-window-system):
12747 * term/ns-win.el (ns-initialize-window-system):
12748 * term/pc-win.el (msdos-initialize-window-system):
12749 Add compatible optional display argument.
12751 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12753 * files.el (normal-backup-enable-predicate): On MS-Windows and
12754 MS-DOS compare truenames of temporary-file-directory and of the
12755 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12756 don't fail comparison by compare-strings. Also, compare file
12757 names case-insensitively on MS-Windows and MS-DOS.
12759 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12761 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12762 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12764 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12766 * whitespace.el (whitespace-color-on, whitespace-color-off):
12767 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12769 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12771 * ispell.el (ispell-set-spellchecker-params):
12772 Really set `ispell-args' for all equivs.
12774 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12776 * ido.el (ido-completions): Use extra elements of ido-decorations
12778 (ido-decorations): Update docstring.
12780 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12782 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12783 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12784 nil during initialization, in order not to miss changes since the
12785 file was opened. (Bug#14140)
12787 2013-04-05 Leo Liu <sdl.web@gmail.com>
12789 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12791 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12793 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12795 2013-04-04 Glenn Morris <rgm@gnu.org>
12797 * electric.el (electric-pair-inhibit-predicate): Add :version.
12799 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12801 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12802 when a package is required several times (bug#14082).
12804 2013-04-04 Roland Winkler <winkler@gnu.org>
12806 * faces.el (read-face-name): Behave as promised by the docstring.
12807 Assume that arg default is a list of faces.
12808 (describe-face): Call read-face-name with list of default faces.
12810 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12812 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12813 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12814 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12816 (bookmark-exit-hook-internal): Save even if list is empty.
12818 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12820 * emacs-lisp/package.el (package-pinned-packages): New var.
12821 (package--add-to-archive-contents): Obey it (bug#14118).
12823 2013-04-03 Alan Mackenzie <acm@muc.de>
12825 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12826 Also adapt to the new values of element 7 of a parse state.
12828 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12829 parameter `not-in-delimiter'. Handle being inside comment opener.
12830 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12831 character in case we're typing a '*' after a '/'.
12832 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12833 instead by passing the parameter to c-state-pp-to-literal.
12835 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12836 for elt. 7 of a parse state.
12838 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12840 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12841 * international/latin1-disp.el, international/mule-util.el:
12842 * language/cyril-util.el, language/european.el, language/ind-util.el:
12843 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12844 * language/tibetan.el, language/viet-util.el:
12845 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12847 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12849 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12850 (electric-pair-post-self-insert-function): Use it.
12851 (electric-pair-default-inhibit): New function, extracted from
12852 electric-pair-post-self-insert-function.
12854 2013-03-31 Roland Winkler <winkler@gnu.org>
12856 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12858 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12860 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12862 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12864 Un-indent after "pass" and "return" statements (Bug#13888)
12865 * progmodes/python.el (python-indent-block-enders): New var.
12866 (python-indent-calculate-indentation): Use it.
12868 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12870 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12871 defun. Defining it as defalias could introduce too eager
12872 byte-compiler optimization. (Bug#14030)
12874 2013-03-30 Chong Yidong <cyd@gnu.org>
12876 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12878 2013-03-30 Leo Liu <sdl.web@gmail.com>
12880 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12881 (kmacro-execute-from-register): Pass the keyboard macro to
12882 kmacro-call-macro or repeating won't work correctly.
12884 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12886 * progmodes/subword.el: Back to using `forward-symbol'.
12888 * subr.el (forward-whitespace, forward-symbol)
12889 (forward-same-syntax): Move from thingatpt.el.
12891 2013-03-29 Leo Liu <sdl.web@gmail.com>
12893 * kmacro.el (kmacro-to-register): New command.
12894 (kmacro-execute-from-register): New function.
12895 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12897 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12899 * mpc.el: Use defvar-local and setq-local.
12900 (mpc--proc-connect): Connection failures are not bugs.
12901 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12902 (mpc-volume-map): Bind to the up-events.
12904 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12906 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12907 instead of `forward-symbol'.
12909 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12911 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12912 (edebug--recursive-edit): Use it.
12913 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12914 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12916 2013-03-28 Leo Liu <sdl.web@gmail.com>
12918 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12920 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12922 * facemenu.el (list-colors-callback): New defvar.
12923 (list-colors-redisplay): New function.
12924 (list-colors-display): Install list-colors-redisplay as the
12925 revert-buffer-function. (Bug#14063)
12927 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12929 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12930 and suffixes don't overlap (bug#14061).
12932 * case-table.el: Use lexical-binding.
12933 (case-table-get-table): New function.
12934 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12936 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12938 * progmodes/subword.el: Add `superword-mode' to do word motion
12939 over symbol_words (parallels and leverages `subword-mode' which
12940 does word motion inside MixedCaseWords).
12942 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12944 * eshell/em-unix.el: Move su and sudo to...
12945 * eshell/em-tramp.el: ...Eshell tramp module.
12947 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12949 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12950 Change return value to be a sexp. Delay `get-buffer' to after
12951 restoring the desktop (bug#13951).
12953 2013-03-26 Leo Liu <sdl.web@gmail.com>
12955 * register.el: Move semantic tag handling back to
12956 cedet/semantic/senator.el. (Bug#14052)
12958 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12960 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12961 into the prompt either (bug#13963).
12963 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12965 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12966 part of "(error-foo)".
12968 2013-03-24 Juri Linkov <juri@jurta.org>
12970 * replace.el (list-matching-lines-prefix-face): New defcustom.
12971 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12972 `occur-engine' if `face-differs-from-default-p' returns t.
12973 (occur-engine): Add `,' inside backquote construct to evaluate
12974 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12975 Pass `prefix-face' to the functions `occur-context-lines' and
12976 `occur-engine-add-prefix'.
12977 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12978 `prefix-face' and propertize the prefix with `prefix-face'.
12981 2013-03-24 Leo Liu <sdl.web@gmail.com>
12983 * nxml/rng-valid.el (rng-validate-while-idle)
12984 (rng-validate-quick-while-idle): Guard against deleted buffer.
12987 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12988 is the last entry in kill-buffer-hook.
12990 * files.el (kill-buffer-hook): Doc fix.
12992 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12994 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12995 Make it safe-local.
12997 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12999 2013-03-23 Leo Liu <sdl.web@gmail.com>
13001 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13004 * nxml/rng-valid.el (rng-validate-mode)
13005 (rng-after-change-function, rng-do-some-validation):
13006 * nxml/rng-maint.el (rng-validate-buffer):
13007 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13008 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13009 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13010 (nxml-extend-after-change-region): Use with-silent-modifications.
13012 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13015 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13016 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13017 timer-idle-list. (Bug#13999)
13019 2013-03-23 Juri Linkov <juri@jurta.org>
13021 * info.el (info-index-match): New face.
13022 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13023 main pattern and add text properties with the new face to matches
13024 in index entries relative to the beginning of the index entry.
13027 2013-03-21 Eric Ludlam <zappo@gnu.org>
13029 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13030 Inhibit read only while inserting objects.
13032 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13034 * progmodes/cfengine.el: Update docs to mention
13035 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13036 symbol motion. Remove "_" from the word syntax.
13038 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13040 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13041 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13043 2013-03-20 Juri Linkov <juri@jurta.org>
13045 * info.el (Info-next-reference-or-link)
13046 (Info-prev-reference-or-link): New functions.
13047 (Info-next-reference, Info-prev-reference): Use them.
13048 (Info-try-follow-nearest-node): Handle footnote navigation.
13049 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13051 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13053 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13054 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13056 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13058 Suppress unnecessary non-ASCII chatter during build process.
13059 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13060 (batch-skkdic-convert): Suppress most of the chatter.
13061 It's not needed so much now that machines are faster,
13062 and its non-ASCII component was confusing; see Dmitry Gutov in
13063 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13065 2013-03-20 Leo Liu <sdl.web@gmail.com>
13067 * ido.el (ido-chop): Fix bug#10994.
13069 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13071 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13073 (whitespace-color-on, whitespace-color-off):
13074 Use `font-lock-fontify-buffer' (Bug#13817).
13076 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13078 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13079 remapping in mode-line.
13080 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13082 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13084 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13085 value for `whitespace-line' face (Bug#13875).
13086 (whitespace-font-lock-keywords): Change description.
13087 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13088 the constructed keywords instead.
13089 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13091 2013-03-19 Leo Liu <sdl.web@gmail.com>
13093 * progmodes/compile.el (compilation-display-error): New command.
13094 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13097 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13099 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13101 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13103 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13105 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13107 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13109 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13110 * net/tramp-gvfs.el (top):
13111 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13112 (tramp-handle-shell-command): Use it.
13113 (tramp-dissect-file-name): Raise an error when hostname is a
13114 method name, and neither method nor user is specified.
13116 * net/trampver.el: Update release number.
13118 2013-03-18 Leo Liu <sdl.web@gmail.com>
13120 Make sure eldoc can be turned off properly.
13121 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13123 (eldoc-display-message-p): Revert last change.
13124 (eldoc-display-message-no-interference-p)
13125 (eldoc-print-current-symbol-info): Tweak.
13127 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13129 * doc-view.el (doc-view-new-window-function): Check the new window
13130 overlay's display property instead the char property of the
13131 buffer's first char. Use `with-selected-window' instead of
13132 `save-window-excursion' with `select-window'.
13133 (doc-view-document->bitmap): Check the current doc-view overlay's
13134 display property instead the char property of the buffer's first char.
13136 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13138 Automate the build of ja-dic.el (Bug#13984).
13139 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13140 from the input, rather than assume that it's been done for us by the
13141 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13142 the current date into a ja-dic.el comment, as that complicates
13143 regression testing.
13145 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13147 * whitespace.el: Fix double evaluation.
13148 (whitespace-space, whitespace-hspace, whitespace-tab)
13149 (whitespace-newline, whitespace-trailing, whitespace-line)
13150 (whitespace-space-before-tab, whitespace-indentation)
13151 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13153 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13154 (whitespace-color-on): Use a single font-lock-add-keywords call.
13155 Fix double-evaluation of face variables.
13157 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13159 * net/tramp-adb.el (tramp-adb-parse-device-names):
13160 Use `start-process' instead of `call-process'. Otherwise, the
13161 function might be blocked under MS Windows. (Bug#13299)
13163 2013-03-17 Leo Liu <sdl.web@gmail.com>
13165 Extend eldoc to display info in the mode-line. (Bug#13978)
13166 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13167 (eldoc-mode-line-string): New variable.
13168 (eldoc-minibuffer-message): New function.
13169 (eldoc-message-function): New variable.
13170 (eldoc-message): Use it.
13171 (eldoc-display-message-p)
13172 (eldoc-display-message-no-interference-p):
13173 Support eldoc-post-insert-mode.
13175 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13176 (eval-expression): Run it.
13178 2013-03-17 Roland Winkler <winkler@gnu.org>
13180 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13181 strings in the list of return values.
13183 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13185 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13186 radix before checking for HMS forms.
13188 2013-03-16 Leo Liu <sdl.web@gmail.com>
13190 * progmodes/scheme.el: Add indentation and font-locking for λ.
13193 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13195 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13196 token before point (bug#13942).
13198 2013-03-16 Leo Liu <sdl.web@gmail.com>
13200 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13202 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13204 * startup.el (command-line-normalize-file-name): Fix handling of
13205 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13206 <xfq.free@gmail.com> in
13207 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13209 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13211 Sync with Tramp 2.2.7.
13213 * net/trampver.el: Update release number.
13215 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13217 * doc-view.el: Fix bug#13887.
13218 (doc-view-insert-image): Don't modify overlay associated to
13219 non-live windows, and implement horizontal centering of image in
13220 case it's smaller than the window.
13221 (doc-view-new-window-function): Force redisplay of new windows on
13224 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13226 * saveplace.el (save-place-alist-to-file): Don't sort
13227 `save-place-alist', just pretty-print it (bug#13882).
13229 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13231 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13232 Check whether `default-file-name-coding-system' is bound.
13233 It isn't in XEmacs.
13235 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13237 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13238 backquotes for `obsolete' (bug#13929).
13240 * international/mule.el (find-auto-coding): Include file name in
13241 obsolescence warning (bug#13922).
13243 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13245 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13246 for CFEngine 3-specific indentation.
13247 (cfengine3-indent-line): Use it. Fix up category regex.
13248 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13250 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13252 * type-break.el (type-break-file-name):
13253 * textmodes/remember.el (remember-data-file):
13254 * strokes.el (strokes-file):
13255 * shadowfile.el (shadow-initialize):
13256 * saveplace.el (save-place-file):
13257 * ps-bdf.el (bdf-cache-file):
13258 * progmodes/idlwave.el (idlwave-config-directory):
13259 * net/quickurl.el (quickurl-url-file):
13260 * international/kkc.el (kkc-init-file-name):
13261 * ido.el (ido-save-directory-list-file):
13262 * emulation/viper.el (viper-custom-file-name):
13263 * emulation/vip.el (vip-startup-file):
13264 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13265 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13267 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13269 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13270 * language/thai-word.el: Switch to UTF-8.
13272 See ChangeLog.16 for earlier changes.
13274 ;; Local Variables:
13278 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13280 This file is part of GNU Emacs.
13282 GNU Emacs is free software: you can redistribute it and/or modify
13283 it under the terms of the GNU General Public License as published by
13284 the Free Software Foundation, either version 3 of the License, or
13285 (at your option) any later version.
13287 GNU Emacs is distributed in the hope that it will be useful,
13288 but WITHOUT ANY WARRANTY; without even the implied warranty of
13289 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13290 GNU General Public License for more details.
13292 You should have received a copy of the GNU General Public License
13293 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.