1 2013-10-20 Johan Bockgård <bojohan@gnu.org>
3 * startup.el (default-frame-background-mode): Remove unused
6 * progmodes/verilog-mode.el (verilog-mode): Don't set
7 comment-indent-function globally.
9 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
11 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
12 Move Info menu item creation to ns-win.el.
14 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
17 * menu-bar.el: Move GNUStep specific menus...
19 * term/ns-win.el (ns-initialize-window-system): ... to here.
21 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
23 * simple.el (newline): Only run post-self-insert-hook when
26 2013-10-19 Johan Bockgård <bojohan@gnu.org>
28 * icomplete.el (icomplete-with-completion-tables): Add :version.
30 2013-10-19 Alan Mackenzie <acm@muc.de>
32 Fix fontification bugs with constructors and const.
34 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
35 CASE 2) Remove the check for the absence of a suffix construct
36 after a function declaration with only types (no identifiers) in
37 the parentheses. Also, accept a function declaration with just a
38 type inside the parentheses, if this type can be positively
39 recognised as such, or if a prefix keyword like "explicit" nails
40 down the construct as a declaration.
42 2013-10-19 Eli Zaretskii <eliz@gnu.org>
44 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
45 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
46 the problem whereby selecting a menu item that leads to a
47 minibuffer prompt moves the cursor out of the minibuffer window,
48 making it hard to type at the prompt. Suggested by Stefan Monnier
49 <monnier@iro.umontreal.ca>.
51 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
53 * menu-bar.el: Don't make Services menu.
55 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
57 * ffap.el: Handle "/usr/include/c++/<version>" directories.
58 (ffap-alist): Use ffap-c++-mode for c++-mode.
59 (ffap-c++-path): New variable.
60 (ffap-c++-mode): New function.
62 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
64 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
66 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
68 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
69 introduced on 2013-09-08, which results in an infinite loop
70 requesting a password.
72 2013-10-18 Glenn Morris <rgm@gnu.org>
74 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
76 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
78 Sync with upstream verilog-mode revision 1a6ecec7.
79 * progmodes/verilog-mode.el (verilog-mode-version): Update.
80 (verilog-mode-release-date): Remove.
81 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
82 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
83 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
84 (verilog-auto-tieoff-ignore-regexp)
85 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
86 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
87 (verilog-signals-with, verilog-dir-cache-preserving)
88 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
90 (verilog-case-fold): New option, to control case folding in
91 regexp searches, bug597.
92 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
93 (verilog-string-match-fold, verilog-in-paren-count)
94 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
95 (verilog-at-close-struct-p): New functions.
96 (verilog-beg-block-re-ordered, verilog-extended-case-re)
97 (verilog-forward-sexp, verilog-set-auto-endcomments):
98 (verilog-leap-to-case-head): Handle "unique0" case.
99 (verilog-in-constraint-re): New constant.
100 (verilog-keywords, verilog-type-font-keywords):
101 Add some SystemVerilog 1800-2012 keywords.
102 (verilog-label-be): Remove unimplemented argument, bug669.
103 (verilog-batch-execute-func): When batch expanding clear
104 create-lockfiles to prevent spurious user locks when a file ends
106 (verilog-calculate-indent, verilog-calc-1)
107 (verilog-at-close-constraint-p, verilog-at-constraint-p)
108 (verilog-do-indent): Fix indentation of nested constraints
110 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
111 (verilog-auto-inst-param): Use verilog-string-match-fold.
112 (verilog-read-inst-module-matcher):
113 Fix AUTOINST on gate primitives with #1.
114 (verilog-read-decls): Fix double-declaring user-defined typed signals.
115 Reads all user-defined typed variables.
116 (verilog-read-defines): Fix reading definitions inside comments, bug647.
117 (verilog-signals-matching-regexp)
118 (verilog-signals-not-matching-regexp, verilog-auto):
119 Respect verilog-case-fold.
120 (verilog-diff-report): Fix line count.
121 (verilog-auto-assign-modport): Remove unused local `modi'.
122 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
123 better handle multidimensional arrays.
124 Fix packed array ports misadding bit index in AUTOINST, bug637.
125 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
126 to not double-declare existing outputs and inputs, respectively.
127 (verilog-template-map): Bind U to verilog-sk-uvm-component.
128 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
129 (verilog-sk-uvm-component): New skeleton.
130 (verilog-submit-bug-report): Add verilog-case-fold,
131 remove verilog-mode-release-date.
133 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
135 * lisp/subr.el (sit-for): Call (input-pending-p t) so as to behave
138 2013-10-18 Reuben Thomas <rrt@sc3d.org>
140 * textmodes/remember.el (remember): set buffer-offer-save in
141 remember buffers (bug#13566).
143 2013-10-18 Daniel Colascione <dancol@dancol.org>
145 When evaluating forms in ielm, direct standard output to ielm
146 buffer. Add new ielm-return-for-effect command. Remove trailing
147 whitespace throughout.
149 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
150 (ielm-return-for-effect): New command.
151 (ielm-send-input): Accept optional `for-effect' parameter.
152 (ielm-eval-input): Accept optional `for-effect' parameter. Bind
153 `standard-output' to stream we create using
154 `ielm-standard-output-impl'. Suppress printing result when
156 (ielm-standard-output-impl): New function.
157 (inferior-emacs-lisp-mode): Explain new features in documentation.
159 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
163 * net/tramp.el (tramp-debug-message): Do not check for connection
165 (tramp-message): Use "vector" connection property.
167 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
168 (tramp-equal-remote, tramp-eshell-directory-change)
169 * net/tramp-adb.el (tramp-adb-handle-copy-file)
170 (tramp-adb-handle-rename-file)
171 * net/tramp-cmds.el (tramp-list-remote-buffers)
172 (tramp-cleanup-connection, tramp-cleanup-this-connection)
173 * net/tramp-compat.el (tramp-compat-process-running-p)
174 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
175 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
176 (tramp-gvfs-handle-rename-file)
177 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
178 (tramp-set-file-uid-gid)
179 * net/tramp-smb.el (tramp-smb-handle-copy-file)
180 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
183 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
184 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
185 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
186 (tramp-gw-open-network-stream): Suppress unrelated traces.
188 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
189 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
190 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
191 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
194 * net/tramp-cache.el (top): Suppress traces when reading
197 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
198 Refactor common code. Improve debug message.
199 (tramp-maybe-open-connection)
200 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
201 connection buffer too early.
203 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
204 from `tramp-smb-actions-with-acl'.
205 (tramp-smb-actions-set-acl): New defconst.
206 (tramp-smb-handle-copy-directory)
207 (tramp-smb-action-get-acl): New defun, renamed from
208 `tramp-smb-action-with-acl'.
209 (tramp-smb-action-set-acl): New defun.
210 (tramp-smb-handle-set-file-acl): Rewrite.
212 2013-10-17 Glenn Morris <rgm@gnu.org>
214 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
216 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
218 * skeleton.el (skeleton-newline): Remove.
219 (skeleton-internal-1): Use (insert "\n") instead.
221 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
224 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
225 forward-sexp-function while we redo its job (bug#15613).
227 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
229 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
230 represented by lists.
232 2013-10-16 Glenn Morris <rgm@gnu.org>
234 * tmm.el (tmm--history): New dynamic variable.
235 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
237 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
239 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
240 (tramp-smb-errors): Add error messages.
241 (tramp-smb-actions-with-acl): New defconst.
242 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
243 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
244 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
245 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
246 (tramp-smb-get-stat-capability): Fix tests.
248 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
250 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
253 2013-10-16 Glenn Morris <rgm@gnu.org>
255 * ansi-color.el (ansi-color-drop-regexp):
256 Add 1J, 1K, 2K. (Bug#15617)
258 * files.el (hack-local-variables--warned-lexical): New.
259 (hack-local-variables):
260 Warn about misplaced lexical-binding. (Bug#15616)
262 * net/eww.el (eww-render): Always set eww-current-url,
263 and update header line. (Bug#15622)
264 (eww-display-html): ... Rather than just doing it here.
266 2013-10-15 Eli Zaretskii <eliz@gnu.org>
268 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
269 menu navigations commands.
271 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
273 * progmodes/subword.el (subword-capitalize): Be careful when
274 the search for [[:alpha:]] fails (bug#15580).
276 2013-10-14 Eli Zaretskii <eliz@gnu.org>
278 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
279 to commands that scroll the menu.
281 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
283 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
284 Handle methods ending with `?' and `!'.
286 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
288 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
289 `japanese-cp932' to `cp932' to fix the problem where saving a
290 source file written in Shift_JIS twice would end up having
291 `coding: japanese-cp932' which Ruby could not recognize.
292 (ruby-mode-set-encoding): Add support for encodings mapped to nil
293 in `ruby-encoding-map'.
294 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
295 doesn't need to be explicitly declared in magic comment.
296 (ruby-encoding-map): Add type declaration for better customize UI.
298 2013-10-13 Glenn Morris <rgm@gnu.org>
300 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
301 Occur buffers are read-only. http://bugs.debian.org/720775
303 * emacs-lisp/authors.el (authors-fixed-entries):
304 Comment out old alpha stuff.
306 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
308 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
309 to `after-save-hook' instead of `before-save-hook'.
310 (ruby-mode-set-encoding): Use the value of coding system used to
311 write the file. Call `basic-save-buffer-1' after modifying the
314 2013-10-13 Alan Mackenzie <acm@muc.de>
316 Fix indentation/fontification of Java enum with
317 "implements"/generic.
319 * progmodes/cc-engine.el (c-backward-over-enum-header):
320 Extracted from the three other places and enhanced to handle generics.
321 (c-inside-bracelist-p): Uses new function above.
322 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
324 (c-font-lock-enum-tail): Uses new function above.
326 2013-10-13 Kenichi Handa <handa@gnu.org>
328 * international/mule-cmds.el (select-safe-coding-system): Remove a
329 superfluous condition in chekcing whether a coding system is safe
332 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
334 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
336 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
338 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
340 2013-10-13 Glenn Morris <rgm@gnu.org>
342 * menu-bar.el (menu-bar-update-buffers):
343 Unify Buffers menu prompt string. (Bug#15576)
345 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
347 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
349 (authors-fixed-entries): Use accented form of name.
351 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
353 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
354 method calls (bug#15594).
355 (ruby-smie--args-separator-p): New function.
356 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
357 recognize paren-free method calls.
359 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
360 internals of universal-argument.
362 2013-10-11 Eli Zaretskii <eliz@gnu.org>
364 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
365 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
366 dropped menu on second mouse click on the menu bar.
368 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
370 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
371 (explicit-shell-file-name): Declare.
372 (sh--vars-before-point, sh--cmd-completion-table): New functions.
373 (sh-completion-at-point-function): New function.
375 (sh-smie--keyword-p): Remove unused argument.
376 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
378 (sh-set-shell): Always setup SMIE, even if we use the
379 old indentation code.
381 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
383 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
385 (ruby-smie-rules): Simplify the "do" rule. The cases when the
386 predicate would return nil are almost non-existent.
387 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
389 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
390 cache also after commands that modify the buffer but don't move
393 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
395 * env.el (substitute-env-in-file-name): New function.
396 (substitute-env-vars): Extend the meaning of the optional arg.
398 2013-10-10 Eli Zaretskii <eliz@gnu.org>
400 * term/w32-win.el (dynamic-library-alist): Define separate lists
401 of GIF DLLs for versions before and after 5.0.0 of giflib.
404 2013-10-10 João Távora <joaotavora@gmail.com>
406 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
407 not locked, use last revision and current source as
408 defaults. (Bug#15569)
410 2013-10-10 Masatake YAMATO <yamato@redhat.com>
412 * menu-bar.el (menu-bar-open): Don't use popup-menu if
415 2013-10-10 Martin Rudalics <rudalics@gmx.at>
417 * window.el (pop-to-buffer-same-window): Fix doc-string.
420 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
422 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
424 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
426 * calendar/icalendar.el (icalendar-import-file):
427 Fix interactive spec. (Bug#15482)
429 2013-10-10 Glenn Morris <rgm@gnu.org>
431 * desktop.el (desktop-save): Default to saving in .emacs.d,
432 since PWD is no longer in desktop-path by default. (Bug#15319)
434 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
435 now that text mode has a menu with the same entry.
436 (menu-bar-text-mode-auto-fill): Remove now unused func.
437 * textmodes/text-mode.el (text-mode-map):
438 Use auto-fill help text from menu-bar.el.
440 2013-10-10 John Anthony <john@jo.hnanthony.com> (tiny change)
442 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
444 2013-10-09 Juri Linkov <juri@jurta.org>
446 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
447 instead of this-command-keys. Add universal-argument-more and
448 universal-argument-minus to the list of prefix commands. (Bug#15568)
450 2013-10-09 Glenn Morris <rgm@gnu.org>
452 * vc/vc-svn.el (vc-svn-create-repo):
453 Expand paths in file://... url. (Bug#15446)
455 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
457 (authors): Remove unused local variables.
459 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
461 * profiler.el: Create a more coherent calltree from partial backtraces.
462 (profiler-format): Hide the tail with `invisible' so that C-s can still
463 find the hidden elements.
464 (profiler-calltree-depth): Don't recurse so enthusiastically.
465 (profiler-function-equal): New hash-table-test.
466 (profiler-calltree-build-unified): New function.
467 (profiler-calltree-build): Use it.
468 (profiler-report-make-name-part): Indent the calltree less.
469 (profiler-report-mode): Add visibility specs for profiler-format.
470 (profiler-report-expand-entry, profiler-report-toggle-entry):
471 Expand the whole subtree when provided with a prefix arg.
473 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
475 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
477 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
478 hanging iuwu-mod token.
479 (ruby-smie--forward-token): Do not include a dot after a token in
481 (ruby-smie--backward-token): Likewise.
483 2013-10-08 Juri Linkov <juri@jurta.org>
485 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
486 to isearch-other-control-char.
487 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
488 and isearch-post-command-hook to post-command-hook.
489 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
490 and isearch-post-command-hook from post-command-hook.
491 (isearch-unread-key-sequence)
492 (isearch-reread-key-sequence-naturally)
493 (isearch-lookup-scroll-key, isearch-other-control-char)
494 (isearch-other-meta-char): Remove functions.
495 (isearch-pre-command-hook, isearch-post-command-hook):
496 New functions based on isearch-other-meta-char rewritten
497 relying on the new behavior of overriding-terminal-local-map
498 that does not replace the local keymaps any more. (Bug#15200)
500 2013-10-08 Eli Zaretskii <eliz@gnu.org>
502 Support menus on text-mode terminals.
503 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
506 * tooltip.el (tooltip-mode): Don't error out on TTYs.
508 * menu-bar.el (popup-menu, popup-menu-normalize-position):
509 Move here from mouse.el.
510 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
512 (tty-menu-navigation-map): New map for TTY menu navigation.
514 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
516 * frame.el (display-mouse-p): Report text-mode mouse as available
518 (display-popup-menus-p): Report availability if mouse is
519 available; don't condition on window-system.
521 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
522 (tty-menu-selected-face): New faces.
524 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
526 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
527 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
528 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
529 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
531 (lisp-mode-variables): New `elisp' argument.
532 (emacs-lisp-mode): Use it.
533 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
534 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
536 * indent.el: Use lexical-binding.
537 (indent-region): Add progress reporter.
538 (tab-stop-list): Make it implicitly extend to infinity by repeating the
540 (indent--next-tab-stop): New function to implement this behavior.
541 (tab-to-tab-stop, move-to-tab-stop): Use it.
543 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
545 * indent.el (indent-rigidly--current-indentation): New function.
546 (indent-rigidly-map): New var.
547 (indent-rigidly): Use it to provide interactive mode (bug#8196).
549 2013-10-08 Bastien Guerry <bzg@gnu.org>
551 * register.el (insert-register): Fix 2013-10-07T01:28:34Z!sdl.web@gmail.com.
553 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
555 * progmodes/perl-mode.el: Use lexical-binding.
556 Remove redundant :group args.
557 (perl-nochange): Change default to be closer to other major modes's
559 (perl-indent-line): Don't consider text on current line as a
560 valid beginning of function from which to indent.
562 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
563 with more than one argument (bug#15538).
565 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
567 * vc/pcvs.el: Use lexical-binding.
568 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
569 environment of `eval'.
570 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
571 than a list of expressions. Adjust callers.
572 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
574 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
576 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
577 case of the dot in a chained method call being on the following line.
579 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
581 * electric.el (electric-indent-inhibit): New var.
582 (electric-indent-post-self-insert-function): Use it.
583 * progmodes/python.el (python-mode): Set it.
585 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
588 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
590 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
591 (css-mode): Use electric-indent-chars.
593 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
594 (font-lock-beg, font-lock-end): Move before first use.
595 (nxml-mode): Use syntax-propertize-function.
596 (nxml-after-change, nxml-after-change1): Adjust accordingly.
597 (nxml-extend-after-change-region): Remove.
598 * nxml/xmltok.el: Use lexical-binding.
599 (xmltok-save): Use `declare'.
600 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
601 * nxml/nxml-util.el: Use lexical-binding.
602 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
604 * nxml/nxml-ns.el: Use lexical-binding.
605 (nxml-ns-save): Use `declare'.
606 (nxml-ns-prefixes-for): Avoid add-to-list.
607 * nxml/rng-match.el: Use lexical-binding.
608 (rng--ipattern): Use cl-defstruct.
609 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
610 (rng-cons-group-after, rng-subst-group-after)
611 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
612 Use closures instead of `(lambda...).
614 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
616 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
619 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
620 Use `tramp-handle-insert-file-contents'.
621 (tramp-gvfs-handle-insert-file-contents): Remove function.
623 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
624 Use `save-restriction' in order to keep markers.
626 * net/trampver.el: Update release number.
628 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
630 * progmodes/compile.el (compilation-parse-errors):
631 Use compilation--put-prop.
632 (compilation--ensure-parse): Check compilation-multiline.
634 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
636 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
639 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
641 * progmodes/ruby-mode.el: Fix recently added tests.
642 (ruby-smie-grammar): Add - and +.
643 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
644 (ruby-smie--backward-id): New functions.
645 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
646 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
649 2013-10-07 Leo Liu <sdl.web@gmail.com>
651 * register.el (register-preview-delay)
652 (register-preview-functions): New variables.
653 (register-read-with-preview, register-preview)
654 (register-describe-oneline): New functions.
655 (point-to-register, window-configuration-to-register)
656 (frame-configuration-to-register, jump-to-register)
657 (number-to-register, view-register, insert-register)
658 (copy-to-register, append-to-register, prepend-to-register)
659 (copy-rectangle-to-register): Use register-read-with-preview to
660 read register. (Bug#15525)
662 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
664 * net/network-stream.el (network-stream-open-starttls): Don't add
665 --insecure if it's already present, because that gnutls-cli
666 rejects getting that parameter twice.
668 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
670 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
673 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
675 * newcomment.el (comment-use-global-state): Change default value
676 to t, mark obsolete (Bug#15251).
677 (comment-beginning): In addition to `comment-to-syntax', check the
678 value of `comment-use-global-state'.
680 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
682 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
683 (ruby-comment-column): Follow the global default, by default.
684 (ruby-smie-grammar): Add assignment syntax.
685 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
686 open-paren, a comma, or a \.
687 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
688 and line continuations.
689 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
690 followed by implicit semi-colons. Add rule for string concatenation
691 and for indentation at BOB.
692 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
694 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
695 calling next-sexp, since next-token may have skipped chars which
696 next-sexp doesn't know should be skipped!
698 2013-10-05 Leo Liu <sdl.web@gmail.com>
700 * progmodes/octave.el (octave-send-region):
701 Call compilation-forget-errors.
703 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
705 * vc/vc-svn.el (vc-svn-find-admin-dir):
706 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
707 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
708 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
709 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
711 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
713 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
715 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
717 * subr.el (read-passwd): Hide chars even when called within a context
718 where after-change-functions is disabled (bug#15501).
719 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
720 until we removed ourself from overriding-terminal-local-map.
722 2013-10-04 Leo Liu <sdl.web@gmail.com>
724 * progmodes/octave.el (inferior-octave-mode):
725 Call compilation-forget-errors.
727 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
729 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
731 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
733 * net/secrets.el (secrets-create-collection): Add optional
734 argument ALIAS. Use proper Label keyword. Append ALIAS as
735 dbus-call-method argument. (Bug#15516)
737 2013-10-04 Leo Liu <sdl.web@gmail.com>
739 * progmodes/octave.el (inferior-octave-error-regexp-alist)
740 (inferior-octave-compilation-font-lock-keywords): New variables.
741 (compilation-error-regexp-alist)
742 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
743 (inferior-octave-mode): Use compilation-shell-minor-mode.
745 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
747 * minibuffer.el (completion--replace): Be careful that `end' might be
750 2013-10-03 Daiki Ueno <ueno@gnu.org>
752 Add support for package signature checking.
753 * emacs-lisp/package.el (url-http-file-exists-p)
754 (epg-make-context, epg-context-set-home-directory)
755 (epg-verify-string, epg-context-result-for)
756 (epg-signature-status, epg-signature-to-string)
757 (epg-check-configuration, epg-configuration)
758 (epg-import-keys-from-file): Declare.
759 (package-check-signature): New user option.
760 (package-unsigned-archives): New user option.
761 (package-desc): Add `signed' field.
762 (package-load-descriptor): Set `signed' field if .signed file exists.
763 (package--archive-file-exists-p): New function.
764 (package--check-signature): New function.
765 (package-install-from-archive): Check package signature.
766 (package--download-one-archive): Check archive signature.
767 (package-delete): Remove .signed file.
768 (package-import-keyring): New command.
769 (package-refresh-contents): Import default keyring.
770 (package-desc-status): Add "unsigned" status.
771 (describe-package-1, package-menu--print-info)
772 (package-menu-mark-delete, package-menu--find-upgrades)
773 (package-menu--status-predicate): Support "unsigned" status.
775 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
777 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
778 the new compilation scheme using the new byte-codes.
780 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
781 (byte-pophandler): New byte codes.
782 (byte-goto-ops): Adjust accordingly.
783 (byte-compile--use-old-handlers): New var.
784 (byte-compile-catch): Use new byte codes depending on
785 byte-compile--use-old-handlers.
786 (byte-compile-condition-case--old): Rename from
787 byte-compile-condition-case.
788 (byte-compile-condition-case--new): New function.
789 (byte-compile-condition-case): New function that dispatches depending
790 on byte-compile--use-old-handlers.
791 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
794 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
795 Optimize under `condition-case' and `catch' if
796 byte-compile--use-old-handlers is nil.
797 (disassemble-offset): Handle new bytecodes.
799 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
801 * subr.el (error): Use `declare'.
802 (decode-char, encode-char): Use advertised-calling-convention instead
803 of the docstring to discourage use of the `restriction' arg.
805 2013-10-03 Daiki Ueno <ueno@gnu.org>
807 * epg.el (epg-verify-file): Add a comment saying that it does not
808 notify verification error as a return value nor a signal.
809 (epg-verify-string): Ditto.
811 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
813 * progmodes/compile.el (compilation-start): Try globbing the arg to
816 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
818 Sync with Tramp 2.2.8.
820 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
821 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
822 * net/trampver.el: Update release number.
824 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
826 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
827 and default-process-coding-system for darwin only.
829 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
831 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
833 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
835 * vc/vc-git.el (vc-git-grep): Disable pager.
837 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
839 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
840 Use :url instead of :homepage, as per
841 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
843 * newcomment.el (comment-beginning): When `comment-use-syntax' is
844 non-nil, use `syntax-ppss' (Bug#15251).
846 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
848 * progmodes/octave.el (inferior-octave-startup-file):
849 Prefer ~/.emacs.d/init_octave.m.
851 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
853 * emacs-lisp/package.el (package-desc-from-define):
854 Accept additional arguments as plist, convert them to an alist and store
855 them in the `extras' slot.
856 (package-generate-description-file): Convert extras alist back to
857 plist and append to the `define-package' form arguments.
858 (package--alist-to-plist): New function.
859 (package--ac-desc): Add `extras' slot.
860 (package--add-to-archive-contents): Check if the archive-contents
861 vector is long enough, and if it is, pass its `extras' slot value
862 to `package-desc-create'.
863 (package-buffer-info): Call `lm-homepage', pass the returned value
864 to `package-desc-from-define'.
865 (describe-package-1): Render the homepage button (Bug#13291).
867 * emacs-lisp/package-x.el (package-upload-buffer-internal):
868 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
870 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
872 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
873 and default-process-coding-system to utf-8-unix (Bug#15402).
875 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
877 * subr.el (looking-back): Do not recommend using looking-back.
879 2013-09-28 Alan Mackenzie <acm@muc.de>
881 Fix indentation/fontification of Java enum with "implements".
883 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
884 regexp which matches "implements", etc., in Java.
885 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
886 specifier clauses coming after "enum".
887 * progmodes/cc-fonts.el (c-font-lock-declarations)
888 (c-font-lock-enum-tail): Check for extra specifier clauses coming
891 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
893 * faces.el (region): Change ns_selection_color to
894 ns_selection_fg_color, add ns_selection_bg_color.
896 2013-09-28 Leo Liu <sdl.web@gmail.com>
898 * progmodes/octave.el (inferior-octave-completion-table)
899 (inferior-octave-completion-at-point): Minor tweaks.
901 * textmodes/ispell.el (ispell-lookup-words): Rename from
902 lookup-words. (Bug#15460)
903 (lookup-words): Obsolete.
904 (ispell-complete-word, ispell-command-loop): All uses changed.
906 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
908 * lisp/progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
909 (octave-mode-menu): Add octave-send-buffer.
910 (octave-send-buffer): New function.
912 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
914 * lisp/progmodes/octave.el (octave-mode-map): Add key binding for
916 (octave-mode-menu): Add octave-lookfor.
917 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
919 (octave-lookfor): New function.
921 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
923 * emacs-lisp/cl-macs.el:
924 (cl--loop-destr-temps): Remove.
925 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
927 (cl--loop-set-iterator-function): New function.
928 (cl-loop): Adjust accordingly, so as not to use cl-subst.
929 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
930 Bind `it' with `let' instead of substituting it with `cl-subst'.
931 (cl--unused-var-p): New function.
932 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
933 Eliminate some unused variable warnings (bug#15326).
935 2013-09-27 Tassilo Horn <tsdh@gnu.org>
937 * doc-view.el (doc-view-scale-reset): Rename from
938 `doc-view-reset-zoom-level'.
939 (doc-view-scale-adjust): New command.
940 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
941 `doc-view-scale-adjust'.
943 2013-09-26 Tassilo Horn <tsdh@gnu.org>
945 * doc-view.el (doc-view-reset-zoom-level): New command.
946 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
947 zoom commands (bug#15466).
949 2013-09-26 Kenichi Handa <handa@gnu.org>
951 * international/quail.el (quail-help): Make it not a command.
953 2013-09-26 Leo Liu <sdl.web@gmail.com>
955 * minibuffer.el (completion-all-sorted-completions): Make args
956 optional as they are.
958 2013-09-25 Daniel Colascione <dancol@dancol.org>
960 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
961 specs are and that they're not evaluated.
963 2013-09-24 Sam Steingold <sds@gnu.org>
965 * midnight.el (clean-buffer-list-kill-regexps)
966 (clean-buffer-list-kill-buffer-names): Update for the new Man
967 buffer naming which includes the object name.
969 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
971 * eshell/esh-cmd.el (eshell--sep-terms): New var.
972 (eshell-parse-command, eshell-parse-pipeline): Use it since
973 eshell-separate-commands requires a dynamic scoped var.
974 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
976 2013-09-23 Leo Liu <sdl.web@gmail.com>
978 * autoinsert.el (auto-insert-alist): Make the value of
979 lexical-binding match its file setting.
981 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
983 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
985 * autoarg.el (autoarg-kp-digit-argument):
986 * electric.el (Electric-command-loop):
987 * kmacro.el (kmacro-step-edit-insert):
988 Do not set universal-argument-num-events.
990 2013-09-22 Leo Liu <sdl.web@gmail.com>
992 * files.el (interpreter-mode-alist): Add octave.
994 2013-09-21 Alan Mackenzie <acm@muc.de>
996 C++: fontify identifier in declaration following "public:" correctly.
997 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
998 to match "public", etc.
999 (c-decl-prefix-re): Add ":" into the C++ value.
1000 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
1001 bit. Add a check for a ":" preceded by "public", etc.
1003 2013-09-21 Eli Zaretskii <eliz@gnu.org>
1005 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
1006 recognized by GDB 7.5 and later.
1008 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
1010 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
1012 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
1014 * subr.el (internal--call-interactively): New const.
1015 (called-interactively-p): Use it (bug#3984).
1017 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
1019 * vc/pcvs.el (cvs-mode-ignore):
1020 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
1021 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
1023 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
1025 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
1026 (eshell-ls-orig-insert-directory): Remove.
1027 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
1028 (eshell-ls-use-in-dired): Use advice-add/remove.
1029 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
1030 Add `orig-fun' arg for use in :around advice.
1031 Make it check (redundantly) eshell-ls-use-in-dired.
1033 2013-09-19 Glenn Morris <rgm@gnu.org>
1035 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
1037 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
1039 * emacs-lisp/eieio.el (class-parent): Undo previous change.
1041 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
1043 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
1044 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
1045 (tramp-get-remote-python): New defuns.
1046 (tramp-get-remote-uid-with-perl)
1047 (tramp-get-remote-gid-with-perl): New defuns. Perl code
1048 contributed by yary <not.com@gmail.com> (tiny change).
1049 (tramp-get-remote-uid-with-python)
1050 (tramp-get-remote-gid-with-python): New defuns. Python code
1051 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
1052 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
1054 2013-09-19 Glenn Morris <rgm@gnu.org>
1056 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
1058 * eshell/em-unix.el (eshell-remove-entries):
1059 Rename argument to avoid name-clash with global `top-level'.
1061 * eshell/esh-proc.el (eshell-kill-process-function):
1062 Remove eshell-reset-after-proc from eshell-kill-hook if present.
1063 (eshell-reset-after-proc): Remove unused arg `proc'.
1065 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
1066 (directory-files-and-attributes): Mark unused arg.
1068 * eshell/em-unix.el (eshell-remove-entries):
1069 Remove unused arg `path'. Update callers.
1071 * eshell/em-hist.el (eshell-hist-parse-arguments):
1072 Remove unused arg `silent'. Update callers.
1074 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
1075 Fix (f)boundp mix-up.
1077 * eshell/em-smart.el (eshell-smart-scroll-window)
1078 (eshell-disable-after-change):
1079 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
1081 2013-09-18 Alan Mackenzie <acm@muc.de>
1083 Fix fontification of type when followed by "const".
1084 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
1085 "known" types from fontification.
1087 2013-09-18 Glenn Morris <rgm@gnu.org>
1089 * emacs-lisp/chart.el (x-display-color-cells): Declare.
1090 (chart-face-list): Drop Emacsen without display-color-p.
1092 * net/eww.el (libxml-parse-html-region): Declare.
1093 (eww-display-html): Explicit error if no libxml2 support.
1095 * doc-view.el (doc-view-mode): Silence --without-x compilation.
1097 * image.el (image-type-from-buffer, image-multi-frame-p):
1098 Remove --without-x warning/error.
1100 * mouse.el (mouse-yank-primary):
1101 * term.el (term-mouse-paste):
1102 Reorder to silence --without-x compilation.
1104 * mpc.el (doc-view-mode): Silence --without-x compilation.
1106 * mail/rmailmm.el (rmail-mime-set-bulk-data):
1107 Silence --without-x compilation.
1109 * progmodes/gud.el (gud-find-file, gud-mode):
1110 Silence --without-x compilation.
1111 (tooltip-mode): Declare.
1113 * wdired.el (dired-backup-overwrite): Remove declaration.
1114 (wdired-mode-map): Add doc string.
1116 * custom.el (x-get-resource): Declare.
1118 * eshell/em-glob.el (ange-cache):
1119 * eshell/em-unix.el (ange-cache): Declare.
1121 * faces.el (x-display-list, x-open-connection, x-get-resource):
1124 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
1125 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
1128 * frame.el (x-display-grayscale-p, x-display-name): Declare.
1130 * net/gnutls.el (gnutls-log-level): Declare.
1132 * net/shr.el (image-size, image-animate): Declare.
1134 * simple.el (font-info): Declare.
1136 * subr.el (x-popup-dialog): Declare.
1138 * term/common-win.el (x-select-enable-primary)
1139 (x-last-selected-text-primary, x-last-selected-text-clipboard):
1142 * term/ns-win.el (x-handle-args): Declare.
1144 * term/x-win.el (x-select-enable-clipboard): Declare.
1146 * term/w32-win.el (create-default-fontset): Declare.
1148 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
1151 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
1152 (fit-frame-to-buffer): Explicit error if --without-x.
1153 (mouse-autoselect-window-select): Silence compiler.
1155 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
1157 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
1158 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
1159 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
1160 * eshell/esh-util.el (eshell-sublist):
1161 Remove unused local variables.
1163 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
1165 * textmodes/two-column.el: Make 2C-split work for --without-x.
1166 (scroll-bar-columns): Autoload.
1167 (top-level): Require fringe when compiling.
1169 2013-09-18 Leo Liu <sdl.web@gmail.com>
1171 * subr.el (add-hook): Robustify to handle closure as well.
1173 2013-09-17 Glenn Morris <rgm@gnu.org>
1175 * simple.el (messages-buffer-mode-map): Unbind "g".
1177 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1179 * help-mode.el (help-mode-finish): Use derived-mode-p.
1180 Remove obsolete highlighting.
1182 * play/life.el (life-mode): Use define-derived-mode. Derive from
1184 (life): Let-bind inhibit-read-only.
1185 (life-setup): Avoid `setq'. Use `life-mode'.
1187 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
1188 which should not be needed any more.
1189 (package-menu-refresh, package-menu-describe-package): Use user-error.
1191 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
1192 (eshell-post-rewrite-command-hook): Make obsolete.
1193 (eshell-parse-command): Simplify.
1194 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
1195 (eshell--cmd): Declare.
1196 (eshell-parse-pipeline): Remove unused var `final-p'.
1197 Pass a dynvar to eshell-post-rewrite-command-hook.
1198 Implement the new eshell-post-rewrite-command-function.
1199 (eshell-invoke-directly): Remove unused arg `input'.
1200 * eshell/esh-io.el (eshell-io-initialize):
1201 Use eshell-post-rewrite-command-function (bug#15399).
1202 (eshell--apply-redirections): Rename from eshell-apply-redirections;
1203 adjust to new calling convention.
1204 (eshell-create-handles): Rename args to avoid clashing with dynvar
1207 2013-09-17 Glenn Morris <rgm@gnu.org>
1209 * simple.el (messages-buffer-mode): New major mode.
1210 (messages-buffer): New function.
1211 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
1212 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
1213 (ert-run-test): Use `messages-buffer' function.
1214 (ert--force-message-log-buffer-truncation): Ignore read-only.
1215 * help.el (view-echo-area-messages): Use `messages-buffer' function.
1216 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
1218 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
1220 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
1222 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15329).
1224 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * icomplete.el (icomplete-in-buffer): New var.
1227 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
1228 vars and replace them with functions.
1229 (icomplete-minibuffer-setup): Adjust accordingly.
1230 (icomplete--completion-table, icomplete--completion-predicate)
1231 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
1233 (icomplete-forward-completions, icomplete-backward-completions)
1234 (icomplete-simple-completing-p, icomplete-exhibit)
1235 (icomplete-completions): Use them.
1236 (icomplete--in-region-buffer): New var.
1237 (icomplete--in-region-setup): New function.
1238 (icomplete-mode): Use it.
1240 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
1242 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
1243 return args and options.
1244 (eshell-eval-using-options): Use the new return value of
1245 eshell--do-opts to set the options's vars in their scope.
1246 (eshell--set-option): Rename from eshell-set-option.
1248 (eshell--process-option): Rename from eshell-process-option.
1250 (eshell--process-args): Use an `opt-vals' alist to store the options's
1251 values during their processing and return them additionally to the
1254 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
1256 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
1257 continuation character an operator, as far as indentation is
1258 concerned (Bug#15369).
1260 2013-09-15 Martin Rudalics <rudalics@gmx.at>
1262 * window.el (window--state-put-2): Don't process buffer state
1263 when buffer doesn't exist any more (Bug#15382).
1265 2013-09-15 Glenn Morris <rgm@gnu.org>
1267 * eshell/em-unix.el (eshell/rm):
1268 Make -f ignore missing files. (Bug#15373)
1270 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
1271 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
1272 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
1274 2013-09-14 Glenn Morris <rgm@gnu.org>
1276 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
1278 2013-09-13 Glenn Morris <rgm@gnu.org>
1280 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
1281 (dired-guess-default): Make `file' available in the env. (Bug#15363)
1283 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
1285 * frame.el (x-focus-frame): Mark as declared in frame.c.
1287 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
1289 * ls-lisp.el: Use advice-add.
1290 (original-insert-directory): Remove.
1291 (ls-lisp--insert-directory): Rename from insert-directory; add
1292 `orig-fun' argument.
1293 (insert-directory): Advise.
1295 2013-09-13 Eli Zaretskii <eliz@gnu.org>
1297 * term.el (term-emulate-terminal): Decode the command string
1298 before passing it to term-command-hook. (Bug#15337)
1300 2013-09-13 Glenn Morris <rgm@gnu.org>
1302 * eshell/esh-util.el (ange-cache): Move declaration earlier.
1304 * eshell/esh-ext.el (eshell-search-path): Declare.
1306 * eshell/em-prompt.el (eshell/pwd): Autoload it.
1307 Otherwise an error occurs if eshell-dirs module not loaded.
1309 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
1311 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
1313 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
1314 `tramp-check-proper-host'. Check for a valid method name.
1316 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1317 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
1318 * net/tramp-sh.el (tramp-maybe-open-connection):
1319 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
1321 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
1322 also for hash values.
1324 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1326 * term/ns-win.el (parameters): Don't declare as dynamic.
1327 (before-make-frame-hook): Don't add ineffective function.
1329 * eshell/*.el: Use lexical-binding (bug#15231).
1331 2013-09-12 Kenichi Handa <handa@gnu.org>
1333 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
1335 2013-09-12 Glenn Morris <rgm@gnu.org>
1337 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
1338 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
1340 * subr.el (do-after-load-evaluation): Also give compiler warnings
1341 when obsolete files are used (except by obsolete files).
1343 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
1344 in the status output, assume `filename' is the first. (Bug#15322)
1346 * vc/vc.el (vc-deduce-fileset): Doc fix.
1348 * calc/calc-help.el (Info-goto-node):
1349 * progmodes/cperl-mode.el (Info-find-node):
1350 * vc/ediff.el (Info-goto-node): Update declarations.
1352 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
1354 * vc/vc-bzr.el (vc-compilation-mode): Declare.
1355 (vc-bzr-pull): Require vc-dispatcher.
1356 * vc/vc-git.el (vc-compilation-mode): Declare.
1357 (vc-git-pull): Require vc-dispatcher.
1359 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
1361 * progmodes/octave.el (help-button-action): Declare.
1363 * shell.el (shell-directory-tracker): Output error as a message
1364 rather than just returning it as a string.
1365 (shell-process-pushd): Remove useless use of message.
1367 * dframe.el (dframe-timer-fn):
1368 * files.el (dir-locals-read-from-file):
1369 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
1371 * reveal.el (reveal-post-command):
1372 * saveplace.el (load-save-place-alist-from-file):
1373 * shell.el (shell-resync-dirs):
1374 * w32-common-fns.el (x-get-selection-value):
1375 * emacs-lisp/copyright.el (copyright-find-copyright):
1376 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
1377 * emulation/tpu-edt.el (tpu-copy-keyfile):
1378 * play/bubbles.el (bubbles--mark-neighbourhood):
1379 * progmodes/executable.el
1380 (executable-make-buffer-file-executable-if-script-p):
1381 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
1383 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
1385 Cleanup Eshell to rely less on dynamic scoping.
1386 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
1387 last-value, and ext-command here. Bind `args' closer to `body'.
1388 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
1389 (eshell--args): Declare new dynamic var.
1390 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
1391 last-value, and ext-command. Pass `args' to `body'.
1392 (eshell-process-args): Bind eshell--args.
1393 (eshell-set-option): Use eshell--args.
1394 * eshell/eshell.el (eshell): Use derived-mode-p.
1395 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
1396 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
1397 (eshell-glob-function): Declare.
1398 * eshell/esh-util.el: Require cl-lib.
1399 (eshell-read-hosts-file): Avoid add-to-list.
1400 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
1402 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
1404 (eshell/diff): Remove unused var `err'.
1405 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
1407 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
1408 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
1410 * eshell/em-glob.el (eshell-glob-matches, message-shown):
1411 Move declaration before first use.
1412 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
1413 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
1416 2013-09-12 Glenn Morris <rgm@gnu.org>
1418 * term/ns-win.el (global-map): Remove binding for ispell-next,
1419 deleted 1999-05-29. (Bug#15357)
1421 2013-09-11 Glenn Morris <rgm@gnu.org>
1423 * echistory.el (electric-command-history): Remove call to deleted func.
1425 * play/landmark.el (landmark-mode): Fix typos.
1427 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
1428 Check cvs-sort-ignore-file is bound.
1430 * savehist.el: No need for cl when compiling on Emacs.
1432 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1434 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
1436 (eshell-self-insert-command, eshell-send-invisible):
1437 Remove unused argument.
1438 (eshell-handle-control-codes): Remove unused var `orig'.
1439 Avoid delete-backward-char.
1441 * files.el (set-auto-mode): Simplify a bit further.
1443 2013-09-11 Glenn Morris <rgm@gnu.org>
1445 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
1446 (set-auto-mode): Don't regexp-quote elements.
1447 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
1448 * progmodes/cc-mode.el (interpreter-mode-alist):
1449 * progmodes/ruby-mode.el (interpreter-mode-alist):
1450 Revert previous change.
1452 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * play/snake.el (snake-mode):
1455 * play/mpuz.el (mpuz-mode):
1456 * play/landmark.el (lm-mode):
1457 * play/blackbox.el (blackbox-mode):
1458 * play/5x5.el (5x5-mode):
1459 * obsolete/options.el (Edit-options-mode):
1460 * net/quickurl.el (quickurl-list-mode):
1461 * net/newst-treeview.el (newsticker-treeview-mode):
1462 * mail/rmailsum.el (rmail-summary-mode):
1463 * mail/mspools.el (mspools-mode):
1464 * locate.el (locate-mode):
1465 * ibuffer.el (ibuffer-mode):
1466 * emulation/ws-mode.el (wordstar-mode):
1467 * emacs-lisp/debug.el (debugger-mode):
1468 * array.el (array-mode):
1469 * net/eudc.el (eudc-mode): Use define-derived-mode.
1470 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
1471 Move initialization into declaration.
1472 (mairix-searches-mode): Use define-derived-mode.
1473 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
1474 (eudc-edit-hotlist): Use dolist.
1475 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
1476 (Man-mode): Use define-derived-mode.
1477 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
1478 (Info-edit-mode): Use define-derived-mode.
1479 (Info-cease-edit): Use Info-mode.
1480 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
1482 (eshell-mode): Use define-derived-mode.
1483 * chistory.el (command-history-mode-map): Rename from
1484 command-history-map.
1485 (command-history-mode): Use define-derived-mode.
1486 (Command-history-setup): Remove function.
1487 * calc/calc.el (calc-trail-mode-map): New var.
1488 (calc-trail-mode): Use define-derived-mode.
1489 (calc-trail-buffer): Set calc-main-buffer manually.
1490 * bookmark.el (bookmark-insert-annotation): New function.
1491 (bookmark-edit-annotation): Use it.
1492 (bookmark-edit-annotation-mode): Make it a proper major mode.
1493 (bookmark-send-edited-annotation): Use derived-mode-p.
1494 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
1495 closer to its ideal place. Use \' to match EOS.
1497 * profiler.el (profiler-calltree-find): Use function-equal.
1499 2013-09-10 Glenn Morris <rgm@gnu.org>
1501 * files.el (interpreter-mode-alist): Convert to regexps.
1502 (set-auto-mode): Adapt for this. (Bug#15306)
1503 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
1504 Comment out unused variable.
1505 * progmodes/cc-mode.el (interpreter-mode-alist):
1506 * progmodes/python.el (interpreter-mode-alist):
1507 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
1508 * progmodes/sh-script.el (sh-set-shell):
1509 No longer use interpreter-mode-alist to get list of shells.
1511 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
1513 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
1515 * simple.el: Use set-temporary-overlay-map for universal-argument.
1516 (universal-argument-map): Don't use default-bindings (bug#15317).
1517 Bind switch-frame explicitly. Replace universal-argument-minus with
1518 a conditional binding.
1519 (universal-argument-num-events, saved-overriding-map): Remove.
1520 (restore-overriding-map): Remove.
1521 (universal-argument--mode): Rename from save&set-overriding-map,
1523 (universal-argument, universal-argument-more, negative-argument)
1524 (digit-argument): Adjust accordingly.
1525 (universal-argument-minus): Remove.
1526 (universal-argument-other-key): Remove.
1528 * subr.el (with-demoted-errors): Add `format' argument.
1530 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
1532 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
1533 `tramp-cleanup-connection'.
1535 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
1536 parameters KEEP-DEBUG and KEEP-PASSWORD.
1538 * net/tramp.el (tramp-file-name-handler):
1539 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
1540 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
1541 (tramp-maybe-open-connection):
1542 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
1543 Use `tramp-cleanup-connection'.
1545 * net/tramp-sh.el (tramp-maybe-open-connection):
1546 Catch 'uname-changed inside the progress reporter.
1548 2013-09-10 Glenn Morris <rgm@gnu.org>
1550 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
1552 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
1553 returns "alternate access method" in mode (eg "-rw-r--r--.").
1555 2013-09-08 Glenn Morris <rgm@gnu.org>
1557 * saveplace.el (load-save-place-alist-from-file):
1558 Demote errors. (Bug#15305)
1560 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
1562 Improve compatibility with older Emacsen, and XEmacs.
1564 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
1565 only if it is bound. It isn't for XEmacs.
1566 (with-tramp-progress-reporter): Do not let-bind `result'.
1567 This yields to scoping errors in XEmacs.
1568 (tramp-handle-make-auto-save-file-name): New function, moved from
1571 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
1572 for `make-auto-save-file-name'.
1573 (tramp-adb--gnu-switches-to-ash):
1574 Use `tramp-compat-replace-regexp-in-string'.
1576 * net/tramp-cache.el (tramp-cache-print): Call
1577 `substring-no-properties' only if it is bound. It isn't for XEmacs.
1579 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
1580 bound. It isn't for XEmacs.
1582 * net/tramp-compat.el (tramp-compat-copy-file):
1583 Catch `wrong-number-of-arguments' error.
1584 (tramp-compat-replace-regexp-in-string): New defun.
1586 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
1587 for `make-auto-save-file-name'.
1588 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
1590 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
1591 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
1592 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
1594 * net/tramp-gw.el (tramp-gw-open-network-stream):
1595 Use `tramp-compat-replace-regexp-in-string'.
1597 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
1598 Call `tramp-handle-make-auto-save-file-name'.
1599 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
1600 (tramp-sh-file-gvfs-monitor-dir-process-filter)
1601 (tramp-sh-file-inotifywait-process-filter):
1602 Use `tramp-compat-replace-regexp-in-string'.
1603 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
1605 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
1606 for `make-auto-save-file-name'.
1607 (tramp-smb-handle-copy-directory):
1608 Call `tramp-compat-replace-regexp-in-string'.
1609 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
1610 (tramp-smb-handle-copy-file): Improve error message.
1611 (tramp-smb-handle-rename-file): Rename directly only in case
1612 `newname' does not exist yet. This is a restriction of smbclient.
1613 (tramp-smb-maybe-open-connection): Rerun the function only when
1614 `auth-sources' is non-nil.
1616 2013-09-08 Kenichi Handa <handa@gnu.org>
1618 * international/characters.el: Set category "^" (Combining) for
1621 2013-09-07 Alan Mackenzie <acm@muc.de>
1623 Correctly fontify Java class constructors.
1624 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
1626 (c-recognize-typeless-decls): Set the Java value to t.
1627 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
1628 While handling a "(", add a check for, effectively, Java, and handle a
1629 "typeless" declaration there.
1631 2013-09-07 Roland Winkler <winkler@gnu.org>
1633 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
1634 field subtitle for entry type book.
1636 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1638 * minibuffer.el: Make minibuffer-complete call completion-in-region
1639 rather than other way around.
1640 (completion--some, completion-pcm--find-all-completions):
1641 Don't delay signals when debugging.
1642 (minibuffer-completion-contents): Beware fields within the
1643 minibuffer contents.
1644 (completion-all-sorted-completions): Use defvar-local.
1645 (completion--do-completion, completion--cache-all-sorted-completions)
1646 (completion-all-sorted-completions, minibuffer-force-complete):
1647 Add args `beg' and `end'.
1648 (completion--in-region-1): New fun, extracted from minibuffer-complete.
1649 (minibuffer-complete): Use completion-in-region.
1650 (completion-complete-and-exit): New fun, extracted from
1651 minibuffer-complete-and-exit.
1652 (minibuffer-complete-and-exit): Use it.
1653 (completion--complete-and-exit): Rename from
1654 minibuffer--complete-and-exit.
1655 (completion-in-region--single-word): New function, extracted from
1656 minibuffer-complete-word.
1657 (minibuffer-complete-word): Use it.
1658 (display-completion-list): Make `common-substring' argument obsolete.
1659 (completion--in-region): Call completion--in-region-1 instead of
1660 minibuffer-complete.
1661 (completion-help-at-point): Pass boundaries to
1662 minibuffer-completion-help as args rather than via an overlay.
1663 (completion-pcm--string->pattern): Use `any-delim'.
1664 (completion-pcm--optimize-pattern): New function.
1665 (completion-pcm--pattern->regex): Handle `any-delim'.
1666 * icomplete.el (icomplete-forward-completions)
1667 (icomplete-backward-completions, icomplete-completions):
1668 Adjust calls to completion-all-sorted-completions and
1669 completion--cache-all-sorted-completions.
1670 (icomplete-with-completion-tables): Default to t.
1671 * emacs-lisp/crm.el (crm--current-element): Rename from
1672 crm--select-current-element. Don't put an overlay but return the
1674 (crm--completion-command): Take two new args to bind to the boundaries.
1675 (crm-completion-help): Adjust accordingly.
1676 (crm-complete): Use completion-in-region.
1677 (crm-complete-word): Use completion-in-region--single-word.
1678 (crm-complete-and-exit): Use completion-complete-and-exit.
1680 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1682 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
1685 2013-09-06 Juri Linkov <juri@jurta.org>
1687 * info.el (Info-display-images-node): When image file doesn't exist
1688 display text version of the image if it's provided in the Info file.
1689 Otherwise, display the location of missing image from SRC attribute.
1690 Add help-echo text property from ALT attribute. (Bug#15279)
1692 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
1694 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
1695 (edit-abbrevs-mode): Use define-derived-mode.
1697 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
1698 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
1700 (epa-key-list-mode, epa-key-mode, epa-info-mode):
1701 Use define-derived-mode.
1703 * epg.el (epg-start-encrypt): Minor CSE simplification.
1705 2013-09-06 William Xu <william.xwl@gmail.com>
1707 * arc-mode.el: Add support for 7za (bug#15264).
1708 (archive-7z-program): New var.
1709 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
1710 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
1711 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
1713 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
1717 * net/tramp.el (tramp-syntax, tramp-prefix-format)
1718 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
1719 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
1720 (tramp-postfix-host-format, tramp-file-name-regexp)
1721 (tramp-completion-file-name-regexp)
1722 (tramp-completion-dissect-file-name)
1723 (tramp-handle-substitute-in-file-name): Remove 'url case.
1724 (tramp-file-name-regexp-url)
1725 (tramp-completion-file-name-regexp-url): Remove constants.
1727 2013-09-06 Glenn Morris <rgm@gnu.org>
1729 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
1731 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
1733 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
1734 keywords" below "here-doc beginnings" (Bug#15270).
1736 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1738 * subr.el (pop): Use `car-safe'.
1739 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
1740 to detect unused `pop' return value.
1742 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
1744 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
1745 (python-fill-string): Remove unused var `marker'.
1746 (python-skeleton-add-menu-items): Remove unused var `items'.
1748 * international/mule-cmds.el: Require CL.
1749 (find-coding-systems-for-charsets): Avoid add-to-list.
1750 (sanitize-coding-system-list): New function, extracted from
1751 select-safe-coding-system-interactively.
1752 (select-safe-coding-system-interactively): Use it.
1753 (read-input-method-name): Accept symbols for `default'.
1755 * emacs-lisp/advice.el (defadvice): Add indent rule.
1757 2013-09-05 Daniel Hackney <dan@haxney.org>
1761 * net/browse-url.el:
1764 * net/eudcb-ldap.el:
1777 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
1778 byte compiler. Remove some unused let-bound variables.
1780 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
1782 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
1783 a "ref-cell", since it gets better optimized (bug#14883).
1785 2013-09-05 Glenn Morris <rgm@gnu.org>
1787 * progmodes/cc-awk.el (c-forward-sws): Declare.
1789 2013-09-04 Glenn Morris <rgm@gnu.org>
1791 * generic-x.el [rul-generic-mode]: Require cc-mode.
1792 (c++-mode-syntax-table): Declare.
1793 (rul-generic-mode-syntax-table): Init in the defvar.
1795 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
1797 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
1798 (vc-do-command, vc-set-async-update):
1799 * vc/vc-mtn.el (vc-mtn-dir-status):
1800 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
1801 (vc-hg-pull, vc-hg-merge-branch):
1802 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
1803 (vc-git-merge-branch):
1804 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
1805 (vc-cvs-dir-status-files):
1806 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
1807 (vc-bzr-dir-status-files):
1808 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
1809 * vc/vc-annotate.el: Use lexical-binding.
1810 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
1811 (vc-sentinel-movepoint): Declare.
1812 (vc-annotate): Don't use `goto-line'.
1813 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
1814 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
1815 (vc-sentinel-movepoint): Declare.
1816 * vc/vc-svn.el: Use lexical-binding.
1817 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
1819 * vc/vc-rcs.el: Use lexical-binding.
1821 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
1822 `deleted'. Don't drop errors silently.
1824 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
1826 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
1828 * vc/vc.el (vc-ignore): Rewrite.
1829 (vc-default-ignore): New function.
1830 (vc-default-ignore-completion-table): Use find-ignore-file.
1832 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
1833 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
1834 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
1835 Remove. Most code moved to vc.el.
1837 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
1839 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
1840 * net/tramp-smb.el (tramp-smb-get-file-entries):
1841 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
1842 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
1844 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
1846 (eww-change-select): Remove unused var `properties'.
1847 (eww-make-unique-file-name): Remove unused var `base'.
1849 * finder.el (finder-compile-keywords): Don't mess with windows.
1851 * calculator.el (calculator-funcall): Fix typo in last change.
1853 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
1855 * emacs-lisp/package.el (package-activate-1): Don't let a missing
1856 <pkg>-autoloads.el file stop us.
1858 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
1859 warnings, and factor out common code.
1861 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
1863 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
1864 two-character operators and whether the character preceding them
1865 changes their meaning (Bug#15208).
1867 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1869 Format code sent to Python shell for robustness.
1870 * progmodes/python.el (python-shell-buffer-substring):
1872 (python-shell-send-region, python-shell-send-buffer): Use it.
1874 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
1876 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
1877 * net/tramp.el (tramp-user-error): ... here.
1878 (tramp-find-method, tramp-check-proper-host)
1879 (tramp-dissect-file-name, tramp-debug-message)
1880 (tramp-handle-shell-command):
1881 * net/tramp-adb.el (tramp-adb-handle-shell-command):
1882 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
1884 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
1886 2013-09-02 Martin Rudalics <rudalics@gmx.at>
1888 * avoid.el (mouse-avoidance-point-position)
1889 (mouse-avoidance-too-close-p): Handle case where posn-at-point
1892 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
1894 * progmodes/python.el (python-shell-completion-get-completions):
1895 Drop use of deleted `comint-last-prompt-overlay'.
1896 (python-nav-if-name-main): New command.
1898 2013-09-01 Glenn Morris <rgm@gnu.org>
1900 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
1901 Avoid leading space in $wins. Otherwise the sed command used by
1902 eg compile-main ends up containing "/*.el". (Bug#15170)
1904 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
1906 2013-08-30 Glenn Morris <rgm@gnu.org>
1908 * emacs-lisp/bytecomp.el (byte-recompile-directory):
1909 Fix is-this-a-directory logic. (Bug#15220)
1911 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1913 * textmodes/css-mode.el: Use SMIE.
1914 (css-smie-grammar): New var.
1915 (css-smie--forward-token, css-smie--backward-token)
1916 (css-smie-rules): New functions.
1917 (css-mode): Use them.
1918 (css-navigation-syntax-table): Remove var.
1919 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
1920 (css-indent-calculate, css-indent-line): Remove functions.
1922 Misc changes to reduce use of `(lambda...); and other cleanups.
1923 * cus-edit.el: Use lexical-binding.
1924 (customize-push-and-save, customize-apropos)
1925 (custom-buffer-create-internal): Use closures.
1926 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
1927 * progmodes/ada-xref.el: Use setq.
1928 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
1929 * dframe.el: Use lexical-binding.
1930 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
1931 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
1932 * descr-text.el: Use lexical-binding.
1933 (describe-text-widget, describe-text-sexp, describe-property-list):
1935 * comint.el (comint-history-isearch-push-state): Use a closure.
1936 * calculator.el: Use lexical-binding.
1937 (calculator-number-to-string): Make it work with lexical-binding.
1938 (calculator-funcall): Same and use cl-letf.
1940 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
1941 (lisp--company-doc-string, lisp--company-location): New functions.
1942 (lisp-completion-at-point): Use them to improve Company support.
1944 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
1945 params of lambda expressions.
1946 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
1947 (ruby-smie--opening-pipe-p): New function.
1948 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
1949 symbols and matched |...| for formal params.
1950 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
1951 from being treated as hanging. Handle "rescue".
1953 2013-08-29 Glenn Morris <rgm@gnu.org>
1955 * progmodes/cc-engine.el (c-pull-open-brace):
1956 Move definition before use.
1958 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
1960 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
1961 are immutable. Don't use `unsafe' any more.
1962 (cl--defsubst-expand): Don't substitute at the same time as keeping
1963 a residual unused let-binding. Don't use `unsafe' any more.
1965 2013-08-29 Glenn Morris <rgm@gnu.org>
1967 * calendar/cal-china.el (calendar-chinese-year-cache):
1970 * nxml/nxml-util.el (nxml-debug-clear-inside):
1971 Use cl-loop rather than loop.
1973 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
1975 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
1977 2013-08-28 Glenn Morris <rgm@gnu.org>
1979 * progmodes/antlr-mode.el: No need to require cc-mode twice.
1981 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
1983 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
1985 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
1987 * simple.el (repeat-complex-command--called-interactively-skip):
1989 (repeat-complex-command): Use it (bug#14136).
1991 * progmodes/cc-mode.el: Minor cleanup of var declarations.
1992 (c-define-abbrev-table): Add `doc' argument.
1993 (c-mode-abbrev-table, c++-mode-abbrev-table)
1994 (objc-mode-abbrev-table, java-mode-abbrev-table)
1995 (idl-mode-abbrev-table, pike-mode-abbrev-table)
1996 (awk-mode-abbrev-table): Use it.
1997 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
1998 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
1999 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
2000 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
2001 Move initialization into the declaration; and remove any
2004 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
2005 and dynamic let binding.
2007 * vc/smerge-mode.el: Remove redundant :group args.
2009 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
2012 2013-08-28 Juri Linkov <juri@jurta.org>
2014 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
2015 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
2016 (isearch-other-meta-char): Handle an undefined shifted printing
2017 character by downshifting it. (Bug#15200)
2019 2013-08-28 Juri Linkov <juri@jurta.org>
2021 * isearch.el (isearch-search): Change regexp error message for
2022 non-regexp searches. (Bug#15166)
2024 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
2026 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
2027 for portability to hosts where /bin/sh has problems.
2029 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
2031 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
2033 2013-08-27 Juri Linkov <juri@jurta.org>
2035 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
2036 in the keyboard macro. (Bug#15126)
2038 2013-08-27 Juri Linkov <juri@jurta.org>
2040 * isearch.el (isearch-quote-char): Comment out converting unibyte
2041 to multibyte, thus syncing with its `quoted-insert' counterpart.
2044 2013-08-27 Martin Rudalics <rudalics@gmx.at>
2046 * window.el (display-buffer-use-some-window): Add missing
2047 argument in call of get-largest-window (Bug#15185).
2048 Reported by Stephen Leake.
2050 2013-08-27 Glenn Morris <rgm@gnu.org>
2052 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
2054 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
2056 * progmodes/python.el (python-font-lock-keywords): Don't return nil
2057 from a matcher-function unless there's no more matches (bug#15161).
2059 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2061 * minibuffer.el: Revert change from 2013-08-20.
2063 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
2064 with text property `tramp-default', if appropriate.
2065 (tramp-check-proper-host): New defun.
2066 (tramp-dissect-file-name): Do not check hostname. Revert change
2068 (tramp-backtrace): Make VEC-OR-PROC optional.
2070 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
2071 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
2072 * net/tramp-sh.el (tramp-maybe-open-connection):
2073 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
2074 Apply `tramp-check-proper-host'.
2076 2013-08-26 Tassilo Horn <tsdh@gnu.org>
2078 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
2079 lambda expression in order to have `describe-variable' display it.
2081 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
2083 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
2084 BUF can be optional. (Bug#15186)
2086 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
2088 * progmodes/flymake.el (flymake-get-real-file-name-function):
2089 Fix broken customization. (Bug#15184)
2091 2013-08-25 Alan Mackenzie <acm@muc.de>
2093 Improve indentation of bracelists defined by macros (without "=").
2095 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
2096 expansion begins with "{", regard it as bracelist when it doesn't
2099 Parse C++ inher-intro when there's a template split over 2 lines.
2101 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
2102 rigorously the search for "class" etc. followed by ":".
2104 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
2105 random languages a regexp which never matches rather than nil.
2107 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
2109 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
2110 (c-awk-regexp-one-line-possibly-open-char-list-re)
2111 (c-awk-one-line-possibly-open-regexp-re)
2112 (c-awk-one-line-non-syn-ws*-re): Remove.
2113 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
2114 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
2115 (c-awk-space*-unclosed-regexp-/-re): New constants.
2116 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
2117 aren't regexp delimiters.
2119 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
2120 handling for a rare situation in AWK Mode involving unterminated
2123 2013-08-23 Glenn Morris <rgm@gnu.org>
2125 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
2127 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
2129 * files.el (create-file-buffer): If the result would begin with
2130 spaces, prepend a "|" instead of removing them. (Bug#15162)
2132 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
2134 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
2135 text-properties (bug#15155).
2137 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
2139 (calc-keypad-redraw): Remove unused var `pad'.
2140 (calc-keypad-press): Remove unused var `menu'.
2142 2013-08-23 Martin Rudalics <rudalics@gmx.at>
2144 * window.el (display-buffer-pop-up-frame):
2145 Call pop-up-frame-function with BUFFER current so `make-frame' will
2146 use it as the new frame's buffer (Bug#15133).
2148 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
2150 * calendar/timeclock.el: Minor cleanups.
2151 (timeclock-ask-before-exiting, timeclock-use-display-time):
2153 (timeclock-modeline-display): Define as alias before the
2155 (timeclock-mode-line-display): Use define-minor-mode.
2156 (timeclock-day-list-template): Make it a function, add an argument.
2157 (timeclock-day-list-required, timeclock-day-list-length)
2158 (timeclock-day-list-debt, timeclock-day-list-span)
2159 (timeclock-day-list-break): Adjust calls accordingly.
2161 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
2163 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
2164 Use read--expression so that completion works again.
2166 2013-08-21 Sam Steingold <sds@gnu.org>
2168 Add rudimentary inferior shell interaction
2169 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
2170 (sh-set-shell): Reset it.
2171 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
2172 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
2174 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * align.el: Use lexical-binding.
2177 (align-region): Simplify accordingly.
2179 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
2181 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
2183 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
2186 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
2190 * net/tramp-cmds.el:
2192 * net/tramp-gvfs.el:
2194 * net/tramp-sh.el: Don't wrap external variable declarations by
2195 `eval-when-compile'.
2197 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2199 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
2200 now that Emacs supports ImageMagick animations.
2202 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
2204 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
2205 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
2207 2013-08-16 Martin Rudalics <rudalics@gmx.at>
2209 * window.el (mouse-autoselect-window-select): Do autoselect when
2210 mouse pointer is on margin.
2212 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
2214 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
2216 2013-08-16 Glenn Morris <rgm@gnu.org>
2218 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
2219 Handle "Remote Directory" response of some clients. (Bug#15058)
2221 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
2222 Tweak warning. (Bug#14926)
2224 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
2225 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
2227 * image-mode.el (image-mode-map): Add menu items to reverse,
2228 increase, decrease, reset animation speed.
2229 (image--set-speed, image-increase-speed, image-decrease-speed)
2230 (image-reverse-speed, image-reset-speed): New functions.
2231 (image-mode-map): Add bindings for speed commands.
2233 * image.el (image-animate-get-speed, image-animate-set-speed):
2235 (image-animate-timeout): Respect image :speed property.
2237 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
2239 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
2240 previous line (bug#15101).
2241 (debugger-eval-expression, debugger-record-expression):
2242 Use read--expression (bug#15102).
2244 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
2246 Remove byte compiler warnings, visible when compiling with
2247 `byte-compile-force-lexical-warnings' set to t.
2249 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
2250 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
2251 (tramp-handle-unhandled-file-name-directory)
2252 (tramp-handle-file-notify-add-watch, tramp-action-login)
2253 (tramp-action-succeed, tramp-action-permission-denied)
2254 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
2257 * net/tramp-adb.el (tramp-adb-parse-device-names)
2258 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
2259 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
2260 (tramp-adb-handle-file-truename): Remove unused arguments.
2262 * net/tramp-cache.el (tramp-flush-directory-property)
2263 (tramp-flush-connection-property, tramp-list-connections)
2264 (tramp-parse-connection-properties): Prefix unused arguments with "_".
2266 * net/tramp-compat.el (tramp-compat-make-temp-file):
2267 Rename FILENAME to F.
2269 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
2270 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
2271 (tramp-zeroconf-parse-workstation-device-names)
2272 (tramp-zeroconf-parse-webdav-device-names)
2273 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
2275 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
2276 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
2278 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
2280 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
2281 (tramp-sh-handle-insert-file-contents-literally)
2282 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
2284 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
2285 Remove unused variables.
2287 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
2288 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
2289 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
2291 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
2292 Make them a defconst.
2293 (tramp-uuencode-region): Remove unused variable.
2295 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
2297 * frameset.el (frameset--prop-setter): New function.
2298 (frameset-prop): Add gv-setter declaration.
2299 (frameset-filter-minibuffer): Deal with the case that the minibuffer
2300 parameter was already set in FILTERED. Doc fix.
2301 (frameset--record-minibuffer-relationships): Allow saving a
2302 minibufferless frame without its corresponding minibuffer frame.
2303 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
2304 frame, if the frame id matches.
2305 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
2306 frames before orphaned ones.
2307 (frameset-restore): Warn about orphaned windows, instead of error out.
2309 2013-08-14 Martin Rudalics <rudalics@gmx.at>
2311 * window.el (window-make-atom): Don't overwrite parameter
2313 (display-buffer-in-atom-window): Handle special case where we
2314 split an already atomic window.
2315 (window--major-non-side-window, display-buffer-in-side-window)
2316 (window--side-check): Ignore minibuffer window when walking
2318 (window-deletable-p): Return 'frame only if no other frame uses
2319 our minibuffer window.
2320 (record-window-buffer): Run buffer-list-update-hook.
2321 (split-window): Make sure window--check-frame won't destroy an
2322 existing atomic window in case the new window gets nested
2324 (display-buffer-at-bottom): Ignore minibuffer window when
2325 walking window tree. Don't split a side window.
2326 (pop-to-buffer): Don't set-buffer here, the select-window call
2328 (mouse-autoselect-window-select): Autoselect only if we are in the
2329 text portion of the window.
2331 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
2333 * net/shr.el (shr-parse-image-data): New function to grab both the
2334 data itself and the Content-Type.
2335 (shr-put-image): Use it.
2337 * net/eww.el (eww-display-image): Ditto.
2339 * image.el (image-content-type-suffixes): New variable.
2341 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2343 * progmodes/python.el (python-imenu--build-tree)
2344 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
2346 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
2348 * simple.el (backward-word): Mention the optional argument.
2350 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2352 * frameset.el (frameset--make): Rename constructor from make-frameset.
2353 (frameset-p, frameset-valid-p): Don't autoload.
2354 (frameset-valid-p): Use normal accessors.
2356 2013-08-13 Glenn Morris <rgm@gnu.org>
2358 * progmodes/compile.el (compile-command): Tweak example in doc.
2359 * obsolete/scribe.el (scribe-mode):
2360 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
2362 * mail/feedmail.el (feedmail-confirm-outgoing)
2363 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
2365 * cus-start.el (truncate-partial-width-windows): Fix type.
2367 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
2369 * net/shr.el (shr-table-horizontal-line): Fix custom type.
2371 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
2373 * emacs-lisp/timer.el (timer--time-setter): New function.
2374 (timer--time): Use it as gv-setter.
2376 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
2377 setter is not a symbol.
2379 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
2381 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
2382 if sending fails. This makes debugging easier.
2384 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
2386 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
2387 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
2388 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
2390 2013-08-12 Eli Zaretskii <eliz@gnu.org>
2392 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
2394 2013-08-12 Glenn Morris <rgm@gnu.org>
2396 * format.el (format-annotate-function):
2397 Handle read-only text properties in the source. (Bug#14887)
2399 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
2401 * net/eww.el (eww-display-html): Ignore coding system errors.
2402 One web site uses "utf-8lias" as the coding system.
2404 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
2406 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
2408 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
2410 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
2411 (tutorial--detailed-help): Remove unused local variables.
2412 (tutorial--save-tutorial-to): Use ignore-errors.
2413 (help-with-tutorial): Use looking-at-p.
2415 * view.el (view-buffer-other-window, view-buffer-other-frame):
2416 Mark unused arguments.
2418 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
2419 (woman-select-symbol-fonts, woman, woman-find-file)
2420 (woman-insert-file-contents, woman-non-underline-faces):
2422 (woman1-unquote): Move declaration.
2424 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
2425 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
2426 argument. Remove unused local variable.
2427 (xml-parse-elem-type): Use string-match-p.
2428 (xml-substitute-numeric-entities): Use ignore-errors.
2430 * calculator.el (calculator): Mark unused argument.
2431 (calculator-paste, calculator-quit, calculator-integer-p):
2433 (calculator-string-to-number, calculator-decimal, calculator-exp)
2434 (calculator-op-or-exp): Use string-match-p.
2436 * dired.el (dired-buffer-more-recently-used-p): Declare.
2437 (dired-insert-set-properties, dired-insert-old-subdirs):
2440 * dired-aux.el (dired-compress): Use ignore-errors.
2441 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
2442 (dired-do-async-shell-command, dired-do-shell-command)
2443 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
2444 (dired-insert-subdir-validate): Use string-match-p.
2445 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
2446 (dired-add-entry): Use string-match-p, looking-at-p.
2447 (dired-insert-subdir-newpos): Remove unused local variable.
2449 * filenotify.el (file-notify-callback): Remove unused local variable.
2451 * filesets.el (filesets-error): Mark unused argument.
2452 (filesets-which-command-p, filesets-filter-dir-names)
2453 (filesets-directory-files, filesets-get-external-viewer)
2454 (filesets-ingroup-get-data): Use string-match-p.
2456 * find-file.el (ff-other-file-name, ff-other-file-name)
2457 (ff-find-the-other-file, ff-cc-hh-converter):
2458 Remove unused local variables.
2459 (ff-get-file-name): Use string-match-p.
2460 (ff-all-dirs-under): Use ignore-errors.
2462 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
2463 (follow-select-if-visible): Remove unused local variable.
2465 * forms.el (read-file-filter): Move declaration.
2466 (forms--make-format, forms--make-parser, forms-insert-record):
2467 Quote function with #'.
2468 (forms--update): Use string-match-p. Quote function with #'.
2470 * help-mode.el (help-dir-local-var-def): Mark unused argument.
2471 (help-make-xrefs): Use looking-at-p.
2472 (help-xref-on-pp): Use looking-at-p, ignore-errors.
2474 * ibuffer.el (ibuffer-ext-visible-p): Declare.
2475 (ibuffer-confirm-operation-on): Use string-match-p.
2477 * msb.el (msb-item-handler, msb-dired-item-handler):
2478 Mark unused arguments.
2480 * ses.el (ses-decode-cell-symbol)
2481 (ses-kill-override): Remove unused local variable.
2482 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
2483 (ses-load): Use ignore-errors, looking-at-p.
2484 (ses-jump-safe): Use ignore-errors.
2485 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
2487 * tabify.el (untabify, tabify): Mark unused arguments.
2489 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
2490 Mark unused argument.
2491 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
2492 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
2494 * emacs-lisp/timer.el (timer--time): Define setter with
2495 gv-define-setter to avoid deprecation warning.
2497 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
2498 (*record-cmpl-statistics-p*): Remove (was commented out).
2499 (cmpl-statistics-block): Remove (body was commented out).
2500 All callers changed.
2501 (add-completions-from-buffer, load-completions-from-file):
2502 Remove unused variables.
2504 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2506 * filecache.el (file-cache-delete-file-list):
2507 Print message only when told so.
2508 (file-cache-files-matching): Use #' in mapconcat argument.
2510 * ffap.el (ffap-url-at-point): Fix reference to variable
2511 thing-at-point-default-mail-uri-scheme.
2513 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
2515 * subr.el (define-error): New function.
2516 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
2517 error-file-not-found and define with define-error.
2518 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
2519 and define with define-error.
2520 * userlock.el (file-locked, file-supersession):
2521 * simple.el (mark-inactive):
2522 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
2523 * progmodes/ada-mode.el (ada-mode-errors):
2524 * play/life.el (life-extinct):
2525 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
2526 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
2527 * nxml/rng-util.el (rng-error):
2528 * nxml/rng-uri.el (rng-uri-error):
2529 * nxml/rng-match.el (rng-compile-error):
2530 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
2531 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
2532 * nxml/nxml-rap.el (nxml-scan-error):
2533 * nxml/nxml-outln.el (nxml-outline-error):
2534 * net/soap-client.el (soap-error):
2535 * net/gnutls.el (gnutls-error):
2536 * net/ange-ftp.el (ftp-error):
2537 * mpc.el (mpc-proc-error):
2538 * json.el (json-error, json-readtable-error, json-unknown-keyword)
2539 (json-number-format, json-string-escape, json-string-format)
2540 (json-key-format, json-object-format):
2541 * jka-compr.el (compression-error):
2542 * international/quail.el (quail-error):
2543 * international/kkc.el (kkc-error):
2544 * emacs-lisp/ert.el (ert-test-failed):
2545 * calc/calc.el (calc-error, inexact-result, math-overflow)
2547 * bookmark.el (bookmark-error-no-filename):
2548 * epg.el (epg-error): Define with define-error.
2550 * time.el (display-time-event-handler)
2551 (display-time-next-load-average): Don't call sit-for since it seems
2552 unnecessary (bug#15045).
2554 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
2555 Use #' instead of ' to quote functions.
2556 (checkdoc-output-mode): Use setq-local.
2557 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
2558 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
2559 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
2560 (checkdoc-ispell, checkdoc-ispell-current-buffer)
2561 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
2562 (checkdoc-ispell-message-text, checkdoc-ispell-start)
2563 (checkdoc-ispell-continue, checkdoc-ispell-comments)
2564 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
2566 * ido.el (ido-completion-help): Fix up compiler warning.
2568 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
2570 * frameset.el (frameset-p): Add autoload cookie.
2571 (frameset--jump-to-register): New function, based on code moved from
2573 (frameset-to-register): Move from register.el. Adapt to `registerv'.
2575 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
2576 (frameset-restore, frameset-save, frameset-session-filter-alist):
2577 Remove declarations.
2578 (register-alist): Doc fix.
2579 (frameset-to-register): Move to frameset.el.
2580 (jump-to-register, describe-register-1): Remove frameset-specific code.
2582 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2584 * allout-widgets.el (allout-widgets-pre-command-business)
2585 (allout-widgets-post-command-business)
2586 (allout-widgets-after-change-handler)
2587 (allout-decorate-item-and-context, allout-set-boundary-marker)
2588 (allout-body-modification-handler)
2589 (allout-graphics-modification-handler): Mark ignored arguments.
2590 (allout-widgets-post-command-business)
2591 (allout-widgets-exposure-change-processor)
2592 (allout-widgets-exposure-undo-processor)
2593 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
2594 (allout-parse-item-at-point, allout-decorate-item-guides)
2595 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
2596 * allout.el (epa-passphrase-callback-function): Declare.
2597 (allout-overlay-insert-in-front-handler)
2598 (allout-overlay-interior-modification-handler)
2599 (allout-isearch-end-handler, allout-chart-siblings)
2600 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
2601 (allout-yank-processing, allout-process-exposed)
2602 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
2603 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
2604 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
2605 (lisp-indent-defform): Mark ignored arguments.
2606 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
2607 (calculate-lisp-indent): Remove unused variables.
2608 * international/characters.el (indian-2-column, arabic-2-column)
2609 (tibetan): Mark ignored arguments.
2610 (use-cjk-char-width-table): Mark ignored arguments.
2611 Remove unused variables.
2612 * international/fontset.el (build-default-fontset-data)
2613 (x-compose-font-name, create-fontset-from-fontset-spec):
2614 Mark ignored arguments.
2615 (fontset-plain-name): Remove unused variables.
2616 * international/mule.el (charset-id, charset-bytes, generic-char-p)
2617 (keyboard-coding-system): Mark ignored arguments.
2618 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
2619 * help.el (resize-temp-buffer-window):
2620 * window.el (display-buffer-in-major-side-window)
2621 (display-buffer-in-side-window, display-buffer-in-previous-window):
2622 Remove unused variables.
2623 * isearch.el (isearch-forward-symbol):
2624 * version.el (emacs-bzr-version-bzr):
2625 * international/mule-cmds.el (current-language-environment):
2626 * term/common-win.el (x-handle-iconic, x-handle-geometry)
2628 * term/pc-win.el (x-list-fonts, x-display-planes)
2629 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
2630 (x-server-version, x-display-screens, x-display-mm-height)
2631 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
2632 (x-selection-owner-p, x-own-selection-internal)
2633 (x-disown-selection-internal, x-get-selection-internal)
2634 (msdos-initialize-window-system):
2635 * term/tty-colors.el (tty-color-alist, tty-color-clear):
2636 * term/x-win.el (x-handle-no-bitmap-icon):
2637 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
2638 (vc-default-find-file-hook, vc-default-extra-menu):
2639 Mark ignored arguments.
2641 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2643 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
2644 break-condition in the context of the debugged code (bug#12685).
2646 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
2649 Do not use an overlay to highlight the last prompt. (Bug#14744)
2650 (comint-mode): Make comint-last-prompt buffer local.
2651 (comint-last-prompt): New variable.
2652 (comint-last-prompt-overlay): Remove. Superseded by
2654 (comint-snapshot-last-prompt, comint-output-filter):
2655 Use comint-last-prompt.
2657 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2659 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
2660 (frameset-save): Check validity of the resulting frameset.
2662 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
2664 * ido.el (ido-record-command): Add doc string.
2666 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2668 * frameset.el (frameset): Do not disable creation of the default
2669 frameset-p predicate. Doc fix.
2670 (frameset-valid-p): New function, copied from the old predicate-p.
2671 Add additional checks.
2672 (frameset-restore): Check with frameset-valid-p.
2673 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
2674 (frameset-name, frameset-description, frameset-properties)
2675 (frameset-states): Add docstring.
2676 (frameset-session-filter-alist, frameset-persistent-filter-alist)
2677 (frameset-filter-alist): Doc fixes.
2679 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2681 * frameset.el (frameset-p, frameset-prop): Doc fixes.
2683 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
2685 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
2686 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
2687 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
2688 (byte-compile-normal-call): Remove obsolescence check.
2690 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
2692 * frameset.el (frameset-restore): Doc fix.
2694 * register.el (frameset-frame-id, frameset-frame-with-id)
2695 (frameset-p, frameset-restore, frameset-save): Declare.
2696 (register-alist): Document framesets.
2697 (frameset-session-filter-alist): Declare.
2698 (frameset-to-register): New function.
2699 (jump-to-register): Implement jumping to framesets. Doc fix.
2700 (describe-register-1): Describe framesets.
2702 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
2704 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
2706 * desktop.el (desktop-save-frameset): Use new frameset-save args.
2707 Use lexical-binding.
2709 * frameset.el (frameset): Use type vector, not list (incompatible
2710 change). Do not declare a new constructor, use the default one.
2711 Upgrade suggested properties `app', `name' and `desc' to slots `app',
2712 `name' and `description', respectively, and add read-only slot
2713 `timestamp'. Doc fixes.
2714 (frameset-copy, frameset-persistent-filter-alist)
2715 (frameset-filter-alist, frameset-switch-to-gui-p)
2716 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
2717 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
2718 (frameset-filter-iconified, frameset-keep-original-display-p):
2720 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
2721 Rename from frameset-filter-(save|restore)-param. All callers changed.
2723 (frameset-p): Adapt to change to vector and be more thorough.
2724 Change arg name to OBJECT. Doc fix.
2725 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
2726 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
2727 All callers changed.
2728 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
2729 All callers changed.
2730 (frameset--record-minibuffer-relationships): Rename from
2731 frameset--process-minibuffer-frames. All callers changed.
2732 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
2733 Use new default constructor (again). Doc fix.
2734 (frameset--find-frame-if): Rename from `frameset--find-frame.
2735 All callers changed.
2736 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
2737 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
2739 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
2740 PARAMETERS and WINDOW-STATE, respectively.
2741 (frameset-restore): Add new keyword argument PREDICATE.
2742 Reset frameset--target-display to nil. Doc fix.
2744 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2746 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
2748 (bat-mode-syntax-table): Mark \n as end-of-comment.
2749 (bat-font-lock-keywords): Remove comment rule.
2751 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
2752 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
2754 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
2755 (byte-compile-callargs-warn): Use `push'.
2756 (byte-compile-arglist-warn): Ignore higher-order "calls".
2757 (byte-compile-file-form-autoload): Use `pcase'.
2758 (byte-compile-function-form): If quoting a symbol, check that it exists.
2760 2013-08-07 Eli Zaretskii <eliz@gnu.org>
2762 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
2763 and add a few popular commands found in batch files.
2764 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
2765 (dos-mode): Doc fixes.
2767 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
2769 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
2770 (dos-mode): Use setq-local. Add space after "rem".
2771 (dos-mode-syntax-table): Don't use "w" for symbol chars.
2772 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
2774 2013-08-07 Arni Magnusson <arnima@hafro.is>
2776 * progmodes/dos.el: New file.
2777 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
2780 2013-08-06 Glenn Morris <rgm@gnu.org>
2782 * calendar/calendar.el: Add new faces, and day-header-array.
2783 (calendar-weekday-header, calendar-weekend-header)
2784 (calendar-month-header): New faces.
2785 (calendar-day-header-construct): New function.
2786 (calendar-day-header-width): Also :set calendar-day-header-array.
2787 (calendar-american-month-header, calendar-european-month-header)
2788 (calendar-iso-month-header): Use calendar- faces.
2789 (calendar-generate-month):
2790 Use calendar-day-header-array for day headers; apply faces to them.
2791 (calendar-mode): Check calendar-font-lock-keywords non-nil.
2792 (calendar-abbrev-construct): Add optional maxlen argument.
2793 (calendar-day-name-array): Doc fix.
2794 (calendar-day-name-array, calendar-abbrev-length)
2795 (calendar-day-abbrev-array):
2796 Also :set calendar-day-header-array, and maybe redraw.
2797 (calendar-day-header-array): New option. (Bug#15007)
2798 (calendar-font-lock-keywords): Set to nil and make obsolete.
2799 (calendar-day-name): Add option to use header array.
2801 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
2803 * net/shr.el (shr-render-td): Remove debugging.
2804 (shr-render-td): Make width computation consistent by defaulting
2805 all zero-width columns to 10 characters. This may not be optimal,
2806 but it's at least consistent.
2807 (shr-make-table-1): Redo last change to fix the real problem in
2810 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2812 * files.el (cache-long-line-scans):
2813 Make obsolete alias to `cache-long-scans'.
2815 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2817 * frameset.el (frameset, frameset-filter-alist)
2818 (frameset-filter-params, frameset-save, frameset--reuse-frame)
2819 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
2820 (frameset-compute-pos): Rename from frameset--compute-pos,
2822 (frameset-move-onscreen): Use frameset-compute-pos.
2823 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
2825 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
2826 Fix typos in docstrings.
2828 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
2830 * frame.el (get-other-frame): Tiny cleanup.
2832 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
2834 * vc/vc.el (vc-default-ignore-completion-table):
2835 Silence byte-compiler warning.
2837 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
2838 slot , which can indeed be nil.
2839 (frameset-live-filter-alist, frameset-persistent-filter-alist):
2840 Move entry for `left' from persistent to live filter alist.
2841 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
2843 (frameset-filter-params): When restoring a frame, copy items added to
2844 `filtered', to avoid unwittingly modifying the original parameters.
2845 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
2846 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
2848 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
2849 to use looking-at-p instead of looking-at. (Bug#15028)
2851 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
2853 Revert introduction of isearch-filter-predicates (bug#14714).
2854 Rely on add-function instead.
2855 * isearch.el (isearch-filter-predicates): Rename it back to
2856 isearch-filter-predicate.
2857 (isearch-message-prefix): Use advice-function-mapc and advice
2858 properties to get the isearch-message-prefix.
2859 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
2860 instead of run-hook-with-args-until-failure.
2861 (isearch-filter-visible): Not obsolete any more.
2862 * loadup.el: Preload nadvice.
2863 * replace.el (perform-replace): Revert to funcall
2864 instead of run-hook-with-args-until-failure.
2865 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
2866 * dired-aux.el (dired-isearch-filenames-mode): Rename from
2867 dired-isearch-filenames-toggle; make it into a proper minor mode.
2868 Use add/remove-function.
2869 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
2870 Call the minor-mode rather than add/remove-hook.
2871 (dired-isearch-filter-filenames):
2872 Remove isearch-message-prefix property.
2873 * info.el (Info--search-loop): New function, extracted from Info-search.
2874 Funcall isearch-filter-predicate instead of
2875 run-hook-with-args-until-failure isearch-filter-predicates.
2876 (Info-search): Use it.
2877 (Info-mode): Use isearch-filter-predicate instead of
2878 isearch-filter-predicates.
2880 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2882 Do not call to `selected-window' where it is assumed by default.
2883 Affected functions are `window-minibuffer-p', `window-dedicated-p',
2884 `window-hscroll', `window-width', `window-height', `window-buffer',
2885 `window-frame', `window-start', `window-point', `next-window'
2886 and `window-display-table'.
2887 * abbrev.el (abbrev--default-expand):
2888 * bs.el (bs--show-with-configuration):
2889 * buff-menu.el (Buffer-menu-mouse-select):
2890 * calc/calc.el (calc):
2891 * calendar/calendar.el (calendar-generate-window):
2892 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
2894 * comint.el (send-invisible, comint-dynamic-complete-filename)
2895 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
2896 * completion.el (complete):
2897 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
2898 * disp-table.el (describe-current-display-table):
2899 * doc-view.el (doc-view-insert-image):
2900 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
2901 * ehelp.el (with-electric-help):
2902 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
2903 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
2904 * emacs-lisp/helper.el (Helper-help-scroller):
2905 * emulation/cua-base.el (cua--post-command-handler-1):
2906 * eshell/esh-mode.el (eshell-output-filter):
2907 * ffap.el (ffap-gnus-wrapper):
2908 * help-macro.el (make-help-screen):
2909 * hilit-chg.el (highlight-compare-buffers):
2910 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
2911 * hl-line.el (global-hl-line-highlight):
2912 * icomplete.el (icomplete-simple-completing-p):
2913 * isearch.el (isearch-done):
2914 * jit-lock.el (jit-lock-stealth-fontify):
2915 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
2916 * lisp/mouse-drag.el (mouse-drag-should-do-col-scrolling):
2917 * mpc.el (mpc-tagbrowser, mpc):
2918 * net/rcirc.el (rcirc-any-buffer):
2919 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
2920 * play/landmark.el (landmark-max-width, landmark-max-height):
2921 * play/zone.el (zone):
2922 * progmodes/compile.el (compilation-goto-locus):
2923 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
2924 * progmodes/etags.el (find-tag-other-window):
2925 * progmodes/fortran.el (fortran-column-ruler):
2926 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
2927 * progmodes/verilog-mode.el (verilog-point-text):
2928 * reposition.el (reposition-window):
2929 * rot13.el (toggle-rot13-mode):
2930 * server.el (server-switch-buffer):
2931 * shell.el (shell-dynamic-complete-command)
2932 (shell-dynamic-complete-environment-variable):
2933 * simple.el (insert-buffer, set-selective-display)
2934 (delete-completion-window):
2935 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
2936 (speedbar-recenter):
2937 * startup.el (fancy-splash-head):
2938 * textmodes/ispell.el (ispell-command-loop):
2939 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
2940 * tutorial.el (help-with-tutorial):
2941 * vc/add-log.el (add-change-log-entry):
2942 * vc/compare-w.el (compare-windows):
2943 * vc/ediff-help.el (ediff-indent-help-message):
2944 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
2945 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
2946 (ediff-setup-control-frame):
2947 * vc/emerge.el (emerge-position-region):
2948 * vc/pcvs-util.el (cvs-bury-buffer):
2949 * window.el (walk-windows, mouse-autoselect-window-select):
2950 * winner.el (winner-set-conf, winner-undo): Related users changed.
2952 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2954 * frameset.el (frameset--set-id): Doc fix.
2955 (frameset-frame-id, frameset-frame-id-equal-p)
2956 (frameset-locate-frame-id): New functions.
2957 (frameset--process-minibuffer-frames, frameset--reuse-frame)
2958 (frameset-restore): Use them.
2960 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
2962 Do not call to `selected-frame' where it is assumed by default.
2963 Affected functions are `raise-frame', `redraw-frame',
2964 `frame-first-window', `frame-terminal' and `delete-frame'.
2965 * calendar/appt.el (appt-disp-window):
2966 * epg.el (epg-wait-for-completion):
2967 * follow.el (follow-delete-other-windows-and-split)
2968 (follow-avoid-tail-recenter):
2969 * international/mule.el (set-terminal-coding-system):
2970 * mail/rmail.el (rmail-mail-return):
2971 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
2972 * progmodes/f90.el (f90-add-imenu-menu):
2973 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
2974 * server.el (server-switch-buffer):
2975 * simple.el (delete-completion-window):
2977 * term/xterm.el (terminal-init-xterm-modify-other-keys)
2978 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
2979 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
2980 * vc/ediff.el (ediff-documentation): Related users changed.
2981 * frame.el (selected-terminal): Remove the leftover.
2983 2013-08-05 Glenn Morris <rgm@gnu.org>
2985 * calendar/calendar.el (calendar-generate-month):
2986 Fix for calendar-column-width != 1 + calendar-day-digit-width.
2987 (calendar-generate-month, calendar-font-lock-keywords):
2988 Fix for calendar-day-header-width > length of any day name.
2990 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
2992 * desktop.el (desktop-clear): Use new name of sort predicate.
2994 * frameset.el (frameset): Add docstring. Move :version property to its
2996 (frameset-copy): Rename from copy-frameset.
2997 (frameset-p): Check more thoroughly.
2998 (frameset-prop): Do not check for :version, which is no longer a prop.
2999 (frameset-live-filter-alist, frameset-persistent-filter-alist):
3000 Use new :never value instead of t.
3001 (frameset-filter-alist): Expand and clarify docstring.
3002 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
3003 (frameset-filter-minibuffer, frameset-filter-save-param)
3004 (frameset-filter-restore-param, frameset-filter-iconified):
3005 Add pointer to docstring of frameset-filter-alist.
3006 (frameset-filter-params): Rename filter values to be more meaningful:
3007 :never instead of t, and reverse the meanings of :save and :restore.
3008 (frameset--process-minibuffer-frames): Clarify error message.
3009 (frameset-save): Avoid unnecessary and confusing call to framep.
3010 Use new BOA constructor for framesets.
3011 (frameset--reuse-list): Doc fix.
3012 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
3013 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
3014 (frameset-minibufferless-first-p): Doc fix.
3015 Rename from frameset-sort-frames-for-deletion.
3016 (frameset-restore): Doc fixes. Use new function names.
3017 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
3019 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3021 * desktop.el (desktop-restore-forces-onscreen)
3022 (desktop-restore-reuses-frames): Document :keyword constant values.
3023 (desktop-filter-parameters-alist): Remove, now identical to
3024 frameset-filter-alist.
3025 (desktop--filter-tty*): Remove, moved to frameset.el.
3026 (desktop-save-frameset, desktop-restore-frameset):
3027 Do not pass :filters argument.
3029 * frameset.el (frameset-live-filter-alist)
3030 (frameset-persistent-filter-alist): New variables.
3031 (frameset-filter-alist): Use them. Add autoload cookie.
3032 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
3033 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
3034 `frameset--id' (it's supposed to be internal to frameset.el).
3035 (frameset--process-minibuffer-frames): Ditto. Doc fix.
3036 (frameset--initial-params): New function.
3037 (frameset--get-frame): Use it. Doc fix.
3038 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
3039 Accept :all, not 'all.
3040 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
3041 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
3042 with fbound symbols. Fix frame id matching, and remove matching ids if
3043 the frame being restored is deleted. Obey :delete.
3045 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3047 * subr.el (macrop): New function.
3048 (text-clone--maintaining): New var.
3049 (text-clone--maintain): Rename from text-clone-maintain. Use it
3050 instead of inhibit-modification-hooks.
3052 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
3053 a proxy, so as handle autoloads and redefinitions of the target.
3054 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
3056 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
3057 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
3058 (pcase--mutually-exclusive-p): New function.
3059 (pcase--split-consp): Use it.
3060 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
3061 mutually exclusive with the current predicate.
3063 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
3064 (edebug-macrop): Remove. Use `macrop' instead.
3065 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
3067 * eshell/esh-cmd.el (eshell-macrop):
3068 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
3070 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
3072 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
3073 (advice-mapc): New function, using it.
3074 (advice-function-member-p): New function.
3075 (advice--normalize): Store the cdr in advice--saved-rewrite since
3076 that's the part that will be changed.
3077 (advice--symbol-function): New function.
3078 (advice-remove): Handle removal before the function is defined.
3079 Adjust to new advice--saved-rewrite.
3080 (advice-member-p): Use advice-function-member-p and
3081 advice--symbol-function.
3083 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
3085 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
3086 (frameset-filter-minibuffer): Doc fix.
3087 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
3088 (frameset--set-id, frameset--process-minibuffer-frames)
3089 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
3090 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
3092 * desktop.el (desktop-clear): Only delete frames when called
3093 interactively and desktop-restore-frames is non-nil. Doc fix.
3094 (desktop-read): Set desktop-saved-frameset to nil.
3096 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
3098 * vc/vc.el (vc-ignore): Rewrite.
3099 (vc-default-ignore-completion-table):
3101 (vc--add-line, vc--remove-regexp): New functions.
3103 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
3104 (vc-svn-ignore-completion-table): New function.
3106 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
3107 (vc-hg-ignore-completion-table):
3108 (vc-hg-find-ignore-file): New functions.
3110 * vc/vc-git.el (vc-git-ignore): Rewrite.
3111 (vc-git-ignore-completion-table):
3112 (vc-git-find-ignore-file): New functions.
3114 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
3116 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
3117 (vc-bzr-ignore-completion-table):
3118 (vc-bzr-find-ignore-file): New functions.
3120 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
3122 * frameset.el (frameset-prop): New function and setter.
3123 (frameset-save): Do not modify frame list passed by the caller.
3125 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
3127 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
3129 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
3131 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
3132 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
3134 * custom.el (custom-initialize-default, custom-initialize-set)
3135 (custom-initialize-reset, custom-initialize-changed): Affect the
3136 toplevel-default-value (bug#6275, bug#14586).
3137 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
3140 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3142 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
3143 Add cl-def* expressions.
3145 * frameset.el (frameset-filter-params): Fix order of arguments.
3147 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
3149 Move code related to saving frames to frameset.el.
3150 * desktop.el: Require frameset.
3151 (desktop-restore-frames): Doc fix.
3152 (desktop-restore-reuses-frames): Rename from
3153 desktop-restoring-reuses-frames.
3154 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
3155 (desktop-clear): Clear frames too.
3156 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
3157 (desktop--filter-tty*, desktop-save, desktop-read):
3158 Use frameset functions.
3159 (desktop-before-saving-frames-functions, desktop--filter-*-color)
3160 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3161 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
3162 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
3163 (desktop--process-minibuffer-frames, desktop-save-frames)
3164 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
3165 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
3166 (desktop--sort-states, desktop-restoring-frames-p)
3167 (desktop-restore-frames): Remove. Most code moved to frameset.el.
3168 (desktop-restoring-frameset-p, desktop-restore-frameset)
3169 (desktop--check-dont-save, desktop-save-frameset): New functions.
3170 (desktop--app-id): New constant.
3171 (desktop-first-buffer, desktop-buffer-ok-count)
3172 (desktop-buffer-fail-count): Move before first use.
3173 * frameset.el: New file.
3175 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
3177 * files.el: Use lexical-binding.
3178 (dir-locals-read-from-file): Remove unused `err' variable.
3179 (hack-dir-local-variables--warned-coding): New var.
3180 (hack-dir-local-variables): Use it to avoid repeated warnings.
3181 (make-backup-file-name--default-function): New function.
3182 (make-backup-file-name-function): Use it as default.
3183 (buffer-stale--default-function): New function.
3184 (buffer-stale-function): Use it as default.
3185 (revert-buffer-insert-file-contents--default-function): New function.
3186 (revert-buffer-insert-file-contents-function): Use it as default.
3187 (insert-directory): Avoid add-to-list.
3189 * autorevert.el (auto-revert-handler): Simplify.
3190 Use buffer-stale--default-function.
3192 2013-08-01 Tassilo Horn <tsdh@gnu.org>
3194 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
3196 * whitespace.el (whitespace-ensure-local-variables): New function.
3197 (whitespace-cleanup-region): Call it.
3198 (whitespace-turn-on): Call it.
3200 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
3202 Complete file name handlers.
3204 * net/tramp.el (tramp-handle-set-visited-file-modtime)
3205 (tramp-handle-verify-visited-file-modtime)
3206 (tramp-handle-file-notify-rm-watch): New functions.
3207 (tramp-call-process): Do not bind `default-directory'.
3209 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3210 Order alphabetically.
3211 [access-file, add-name-to-file, dired-call-process]:
3212 [dired-compress-file, file-acl, file-notify-rm-watch]:
3213 [file-ownership-preserved-p, file-selinux-context]:
3214 [make-directory-internal, make-symbolic-link, set-file-acl]:
3215 [set-file-selinux-context, set-visited-file-modtime]:
3216 [verify-visited-file-modtime]: Add handler.
3217 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
3219 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
3220 [file-notify-add-watch, file-notify-rm-watch]:
3221 [set-file-times, set-visited-file-modtime]:
3222 [verify-visited-file-modtime]: Add handler.
3223 (with-tramp-gvfs-error-message)
3224 (tramp-gvfs-handle-set-visited-file-modtime)
3225 (tramp-gvfs-fuse-file-name): Remove.
3226 (tramp-gvfs-handle-file-notify-add-watch)
3227 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
3228 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
3230 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3231 Order alphabetically.
3232 [file-notify-rm-watch ]: Use default Tramp handler.
3233 [executable-find]: Remove private handler.
3234 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
3235 `default-directory'.
3236 (tramp-sh-handle-executable-find)
3237 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
3238 (tramp-sh-file-gvfs-monitor-dir-process-filter)
3239 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
3240 Do not use `format' in `tramp-message'.
3242 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
3243 [file-notify-rm-watch, set-visited-file-modtime]:
3244 [verify-visited-file-modtime]: Add handler.
3245 (tramp-smb-call-winexe): Do not bind `default-directory'.
3247 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
3249 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
3251 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
3253 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
3255 (log-view-diff-changeset): Same.
3256 (log-view-diff-common): Call backend command `previous-revision'
3257 to find out the previous revision, in both cases. Swap the
3258 variables `to' and `fr', so that `fr' usually refers to the
3259 earlier revision (Bug#14989).
3261 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
3263 * ibuf-ext.el (ibuffer-filter-by-filename):
3264 Make it work with dired buffers too.
3266 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
3268 * emacs-lisp/re-builder.el (reb-color-display-p):
3269 * files.el (save-buffers-kill-terminal):
3270 * net/browse-url.el (browse-url):
3271 * server.el (server-save-buffers-kill-terminal):
3272 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
3273 Prefer nil to selected-frame for the first arg of frame-parameter.
3275 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
3277 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
3279 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
3281 * minibuffer.el (completion--twq-all): Try and preserve each
3282 completion's case choice (bug#14907).
3284 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
3286 * net/network-stream.el (open-network-stream): Mention the new
3287 :nogreeting parameter.
3288 (network-stream-open-starttls): Use the :nogreeting parameter
3291 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
3293 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
3294 more natural than popping.
3296 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
3297 (shr-urlify): Highlight under mouse.
3299 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3301 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
3303 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
3305 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
3308 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
3309 point-min==1. Fix search string. Fix parentheses missing.
3311 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
3312 assume point-min==1. Fix search string. Fix parentheses missing.
3314 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
3316 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
3319 2013-07-29 Eli Zaretskii <eliz@gnu.org>
3321 * frame.el (frame-notice-user-settings): Avoid inflooping when the
3322 initial frame is minibuffer-less. (Bug#14841)
3324 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
3326 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
3329 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
3330 (tramp-maybe-open-connection): Use it.
3332 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3334 * desktop.el (desktop--make-frame): Include `minibuffer' in the
3335 minimal set of parameters passed when creating a frame, because
3336 the minibuffer status of a frame cannot be changed later.
3338 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
3340 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
3341 replace-regexp-in-string and inadvertent omissions in previous change.
3342 (todo-filter-items): Ensure only file names are comma-separated in
3343 name of filtered items buffer.
3345 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
3347 * desktop.el: Optionally force offscreen frames back onscreen.
3348 (desktop-restoring-reuses-frames): New option.
3349 (desktop--compute-pos, desktop--move-onscreen): New functions.
3350 (desktop--make-frame): Use desktop--move-onscreen.
3352 2013-07-27 Alan Mackenzie <acm@muc.de>
3354 Fontify a Java generic method as a function.
3355 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
3358 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
3360 * calendar/todo-mode.el: Add command to rename todo files.
3361 (todo-rename-file): New command.
3362 (todo-key-bindings-t): Add key binding for it. Change the
3363 bindings of todo-filter-regexp-items(-multifile) to use `x'
3364 instead of `r', since the latter is better suited to the new
3367 2013-07-27 Alan Mackenzie <acm@muc.de>
3369 Make Java try-with-resources statement parse properly.
3370 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
3371 (c-block-stmt-1-2-key): New language constants/variables.
3372 * progmodes/cc-engine.el (c-beginning-of-statement-1)
3373 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
3374 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
3375 with c-block-stmt-1-2-key.
3377 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
3379 * desktop.el (desktop--make-frame): Apply most frame parameters after
3380 creating the frame to force (partially or totally) offscreen frames to
3381 be restored as such.
3383 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
3385 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
3388 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3390 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
3391 `base' arg of backtrace-frame.
3393 2013-07-26 Eli Zaretskii <eliz@gnu.org>
3395 * simple.el (list-processes): Doc fix.
3397 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3399 * desktop.el (desktop--select-frame):
3400 Try harder to reuse existing frames.
3402 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3404 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
3405 (edebug-eval): Use backtrace-eval.
3406 (edebug--display, edebug--recursive-edit): Don't let-bind the
3407 edebug-outer-* vars that keep track of variables we locally let-bind.
3408 (edebug-outside-excursion): Don't restore outside values of locally
3410 (edebug--display): Use user-error.
3411 (cl-lexical-debug, cl-debug-env): Remove.
3413 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
3415 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
3416 are restored to be sure that they are visible before deleting any
3419 2013-07-26 Matthias Meulien <orontee@gmail.com>
3421 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
3422 vc-print-root-log. (Bug#14948)
3424 2013-07-26 Richard Stallman <rms@gnu.org>
3426 Add aliases for encrypting mail.
3427 * epa.el (epa-mail-aliases): New option.
3428 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
3429 Bind inhibit-read-only so read-only text doesn't ruin everything.
3430 (epa-mail-default-recipients): New subroutine broken out.
3431 Handle epa-mail-aliases.
3433 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
3435 Add support for lexical variables to the debugger's `e' command.
3436 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
3437 vars, except for debugger-outer-match-data.
3438 (debugger-frame-number): Move check for "on a function call" from
3439 callers into it. Add `skip-base' argument.
3440 (debugger-frame, debugger-frame-clear): Simplify accordingly.
3441 (debugger-env-macro): Only reset the state stored in non-variables,
3442 i.e. current-buffer and match-data.
3443 (debugger-eval-expression): Rewrite using backtrace-eval.
3444 * subr.el (internal--called-interactively-p--get-frame): Remove.
3445 (called-interactively-p):
3446 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
3447 `base' arg of backtrace-frame instead.
3449 2013-07-26 Glenn Morris <rgm@gnu.org>
3451 * align.el (align-regexp): Doc fix. (Bug#14857)
3452 (align-region): Explicit error if subexpression missing/does not match.
3454 * simple.el (global-visual-line-mode):
3455 Do not duplicate the mode lighter. (Bug#14858)
3457 2013-07-25 Martin Rudalics <rudalics@gmx.at>
3459 * window.el (display-buffer): In display-buffer bind
3460 split-window-keep-point to t, bug#14829.
3462 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3464 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
3465 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
3466 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
3467 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3469 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
3470 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
3472 2013-07-25 Glenn Morris <rgm@gnu.org>
3474 * dired-x.el (dired-mark-extension): Convert comment to doc string.
3476 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
3478 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
3479 parameter to modify-frame-parameters if the value has not changed;
3480 this is a workaround for bug#14949.
3481 (desktop--make-frame): On cl-delete-if call, check parameter name,
3484 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
3486 * vc/vc.el (vc-ignore): New function.
3488 * vc/vc-svn.el (vc-svn-ignore): New function.
3490 * vc/vc-hg.el (vc-hg-ignore): New function.
3492 * vc/vc-git.el (vc-git-ignore): New function.
3494 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
3495 (vc-dir-ignore): New function.
3497 * vc/vc-cvs.el (vc-cvs-ignore): New function.
3498 (cvs-append-to-ignore): Move here from pcvs.el.
3500 * vc/vc-bzr.el (vc-bzr-ignore): New function.
3502 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
3504 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
3506 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
3507 (desktop-restore-frames): Warn when deleting an existing frame failed.
3509 2013-07-24 Glenn Morris <rgm@gnu.org>
3511 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
3513 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
3515 * filenotify.el (file-notify-supported-p):
3516 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3519 * autorevert.el (auto-revert-use-notify):
3520 (auto-revert-notify-add-watch):
3521 * net/tramp.el (tramp-file-name-for-operation):
3522 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3523 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3524 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3525 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3526 Remove `file-notify-supported-p' entry.
3528 2013-07-24 Glenn Morris <rgm@gnu.org>
3530 * printing.el: Replace all uses of deleted ps-windows-system,
3531 ps-lp-system, ps-flatten-list with lpr- versions.
3533 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3535 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
3536 checked with memq (bug#14935).
3538 * files.el (revert-buffer-function): Use a non-nil default.
3539 (revert-buffer-preserve-modes): Declare var to
3540 provide access to the `preserve-modes' argument.
3541 (revert-buffer): Let-bind it.
3542 (revert-buffer--default): New function, extracted from revert-buffer.
3544 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
3546 * lpr.el: Signal print errors more prominently.
3547 (print-region-function): Don't default to nil.
3548 (lpr-print-region): New function, extracted from print-region-1.
3549 Check lpr's return value and signal an error in case of problem.
3550 (print-region-1): Use it.
3551 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
3553 (ps-printer-name): Default to nil.
3554 (ps-printer-name-option): Default to lpr-printer-switch.
3555 (ps-print-region-function): Don't default to nil.
3556 (ps-postscript-code-directory): Simplify default.
3557 (ps-do-despool): Use lpr-print-region to properly check the outcome.
3558 (ps-string-list, ps-eval-switch, ps-flatten-list)
3559 (ps-flatten-list-1): Remove.
3560 (ps-multibyte-buffer): Avoid setq.
3561 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
3562 (print-region-function, ps-print-region-function): Don't set them here.
3564 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
3566 * ido.el (ido-fractionp):
3567 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
3568 (ido-max-file-prompt-width, ido-unc-hosts-cache)
3569 (ido-max-directory-size, ido-max-dir-file-cache)
3570 (ido-decorations): Doc fix.
3572 * ansi-color.el: Fix old URL.
3574 2013-07-23 Michael R. Mauger <michael@mauger.com>
3576 * progmodes/sql.el: Version 3.3
3577 (sql-product-alist): Improve oracle :prompt-cont-regexp.
3578 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
3579 (sql-interactive-remove-continuation-prompt): Rewrite, use
3580 functions above. Fix continuation prompt and complete output line
3582 (sql-redirect-one, sql-execute): Use `read-only-mode' on
3583 redirected output buffer.
3584 (sql-mode): Restore deleted code (Bug#13591).
3586 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3588 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
3590 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
3592 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
3594 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3595 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3596 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
3598 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
3600 * desktop.el (desktop-clear): Simplify; remove useless checks
3601 against invalid buffer names.
3602 (desktop-list*): Use cl-list*.
3603 (desktop-buffer-info, desktop-create-buffer): Simplify.
3605 2013-07-23 Leo Liu <sdl.web@gmail.com>
3607 * bookmark.el (bookmark-make-record): Restore NAME as a default
3610 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
3612 * emacs-lisp/autoload.el (autoload--setup-output): New function,
3613 extracted from autoload--insert-text.
3614 (autoload--insert-text): Remove.
3615 (autoload--print-cookie-text): New function, extracted from
3616 autoload--insert-cookie-text.
3617 (autoload--insert-cookie-text): Remove.
3618 (autoload-generate-file-autoloads): Adjust calls accordingly.
3620 * winner.el (winner-hook-installed-p): Remove.
3621 (winner-mode): Simplify accordingly.
3623 * subr.el (add-to-list): Fix compiler-macro when `append' is
3624 not constant. Don't use `cl-member' for the base case.
3626 * progmodes/subword.el: Fix boundary case (bug#13758).
3627 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
3629 (subword-backward-regexp): Make it a constant.
3630 (subword-forward-internal): Don't treat a trailing capital as the
3631 beginning of a word.
3633 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
3635 * emacs-lisp/package.el (package-menu-mode): Don't modify the
3636 global value of tabulated-list-revert-hook (bug#14930).
3638 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
3640 * desktop.el: Require 'cl-lib.
3641 (desktop-before-saving-frames-functions): New hook.
3642 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
3643 for frames being saved. Rename from desktop--save-minibuffer-frames.
3644 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
3645 Do not save frames with non-nil `desktop-dont-save' parameter.
3646 Filter out deleted frames.
3647 (desktop--find-frame): Use cl-find-if.
3648 (desktop--select-frame): Use cl-(first|second|third) to access values
3650 (desktop--make-frame): Use cl-delete-if.
3651 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
3652 (desktop-restore-frames): Use cl-(first|second|third) to access values
3653 of desktop-mini. Look for visible frame at the end, not while
3656 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
3657 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
3658 Use string-match-p, looking-at-p (bug#14927).
3660 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
3662 * desktop.el (desktop-saved-frame-states):
3663 Rename from desktop--saved-states; all users changed.
3664 (desktop-save-frames): Rename from desktop--save-frames.
3665 Do not save state to desktop file.
3666 (desktop-save): Save desktop-saved-frame-states to desktop file
3668 (desktop-restoring-frames-p): New function.
3669 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
3670 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
3671 buffer-lists when restoring frames. Suggested by Martin Rudalics.
3673 * desktop.el: Correctly restore iconified frames.
3674 (desktop--filter-iconified-position): New function.
3675 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
3677 2013-07-20 Glenn Morris <rgm@gnu.org>
3679 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
3680 Let `message' do the formatting.
3681 (def-gdb-preempt-display-buffer): Add explicit format.
3683 * image-dired.el (image-dired-track-original-file):
3684 Use with-current-buffer.
3685 (image-dired-track-thumbnail): Use with-current-buffer.
3686 Avoid changing point of wrong window.
3688 * image-dired.el (image-dired-track-original-file):
3689 Avoid changing point of wrong window. (Bug#14909)
3691 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
3693 * progmodes/gdb-mi.el (gdb-done-or-error):
3694 Guard against "%" in gdb output. (Bug#14127)
3696 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
3698 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
3701 * international/mule.el (coding-system-iso-2022-flags): Fix last
3704 2013-07-20 Kenichi Handa <handa@gnu.org>
3706 * international/mule.el (coding-system-iso-2022-flags):
3707 Add `8-bit-level-4'. (Bug#8522)
3709 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
3711 * net/shr.el (shr-mouse-browse-url): New command and keystroke
3714 * net/eww.el (eww-process-text-input): Allow inputting when the
3715 point is at the start of the line, as the properties aren't
3718 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
3721 2013-07-19 Richard Stallman <rms@gnu.org>
3723 * epa.el (epa-popup-info-window): Doc fix.
3725 * subr.el (split-string): New arg TRIM.
3727 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
3729 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
3730 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
3732 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
3734 * filenotify.el (file-notify--library): Rename from
3735 `file-notify-support'. Do not autoload. Adapt all uses.
3736 (file-notify-supported-p): New defun.
3738 * autorevert.el (auto-revert-use-notify):
3739 Use `file-notify-supported-p' instead of `file-notify-support'.
3741 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
3743 * net/tramp.el (tramp-file-name-for-operation):
3744 Add `file-notify-supported-p'.
3746 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
3748 (tramp-sh-file-name-handler-alist): Add it as handler for
3749 `file-notify-supported-p '.
3751 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3752 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3753 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3754 Add `ignore' as handler for `file-notify-*' functions.
3756 2013-07-17 Eli Zaretskii <eliz@gnu.org>
3758 * simple.el (line-move-partial, line-move): Don't start vscroll or
3759 scroll-up if the current line is not taller than the window.
3762 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
3764 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
3765 highlight question marks in the method names as strings.
3766 (ruby-block-beg-keywords): Inline.
3767 (ruby-font-lock-keyword-beg-re): Extract from
3768 `ruby-font-lock-keywords'.
3770 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
3772 * frame.el (blink-cursor-blinks): New defcustom.
3773 (blink-cursor-blinks-done): New defvar.
3774 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
3775 (blink-cursor-timer-function): Check if number of blinks has been
3777 (blink-cursor-suspend, blink-cursor-check): New defuns.
3779 2013-07-15 Glenn Morris <rgm@gnu.org>
3781 * edmacro.el (edmacro-format-keys): Fix previous change.
3783 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
3785 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
3786 The hack didn't work outside English locales anyway.
3788 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
3790 * simple.el (define-alternatives): Rename from alternatives-define,
3791 per RMS' suggestion.
3793 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
3795 * desktop.el (desktop-restore-frames): Change default to t.
3796 (desktop-restore-in-current-display): Now offer more options.
3797 (desktop-restoring-reuses-frames): New customization option.
3798 (desktop--saved-states): Doc fix.
3799 (desktop-filter-parameters-alist): New variable, renamed and expanded
3800 from desktop--excluded-frame-parameters.
3801 (desktop--target-display): New variable.
3802 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
3803 (desktop--filter-tty*, desktop--filter-*-color)
3804 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
3805 (desktop--filter-save-desktop-parm)
3806 (desktop-restore-in-original-display-p): New functions.
3807 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
3808 (desktop--save-minibuffer-frames): New function, inspired by a similar
3809 function from Martin Rudalics.
3810 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
3811 (desktop--restore-in-this-display-p): Remove.
3812 (desktop--find-frame): Rename from desktop--find-frame-in-display
3813 and add predicate argument.
3814 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
3815 (desktop--reuse-list): New variable.
3816 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
3818 (desktop--restore-frames): Add support for "minibuffer-special" frames.
3820 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
3822 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
3824 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
3826 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
3827 Highlight conversion methods on Kernel.
3829 2013-07-13 Alan Mackenzie <acm@muc.de>
3831 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
3832 and comment it out. This out-commenting enables certain C++
3833 declarations to be parsed correctly.
3835 2013-07-13 Eli Zaretskii <eliz@gnu.org>
3837 * international/mule.el (define-coding-system): Doc fix.
3839 * simple.el (default-font-height): Don't call font-info if the
3840 frame's default font didn't change since the frame was created.
3843 2013-07-13 Leo Liu <sdl.web@gmail.com>
3845 * ido.el (ido-read-file-name): Guard against non-symbol value.
3847 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
3849 * progmodes/python.el (python-imenu--build-tree): Fix corner case
3852 2013-07-13 Leo Liu <sdl.web@gmail.com>
3854 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
3855 ido-set-matches call. (Bug#6852)
3857 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
3859 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
3860 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
3862 (ruby-font-lock-keywords): Distinguish calls to functions with
3863 module-like names from module references. Highlight character
3866 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
3868 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
3869 (gdb-send): Handle continued commands. (Bug#14847)
3871 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3873 * desktop.el (desktop--v2s): Remove unused local variable.
3874 (desktop-save-buffer): Make defvar-local; adjust docstring.
3875 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
3876 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
3878 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
3880 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
3882 2013-07-12 Eli Zaretskii <eliz@gnu.org>
3884 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
3887 2013-07-12 Glenn Morris <rgm@gnu.org>
3889 * doc-view.el: Require cl-lib at runtime too.
3890 (doc-view-remove-if): Remove.
3891 (doc-view-search-next-match, doc-view-search-previous-match):
3894 * edmacro.el: Require cl-lib at runtime too.
3895 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
3896 (edmacro-mismatch, edmacro-subseq): Remove.
3898 * shadowfile.el: Require cl-lib.
3899 (shadow-remove-if): Remove.
3900 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
3903 * wid-edit.el: Require cl-lib.
3904 (widget-choose): Use cl-remove-if.
3905 (widget-remove-if): Remove.
3907 * progmodes/ebrowse.el: Require cl-lib at runtime too.
3908 (ebrowse-delete-if-not): Remove.
3909 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
3910 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
3911 Use cl-delete-if-not.
3913 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
3915 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
3916 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
3918 2013-07-12 Leo Liu <sdl.web@gmail.com>
3920 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
3922 2013-07-11 Glenn Morris <rgm@gnu.org>
3924 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
3925 (edebug-gensym-index, edebug-gensym):
3926 Remove reimplementation of cl-gensym.
3927 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
3929 * thumbs.el: Require cl-lib at run-time too.
3930 (thumbs-gensym-counter, thumbs-gensym):
3931 Remove reimplementation of cl-gensym.
3932 (thumbs-temp-file): Use cl-gensym.
3934 * emacs-lisp/ert.el: Require cl-lib at runtime too.
3935 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
3936 (ert--intersection, ert--set-difference, ert--set-difference-eq)
3937 (ert--union, ert--gensym-counter, ert--gensym-counter)
3938 (ert--coerce-to-vector, ert--remove*, ert--string-position)
3939 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
3940 (ert-make-test-unbound, ert--expand-should-1)
3941 (ert--expand-should, ert--should-error-handle-error)
3942 (should-error, ert--explain-equal-rec)
3943 (ert--plist-difference-explanation, ert-select-tests)
3944 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
3945 Use cl-lib functions rather than reimplementations.
3947 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
3949 * net/tramp.el (tramp-methods): Extend docstring.
3950 (tramp-connection-timeout): New defcustom.
3951 (tramp-error-with-buffer): Reset timestamp only when appropriate.
3952 (with-tramp-progress-reporter): Simplify.
3953 (tramp-process-actions): Improve messages.
3955 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
3956 * net/tramp-sh.el (tramp-maybe-open-connection):
3957 Use `tramp-connection-timeout'.
3958 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
3961 2013-07-11 Leo Liu <sdl.web@gmail.com>
3963 * ido.el (ido-read-file-name): Conform to the requirements of
3964 read-file-name. (Bug#11861)
3965 (ido-read-directory-name): Conform to the requirements of
3966 read-directory-name.
3968 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
3970 * subr.el (delay-warning): New function.
3972 2013-07-10 Eli Zaretskii <eliz@gnu.org>
3974 * simple.el (default-line-height): New function.
3975 (line-move-partial, line-move): Use it instead of computing the
3977 (line-move-partial): Always compute ROWH. If the last line is
3978 partially-visible, but its text is completely visible, allow
3979 cursor to enter such a partially-visible line.
3981 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
3983 Improve error messages. (Bug#14808)
3985 * net/tramp.el (tramp-current-connection): New defvar, moved from
3987 (tramp-message-show-progress-reporter-message): Remove, not
3989 (tramp-error-with-buffer): Show message in minibuffer.
3990 Discard input before waiting. Reset connection timestamp.
3991 (with-tramp-progress-reporter): Improve messages.
3992 (tramp-process-actions): Use progress reporter. Delete process in
3993 case of error. Improve messages.
3995 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
3996 Call `tramp-error-with-buffer' with vector and buffer.
3997 (tramp-current-connection): Remove.
3998 (tramp-maybe-open-connection): The car of
3999 `tramp-current-connection' are the first 3 slots of the vector.
4001 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
4003 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
4004 inside continued strings.
4006 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
4008 Timestamp fixes for undo (Bug#14824).
4009 * files.el (clear-visited-file-modtime): Move here from fileio.c.
4011 2013-07-10 Leo Liu <sdl.web@gmail.com>
4013 * files.el (require-final-newline): Allow safe local value.
4016 2013-07-09 Leo Liu <sdl.web@gmail.com>
4018 * ido.el (ido-read-directory-name): Handle fallback.
4019 (ido-read-file-name): Update DIR to ido-current-directory.
4021 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
4023 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
4025 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
4026 "autoload". Remove "warn lower camel case" section, previously
4027 commented out. Highlight negation char. Do not highlight the
4028 target in singleton method definitions.
4030 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
4032 * faces.el (tty-setup-hook): Declare the hook.
4034 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
4035 and detect when a guard/pred depends on local vars (bug#14773).
4036 (pcase--u1): Adjust caller.
4038 2013-07-08 Eli Zaretskii <eliz@gnu.org>
4040 * simple.el (line-move-partial, line-move): Account for
4042 (line-move-partial): Avoid setting vscroll when the last
4043 partially-visible line in window is of default height.
4045 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
4047 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
4050 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
4052 * subr.el (read-quoted-char): Remove unused local variable `char'.
4054 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
4056 * ediff.el (ediff-version): Version update.
4057 (ediff-files-command, ediff3-files-command, ediff-merge-command)
4058 (ediff-merge-with-ancestor-command, ediff-directories-command)
4059 (ediff-directories3-command, ediff-merge-directories-command)
4060 (ediff-merge-directories-with-ancestor-command): New functions.
4061 All are command-line interfaces to ediff: to facilitate calling
4062 Emacs with the appropriate ediff functions invoked.
4064 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
4065 (viper-save-kill-buffer): Check if buffer is modified.
4067 * viper.el (viper-version): Version update.
4068 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
4070 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
4072 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
4073 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
4074 (viper-intercept-ESC-key): Simplify.
4075 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
4076 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
4077 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
4078 (viper-setup-ESC-to-escape): New functions.
4079 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
4080 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
4082 2013-07-07 Eli Zaretskii <eliz@gnu.org>
4084 * simple.el (default-font-height, window-screen-lines):
4086 (line-move, line-move-partial): Use them instead of
4087 frame-char-height and window-text-height. This makes scrolling
4088 text smoother when the buffer's default face uses a font that is
4089 different from the frame's default font.
4091 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
4093 * files.el (write-file): Do not display confirm dialog for NS,
4094 it does its own dialog, which can't be cancelled (Bug#14578).
4096 2013-07-06 Eli Zaretskii <eliz@gnu.org>
4098 * simple.el (line-move-partial): Adjust the row returned by
4099 posn-at-point for the current window-vscroll. (Bug#14567)
4101 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
4103 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
4104 (tramp-sh-file-inotifywait-process-filter): Handle file names with
4107 2013-07-06 Martin Rudalics <rudalics@gmx.at>
4109 * window.el (window-state-put-stale-windows): New variable.
4110 (window--state-put-2): Save list of windows without matching buffer.
4111 (window-state-put): Remove "bufferless" windows if possible.
4113 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4115 * simple.el (alternatives-define): Remove leftover :group keyword.
4118 2013-07-06 Leo Liu <sdl.web@gmail.com>
4120 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
4121 (ido-enable-virtual-buffers): New variable.
4122 (ido-buffer-internal, ido-toggle-virtual-buffers)
4123 (ido-make-buffer-list): Use it.
4124 (ido-exhibit): Support turning on and off virtual buffers
4127 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
4129 * simple.el (alternatives-define): New macro.
4131 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
4133 * subr.el (read-quoted-char): Use read-key.
4134 (sit-for): Let read-event decode tty input (bug#14782).
4136 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
4138 * calendar/todo-mode.el: Add handling of file deletion, both by
4139 mode command and externally. Fix various related bugs.
4140 Clarify Commentary and improve some documentation strings and code.
4141 (todo-delete-file): New command.
4142 (todo-check-file): New function.
4143 (todo-show): Handle external deletion of the file we're trying to
4144 show (bug#14688). Replace called-interactively-p by an optional
4145 prefix argument to avoid problematic interaction with catch form
4146 when byte compiled (bug#14702).
4147 (todo-quit): Handle external deletion of the archive's todo file.
4148 Make sure the buffer that was visiting the archive file is still
4149 live before trying to bury it.
4150 (todo-category-completions): Handle external deletion of any
4151 category completion files.
4152 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
4153 of todo files, in case of external deletion.
4154 (todo-add-file): Replace unnecessary setq by let-binding.
4155 (todo-find-archive): Check whether there are any archives.
4156 Replace unnecessary setq by let-binding.
4157 (todo-archive-done-item): Use find-file-noselect to get the
4158 archive buffer whether or not the archive already exists.
4159 Remove superfluous code. Use file size instead of buffer-file-name to
4160 check if the archive is new; if it is, update list of archives.
4161 (todo-default-todo-file): Allow nil to be a valid value for when
4162 there are no todo files.
4163 (todo-reevaluate-default-file-defcustom): Use corrected definition
4164 of todo-default-todo-file.
4165 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
4166 (todo-delete-category, todo-show-categories-table)
4167 (todo-category-number): Clarify comment.
4168 (todo-filter-items): Clarify documentation string.
4169 (todo-show-current-file, todo-display-as-todo-file)
4170 (todo-reset-and-enable-done-separator): Tweak documentation string.
4171 (todo-done-separator): Make separator length window-width, since
4172 bug#2749 is now fixed.
4174 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
4176 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4177 Support both "gvfs-monitor-dir" and "inotifywait".
4178 (tramp-sh-file-inotifywait-process-filter): Rename from
4179 `tramp-sh-file-notify-process-filter'.
4180 (tramp-sh-file-gvfs-monitor-dir-process-filter)
4181 (tramp-get-remote-gvfs-monitor-dir): New defuns.
4183 2013-07-05 Leo Liu <sdl.web@gmail.com>
4185 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
4187 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
4189 * frame.el (display-pixel-height, display-pixel-width)
4190 (display-mm-height, display-mm-width): Mention behavior on
4191 multi-monitor setups in docstrings.
4192 (w32-display-monitor-attributes-list): Declare function.
4193 (display-monitor-attributes-list): Use it.
4195 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
4197 * filenotify.el: New package.
4199 * autorevert.el (top): Require filenotify.el.
4200 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
4202 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
4203 (auto-revert-notify-handler): Use `file-notify-*' functions.
4205 * subr.el (file-notify-handle-event): Move function to filenotify.el.
4207 * net/tramp.el (tramp-file-name-for-operation):
4208 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
4210 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
4211 for `file-notify-add-watch' and `file-notify-rm-watch'.
4212 (tramp-process-sentinel): Improve trace.
4213 (tramp-sh-handle-file-notify-add-watch)
4214 (tramp-sh-file-notify-process-filter)
4215 (tramp-sh-handle-file-notify-rm-watch)
4216 (tramp-get-remote-inotifywait): New defuns.
4218 2013-07-03 Juri Linkov <juri@jurta.org>
4220 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
4221 call of `occur-read-primary-args' to interactive spec.
4223 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
4224 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
4226 2013-07-03 Matthias Meulien <orontee@gmail.com>
4228 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
4229 `Buffer-menu-multi-occur'. Add it to the menu.
4230 (Buffer-menu-mode): Document it in docstring.
4231 (Buffer-menu-multi-occur): New command. (Bug#14673)
4233 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4235 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
4236 keywords and built-ins.
4238 2013-07-03 Glenn Morris <rgm@gnu.org>
4240 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
4242 Make info-xref checks case-sensitive by default
4243 * info.el (Info-find-node, Info-find-in-tag-table)
4244 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
4245 Add option for exact case matching of nodes.
4246 * info-xref.el (info-xref): New custom group.
4247 (info-xref-case-fold): New option.
4248 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
4250 2013-07-03 Leo Liu <sdl.web@gmail.com>
4252 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
4254 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
4256 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
4257 middle of block statement initially, lower the depth. Remove
4258 FIXME comment, not longer valid. Remove middle of block statement
4259 detection, no need to do that anymore since we've been using
4260 `ruby-parse-region' here.
4262 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
4264 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
4266 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
4268 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
4270 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
4272 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
4273 (desktop-restore-in-current-display): New customization option.
4274 (desktop--excluded-frame-parameters): Add `font'.
4275 (desktop--save-frames): Rename from desktop--save-windows.
4276 (desktop--restore-in-this-display-p): New function.
4277 (desktop--make-full-frame): Remove unwanted width/height from
4278 full(width|height) frames.
4279 (desktop--restore-frames): Rename from desktop--restore-windows.
4280 Obey desktop-restore-current-display. Do not delete old frames or
4281 select a new frame unless we were able to restore at least one frame.
4283 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
4285 * files.el (find-file-noselect): Simplify conditional expression.
4287 * remember.el (remember-append-to-file):
4288 Don't mix `find-buffer-visiting' and `get-file-buffer'.
4290 Add `remember-notes' function to store random notes across Emacs
4292 * remember.el (remember-data-file): Add :set callback to affect
4293 notes buffer (if any).
4294 (remember-notes): New command.
4295 (remember-notes-buffer-name, bury-remember-notes-on-kill):
4296 New defcustoms for the `remember-notes' function.
4297 (remember-notes-save-and-bury-buffer): New command.
4298 (remember-notes-mode-map): New variable.
4299 (remember-mode): New minor mode.
4300 (remember-notes--kill-buffer-query): New function.
4301 * startup.el (initial-buffer-choice): Add notes to custom type.
4303 2013-06-30 Eli Zaretskii <eliz@gnu.org>
4305 * bindings.el (right-char, left-char): Don't call sit-for, this is
4306 no longer needed. Use arithmetic comparison only for numerical
4309 * international/mule-cmds.el (select-safe-coding-system):
4310 Handle the case of FROM being a string correctly. (Bug#14755)
4312 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
4314 * net/shr.el (shr-make-table-1): Add a sanity check that allows
4315 progression on degenerate tables.
4316 (shr-rescale-image): ImageMagick animated images currently don't work.
4318 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
4320 Some fixes and improvements for desktop frame restoration.
4321 It is still experimental and disabled by default.
4322 * desktop.el (desktop--save-windows): Put the selected frame at
4323 the head of the list.
4324 (desktop--make-full-frame): New function.
4325 (desktop--restore-windows): Try to re-select the frame that was
4326 selected upon saving. Do not abort if some frames fail to restore,
4327 just show an error message and continue. Set up maximized frames
4328 so they have default non-maximized dimensions.
4330 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
4332 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
4333 Don't start heredoc inside a string or comment.
4335 2013-06-29 Eli Zaretskii <eliz@gnu.org>
4337 * bindings.el (visual-order-cursor-movement): New defcustom.
4338 (right-char, left-char): Provide visual-order cursor motion by
4339 calling move-point-visually. Update the doc strings.
4341 2013-06-28 Kenichi Handa <handa@gnu.org>
4343 * international/mule.el (define-coding-system): New coding system
4344 properties :inhibit-null-byte-detection,
4345 :inhibit-iso-escape-detection, and :prefer-utf-8.
4346 (set-buffer-file-coding-system): If :charset-list property of
4347 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
4348 appropriate for setting.
4350 * international/mule-cmds.el (select-safe-coding-system):
4351 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
4352 multibyte characters, return utf-8 (or one of its siblings).
4354 * international/mule-conf.el (prefer-utf-8): New coding system.
4355 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
4358 2013-06-28 Ivan Kanis <ivan@kanis.fr>
4360 * net/shr.el (shr-render-region): New function.
4362 * net/eww.el: Autoload `eww-browse-url'.
4364 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
4366 * emacs-lisp/package-x.el (package-upload-buffer-internal):
4367 Adapt to `package-desc-version' being a list.
4368 Use `package--ac-desc-version' to retrieve version from a package
4371 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
4373 New experimental feature to save&restore window and frame setup.
4374 * desktop.el (desktop-save-windows): New defcustom.
4375 (desktop--saved-states): New var.
4376 (desktop--excluded-frame-parameters): New defconst.
4377 (desktop--filter-frame-parms, desktop--find-frame-in-display)
4378 (desktop--restore-windows, desktop--save-windows): New functions.
4379 (desktop-save): Call `desktop--save-windows'.
4380 (desktop-read): Call `desktop--restore-windows'.
4382 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
4384 * net/shr.el (add-face-text-property): Remove compat definition.
4386 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4388 * info.el (Info-try-follow-nearest-node): Move search for footnote
4389 above search for node name to prevent missing a footnote (bug#14717).
4391 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
4393 * obsolete/otodo-mode.el: Add obsolescence info to file header.
4395 2013-06-27 Leo Liu <sdl.web@gmail.com>
4397 * net/eww.el (eww-read-bookmarks): Check file size.
4399 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4401 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
4402 advice--pending if newdef is nil or an autoload (bug#13820).
4403 (advice-mapc): New function.
4405 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
4407 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
4409 (eww-mode-map): Add a menu bar.
4410 (eww-add-bookmark): New command.
4411 (eww-bookmark-mode): New mode and commands.
4412 (eww-add-bookmark): Remove newlines from the title.
4413 (eww-bookmark-browse): Don't bug out if it's the only window.
4415 2013-06-26 Glenn Morris <rgm@gnu.org>
4417 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
4418 (hfy-size): Handle ttys. (Bug#14668)
4420 * info-xref.el: Update for Texinfo 5 change in *note format.
4421 (info-xref-node-re, info-xref-note-re): New constants.
4422 (info-xref-check-buffer): Use info-xref-note-re.
4424 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
4426 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
4428 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
4429 nil terminate the loop (bug#14718).
4431 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4433 * net/eww.el: Rework history traversal. When going forward/back,
4434 put these actions into the history, too, so that they can be
4436 (eww-render): Move the history reset to the correct buffer.
4438 2013-06-25 Juri Linkov <juri@jurta.org>
4440 * files-x.el (modify-dir-local-variable): Change the header comment
4441 in the file with directory local variables. (Bug#14692)
4443 * files-x.el (read-file-local-variable-value): Add `default'.
4446 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4448 * net/eww.el (eww-make-unique-file-name): Create a unique file
4449 name before saving to entering `y' accidentally asynchronously.
4451 2013-06-25 Ivan Kanis <ivan@kanis.fr>
4453 * net/eww.el (eww-download): New command and keystroke.
4455 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4457 * net/eww.el (eww-copy-page-url): Change name of command.
4459 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
4460 be more consistent with Info and dired.
4462 * net/eww.el (eww-mode-map): Ditto.
4464 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4466 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
4467 packages from archives.
4468 (package-archive-contents): Change format; include obsolete packages.
4469 (package-desc): Use `dir' to mark builtin packages.
4470 (package--from-builtin): Set the `dir' field to `builtin'.
4471 (generated-autoload-file, version-control): Declare.
4472 (package-compute-transaction): Change first arg and return value to be
4473 lists of package-descs. Adjust to new package-archive-contents format.
4474 (package--add-to-archive-contents): Adjust to new
4475 package-archive-contents format.
4476 (package-download-transaction): Arg is now a list of package-descs.
4477 (package-install): If `pkg' is a package name, pass it as
4478 a requirement, so it is subject to the usual (e.g. disabled) checks.
4479 (describe-package): Accept package-desc as well.
4480 (describe-package-1): Describe a specific package-desc. Add links to
4481 other package-descs for the same package name.
4482 (package-menu-describe-package): Pass the actual package-desc.
4483 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
4485 (package-desc-status): New function.
4486 (package-menu--refresh): New function, extracted
4487 from package-menu--generate.
4488 (package-menu--generate): Use it.
4489 (package-delete): Update package-alist.
4490 (package-menu-execute): Don't call package-initialize.
4492 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
4493 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
4494 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
4495 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
4496 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
4497 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
4499 2013-06-25 Martin Rudalics <rudalics@gmx.at>
4501 * window.el (window--state-get-1): Workaround for bug#14527.
4502 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
4504 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
4506 * net/eww.el (eww-back-url): Implement the history by stashing all
4507 the data into a list.
4508 (eww-forward-url): Allow going forward in the history, too.
4510 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
4512 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
4513 for values and use read--expression for expressions (bug#14710).
4514 (read-file-local-variable): Avoid setq.
4515 (read-file-local-variable-mode): Use minor-mode-list.
4517 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4519 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
4522 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4524 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
4525 Update imenu-support when dialect changes.
4527 2013-06-25 Leo Liu <sdl.web@gmail.com>
4529 * ido.el (ido-read-internal): Allow forward slash on windows.
4531 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4533 * net/eww.el (eww): Start of strings is \\`, not ^.
4535 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4537 * net/shr.el (shr-browse-url): Fix interactive spec.
4539 * net/eww.el (eww): Add a trailing slash to domain names.
4541 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
4543 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
4545 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
4547 * net/shr.el (shr-browse-url): Use an external browser if given a
4550 * net/eww.el (eww-external-browser): Move to shr.
4552 2013-06-24 Ivan Kanis <ivan@kanis.fr>
4554 * net/eww.el (eww): Work more correctly for file: URLs.
4555 (eww-detect-charset): Allow quoted charsets.
4556 (eww-yank-page-url): New command and keystroke.
4558 2013-06-24 Daiki Ueno <ueno@gnu.org>
4560 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
4561 file name of gpg executable.
4562 (epg-context-program): New function.
4563 (epg-context-home-directory): New function.
4564 (epg-context-set-program): New function.
4565 (epg-context-set-home-directory): New function.
4566 (epg--start): Use `epg-context-program' instead of
4568 (epg--list-keys-1): Likewise.
4570 2013-06-24 Leo Liu <sdl.web@gmail.com>
4572 * ido.el (ido-read-internal): Fix bug#14620.
4574 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4576 * faces.el (face-documentation): Simplify.
4577 (read-face-attribute, tty-find-type, x-resolve-font-name):
4578 Use `string-match-p'.
4579 (list-faces-display): Use `string-match-p'. Simplify.
4580 (face-spec-recalc): Check face to avoid face alias loops.
4581 (read-color): Use `string-match-p' and non-capturing parenthesis.
4583 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
4585 * net/shr.el (shr-rescale-image): Use the new
4586 :max-width/:max-height functionality.
4588 2013-06-23 Ivan Kanis <ivan@kanis.fr>
4590 * net/eww.el (eww-search-prefix): New variable.
4592 (eww-external-browser): New variable.
4593 (eww-mode-map): New keystroke.
4594 (eww-browse-with-external-browser): New command.
4596 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
4598 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
4600 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
4601 Don't skip aligning the next header field when padding is 0;
4602 otherwise, field width is not respected unless the title is as
4605 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
4607 * emacs-lisp/package.el (package-el-version): Remove.
4608 (package-process-define-package): Fix inf-loop.
4609 (package-install): Allow symbols as arguments again.
4611 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4613 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
4614 add some more keyword-like methods.
4615 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
4617 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
4619 * bs.el (bs-buffer-show-mark): Make defvar-local.
4620 (bs-mode): Use setq-local.
4622 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
4623 (emacs-lock--try-unlocking): Make defvar-local.
4625 2013-06-22 Glenn Morris <rgm@gnu.org>
4627 * play/cookie1.el (cookie-apropos): Minor simplification.
4629 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
4631 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
4633 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
4634 `regexp-opt', it breaks the build during dumping.
4636 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
4638 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4639 Highlight keyword-like methods on Kernel and Module with
4640 font-lock-builtin-face.
4641 (auto-mode-alist): Consolidate different entries into one regexp
4642 and add more *file-s.
4644 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
4646 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
4648 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
4649 (diary-entry): Use it in the action of this button type instead of
4652 * calendar/todo-mode.el: New version.
4653 (todo-add-category): Append new category to end of file and give
4654 it the highest number, instead of putting it at the beginning and
4655 giving it 0. Incorporate noninteractive functionality.
4656 (todo-forward-category): Adapt to 1-based category numbering.
4657 Allow skipping over archived categories.
4658 (todo-backward-category): Derive from todo-forward-category.
4659 (todo-backward-item, todo-forward-item): Make noninteractive and
4660 delegate interactive part to new commands. Make sensitive to done items.
4661 (todo-categories): Make value an alist of category names and
4662 vectors of item counts.
4663 (todo-category-beg): Make a defconst.
4664 (todo-category-number): Use 1 instead of 0 as initial value.
4665 (todo-category-select): Make sensitive to overlays, optional item
4666 highlighting and done items.
4667 (todo-delete-item): Make sensitive to overlays and marked and done items.
4668 (todo-edit-item): Make sensitive to overlays and editing of
4669 date/time header optional. Add format checks.
4670 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
4671 no-op if point is not on an item. Advertise using todo-edit-quit.
4672 (todo-edit-mode): Make sensitive to new format, font-locking, and
4673 multiple todo files.
4674 (todo-insert-item, todo-insert-item-here): Derive from
4675 todo-basic-insert-item and extend functionality.
4676 (todo-item-end, todo-item-start): Make sensitive to done items.
4677 (todo-item-string): Don't return text properties. Restore point.
4678 (todo-jump-to-category): Make sensitive to multiple todo files and
4679 todo archives. Use extended category completion.
4680 (todo-lower-item, todo-raise-item): Rename to *-priority and
4681 derive from todo-set-item-priority.
4682 (todo-mode): Derive from special-mode. Make sensitive to new
4683 format, font-locking and multiple todo files. Make read-only.
4684 (todo-mode-map): Don't suppress digit keys, so they can supply
4685 prefix arguments. Add many new key bindings.
4686 (todo-prefix): Insert as an overlay instead of file text.
4687 Change semantics from diary date expression to purely visual mark.
4688 (todo-print): Rename to todo-print-buffer. Make buffer display
4689 features printable. Remove option to restrict number of items
4690 printed. Add option to print to file.
4691 (todo-print-function): Rename to todo-print-buffer-function.
4692 (todo-quit): Extend to handle exiting new todo modes.
4693 (todo-remove-item): Make sensitive to overlays.
4694 (todo-save): Extend to buffers of filtered items.
4695 (todo-show): Make sensitive to done items, multiple todo files and
4696 new todo modes. Offer to convert legacy todo file before creating
4697 first new todo file.
4698 (todo-show-priorities): Rename to todo-top-priorities.
4699 Change semantics of value 0.
4700 (todo-top-priorities): Rename to todo-filter-top-priorities,
4701 derive from todo-filter-items and extend functionality.
4702 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
4703 and extend functionality to other types of filtered items.
4704 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
4705 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
4706 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
4707 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
4708 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
4709 (todo-edit-mode-hook, todo-entry-prefix-function)
4710 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
4711 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
4712 (todo-initials, todo-insert-threshold, todo-item-string-start)
4713 (todo-line-string, todo-menu, todo-mode-hook)
4714 (todo-more-important-p, todo-previous-answer, todo-previous-line)
4715 (todo-print-priorities, todo-remove-separator)
4716 (todo-save-top-priorities-too, todo-string-count-lines)
4717 (todo-string-multiline-p, todo-time-string-format)
4718 (todo-tmp-buffer-name): Remove.
4719 (todo-add-file, todo-archive-done-item, todo-choose-archive)
4720 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
4721 (todo-edit-category-diary-inclusion)
4722 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
4723 (todo-edit-file, todo-edit-item-date-day)
4724 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
4725 (todo-edit-item-date-month, todo-edit-item-date-to-today)
4726 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
4727 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
4728 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
4729 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
4730 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
4731 (todo-filter-top-priorities-multifile, todo-find-archive)
4732 (todo-find-filtered-items-file, todo-go-to-source-item)
4733 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
4734 (todo-jump-to-archive-category, todo-lower-category)
4735 (todo-mark-category, todo-marked-item-p, todo-merge-category)
4736 (todo-move-category, todo-move-item, todo-next-button)
4737 (todo-next-item, todo-padded-string, todo-powerset)
4738 (todo-previous-button, todo-previous-item)
4739 (todo-print-buffer-to-file, todo-raise-category)
4740 (todo-rename-category, todo-repair-categories-sexp, todo-search)
4741 (todo-set-category-number, todo-set-item-priority)
4742 (todo-set-top-priorities-in-category)
4743 (todo-set-top-priorities-in-file, todo-show-categories-table)
4744 (todo-sort-categories-alphabetically-or-numerically)
4745 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
4746 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
4747 (todo-toggle-item-header, todo-toggle-item-highlighting)
4748 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
4749 (todo-toggle-view-done-items, todo-toggle-view-done-only)
4750 (todo-unarchive-items, todo-unmark-category): New commands.
4751 (todo-absolute-file-name, todo-add-to-buffer-list)
4752 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
4753 (todo-basic-insert-item, todo-category-completions)
4754 (todo-category-number, todo-category-string-matcher-1)
4755 (todo-category-string-matcher-2, todo-check-filtered-items-file)
4756 (todo-check-format, todo-clear-matches)
4757 (todo-comment-string-matcher, todo-convert-legacy-date-time)
4758 (todo-current-category, todo-date-string-matcher)
4759 (todo-define-insertion-command, todo-diary-expired-matcher)
4760 (todo-diary-goto-entry, todo-diary-item-p)
4761 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
4762 (todo-display-categories, todo-display-sorted, todo-done-item-p)
4763 (todo-done-item-section-p, todo-done-separator)
4764 (todo-done-string-matcher, todo-files, todo-filter-items)
4765 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
4766 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
4767 (todo-insert-category-line, todo-insert-item-from-calendar)
4768 (todo-insert-sort-button, todo-insert-with-overlays)
4769 (todo-insertion-command-name, todo-insertion-key-bindings)
4770 (todo-label-to-key, todo-longest-category-name-length)
4771 (todo-make-categories-list, todo-mode-external-set)
4772 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
4773 (todo-modes-set-3, todo-multiple-filter-files)
4774 (todo-nondiary-marker-matcher, todo-prefix-overlays)
4775 (todo-read-category, todo-read-date, todo-read-dayname)
4776 (todo-read-file-name, todo-read-time)
4777 (todo-reevaluate-category-completions-files-defcustom)
4778 (todo-reevaluate-default-file-defcustom)
4779 (todo-reevaluate-filelist-defcustoms)
4780 (todo-reevaluate-filter-files-defcustom)
4781 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
4782 (todo-reset-done-separator, todo-reset-done-separator-string)
4783 (todo-reset-done-string, todo-reset-global-current-todo-file)
4784 (todo-reset-highlight-item, todo-reset-nondiary-marker)
4785 (todo-reset-prefix, todo-set-categories)
4786 (todo-set-date-from-calendar, todo-set-show-current-file)
4787 (todo-set-top-priorities, todo-short-file-name)
4788 (todo-show-current-file, todo-sort, todo-time-string-matcher)
4789 (todo-total-item-counts, todo-update-buffer-list)
4790 (todo-update-categories-display, todo-update-categories-sexp)
4791 (todo-update-count, todo-validate-name, todo-y-or-n-p):
4793 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
4795 (todo-categories, todo-display, todo-edit, todo-faces)
4796 (todo-filtered): New defgroups.
4797 (todo-archived-only, todo-button, todo-category-string, todo-date)
4798 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
4799 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
4800 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
4801 (todo-add-item-if-new-category, todo-always-add-time-string)
4802 (todo-categories-align, todo-categories-archived-label)
4803 (todo-categories-category-label, todo-categories-diary-label)
4804 (todo-categories-done-label, todo-categories-number-separator)
4805 (todo-categories-todo-label, todo-categories-totals-label)
4806 (todo-category-completions-files, todo-completion-ignore-case)
4807 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
4808 (todo-done-separator-string, todo-done-string)
4809 (todo-files-function, todo-filter-done-items, todo-filter-files)
4810 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
4811 (todo-initial-category, todo-initial-file, todo-item-mark)
4812 (todo-legacy-date-time-regexp, todo-mode-line-function)
4813 (todo-nondiary-marker, todo-number-prefix)
4814 (todo-print-buffer-function, todo-show-current-file)
4815 (todo-show-done-only, todo-show-first, todo-show-with-done)
4816 (todo-skip-archived-categories, todo-top-priorities-overrides)
4817 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
4818 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
4820 (todo-category-done, todo-date-pattern, todo-date-string-start)
4821 (todo-diary-items-buffer, todo-done-string-start)
4822 (todo-filtered-items-buffer, todo-item-start)
4823 (todo-month-abbrev-array, todo-month-name-array)
4824 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
4825 (todo-top-priorities-buffer): New defconsts.
4826 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
4827 (todo-categories-with-marks, todo-category-string-face)
4828 (todo-comment-face, todo-comment-string, todo-current-todo-file)
4829 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
4830 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
4831 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
4832 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
4833 (todo-font-lock-keywords, todo-global-current-todo-file)
4834 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
4835 (todo-insertion-commands-args)
4836 (todo-insertion-commands-args-genlist)
4837 (todo-insertion-commands-names, todo-insertion-map)
4838 (todo-key-bindings-t, todo-key-bindings-t+a)
4839 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
4840 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
4841 (todo-nondiary-face, todo-print-buffer, todo-time-face)
4842 (todo-visited): New variables.
4844 2013-06-21 Glenn Morris <rgm@gnu.org>
4846 * play/cookie1.el (cookie-apropos): Add optional display argument.
4847 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
4848 (psychoanalyze-pinhead): Use cookie-doctor.
4850 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4852 * emacs-lisp/package.el (tar-get-file-descriptor)
4853 (tar--extract): Declare.
4855 2013-06-21 Eduard Wiebe <usenet@pusto.de>
4857 Extend flymake's warning predicate to be a function (bug#14217).
4858 * progmodes/flymake.el (flymake-warning-predicate): New.
4859 (flymake-parse-line): Use it.
4860 (flymake-warning-re): Make obsolete alias to
4861 `flymake-warning-predicate'.
4863 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4865 * emacs-lisp/package.el (package-alist): Include obsolete packages.
4866 (package-obsolete-list): Remove.
4867 (package-activate): Remove min-version argument. Add `force' argument.
4868 Adjust to new package-alist format.
4869 (package-mark-obsolete): Remove.
4870 (package-unpack): Force reload of the package's autoloads.
4871 (package-installed-p): Check builtins if the installed package is not
4873 (package-initialize): Don't reset package-obsolete-list.
4874 Don't specify which package version to activate.
4875 (package-process-define-package, describe-package-1)
4876 (package-menu--generate): Adjust to new package-alist format.
4878 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4880 * allout-widgets.el (allout-widgets-mode-off)
4881 (allout-widgets-mode-on, allout-widgets-pre-command-business)
4882 (allout-widgets-post-command-business)
4883 (allout-widgets-after-copy-or-kill-function)
4884 (allout-widgets-after-undo-function, allout-test-range-overlaps)
4885 (allout-decorate-item-and-context)
4886 (allout-graphics-modification-handler): Fix typos in docstrings.
4887 (allout-get-or-create-parent-widget): Use `looking-at-p'.
4889 * cmuscheme.el (scheme-start-file): Doc fix.
4890 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
4891 (scheme-input-filter): Use `string-match-p'.
4893 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
4895 * dired-x.el: Use Dired consistently in docstrings.
4897 * dired.el: Use Dired consistently in docstrings.
4898 (dired-readin, dired-mode): Use `setq-local'.
4899 (dired-switches-alist): Make defvar-local.
4900 (dired-buffers-for-dir): Use `zerop'.
4901 (dired-safe-switches-p, dired-switches-escape-p)
4902 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
4903 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
4904 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
4905 (dired-goto-next-nontrivial-file): Use `string-match-p'.
4906 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
4907 (dired-toggle-marks, dired-mark-files-containing-regexp)
4908 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
4909 (dired-flag-auto-save-files, dired-flag-backup-files):
4911 (dired-mark-files-regexp, dired-build-subdir-alist):
4912 Use `string-match-p', `looking-at-p'.
4914 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
4915 (direct-print-region-helper): Use `string-match-p'.
4917 2013-06-21 Leo Liu <sdl.web@gmail.com>
4919 * comint.el (comint-redirect-results-list-from-process):
4922 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
4924 * net/eww.el (eww-update-header-line-format): Quote % characters.
4926 2013-06-21 Glenn Morris <rgm@gnu.org>
4928 * play/cookie1.el (cookie): New custom group.
4929 (cookie-file): New option.
4930 (cookie-check-file): New function.
4931 (cookie): Make it interactive. Make start and end messages optional.
4932 Interactively, display the result. Default to cookie-file.
4933 (cookie-insert): Default to cookie-file.
4934 (cookie-snarf): Make start and end messages optional.
4935 Default to cookie-file. Use with-temp-buffer.
4936 (cookie-read): Rename from read-cookie.
4937 Make start and end messages optional. Default to cookie-file.
4938 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
4940 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
4941 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
4943 2013-06-21 Leo Liu <sdl.web@gmail.com>
4945 * progmodes/octave.el (octave-mode): Backward compatibility fix.
4947 2013-06-21 Glenn Morris <rgm@gnu.org>
4949 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
4951 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
4952 Daniel Hackney <dan@haxney.org>
4954 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
4955 Consolidate the single-file vs tarball code.
4956 (package-desc-suffix): New function.
4957 (package-desc-full-name): Don't bother inlining it.
4958 (package-load-descriptor): Return the new package-desc.
4959 (package-mark-obsolete): Remove unused arg `package'.
4960 (package-unpack): Make it work for single files as well.
4961 Make it update package-alist.
4962 (package--make-autoloads-and-stuff): Rename from
4963 package--make-autoloads-and-compile. Don't compile any more.
4964 (package--compile): New function.
4965 (package-generate-description-file): New function, extracted from
4966 package-unpack-single.
4967 (package-unpack-single): Remove.
4968 (package--with-work-buffer): Add indentation and debugging info.
4969 (package-download-single): Remove.
4970 (package-install-from-archive): Rename from package-download-tar, make
4971 it take a pkg-desc, and make it work for single files as well.
4972 (package-download-transaction): Simplify.
4973 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
4974 external tar program.
4975 (package-install-from-buffer): Remove `pkg-desc' argument.
4976 Use package-tar-file-info for tar-mode buffers.
4977 (package-install-file): Simplify accordingly.
4978 (package-archive-base): Change to take a pkg-desc.
4979 * tar-mode.el (tar--check-descriptor): New function, extracted from
4981 (tar-get-descriptor): Use it.
4982 (tar-get-file-descriptor): New function.
4983 (tar--extract): New function, extracted from tar-extract.
4984 (tar--extract): Use it.
4985 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
4986 case the summary uses non-ascii. Adjust to new calling convention of
4987 package-tar-file-info.
4989 2013-06-21 Leo Liu <sdl.web@gmail.com>
4991 * comint.el (comint-redirect-results-list-from-process):
4992 Fix random delay. (Bug#14681)
4994 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
4996 * profiler.el (profiler-format-number): Use log, not log10.
4998 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5000 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
5002 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
5004 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
5005 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
5007 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
5008 (AUTOGENEL): ... here.
5009 * emacs-lisp/cl-macs.el (cl--sublis): New function.
5010 (cl--defsubst-expand): Use it.
5012 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
5014 * subr.el (log10): Move here from C code, and declare as obsolete.
5015 All uses of (log10 X) replaced with (log X 10).
5017 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5019 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
5020 Declare with `defvar-local'.
5021 (tabulated-list-use-header-line, tabulated-list-entries)
5022 (tabulated-list-padding, tabulated-list-printer)
5023 (tabulated-list-sort-key): Declare with `defvar-local'.
5024 (tabulated-list-init-header, tabulated-list-print-fake-header):
5027 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
5029 * arc-mode.el (archive-mode): Add `archive-write-file' to
5030 `write-contents-functions' also for remote files. (Bug#14652)
5032 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
5034 * cus-edit.el (custom-commands): Fix typos.
5035 (custom-display): Fix tooltip text.
5036 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
5037 Fix typos in docstrings.
5038 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
5039 (custom-unlispify-menu-entry, custom-magic-value-create)
5040 (custom-add-see-also, custom-group-value-create): Use ?\s.
5041 (custom-guess-type, customize-apropos, editable-field)
5042 (custom-face-value-create): Use `string-match-p'.
5043 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
5045 * custom.el (custom-load-symbol): Use `string-match-p'.
5047 * ansi-color.el: Convert to lexical binding.
5048 (ansi-colors): Fix URL.
5049 (ansi-color-context, ansi-color-context-region): Use defvar-local.
5050 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
5051 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
5053 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5055 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
5057 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
5059 2013-06-19 Tom Tromey <tromey@redhat.com>
5061 * net/eww.el (eww-top-url): Remove.
5062 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
5063 (eww-render): Set new variables. Don't set eww-top-url.
5064 (eww-handle-link): Handle "prev", "home", and "contents".
5065 Downcase the rel text.
5066 (eww-top-url): Choose best top URL.
5068 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5070 * net/eww.el: Rewrite to implement form elements "by hand" instead of
5071 relying in widget.el. Using widget.el leads to too many
5072 user interface inconsistencies.
5073 (eww-self-insert): Implement entering commands in text fields.
5074 (eww-process-text-input): New function to make text input field editing
5076 (eww-submit): Rewrite to use the new-style form methods.
5077 (eww-select-display): Display the correct selected item.
5078 (eww-change-select): Implement changing the select value.
5079 (eww-toggle-checkbox): Implement radio/checkboxes.
5080 (eww-update-field): Fix compilation error.
5081 (eww-tag-textarea): Implement <textarea>.
5083 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
5084 we don't shadow mode-specific bindings.
5086 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
5089 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
5091 2013-06-19 Glenn Morris <rgm@gnu.org>
5093 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
5095 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5097 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
5100 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
5102 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
5104 * net/browse-url.el (browse-url-browser-function):
5105 `eww-browse-url' has the right calling signature, `eww' does not.
5107 2013-06-19 Glenn Morris <rgm@gnu.org>
5109 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
5110 Only eval autoloaded macros.
5111 (byte-compile-autoload): Only give the macro warning for macros.
5113 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
5114 (ps-underlined-faces): Declare.
5116 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
5117 (speedbar-add-supported-extension): Declare.
5119 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
5120 Don't include a date stamp in the header of the generated file;
5121 it leads to needless differences between output files.
5123 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
5125 * net/secrets.el (secrets-struct-secret-content-type):
5126 Replace check of introspection data by a test call of "CreateItem".
5127 Some servers do not offer introspection.
5129 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
5131 * electric.el (electric-pair-mode): Improve interaction with
5132 electric-layout-mode.
5133 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
5134 (electric-pair-syntax): Use text-mode-syntax-table in comments
5136 (electric-pair--insert): New function.
5137 (electric-pair-post-self-insert-function): Use it and
5138 electric--after-char-pos.
5140 2013-06-19 Leo Liu <sdl.web@gmail.com>
5142 * progmodes/octave.el (octave-help): Fix regexp.
5144 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
5146 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
5147 (shr-table-horizontal-line): Allow nil as a value, and change the
5149 (shr-insert-table-ruler): Respect the nil value.
5151 2013-06-18 Tom Tromey <tromey@barimba>
5153 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5155 (eww-open-file): New defun.
5156 (eww-render): Initialize new variables.
5157 (eww-display-html): Handle "link" and "a".
5158 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
5159 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
5160 (eww-back-url): Rename from eww-previous-url.
5161 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
5164 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
5166 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
5167 Distinguish ternary operator tokens from slash symbol and slash
5170 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5172 Convert symbol prettification into minor mode and global minor mode.
5174 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
5175 `prog-prettify-symbols', and make a local defvar instead of defcustom.
5176 (prettify-symbols--keywords): Rename from
5177 `prog-prettify-symbols-alist' and make a local defvar.
5178 (prettify-symbols--compose-symbol): Rename from
5179 `prog--prettify-font-lock-compose-symbol'.
5180 (prettify-symbols--make-keywords): Rename from
5181 `prog-prettify-font-lock-symbols-keywords' and simplify.
5182 (prog-prettify-install): Remove.
5183 (prettify-symbols-mode): New minor mode, based on
5184 `prog-prettify-install'.
5185 (turn-on-prettify-symbols-mode): New function.
5186 (global-prettify-symbols-mode): New globalized minor mode.
5188 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5189 * progmodes/cfengine.el (cfengine3-mode):
5190 * progmodes/perl-mode.el (perl-mode): Don't call
5191 `prog-prettify-install'; set `prettify-symbols-alist' instead.
5193 2013-06-18 Juri Linkov <juri@jurta.org>
5195 * files-x.el (modify-file-local-variable-message): New function.
5196 (modify-file-local-variable)
5197 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
5198 and call `modify-file-local-variable-message' when it's non-nil.
5199 (add-file-local-variable, delete-file-local-variable)
5200 (add-file-local-variable-prop-line)
5201 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
5202 and use it. (Bug#9820)
5204 2013-06-18 Juri Linkov <juri@jurta.org>
5206 * emulation/vi.el (vi-shell-op):
5207 * emulation/vip.el (vip-execute-com, ex-command):
5208 * emulation/viper-cmd.el (viper-exec-bang):
5209 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
5210 the call of `shell-command-on-region'. (Bug#14637)
5212 * simple.el (shell-command-on-region): Doc fix.
5214 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5216 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
5219 2013-06-18 Glenn Morris <rgm@gnu.org>
5221 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
5223 * newcomment.el (comment-search-forward, comment-search-backward):
5224 Doc fix. (Bug#14376)
5226 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
5228 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
5229 (buffer-face-mode-invoke): Doc fix.
5231 2013-06-18 Matthias Meulien <orontee@gmail.com>
5233 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
5234 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
5236 2013-06-18 Glenn Morris <rgm@gnu.org>
5238 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
5239 Replace obsolete function generic-make-keywords with its expansion.
5241 * progmodes/python.el (ffap-alist): Declare.
5243 * textmodes/reftex.el (bibtex-mode-map): Declare.
5245 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
5247 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
5248 (package-unpack, package-unpack-single): Return the pkg-dir.
5249 (package-download-transaction): Use it to update package-alist.
5251 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
5253 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
5256 2013-06-17 Juri Linkov <juri@jurta.org>
5258 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
5260 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5262 * emacs-lisp/package.el (package-load-descriptor):
5263 Remove `with-syntax-table' call, `read' doesn't need it.
5264 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
5266 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5268 * startup.el (command-line): Expand package name returned by
5269 `package--description-file' (bug#14639).
5271 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
5273 * emacs-lisp/package.el (package-load-descriptor): Do not call
5274 `emacs-lisp-mode', just use its syntax table.
5276 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
5278 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
5279 `font-lock-extra-managed-props' if any prettifying keyword is added.
5280 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
5281 (prog-mode): Use `setq-local'.
5283 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
5285 * international/characters.el (standard-case-table): Set syntax of ?»
5286 and ?« to punctuation.
5288 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
5290 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
5291 Save relevant match data before calling `syntax-ppss' (bug#14595).
5293 2013-06-15 Juri Linkov <juri@jurta.org>
5295 * files-x.el (modify-file-local-variable-prop-line): Add local
5296 variables to the end of the existing comment on the first line.
5297 Use `file-auto-mode-skip' to skip interpreter magic line,
5298 and also skip XML declaration.
5300 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
5302 * startup.el (package--builtin-versions): New var.
5303 (package-subdirectory-regexp): Remove.
5304 (package--description-file): Hard code its value instead.
5306 * emacs-lisp/package.el: Don't activate packages older than builtin.
5307 (package-obsolete-list): Rename from package-obsolete-alist, and make
5308 it into a simple list of package-desc.
5309 (package-strip-version): Remove.
5310 (package-built-in-p): Use package--builtin-versions.
5311 (package-mark-obsolete): Simplify.
5312 (package-process-define-package): Mark it obsolete if older than the
5314 (package-handle-response): Use line-end-position.
5315 (package-read-archive-contents, package--download-one-archive):
5317 (package--add-to-archive-contents): Skip if older than the builtin or
5319 (package-menu-describe-package): Fix last change.
5320 (package-list-unversioned): New var.
5321 (package-menu--generate): Use it.
5323 * emacs-lisp/autoload.el: Manage package--builtin-versions.
5324 (autoload--insert-text, autoload--insert-cookie-text): New functions.
5325 (autoload-builtin-package-versions): New variable.
5326 (autoload-generate-file-autoloads): Use them.
5327 Remove the list of autoloaded functions/macros from the
5328 (autoload...) comments.
5330 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
5332 2013-06-15 Eli Zaretskii <eliz@gnu.org>
5334 * simple.el (line-move-partial): Don't jump to the next screen
5335 line as soon as it becomes visible. Instead, continue enlarging
5336 the vscroll until the portion of a tall screen line that's left on
5337 display is about the height of the frame's default font.
5340 2013-06-15 Glenn Morris <rgm@gnu.org>
5342 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
5343 compilation-error-regexp-alist void, or local while let-bound.
5345 * progmodes/make-mode.el (makefile-mode-syntax-table):
5346 Treat "=" as punctuation. (Bug#14614)
5348 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
5350 * help-fns.el (describe-variable):
5351 Add extra line for permanent-local variables.
5353 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
5355 * progmodes/scheme.el (scheme-font-lock-keywords-2):
5356 Add export, import, library. (Bug#9164)
5357 (library): Set indent function.
5359 2013-06-14 Glenn Morris <rgm@gnu.org>
5361 * term/xterm.el (xterm--query):
5362 Stop after first matching handler. (Bug#14615)
5364 2013-06-14 Ivan Kanis <ivan@kanis.fr>
5366 Add support for dired in saveplace.
5367 * dired.el (dired-initial-position-hook): New variable.
5368 (dired-initial-position): Call hook to place cursor position.
5369 * saveplace.el (save-place-to-alist): Add dired position.
5370 (save-place-dired-hook): New function.
5372 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
5374 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
5375 through a symbol rather than letrec.
5377 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
5378 (package-desc): Add `dir' field.
5379 (package-desc-full-name): New function.
5380 (package-load-descriptor): Combine the two arguments. Don't use `load'.
5381 (package-maybe-load-descriptor): Remove.
5382 (package-load-all-descriptors): Just call package-load-descriptor.
5383 (package--disabled-p): New function.
5384 (package-desc-vers, package-desc-doc): Remove aliases.
5385 (package--dir): Remove function.
5386 (package-activate): Check if a package is disabled.
5387 (package-process-define-package): New function, extracted from
5389 (define-package): Turn into a place holder.
5390 (package-unpack-single, package-tar-file-info):
5391 Use package--description-file.
5392 (package-compute-transaction): Use package--disabled-p.
5393 (package-download-transaction): Don't call
5394 package-maybe-load-descriptor since they're all loaded anyway.
5395 (package-install): Change argument to be a pkg-desc.
5396 (package-delete): Use a single pkg-desc argument.
5397 (describe-package-1): Use package-desc-dir instead of package--dir.
5398 Use package-desc property instead of package-symbol.
5399 (package-install-button-action): Adjust accordingly.
5400 (package--push): Rewrite.
5401 (package-menu--print-info): Adjust accordingly. Change the ID format
5403 (package-menu-describe-package, package-menu-get-status)
5404 (package-menu--find-upgrades, package-menu-mark-upgrades)
5405 (package-menu-execute, package-menu--name-predicate):
5407 * startup.el (package--description-file): New function.
5408 (command-line): Use it.
5409 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5410 Use package-desc-version.
5412 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
5413 (byte-compile-preprocess): Use it.
5414 (byte-compile-file-form-defalias): Try a bit harder to use macros we
5415 can't quite recognize.
5416 (byte-compile-add-to-list): Remove.
5417 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
5418 (cconv-closure-convert): Add assertion.
5420 * emacs-lisp/map-ynp.el: Use lexical-binding.
5421 (map-y-or-n-p): Remove unused vars `tail' and `object'.
5422 Factor out some repeated code.
5424 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5426 * subr.el (with-eval-after-load): New macro.
5427 (eval-after-load): Allow form to be a function.
5428 take advantage of lexical-binding.
5429 (do-after-load-evaluation): Use dolist and adjust to new format.
5430 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
5432 2013-06-13 Juri Linkov <juri@jurta.org>
5434 * replace.el (perform-replace): Display "symbol " and other search
5435 modes from `isearch-message-prefix' in the *Help* buffer.
5437 * isearch.el (isearch-query-replace): Add " symbol" and other
5438 possible search modes from `isearch-message-prefix' to the prompt.
5439 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
5440 when reading a regexp to collect.
5442 2013-06-13 Juri Linkov <juri@jurta.org>
5444 * isearch.el (word-search-regexp): Match whitespace if the search
5445 string begins or ends in whitespace. The LAX arg is applied to
5446 both ends of the search string. Use `regexp-quote' and explicit
5447 \< and \> instead of \b. Use \` and \' instead of ^ and $.
5448 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
5449 boundaries are replaced with symbol boundaries, and characters
5450 between symbols match non-word non-symbol syntax. (Bug#14602)
5452 2013-06-13 Juri Linkov <juri@jurta.org>
5454 * isearch.el (isearch-del-char): Don't exceed the length of
5455 `isearch-string' by the prefix arg. (Bug#14563)
5457 2013-06-13 Juri Linkov <juri@jurta.org>
5459 * isearch.el (isearch-yank-word, isearch-yank-line)
5460 (isearch-char-by-name, isearch-quote-char)
5461 (isearch-printing-char, isearch-process-search-char):
5462 Add optional count prefix arg. (Bug#14563)
5464 * international/isearch-x.el
5465 (isearch-process-search-multibyte-characters):
5466 Add optional count prefix arg.
5468 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
5470 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
5471 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
5474 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
5476 * subr.el (set-temporary-overlay-map): Add on-exit argument.
5478 2013-06-13 Glenn Morris <rgm@gnu.org>
5480 * startup.el (tty-handle-args):
5481 Don't just discard "--" and anything after. (Bug#14608)
5483 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
5485 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
5487 Implement changes in Secret Service API. Make it backward compatible.
5488 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
5489 (secrets-create-item): Use it. Prefix properties with interface.
5491 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
5493 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
5494 (term-emulate-terminal): Respect term-suppress-hard-newline.
5496 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
5498 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
5499 Only remove a `thumb-file' overlay. (Bug#14548)
5501 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
5503 * mail/reporter.el (reporter-submit-bug-report):
5504 Handle missing package-name. (Bug#14600)
5506 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5508 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
5509 (reftex-citation-prompt, reftex-default-bibliography)
5510 (reftex-bib-or-thebib, reftex-get-bibfile-list)
5511 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
5512 (reftex-bib-sort-author, reftex-bib-sort-year)
5513 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
5514 (reftex-extract-bib-entries-from-thebibliography)
5515 (reftex-get-bibkey-default, reftex-get-bib-names)
5516 (reftex-parse-bibtex-entry, reftex-get-bib-field)
5517 (reftex-format-bib-entry, reftex-parse-bibitem)
5518 (reftex-format-bibitem, reftex-do-citation)
5519 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
5520 (reftex-restrict-bib-matches, reftex-extract-bib-file)
5521 (reftex-insert-bib-matches, reftex-format-citation)
5522 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
5523 (reftex-create-bibtex-file): Add docstrings, mostly by converting
5524 existing comments into docstrings.
5526 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5528 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
5530 2013-06-12 Andreas Schwab <schwab@suse.de>
5532 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
5533 for auto-save files.
5535 2013-06-12 Glenn Morris <rgm@gnu.org>
5537 * ido.el (ido-delete-ignored-files): Remove.
5538 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
5539 Go back to calling ido-ignore-item-p directly.
5541 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
5543 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
5545 * ido.el (ido-delete-ignored-files): New function,
5546 split from ido-make-file-list-1.
5547 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
5548 (ido-make-file-list-1): Use ido-delete-ignored-files.
5550 2013-06-12 Leo Liu <sdl.web@gmail.com>
5552 * progmodes/octave.el (inferior-octave-startup)
5553 (inferior-octave-completion-table)
5554 (inferior-octave-track-window-width-change)
5555 (octave-eldoc-function-signatures, octave-help)
5556 (octave-find-definition): Use single quoted strings.
5557 (inferior-octave-startup-args): Change default value.
5558 (inferior-octave-startup): Do not hard code "-i" and
5559 "--no-line-editing".
5560 (inferior-octave-resync-dirs): Add optional arg NOERROR.
5561 (inferior-octave-directory-tracker): Use it.
5562 (octave-goto-function-definition): Robustify.
5563 (octave-help): Support highlighting operators in 'See also'.
5564 (octave-find-definition): Find subfunctions only in Octave mode.
5566 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5568 * help-fns.el (help-fns--compiler-macro): If the handler function is
5569 named, then put a link to it.
5570 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
5571 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
5573 (cl-eval-when): Simplify debug spec.
5574 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
5575 compiler-macro function instead of setting `compiler-macro-file'.
5577 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
5579 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
5580 * vc/vc-hooks.el (vc-stay-local): Doc fix.
5582 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
5583 Daniel Hackney <dan@haxney.org>
5585 First part of Daniel Hackney's patch to package.el.
5586 * emacs-lisp/package.el: Use defstruct.
5587 (package-desc): New, main struct.
5588 (package--bi-desc, package--ac-desc): New structs, used to describe the
5589 format in external files.
5590 (package-desc-vers): Replace with package-desc-version accessor.
5591 (package-desc-doc): Replace with package-desc-summary accessor.
5592 (package-activate-1): Remove `package' arg since the pkg-vec now
5594 (define-package): Use package-desc-from-define.
5595 (package-unpack-single): Change file-name arg to be a symbol.
5596 (package--add-to-archive-contents): Use package-desc-create and new
5597 accessor functions to package--ac-desc.
5598 (package-buffer-info, package-tar-file-info): Return a package-desc.
5599 (package-install-from-buffer): Remove `type' argument. Change pkg-info
5600 arg to be a package-desc.
5601 (package-install-file): Adjust accordingly. Use \' to match EOS.
5602 (package--from-builtin): New function.
5603 (describe-package-1, package-menu--generate): Use it.
5604 (package--make-autoloads-and-compile): Change name arg to be a symbol.
5605 (package-generate-autoloads): Idem and return the name of the file.
5606 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5607 Change pkg-info arg to be a package-desc.
5608 Use package-make-ac-desc.
5609 (package-upload-file): Use \' to match EOS.
5610 * finder.el (finder-compile-keywords): Use package-make-builtin.
5612 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5614 * vc/vc.el (vc-deduce-fileset): Change error message.
5615 (vc-read-backend): New function.
5616 (vc-next-action): Use it.
5618 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
5620 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
5621 (prolog-font-lock-keywords): Use regexp-opt instead.
5622 Don't manually highlight strings.
5623 (prolog-mode-variables): Simplify comment-start-skip.
5624 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
5626 * emacs-lisp/generic.el (generic--normalise-comments)
5627 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
5628 (generic-mode-set-comments): Use them.
5629 (generic-bracket-support): Use setq-local.
5630 (generic-make-keywords-list): Declare obsolete.
5632 2013-06-11 Glenn Morris <rgm@gnu.org>
5634 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
5635 Prettify after setting font-lock-defaults. (Bug#14574)
5637 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
5639 * replace.el (query-replace, occur-read-regexp-defaults-function)
5641 * subr.el (declare-function, number-sequence, local-set-key)
5642 (substitute-key-definition, locate-user-emacs-file)
5643 (with-silent-modifications, split-string, eval-after-load):
5644 Fix typos, remove unneeded backslashes and reflow some docstrings.
5646 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
5648 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
5649 default for Elisp files.
5651 2013-06-11 Glenn Morris <rgm@gnu.org>
5653 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
5654 although define-derived-mode was doing this anyway. (Bug#14583)
5656 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
5658 * allout.el (allout-encryption-plaintext-sanitization-regexps):
5659 Fix make-variable-buffer-local call to refer to the correct variable.
5661 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
5663 * eshell/em-term.el (eshell-visual-commands)
5664 (eshell-visual-subcommands, eshell-visual-options):
5665 Add summary line to docstrings. Add cross-references.
5667 2013-06-10 Glenn Morris <rgm@gnu.org>
5669 * epa.el (epa-read-file-name): New function. (Bug#14510)
5670 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
5672 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5674 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
5675 output redirection to be ignored with visual commands.
5677 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
5679 * eshell/em-term.el (eshell-visual-command-p): New function.
5680 (eshell-term-initialize): Move long lambda to separate function
5681 eshell-visual-command-p.
5682 * eshell/em-dirs.el (eshell-dirs-initialise):
5683 * eshell/em-script.el (eshell-script-initialize):
5684 Add missing #' to lambda.
5686 2013-06-08 Leo Liu <sdl.web@gmail.com>
5688 * progmodes/octave.el (octave-add-log-current-defun): New function.
5689 (octave-mode): Set add-log-current-defun-function.
5690 (octave-goto-function-definition): Do not move point if not found.
5691 (octave-find-definition): Enhance to try subfunctions first.
5693 2013-06-08 Glenn Morris <rgm@gnu.org>
5695 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5696 (byte-compile-backward-char, byte-compile-backward-word):
5697 Improve previous change, to handle non-explicit nil.
5699 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
5701 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
5702 (smie--opener/closer-at-point): New function.
5703 (smie--matching-block-data): Use it. Don't match from right after an
5704 opener or right before a closer. Obey smie-blink-matching-inners.
5705 Don't signal a mismatch for repeated inners like "switch..case..case".
5707 2013-06-07 Leo Liu <sdl.web@gmail.com>
5709 * progmodes/octave.el (octave-mode): Set comment-use-global-state
5711 (octave-function-header-regexp): Fix. (Bug#14570)
5712 (octave-help-mode-finish-hook, octave-help-mode-finish):
5713 Remove. Just use temp-buffer-show-hook.
5715 * newcomment.el (comment-search-backward): Revert last change.
5718 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
5720 2013-06-07 Eli Zaretskii <eliz@gnu.org>
5722 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
5723 through xargs, to avoid failure due to MS-Windows limitations on
5724 command-line length.
5726 2013-06-06 Glenn Morris <rgm@gnu.org>
5728 * font-lock.el (lisp-font-lock-keywords-2):
5729 Treat user-error like error.
5731 * emacs-lisp/bytecomp.el (byte-compile-char-before)
5732 (byte-compile-backward-char, byte-compile-backward-word):
5733 Handle explicit nil arguments. (Bug#14565)
5735 2013-06-05 Alan Mackenzie <acm@muc.de>
5737 * isearch.el (isearch-allow-prefix): New user option.
5738 (isearch-other-meta-char): Don't exit isearch when a prefix
5739 argument is typed whilst `isearch-allow-prefix' is non-nil.
5742 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5744 * autorevert.el (auto-revert-notify-handler): Use memq.
5745 Hide assertion failure.
5747 * skeleton.el: Use cl-lib.
5748 (skeleton-further-elements): Use defvar-local.
5749 (skeleton-insert): Use cl-progv.
5751 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5753 * progmodes/prog-mode.el (prog-prettify-symbols)
5754 (prog-prettify-install): Update docstrings.
5756 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * simple.el: Move all the prog-mode code to prog-mode.el.
5759 * progmodes/prog-mode.el: New file.
5760 * loadup.el: Add prog-mode.el.
5762 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5764 * simple.el (prog-prettify-symbols): Add version.
5765 (prog-prettify-install): Add convenience function to prettify symbols.
5767 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
5768 (perl--augmented-font-lock-keywords-1)
5769 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
5770 variables and use it.
5772 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5773 (cfengine3-mode): Remove unneeded variable and use it.
5775 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5776 (lisp--augmented-font-lock-keywords-1)
5777 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
5778 Remove unneeded variables and use it.
5780 2013-06-05 João Távora <joaotavora@gmail.com>
5782 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
5783 to point when opening the connection. (Bug#14380)
5785 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5787 * subr.el (load-history-regexp, load-history-filename-element)
5788 (eval-after-load, after-load-functions, do-after-load-evaluation)
5789 (eval-next-after-load, display-delayed-warnings)
5790 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
5791 definition of save-match-data.
5792 (overriding-local-map): Remove accidental obsolescence declaration.
5794 * emacs-lisp/edebug.el (edebug-result): Move before first use.
5796 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
5798 Generalize symbol prettify support to prog-mode and implement it
5799 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
5800 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
5801 (prog--prettify-font-lock-compose-symbol)
5802 (prog-prettify-font-lock-symbols-keywords): New variables and
5803 functions to support symbol prettification.
5804 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
5805 (lisp--augmented-font-lock-keywords-1)
5806 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
5807 (lisp--prettify-symbols-alist): Implement prettify of lambda.
5808 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
5809 (cfengine3--prettify-symbols-alist, cfengine3-mode):
5810 Implement prettify of -> => :: strings.
5811 * progmodes/perl-mode.el (perl-prettify-symbols)
5812 (perl--font-lock-compose-symbol)
5813 (perl--font-lock-symbols-keywords): Move to prog-mode.
5814 (perl--prettify-symbols-alist): Prettify -> => :: strings.
5815 (perl-font-lock-keywords-1)
5816 (perl-font-lock-keywords-2): Remove explicit prettify support.
5817 (perl--augmented-font-lock-keywords)
5818 (perl--augmented-font-lock-keywords-1)
5819 (perl--augmented-font-lock-keywords-2, perl-mode):
5820 Implement prettify support.
5822 2013-06-05 Leo Liu <sdl.web@gmail.com>
5824 Re-implement smie matching block highlight using
5825 show-paren-data-function. (Bug#14395)
5826 * emacs-lisp/smie.el (smie-matching-block-highlight)
5827 (smie--highlight-matching-block-overlay)
5828 (smie--highlight-matching-block-lastpos)
5829 (smie-highlight-matching-block)
5830 (smie-highlight-matching-block-mode): Remove.
5831 (smie--matching-block-data-cache): New variable.
5832 (smie--matching-block-data): New function.
5833 (smie-setup): Use smie--matching-block-data for
5834 show-paren-data-function.
5836 * progmodes/octave.el (octave-mode-menu): Fix.
5837 (octave-find-definition): Skip garbage lines.
5839 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
5841 Fix compilation error with simultaneous dynamic+lexical scoping.
5842 Add warning when a defvar appears after the first let-binding.
5843 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
5844 (byte-compile-close-variables): Initialize it.
5845 (byte-compile--declare-var): New function.
5846 (byte-compile-file-form-defvar)
5847 (byte-compile-file-form-define-abbrev-table)
5848 (byte-compile-file-form-custom-declare-variable): Use it.
5849 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
5850 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
5851 (byte-compile-bind): Handle dynamic bindings that shadow
5853 (byte-compile-unbind): Make arg non-optional.
5854 (byte-compile-let): Simplify.
5855 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
5856 (cconv--analyse-function, cconv-analyse-form): Populate it.
5857 Protect byte-compile-bound-variables to limit the scope of defvars.
5858 (cconv-analyse-form): Add missing rule for (defvar <foo>).
5859 Remove unneeded rule for `declare'.
5861 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
5862 so as to avoid depending on cl-adjoin at run-time.
5863 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
5865 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
5866 (macroexp--warn-and-return): Use it.
5868 2013-06-05 Leo Liu <sdl.web@gmail.com>
5870 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
5872 2013-06-04 Leo Liu <sdl.web@gmail.com>
5874 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
5875 (compilation-auto-jump): Suppress the "Mark set" message to give
5876 way to exit message.
5878 2013-06-04 Alan Mackenzie <acm@muc.de>
5880 Remove faulty optimisation from indentation calculation.
5881 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
5882 search limit based on 2000 characters back from indent-point.
5884 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5886 * eshell/em-term.el (cl-lib): Require `cl-lib'.
5888 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
5890 * emacs-lisp/lisp.el: Use lexical-binding.
5891 (lisp--local-variables-1, lisp--local-variables): New functions.
5892 (lisp--local-variables-completion-table): New var.
5893 (lisp-completion-at-point): Use it complete let-bound vars.
5895 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
5896 eagerly (bug#14422).
5898 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
5900 * autorevert.el (auto-revert-notify-enabled)
5901 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
5902 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
5903 (auto-revert-notify-handler): Handle also gfilenotify.
5905 * subr.el (file-notify-handle-event): New defun. Replacing ...
5906 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
5909 2013-06-03 Juri Linkov <juri@jurta.org>
5911 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
5912 `M-s h .'. (Bug#14427)
5914 * hi-lock.el (highlight-symbol-at-point): New alias for the new
5915 command `hi-lock-face-symbol-at-point'.
5916 (hi-lock-face-symbol-at-point): New command.
5917 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
5918 (hi-lock-menu): Add `highlight-symbol-at-point'.
5919 (hi-lock-mode): Doc fix.
5921 * isearch.el (isearch-forward-symbol-at-point): New command.
5922 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
5923 (isearch-highlight-regexp): Add a regexp which matches
5924 words/symbols for word/symbol mode.
5926 * subr.el (find-tag-default-bounds): New function with the body
5927 mostly moved from `find-tag-default'.
5928 (find-tag-default): Move most code to `find-tag-default-bounds',
5929 call it and apply `buffer-substring-no-properties' afterwards.
5931 2013-06-03 Tassilo Horn <tsdh@gnu.org>
5933 * eshell/em-term.el (eshell-term-initialize):
5934 Use `cl-intersection' rather than `intersection'.
5936 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
5938 * vc/log-view.el: Doc fix.
5939 (log-view-mode-map): Copy keymap from `special-mode-map'.
5941 2013-06-02 Eric Ludlam <zappo@gnu.org>
5943 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
5944 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
5945 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
5946 (eieio-unbound, eieio-default-superclass)
5947 (eieio--define-field-accessors, method-static, method-before)
5948 (method-primary, method-after, method-num-lists)
5949 (method-generic-before, method-generic-primary)
5950 (method-generic-after, method-num-slots)
5951 (eieio-specialized-key-to-generic-key)
5952 (eieio--check-type, class-v, class-p)
5953 (eieio-class-name, define-obsolete-function-alias)
5954 (eieio-class-parents-fast, eieio-class-children-fast)
5955 (same-class-fast-p, class-constructor, generic-p)
5956 (generic-primary-only-p, generic-primary-only-one-p)
5957 (class-option-assoc, class-option, eieio-object-p)
5958 (class-abstract-p, class-method-invocation-order)
5959 (eieio-defclass-autoload-map, eieio-defclass-autoload)
5960 (eieio-class-un-autoload, eieio-defclass)
5961 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
5962 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
5963 (eieio--defgeneric-init-form, eieio-defgeneric-form)
5964 (eieio-defgeneric-reset-generic-form)
5965 (eieio-defgeneric-form-primary-only)
5966 (eieio-defgeneric-reset-generic-form-primary-only)
5967 (eieio-defgeneric-form-primary-only-one)
5968 (eieio-defgeneric-reset-generic-form-primary-only-one)
5969 (eieio-unbind-method-implementations)
5970 (eieio--defmethod, eieio--typep)
5971 (eieio-perform-slot-validation, eieio-validate-slot-value)
5972 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
5973 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
5974 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
5975 (eieio-slot-name-index, eieio-class-slot-name-index)
5976 (eieio-set-defaults, eieio-initarg-to-attribute)
5977 (eieio-attribute-to-initarg, eieio-c3-candidate)
5978 (eieio-c3-merge-lists, eieio-class-precedence-c3)
5979 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
5980 (eieio-class-precedence-list, eieio-generic-call-methodname)
5981 (eieio-generic-call-arglst, eieio-generic-call-key)
5982 (eieio-generic-call-next-method-list)
5983 (eieio-pre-method-execution-functions, eieio-generic-call)
5984 (eieio-generic-call-primary-only, eieiomt-method-list)
5985 (eieiomt-optimizing-obarray, eieiomt-install)
5986 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
5987 (eieio-generic-form, eieio-defmethod, make-obsolete)
5988 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
5989 (defclass): Remove `eval-and-compile' from macro.
5990 (call-next-method, shared-initialize): Instead of using
5991 `scoped-class' variable, use new eieio--scoped-class, and
5992 eieio--with-scoped-class.
5993 (initialize-instance): Rename local variable 'scoped-class' to
5994 'this-class' to remove ambiguitity from old global.
5996 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
5998 (eieio--scoped-class-stack): New variable.
5999 (eieio--scoped-class): New fcn.
6000 (eieio--with-scoped-class): New scoping macro.
6001 (eieio-defclass): Use pushnew instead of add-to-list.
6002 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
6003 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
6004 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
6005 `scoped-class' variable, use new eieio--scoped-class, and
6006 eieio--with-scoped-class.
6008 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
6010 2013-06-02 Tassilo Horn <tsdh@gnu.org>
6012 * eshell/esh-ext.el (eshell-external-command): Pass args to
6013 `eshell-find-interpreter'.
6014 (eshell-find-interpreter): Add new second parameter ARGS.
6016 * eshell/em-script.el (eshell-script-initialize): Add second arg
6017 to the function added as MATCH to `eshell-interpreter-alist'.
6019 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
6020 the function added as MATCH to `eshell-interpreter-alist'.
6022 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
6023 (eshell-visual-options): New defcustom.
6024 (eshell-escape-control-x): Adapt docstring.
6025 (eshell-term-initialize): Test `eshell-visual-subcommands' and
6026 `eshell-visual-options' in addition to `eshell-visual-commands'.
6027 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
6029 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
6031 * progmodes/python.el (python-indent-block-enders): Add break,
6032 continue and raise keywords.
6034 2013-06-01 Glenn Morris <rgm@gnu.org>
6036 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
6038 Plain (f)boundp silences compilation warnings since Emacs 22.1.
6039 * progmodes/cc-cmds.el (delete-forward-p):
6040 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
6041 * progmodes/cc-engine.el (buffer-syntactic-context):
6042 * progmodes/cc-fonts.el (face-property-instance):
6043 * progmodes/cc-mode.el (set-keymap-parents):
6044 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
6045 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
6046 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
6047 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
6048 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
6050 * progmodes/cc-vars.el (other): Emacs has this widget since
6051 at least 21.1, so don't (re)define it.
6053 * eshell/em-cmpl.el (eshell-cmpl-initialize):
6054 Replace the obsolete alias pcomplete-arg-quote-list.
6056 2013-06-01 Leo Liu <sdl.web@gmail.com>
6058 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
6060 (inferior-octave-minimal-columns)
6061 (inferior-octave-last-column-width): New variables.
6062 (inferior-octave-track-window-width-change): New function.
6063 (inferior-octave-mode): Adjust column width so that Octave output,
6064 for example from 'ls', can fit into the window nicely.
6066 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6068 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6069 Highlight expansions inside regexp literals.
6071 2013-05-31 Glenn Morris <rgm@gnu.org>
6073 * obsolete/sym-comp.el (symbol-complete):
6074 Replace obsolete completion-annotate-function.
6076 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
6078 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
6080 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
6081 New function, checks if point is inside a literal that allows
6082 expression expansion.
6083 (ruby-syntax-propertize-expansion): Use it.
6084 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
6087 2013-05-30 Juri Linkov <juri@jurta.org>
6089 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
6091 (isearch-invisible): New variable.
6092 (isearch-forward): Doc fix.
6093 (isearch-mode): Set `isearch-invisible'
6094 to the value of `search-invisible'.
6095 (isearch-toggle-case-fold): Doc fix.
6096 (isearch-toggle-invisible): New command.
6097 (isearch-query-replace): Let-bind `search-invisible'
6098 to the value of `isearch-invisible'.
6099 (isearch-search): Use `isearch-invisible' instead of
6100 `search-invisible'. Let-bind `search-invisible'
6101 to the value of `isearch-invisible'. (Bug#11378)
6103 2013-05-30 Juri Linkov <juri@jurta.org>
6105 * replace.el (perform-replace): Avoid `isearch-range-invisible'
6106 call when `query-flag' is nil and `search-invisible' is non-nil.
6109 2013-05-30 Glenn Morris <rgm@gnu.org>
6111 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
6113 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
6114 (cc-require): Suppress spurious "noruntime" warnings.
6115 (cc-require-when-compile): Use fboundp, for sake of compiler.
6117 * progmodes/cc-mode.el: Move load of cc-vars before that of
6118 cc-langs (which in turn loads cc-vars), to quieten compiler.
6120 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6122 * paren.el: Simplify the code.
6123 (show-paren-mode): Always start the timer.
6124 (show-paren--idle-timer): Rename from show-paren-idle-timer.
6125 (show-paren--overlay, show-paren--overlay-1): Rename from
6126 show-paren-overlay and show-paren-overlay-1, and initialize to an
6127 overlay rather than to nil.
6128 (show-paren-function): Misc cleanup and simplifications.
6130 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
6132 * paren.el (show-paren-data-function): New hook.
6133 (show-paren--default): New function, extracted from show-paren-function.
6134 (show-paren-function): Use show-paren-data-function.
6136 2013-05-30 Glenn Morris <rgm@gnu.org>
6138 * ielm.el (ielm-map, ielm-complete-symbol):
6139 Use completion-at-point rather than obsolete functions.
6140 (inferior-emacs-lisp-mode): Doc fix.
6141 Set completion-at-point-functions, rather than
6142 comint-dynamic-complete-functions.
6144 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
6145 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
6146 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
6148 * image.el (image-animated-p): Tweak definition.
6150 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
6151 (rlogin-process-connection-type): Tweak default. Add set-after.
6152 (rlogin-host): Doc fix.
6153 (rlogin): Tweak prompt.
6154 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
6156 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
6157 * progmodes/tcl.el (inferior-tcl-mode-map):
6158 Use completion-at-point rather than obsolete alias.
6160 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
6162 * minibuffer.el (read-file-name-completion-ignore-case):
6163 Move before completion--in-region, for eager macro expansion.
6165 2013-05-29 Juri Linkov <juri@jurta.org>
6167 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
6168 for total count of matching lines. Add `global-matches' for total
6169 count of matches. Rename `matches' to `lines' for count of
6170 matching lines. Add `matches' for count of matches.
6171 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
6172 to `prev-line' for line number of prev match endpt.
6173 Increment `matches' for every match. Print the number of
6174 matching lines in the header.
6175 (occur-context-lines): Rename `lines' to `curr-line'.
6176 Rename `prev-lines' to `prev-line'. (Bug#14017)
6178 2013-05-29 Juri Linkov <juri@jurta.org>
6180 * replace.el (perform-replace): Add `skip-read-only-count',
6181 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
6182 Increment them for corresponding conditions and report the number
6183 of skipped occurrences in the final message. (Bug#11746)
6184 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6185 (replace-string, replace-regexp): Doc fix.
6187 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
6189 * emacs-lisp/trace.el (trace--read-args): Provide a default.
6191 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
6192 prog-mode-map (bug#14504).
6194 2013-05-29 Leo Liu <sdl.web@gmail.com>
6196 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
6197 (octave-help): Small simplification.
6199 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
6200 off the highlight first.
6202 2013-05-29 Glenn Morris <rgm@gnu.org>
6204 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
6205 Handle idlwave-last-system-routine-info-cons-cell being nil.
6207 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
6208 (idlwave-write-paths): Simplify via with-temp-buffer.
6210 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
6211 * emulation/cua-rect.el: Also load cua-base at run time.
6213 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
6214 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
6215 (cperl-imenu-on-info): Require imenu.
6217 2013-05-28 Alan Mackenzie <acm@muc.de>
6219 Handle "capitalised keywords" correctly.
6220 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
6222 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
6224 * eshell/em-unix.el: Add -r option to cp.
6226 2013-05-28 Glenn Morris <rgm@gnu.org>
6228 * vc/vc-arch.el (vc-exec-after): Declare.
6229 (vc-switches): Autoload.
6230 * vc/vc-bzr.el: No need to require vc when compiling.
6231 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
6232 (vc-resynch-buffer, vc-dir-refresh): Declare.
6233 (vc-setup-buffer, vc-switches): Autoload.
6234 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
6235 (vc-resynch-buffer): Declare.
6236 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
6237 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
6238 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
6239 (grep-read-regexp, grep-read-files, grep-expand-template)
6240 (vc-dir-refresh): Declare.
6241 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
6242 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
6243 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
6244 * vc/vc-mtn.el (vc-exec-after): Declare.
6245 (vc-switches): Autoload.
6246 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
6247 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
6248 (vc-file-tree-walk): Declare.
6249 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
6250 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
6251 (vc-tag-precondition, vc-rename-master): Autoload.
6252 * vc/vc-svn.el (vc-exec-after): Declare.
6253 (vc-switches, vc-setup-buffer): Autoload.
6254 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
6256 (vc-resynch-buffer): Declare.
6258 * obsolete/fast-lock.el (byte-compile-warnings):
6259 Don't warn about obsolete features in this obsolete file.
6261 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
6262 Move definition before use.
6264 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
6265 (dun-unix-verbs): Remove dun-zippy.
6266 (dun-zippy): Remove function.
6268 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
6270 2013-05-27 Juri Linkov <juri@jurta.org>
6272 * replace.el (replace-search): New function with code moved out
6273 from `perform-replace'.
6274 (replace-highlight, replace-dehighlight): Move function definitions
6275 up closer to `replace-search'. (Bug#11746)
6277 2013-05-27 Juri Linkov <juri@jurta.org>
6279 * replace.el (perform-replace): Ignore invisible matches.
6280 In addition to checking `query-replace-skip-read-only', also
6281 filter out matches by calling `run-hook-with-args-until-failure'
6282 on `isearch-filter-predicates', and also check `search-invisible'
6283 for t or call `isearch-range-invisible'.
6284 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
6286 2013-05-27 Juri Linkov <juri@jurta.org>
6288 * isearch.el (isearch-filter-predicates): Rename from
6289 `isearch-filter-predicate'. Doc fix. (Bug#11378)
6290 (isearch-message-prefix): Display text from the property
6291 `isearch-message-prefix' of the currently active filters.
6292 (isearch-search): Don't compare `isearch-filter-predicate' with
6293 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
6294 on `isearch-filter-predicates'. Also check `search-invisible' for t
6295 or call `isearch-range-invisible'.
6296 (isearch-filter-visible): Make obsolete.
6297 (isearch-lazy-highlight-search):
6298 Call `run-hook-with-args-until-failure' on
6299 `isearch-filter-predicates' and use `isearch-range-invisible'.
6301 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
6302 `isearch-filter-predicates' instead of `funcall'ing
6303 `isearch-filter-predicate'.
6304 (Info-mode): Set `Info-isearch-filter' to
6305 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
6307 * dired-aux.el (dired-isearch-filter-predicate-orig):
6309 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
6310 (dired-isearch-filenames-end): Add and remove
6311 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
6312 instead of changing the value of `isearch-filter-predicate'.
6313 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
6314 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
6315 Put property `isearch-message-prefix' to "filename " on
6316 `dired-isearch-filter-filenames'.
6318 * wdired.el (wdired-change-to-wdired-mode):
6319 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
6320 locally instead of changing `isearch-filter-predicate'.
6321 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
6323 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
6325 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
6326 return the commit hash (Bug#14459). Also set the
6327 `vc-git-detached' property.
6328 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
6329 (vc-git-mode-line-string): Use the same help-echo format whether
6330 in detached mode or not, because we know the actual revision now.
6331 When in detached mode, shorten the revision to 7 chars.
6333 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6335 * emacs-lisp/easy-mmode.el (define-minor-mode):
6336 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
6337 mode hook and provide a docstring.
6339 2013-05-27 Alan Mackenzie <acm@muc.de>
6341 Remove spurious syntax-table text properties inserted by C-y.
6342 * progmodes/cc-mode.el (c-after-change): Also clear hard
6343 syntax-table property with value nil.
6345 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
6347 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
6348 when reading the events; the buffer layout shall not be changed.
6350 2013-05-27 Leo Liu <sdl.web@gmail.com>
6352 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
6354 (inferior-octave-directory-tracker): Automatically re-sync
6356 (octave-help): Improve handling of 'See also'.
6358 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
6360 * doc-view.el: Minor naming convention tweaks.
6361 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
6363 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
6364 even if there's no `display' property yet (bug#14435).
6366 2013-05-25 Eli Zaretskii <eliz@gnu.org>
6368 * subr.el (unmsys--file-name): Rename from reveal-filename.
6370 * Makefile.in (custom-deps, finder-data, autoloads)
6371 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6372 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6373 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
6375 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6377 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
6378 error-completion on the first 2 args of condition-case (bug#14446).
6381 2013-05-25 Leo Liu <sdl.web@gmail.com>
6383 * comint.el (comint-previous-matching-input): Do not flood the
6384 *Messages* buffer with trivial messages.
6386 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
6388 * progmodes/flymake.el (flymake-nop): Don't return a string.
6389 (flymake-set-at): Fix typo.
6391 * simple.el (read--expression): New function, extracted from
6392 eval-expression. Set completion-at-point-functions (bug#14465).
6393 (eval-expression, eval-minibuffer): Use it.
6395 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
6397 * progmodes/flymake.el (flymake-save-buffer-in-file)
6398 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
6399 (flymake-selected-frame, flymake-log, flymake-ins-after)
6400 (flymake-set-at, flymake-get-buildfile-from-cache)
6401 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
6402 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
6403 Refine the doc string.
6404 (flymake-get-file-name-mode-and-masks): Reformat.
6405 (flymake-get-real-file-name-function): Fix a minor bug.
6407 2013-05-24 Juri Linkov <juri@jurta.org>
6409 * progmodes/grep.el (grep-mode-font-lock-keywords):
6410 Support =linenumber= format used by git-grep for lines with
6411 function names. (Bug#13549)
6413 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6415 * progmodes/octave.el (octave-smie-rules): Return nil rather than
6416 0 after a semi-colon; it works better for smie-auto-fill.
6417 (octave--indent-new-comment-line): New function.
6418 (octave-indent-new-comment-line): Use it (indirectly).
6419 (octave-mode): Don't disable smie-auto-fill. Use add-function to
6420 modify comment-line-break-function.
6422 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
6423 (smie-setup): Use add-function to set it.
6425 2013-05-24 Sam Steingold <sds@gnu.org>
6427 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
6428 argument (before the `interactive' argument).
6430 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
6432 * image-mode.el (image-mode-winprops): Add winprops to
6433 image-mode-winprops-alist before running
6434 image-mode-new-window-functions.
6435 * doc-view.el (doc-view-new-window-function): Don't delay
6436 doc-view-goto-page via timers (bug#14435).
6438 2013-05-24 Tassilo Horn <tsdh@gnu.org>
6440 * doc-view.el: Integrate with desktop.el. (Bug#14435)
6441 (doc-view-desktop-save-buffer): New function.
6442 (doc-view-restore-desktop-buffer): New function.
6443 (desktop-buffer-mode-handlers):
6444 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
6446 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
6447 `desktop-save-buffer' function.
6449 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
6451 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
6452 (tramp-gvfs-file-name-handler): Raise a user error when
6453 `tramp-gvfs-enabled' is nil.
6454 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
6455 Do not raise a user error when loading package. (Bug#14447)
6457 * net/xesam.el: Move to obsolete/.
6459 2013-05-24 Glenn Morris <rgm@gnu.org>
6461 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
6463 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
6465 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
6466 (Info-find-node, Man-getpage-in-background): Declare.
6468 * mail/unrmail.el (unrmail):
6469 Replace obsolete detect-coding-with-priority.
6471 * net/socks.el (socks-split-string): Use this rather than split-string.
6472 (socks-nslookup-host): Update for above change.
6473 (dynamic-choice, s5-dynamic-choice-match)
6474 (s5-dynamic-choice-match-inline, s5-widget-value-create):
6475 Comment out unused code.
6477 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
6478 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
6479 (gud-tooltip-echo-area): Make obsolete.
6480 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
6482 * progmodes/js.el (js--optimize-arglist): Declare.
6484 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
6486 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
6487 (ediff-window-C): Declare.
6489 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
6490 Tweak requires to silence compiler.
6492 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
6493 (he-search-string, he-tried-table, he-expand-list)
6494 (he-init-string, he-string-member, he-substitute-string)
6495 (he-reset-string): Declare.
6497 * obsolete/options.el (list-options): Use custom-variable-p,
6498 rather than obsolete alias.
6500 2013-05-23 Sam Steingold <sds@gnu.org>
6502 * simple.el (shell-command-on-region): Pass the `replace' argument
6503 down to `call-process-region' to comply with the doc as reported on
6504 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
6506 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
6508 * emacs-lisp/smie.el (smie-indent-forward-token)
6509 (smie-indent-backward-token): Handle string tokens (bug#14381).
6511 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6513 * ielm.el (ielm-menu): New menu.
6514 (inferior-emacs-lisp-mode): Set comment-start.
6516 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
6518 * lisp/textmodes/reftex.el (reftex-ref-style-toggle):
6519 Fix deactivate action.
6521 * lisp/textmodes/reftex-vars.el (reftex-ref-style-alist):
6522 Add cleveref macros.
6524 * lisp/textmodes/reftex-parse.el
6525 (reftex-locate-bibliography-files): Accept options for
6526 bibliography commands.
6527 * lisp/textmodes/reftex-vars.el (reftex-bibliography-commands):
6528 Add addbibresource. Basic Biblatex support.
6530 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
6532 * net/tramp-gvfs.el (top):
6533 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
6534 when loading package. (Bug#14447)
6536 2013-05-23 Glenn Morris <rgm@gnu.org>
6538 * progmodes/js.el: No need to load comint when compiling.
6539 (ring-insert, comint-send-string, comint-send-input)
6540 (comint-last-input-end, ido-chop): Declare.
6542 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
6543 * vc/ediff-mult.el: Adjust requires.
6544 (ediff-directories-internal, ediff-directory-revisions-internal)
6545 (ediff-patch-file-internal): Declare.
6546 * vc/ediff-ptch.el: Adjust requires.
6547 (ediff-use-last-dir, ediff-buffers-internal): Declare.
6548 (ediff-find-file): Autoload.
6549 * vc/ediff-util.el: No need to load ediff when compiling.
6550 (ediff-regions-internal): Declare.
6551 * vc/ediff-wind.el: Adjust requires.
6552 (ediff-compute-toolbar-width): Define when compiling.
6553 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
6554 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
6555 (dired-get-filename, dired-get-marked-files)
6556 (ediff-last-dir-patch, ediff-patch-default-directory)
6557 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
6558 (ediff-patch-buffer-internal): Declare.
6560 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
6561 (ispell-process, ispell-buffer-local-words, lm-summary)
6562 (lm-section-start, lm-section-end): Declare.
6563 (checkdoc-ispell-init): Simplify.
6565 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
6566 (he-string-member, he-reset-string, he-substitute-string): Declare.
6568 * eshell/em-ls.el: Adjust requires.
6569 (eshell-glob-regexp): Declare.
6570 * eshell/em-tramp.el: Adjust requires.
6571 (eshell-parse-command): Autoload.
6572 * eshell/em-xtra.el: Adjust requires.
6573 (eshell-parse-command): Autoload.
6574 * eshell/esh-ext.el: Adjust requires.
6575 (eshell-parse-command, eshell-close-handles): Autoload.
6576 * eshell/esh-io.el: Adjust requires.
6577 (eshell-output-filter): Autoload.
6578 * eshell/esh-util.el: No need to load tramp when compiling.
6579 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
6581 (eshell-parse-ange-ls): Require ange-ftp and tramp.
6582 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
6583 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
6584 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
6585 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
6586 * eshell/esh-opt.el, eshell/esh-proc.el:
6587 * eshell/esh-var.el: Adjust requires.
6588 * eshell/eshell.el: Do not require esh-util twice.
6589 (eshell-add-input-to-history): Declare.
6590 (eshell-command): Check history module is active before using it.
6592 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
6594 2013-05-22 Leo Liu <sdl.web@gmail.com>
6596 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
6598 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
6600 * autorevert.el (auto-revert-notify-add-watch)
6601 (auto-revert-notify-handler): Add `attrib' for the inotify case,
6602 it indicates changes in file modification time.
6604 2013-05-22 Glenn Morris <rgm@gnu.org>
6606 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
6607 Always delete the autoloaded function from the noruntime and
6608 unresolved functions lists.
6610 * allout.el: No need to load epa, epg, overlay when compiling.
6611 (epg-context-set-passphrase-callback, epg-list-keys)
6612 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
6613 (epg-key-user-id-list): Declare.
6615 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
6616 (viper-set-parsing-style-toggling-macro)
6617 (viper-set-emacs-state-searchstyle-macros):
6618 Use called-interactively-p on Emacs.
6619 (viper-looking-back): Make it an obsolete alias. Update callers.
6620 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
6621 Use looking-back rather than viper-looking-back.
6622 (viper-tmp-insert-at-eob, viper-enlarge-region)
6623 (viper-read-string-with-history, viper-register-to-point)
6624 (viper-append-to-register, viper-change-state-to-vi)
6625 (viper-backward-char-carefully, viper-forward-char-carefully)
6626 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
6627 (viper-change-state-to-emacs): Declare.
6628 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
6629 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
6630 * emulation/viper-mous.el: Do not load viper-cmd.
6631 (viper-backward-char-carefully, viper-forward-char-carefully)
6632 (viper-forward-word, viper-adjust-window): Declare.
6634 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
6636 * progmodes/idlw-help.el (idlwave-help-fontify):
6637 Use called-interactively-p.
6639 * term/w32console.el (w32-get-console-codepage)
6640 (w32-get-console-output-codepage): Declare.
6642 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
6643 Remove unnecessary declarations.
6644 (dframe-message): Doc fix.
6646 * info.el (dframe-select-attached-frame, dframe-current-frame):
6649 * speedbar.el (speedbar-message): Make it an obsolete alias.
6651 (speedbar-with-attached-buffer)
6652 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
6653 (speedbar-with-writable): Use backquote.
6654 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
6655 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6656 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
6657 rather than speedbar- aliases.
6658 * mail/rmail.el: Load dframe rather than speedbar when compiling.
6659 (speedbar-make-specialized-keymap, speedbar-insert-button)
6660 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
6661 (speedbar-do-function-pointer): Declare.
6662 (rmail-speedbar-button, rmail-speedbar-find-file)
6663 (rmail-speedbar-move-message):
6664 Use dframe-with-attached-buffer rather than speedbar- alias.
6665 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
6666 (dframe-message, speedbar-make-specialized-keymap)
6667 (speedbar-add-expansion-list, speedbar-mode-functions-list)
6668 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
6669 (speedbar-insert-button, dframe-select-attached-frame)
6670 (dframe-maybee-jump-to-attached-frame)
6671 (speedbar-change-initial-expansion-list)
6672 (speedbar-previously-used-expansion-list-name): Declare.
6673 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
6674 Use dframe-message, dframe-with-attached-buffer rather than
6676 (gud-sentinel): Silence compiler.
6677 * progmodes/vhdl-mode.el (speedbar-refresh)
6678 (speedbar-do-function-pointer, speedbar-add-supported-extension)
6679 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
6680 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
6681 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
6682 (speedbar-file-lists, speedbar-make-tag-line)
6683 (speedbar-line-directory, speedbar-goto-this-file)
6684 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
6685 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
6686 (speedbar-make-button, speedbar-reset-scanners)
6687 (speedbar-files-item-info, speedbar-line-text)
6688 (speedbar-find-file-in-frame, speedbar-set-timer)
6689 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
6690 (speedbar-with-writable): Do not (re)define it.
6691 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
6692 rather than speedbar- alias.
6694 2013-05-21 Leo Liu <sdl.web@gmail.com>
6696 * progmodes/octave.el (octave-mode-menu): Update and re-organize
6698 (octave-mode): Tweak fill-nobreak-predicate.
6699 (inferior-octave-startup): Check process to avoid infinite loop.
6700 (inferior-octave): Pop to buffer first to show abornmal process
6703 2013-05-21 Glenn Morris <rgm@gnu.org>
6705 * printing.el (pr-menu-bar): Define when compiling.
6707 2013-05-21 Leo Liu <sdl.web@gmail.com>
6709 * progmodes/octave.el (octave-auto-fill): Remove.
6710 (octave-indent-new-comment-line): Improve.
6711 (octave-mode): Use auto fill mode through
6712 comment-line-break-function and fill-nobreak-predicate.
6713 (octave-goto-function-definition): Support DEFUN_DLD.
6714 (octave-beginning-of-defun): Small tweak.
6715 (octave-help): Show parent directory.
6717 2013-05-21 Glenn Morris <rgm@gnu.org>
6719 * files.el (dired-unmark):
6720 * progmodes/gud.el (gdb-input): Update declarations.
6722 * calculator.el (electric, ehelp): No need to load when compiling.
6723 (Electric-command-loop, electric-describe-mode): Declare.
6725 * doc-view.el (doc-view-current-converter-processes): Move before use.
6727 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
6728 Move MODE-set-explicitly definition before use.
6730 * international/mule-diag.el (mule-diag):
6731 Don't use obsolete window-system-version.
6733 * mail/feedmail.el (smtpmail): No need to load when compiling.
6734 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
6736 * mail/mail-utils.el (rfc822): No need to load when compiling.
6737 (rfc822-addresses): Autoload it.
6738 (mail-strip-quoted-names): Trivial simplification.
6740 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
6741 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
6743 * net/snmp-mode.el (tempo): Don't duplicate requires.
6745 * progmodes/prolog.el (info): No need to load when compiling.
6746 (comint): Require before shell requires it.
6747 (Info-goto-node): Autoload it.
6748 (Info-follow-nearest-node): Declare.
6749 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
6751 * textmodes/artist.el (picture-mode-exit): Declare.
6753 * textmodes/reftex-parse.el (reftex-parse-from-file):
6754 Trivial rewrite so the compiler can parse it better.
6756 2013-05-20 Leo Liu <sdl.web@gmail.com>
6758 * progmodes/octave.el (octave-help-mode-map)
6759 (octave-help-mode-finish-hook): New variables.
6760 (octave-help-mode, octave-help-mode-finish): New functions.
6761 (octave-help): Use octave-help-mode.
6763 2013-05-20 Glenn Morris <rgm@gnu.org>
6765 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
6767 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
6769 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
6770 start at point, so that expansion starting right after opening
6771 slash in a regexp is recognized.
6772 (ruby-syntax-before-regexp-re): New defvar, extracted from
6773 ruby-syntax-propertize-function. Since the value of this regexp
6774 is looked up at runtime now, we should be able to turn
6775 `ruby-syntax-methods-before-regexp' into a defcustom later.
6776 (ruby-syntax-propertize-function): Split regexp matching into two
6777 parts, for opening and closing slashes. That allows us to skip
6778 over string interpolations and support multiline regexps.
6779 Don't call `ruby-syntax-propertize-expansions', instead use another rule
6780 for them, which calls `ruby-syntax-propertize-expansion'.
6781 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
6782 call to `ruby-syntax-propertize-function'.
6783 (ruby-syntax-propertize-expansion): Extracted from
6784 `ruby-syntax-propertize-expansions'. Handles one expansion.
6785 (ruby-syntax-propertize-percent-literal): Leave point right after
6786 the percent symbol, so that the expression expansion rule can
6787 propertize the contents.
6788 (ruby-syntax-propertize-heredoc): Leave point at bol following the
6790 (ruby-syntax-propertize-expansions): Remove.
6792 2013-05-18 Juri Linkov <juri@jurta.org>
6794 * man.el (Man-default-man-entry): Remove `-' from the end
6795 of the default value. (Bug#14400)
6797 2013-05-18 Glenn Morris <rgm@gnu.org>
6799 * comint.el (comint-password-prompt-regexp):
6800 Allow "password for XXX" where XXX contains colons (eg https://...).
6802 2013-05-18 Leo Liu <sdl.web@gmail.com>
6804 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
6805 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
6806 (octave-source-directories): Don't check process.
6807 (octave-source-directories, octave-find-definition): Doc fix.
6809 2013-05-18 Glenn Morris <rgm@gnu.org>
6811 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
6812 Remove backspace/delete bindings. (Bug#14392)
6814 * cus-dep.el (custom-make-dependencies): Sort the output.
6815 (custom-versions-load-alist): Convert comment to doc.
6817 2013-05-17 Leo Liu <sdl.web@gmail.com>
6819 * newcomment.el (comment-search-backward): Stricter in finding
6820 comment start. (Bug#14303)
6822 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
6823 (octave-comment-start-skip): Properly anchored.
6825 2013-05-17 Leo Liu <sdl.web@gmail.com>
6827 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
6828 Clean up when turned off. (Bug#14395)
6829 (smie--highlight-matching-block-overlay): No longer buffer-local.
6830 (smie-highlight-matching-block): Adjust.
6832 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
6834 Doc string fix for "nanoseconds" (Bug#14406).
6835 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
6836 Fix doc string typo that had "nanoseconds" instead of "microseconds".
6838 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
6840 * calc/calc-units.el (math-extract-units): Preserve powers
6843 2013-05-17 Leo Liu <sdl.web@gmail.com>
6845 * subr.el (delete-consecutive-dups): New function.
6846 * ido.el (ido-set-matches-1): Use it.
6847 * progmodes/octave.el (inferior-octave-completion-table): Use it.
6848 * ido.el (ido-remove-consecutive-dups): Remove.
6850 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
6852 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
6853 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
6854 regexp-opt's `words'.
6856 2013-05-16 Leo Liu <sdl.web@gmail.com>
6858 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
6859 (smie--highlight-matching-block-overlay)
6860 (smie--highlight-matching-block-lastpos)
6861 (smie--highlight-matching-block-timer): New variables.
6862 (smie-highlight-matching-block): New function.
6863 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
6864 (smie-setup): Conditionally enable smie-blink-matching-open.
6866 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
6868 Sync with upstream verilog-mode r840.
6869 * progmodes/verilog-mode.el (verilog-mode-version)
6870 (verilog-mode-release-date): Update.
6871 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
6872 (verilog-sig-tieoff): Fix string error on
6873 AUTORESET with colon define, bug594. Reported by Andrew Hou.
6874 (verilog-read-decls): Fix parameters confusing
6875 AUTOINST interfaces, bug565. Reported by Leith Johnson.
6877 2013-05-16 Eli Zaretskii <eliz@gnu.org>
6879 * subr.el (reveal-filename): New function.
6881 * loadup.el: Compute Emacs executable versions on MS-Windows,
6882 where executables have the .exe extension. Add a hard link
6883 emacs-XX.YY.ZZ.exe on MS-Windows.
6885 * Makefile.in (XARGS_LIMIT): New variable.
6886 (custom-deps, finder-data, autoloads)
6887 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
6888 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
6889 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
6890 (compile-main): Limit xargs according to $(XARGS_LIMIT).
6892 2013-05-16 Leo Liu <sdl.web@gmail.com>
6894 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
6895 (octave-mode-menu, octave-mode-map): Remove its uses.
6897 2013-05-16 Reto Zimmermann <reto@gnu.org>
6899 Sync with upstream vhdl mode v3.34.2.
6900 * progmodes/vhdl-mode.el: Use `push' throughout.
6901 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
6902 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
6903 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
6904 (vhdl-actual-generic-name): New option to derive actual generic name.
6905 (vhdl-port-paste-signals): Replace formal by actual generics.
6906 (vhdl-beautify): New name for old group vhdl-align. Update users.
6907 (vhdl-beautify-options): New option.
6908 (vhdl-last-input-event): New compat alias. Use throughout.
6909 (vhdl-goto-line): Replace user level function `goto-line'.
6910 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
6911 vhdl-fix-statement-buffer.
6912 (vhdl-create-mode-menu): Add some entries.
6913 (vhdl-align-region-groups): Respect vhdl-beautify-options.
6914 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
6915 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
6916 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
6917 to force statements on one line.
6918 (vhdl-remove-trailing-spaces-region):
6919 New, split from vhdl-remove-trailing-spaces.
6920 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
6921 Respect vhdl-beautify-options.
6922 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
6923 (vhdl-update-sensitivity-list): Not add with index if exists without.
6924 Not include array index with signal. Ignore keywords in comments.
6925 (vhdl-get-visible-signals): Regexp tweaks.
6926 (vhdl-template-component-inst): Handle empty library.
6927 (vhdl-template-type): Add template for 'enum' type.
6928 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
6929 Use vhdl-replace-string.
6930 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
6931 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
6932 (vhdl-speedbar-initialize): Update for above name change.
6933 (vhdl-compose-wire-components): Fix in handling of constants.
6934 (vhdl-error-regexp-emacs-alist): New variable.
6935 (vhdl-error-regexp-add-emacs): New function;
6936 adds support for new compile.el (Emacs 22+)
6937 (vhdl-generate-makefile-1): Change target order for single lib. units.
6938 Allow use of absolute file names.
6940 2013-05-16 Leo Liu <sdl.web@gmail.com>
6942 * simple.el (prog-indent-sexp): Indent enclosing defun.
6944 2013-05-15 Glenn Morris <rgm@gnu.org>
6946 * cus-start.el (show-trailing-whitespace): Move to editing basics.
6947 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
6948 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
6949 (whitespace-highlight): Move to whitespace group.
6951 * comint.el (comint-source):
6952 * pcmpl-linux.el (pcmpl-linux):
6953 * shell.el (shell-faces):
6954 * eshell/esh-opt.el (eshell-opt):
6955 * international/ccl.el (ccl): Remove empty custom groups.
6957 * completion.el (dynamic-completion-mode):
6958 * jit-lock.el (jit-lock-debug-mode):
6959 * minibuffer.el (completion-in-region-mode):
6960 * type-break.el (type-break-mode-line-message-mode)
6961 (type-break-query-mode):
6962 * emulation/tpu-edt.el (tpu-edt-mode):
6963 * progmodes/subword.el (global-subword-mode, global-superword-mode):
6964 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
6965 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
6967 * term/xterm.el (xterm): Change parent group to terminals.
6969 * master.el (master): Remove empty custom group.
6970 (master-mode): Remove unused :group argument.
6971 * textmodes/refill.el (refill): Remove empty custom group.
6972 (refill-mode): Remove unused :group argument.
6974 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
6976 * cus-dep.el: Provide a feature.
6977 (custom-make-dependencies): Ignore dotfiles (dir-locals).
6978 Don't mistakenly ignore files whose basenames match a basename
6979 from preloaded-file-list (eg cedet/ede/simple.el).
6980 Add a fallback method for getting :group.
6982 2013-05-15 Juri Linkov <juri@jurta.org>
6984 * isearch.el (isearch-char-by-name): Rename from
6985 `isearch-insert-char-by-name'. Doc fix.
6986 (isearch-forward): Mention `isearch-char-by-name' in
6987 the docstring. (Bug#13348)
6989 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
6990 `exit-minibuffer' instead of
6991 `isearch-nonincremental-exit-minibuffer'.
6992 (isearch-edit-string): Remove mention of
6993 `isearch-nonincremental-exit-minibuffer' from docstring.
6994 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
6995 (isearch-forward-exit-minibuffer)
6996 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
6998 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7000 * loadup.el: Just use unversioned DOC.
7002 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
7003 literals as extending to EOB.
7004 (nxml-last-fontify-end): Remove unused variable.
7005 (nxml-after-change1): Use with-silent-modifications.
7006 (nxml-extend-after-change-region): Simplify.
7007 (nxml-extend-after-change-region1): Remove function.
7008 (nxml-after-change1): Don't adjust for dependent regions.
7009 (nxml-fontify-matcher): Simplify.
7010 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
7011 (xmltok-add-dependent): Remove function.
7012 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
7013 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
7014 (xmltok-scan-prolog-after-processing-instruction-open): Treat
7015 unclosed <[[, <?, comment, and other literals as extending to EOB.
7016 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
7017 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
7019 (rng-do-some-validation-1): Don't mark dependent regions.
7020 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
7021 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
7022 (nxml-clear-dependent-regions): Remove functions.
7023 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
7024 (nxml-ensure-scan-up-to-date):
7025 Don't clear&mark dependent regions.
7027 2013-05-15 Leo Liu <sdl.web@gmail.com>
7029 * progmodes/octave.el (octave-goto-function-definition):
7030 Improve and fix callers.
7032 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
7034 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
7035 the setter (bug#14387).
7037 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
7038 surrounding group (bug#14402).
7040 2013-05-14 Juri Linkov <juri@jurta.org>
7042 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
7045 2013-05-14 Glenn Morris <rgm@gnu.org>
7047 * progmodes/f90.el (f90-imenu-generic-expression):
7048 Fix typo in 2013-05-08 change. (Bug#14402)
7050 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7052 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
7053 Remove signals for which replies are never received.
7055 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7057 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
7058 (gdb-handler-alist, gdb-handler-number): Remove variables.
7059 (gdb-handler-list): New variable.
7060 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
7061 (gdb-pending-handler-p, gdb-handle-reply)
7062 (gdb-remove-all-pending-triggers): New functions.
7063 (gdb-discard-unordered-replies): New defcustom.
7064 (gdb-handler): New defstruct.
7065 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
7066 instead of gdb-pending-triggers. Update docstring.
7067 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
7068 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
7069 (gdb-var-update-handler, def-gdb-auto-update-trigger)
7070 (def-gdb-auto-update-handler, gdb-get-changed-registers)
7071 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
7072 (gdb-frame-handler): Pending triggers are now automatically managed.
7073 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
7075 (gdb-input): Automatically handles pending triggers. Update docstring.
7076 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
7077 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
7079 (gdb-done-or-error): Now use gdb-handle-reply.
7081 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
7083 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
7086 2013-05-14 Glenn Morris <rgm@gnu.org>
7088 * subr.el (user-emacs-directory-warning): New option.
7089 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
7091 2013-05-14 Leo Liu <sdl.web@gmail.com>
7093 * progmodes/octave.el (octave-font-lock-keywords): Fix error
7095 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
7096 (octave-font-lock-texinfo-comment): Fix invalid search bound
7097 error: wrong side of point.
7099 2013-05-14 Glenn Morris <rgm@gnu.org>
7101 * progmodes/flymake.el (flymake-xml-program): New option.
7102 (flymake-xml-init): Use it.
7104 * term/xterm.el: Provide a feature.
7106 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
7108 2013-05-13 Glenn Morris <rgm@gnu.org>
7110 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
7111 Add compat aliases as a hack workaround. (Bug#14384)
7113 2013-05-13 Leo Liu <sdl.web@gmail.com>
7115 * progmodes/octave.el (octave-indent-comment): Fix indentation for
7117 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
7119 (octave-comment-start-skip): Include %!.
7120 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
7122 2013-05-12 Leo Liu <sdl.web@gmail.com>
7124 * progmodes/octave.el (inferior-octave-startup): Store the value
7125 of __octave_srcdir__ for octave-source-directories.
7126 (inferior-octave-check-process): New function refactored out of
7127 inferior-octave-send-list-and-digest.
7128 (octave-source-directories)
7129 (octave-find-definition-filename-function): New variables.
7130 (octave-source-directories)
7131 (octave-find-definition-default-filename): New functions.
7132 (octave-find-definition): Improve to find functions implemented in C++.
7134 2013-05-12 Glenn Morris <rgm@gnu.org>
7136 * calendar/diary-lib.el (diary-outlook-format-1):
7137 Don't include dayname in the output. (Bug#14349)
7139 2013-05-11 Glenn Morris <rgm@gnu.org>
7141 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
7143 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
7144 Treat cc-provide like provide.
7146 2013-05-11 Kevin Ryde <user42@zip.com.au>
7148 * cus-dep.el (custom-make-dependencies):
7149 Use generated-autoload-load-name for the sake of files such
7150 such cedet/semantic/bovine/c.el, where the base file name
7151 is not in load-path. (Bug#5277)
7153 2013-05-11 Glenn Morris <rgm@gnu.org>
7155 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
7158 2013-05-11 Leo Liu <sdl.web@gmail.com>
7160 * progmodes/octave.el (octave-indent-comment): Improve.
7161 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
7162 (octave-eldoc-function-signatures, octave-eldoc-function):
7164 (octave-mode, inferior-octave-mode): Add eldoc support.
7166 2013-05-11 Richard Stallman <rms@gnu.org>
7168 * epa.el (epa-decrypt-file): Take output file name as argument
7169 and read it using `interactive'.
7171 2013-05-11 Leo Liu <sdl.web@gmail.com>
7173 * progmodes/octave.el (octave-beginning-of-line)
7174 (octave-end-of-line): Check before using up-list because it jumps
7175 out of more syntactic contructs since moving to smie.
7176 (octave-indent-comment): New function.
7177 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
7178 (octave-begin-keywords, octave-end-keywords)
7179 (octave-reserved-words, octave-smie-bnf-table)
7180 (octave-smie-rules): Add new keywords from Octave 3.6.4.
7182 2013-05-11 Glenn Morris <rgm@gnu.org>
7184 * faces.el (internal-face-x-get-resource):
7185 * frame.el (ns-display-monitor-attributes-list):
7186 * calc/calc-aent.el (math-to-radians-2):
7187 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
7190 * calc/calc-menu.el: Make it loadable in isolation.
7192 * net/eudcb-bbdb.el: Make it loadable without bbdb.
7193 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
7194 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
7195 (eudc-bbdb-query-internal): Require 'bbdb.
7197 * lpr.el (lpr-headers-switches):
7198 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
7200 * progmodes/sql.el (sql-login-params): Fix and improve :type.
7202 * emulation/edt-mapper.el: In batch mode, error rather than hang.
7204 * term.el (term-set-escape-char): Make it idempotent.
7206 2013-05-10 Leo Liu <sdl.web@gmail.com>
7208 * progmodes/octave.el (inferior-octave-completion-table):
7209 No longer a function and all uses changed. Use cache to speed up
7210 completion due to bug#11906.
7211 (octave-beginning-of-defun): Re-write to be more general.
7213 2013-05-10 Glenn Morris <rgm@gnu.org>
7215 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
7217 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
7219 * comint.el (comint-redirect-send-command-to-process): Use :around
7220 rather than :override for comint-redirect-filter.
7221 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
7222 Call it instead of comint-redirect-original-filter-function (which
7223 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
7225 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
7227 * frame.el (display-monitor-attributes-list): Add NS case.
7228 (ns-display-monitor-attributes-list): Declare.
7230 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
7232 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
7234 2013-05-09 Glenn Morris <rgm@gnu.org>
7236 * international/fontset.el (vertical-centering-font-regexp):
7239 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
7241 * bookmark.el (bookmark-search-delay):
7242 * cus-start.el (vertical-centering-font-regexp):
7243 * ps-mule.el (ps-mule-font-info-database-default):
7244 * ps-print.el (ps-default-fg, ps-default-bg):
7245 * type-break.el (type-break-good-break-interval):
7246 * whitespace.el (whitespace-indentation-regexp)
7247 (whitespace-space-after-tab-regexp):
7248 * emacs-lisp/testcover.el (testcover-1value-functions)
7249 (testcover-noreturn-functions, testcover-progn-functions)
7250 (testcover-prog1-functions):
7251 * emulation/viper-init.el (viper-emacs-state-cursor-color):
7252 * eshell/em-glob.el (eshell-glob-translate-alist):
7253 * play/tetris.el (tetris-tty-colors):
7254 * progmodes/cpp.el (cpp-face-default-list):
7255 * progmodes/flymake.el (flymake-allowed-file-name-masks):
7256 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
7257 (idlwave-help-browser-generic-args):
7258 * progmodes/make-mode.el (makefile-special-targets-list):
7259 * progmodes/python.el (python-shell-virtualenv-path):
7260 * progmodes/verilog-mode.el (verilog-active-low-regexp)
7261 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
7262 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
7263 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
7264 * textmodes/reftex-vars.el (reftex-format-label-function):
7265 * textmodes/remember.el (remember-diary-file): Fix custom types.
7267 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
7270 2013-05-09 Leo Liu <sdl.web@gmail.com>
7272 * progmodes/octave.el (inferior-octave-completion-at-point):
7273 Restore file completion. (Bug#14300)
7274 (inferior-octave-startup): Fix incorrect highlighting for the
7277 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7279 * progmodes/ruby-mode.el: First cut at SMIE support.
7280 (ruby-use-smie): New var.
7281 (ruby-smie-grammar): New constant.
7282 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
7283 (ruby-smie--forward-token, ruby-smie--backward-token)
7284 (ruby-smie-rules): New functions.
7285 (ruby-mode-variables): Setup SMIE if applicable.
7287 2013-05-08 Eli Zaretskii <eliz@gnu.org>
7289 * simple.el (line-move-visual): Signal beginning/end of buffer
7290 only if vertical-motion moved less than it was requested. Avoids
7291 silly incorrect error messages when there are display strings with
7292 multiple newlines at EOL.
7294 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
7296 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
7297 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
7298 (prolog-char-quote-workaround):
7299 * progmodes/cperl-mode.el (cperl-under-as-char):
7300 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
7302 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
7304 (vhdl-mode-syntax-table-init): Remove.
7306 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
7309 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
7311 (ld-script-font-lock-keywords):
7312 Change regexps to use things like \_< and \_>.
7314 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
7315 Change all regexps to use things like \_< and \_>.
7317 * progmodes/autoconf.el (autoconf-definition-regexp)
7318 (autoconf-font-lock-keywords, autoconf-current-defun-function):
7319 Handle a _ with symbol syntax.
7320 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
7322 * progmodes/ada-mode.el (ada-mode-abbrev-table):
7323 Consolidate declaration.
7324 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
7326 (ada-create-syntax-table): Remove.
7327 (ada-capitalize-word): Don't mess with the syntax of "_" since it
7328 already has the right syntax nowadays.
7329 (ada-goto-next-word): Don't change the syntax of "_".
7331 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
7334 2013-05-08 Sam Steingold <sds@gnu.org>
7336 * thingatpt.el (thing-at-point): Accept optional second argument
7337 NO-PROPERTIES to strip the text properties from the return value.
7338 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
7339 to `thing-at-point' instead of stripping the properties ourselves.
7340 Also, when `thing-at-point' fails to find a url, prepend "http://"
7341 to the filename at point on the assumption that the user is
7342 pointing at something like gnu.org/gnu.
7344 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
7346 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7347 * faces.el (crm-separator):
7348 Silence byte-compiler.
7350 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
7351 (tool-bar-map): Remove unneeded defvars.
7353 2013-05-08 Leo Liu <sdl.web@gmail.com>
7355 Re-work a fix for bug#10994 based on Le Wang's patch.
7356 * ido.el (ido-remove-consecutive-dups): New helper.
7357 (ido-completing-read): Use it.
7358 (ido-chop): Revert fix for bug#10994.
7360 2013-05-08 Adam Spiers <emacs@adamspiers.org>
7362 * cus-edit.el (custom-save-variables):
7363 Pretty-print long values. (Bug#14187)
7365 2013-05-08 Glenn Morris <rgm@gnu.org>
7367 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
7368 (m4-mode-syntax-table): Init in the defvar.
7369 (m4-mode-abbrev-table): Let define-derived-mode define it.
7371 2013-05-08 Tom Tromey <tromey@redhat.com>
7373 * progmodes/m4-mode.el (m4-mode-syntax-table):
7374 Do not treat "_" as word constituent. (Bug#14167)
7376 2013-05-07 Glenn Morris <rgm@gnu.org>
7378 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
7379 Remove explicit eshell-isearch-cancel-map.
7381 * progmodes/f90.el (f90-smart-end-names): New option.
7382 (f90-smart-end): Doc fix.
7383 (f90-end-block-optional-name): New constant.
7384 (f90-block-match): Respect f90-smart-end-names.
7386 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
7388 * progmodes/octave.el (octave-smie-forward-token): Be more careful
7389 about implicit semi-colons (bug#14218).
7391 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
7393 * frame.el (display-monitor-attributes-list)
7394 (frame-monitor-attributes): New functions.
7396 2013-05-06 Leo Liu <sdl.web@gmail.com>
7398 * progmodes/octave.el (octave-syntax-propertize-function): Change
7399 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
7400 (octave-font-lock-keywords): Use octave-operator-regexp.
7401 (octave-completion-at-point): Rename from
7402 octave-completion-at-point-function.
7403 (inferior-octave-directory-tracker): Robustify.
7404 (octave-text-functions): Remove and fix its uses. No such things
7407 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7409 * emacs-lisp/trace.el (trace--display-buffer): New function.
7410 (trace-make-advice): Use it.
7412 2013-05-06 Juri Linkov <juri@jurta.org>
7414 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
7415 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
7417 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
7418 in the help string. (Bug#12985)
7420 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
7422 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
7424 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7426 * progmodes/perl-mode.el: Add support for here documents.
7427 (perl-syntax-propertize-function): Match here-doc markers.
7428 (perl-syntax-propertize-special-constructs): Find their end.
7429 (perl-imenu-generic-expression): Use [:alnum:].
7431 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
7432 (advice--add-function): Refresh the advice if already present
7435 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
7437 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
7439 2013-05-06 Glenn Morris <rgm@gnu.org>
7441 * w32-fns.el (w32-charset-info-alist): Declare.
7443 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
7444 of its defcustom properties.
7445 (eshell-cmpl-initialize): No need to load pcomplete.
7447 * generic-x.el: No need to require comint when compiling.
7449 * net/eudc-export.el: Make it loadable without bbdb.
7450 (top-level): Use require rather than load-library.
7451 (eudc-create-bbdb-record, eudc-bbdbify-phone)
7452 (eudc-batch-export-records-to-bbdb)
7453 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
7456 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
7458 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
7459 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
7460 some tweaks, instead.
7462 2013-05-05 Leo Liu <sdl.web@gmail.com>
7464 * progmodes/octave.el (octave-font-lock-keywords)
7465 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
7466 (inferior-octave-send-list-and-digest): Improve error message.
7467 (octave-mode, inferior-octave-mode): Use setq-local.
7468 (octave-help): Set info-lookup-mode.
7470 2013-05-05 Richard Stallman <rms@gnu.org>
7472 * vc/compare-w.el (compare-windows-whitespace):
7473 Treat no-break space as whitespace.
7475 * mail/rmailsum.el (rmail-summary-rmail-update):
7476 Detect empty summary and don't change selected message.
7477 (rmail-summary-goto-msg): Likewise.
7479 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
7480 Doc fixes, rename args.
7482 2013-05-05 Alan Mackenzie <acm@muc.de>
7484 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
7486 2013-05-05 Juri Linkov <juri@jurta.org>
7488 * info.el (Info-read-subfile): Use (point-min) instead of (point)
7489 to not add the length of the summary segment to the return value.
7492 2013-05-05 Leo Liu <sdl.web@gmail.com>
7494 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
7495 (inferior-octave-output-filter): Remove.
7496 (octave-send-region, inferior-octave-startup): Fix callers.
7497 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
7498 (octave-binary-file-extensions): New user variable.
7499 (octave-find-definition): Confirm if opening binary files.
7500 (octave-help-file): Use octave-find-definition to get the binary
7502 (octave-help): Adjust for octave-help-file change.
7504 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
7506 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
7507 Merge the two entries that handle function definitions.
7508 (pascal--syntax-propertize): New const.
7509 (pascal-mode): Use it. Use setq-local.
7511 2013-05-04 Glenn Morris <rgm@gnu.org>
7513 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
7514 (diary-from-outlook): Respect diary-from-outlook-function.
7516 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
7518 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
7519 Move the declaration from C.
7520 (read-minibuffer, eval-minibuffer): Move from C.
7521 (completion-setup-function): Avoid minibuffer-completion-contents.
7523 2013-05-03 Leo Liu <sdl.web@gmail.com>
7525 * progmodes/octave.el (octave-font-lock-keywords): Do not
7526 dehighlight 'end' in comments or strings.
7527 (octave-completing-read, octave-goto-function-definition):
7529 (octave-help-buffer): New user variable.
7530 (octave-help-file, octave-help-function): New button types.
7531 (octave-help): New command and bind it to C-h ;.
7532 (octave-find-definition): New command and bind it to M-.
7533 (user-error): Alias to error if not defined.
7535 2013-05-02 Leo Liu <sdl.web@gmail.com>
7537 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
7539 (octave-font-lock-keywords): Include [ and {.
7541 2013-05-02 Leo Liu <sdl.web@gmail.com>
7543 * progmodes/octave.el (inferior-octave-startup-file): Change default.
7544 (inferior-octave): Remove calling comint-mode and return the buffer.
7545 (inferior-octave-startup): Cosmetic changes.
7547 2013-05-02 Leo Liu <sdl.web@gmail.com>
7549 * progmodes/octave.el (octave-syntax-propertize-function):
7550 Include the case when ' is at line beginning. (Bug#14336)
7552 2013-05-02 Glenn Morris <rgm@gnu.org>
7554 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
7555 * desktop.el (vc-dir-mode): Just autoload it here.
7557 2013-05-02 Alan Mackenzie <acm@muc.de>
7559 Eliminate variable c-standard-font-lock-fontify-region-function.
7560 * progmodes/cc-mode.el
7561 (c-standard-font-lock-fontify-region-function): Remove.
7562 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
7564 2013-05-01 Leo Liu <sdl.web@gmail.com>
7566 * progmodes/octave.el: Compatible with older emacs-24 releases.
7567 (inferior-octave-has-built-in-variables): Remove. Built-in
7568 variables were removed from Octave in 2007.
7569 (inferior-octave-startup): Fix uses.
7570 (comint-line-beginning-position): Remove compatibility code for
7573 2013-05-01 Juri Linkov <juri@jurta.org>
7575 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
7577 2013-05-01 Juri Linkov <juri@jurta.org>
7579 * comint.el (comint-previous-matching-input): Don't print message
7580 "History item: %d" when `isearch-mode' is active.
7581 (comint-history-isearch-message): Print message "History item: %d"
7582 when `comint-input-ring-index' is not empty and this function is
7583 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
7585 2013-05-01 Leo Liu <sdl.web@gmail.com>
7587 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
7588 definitions. Use completion-at-point to insert keywords.
7589 (octave-abbrev-start): Remove.
7590 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
7592 2013-04-30 Leo Liu <sdl.web@gmail.com>
7594 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
7597 2013-04-30 Alan Mackenzie <acm@muc.de>
7599 Handle arbitrarily long C++ member initialisation lists.
7600 * progmodes/cc-engine.el (c-back-over-member-initializers):
7602 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
7603 (most) member init lists.
7605 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7607 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
7610 2013-04-30 Leo Liu <sdl.web@gmail.com>
7612 * progmodes/octave.el (octave-variables): Remove. No builtin
7613 variables any more. All converted to functions.
7614 (octave-font-lock-keywords, octave-completion-at-point-function):
7616 (octave-font-lock-texinfo-comment): New user variable.
7617 (octave-texinfo-font-lock-keywords): New variable for texinfo
7619 (octave-function-comment-block): New face.
7620 (octave-font-lock-texinfo-comment): New function.
7621 (octave-mode): Font lock texinfo comment block.
7623 2013-04-29 Leo Liu <sdl.web@gmail.com>
7625 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
7626 indexing expression.
7627 (octave-continuation-string): Do not use \.
7628 (inferior-octave-complete-impossible): Remove.
7629 (inferior-octave-completion-table)
7630 (inferior-octave-completion-at-point): Remove its uses.
7631 (inferior-octave-startup): completion_matches was introduced to
7632 Octave in 1996 so safe to assume it.
7633 (octave-function-file-comment): Improve to follow how Octave does it.
7634 (octave-update-function-file-comment): Tweak.
7636 2013-04-29 Leo Liu <sdl.web@gmail.com>
7638 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
7639 (inferior-octave-startup): Remove inferior-octave-startup-hook.
7640 (octave-function-file-comment): Fix typo.
7641 (octave-sync-function-file-names): Use read-char-choice.
7643 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
7645 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
7646 to t for the less important warnings.
7648 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
7650 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
7652 2013-04-27 Glenn Morris <rgm@gnu.org>
7654 * vc/log-view.el (log-view-current-entry):
7655 Treat "---" separator lines as part of the following rev. (Bug#14169)
7657 2013-04-27 Juri Linkov <juri@jurta.org>
7659 * subr.el (read-number): Doc fix about using it by interactive
7660 code letter `n'. (Bug#14254)
7662 2013-04-27 Juri Linkov <juri@jurta.org>
7664 * desktop.el (desktop-auto-save-timeout): New option.
7665 (desktop-file-checksum): New variable.
7666 (desktop-save): Add optional arg `auto-save' and don't auto-save
7668 (desktop-auto-save-timer): New variable.
7669 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
7670 (after-init-hook): Call `desktop-auto-save-set-timer'.
7671 Suggested by Reuben Thomas <rrt@sc3d.org> in
7672 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
7674 2013-04-27 Leo Liu <sdl.web@gmail.com>
7676 * progmodes/octave.el (octave-function-file-p)
7677 (octave-skip-comment-forward, octave-function-file-comment)
7678 (octave-update-function-file-comment): New functions.
7679 (octave-mode-map): Bind C-c ; to
7680 octave-update-function-file-comment.
7681 (octave-mode-menu): Add octave-update-function-file-comment.
7682 (octave-mode, inferior-octave-mode): Fix doc-string.
7683 (octave-insert-defun): Conform to Octave's coding convention.
7686 * files.el (basic-save-buffer): Don't let errors in
7687 before-save-hook prevent saving buffer.
7689 2013-04-20 Roland Winkler <winkler@gnu.org>
7691 * faces.el (read-face-name): Use completing-read if arg multiple
7694 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
7696 * ls-lisp.el (ls-lisp-insert-directory): If no files are
7697 displayed, move point to after the totals line.
7698 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
7701 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
7703 * emacs-lisp/package.el (package-autoload-ensure-default-file):
7704 Add current dir to the load-path.
7705 (package-generate-autoloads): Don't rely on
7706 autoload-ensure-default-file.
7708 2013-04-26 Reuben Thomas <rrt@sc3d.org>
7710 * textmodes/remember.el (remember-store-in-files): Document that
7711 the file name format is passed to `format-time-string'.
7713 2013-04-26 Leo Liu <sdl.web@gmail.com>
7715 * progmodes/octave.el (octave-sync-function-file-names): New function.
7716 (octave-mode): Use it in before-save-hook.
7718 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
7720 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
7723 * progmodes/octave.el (octave-smie-forward-token): Properly skip
7724 \n and comment, even if it's not an implicit ; (bug#14218).
7726 2013-04-26 Glenn Morris <rgm@gnu.org>
7728 * subr.el (read-number): Once more use `read' rather than
7729 `string-to-number', to trap non-numeric input. (Bug#14254)
7731 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
7733 * emacs-lisp/syntax.el (syntax-propertize-multiline):
7734 Use `syntax-multiline' text property consistently instead of
7735 `font-lock-multiline'. (Bug#14237)
7737 2013-04-26 Glenn Morris <rgm@gnu.org>
7739 * emacs-lisp/shadow.el (list-load-path-shadows):
7740 No longer necessary to check for duplicate simple.el, since
7741 2012-07-07 change to init_lread to not include installation lisp
7742 directories in load-path when running uninstalled. (Bug#14270)
7744 2013-04-26 Leo Liu <sdl.web@gmail.com>
7746 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
7747 (octave-mode, inferior-octave-mode): Use setq-local.
7748 (octave-not-in-string-or-comment-p): Rename to
7749 octave-in-string-or-comment-p.
7750 (octave-in-comment-p, octave-in-string-p)
7751 (octave-in-string-or-comment-p): Replace defsubst with defun.
7753 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
7755 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
7757 2013-04-25 Bastien Guerry <bzg@gnu.org>
7759 * textmodes/remember.el (remember-data-directory)
7760 (remember-directory-file-name-format): Fix custom types.
7762 2013-04-25 Leo Liu <sdl.web@gmail.com>
7764 * progmodes/octave.el (octave-completion-at-point-function):
7765 Make use of inferior octave process.
7766 (octave-initialize-completions): Remove.
7767 (inferior-octave-completion-table): New function.
7768 (inferior-octave-completion-at-point): Use it.
7769 (octave-completion-alist): Remove.
7771 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7773 * progmodes/opascal.el: Use font-lock and syntax-propertize.
7774 (opascal-mode-syntax-table): New var.
7775 (opascal-literal-kind, opascal-is-literal-end)
7776 (opascal-literal-token-at): Rewrite.
7777 (opascal--literal-start-re, opascal-font-lock-keywords)
7778 (opascal--syntax-propertize): New constants.
7779 (opascal-font-lock-defaults): Adjust.
7780 (opascal-mode): Use them. Set comment-<foo> variables as well.
7781 (delphi-comment-face, opascal-comment-face, delphi-string-face)
7782 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
7783 (delphi-other-face, opascal-other-face): Remove face variables.
7784 (opascal-save-state): Remove macro.
7785 (opascal-fontifying-progress-step): Remove constant.
7786 (opascal--ignore-changes): Remove var.
7787 (opascal-set-token-property, opascal-parse-next-literal)
7788 (opascal-is-stable-literal, opascal-complete-literal)
7789 (opascal-is-literal-start, opascal-face-of)
7790 (opascal-parse-region, opascal-parse-region-until-stable)
7791 (opascal-fontify-region, opascal-after-change)
7792 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
7793 (opascal-debug-parse-region, opascal-debug-parse-window)
7794 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
7795 (opascal-debug-fontify-buffer): Remove.
7796 (opascal-debug-mode-map): Adjust accordingly.
7798 2013-04-25 Leo Liu <sdl.web@gmail.com>
7800 Merge octave-mod.el and octave-inf.el into octave.el with some
7802 * progmodes/octave.el: New file renamed from octave-mod.el.
7803 * progmodes/octave-inf.el: Merged into octave.el.
7804 * progmodes/octave-mod.el: Renamed to octave.el.
7806 2013-04-25 Tassilo Horn <tsdh@gnu.org>
7808 * textmodes/reftex-vars.el
7809 (reftex-label-ignored-macros-and-environments): New defcustom.
7811 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
7813 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
7815 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
7816 (smie-indent-keyword): Improve the check to ensure that the next
7817 comment is really on the same line.
7818 (smie-indent-comment): Don't align with a subsequent closer (or eob).
7820 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
7821 semi-colons if the line is not otherwise empty (bug#14218).
7823 2013-04-25 Glenn Morris <rgm@gnu.org>
7825 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
7827 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
7829 * progmodes/opascal.el (opascal-set-token-property): Rename from
7830 opascal-set-text-properties and only set `token' (bug#14134).
7831 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
7832 (opascal-literal-text-properties): Remove.
7833 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
7836 2013-04-24 Reuben Thomas <rrt@sc3d.org>
7838 * textmodes/remember.el (remember-handler-functions): Add an
7839 option for a new handler `remember-store-in-files'.
7840 (remember-data-directory, remember-directory-file-name-format):
7842 (remember-store-in-files): New function to store remember notes
7843 as separate files within a directory.
7845 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
7847 * progmodes/compile.el (compilation-next-error-function):
7848 Pass "formats" to compilation-find-file (bug#11777).
7850 2013-04-24 Glenn Morris <rgm@gnu.org>
7852 * vc/vc-bzr.el (vc-bzr-print-log):
7853 * vc/vc-hg.el (vc-hg-print-log):
7854 * vc/vc-svn.el (vc-svn-print-log):
7855 Fix START-REVISION with LIMIT != 1. (Bug#14168)
7857 * vc/vc-bzr.el (vc-bzr-print-log):
7858 * vc/vc-cvs.el (vc-cvs-print-log):
7859 * vc/vc-git.el (vc-git-print-log):
7860 * vc/vc-hg.el (vc-hg-print-log):
7861 * vc/vc-mtn.el (vc-mtn-print-log):
7862 * vc/vc-rcs.el (vc-rcs-print-log):
7863 * vc/vc-sccs.el (vc-sccs-print-log):
7864 * vc/vc-svn.el (vc-svn-print-log):
7865 * vc/vc.el (vc-print-log-internal): Doc fixes.
7867 2013-04-23 Glenn Morris <rgm@gnu.org>
7869 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
7870 Remove venerable code attempting to avoid substitute-command-keys.
7872 2013-04-23 Tassilo Horn <tsdh@gnu.org>
7874 * textmodes/reftex-vars.el (reftex-label-regexps):
7875 Call `reftex-compile-variables' after changes to this variable.
7877 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7879 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
7880 Use lexical-binding.
7881 (jit-lock-force-redisplay): Use markers, check buffer's continued
7882 existence and beware narrowed buffers.
7883 (jit-lock-fontify-now): Adjust call accordingly.
7885 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
7887 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
7888 to avoid misleading the user.
7890 2013-04-22 Leo Liu <sdl.web@gmail.com>
7892 * info-look.el: Prefer latex2e.info. (Bug#14240)
7894 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
7896 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
7898 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
7899 * net/tramp.el (tramp-call-process): ... here.
7900 (tramp-set-completion-function, tramp-parse-putty):
7901 * net/tramp-adb.el (tramp-adb-execute-adb-command):
7902 * net/tramp-gvfs.el (tramp-gvfs-send-command):
7903 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
7904 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
7905 (tramp-call-local-coding-command): Use `tramp-call-process'
7906 instead of `tramp-compat-call-process'.
7908 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
7909 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
7910 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
7911 (tramp-find-inline-compress): Improve traces.
7912 (tramp-maybe-send-script): Check for Perl binary.
7913 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
7915 2013-04-22 Daiki Ueno <ueno@gnu.org>
7917 * epg.el (epg-context-pinentry-mode): New function.
7918 (epg-context-set-pinentry-mode): New function.
7919 (epg--start): Pass --pinentry-mode option to gpg command.
7921 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
7923 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
7924 `comint-dynamic-complete' is obsolete since 24.1, replaced by
7925 `completion-at-point'. (Bug#13774)
7927 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
7928 default key binding for `describe-distribution' has been moved to
7929 `C-h C-o'. (Bug#13970)
7931 2013-04-21 Glenn Morris <rgm@gnu.org>
7933 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
7935 (vc-print-log): Clarify interactive prompt.
7937 2013-04-20 Glenn Morris <rgm@gnu.org>
7939 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
7940 No longer include timestamp etc information.
7942 2013-04-20 Roland Winkler <winkler@gnu.org>
7944 * faces.el (read-face-name): Bug fix, return just one face if arg
7945 multiple is nil. (Bug#14209)
7947 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
7949 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
7950 (remove-function): Autoload.
7952 * comint.el (comint-redirect-original-filter-function): Remove.
7953 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
7954 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
7955 (vc-cvs-annotate-command):
7956 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
7957 * progmodes/prolog.el (prolog-consult-compile):
7958 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
7959 Use add/remove-function instead.
7960 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
7961 (gud-tooltip-process-output, gud-tooltip-tips):
7962 Use add/remove-function instead.
7963 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
7964 (scheme-interaction-mode, exit-scheme-interaction-mode):
7965 Use add/remove-function instead.
7967 * vc/vc-dispatcher.el: Use lexical-binding.
7968 (vc--process-sentinel): Rename from vc-process-sentinel.
7969 Change last arg to be the code to run. Don't use vc-previous-sentinel
7970 and vc-sentinel-commands any more.
7971 (vc-exec-after): Allow code to be a function. Use add/remove-function.
7972 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
7974 2013-04-19 Masatake YAMATO <yamato@redhat.com>
7976 * progmodes/sh-script.el (sh-imenu-generic-expression):
7977 Handle function names with a single character. (Bug#14111)
7979 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
7981 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
7982 for subroutines defined in an eval (bug#14182).
7984 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
7986 * bookmark.el (bookmark-completing-read): Improve handling of empty
7989 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
7991 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
7993 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
7995 New faster Imenu implementation (bug#14058).
7996 * progmodes/python.el:
7997 (python-imenu-prev-index-position):
7998 (python-imenu-format-item-label-function)
7999 (python-imenu-format-parent-item-label-function)
8000 (python-imenu-format-parent-item-jump-label-function):
8002 (python-imenu-format-item-label)
8003 (python-imenu-format-parent-item-label)
8004 (python-imenu-format-parent-item-jump-label)
8005 (python-imenu--put-parent, python-imenu--build-tree)
8006 (python-imenu-create-index, python-imenu-create-flat-index)
8007 (python-util-popn): New functions.
8008 (python-mode): Set imenu-create-index-function to
8009 python-imenu-create-index.
8011 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8013 * winner.el (winner-active-region): Use region-active-p, activate-mark
8014 and deactivate-mark (bug#14225).
8016 * simple.el (deactivate-mark): Don't inline it.
8018 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
8020 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
8022 2013-04-18 Tassilo Horn <tsdh@gnu.org>
8024 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
8025 file extensions from the archive-mode entry in order to prefer
8026 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
8028 2013-04-18 Leo Liu <sdl.web@gmail.com>
8030 * bindings.el (help-event-list): Add ?\?.
8032 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
8034 * subr.el (with-wrapper-hook): Declare obsolete.
8035 * simple.el (filter-buffer-substring-function): New hook.
8036 (filter-buffer-substring): Use it.
8037 (filter-buffer-substring-functions): Mark obsolete.
8038 * minibuffer.el (completion-in-region-function): New hook.
8039 (completion-in-region): Use it.
8040 (completion-in-region-functions): Mark obsolete.
8041 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
8042 * abbrev.el (abbrev-expand-function): New hook.
8043 (expand-abbrev): Use it.
8044 (abbrev-expand-functions): Mark obsolete.
8045 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
8048 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8050 * progmodes/python.el (python-nav--syntactically): Fix cornercases
8051 and do not care about match data.
8053 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8055 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
8056 completion tables when completing error conditions and
8057 `declare' arguments.
8058 (lisp-complete-symbol, field-complete): Mark as obsolete.
8059 (check-parens): Unmatched parens are user errors.
8060 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
8062 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
8064 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
8065 command changed buffer (ie. `flyspell-pre-buffer' is not current
8066 buffer), which prevents making decisions based on invalid value of
8067 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
8068 cause an error when `flyspell-pre-point' was nil after switching
8070 (flyspell-post-command-hook): No longer needs to change buffers when
8071 checking pre-word. While at it remove unnecessary progn.
8073 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
8075 * textmodes/ispell.el (ispell-add-per-file-word-list):
8076 Fix `flyspell-correct-word-before-point' error when accepting
8077 words and `coment-padding' is an integer by using
8078 `comment-normalize-vars' (Bug #14214).
8080 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8082 New defun movement commands.
8083 * progmodes/python.el (python-nav--syntactically)
8084 (python-nav--forward-defun, python-nav-backward-defun)
8085 (python-nav-forward-defun): New functions.
8087 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
8089 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
8090 (python-syntax-context): Use named compiler-macro for backwards
8091 compatibility with Emacs 24.x.
8093 2013-04-17 Leo Liu <sdl.web@gmail.com>
8095 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
8096 octave-hide-process-buffer.
8098 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
8100 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
8103 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
8105 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
8106 Fix adjustment of offset when receiving incomplete responses from GDB
8109 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
8112 python-mode-abbrev-table.
8113 (python-skeleton-define): Adjust accordingly.
8114 (python-mode-abbrev-table): New table that inherits from it so that
8115 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
8117 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
8118 (abbrev-symbol): Use it.
8119 (abbrev--before-point): Use it since we already handle inheritance.
8121 2013-04-16 Leo Liu <sdl.web@gmail.com>
8123 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
8124 binding to info-lookup-symbol.
8126 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
8128 * minibuffer.el (completion--twq-all):
8129 * term/ns-win.el (ns-initialize-window-system):
8130 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
8132 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
8134 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
8137 * doc-view.el (doc-view-start-process): Handle url-handler directories.
8139 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
8141 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
8142 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
8144 (ruby-end-of-defun): Remove the unused arg, change the docstring
8145 to reflect that this function is only used as the value of
8146 `end-of-defun-function'.
8147 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
8148 to reflect an earlier change that beginning/end-of-defun functions
8149 jump between methods in a class definition, as well as top-level
8152 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8154 * minibuffer.el (minibuffer-complete): Don't just scroll
8155 a *Completions* that's been iconified.
8156 (minibuffer-force-complete): Make sure repetitions do cycle when going
8157 through completion-in-region -> minibuffer-complete.
8159 2013-04-15 Alan Mackenzie <acm@muc.de>
8161 Correct the placement of c-cpp-delimiters when there're #s not at
8164 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
8165 place a submatch around the #.
8166 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
8167 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
8170 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
8172 * emacs-lisp/nadvice.el: Properly test names when adding advice.
8173 (advice--member-p): New arg `name'.
8174 (advice--add-function, advice-member-p): Use it (bug#14202).
8176 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
8178 Reformulate java imenu-generic-expression.
8179 The old expression contained ill formed regexps.
8181 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
8182 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
8183 (cc-imenu-java-method-arg-regexp): New defconsts.
8184 (cc-imenu-java-build-type-args-regex): New defun.
8185 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
8186 handling of spaces in the regexp.
8188 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
8190 * textmodes/ispell.el (ispell-command-loop): Remove
8191 flyspell highlight of a word when ispell accepts it (bug #14178).
8193 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
8195 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
8196 uses code from the previous `ange-ftp-run-real-handler'.
8197 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
8198 only in case that function exist. This is needed for proper
8201 2013-04-15 Tassilo Horn <tsdh@gnu.org>
8203 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
8205 * textmodes/reftex.el (reftex-compile-variables): Use it.
8207 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
8209 * files.el (normal-mode): Only use default major-mode if no other mode
8212 * emacs-lisp/trace.el (trace-values): New function.
8214 * files.el: Allow : in local variables (bug#14089).
8215 (hack-local-variable-regexp): New var.
8216 (hack-local-variables-prop-line, hack-local-variables): Use it.
8218 2013-04-13 Roland Winkler <winkler@gnu.org>
8220 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
8221 data before it gets modified by bibtex-beginning-of-entry.
8223 2013-04-13 Roland Winkler <winkler@gnu.org>
8225 * textmodes/bibtex.el (bibtex-url): Doc fix.
8227 2013-04-13 Roland Winkler <winkler@gnu.org>
8229 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
8230 does not visit a BibTeX file, exclude it from the list of buffers
8231 returned by bibtex-initialize.
8233 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
8235 * window.el (split-window): Remove interactive form, since as a
8236 command this function is a special case of split-window-below.
8239 2013-04-12 Roland Winkler <winkler@gnu.org>
8241 * faces.el (read-face-name): Do not override value of arg default.
8242 Allow single faces and strings as default values. Remove those
8243 elements from return value that are not faces.
8244 (describe-face): Simplify.
8245 (face-at-point): New optional args thing and multiple so that this
8246 function can provide the same functionality previously provided by
8248 (make-face-bold, make-face-unbold, make-face-italic)
8249 (make-face-unitalic, make-face-bold-italic, invert-face)
8250 (modify-face, read-face-and-attribute): Use face-at-point.
8252 * cus-edit.el (customize-face, customize-face-other-window)
8253 * cus-theme.el (custom-theme-add-face)
8254 * face-remap.el (buffer-face-set)
8255 * facemenu.el (facemenu-set-face): Use face-at-point.
8257 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
8259 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
8261 2013-04-10 Tassilo Horn <tsdh@gnu.org>
8263 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
8264 off leading { and trailing } from field values.
8266 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
8268 * emacs-lisp/timer.el (timer--check): New function.
8269 (timer--time, timer-set-function, timer-event-handler): Use it.
8270 (timer-set-idle-time): Simplify.
8271 (timer--activate): CSE.
8272 (timer-event-handler): Give more info in error message.
8273 (internal-timer-start-idle): New function, moved from C.
8275 * mpc.el (mpc-proc): Add `restart' argument.
8276 (mpc-proc-cmd): Use it.
8277 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
8278 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
8281 2013-04-10 Masatake YAMATO <yamato@redhat.com>
8283 * progmodes/sh-script.el: Implement `sh-mode' own
8284 `add-log-current-defun-function' (bug#14112).
8285 (sh-current-defun-name): New function.
8286 (sh-mode): Use the function.
8288 2013-04-09 Bastien Guerry <bzg@gnu.org>
8290 * simple.el (choose-completion-string): Fix docstring (bug#14163).
8292 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
8294 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
8296 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
8299 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
8301 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
8304 2013-04-07 Leo Liu <sdl.web@gmail.com>
8306 * pcmpl-x.el: New file.
8308 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
8310 Do not set x-display-name until X connection is established.
8311 This is needed to prevent from weird situation described at
8312 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
8313 * frame.el (make-frame): Set x-display-name after call to
8314 window system initialization function, not before.
8315 * term/x-win.el (x-initialize-window-system): Add optional
8316 display argument and use it.
8317 * term/w32-win.el (w32-initialize-window-system):
8318 * term/ns-win.el (ns-initialize-window-system):
8319 * term/pc-win.el (msdos-initialize-window-system):
8320 Add compatible optional display argument.
8322 2013-04-06 Eli Zaretskii <eliz@gnu.org>
8324 * files.el (normal-backup-enable-predicate): On MS-Windows and
8325 MS-DOS compare truenames of temporary-file-directory and of the
8326 file, so that 8+3 aliases (usually found in $TEMP on Windows)
8327 don't fail comparison by compare-strings. Also, compare file
8328 names case-insensitively on MS-Windows and MS-DOS.
8330 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8332 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
8333 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
8335 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
8337 * whitespace.el (whitespace-color-on, whitespace-color-off):
8338 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
8340 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
8342 * ispell.el (ispell-set-spellchecker-params):
8343 Really set `ispell-args' for all equivs.
8345 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
8347 * ido.el (ido-completions): Use extra elements of ido-decorations
8349 (ido-decorations): Update docstring.
8351 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
8353 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
8354 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
8355 nil during initialization, in order not to miss changes since the
8356 file was opened. (Bug#14140)
8358 2013-04-05 Leo Liu <sdl.web@gmail.com>
8360 * kmacro.el (kmacro-call-macro): Fix bug#14135.
8362 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
8364 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
8366 2013-04-04 Glenn Morris <rgm@gnu.org>
8368 * electric.el (electric-pair-inhibit-predicate): Add :version.
8370 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
8372 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
8373 when a package is required several times (bug#14082).
8375 2013-04-04 Roland Winkler <winkler@gnu.org>
8377 * faces.el (read-face-name): Behave as promised by the docstring.
8378 Assume that arg default is a list of faces.
8379 (describe-face): Call read-face-name with list of default faces.
8381 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
8383 * bookmark.el: Fix deletion of bookmarks (bug#13972).
8384 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
8385 (bookmark-bmenu-execute-deletions): Only skip first line if it's
8387 (bookmark-exit-hook-internal): Save even if list is empty.
8389 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
8391 * emacs-lisp/package.el (package-pinned-packages): New var.
8392 (package--add-to-archive-contents): Obey it (bug#14118).
8394 2013-04-03 Alan Mackenzie <acm@muc.de>
8396 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
8397 Also adapt to the new values of element 7 of a parse state.
8399 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
8400 parameter `not-in-delimiter'. Handle being inside comment opener.
8401 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
8402 character in case we're typing a '*' after a '/'.
8403 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
8404 instead by passing the parameter to c-state-pp-to-literal.
8406 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
8407 for elt. 7 of a parse state.
8409 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
8411 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
8412 * international/latin1-disp.el, international/mule-util.el:
8413 * language/cyril-util.el, language/european.el, language/ind-util.el:
8414 * language/lao-util.el, language/thai.el, language/tibet-util.el:
8415 * language/tibetan.el, language/viet-util.el:
8416 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
8418 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
8420 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
8421 (electric-pair-post-self-insert-function): Use it.
8422 (electric-pair-default-inhibit): New function, extracted from
8423 electric-pair-post-self-insert-function.
8425 2013-03-31 Roland Winkler <winkler@gnu.org>
8427 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
8429 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
8431 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
8433 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
8435 Un-indent after "pass" and "return" statements (Bug#13888)
8436 * progmodes/python.el (python-indent-block-enders): New var.
8437 (python-indent-calculate-indentation): Use it.
8439 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
8441 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
8442 defun. Defining it as defalias could introduce too eager
8443 byte-compiler optimization. (Bug#14030)
8445 2013-03-30 Chong Yidong <cyd@gnu.org>
8447 * iswitchb.el (iswitchb-read-buffer): Fix typo.
8449 2013-03-30 Leo Liu <sdl.web@gmail.com>
8451 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
8452 (kmacro-execute-from-register): Pass the keyboard macro to
8453 kmacro-call-macro or repeating won't work correctly.
8455 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
8457 * progmodes/subword.el: Back to using `forward-symbol'.
8459 * subr.el (forward-whitespace, forward-symbol)
8460 (forward-same-syntax): Move from thingatpt.el.
8462 2013-03-29 Leo Liu <sdl.web@gmail.com>
8464 * kmacro.el (kmacro-to-register): New command.
8465 (kmacro-execute-from-register): New function.
8466 (kmacro-keymap): Bind to 'x'. (Bug#14071)
8468 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
8470 * mpc.el: Use defvar-local and setq-local.
8471 (mpc--proc-connect): Connection failures are not bugs.
8472 (mpc-mode-map): `follow-link' only applies to the buffer's content.
8473 (mpc-volume-map): Bind to the up-events.
8475 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
8477 * progmodes/subword.el (superword-mode): Use `forward-sexp'
8478 instead of `forward-symbol'.
8480 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
8482 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
8483 (edebug--recursive-edit): Use it.
8484 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
8485 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
8487 2013-03-28 Leo Liu <sdl.web@gmail.com>
8489 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
8491 2013-03-27 Eli Zaretskii <eliz@gnu.org>
8493 * facemenu.el (list-colors-callback): New defvar.
8494 (list-colors-redisplay): New function.
8495 (list-colors-display): Install list-colors-redisplay as the
8496 revert-buffer-function. (Bug#14063)
8498 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
8500 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
8501 and suffixes don't overlap (bug#14061).
8503 * case-table.el: Use lexical-binding.
8504 (case-table-get-table): New function.
8505 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
8507 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
8509 * progmodes/subword.el: Add `superword-mode' to do word motion
8510 over symbol_words (parallels and leverages `subword-mode' which
8511 does word motion inside MixedCaseWords).
8513 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
8515 * eshell/em-unix.el: Move su and sudo to...
8516 * eshell/em-tramp.el: ...Eshell tramp module.
8518 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8520 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
8521 Change return value to be a sexp. Delay `get-buffer' to after
8522 restoring the desktop (bug#13951).
8524 2013-03-26 Leo Liu <sdl.web@gmail.com>
8526 * register.el: Move semantic tag handling back to
8527 cedet/semantic/senator.el. (Bug#14052)
8529 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
8531 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
8532 into the prompt either (bug#13963).
8534 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
8536 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
8537 part of "(error-foo)".
8539 2013-03-24 Juri Linkov <juri@jurta.org>
8541 * replace.el (list-matching-lines-prefix-face): New defcustom.
8542 (occur-1): Pass `list-matching-lines-prefix-face' to the function
8543 `occur-engine' if `face-differs-from-default-p' returns t.
8544 (occur-engine): Add `,' inside backquote construct to evaluate
8545 `prefix-face'. Propertize the prefix with the `prefix-face' face.
8546 Pass `prefix-face' to the functions `occur-context-lines' and
8547 `occur-engine-add-prefix'.
8548 (occur-engine-add-prefix, occur-context-lines): Add optional arg
8549 `prefix-face' and propertize the prefix with `prefix-face'.
8552 2013-03-24 Leo Liu <sdl.web@gmail.com>
8554 * nxml/rng-valid.el (rng-validate-while-idle)
8555 (rng-validate-quick-while-idle): Guard against deleted buffer.
8558 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
8559 is the last entry in kill-buffer-hook.
8561 * files.el (kill-buffer-hook): Doc fix.
8563 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
8565 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
8568 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
8570 2013-03-23 Leo Liu <sdl.web@gmail.com>
8572 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
8575 * nxml/rng-valid.el (rng-validate-mode)
8576 (rng-after-change-function, rng-do-some-validation):
8577 * nxml/rng-maint.el (rng-validate-buffer):
8578 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
8579 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
8580 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
8581 (nxml-extend-after-change-region): Use with-silent-modifications.
8583 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
8586 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
8587 (rng-next-error-1, rng-previous-error-1): Do not let-bind
8588 timer-idle-list. (Bug#13999)
8590 2013-03-23 Juri Linkov <juri@jurta.org>
8592 * info.el (info-index-match): New face.
8593 (Info-index, Info-apropos-matches): Add a nested subgroup to the
8594 main pattern and add text properties with the new face to matches
8595 in index entries relative to the beginning of the index entry.
8598 2013-03-21 Eric Ludlam <zappo@gnu.org>
8600 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
8601 Inhibit read only while inserting objects.
8603 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
8605 * progmodes/cfengine.el: Update docs to mention
8606 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
8607 symbol motion. Remove "_" from the word syntax.
8609 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
8611 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
8612 syntax for both `cfengine2-mode' and `cfengine3-mode'.
8614 2013-03-20 Juri Linkov <juri@jurta.org>
8616 * info.el (Info-next-reference-or-link)
8617 (Info-prev-reference-or-link): New functions.
8618 (Info-next-reference, Info-prev-reference): Use them.
8619 (Info-try-follow-nearest-node): Handle footnote navigation.
8620 (Info-fontify-node): Fontify footnotes. (Bug#13989)
8622 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
8624 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
8625 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
8627 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
8629 Suppress unnecessary non-ASCII chatter during build process.
8630 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
8631 (batch-skkdic-convert): Suppress most of the chatter.
8632 It's not needed so much now that machines are faster,
8633 and its non-ASCII component was confusing; see Dmitry Gutov in
8634 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
8636 2013-03-20 Leo Liu <sdl.web@gmail.com>
8638 * ido.el (ido-chop): Fix bug#10994.
8640 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8642 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
8644 (whitespace-color-on, whitespace-color-off):
8645 Use `font-lock-fontify-buffer' (Bug#13817).
8647 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
8649 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
8650 remapping in mode-line.
8651 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
8653 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
8655 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
8656 value for `whitespace-line' face (Bug#13875).
8657 (whitespace-font-lock-keywords): Change description.
8658 (whitespace-color-on): Don't save `font-lock-keywords' value, save
8659 the constructed keywords instead.
8660 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
8662 2013-03-19 Leo Liu <sdl.web@gmail.com>
8664 * progmodes/compile.el (compilation-display-error): New command.
8665 (compilation-mode-map, compilation-minor-mode-map): Bind it to
8668 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8670 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
8672 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
8674 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
8676 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
8678 * net/tramp-compat.el (tramp-compat-user-error): New defun.
8680 * net/tramp-adb.el (tramp-adb-handle-shell-command):
8681 * net/tramp-gvfs.el (top):
8682 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
8683 (tramp-handle-shell-command): Use it.
8684 (tramp-dissect-file-name): Raise an error when hostname is a
8685 method name, and neither method nor user is specified.
8687 * net/trampver.el: Update release number.
8689 2013-03-18 Leo Liu <sdl.web@gmail.com>
8691 Make sure eldoc can be turned off properly.
8692 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
8694 (eldoc-display-message-p): Revert last change.
8695 (eldoc-display-message-no-interference-p)
8696 (eldoc-print-current-symbol-info): Tweak.
8698 2013-03-18 Tassilo Horn <tsdh@gnu.org>
8700 * doc-view.el (doc-view-new-window-function): Check the new window
8701 overlay's display property instead the char property of the
8702 buffer's first char. Use `with-selected-window' instead of
8703 `save-window-excursion' with `select-window'.
8704 (doc-view-document->bitmap): Check the current doc-view overlay's
8705 display property instead the char property of the buffer's first char.
8707 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
8709 Automate the build of ja-dic.el (Bug#13984).
8710 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
8711 from the input, rather than assume that it's been done for us by the
8712 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
8713 the current date into a ja-dic.el comment, as that complicates
8716 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
8718 * whitespace.el: Fix double evaluation.
8719 (whitespace-space, whitespace-hspace, whitespace-tab)
8720 (whitespace-newline, whitespace-trailing, whitespace-line)
8721 (whitespace-space-before-tab, whitespace-indentation)
8722 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
8724 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
8725 (whitespace-color-on): Use a single font-lock-add-keywords call.
8726 Fix double-evaluation of face variables.
8728 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
8730 * net/tramp-adb.el (tramp-adb-parse-device-names):
8731 Use `start-process' instead of `call-process'. Otherwise, the
8732 function might be blocked under MS Windows. (Bug#13299)
8734 2013-03-17 Leo Liu <sdl.web@gmail.com>
8736 Extend eldoc to display info in the mode-line. (Bug#13978)
8737 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
8738 (eldoc-mode-line-string): New variable.
8739 (eldoc-minibuffer-message): New function.
8740 (eldoc-message-function): New variable.
8741 (eldoc-message): Use it.
8742 (eldoc-display-message-p)
8743 (eldoc-display-message-no-interference-p):
8744 Support eldoc-post-insert-mode.
8746 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
8747 (eval-expression): Run it.
8749 2013-03-17 Roland Winkler <winkler@gnu.org>
8751 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
8752 strings in the list of return values.
8754 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
8756 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
8757 radix before checking for HMS forms.
8759 2013-03-16 Leo Liu <sdl.web@gmail.com>
8761 * progmodes/scheme.el: Add indentation and font-locking for λ.
8764 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
8766 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
8767 token before point (bug#13942).
8769 2013-03-16 Leo Liu <sdl.web@gmail.com>
8771 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
8773 2013-03-16 Eli Zaretskii <eliz@gnu.org>
8775 * startup.el (command-line-normalize-file-name): Fix handling of
8776 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
8777 <xfq.free@gmail.com> in
8778 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
8780 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
8782 Sync with Tramp 2.2.7.
8784 * net/trampver.el: Update release number.
8786 2013-03-14 Tassilo Horn <tsdh@gnu.org>
8788 * doc-view.el: Fix bug#13887.
8789 (doc-view-insert-image): Don't modify overlay associated to
8790 non-live windows, and implement horizontal centering of image in
8791 case it's smaller than the window.
8792 (doc-view-new-window-function): Force redisplay of new windows on
8795 2013-03-13 Karl Fogel <kfogel@red-bean.com>
8797 * saveplace.el (save-place-alist-to-file): Don't sort
8798 `save-place-alist', just pretty-print it (bug#13882).
8800 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
8802 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
8803 Check whether `default-file-name-coding-system' is bound.
8806 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
8808 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
8809 backquotes for `obsolete' (bug#13929).
8811 * international/mule.el (find-auto-coding): Include file name in
8812 obsolescence warning (bug#13922).
8814 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
8816 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
8817 for CFEngine 3-specific indentation.
8818 (cfengine3-indent-line): Use it. Fix up category regex.
8819 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
8821 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
8823 * type-break.el (type-break-file-name):
8824 * textmodes/remember.el (remember-data-file):
8825 * strokes.el (strokes-file):
8826 * shadowfile.el (shadow-initialize):
8827 * saveplace.el (save-place-file):
8828 * ps-bdf.el (bdf-cache-file):
8829 * progmodes/idlwave.el (idlwave-config-directory):
8830 * net/quickurl.el (quickurl-url-file):
8831 * international/kkc.el (kkc-init-file-name):
8832 * ido.el (ido-save-directory-list-file):
8833 * emulation/viper.el (viper-custom-file-name):
8834 * emulation/vip.el (vip-startup-file):
8835 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
8836 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
8838 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
8840 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
8841 * language/thai-word.el: Switch to UTF-8.
8843 See ChangeLog.16 for earlier changes.
8849 Copyright (C) 2011-2013 Free Software Foundation, Inc.
8851 This file is part of GNU Emacs.
8853 GNU Emacs is free software: you can redistribute it and/or modify
8854 it under the terms of the GNU General Public License as published by
8855 the Free Software Foundation, either version 3 of the License, or
8856 (at your option) any later version.
8858 GNU Emacs is distributed in the hope that it will be useful,
8859 but WITHOUT ANY WARRANTY; without even the implied warranty of
8860 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
8861 GNU General Public License for more details.
8863 You should have received a copy of the GNU General Public License
8864 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.